mirror of
https://github.com/home-assistant/operating-system.git
synced 2025-08-04 10:47:41 +00:00
Compare commits
9 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
20f02d2887 | ||
![]() |
b9f65295b3 | ||
![]() |
6afd378bd6 | ||
![]() |
9c239480b2 | ||
![]() |
98ac18cbd5 | ||
![]() |
d7d9e08a61 | ||
![]() |
29c0f2f729 | ||
![]() |
fb4d7c5f2f | ||
![]() |
2e78964517 |
@ -5,15 +5,15 @@ Default Kernel tree: 5.10
|
||||
|
||||
| Board | Version |
|
||||
|-------|---------|
|
||||
| Open Virtual Appliance | 5.10.42 |
|
||||
| Open Virtual Appliance | 5.10.45 |
|
||||
| Raspberry Pi | 5.10.17 |
|
||||
| Raspberry Pi 0-W | 5.10.17 |
|
||||
| Raspberry Pi 2 | 5.10.17 |
|
||||
| Raspberry Pi 3 | 5.10.17 |
|
||||
| Raspberry Pi 4 | 5.10.17 |
|
||||
| Tinker Board | 5.10.42 |
|
||||
| Odroid-C2 | 5.10.42 |
|
||||
| Odroid-C4 | 5.10.42 |
|
||||
| Tinker Board | 5.10.45 |
|
||||
| Odroid-C2 | 5.10.45 |
|
||||
| Odroid-C4 | 5.10.45 |
|
||||
| Odroid-N2 | 5.9.16 |
|
||||
| Odroid-XU4 | 5.10.42 |
|
||||
| Generic x86-64 | 5.10.42 |
|
||||
| Odroid-XU4 | 5.10.45 |
|
||||
| Generic x86-64 | 5.10.45 |
|
||||
|
@ -1,53 +0,0 @@
|
||||
From cdfb8eea4103e537898073dc3f7bf8f75cec5efb Mon Sep 17 00:00:00 2001
|
||||
Message-Id: <cdfb8eea4103e537898073dc3f7bf8f75cec5efb.1619725559.git.stefan@agner.ch>
|
||||
From: Christian Hewitt <christianshewitt@gmail.com>
|
||||
Date: Mon, 11 Jan 2021 13:58:31 +0000
|
||||
Subject: [PATCH 1/8] arm64: dts: meson: add i2c3/rtc nodes and rtc aliases to
|
||||
ODROID-N2 dtsi
|
||||
|
||||
Enable the onboard pcf8563 rtc hardware on ODROID N2/N2+ boards via the
|
||||
common dtsi. Also add aliases to ensure vrtc does not claim /dev/rtc0.
|
||||
|
||||
Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
|
||||
Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
|
||||
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
|
||||
Link: https://lore.kernel.org/r/20210111135831.2218-1-christianshewitt@gmail.com
|
||||
---
|
||||
.../boot/dts/amlogic/meson-g12b-odroid-n2.dtsi | 14 ++++++++++++++
|
||||
1 file changed, 14 insertions(+)
|
||||
|
||||
diff --git a/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi
|
||||
index 39a09661c5f6..b78be3e6974d 100644
|
||||
--- a/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi
|
||||
+++ b/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi
|
||||
@@ -13,6 +13,8 @@ / {
|
||||
aliases {
|
||||
serial0 = &uart_AO;
|
||||
ethernet0 = ðmac;
|
||||
+ rtc0 = &rtc;
|
||||
+ rtc1 = &vrtc;
|
||||
};
|
||||
|
||||
dioo2133: audio-amplifier-0 {
|
||||
@@ -478,6 +480,18 @@ &ir {
|
||||
linux,rc-map-name = "rc-odroid";
|
||||
};
|
||||
|
||||
+&i2c3 {
|
||||
+ status = "okay";
|
||||
+ pinctrl-0 = <&i2c3_sda_a_pins>, <&i2c3_sck_a_pins>;
|
||||
+ pinctrl-names = "default";
|
||||
+
|
||||
+ rtc: rtc@51 {
|
||||
+ compatible = "nxp,pcf8563";
|
||||
+ reg = <0x51>;
|
||||
+ wakeup-source;
|
||||
+ };
|
||||
+};
|
||||
+
|
||||
&pwm_ab {
|
||||
pinctrl-0 = <&pwm_a_e_pins>;
|
||||
pinctrl-names = "default";
|
||||
--
|
||||
2.31.1
|
||||
|
@ -1,37 +0,0 @@
|
||||
From 8b2ab165b2ed529f74b242159648893d53272c24 Mon Sep 17 00:00:00 2001
|
||||
Message-Id: <8b2ab165b2ed529f74b242159648893d53272c24.1619725559.git.stefan@agner.ch>
|
||||
In-Reply-To: <cdfb8eea4103e537898073dc3f7bf8f75cec5efb.1619725559.git.stefan@agner.ch>
|
||||
References: <cdfb8eea4103e537898073dc3f7bf8f75cec5efb.1619725559.git.stefan@agner.ch>
|
||||
From: Hyeonki Hong <hhk7734@gmail.com>
|
||||
Date: Wed, 7 Apr 2021 04:26:08 +0000
|
||||
Subject: [PATCH 2/8] arm64: dts: meson: add saradc node to ODROID N2/N2+
|
||||
|
||||
Add the meson saradc node to the ODROID N2/N2+ common dtsi.
|
||||
|
||||
Signed-off-by: Hyeonki Hong <hhk7734@gmail.com>
|
||||
Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
|
||||
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
|
||||
Link: https://lore.kernel.org/r/20210407042609.9736-3-christianshewitt@gmail.com
|
||||
---
|
||||
arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi | 5 +++++
|
||||
1 file changed, 5 insertions(+)
|
||||
|
||||
diff --git a/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi
|
||||
index b78be3e6974d..8a5e132c4b79 100644
|
||||
--- a/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi
|
||||
+++ b/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi
|
||||
@@ -508,6 +508,11 @@ &pwm_AO_cd {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
+&saradc {
|
||||
+ status = "okay";
|
||||
+ vref-supply = <&vddao_1v8>;
|
||||
+};
|
||||
+
|
||||
/* SD card */
|
||||
&sd_emmc_b {
|
||||
status = "okay";
|
||||
--
|
||||
2.31.1
|
||||
|
@ -1,78 +0,0 @@
|
||||
From 602012d9081be7a54d2d6cee59035ae019dd3bb4 Mon Sep 17 00:00:00 2001
|
||||
Message-Id: <602012d9081be7a54d2d6cee59035ae019dd3bb4.1619725559.git.stefan@agner.ch>
|
||||
In-Reply-To: <cdfb8eea4103e537898073dc3f7bf8f75cec5efb.1619725559.git.stefan@agner.ch>
|
||||
References: <cdfb8eea4103e537898073dc3f7bf8f75cec5efb.1619725559.git.stefan@agner.ch>
|
||||
From: Hyeonki Hong <hhk7734@gmail.com>
|
||||
Date: Wed, 7 Apr 2021 04:26:09 +0000
|
||||
Subject: [PATCH 3/8] arm64: dts: meson: add GPIO line names to ODROID N2/N2+
|
||||
|
||||
Add GPIO line-name identifiers to the ODROID N2/N2+ common dtsi.
|
||||
|
||||
Signed-off-by: Hyeonki Hong <hhk7734@gmail.com>
|
||||
Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
|
||||
Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
|
||||
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
|
||||
Link: https://lore.kernel.org/r/20210407042609.9736-4-christianshewitt@gmail.com
|
||||
---
|
||||
.../dts/amlogic/meson-g12b-odroid-n2.dtsi | 45 +++++++++++++++++++
|
||||
1 file changed, 45 insertions(+)
|
||||
|
||||
diff --git a/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi
|
||||
index 8a5e132c4b79..41b2f9c96b5f 100644
|
||||
--- a/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi
|
||||
+++ b/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi
|
||||
@@ -446,6 +446,51 @@ &frddr_c {
|
||||
};
|
||||
|
||||
&gpio {
|
||||
+ gpio-line-names =
|
||||
+ /* GPIOZ */
|
||||
+ "", "", "", "", "", "", "", "",
|
||||
+ "", "", "", "", "", "", "", "",
|
||||
+ /* GPIOH */
|
||||
+ "", "", "", "", "", "", "", "",
|
||||
+ "",
|
||||
+ /* BOOT */
|
||||
+ "", "", "", "", "", "", "", "",
|
||||
+ "", "", "", "", "", "", "", "",
|
||||
+ /* GPIOC */
|
||||
+ "", "", "", "", "", "", "", "",
|
||||
+ /* GPIOA */
|
||||
+ "PIN_44", /* GPIOA_0 */
|
||||
+ "PIN_46", /* GPIOA_1 */
|
||||
+ "PIN_45", /* GPIOA_2 */
|
||||
+ "PIN_47", /* GPIOA_3 */
|
||||
+ "PIN_26", /* GPIOA_4 */
|
||||
+ "", "", "", "", "", "",
|
||||
+ "PIN_42", /* GPIOA_11 */
|
||||
+ "PIN_32", /* GPIOA_12 */
|
||||
+ "PIN_7", /* GPIOA_13 */
|
||||
+ "PIN_27", /* GPIOA_14 */
|
||||
+ "PIN_28", /* GPIOA_15 */
|
||||
+ /* GPIOX */
|
||||
+ "PIN_16", /* GPIOX_0 */
|
||||
+ "PIN_18", /* GPIOX_1 */
|
||||
+ "PIN_22", /* GPIOX_2 */
|
||||
+ "PIN_11", /* GPIOX_3 */
|
||||
+ "PIN_13", /* GPIOX_4 */
|
||||
+ "PIN_33", /* GPIOX_5 */
|
||||
+ "PIN_35", /* GPIOX_6 */
|
||||
+ "PIN_15", /* GPIOX_7 */
|
||||
+ "PIN_19", /* GPIOX_8 */
|
||||
+ "PIN_21", /* GPIOX_9 */
|
||||
+ "PIN_24", /* GPIOX_10 */
|
||||
+ "PIN_23", /* GPIOX_11 */
|
||||
+ "PIN_8", /* GPIOX_12 */
|
||||
+ "PIN_10", /* GPIOX_13 */
|
||||
+ "PIN_29", /* GPIOX_14 */
|
||||
+ "PIN_31", /* GPIOX_15 */
|
||||
+ "PIN_12", /* GPIOX_16 */
|
||||
+ "PIN_3", /* GPIOX_17 */
|
||||
+ "PIN_5", /* GPIOX_18 */
|
||||
+ "PIN_36"; /* GPIOX_19 */
|
||||
/*
|
||||
* WARNING: The USB Hub on the Odroid-N2 needs a reset signal
|
||||
* to be turned high in order to be detected by the USB Controller
|
||||
--
|
||||
2.31.1
|
||||
|
@ -1,42 +0,0 @@
|
||||
From 0a70fbc9a556737d3f70a1a194ba7be280b007c5 Mon Sep 17 00:00:00 2001
|
||||
Message-Id: <0a70fbc9a556737d3f70a1a194ba7be280b007c5.1619725559.git.stefan@agner.ch>
|
||||
In-Reply-To: <cdfb8eea4103e537898073dc3f7bf8f75cec5efb.1619725559.git.stefan@agner.ch>
|
||||
References: <cdfb8eea4103e537898073dc3f7bf8f75cec5efb.1619725559.git.stefan@agner.ch>
|
||||
From: Stefan Agner <stefan@agner.ch>
|
||||
Date: Mon, 11 Jan 2021 11:20:48 +0100
|
||||
Subject: [PATCH 4/8] arm64: dts: meson: g12b: add power button support
|
||||
|
||||
Add power button support on J2 pin 11 (GPIOX_3 on the SoC side). The
|
||||
GPIO is low active, e.g. when connecting with pin 9 (GND) a power
|
||||
button press is triggered.
|
||||
|
||||
Signed-off-by: Stefan Agner <stefan@agner.ch>
|
||||
---
|
||||
arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi | 11 +++++++++++
|
||||
1 file changed, 11 insertions(+)
|
||||
|
||||
diff --git a/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi
|
||||
index 41b2f9c96b5f..4b6bb7e74e25 100644
|
||||
--- a/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi
|
||||
+++ b/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi
|
||||
@@ -39,6 +39,17 @@ emmc_pwrseq: emmc-pwrseq {
|
||||
reset-gpios = <&gpio BOOT_12 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
|
||||
+ gpio-keys-polled {
|
||||
+ compatible = "gpio-keys-polled";
|
||||
+ poll-interval = <100>;
|
||||
+
|
||||
+ power-button {
|
||||
+ label = "power";
|
||||
+ linux,code = <KEY_POWER>;
|
||||
+ gpios = <&gpio GPIOX_3 GPIO_ACTIVE_LOW>;
|
||||
+ };
|
||||
+ };
|
||||
+
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
--
|
||||
2.31.1
|
||||
|
@ -1,42 +0,0 @@
|
||||
From 8a4a640d1b8dea977795de3f49b6ea3a791e401a Mon Sep 17 00:00:00 2001
|
||||
Message-Id: <8a4a640d1b8dea977795de3f49b6ea3a791e401a.1619725559.git.stefan@agner.ch>
|
||||
In-Reply-To: <cdfb8eea4103e537898073dc3f7bf8f75cec5efb.1619725559.git.stefan@agner.ch>
|
||||
References: <cdfb8eea4103e537898073dc3f7bf8f75cec5efb.1619725559.git.stefan@agner.ch>
|
||||
From: Stefan Agner <stefan@agner.ch>
|
||||
Date: Mon, 11 Jan 2021 11:38:54 +0100
|
||||
Subject: [PATCH 5/8] arm64: dts: meson: g12b: add GPIO fan support
|
||||
|
||||
Add simple GPIO fan node to support a fan on GPIO J8. Unfortunately the
|
||||
pad used to control the fan does not support real PWM, hence the RPM
|
||||
cannot be modulated.
|
||||
|
||||
Signed-off-by: Stefan Agner <stefan@agner.ch>
|
||||
---
|
||||
arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi | 11 +++++++++++
|
||||
1 file changed, 11 insertions(+)
|
||||
|
||||
diff --git a/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi
|
||||
index 4b6bb7e74e25..e8a3ede698b5 100644
|
||||
--- a/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi
|
||||
+++ b/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi
|
||||
@@ -39,6 +39,17 @@ emmc_pwrseq: emmc-pwrseq {
|
||||
reset-gpios = <&gpio BOOT_12 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
|
||||
+ /*
|
||||
+ * 5V 80x80x10.8mm cooling fan from Hardkernel shop.
|
||||
+ */
|
||||
+ fan0: gpio-fan {
|
||||
+ #cooling-cells = <2>;
|
||||
+ compatible = "gpio-fan";
|
||||
+ gpio-fan,speed-map = <0 0 1600 1>;
|
||||
+ gpios = <&gpio_ao GPIOAO_10 GPIO_ACTIVE_HIGH>;
|
||||
+ status = "okay";
|
||||
+ };
|
||||
+
|
||||
gpio-keys-polled {
|
||||
compatible = "gpio-keys-polled";
|
||||
poll-interval = <100>;
|
||||
--
|
||||
2.31.1
|
||||
|
@ -1,74 +0,0 @@
|
||||
From eee30c74e72b6092b5e30c4744a4f1d7d9526403 Mon Sep 17 00:00:00 2001
|
||||
Message-Id: <eee30c74e72b6092b5e30c4744a4f1d7d9526403.1619725559.git.stefan@agner.ch>
|
||||
In-Reply-To: <cdfb8eea4103e537898073dc3f7bf8f75cec5efb.1619725559.git.stefan@agner.ch>
|
||||
References: <cdfb8eea4103e537898073dc3f7bf8f75cec5efb.1619725559.git.stefan@agner.ch>
|
||||
From: Stefan Agner <stefan@agner.ch>
|
||||
Date: Mon, 11 Jan 2021 15:53:55 +0100
|
||||
Subject: [PATCH 6/8] arm64: dts: meson: g12b: odroid-n2: add fan as cooling
|
||||
device
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Add the GPIO fan as a cooling device for the CPU thermal zone. Since we
|
||||
have only full fan speed available with this, set the tripping point to
|
||||
65°C which is the highest tripping point which Hardkernel used in their
|
||||
downstream kernel.
|
||||
|
||||
Signed-off-by: Stefan Agner <stefan@agner.ch>
|
||||
---
|
||||
.../dts/amlogic/meson-g12b-odroid-n2.dtsi | 38 +++++++++++++++++++
|
||||
1 file changed, 38 insertions(+)
|
||||
|
||||
diff --git a/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi
|
||||
index e8a3ede698b5..dd345c6aa4b5 100644
|
||||
--- a/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi
|
||||
+++ b/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi
|
||||
@@ -388,6 +388,44 @@ &clkc_audio {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
+&cpu_thermal {
|
||||
+ trips {
|
||||
+ cpu_warm: cpu_warm {
|
||||
+ hysteresis = <5000>;
|
||||
+ temperature = <65000>;
|
||||
+ type = "active";
|
||||
+ };
|
||||
+ };
|
||||
+
|
||||
+ cooling-maps {
|
||||
+ map0 {
|
||||
+ cooling-device =
|
||||
+ <&fan0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
|
||||
+ trip = <&cpu_warm>;
|
||||
+ };
|
||||
+ map1 {
|
||||
+ trip = <&cpu_passive>;
|
||||
+ cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
|
||||
+ <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
|
||||
+ <&cpu100 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
|
||||
+ <&cpu101 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
|
||||
+ <&cpu102 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
|
||||
+ <&cpu103 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
|
||||
+ <&fan0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
|
||||
+ };
|
||||
+ map2 {
|
||||
+ trip = <&cpu_hot>;
|
||||
+ cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
|
||||
+ <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
|
||||
+ <&cpu100 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
|
||||
+ <&cpu101 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
|
||||
+ <&cpu102 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
|
||||
+ <&cpu103 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
|
||||
+ <&fan0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
|
||||
+ };
|
||||
+ };
|
||||
+};
|
||||
+
|
||||
&cpu0 {
|
||||
cpu-supply = <&vddcpu_b>;
|
||||
operating-points-v2 = <&cpu_opp_table_0>;
|
||||
--
|
||||
2.31.1
|
||||
|
@ -1,44 +0,0 @@
|
||||
From b10ae8fd3bef195eda4a30bc5f3995ca13b6cffd Mon Sep 17 00:00:00 2001
|
||||
Message-Id: <b10ae8fd3bef195eda4a30bc5f3995ca13b6cffd.1619725559.git.stefan@agner.ch>
|
||||
In-Reply-To: <cdfb8eea4103e537898073dc3f7bf8f75cec5efb.1619725559.git.stefan@agner.ch>
|
||||
References: <cdfb8eea4103e537898073dc3f7bf8f75cec5efb.1619725559.git.stefan@agner.ch>
|
||||
From: Hyeonki Hong <hhk7734@gmail.com>
|
||||
Date: Fri, 27 Mar 2020 17:05:22 +0900
|
||||
Subject: [PATCH 7/8] arm64: dts: meson: add uart_A node
|
||||
|
||||
The UART_A is available through J3 pin 8/10 and documented to be
|
||||
available as UART by default.
|
||||
|
||||
Signed-off-by: Stefan Agner <stefan@agner.ch>
|
||||
---
|
||||
arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi | 7 +++++++
|
||||
1 file changed, 7 insertions(+)
|
||||
|
||||
diff --git a/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi
|
||||
index dd345c6aa4b5..cec346178e3d 100644
|
||||
--- a/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi
|
||||
+++ b/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi
|
||||
@@ -12,6 +12,7 @@
|
||||
/ {
|
||||
aliases {
|
||||
serial0 = &uart_AO;
|
||||
+ serial1 = &uart_A;
|
||||
ethernet0 = ðmac;
|
||||
rtc0 = &rtc;
|
||||
rtc1 = &vrtc;
|
||||
@@ -728,6 +729,12 @@ &toddr_c {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
+&uart_A {
|
||||
+ status = "okay";
|
||||
+ pinctrl-0 = <&uart_a_pins>;
|
||||
+ pinctrl-names = "default";
|
||||
+};
|
||||
+
|
||||
&uart_AO {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&uart_ao_a_pins>;
|
||||
--
|
||||
2.31.1
|
||||
|
@ -1,37 +0,0 @@
|
||||
From aea42d4a9a307438bf7099aee38daedac2bd5044 Mon Sep 17 00:00:00 2001
|
||||
Message-Id: <aea42d4a9a307438bf7099aee38daedac2bd5044.1619725559.git.stefan@agner.ch>
|
||||
In-Reply-To: <cdfb8eea4103e537898073dc3f7bf8f75cec5efb.1619725559.git.stefan@agner.ch>
|
||||
References: <cdfb8eea4103e537898073dc3f7bf8f75cec5efb.1619725559.git.stefan@agner.ch>
|
||||
From: Stefan Agner <stefan@agner.ch>
|
||||
Date: Thu, 29 Apr 2021 21:32:43 +0200
|
||||
Subject: [PATCH 8/8] arm64: dts: meson: add i2c2 node to ODROID N2/N2+
|
||||
|
||||
The J2 connectors pinout documents "I2C.SDA0/SCL0" on pin 3 and 5, which
|
||||
are connected to GPIOX_17/18. This GPIO allow to mux I2C to the second
|
||||
I2C instance. Enable i2c2 and use the appropriate pinmux.
|
||||
|
||||
Signed-off-by: Stefan Agner <stefan@agner.ch>
|
||||
---
|
||||
arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi | 6 ++++++
|
||||
1 file changed, 6 insertions(+)
|
||||
|
||||
diff --git a/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi
|
||||
index cec346178e3d..f1c3356c78a0 100644
|
||||
--- a/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi
|
||||
+++ b/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi
|
||||
@@ -586,6 +586,12 @@ &ir {
|
||||
linux,rc-map-name = "rc-odroid";
|
||||
};
|
||||
|
||||
+&i2c2 {
|
||||
+ status = "okay";
|
||||
+ pinctrl-0 = <&i2c2_sda_x_pins>, <&i2c2_sck_x_pins>;
|
||||
+ pinctrl-names = "default";
|
||||
+};
|
||||
+
|
||||
&i2c3 {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&i2c3_sda_a_pins>, <&i2c3_sck_a_pins>;
|
||||
--
|
||||
2.31.1
|
||||
|
@ -21,7 +21,7 @@ BR2_ROOTFS_POST_IMAGE_SCRIPT="$(BR2_EXTERNAL_HASSOS_PATH)/scripts/post-image.sh"
|
||||
BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_EXTERNAL_HASSOS_PATH)/board/pc/generic-x86-64 $(BR2_EXTERNAL_HASSOS_PATH)/board/pc/generic-x86-64/hassos-hook.sh"
|
||||
BR2_LINUX_KERNEL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.42"
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.45"
|
||||
BR2_LINUX_KERNEL_DEFCONFIG="x86_64"
|
||||
BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="$(BR2_EXTERNAL_HASSOS_PATH)/kernel/hassos.config $(BR2_EXTERNAL_HASSOS_PATH)/kernel/docker.config $(BR2_EXTERNAL_HASSOS_PATH)/kernel/device-support.config $(BR2_EXTERNAL_HASSOS_PATH)/board/pc/generic-x86-64/kernel.config"
|
||||
BR2_LINUX_KERNEL_LZ4=y
|
||||
|
@ -21,7 +21,7 @@ BR2_ROOTFS_POST_IMAGE_SCRIPT="$(BR2_EXTERNAL_HASSOS_PATH)/scripts/post-image.sh"
|
||||
BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_EXTERNAL_HASSOS_PATH)/board/hardkernel/odroid-c2 $(BR2_EXTERNAL_HASSOS_PATH)/board/hardkernel/odroid-c2/hassos-hook.sh"
|
||||
BR2_LINUX_KERNEL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.42"
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.45"
|
||||
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="$(BR2_EXTERNAL_HASSOS_PATH)/board/hardkernel/kernel-amlogic.config"
|
||||
BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="$(BR2_EXTERNAL_HASSOS_PATH)/kernel/hassos.config $(BR2_EXTERNAL_HASSOS_PATH)/kernel/docker.config $(BR2_EXTERNAL_HASSOS_PATH)/kernel/device-support.config"
|
||||
|
@ -21,7 +21,7 @@ BR2_ROOTFS_POST_IMAGE_SCRIPT="$(BR2_EXTERNAL_HASSOS_PATH)/scripts/post-image.sh"
|
||||
BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_EXTERNAL_HASSOS_PATH)/board/hardkernel/odroid-c4 $(BR2_EXTERNAL_HASSOS_PATH)/board/hardkernel/odroid-c4/hassos-hook.sh"
|
||||
BR2_LINUX_KERNEL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.42"
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.45"
|
||||
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="$(BR2_EXTERNAL_HASSOS_PATH)/board/hardkernel/kernel-amlogic.config"
|
||||
BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="$(BR2_EXTERNAL_HASSOS_PATH)/kernel/hassos.config $(BR2_EXTERNAL_HASSOS_PATH)/kernel/docker.config $(BR2_EXTERNAL_HASSOS_PATH)/kernel/device-support.config"
|
||||
|
@ -22,7 +22,7 @@ BR2_ROOTFS_POST_IMAGE_SCRIPT="$(BR2_EXTERNAL_HASSOS_PATH)/scripts/post-image.sh"
|
||||
BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_EXTERNAL_HASSOS_PATH)/board/hardkernel/odroid-xu4 $(BR2_EXTERNAL_HASSOS_PATH)/board/hardkernel/odroid-xu4/hassos-hook.sh"
|
||||
BR2_LINUX_KERNEL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.42"
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.45"
|
||||
BR2_LINUX_KERNEL_DEFCONFIG="exynos"
|
||||
BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="$(BR2_EXTERNAL_HASSOS_PATH)/kernel/hassos.config $(BR2_EXTERNAL_HASSOS_PATH)/kernel/docker.config $(BR2_EXTERNAL_HASSOS_PATH)/kernel/device-support.config"
|
||||
BR2_LINUX_KERNEL_LZ4=y
|
||||
|
@ -22,7 +22,7 @@ BR2_ROOTFS_POST_IMAGE_SCRIPT="$(BR2_EXTERNAL_HASSOS_PATH)/scripts/post-image.sh"
|
||||
BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_EXTERNAL_HASSOS_PATH)/board/pc/ova $(BR2_EXTERNAL_HASSOS_PATH)/board/pc/ova/hassos-hook.sh"
|
||||
BR2_LINUX_KERNEL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.42"
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.45"
|
||||
BR2_LINUX_KERNEL_DEFCONFIG="x86_64"
|
||||
BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="$(BR2_EXTERNAL_HASSOS_PATH)/kernel/hassos.config $(BR2_EXTERNAL_HASSOS_PATH)/kernel/docker.config $(BR2_EXTERNAL_HASSOS_PATH)/kernel/device-support.config $(BR2_EXTERNAL_HASSOS_PATH)/board/pc/ova/kernel.config"
|
||||
BR2_LINUX_KERNEL_LZ4=y
|
||||
|
@ -23,7 +23,7 @@ BR2_ROOTFS_POST_IMAGE_SCRIPT="$(BR2_EXTERNAL_HASSOS_PATH)/scripts/post-image.sh"
|
||||
BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_EXTERNAL_HASSOS_PATH)/board/asus/tinker $(BR2_EXTERNAL_HASSOS_PATH)/board/asus/hassos-hook.sh"
|
||||
BR2_LINUX_KERNEL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.42"
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.45"
|
||||
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="$(BR2_EXTERNAL_HASSOS_PATH)/board/asus/tinker/kernel.config"
|
||||
BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="$(BR2_EXTERNAL_HASSOS_PATH)/kernel/hassos.config $(BR2_EXTERNAL_HASSOS_PATH)/kernel/docker.config $(BR2_EXTERNAL_HASSOS_PATH)/kernel/device-support.config"
|
||||
|
@ -1,7 +1,7 @@
|
||||
VERSION_MAJOR=6
|
||||
VERSION_BUILD=0
|
||||
VERSION_BUILD=1
|
||||
|
||||
HASSOS_NAME="Home Assistant OS"
|
||||
HASSOS_ID="haos"
|
||||
|
||||
DEPLOYMENT="development"
|
||||
DEPLOYMENT="production"
|
||||
|
@ -13,7 +13,7 @@
|
||||
#
|
||||
#############################################################
|
||||
|
||||
GENERIC_RAW_UART_VERSION = dab76ddd1d568cc4925dc778e43d70fccffdc0e8
|
||||
GENERIC_RAW_UART_VERSION = 1ea534903aba4c68187c27a0841f0f432a29e789
|
||||
GENERIC_RAW_UART_SITE = $(call github,alexreinert,piVCCU,$(GENERIC_RAW_UART_VERSION))
|
||||
GENERIC_RAW_UART_LICENSE = GPL2
|
||||
#GENERIC_RAW_UART_LICENSE_FILES = LICENSE
|
||||
|
@ -1,8 +1,8 @@
|
||||
From 9c98c07abbe9ee675ec588ad7c15f0285e8a0f07 Mon Sep 17 00:00:00 2001
|
||||
Message-Id: <9c98c07abbe9ee675ec588ad7c15f0285e8a0f07.1618500237.git.stefan@agner.ch>
|
||||
From 09f9b55b419ef01ad24998bbacb1a49976b58bfa Mon Sep 17 00:00:00 2001
|
||||
Message-Id: <09f9b55b419ef01ad24998bbacb1a49976b58bfa.1624121036.git.stefan@agner.ch>
|
||||
From: Pascal Vizeli <pvizeli@syshack.ch>
|
||||
Date: Mon, 13 Jan 2020 12:27:06 +0000
|
||||
Subject: [PATCH 1/9] docker: add AppArmor support
|
||||
Subject: [PATCH 1/8] docker: add AppArmor support
|
||||
|
||||
Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch>
|
||||
Signed-off-by: Stefan Agner <stefan@agner.ch>
|
||||
@ -27,5 +27,5 @@ index e229d9cb54..e968518a69 100644
|
||||
DOCKER_CONTAINERD_DEPENDENCIES += libseccomp host-pkgconf
|
||||
DOCKER_CONTAINERD_TAGS += seccomp
|
||||
--
|
||||
2.31.1
|
||||
2.32.0
|
||||
|
||||
|
@ -1,10 +1,10 @@
|
||||
From dc4191d1393e2d25e1270d6b7c60d780b52f6179 Mon Sep 17 00:00:00 2001
|
||||
Message-Id: <dc4191d1393e2d25e1270d6b7c60d780b52f6179.1618500237.git.stefan@agner.ch>
|
||||
In-Reply-To: <9c98c07abbe9ee675ec588ad7c15f0285e8a0f07.1618500237.git.stefan@agner.ch>
|
||||
References: <9c98c07abbe9ee675ec588ad7c15f0285e8a0f07.1618500237.git.stefan@agner.ch>
|
||||
From e06ba47c59eec31475a8302fca569a0315158154 Mon Sep 17 00:00:00 2001
|
||||
Message-Id: <e06ba47c59eec31475a8302fca569a0315158154.1624121036.git.stefan@agner.ch>
|
||||
In-Reply-To: <09f9b55b419ef01ad24998bbacb1a49976b58bfa.1624121036.git.stefan@agner.ch>
|
||||
References: <09f9b55b419ef01ad24998bbacb1a49976b58bfa.1624121036.git.stefan@agner.ch>
|
||||
From: Pascal Vizeli <pvizeli@syshack.ch>
|
||||
Date: Thu, 16 Apr 2020 14:32:45 +0000
|
||||
Subject: [PATCH 2/9] network-manager: wpa_supplicant
|
||||
Subject: [PATCH 2/8] network-manager: wpa_supplicant
|
||||
|
||||
Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch>
|
||||
---
|
||||
@ -29,7 +29,7 @@ index 7d44768460..218dc860ff 100644
|
||||
select BR2_PACKAGE_LIBNDP
|
||||
help
|
||||
diff --git a/package/network-manager/network-manager.mk b/package/network-manager/network-manager.mk
|
||||
index 9402564cb4..79ae42e987 100644
|
||||
index 607c2b402b..c8351d8730 100644
|
||||
--- a/package/network-manager/network-manager.mk
|
||||
+++ b/package/network-manager/network-manager.mk
|
||||
@@ -10,7 +10,7 @@ NETWORK_MANAGER_SOURCE = NetworkManager-$(NETWORK_MANAGER_VERSION).tar.xz
|
||||
@ -42,5 +42,5 @@ index 9402564cb4..79ae42e987 100644
|
||||
NETWORK_MANAGER_LICENSE_FILES = COPYING COPYING.LGPL CONTRIBUTING
|
||||
NETWORK_MANAGER_CPE_ID_VENDOR = gnome
|
||||
--
|
||||
2.31.1
|
||||
2.32.0
|
||||
|
||||
|
@ -1,10 +1,10 @@
|
||||
From 3ca46afd47a195d35bca247c75f02f3c95f1c1ef Mon Sep 17 00:00:00 2001
|
||||
Message-Id: <3ca46afd47a195d35bca247c75f02f3c95f1c1ef.1618500237.git.stefan@agner.ch>
|
||||
In-Reply-To: <9c98c07abbe9ee675ec588ad7c15f0285e8a0f07.1618500237.git.stefan@agner.ch>
|
||||
References: <9c98c07abbe9ee675ec588ad7c15f0285e8a0f07.1618500237.git.stefan@agner.ch>
|
||||
From 654f5326428f1f442369589ce74333a44293fac2 Mon Sep 17 00:00:00 2001
|
||||
Message-Id: <654f5326428f1f442369589ce74333a44293fac2.1624121036.git.stefan@agner.ch>
|
||||
In-Reply-To: <09f9b55b419ef01ad24998bbacb1a49976b58bfa.1624121036.git.stefan@agner.ch>
|
||||
References: <09f9b55b419ef01ad24998bbacb1a49976b58bfa.1624121036.git.stefan@agner.ch>
|
||||
From: Pascal Vizeli <pvizeli@syshack.ch>
|
||||
Date: Thu, 16 Apr 2020 12:01:44 +0000
|
||||
Subject: [PATCH 3/9] Fix dhcp client
|
||||
Subject: [PATCH 3/8] Fix dhcp client
|
||||
|
||||
Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch>
|
||||
---
|
||||
@ -12,10 +12,10 @@ Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch>
|
||||
1 file changed, 1 insertion(+), 2 deletions(-)
|
||||
|
||||
diff --git a/package/dhcp/dhcp.mk b/package/dhcp/dhcp.mk
|
||||
index 988c7792dc..d8f331719a 100644
|
||||
index 1edb3c5e99..b945c46b18 100644
|
||||
--- a/package/dhcp/dhcp.mk
|
||||
+++ b/package/dhcp/dhcp.mk
|
||||
@@ -77,8 +77,7 @@ endif
|
||||
@@ -79,8 +79,7 @@ endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_DHCP_CLIENT),y)
|
||||
define DHCP_INSTALL_CLIENT
|
||||
@ -26,5 +26,5 @@ index 988c7792dc..d8f331719a 100644
|
||||
install-sbinPROGRAMS
|
||||
$(INSTALL) -m 0644 -D package/dhcp/dhclient.conf \
|
||||
--
|
||||
2.31.1
|
||||
2.32.0
|
||||
|
||||
|
@ -1,10 +1,10 @@
|
||||
From d6d381417d7e1aa442b27a699e790572b2b233d2 Mon Sep 17 00:00:00 2001
|
||||
Message-Id: <d6d381417d7e1aa442b27a699e790572b2b233d2.1618500237.git.stefan@agner.ch>
|
||||
In-Reply-To: <9c98c07abbe9ee675ec588ad7c15f0285e8a0f07.1618500237.git.stefan@agner.ch>
|
||||
References: <9c98c07abbe9ee675ec588ad7c15f0285e8a0f07.1618500237.git.stefan@agner.ch>
|
||||
From 81093c8655737f9208df3b75371290600625bec8 Mon Sep 17 00:00:00 2001
|
||||
Message-Id: <81093c8655737f9208df3b75371290600625bec8.1624121036.git.stefan@agner.ch>
|
||||
In-Reply-To: <09f9b55b419ef01ad24998bbacb1a49976b58bfa.1624121036.git.stefan@agner.ch>
|
||||
References: <09f9b55b419ef01ad24998bbacb1a49976b58bfa.1624121036.git.stefan@agner.ch>
|
||||
From: Stefan Agner <stefan@agner.ch>
|
||||
Date: Mon, 8 Feb 2021 14:08:28 +0100
|
||||
Subject: [PATCH 4/9] package/rpi-firmware: Allow to deploy multiple firmware
|
||||
Subject: [PATCH 4/8] package/rpi-firmware: Allow to deploy multiple firmware
|
||||
files
|
||||
|
||||
Add a new config option to allow a specific list of firmware files to be
|
||||
@ -72,5 +72,5 @@ index f3d28ef825..58085a8ca8 100644
|
||||
$(RPI_FIRMWARE_INSTALL_DTB)
|
||||
$(RPI_FIRMWARE_INSTALL_DTB_OVERLAYS)
|
||||
--
|
||||
2.31.1
|
||||
2.32.0
|
||||
|
||||
|
@ -1,10 +1,10 @@
|
||||
From de154cd65e16420abc726bd25b5a35c70b81623f Mon Sep 17 00:00:00 2001
|
||||
Message-Id: <de154cd65e16420abc726bd25b5a35c70b81623f.1618500237.git.stefan@agner.ch>
|
||||
In-Reply-To: <9c98c07abbe9ee675ec588ad7c15f0285e8a0f07.1618500237.git.stefan@agner.ch>
|
||||
References: <9c98c07abbe9ee675ec588ad7c15f0285e8a0f07.1618500237.git.stefan@agner.ch>
|
||||
From f93e6246fbc58814dd4547eade63102c7626b76b Mon Sep 17 00:00:00 2001
|
||||
Message-Id: <f93e6246fbc58814dd4547eade63102c7626b76b.1624121036.git.stefan@agner.ch>
|
||||
In-Reply-To: <09f9b55b419ef01ad24998bbacb1a49976b58bfa.1624121036.git.stefan@agner.ch>
|
||||
References: <09f9b55b419ef01ad24998bbacb1a49976b58bfa.1624121036.git.stefan@agner.ch>
|
||||
From: Stefan Agner <stefan@agner.ch>
|
||||
Date: Wed, 17 Mar 2021 14:48:43 +0100
|
||||
Subject: [PATCH 5/9] package/linux-firmware: add RTL87XX/RTL88XX Bluetooth
|
||||
Subject: [PATCH 5/8] package/linux-firmware: add RTL87XX/RTL88XX Bluetooth
|
||||
firmware
|
||||
|
||||
Add firmware files for Realtek 87XX and 88XX Bluetooth chipsets. Those
|
||||
@ -70,5 +70,5 @@ index f23da171c6..9c512ab750 100644
|
||||
ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_RALINK_RT61),y)
|
||||
LINUX_FIRMWARE_FILES += rt2561.bin rt2561s.bin rt2661.bin
|
||||
--
|
||||
2.31.1
|
||||
2.32.0
|
||||
|
||||
|
@ -1,10 +1,10 @@
|
||||
From f69e0329ecb778a680a7337024f49eda79bab5b8 Mon Sep 17 00:00:00 2001
|
||||
Message-Id: <f69e0329ecb778a680a7337024f49eda79bab5b8.1618500237.git.stefan@agner.ch>
|
||||
In-Reply-To: <9c98c07abbe9ee675ec588ad7c15f0285e8a0f07.1618500237.git.stefan@agner.ch>
|
||||
References: <9c98c07abbe9ee675ec588ad7c15f0285e8a0f07.1618500237.git.stefan@agner.ch>
|
||||
From 28a2450108743762b3b43629c86248f5fe45aa70 Mon Sep 17 00:00:00 2001
|
||||
Message-Id: <28a2450108743762b3b43629c86248f5fe45aa70.1624121036.git.stefan@agner.ch>
|
||||
In-Reply-To: <09f9b55b419ef01ad24998bbacb1a49976b58bfa.1624121036.git.stefan@agner.ch>
|
||||
References: <09f9b55b419ef01ad24998bbacb1a49976b58bfa.1624121036.git.stefan@agner.ch>
|
||||
From: Stefan Agner <stefan@agner.ch>
|
||||
Date: Thu, 15 Apr 2021 17:22:59 +0200
|
||||
Subject: [PATCH 9/9] package/docker-proxy: bump version to b3507428be5b
|
||||
Subject: [PATCH 6/8] package/docker-proxy: bump version to b3507428be5b
|
||||
|
||||
Which is the version used by docker 20.10.6:
|
||||
https://github.com/moby/moby/commit/88470052e7d42f3dc774442241fd6bab817876f6
|
||||
@ -40,5 +40,5 @@ index 6600b24ed9..7270834119 100644
|
||||
DOCKER_PROXY_LICENSE = Apache-2.0
|
||||
DOCKER_PROXY_LICENSE_FILES = LICENSE
|
||||
--
|
||||
2.31.1
|
||||
2.32.0
|
||||
|
@ -1,10 +1,10 @@
|
||||
From 5cffe6f96bcab32bbe5019bc4426c1cbdd7f2593 Mon Sep 17 00:00:00 2001
|
||||
Message-Id: <5cffe6f96bcab32bbe5019bc4426c1cbdd7f2593.1618824199.git.stefan@agner.ch>
|
||||
In-Reply-To: <9c98c07abbe9ee675ec588ad7c15f0285e8a0f07.1618824199.git.stefan@agner.ch>
|
||||
References: <9c98c07abbe9ee675ec588ad7c15f0285e8a0f07.1618824199.git.stefan@agner.ch>
|
||||
From 30030f11ea80bee5f25136a3caf070a9b97e8b10 Mon Sep 17 00:00:00 2001
|
||||
Message-Id: <30030f11ea80bee5f25136a3caf070a9b97e8b10.1624121036.git.stefan@agner.ch>
|
||||
In-Reply-To: <09f9b55b419ef01ad24998bbacb1a49976b58bfa.1624121036.git.stefan@agner.ch>
|
||||
References: <09f9b55b419ef01ad24998bbacb1a49976b58bfa.1624121036.git.stefan@agner.ch>
|
||||
From: Stefan Agner <stefan@agner.ch>
|
||||
Date: Mon, 19 Apr 2021 10:59:03 +0200
|
||||
Subject: [PATCH 11/11] package/rpi-firmware: bump version to 1.20210303
|
||||
Subject: [PATCH 7/8] package/rpi-firmware: bump version to 1.20210303
|
||||
|
||||
Keep rpi-firmware up-to-date with the kernel version bump (tag
|
||||
1.20210303).
|
||||
@ -38,5 +38,5 @@ index 58085a8ca8..ea82836900 100644
|
||||
RPI_FIRMWARE_LICENSE = BSD-3-Clause
|
||||
RPI_FIRMWARE_LICENSE_FILES = boot/LICENCE.broadcom
|
||||
--
|
||||
2.31.1
|
||||
2.32.0
|
||||
|
@ -1,39 +0,0 @@
|
||||
From b169d34718e596e885c34b4fda9af4f85fbc5f1f Mon Sep 17 00:00:00 2001
|
||||
Message-Id: <b169d34718e596e885c34b4fda9af4f85fbc5f1f.1618500237.git.stefan@agner.ch>
|
||||
In-Reply-To: <9c98c07abbe9ee675ec588ad7c15f0285e8a0f07.1618500237.git.stefan@agner.ch>
|
||||
References: <9c98c07abbe9ee675ec588ad7c15f0285e8a0f07.1618500237.git.stefan@agner.ch>
|
||||
From: Stefan Agner <stefan@agner.ch>
|
||||
Date: Thu, 15 Apr 2021 17:22:23 +0200
|
||||
Subject: [PATCH 7/9] package/runc: bump to version 1.0.0-rc93
|
||||
|
||||
Signed-off-by: Stefan Agner <stefan@agner.ch>
|
||||
---
|
||||
package/runc/runc.hash | 2 +-
|
||||
package/runc/runc.mk | 2 +-
|
||||
2 files changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/package/runc/runc.hash b/package/runc/runc.hash
|
||||
index d792947d5f..0f9cfbbe9a 100644
|
||||
--- a/package/runc/runc.hash
|
||||
+++ b/package/runc/runc.hash
|
||||
@@ -1,3 +1,3 @@
|
||||
# Locally computed
|
||||
-sha256 28378df983a3c586ed3ec8c76a774a9b10f36a0c323590a284b801cce95cc61f runc-1.0.0-rc92.tar.gz
|
||||
+sha256 e42456078d2f76c925cdd656e4f423b918525d8188521de05e893b6bb473a6f8 runc-1.0.0-rc93.tar.gz
|
||||
sha256 552a739c3b25792263f731542238b92f6f8d07e9a488eae27e6c4690038a8243 LICENSE
|
||||
diff --git a/package/runc/runc.mk b/package/runc/runc.mk
|
||||
index 14689bbde1..c5cb57bdc8 100644
|
||||
--- a/package/runc/runc.mk
|
||||
+++ b/package/runc/runc.mk
|
||||
@@ -5,7 +5,7 @@
|
||||
################################################################################
|
||||
|
||||
RUNC_VERSION_MAJOR = 1.0.0
|
||||
-RUNC_VERSION_MINOR = rc92
|
||||
+RUNC_VERSION_MINOR = rc93
|
||||
RUNC_VERSION = $(RUNC_VERSION_MAJOR)-$(RUNC_VERSION_MINOR)
|
||||
RUNC_SITE = $(call github,opencontainers,runc,v$(RUNC_VERSION))
|
||||
RUNC_LICENSE = Apache-2.0
|
||||
--
|
||||
2.31.1
|
||||
|
@ -0,0 +1,55 @@
|
||||
From af2981f04e79fc5d4298e027d7a02ecfd3316bd7 Mon Sep 17 00:00:00 2001
|
||||
Message-Id: <af2981f04e79fc5d4298e027d7a02ecfd3316bd7.1624121036.git.stefan@agner.ch>
|
||||
In-Reply-To: <09f9b55b419ef01ad24998bbacb1a49976b58bfa.1624121036.git.stefan@agner.ch>
|
||||
References: <09f9b55b419ef01ad24998bbacb1a49976b58bfa.1624121036.git.stefan@agner.ch>
|
||||
From: Stefan Agner <stefan@agner.ch>
|
||||
Date: Sat, 19 Jun 2021 18:20:46 +0200
|
||||
Subject: [PATCH 8/8] package/linux-firmware: add rtl8761b/rtl8761bu firmware
|
||||
|
||||
Bumpt to latest git hash and deploy rtl8761b/rtl8761bu firmwares as
|
||||
well.
|
||||
|
||||
Signed-off-by: Stefan Agner <stefan@agner.ch>
|
||||
---
|
||||
package/linux-firmware/linux-firmware.hash | 2 +-
|
||||
package/linux-firmware/linux-firmware.mk | 6 ++++--
|
||||
2 files changed, 5 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/package/linux-firmware/linux-firmware.hash b/package/linux-firmware/linux-firmware.hash
|
||||
index 12af68f2d3..df66b87c50 100644
|
||||
--- a/package/linux-firmware/linux-firmware.hash
|
||||
+++ b/package/linux-firmware/linux-firmware.hash
|
||||
@@ -1,5 +1,5 @@
|
||||
# Locally calculated
|
||||
-sha256 f97d6d884026c5e3641909946713dcfea580c307d47830d37d42bfcc9a93870a linux-firmware-20201022-br1.tar.gz
|
||||
+sha256 cfbacbadf8b7ad2fd8ce1198f3d923329777922e45ff3f9497a98c7f2e15c485 linux-firmware-64f02a260ef8bd9e0d1dad369ef376338045d15b-br1.tar.gz
|
||||
sha256 8116433f4004fc0c24d72b3d9e497808b724aa0e5e1cd63fc1bf66b715b1e2e9 LICENCE.Abilis
|
||||
sha256 8d5847d2971241d4d6a51c16e206379de53a6d4e203fa6f8e1c1e9279c7c4ad0 LICENSE.amdgpu
|
||||
sha256 2d6062d63b91eb750bf741498691604f75184b9fee97608ec537cd09bd6a42b4 LICENCE.Marvell
|
||||
diff --git a/package/linux-firmware/linux-firmware.mk b/package/linux-firmware/linux-firmware.mk
|
||||
index 9c512ab750..96da50751b 100644
|
||||
--- a/package/linux-firmware/linux-firmware.mk
|
||||
+++ b/package/linux-firmware/linux-firmware.mk
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
-LINUX_FIRMWARE_VERSION = 20201022
|
||||
+LINUX_FIRMWARE_VERSION = 64f02a260ef8bd9e0d1dad369ef376338045d15b
|
||||
LINUX_FIRMWARE_SITE = http://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git
|
||||
LINUX_FIRMWARE_SITE_METHOD = git
|
||||
|
||||
@@ -70,7 +70,9 @@ LINUX_FIRMWARE_FILES += \
|
||||
rtl_bt/rtl8723a_fw.bin rtl_bt/rtl8723b_fw.bin \
|
||||
rtl_bt/rtl8723bs_config-OBDA8723.bin \
|
||||
rtl_bt/rtl8723bs_fw.bin rtl_bt/rtl8723d_config.bin \
|
||||
- rtl_bt/rtl8723d_fw.bin rtl_bt/rtl8761a_fw.bin
|
||||
+ rtl_bt/rtl8723d_fw.bin rtl_bt/rtl8761a_fw.bin \
|
||||
+ rtl_bt/rtl8761b_fw.bin rtl_bt/rtl8761b_config.bin \
|
||||
+ rtl_bt/rtl8761bu_fw.bin rtl_bt/rtl8761bu_config.bin
|
||||
LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.rtlwifi_firmware.txt
|
||||
endif
|
||||
|
||||
--
|
||||
2.32.0
|
||||
|
@ -1,3 +1,48 @@
|
||||
2021.02.3, released June 12th, 2021
|
||||
|
||||
Important / security related fixes.
|
||||
|
||||
CPE meta data has been added for a large number of packages
|
||||
|
||||
Updated/fixed packages: acpid, apache, apcupsd, assimp, bird,
|
||||
bitcoin, blktrace, boost, capnproto, chrony, dc3dd, dhcp,
|
||||
directfb, dmalloc, docker-engine, ebtables, efibootmgr,
|
||||
enlightenment, enscript, environment-setup, exempi, expat,
|
||||
findutils, flatcc, fluidsynth, frr, gdb, go, gptfdisk, grpc,
|
||||
gst1-plugins-bad, gst1-rtsp-server, gstreamer1, gupnp,
|
||||
hostapd, hwloc, i2c-tools, iftop, imagemagick, imx-gpu-viv,
|
||||
intel-mediadriver, intel-microcode, jquery-validation,
|
||||
keepalived, kodi, less, libcamera, libcurl, libcutl, libesmtp,
|
||||
libeXosip2, libffi, libfuse, libfuse3, libgeos, libgtk2,
|
||||
libgtk3, libical, libidn, libidn2, libkcapi, libldns, libmms,
|
||||
libmodbus, libmspack, libnids, libopenh264, liboping, libraw,
|
||||
librelp, libsamplerate, libtirpc, libusb, libuv, libxcb,
|
||||
libxml2, libxslt, live555, llvm, lmbench, localedef,
|
||||
lttng-tools, lvm2, lz4, mesa3d, mimic, mini-snmpd, minidlna,
|
||||
minissdpd, minizip, mono-gtksharp3, mpg123, mpv, msmtp, musl,
|
||||
mutt, nasm, nbd, netperf, netsurf, nginx, odb, opencv3,
|
||||
openssh, opentyrian, oprofile, p7zip, paho-mqtt-c, perl,
|
||||
php-imagick, pifmrds, picocom, pigz, pngquant, poco,
|
||||
postgresql, prosody, proxychains-ng, pulseaudio, putty, pwgen,
|
||||
python-autobahn, python-bluezero, python-engineio,
|
||||
python-keyring, python-pillow, python-requests, python-tqdm,
|
||||
qemu, qpdf, qt5base, redis, refpolicy, rt-tests, runc,
|
||||
shellinabox, squid, strace, supervisor, synergy, taglib,
|
||||
tclap, terminology, thermald, tini, tinyproxy, tinyxml2,
|
||||
tpm2-tss, uclibc, udisks, uhd, unscd, vlc, waylandpp,
|
||||
webkitgtk, weston, wireshark, wpa_supplicant, wpewebkit,
|
||||
xlib_libdmx, xlib_libFS, xlib_libICE, xlib_libX11,
|
||||
xlib_libXcursor, xlib_libXdmcp, xlib_libXext, xlib_libXfixes,
|
||||
xlib_libXfont2, xlib_libXinerama, xlib_libXpm, xlib_libXres,
|
||||
xlib_libXt, xlib_libXtst, xlib_libXxf86dga, xlib_libXxf86vm,
|
||||
xterm
|
||||
|
||||
Issues resolved (http://bugs.uclibc.org):
|
||||
|
||||
#13781: isc dhcp-server package don't create file /usr/bin/dhcpd
|
||||
#13801: toolchainfile.cmake CMAKE_BUILD_TYPE
|
||||
#13806: Building host-localedef fails on fedora 34/gcc 11
|
||||
|
||||
2021.02.2, released May 12th, 2021
|
||||
|
||||
Important / security related fixes.
|
||||
|
@ -715,6 +715,8 @@ comment "Security Hardening Options"
|
||||
|
||||
config BR2_PIC_PIE
|
||||
bool "Build code with PIC/PIE"
|
||||
# Nios2 toolchains produce non working binaries with -fPIC
|
||||
depends on !BR2_nios2
|
||||
depends on BR2_SHARED_LIBS
|
||||
depends on BR2_TOOLCHAIN_SUPPORTS_PIE
|
||||
help
|
||||
@ -722,6 +724,7 @@ config BR2_PIC_PIE
|
||||
Position-Independent Executables (PIE).
|
||||
|
||||
comment "PIC/PIE needs a toolchain w/ PIE"
|
||||
depends on !BR2_nios2
|
||||
depends on BR2_SHARED_LIBS
|
||||
depends on !BR2_TOOLCHAIN_SUPPORTS_PIE
|
||||
|
||||
@ -808,6 +811,7 @@ config BR2_RELRO_PARTIAL
|
||||
|
||||
config BR2_RELRO_FULL
|
||||
bool "Full"
|
||||
depends on !BR2_nios2 # BR2_PIC_PIE
|
||||
depends on BR2_TOOLCHAIN_SUPPORTS_PIE
|
||||
select BR2_PIC_PIE
|
||||
help
|
||||
@ -816,6 +820,7 @@ config BR2_RELRO_FULL
|
||||
program loading, i.e every time an executable is started.
|
||||
|
||||
comment "RELRO Full needs a toolchain w/ PIE"
|
||||
depends on !BR2_nios2
|
||||
depends on !BR2_TOOLCHAIN_SUPPORTS_PIE
|
||||
|
||||
endchoice
|
||||
|
@ -309,6 +309,7 @@ F: package/apache/
|
||||
F: package/apr/
|
||||
F: package/apr-util/
|
||||
F: package/bcg729/
|
||||
F: package/bitcoin/
|
||||
F: package/bluez-tools/
|
||||
F: package/boinc/
|
||||
F: package/clamav/
|
||||
@ -331,8 +332,12 @@ F: package/gkrellm/
|
||||
F: package/gli/
|
||||
F: package/glmark2/
|
||||
F: package/gpsd/
|
||||
F: package/gptfdisk/
|
||||
F: package/hdparm/
|
||||
F: package/inih/
|
||||
F: package/intel-gmmlib/
|
||||
F: package/intel-mediadriver/
|
||||
F: package/intel-mediasdk/
|
||||
F: package/jsoncpp/
|
||||
F: package/kodi*
|
||||
F: package/lame/
|
||||
@ -487,16 +492,6 @@ F: package/libsvg-cairo/
|
||||
N: Cédric Chépied <cedric.chepied@gmail.com>
|
||||
F: package/znc/
|
||||
|
||||
N: Chakra Divi <chakra@openedev.com>
|
||||
F: board/friendlyarm/nanopi-m1
|
||||
F: board/friendlyarm/nanopi-m1-plus
|
||||
F: board/olimex/a13_olinuxino
|
||||
F: board/orangepi/orangepi-plus
|
||||
F: configs/friendlyarm_nanopi_m1_defconfig
|
||||
F: configs/friendlyarm_nanopi_m1_plus_defconfig
|
||||
F: configs/olimex_a13_olinuxino_defconfig
|
||||
F: configs/orangepi_plus_defconfig
|
||||
|
||||
N: Chris Packham <judge.packham@gmail.com>
|
||||
F: package/coremark/
|
||||
F: package/coremark-pro/
|
||||
@ -673,6 +668,7 @@ F: package/ipcalc/
|
||||
|
||||
N: Dick Olsson <hi@senzilla.io>
|
||||
F: package/bearssl/
|
||||
F: package/bitcoin/
|
||||
F: package/execline/
|
||||
F: package/mdevd/
|
||||
F: package/s6-dns/
|
||||
|
@ -92,9 +92,9 @@ all:
|
||||
.PHONY: all
|
||||
|
||||
# Set and export the version string
|
||||
export BR2_VERSION := 2021.02.2
|
||||
export BR2_VERSION := 2021.02.3
|
||||
# Actual time the release is cut (for reproducible builds)
|
||||
BR2_VERSION_EPOCH = 1620810000
|
||||
BR2_VERSION_EPOCH = 1623509900
|
||||
|
||||
# Save running make version since it's clobbered by the make package
|
||||
RUNNING_MAKE_VERSION := $(MAKE_VERSION)
|
||||
|
@ -20,7 +20,7 @@ Buildroot comes with a basic configuration for a number of boards. Run
|
||||
|
||||
Please feed suggestions, bug reports, insults, and bribes back to the
|
||||
buildroot mailing list: buildroot@buildroot.org
|
||||
You can also find us on #buildroot on Freenode IRC.
|
||||
You can also find us on #buildroot on OFTC IRC.
|
||||
|
||||
If you would like to contribute patches, please read
|
||||
https://buildroot.org/manual.html#submitting-patches
|
||||
|
File diff suppressed because one or more lines are too long
Binary file not shown.
@ -174,13 +174,13 @@ List of Examples
|
||||
|
||||
---------------------------------------------------------------------
|
||||
|
||||
Buildroot 2021.02.2 manual generated on 2021-05-12 09:07:48 UTC from
|
||||
git revision 76b4f9e9b6
|
||||
Buildroot 2021.02.3 manual generated on 2021-06-12 15:00:43 UTC from
|
||||
git revision 5293208a57
|
||||
|
||||
The Buildroot manual is written by the Buildroot developers. It is
|
||||
licensed under the GNU General Public License, version 2. Refer to
|
||||
the COPYING [http://git.buildroot.org/buildroot/tree/COPYING?id=
|
||||
76b4f9e9b658d3a4a72266e4aa2e63aa7a3f54f9] file in the Buildroot
|
||||
5293208a57ce78f9fc958704d7df52f28532cde6] file in the Buildroot
|
||||
sources for the full text of this license.
|
||||
|
||||
Copyright © 2004-2020 The Buildroot developers
|
||||
@ -488,9 +488,9 @@ Mailing List
|
||||
|
||||
IRC
|
||||
|
||||
The Buildroot IRC channel #buildroot [irc://freenode.net/#
|
||||
buildroot] is hosted on Freenode [http://webchat.freenode.net].
|
||||
It is a useful place to ask quick questions or discuss on certain
|
||||
The Buildroot IRC channel #buildroot [irc://irc.oftc.net/#
|
||||
buildroot] is hosted on OFTC [https://www.oftc.net/WebChat/]. It
|
||||
is a useful place to ask quick questions or discuss on certain
|
||||
topics.
|
||||
|
||||
When asking for help on IRC, share relevant logs or pieces of
|
||||
|
@ -29,8 +29,8 @@ there is a good chance someone else has asked the same question before.
|
||||
|
||||
IRC::
|
||||
+
|
||||
The Buildroot IRC channel irc://freenode.net/#buildroot[#buildroot] is
|
||||
hosted on http://webchat.freenode.net[Freenode]. It is a useful place to
|
||||
The Buildroot IRC channel irc://irc.oftc.net/#buildroot[#buildroot] is
|
||||
hosted on https://www.oftc.net/WebChat/[OFTC]. It is a useful place to
|
||||
ask quick questions or discuss on certain topics.
|
||||
+
|
||||
When asking for help on IRC, share relevant logs or pieces of code
|
||||
|
@ -19,15 +19,15 @@
|
||||
<img class="img-responsive" src="images/irc.png" style="max-width:50px; margin-bottom:10px;">
|
||||
</div>
|
||||
<div class="col-sm-11">
|
||||
<p>The Buildroot IRC channel is <a href="irc://freenode.net/#buildroot">
|
||||
#buildroot</a>, hosted on Freenode. If you do not have an IRC client, you can
|
||||
use the <a href="http://webchat.freenode.net">Freenode web interface</a>.
|
||||
<p>The Buildroot IRC channel is <a href="irc://irc.oftc.net/#buildroot">
|
||||
#buildroot</a>, hosted on OFTC. If you do not have an IRC client, you can
|
||||
use the <a href="https://www.oftc.net/WebChat/">OFTC web interface</a>.
|
||||
When asking for help on IRC, share relevant logs or pieces of code using a code
|
||||
sharing website.</p>
|
||||
|
||||
<p>Note that due to excessive spamming on Freenode, the channel can only be
|
||||
<p>Note that due to excessive spamming on IRC, the channel can only be
|
||||
joined if you are a registered user with
|
||||
<a href="https://freenode.net/kb/answer/registration">Freenode nickserv</a>
|
||||
<a href="https://www.oftc.net/Services/">OFTC NickServ</a>
|
||||
service. Follow the instructions to register as a user with a password,
|
||||
and then join the <code>#buildroot</code> channel.</p>
|
||||
</div>
|
||||
|
@ -125,7 +125,7 @@ endif
|
||||
|
||||
config BR2_LINUX_KERNEL_VERSION
|
||||
string
|
||||
default "5.10.35" if BR2_LINUX_KERNEL_LATEST_VERSION
|
||||
default "5.10.43" if BR2_LINUX_KERNEL_LATEST_VERSION
|
||||
default "4.19.182-cip45" if BR2_LINUX_KERNEL_LATEST_CIP_VERSION
|
||||
default "4.19.165-cip41-rt18" if BR2_LINUX_KERNEL_LATEST_CIP_RT_VERSION
|
||||
default BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE \
|
||||
|
@ -1,11 +1,11 @@
|
||||
# From https://www.kernel.org/pub/linux/kernel/v5.x/sha256sums.asc
|
||||
sha256 ac37a19d45b77a87e58e3aae8b127a6e7eb85ed7467fc8e58474b387bfd498fd linux-5.10.35.tar.xz
|
||||
sha256 4e989b5775830092e5c76b5cca65ebff862ad0c87d0b58c3a20d415c3d4ec770 linux-5.4.117.tar.xz
|
||||
sha256 83b81e433ba2f8ee143064fb163699ee857e26dd789006bc1e9edf1ccd0bd403 linux-5.10.43.tar.xz
|
||||
sha256 17ee750a4aeb1c883d721e730d1f7e2855124585e2f47766864a1359a7ebe33c linux-5.4.125.tar.xz
|
||||
# From https://www.kernel.org/pub/linux/kernel/v4.x/sha256sums.asc
|
||||
sha256 6817ad26e1621bfad48d08b638f66c5933e89c7c8c00d43195b2e0ae260233eb linux-4.4.268.tar.xz
|
||||
sha256 5b66f6ce0137fb8d81004bcf2f1e3cbe01c38aab74268656c4ba015c1ccd762a linux-4.9.268.tar.xz
|
||||
sha256 1dc19361f6970bc94cc62be066702483db9cbd3d63f3089a8c90dabfced74369 linux-4.14.232.tar.xz
|
||||
sha256 6f9c2aee8553129d2bdbab646bbf7e88c2a5c38c0b1450f2e728831681bfc85d linux-4.19.190.tar.xz
|
||||
sha256 d13fa552be602825c443fcca90d6bdd72f4ebef809889ef015dba4593d3224ab linux-4.4.272.tar.xz
|
||||
sha256 f8bf0c390ae40ca736e104f10f744446bc534bf87ba1b6dbb2b7c9a8bece1058 linux-4.9.272.tar.xz
|
||||
sha256 e4eae297a6fefefd8ce4781d98178a7c1ee51ca0a4c8a7e46e61b121fbab8b2a linux-4.14.236.tar.xz
|
||||
sha256 aaaebdccf599f77148fe170642fa7dc2452cf994b5cbbb4d39cab9e7f4058896 linux-4.19.194.tar.xz
|
||||
# Locally computed
|
||||
sha256 9f1de83c5c2bb582a33bd4ee892d45671901cd06af9dc159f0f499f1b5265b20 linux-cip-4.19.182-cip45.tar.gz
|
||||
sha256 0eeba6d6ecc45cf8f16458842b64d22e7064b9de9c31c11d1c395b08a47e3855 linux-cip-4.19.165-cip41-rt18.tar.gz
|
||||
|
@ -9,6 +9,8 @@ ACPID_SOURCE = acpid-$(ACPID_VERSION).tar.xz
|
||||
ACPID_SITE = http://downloads.sourceforge.net/project/acpid2
|
||||
ACPID_LICENSE = GPL-2.0+
|
||||
ACPID_LICENSE_FILES = COPYING
|
||||
ACPID_CPE_ID_VENDOR = tedfelix
|
||||
ACPID_CPE_ID_PRODUCT = acpid2
|
||||
|
||||
define ACPID_INSTALL_INIT_SYSTEMD
|
||||
$(INSTALL) -D -m 0644 package/acpid/acpid.service \
|
||||
|
@ -1,77 +0,0 @@
|
||||
From 5b95d256387b45fbe33f7ee7890ae35afdd5c371 Mon Sep 17 00:00:00 2001
|
||||
From: Joe Orton <jorton@apache.org>
|
||||
Date: Fri, 13 Mar 2020 14:34:18 +0000
|
||||
Subject: [PATCH] * server/log.c (ap_log_pid): Use a temporary file, then
|
||||
rename once successfully written; also add error checking. Avoids startup
|
||||
failures if a previous httpd invocation crashed while writing the pidfile.
|
||||
|
||||
Submitted by: Nicolas Carrier <carrier.nicolas0 gmail.com>, jorton
|
||||
Github: closes #100, closes #69
|
||||
PR: 63140
|
||||
|
||||
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1875153 13f79535-47bb-0310-9956-ffa450edef68
|
||||
Signed-off-by: Nicolas Carrier <nicolas.carrier@orolia.com>
|
||||
---
|
||||
server/log.c | 33 ++++++++++++++++++++++++++-------
|
||||
1 file changed, 26 insertions(+), 7 deletions(-)
|
||||
|
||||
diff --git a/server/log.c b/server/log.c
|
||||
index f0bde6e4b8..8d54b4e057 100644
|
||||
--- a/server/log.c
|
||||
+++ b/server/log.c
|
||||
@@ -1598,6 +1598,9 @@ AP_DECLARE(void) ap_log_pid(apr_pool_t *p, const char *filename)
|
||||
pid_t mypid;
|
||||
apr_status_t rv;
|
||||
const char *fname;
|
||||
+ char *temp_fname;
|
||||
+ apr_fileperms_t perms;
|
||||
+ char pidstr[64];
|
||||
|
||||
if (!filename) {
|
||||
return;
|
||||
@@ -1626,19 +1629,35 @@ AP_DECLARE(void) ap_log_pid(apr_pool_t *p, const char *filename)
|
||||
fname);
|
||||
}
|
||||
|
||||
- if ((rv = apr_file_open(&pid_file, fname,
|
||||
- APR_WRITE | APR_CREATE | APR_TRUNCATE,
|
||||
- APR_UREAD | APR_UWRITE | APR_GREAD | APR_WREAD, p))
|
||||
- != APR_SUCCESS) {
|
||||
+ temp_fname = apr_pstrcat(p, fname, ".XXXXXX", NULL);
|
||||
+ rv = apr_file_mktemp(&pid_file, temp_fname,
|
||||
+ APR_FOPEN_WRITE | APR_FOPEN_CREATE | APR_FOPEN_TRUNCATE, p);
|
||||
+ if (rv != APR_SUCCESS) {
|
||||
ap_log_error(APLOG_MARK, APLOG_ERR, rv, NULL, APLOGNO(00099)
|
||||
- "could not create %s", fname);
|
||||
+ "could not create %s", temp_fname);
|
||||
ap_log_error(APLOG_MARK, APLOG_ERR, 0, NULL, APLOGNO(00100)
|
||||
"%s: could not log pid to file %s",
|
||||
ap_server_argv0, fname);
|
||||
exit(1);
|
||||
}
|
||||
- apr_file_printf(pid_file, "%" APR_PID_T_FMT APR_EOL_STR, mypid);
|
||||
- apr_file_close(pid_file);
|
||||
+
|
||||
+ apr_snprintf(pidstr, sizeof pidstr, "%" APR_PID_T_FMT APR_EOL_STR, mypid);
|
||||
+
|
||||
+ perms = APR_UREAD | APR_UWRITE | APR_GREAD | APR_WREAD;
|
||||
+ rv = apr_file_perms_set(temp_fname, perms);
|
||||
+ if (rv == APR_SUCCESS)
|
||||
+ rv = apr_file_write_full(pid_file, pidstr, strlen(pidstr), NULL);
|
||||
+ if (rv == APR_SUCCESS)
|
||||
+ rv = apr_file_close(pid_file);
|
||||
+ if (rv == APR_SUCCESS)
|
||||
+ rv = apr_file_rename(temp_fname, fname, p);
|
||||
+ if (rv != APR_SUCCESS) {
|
||||
+ ap_log_error(APLOG_MARK, APLOG_ERR, rv, NULL, APLOGNO(10231)
|
||||
+ "%s: Failed creating pid file %s",
|
||||
+ ap_server_argv0, temp_fname);
|
||||
+ exit(1);
|
||||
+ }
|
||||
+
|
||||
saved_pid = mypid;
|
||||
}
|
||||
|
||||
--
|
||||
2.25.2
|
||||
|
@ -1,5 +1,5 @@
|
||||
# From http://archive.apache.org/dist/httpd/httpd-2.4.46.tar.bz2.{sha256,sha512}
|
||||
sha256 740eddf6e1c641992b22359cabc66e6325868c3c5e2e3f98faf349b61ecf41ea httpd-2.4.46.tar.bz2
|
||||
sha512 5936784bb662e9d8a4f7fe38b70c043b468114d931cd10ea831bfe74461ea5856b64f88f42c567ab791fc8907640a99884ba4b6a600f86d661781812735b6f13 httpd-2.4.46.tar.bz2
|
||||
sha256 1bc826e7b2e88108c7e4bf43c026636f77a41d849cfb667aa7b5c0b86dbf966c httpd-2.4.48.tar.bz2
|
||||
sha512 6c250626f1e7d10428a92d984fd48ff841effcc8705f7816ab71b681bbd51d0012ad158dcd13763fe7d630311f2de258b27574603140d648be42796ab8326724 httpd-2.4.48.tar.bz2
|
||||
# Locally computed
|
||||
sha256 47b8c2b6c3309282a99d4a3001575c790fead690cc14734628c4667d2bbffc43 LICENSE
|
||||
|
@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
APACHE_VERSION = 2.4.46
|
||||
APACHE_VERSION = 2.4.48
|
||||
APACHE_SOURCE = httpd-$(APACHE_VERSION).tar.bz2
|
||||
APACHE_SITE = http://archive.apache.org/dist/httpd
|
||||
APACHE_LICENSE = Apache-2.0
|
||||
|
@ -8,6 +8,7 @@ APCUPSD_VERSION = 3.14.14
|
||||
APCUPSD_SITE = http://downloads.sourceforge.net/project/apcupsd/apcupsd%20-%20Stable/$(APCUPSD_VERSION)
|
||||
APCUPSD_LICENSE = GPL-2.0
|
||||
APCUPSD_LICENSE_FILES = COPYING
|
||||
APCUPSD_CPE_ID_VENDOR = apcupsd
|
||||
APCUPSD_CONF_OPTS = --disable-test
|
||||
|
||||
ifneq ($(BR2_PACKAGE_APCUPSD_MODBUS_USB)$(BR2_PACKAGE_APCUPSD_USB),)
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -1,50 +0,0 @@
|
||||
From 3fef857a570d1ef2c96401358fe8e239625b48c9 Mon Sep 17 00:00:00 2001
|
||||
From: Peter Seiderer <ps.report@gmx.net>
|
||||
Date: Fri, 10 Apr 2020 18:11:50 +0200
|
||||
Subject: [PATCH] contrib/zip: fix ssize_t typedef mismatch for musl compile
|
||||
|
||||
Musl uses defines __DEFINED_ssize_t to indicate ssize_t
|
||||
availability. So backport this part of upstream commit [1]
|
||||
to fixl musl compile.
|
||||
|
||||
https://github.com/assimp/assimp/commit/f78446b14aff46db2ef27d062a275b6a01fd68b1
|
||||
|
||||
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
|
||||
---
|
||||
contrib/zip/src/zip.h | 13 +++++++++++--
|
||||
1 file changed, 11 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/contrib/zip/src/zip.h b/contrib/zip/src/zip.h
|
||||
index 5f39df50..4672eb3e 100644
|
||||
--- a/contrib/zip/src/zip.h
|
||||
+++ b/contrib/zip/src/zip.h
|
||||
@@ -20,8 +20,9 @@ extern "C" {
|
||||
#endif
|
||||
|
||||
#if !defined(_SSIZE_T_DEFINED) && !defined(_SSIZE_T_DEFINED_) && \
|
||||
- !defined(_SSIZE_T) && !defined(_SSIZE_T_) && !defined(__ssize_t_defined)
|
||||
-#define _SSIZE_T
|
||||
+ !defined(__DEFINED_ssize_t) && !defined(__ssize_t_defined) && \
|
||||
+ !defined(_SSIZE_T) && !defined(_SSIZE_T_)
|
||||
+
|
||||
// 64-bit Windows is the only mainstream platform
|
||||
// where sizeof(long) != sizeof(void*)
|
||||
#ifdef _WIN64
|
||||
@@ -29,6 +30,14 @@ typedef long long ssize_t; /* byte count or error */
|
||||
#else
|
||||
typedef long ssize_t; /* byte count or error */
|
||||
#endif
|
||||
+
|
||||
+#define _SSIZE_T_DEFINED
|
||||
+#define _SSIZE_T_DEFINED_
|
||||
+#define __DEFINED_ssize_t
|
||||
+#define __ssize_t_defined
|
||||
+#define _SSIZE_T
|
||||
+#define _SSIZE_T_
|
||||
+
|
||||
#endif
|
||||
|
||||
#ifndef MAX_PATH
|
||||
--
|
||||
2.26.0
|
||||
|
@ -0,0 +1,243 @@
|
||||
From bb3db0ebaffc6b76de256e597ec1d1e4d2a6663f Mon Sep 17 00:00:00 2001
|
||||
From: kimkulling <kim.kulling@googlemail.com>
|
||||
Date: Mon, 9 Mar 2020 10:51:26 +0100
|
||||
Subject: [PATCH] closes https://github.com/assimp/assimp/issues/2954: upgrade
|
||||
to latest greatest.
|
||||
|
||||
[Retrieved from:
|
||||
https://github.com/assimp/assimp/commit/bb3db0ebaffc6b76de256e597ec1d1e4d2a6663f]
|
||||
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
---
|
||||
contrib/zip/CMakeLists.txt | 8 ++----
|
||||
contrib/zip/README.md | 51 +++++++++++++++++++++++++++++++--
|
||||
contrib/zip/src/zip.c | 17 ++++++++++-
|
||||
contrib/zip/src/zip.h | 13 ++++++++-
|
||||
contrib/zip/test/CMakeLists.txt | 5 ----
|
||||
contrib/zip/test/test.c | 4 ++-
|
||||
6 files changed, 81 insertions(+), 17 deletions(-)
|
||||
|
||||
diff --git a/contrib/zip/CMakeLists.txt b/contrib/zip/CMakeLists.txt
|
||||
index 77916d2e14..f194649ede 100644
|
||||
--- a/contrib/zip/CMakeLists.txt
|
||||
+++ b/contrib/zip/CMakeLists.txt
|
||||
@@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.0)
|
||||
|
||||
project(zip
|
||||
LANGUAGES C
|
||||
- VERSION "0.1.15")
|
||||
+ VERSION "0.1.18")
|
||||
set(CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake" ${CMAKE_MODULE_PATH})
|
||||
|
||||
option(CMAKE_DISABLE_TESTING "Disable test creation" OFF)
|
||||
@@ -16,10 +16,6 @@ elseif ("${CMAKE_C_COMPILER_ID}" STREQUAL "GNU" OR
|
||||
"${CMAKE_C_COMPILER_ID}" STREQUAL "Clang" OR
|
||||
"${CMAKE_C_COMPILER_ID}" STREQUAL "AppleClang")
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99 -Wall -Wextra -Werror -pedantic")
|
||||
- if(ENABLE_COVERAGE)
|
||||
- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -g -O0 -fprofile-arcs -ftest-coverage")
|
||||
- set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} --coverage")
|
||||
- endif()
|
||||
endif (MSVC)
|
||||
|
||||
# zip
|
||||
@@ -35,7 +31,7 @@ if (NOT CMAKE_DISABLE_TESTING)
|
||||
enable_testing()
|
||||
add_subdirectory(test)
|
||||
find_package(Sanitizers)
|
||||
- add_sanitizers(${PROJECT_NAME} ${test_out} ${test_miniz_out})
|
||||
+ add_sanitizers(${PROJECT_NAME} ${test_out})
|
||||
endif()
|
||||
|
||||
####
|
||||
diff --git a/contrib/zip/README.md b/contrib/zip/README.md
|
||||
index 14eb9a34c8..bdd0822b67 100644
|
||||
--- a/contrib/zip/README.md
|
||||
+++ b/contrib/zip/README.md
|
||||
@@ -1,10 +1,8 @@
|
||||
### A portable (OSX/Linux/Windows), simple zip library written in C
|
||||
This is done by hacking awesome [miniz](https://code.google.com/p/miniz) library and layering functions on top of the miniz v1.15 API.
|
||||
|
||||
-[](https://ci.appveyor.com/project/kuba--/zip)
|
||||
-[](https://travis-ci.org/kuba--/zip)
|
||||
+[](https://github.com/kuba--/zip/actions?query=workflow%3Abuild)
|
||||
[](https://github.com/kuba--/zip/releases)
|
||||
-[](https://codecov.io/gh/kuba--/zip)
|
||||
|
||||
|
||||
# The Idea
|
||||
@@ -213,6 +211,53 @@ func main() {
|
||||
}
|
||||
```
|
||||
|
||||
+### Rust (ffi)
|
||||
+```rust
|
||||
+extern crate libc;
|
||||
+use std::ffi::CString;
|
||||
+
|
||||
+#[repr(C)]
|
||||
+pub struct Zip {
|
||||
+ _private: [u8; 0],
|
||||
+}
|
||||
+
|
||||
+#[link(name = "zip")]
|
||||
+extern "C" {
|
||||
+ fn zip_open(path: *const libc::c_char, level: libc::c_int, mode: libc::c_char) -> *mut Zip;
|
||||
+ fn zip_close(zip: *mut Zip) -> libc::c_void;
|
||||
+
|
||||
+ fn zip_entry_open(zip: *mut Zip, entryname: *const libc::c_char) -> libc::c_int;
|
||||
+ fn zip_entry_close(zip: *mut Zip) -> libc::c_int;
|
||||
+ fn zip_entry_write(
|
||||
+ zip: *mut Zip,
|
||||
+ buf: *const libc::c_void,
|
||||
+ bufsize: libc::size_t,
|
||||
+ ) -> libc::c_int;
|
||||
+}
|
||||
+
|
||||
+fn main() {
|
||||
+ let path = CString::new("/tmp/test.zip").unwrap();
|
||||
+ let mode: libc::c_char = 'w' as libc::c_char;
|
||||
+
|
||||
+ let entryname = CString::new("test.txt").unwrap();
|
||||
+ let content = "test content\0";
|
||||
+
|
||||
+ unsafe {
|
||||
+ let zip: *mut Zip = zip_open(path.as_ptr(), 5, mode);
|
||||
+ {
|
||||
+ zip_entry_open(zip, entryname.as_ptr());
|
||||
+ {
|
||||
+ let buf = content.as_ptr() as *const libc::c_void;
|
||||
+ let bufsize = content.len() as libc::size_t;
|
||||
+ zip_entry_write(zip, buf, bufsize);
|
||||
+ }
|
||||
+ zip_entry_close(zip);
|
||||
+ }
|
||||
+ zip_close(zip);
|
||||
+ }
|
||||
+}
|
||||
+```
|
||||
+
|
||||
### Ruby (ffi)
|
||||
Install _ffi_ gem.
|
||||
```shell
|
||||
diff --git a/contrib/zip/src/zip.c b/contrib/zip/src/zip.c
|
||||
index 1abcfd8fd1..3b2821e6a3 100644
|
||||
--- a/contrib/zip/src/zip.c
|
||||
+++ b/contrib/zip/src/zip.c
|
||||
@@ -222,6 +222,20 @@ void zip_close(struct zip_t *zip) {
|
||||
}
|
||||
}
|
||||
|
||||
+int zip_is64(struct zip_t *zip) {
|
||||
+ if (!zip) {
|
||||
+ // zip_t handler is not initialized
|
||||
+ return -1;
|
||||
+ }
|
||||
+
|
||||
+ if (!zip->archive.m_pState) {
|
||||
+ // zip state is not initialized
|
||||
+ return -1;
|
||||
+ }
|
||||
+
|
||||
+ return (int)zip->archive.m_pState->m_zip64;
|
||||
+}
|
||||
+
|
||||
int zip_entry_open(struct zip_t *zip, const char *entryname) {
|
||||
size_t entrylen = 0;
|
||||
mz_zip_archive *pzip = NULL;
|
||||
@@ -794,7 +808,8 @@ int zip_create(const char *zipname, const char *filenames[], size_t len) {
|
||||
|
||||
if (MZ_FILE_STAT(name, &file_stat) != 0) {
|
||||
// problem getting information - check errno
|
||||
- return -1;
|
||||
+ status = -1;
|
||||
+ break;
|
||||
}
|
||||
|
||||
if ((file_stat.st_mode & 0200) == 0) {
|
||||
diff --git a/contrib/zip/src/zip.h b/contrib/zip/src/zip.h
|
||||
index a48d64d6de..cd3ab5cd00 100644
|
||||
--- a/contrib/zip/src/zip.h
|
||||
+++ b/contrib/zip/src/zip.h
|
||||
@@ -21,7 +21,7 @@ extern "C" {
|
||||
|
||||
#if !defined(_SSIZE_T_DEFINED) && !defined(_SSIZE_T_DEFINED_) && \
|
||||
!defined(__DEFINED_ssize_t) && !defined(__ssize_t_defined) && \
|
||||
- !defined(_SSIZE_T) && !defined(_SSIZE_T_)
|
||||
+ !defined(_SSIZE_T) && !defined(_SSIZE_T_) && !defined(_SSIZE_T_DECLARED)
|
||||
|
||||
// 64-bit Windows is the only mainstream platform
|
||||
// where sizeof(long) != sizeof(void*)
|
||||
@@ -37,6 +37,7 @@ typedef long ssize_t; /* byte count or error */
|
||||
#define __ssize_t_defined
|
||||
#define _SSIZE_T
|
||||
#define _SSIZE_T_
|
||||
+#define _SSIZE_T_DECLARED
|
||||
|
||||
#endif
|
||||
|
||||
@@ -90,6 +91,16 @@ extern struct zip_t *zip_open(const char *zipname, int level, char mode);
|
||||
*/
|
||||
extern void zip_close(struct zip_t *zip);
|
||||
|
||||
+/**
|
||||
+ * Determines if the archive has a zip64 end of central directory headers.
|
||||
+ *
|
||||
+ * @param zip zip archive handler.
|
||||
+ *
|
||||
+ * @return the return code - 1 (true), 0 (false), negative number (< 0) on
|
||||
+ * error.
|
||||
+ */
|
||||
+extern int zip_is64(struct zip_t *zip);
|
||||
+
|
||||
/**
|
||||
* Opens an entry by name in the zip archive.
|
||||
*
|
||||
diff --git a/contrib/zip/test/CMakeLists.txt b/contrib/zip/test/CMakeLists.txt
|
||||
index cc060b00fe..1224115858 100644
|
||||
--- a/contrib/zip/test/CMakeLists.txt
|
||||
+++ b/contrib/zip/test/CMakeLists.txt
|
||||
@@ -2,15 +2,10 @@ cmake_minimum_required(VERSION 2.8)
|
||||
|
||||
# test
|
||||
set(test_out test.out)
|
||||
-set(test_miniz_out test_miniz.out)
|
||||
|
||||
add_executable(${test_out} test.c)
|
||||
target_link_libraries(${test_out} zip)
|
||||
-add_executable(${test_miniz_out} test_miniz.c)
|
||||
-target_link_libraries(${test_miniz_out} zip)
|
||||
|
||||
add_test(NAME ${test_out} COMMAND ${test_out})
|
||||
-add_test(NAME ${test_miniz_out} COMMAND ${test_miniz_out})
|
||||
|
||||
set(test_out ${test_out} PARENT_SCOPE)
|
||||
-set(test_miniz_out ${test_miniz_out} PARENT_SCOPE)
|
||||
diff --git a/contrib/zip/test/test.c b/contrib/zip/test/test.c
|
||||
index a9b2ddab1e..9cc2248ac0 100644
|
||||
--- a/contrib/zip/test/test.c
|
||||
+++ b/contrib/zip/test/test.c
|
||||
@@ -47,7 +47,7 @@ static void test_write(void) {
|
||||
assert(CRC32DATA1 == zip_entry_crc32(zip));
|
||||
++total_entries;
|
||||
assert(0 == zip_entry_close(zip));
|
||||
-
|
||||
+ assert(0 == zip_is64(zip));
|
||||
zip_close(zip);
|
||||
}
|
||||
|
||||
@@ -92,6 +92,7 @@ static void test_read(void) {
|
||||
size_t buftmp;
|
||||
struct zip_t *zip = zip_open(ZIPNAME, 0, 'r');
|
||||
assert(zip != NULL);
|
||||
+ assert(0 == zip_is64(zip));
|
||||
|
||||
assert(0 == zip_entry_open(zip, "test\\test-1.txt"));
|
||||
assert(strlen(TESTDATA1) == zip_entry_size(zip));
|
||||
@@ -310,6 +311,7 @@ static void test_fwrite(void) {
|
||||
assert(0 == zip_entry_open(zip, WFILE));
|
||||
assert(0 == zip_entry_fwrite(zip, WFILE));
|
||||
assert(0 == zip_entry_close(zip));
|
||||
+ assert(0 == zip_is64(zip));
|
||||
|
||||
zip_close(zip);
|
||||
remove(WFILE);
|
@ -1,31 +0,0 @@
|
||||
From 2b8684aded0c383be64bac0fa59e39870252963f Mon Sep 17 00:00:00 2001
|
||||
From: Peter Seiderer <ps.report@gmx.net>
|
||||
Date: Sun, 12 Apr 2020 18:19:13 +0200
|
||||
Subject: [PATCH] contrib/zlib: disable dynamic library building
|
||||
|
||||
Fixes compile failure for static only toolchains (and assimp
|
||||
links against the static one).
|
||||
|
||||
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
|
||||
---
|
||||
contrib/zlib/CMakeLists.txt | 3 ---
|
||||
1 file changed, 3 deletions(-)
|
||||
|
||||
diff --git a/contrib/zlib/CMakeLists.txt b/contrib/zlib/CMakeLists.txt
|
||||
index 9d1fcc94..78346233 100644
|
||||
--- a/contrib/zlib/CMakeLists.txt
|
||||
+++ b/contrib/zlib/CMakeLists.txt
|
||||
@@ -195,10 +195,7 @@ if(MINGW)
|
||||
set(ZLIB_DLL_SRCS ${CMAKE_CURRENT_BINARY_DIR}/zlib1rc.obj)
|
||||
endif(MINGW)
|
||||
|
||||
-add_library(zlib SHARED ${ZLIB_SRCS} ${ZLIB_ASMS} ${ZLIB_DLL_SRCS} ${ZLIB_PUBLIC_HDRS} ${ZLIB_PRIVATE_HDRS})
|
||||
add_library(zlibstatic STATIC ${ZLIB_SRCS} ${ZLIB_ASMS} ${ZLIB_PUBLIC_HDRS} ${ZLIB_PRIVATE_HDRS})
|
||||
-set_target_properties(zlib PROPERTIES DEFINE_SYMBOL ZLIB_DLL)
|
||||
-set_target_properties(zlib PROPERTIES SOVERSION 1)
|
||||
|
||||
INSTALL( TARGETS zlibstatic
|
||||
LIBRARY DESTINATION ${ASSIMP_LIB_INSTALL_DIR}
|
||||
--
|
||||
2.26.0
|
||||
|
@ -2,6 +2,7 @@ config BR2_PACKAGE_ASSIMP
|
||||
bool "assimp"
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_USE_WCHAR
|
||||
depends on BR2_PACKAGE_LIBZLIB
|
||||
help
|
||||
Open Asset Import Library (assimp) is a portable Open Source
|
||||
library to import various well-known 3D model formats in a
|
||||
@ -12,4 +13,8 @@ config BR2_PACKAGE_ASSIMP
|
||||
http://www.assimp.org
|
||||
|
||||
comment "assimp needs a toolchain w/ C++, wchar"
|
||||
depends on BR2_PACKAGE_LIBZLIB
|
||||
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR
|
||||
|
||||
comment "assimp needs libzlib"
|
||||
depends on !BR2_PACKAGE_LIBZLIB
|
||||
|
@ -8,6 +8,7 @@ ASSIMP_VERSION = 5.0.1
|
||||
ASSIMP_SITE = $(call github,assimp,assimp,v$(ASSIMP_VERSION))
|
||||
ASSIMP_LICENSE = BSD-3-Clause
|
||||
ASSIMP_LICENSE_FILES = LICENSE
|
||||
ASSIMP_DEPENDENCIES = zlib
|
||||
ASSIMP_INSTALL_STAGING = YES
|
||||
|
||||
# relocation truncated to fit: R_68K_GOT16O. We also need to disable
|
||||
@ -36,7 +37,7 @@ ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_85180),y)
|
||||
ASSIMP_CXXFLAGS += -O0
|
||||
endif
|
||||
|
||||
ASSIMP_CONF_OPTS += -DASSIMP_BUILD_ZLIB=ON -DASSIMP_BUILD_TESTS=OFF \
|
||||
ASSIMP_CONF_OPTS += -DASSIMP_BUILD_TESTS=OFF \
|
||||
-DCMAKE_CXX_FLAGS="$(TARGET_CXXFLAGS) $(ASSIMP_CXXFLAGS)"
|
||||
|
||||
$(eval $(cmake-package))
|
||||
|
@ -1,5 +1,6 @@
|
||||
config BR2_PACKAGE_AZMQ
|
||||
bool "azmq"
|
||||
depends on !BR2_RISCV_32 # boost-log
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_TOOLCHAIN_HAS_ATOMIC
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # boost-log
|
||||
@ -22,9 +23,11 @@ config BR2_PACKAGE_AZMQ
|
||||
https://github.com/zeromq/azmq
|
||||
|
||||
comment "azmq needs a toolchain w/ C++11, wchar and NPTL"
|
||||
depends on !BR2_RISCV_32
|
||||
depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS
|
||||
depends on !(BR2_INSTALL_LIBSTDCPP && BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 \
|
||||
&& BR2_USE_WCHAR && BR2_TOOLCHAIN_HAS_THREADS_NPTL)
|
||||
|
||||
comment "azmq needs exception_ptr"
|
||||
depends on !BR2_RISCV_32
|
||||
depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735
|
||||
|
@ -8,6 +8,7 @@ BIRD_VERSION = 2.0.7
|
||||
BIRD_SITE = ftp://bird.network.cz/pub/bird
|
||||
BIRD_LICENSE = GPL-2.0+
|
||||
BIRD_LICENSE_FILES = README
|
||||
BIRD_CPE_ID_VENDOR = nic
|
||||
BIRD_DEPENDENCIES = host-flex host-bison
|
||||
|
||||
ifeq ($(BR2_PACKAGE_BIRD_CLIENT),y)
|
||||
|
@ -1,5 +1,5 @@
|
||||
# From https://bitcoincore.org/bin/bitcoin-core-0.21.0/SHA256SUMS.asc
|
||||
sha256 1a91202c62ee49fb64d57a52b8d6d01cd392fffcbef257b573800f9289655f37 bitcoin-0.21.0.tar.gz
|
||||
# From https://bitcoincore.org/bin/bitcoin-core-0.21.1/SHA256SUMS.asc
|
||||
sha256 caff23449220cf45753f312cefede53a9eac64000bb300797916526236b6a1e0 bitcoin-0.21.1.tar.gz
|
||||
|
||||
# Hash for license file
|
||||
sha256 96fe807030b21f88305adc32af62f9aa19915f2783509fd6f52aea02cf83f644 COPYING
|
||||
|
@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
BITCOIN_VERSION = 0.21.0
|
||||
BITCOIN_VERSION = 0.21.1
|
||||
BITCOIN_SITE = https://bitcoincore.org/bin/bitcoin-core-$(BITCOIN_VERSION)
|
||||
BITCOIN_AUTORECONF = YES
|
||||
BITCOIN_LICENSE = MIT
|
||||
|
@ -9,6 +9,7 @@ BLKTRACE_SITE = http://brick.kernel.dk/snaps
|
||||
BLKTRACE_DEPENDENCIES = libaio
|
||||
BLKTRACE_LICENSE = GPL-2.0+
|
||||
BLKTRACE_LICENSE_FILES = COPYING
|
||||
BLKTRACE_CPE_ID_VENDOR = blktrace_project
|
||||
|
||||
# 0001-btt-make-device-devno-use-PATH_MAX-to-avoid-overflow.patch
|
||||
BLKTRACE_IGNORE_CVES += CVE-2018-10689
|
||||
|
@ -231,6 +231,7 @@ comment "boost-locale needs a toolchain not affected by GCC bug 64735"
|
||||
|
||||
config BR2_PACKAGE_BOOST_LOG
|
||||
bool "boost-log"
|
||||
depends on !BR2_RISCV_32
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
|
||||
depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS # boost-atomic
|
||||
depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # boost-thread
|
||||
@ -244,10 +245,12 @@ config BR2_PACKAGE_BOOST_LOG
|
||||
Logging library.
|
||||
|
||||
comment "boost-log needs a toolchain w/ NPTL"
|
||||
depends on !BR2_RISCV_32
|
||||
depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL
|
||||
|
||||
comment "boost-log needs a toolchain not affected by GCC bug 64735"
|
||||
depends on !BR2_RISCV_32
|
||||
depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735
|
||||
|
||||
config BR2_PACKAGE_BOOST_MATH
|
||||
|
@ -0,0 +1,37 @@
|
||||
From e2a05a19e9dc51287e19cc9f11fd91449219e361 Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Sun, 15 Nov 2020 12:10:28 -0800
|
||||
Subject: [PATCH] mutex: Fix build on 32-bit architectures using 64-bit time_t
|
||||
|
||||
mutex code uses SYS_futex, which it expects from system C library.
|
||||
in glibc (/usr/include/bits/syscall.h defines it in terms of of NR_futex)
|
||||
rv32 is using 64bit time_t from get go unlike other 32bit architectures
|
||||
in glibc, therefore it wont have NR_futex defined but just NR_futex_time64
|
||||
this aliases it to NR_futex so that SYS_futex is then defined for rv32
|
||||
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
[Retrieved from:
|
||||
https://github.com/capnproto/capnproto/commit/e2a05a19e9dc51287e19cc9f11fd91449219e361]
|
||||
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
---
|
||||
c++/src/kj/mutex.c++ | 6 ++++++
|
||||
1 file changed, 6 insertions(+)
|
||||
|
||||
diff --git a/c++/src/kj/mutex.c++ b/c++/src/kj/mutex.c++
|
||||
index c81cead7b..e1594b117 100644
|
||||
--- a/c++/src/kj/mutex.c++
|
||||
+++ b/c++/src/kj/mutex.c++
|
||||
@@ -39,7 +39,13 @@
|
||||
|
||||
#ifndef SYS_futex
|
||||
// Missing on Android/Bionic.
|
||||
+#ifdef __NR_futex
|
||||
#define SYS_futex __NR_futex
|
||||
+#elif defined(SYS_futex_time64)
|
||||
+#define SYS_futex SYS_futex_time64
|
||||
+#else
|
||||
+#error "Need working SYS_futex"
|
||||
+#endif
|
||||
#endif
|
||||
|
||||
#ifndef FUTEX_WAIT_PRIVATE
|
@ -8,6 +8,7 @@ CHRONY_VERSION = 4.0
|
||||
CHRONY_SITE = http://download.tuxfamily.org/chrony
|
||||
CHRONY_LICENSE = GPL-2.0
|
||||
CHRONY_LICENSE_FILES = COPYING
|
||||
CHRONY_CPE_ID_VENDOR = tuxfamily
|
||||
CHRONY_DEPENDENCIES = host-pkgconf
|
||||
|
||||
CHRONY_CONF_OPTS = \
|
||||
|
@ -1,4 +1,4 @@
|
||||
# From https://www.kernel.org/pub/linux/network/connman/sha256sums.asc
|
||||
sha256 9f62a7169b7491c670a1ff2e335b0d966308fb2f62e285c781105eb90f181af3 connman-1.39.tar.xz
|
||||
sha256 1a57ae7ce234aa3a1744aac3be5c2121d98dce999440ef8ab9cc4edfd5edcb12 connman-1.40.tar.xz
|
||||
# Locally computed
|
||||
sha256 b499eddebda05a8859e32b820a64577d91f1de2b52efa2a1575a2cb4000bc259 COPYING
|
||||
|
@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
CONNMAN_VERSION = 1.39
|
||||
CONNMAN_VERSION = 1.40
|
||||
CONNMAN_SOURCE = connman-$(CONNMAN_VERSION).tar.xz
|
||||
CONNMAN_SITE = $(BR2_KERNEL_MIRROR)/linux/network/connman
|
||||
CONNMAN_DEPENDENCIES = libglib2 dbus iptables
|
||||
|
@ -1,5 +1,6 @@
|
||||
config BR2_PACKAGE_DC3DD
|
||||
bool "dc3dd"
|
||||
depends on !BR2_RISCV_32
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
depends on !BR2_TOOLCHAIN_USES_MUSL
|
||||
help
|
||||
@ -11,5 +12,6 @@ config BR2_PACKAGE_DC3DD
|
||||
https://sourceforge.net/projects/dc3dd/
|
||||
|
||||
comment "dc3dd needs a glibc or uClibc toolchain w/ threads"
|
||||
depends on !BR2_RISCV_32
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS || \
|
||||
BR2_TOOLCHAIN_USES_MUSL
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Verified from https://ftp.isc.org/isc/dhcp/4.4.2/dhcp-4.4.2.tar.gz.sha256.asc
|
||||
sha256 1a7ccd64a16e5e68f7b5e0f527fd07240a2892ea53fe245620f4f5f607004521 dhcp-4.4.2.tar.gz
|
||||
# Verified from https://ftp.isc.org/isc/dhcp/4.4.2-P1/dhcp-4.4.2-P1.tar.gz.sha256.asc
|
||||
sha256 b05e04337539545a8faa0d6ac518defc61a07e5aec66a857f455e7f218c85a1a dhcp-4.4.2-P1.tar.gz
|
||||
# Locally calculated
|
||||
sha256 89e7b0661134cc118bdcdeb87ff0493d544bc5723c9ca6616fa05f03539738af LICENSE
|
||||
sha256 9961fce0d83a6229b9084cdadedfa723a53274c63af610c9adb61b607e0f5a76 LICENSE
|
||||
|
@ -4,12 +4,12 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
DHCP_VERSION = 4.4.2
|
||||
DHCP_VERSION = 4.4.2-P1
|
||||
DHCP_SITE = http://ftp.isc.org/isc/dhcp/$(DHCP_VERSION)
|
||||
DHCP_INSTALL_STAGING = YES
|
||||
DHCP_LICENSE = MPL-2.0
|
||||
DHCP_LICENSE_FILES = LICENSE
|
||||
DHCP_DEPENDENCIES = bind
|
||||
DHCP_DEPENDENCIES = bind host-gawk
|
||||
DHCP_CPE_ID_VENDOR = isc
|
||||
|
||||
# use libtool-enabled configure.ac
|
||||
@ -22,6 +22,8 @@ DHCP_CONF_ENV = \
|
||||
-D_PATH_DHCLIENT_CONF=\"/etc/dhcp/dhclient.conf\"' \
|
||||
CFLAGS='$(TARGET_CFLAGS) -DISC_CHECK_NONE=1'
|
||||
|
||||
DHCP_CONF_ENV += ac_cv_prog_AWK=$(HOST_DIR)/bin/gawk
|
||||
|
||||
DHCP_CONF_OPTS = \
|
||||
--with-libbind=$(STAGING_DIR)/usr \
|
||||
--with-randomdev=/dev/random \
|
||||
|
@ -1,5 +1,6 @@
|
||||
config BR2_PACKAGE_DIRECTFB
|
||||
bool "directfb"
|
||||
depends on !BR2_RISCV_32
|
||||
depends on !BR2_STATIC_LIBS # static link issues
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
@ -161,6 +162,7 @@ config BR2_PACKAGE_DIRECTFB_TESTS
|
||||
endif # BR2_PACKAGE_DIRECTFB
|
||||
|
||||
comment "directfb needs a glibc or uClibc toolchain w/ C++, NPTL, gcc >= 4.5, dynamic library"
|
||||
depends on !BR2_RISCV_32
|
||||
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || !BR2_INSTALL_LIBSTDCPP || \
|
||||
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_5 || BR2_TOOLCHAIN_USES_MUSL || \
|
||||
|
@ -13,10 +13,12 @@ DMALLOC_LICENSE = MIT-like
|
||||
DMALLOC_LICENSE_FILES = dmalloc.h.1
|
||||
|
||||
DMALLOC_INSTALL_STAGING = YES
|
||||
DMALLOC_CONF_OPTS = --enable-shlib
|
||||
DMALLOC_CFLAGS = $(TARGET_CFLAGS)
|
||||
|
||||
ifeq ($(BR2_STATIC_LIBS),)
|
||||
ifeq ($(BR2_STATIC_LIBS),y)
|
||||
DMALLOC_CONF_OPTS += --disable-shlib
|
||||
else
|
||||
DMALLOC_CONF_OPTS += --enable-shlib
|
||||
DMALLOC_CFLAGS += -fPIC
|
||||
endif
|
||||
|
||||
|
@ -0,0 +1,74 @@
|
||||
From 7b9c2905883df5171fda10a364a81b8c6176c8e2 Mon Sep 17 00:00:00 2001
|
||||
From: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
|
||||
Date: Mon, 26 Apr 2021 15:28:40 +0900
|
||||
Subject: [PATCH] fix port forwarding with ipv6.disable=1
|
||||
|
||||
Make `docker run -p 80:80` functional again on environments with kernel boot parameter `ipv6.disable=1`.
|
||||
|
||||
Fix moby/moby issue 42288
|
||||
|
||||
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
|
||||
[Upstream: https://github.com/moby/libnetwork/pull/2635,
|
||||
https://github.com/moby/moby/pull/42322]
|
||||
[Rework path/drop test for docker-engine]
|
||||
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
|
||||
---
|
||||
vendor/github.com/docker/libnetwork/drivers/bridge/port_mapping.go | 31 +++++++++++++++++++++++++++++++
|
||||
1 file changed, 35 insertions(+), 0 deletion(-)
|
||||
|
||||
diff --git a/vendor/github.com/docker/libnetwork/drivers/bridge/port_mapping.go b/vendor/github.com/docker/libnetwork/drivers/bridge/port_mapping.go
|
||||
index 946130ec..17bf36f9 100644
|
||||
--- a/vendor/github.com/docker/libnetwork/drivers/bridge/port_mapping.go
|
||||
+++ b/vendor/github.com/docker/libnetwork/drivers/bridge/port_mapping.go
|
||||
@@ -5,6 +5,7 @@ import (
|
||||
"errors"
|
||||
"fmt"
|
||||
"net"
|
||||
+ "sync"
|
||||
|
||||
"github.com/docker/libnetwork/types"
|
||||
"github.com/ishidawataru/sctp"
|
||||
@@ -50,6 +51,13 @@ func (n *bridgeNetwork) allocatePortsInternal(bindings []types.PortBinding, cont
|
||||
bs = append(bs, bIPv4)
|
||||
}
|
||||
|
||||
+ // skip adding implicit v6 addr, when the kernel was booted with `ipv6.disable=1`
|
||||
+ // https://github.com/moby/moby/issues/42288
|
||||
+ isV6Binding := c.HostIP != nil && c.HostIP.To4() == nil
|
||||
+ if !isV6Binding && !IsV6Listenable() {
|
||||
+ continue
|
||||
+ }
|
||||
+
|
||||
// Allocate IPv6 Port mappings
|
||||
// If the container has no IPv6 address, allow proxying host IPv6 traffic to it
|
||||
// by setting up the binding with the IPv4 interface if the userland proxy is enabled
|
||||
@@ -211,3 +219,26 @@ func (n *bridgeNetwork) releasePort(bnd types.PortBinding) error {
|
||||
|
||||
return portmapper.Unmap(host)
|
||||
}
|
||||
+
|
||||
+var (
|
||||
+ v6ListenableCached bool
|
||||
+ v6ListenableOnce sync.Once
|
||||
+)
|
||||
+
|
||||
+// IsV6Listenable returns true when `[::1]:0` is listenable.
|
||||
+// IsV6Listenable returns false mostly when the kernel was booted with `ipv6.disable=1` option.
|
||||
+func IsV6Listenable() bool {
|
||||
+ v6ListenableOnce.Do(func() {
|
||||
+ ln, err := net.Listen("tcp6", "[::1]:0")
|
||||
+ if err != nil {
|
||||
+ // When the kernel was booted with `ipv6.disable=1`,
|
||||
+ // we get err "listen tcp6 [::1]:0: socket: address family not supported by protocol"
|
||||
+ // https://github.com/moby/moby/issues/42288
|
||||
+ logrus.Debugf("port_mapping: v6Listenable=false (%v)", err)
|
||||
+ } else {
|
||||
+ v6ListenableCached = true
|
||||
+ ln.Close()
|
||||
+ }
|
||||
+ })
|
||||
+ return v6ListenableCached
|
||||
+}
|
||||
--
|
||||
2.20.1
|
||||
|
@ -34,9 +34,7 @@ config BR2_PACKAGE_DOCKER_ENGINE_DRIVER_DEVICEMAPPER
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # lvm2
|
||||
depends on BR2_USE_MMU # lvm2
|
||||
depends on !BR2_STATIC_LIBS # lvm2
|
||||
depends on !BR2_TOOLCHAIN_USES_MUSL # lvm2
|
||||
select BR2_PACKAGE_LVM2
|
||||
select BR2_PACKAGE_LVM2_APP_LIBRARY
|
||||
help
|
||||
Build the devicemapper filesystem driver for Docker.
|
||||
|
||||
|
@ -0,0 +1,105 @@
|
||||
From 7297a8ef3cab3b0faf1426622ee902a2144e2e89 Mon Sep 17 00:00:00 2001
|
||||
From: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
|
||||
Date: Wed, 24 Mar 2021 11:27:14 +0100
|
||||
Subject: [PATCH] ebtables.h: restore KERNEL_64_USERSPACE_32 checks
|
||||
|
||||
Commit e6359eedfbf497e52d52451072aea4713ed80a88 replaced the file ebtables.h
|
||||
but removed the usage of KERNEL_64_USERSPACE_32. This breaks boards where
|
||||
such flag is relevant, with following messages:
|
||||
|
||||
[ 6364.971346] kernel msg: ebtables bug: please report to author: Standard target size too big
|
||||
|
||||
Unable to update the kernel. Two possible causes:
|
||||
1. Multiple ebtables programs were executing simultaneously. The ebtables
|
||||
userspace tool doesn't by default support multiple ebtables programs running
|
||||
concurrently. The ebtables option --concurrent or a tool like flock can be
|
||||
used to support concurrent scripts that update the ebtables kernel tables.
|
||||
2. The kernel doesn't support a certain ebtables extension, consider
|
||||
recompiling your kernel or insmod the extension.
|
||||
|
||||
Analysis shows that the structure 'ebt_replace' passed from userspace
|
||||
ebtables to the kernel, is too small, i.e 80 bytes instead of 120 in case of
|
||||
64-bit kernel.
|
||||
|
||||
Note that the ebtables build system seems to assume that 'sparc64' is the
|
||||
only case where KERNEL_64_USERSPACE_32 is relevant, but this is not true.
|
||||
This situation can happen on many architectures, especially in embedded
|
||||
systems. For example, an Aarch64 processor with kernel in 64-bit but
|
||||
userland build for 32-bit Arm. Or a 64-bit MIPS Octeon III processor, with
|
||||
userland running in the 'n32' ABI.
|
||||
|
||||
Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
|
||||
Upstream-Status: http://patchwork.ozlabs.org/project/netfilter-devel/patch/20210518181730.13436-1-patrickdepinguin@gmail.com/
|
||||
---
|
||||
include/linux/netfilter_bridge/ebtables.h | 21 +++++++++++++++++++++
|
||||
1 file changed, 21 insertions(+)
|
||||
|
||||
diff --git a/include/linux/netfilter_bridge/ebtables.h b/include/linux/netfilter_bridge/ebtables.h
|
||||
index 5be75f2..3c2b61e 100644
|
||||
--- a/include/linux/netfilter_bridge/ebtables.h
|
||||
+++ b/include/linux/netfilter_bridge/ebtables.h
|
||||
@@ -49,12 +49,21 @@ struct ebt_replace {
|
||||
/* total size of the entries */
|
||||
unsigned int entries_size;
|
||||
/* start of the chains */
|
||||
+#ifdef KERNEL_64_USERSPACE_32
|
||||
+ uint64_t hook_entry[NF_BR_NUMHOOKS];
|
||||
+#else
|
||||
struct ebt_entries *hook_entry[NF_BR_NUMHOOKS];
|
||||
+#endif
|
||||
/* nr of counters userspace expects back */
|
||||
unsigned int num_counters;
|
||||
/* where the kernel will put the old counters */
|
||||
+#ifdef KERNEL_64_USERSPACE_32
|
||||
+ uint64_t counters;
|
||||
+ uint64_t entries;
|
||||
+#else
|
||||
struct ebt_counter *counters;
|
||||
char *entries;
|
||||
+#endif
|
||||
};
|
||||
|
||||
struct ebt_replace_kernel {
|
||||
@@ -129,6 +138,9 @@ struct ebt_entry_match {
|
||||
} u;
|
||||
/* size of data */
|
||||
unsigned int match_size;
|
||||
+#ifdef KERNEL_64_USERSPACE_32
|
||||
+ unsigned int pad;
|
||||
+#endif
|
||||
unsigned char data[0] __attribute__ ((aligned (__alignof__(struct ebt_replace))));
|
||||
};
|
||||
|
||||
@@ -142,6 +154,9 @@ struct ebt_entry_watcher {
|
||||
} u;
|
||||
/* size of data */
|
||||
unsigned int watcher_size;
|
||||
+#ifdef KERNEL_64_USERSPACE_32
|
||||
+ unsigned int pad;
|
||||
+#endif
|
||||
unsigned char data[0] __attribute__ ((aligned (__alignof__(struct ebt_replace))));
|
||||
};
|
||||
|
||||
@@ -155,6 +170,9 @@ struct ebt_entry_target {
|
||||
} u;
|
||||
/* size of data */
|
||||
unsigned int target_size;
|
||||
+#ifdef KERNEL_64_USERSPACE_32
|
||||
+ unsigned int pad;
|
||||
+#endif
|
||||
unsigned char data[0] __attribute__ ((aligned (__alignof__(struct ebt_replace))));
|
||||
};
|
||||
|
||||
@@ -162,6 +180,9 @@ struct ebt_entry_target {
|
||||
struct ebt_standard_target {
|
||||
struct ebt_entry_target target;
|
||||
int verdict;
|
||||
+#ifdef KERNEL_64_USERSPACE_32
|
||||
+ unsigned int pad;
|
||||
+#endif
|
||||
};
|
||||
|
||||
/* one entry */
|
||||
--
|
||||
2.26.2
|
||||
|
@ -0,0 +1,51 @@
|
||||
From ebf0236270b977a62c522bc32810bc9f8edc72d1 Mon Sep 17 00:00:00 2001
|
||||
From: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
|
||||
Date: Wed, 24 Mar 2021 13:40:14 +0100
|
||||
Subject: [PATCH] configure.ac: add option --enable-kernel-64-userland-32
|
||||
|
||||
The ebtables build system seems to assume that 'sparc64' is the
|
||||
only case where KERNEL_64_USERSPACE_32 is relevant, but this is not true.
|
||||
This situation can happen on many architectures, especially in embedded
|
||||
systems. For example, an Aarch64 processor with kernel in 64-bit but
|
||||
userland build for 32-bit Arm. Or a 64-bit MIPS Octeon III processor, with
|
||||
userland running in the 'n32' ABI.
|
||||
|
||||
While it is possible to set CFLAGS in the environment when calling the
|
||||
configure script, the caller would need to know to not only specify
|
||||
KERNEL_64_USERSPACE_32 but also the EBT_MIN_ALIGN value.
|
||||
|
||||
Instead, add a configure option. All internal details can then be handled by
|
||||
the configure script.
|
||||
|
||||
Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
|
||||
Upstream-Status: http://patchwork.ozlabs.org/project/netfilter-devel/patch/20210518181730.13436-2-patrickdepinguin@gmail.com/
|
||||
---
|
||||
configure.ac | 9 ++++++++-
|
||||
1 file changed, 8 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index c24ede3..3e89c0c 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -15,10 +15,17 @@ AS_IF([test "x$LOCKFILE" = x], [LOCKFILE="/var/lib/ebtables/lock"])
|
||||
|
||||
regular_CFLAGS="-Wall -Wunused"
|
||||
regular_CPPFLAGS=""
|
||||
+
|
||||
case "$host" in
|
||||
sparc64-*)
|
||||
- regular_CPPFLAGS="$regular_CPPFLAGS -DEBT_MIN_ALIGN=8 -DKERNEL_64_USERSPACE_32";;
|
||||
+ enable_kernel_64_userland_32=yes ;;
|
||||
esac
|
||||
+AC_ARG_ENABLE([kernel-64-userland-32],
|
||||
+ AC_HELP_STRING([--enable-kernel-64-userland-32], [indicate that ebtables will be built as a 32-bit application but run under a 64-bit kernel])
|
||||
+)
|
||||
+AS_IF([test "x$enable_kernel_64_userland_32" = xyes],
|
||||
+ [regular_CPPFLAGS="$regular_CPPFLAGS -DEBT_MIN_ALIGN=8 -DKERNEL_64_USERSPACE_32"]
|
||||
+)
|
||||
|
||||
AC_SUBST([regular_CFLAGS])
|
||||
AC_SUBST([regular_CPPFLAGS])
|
||||
--
|
||||
2.26.2
|
||||
|
@ -11,6 +11,12 @@ EBTABLES_LICENSE_FILES = COPYING
|
||||
EBTABLES_CPE_ID_VENDOR = netfilter
|
||||
EBTABLES_SELINUX_MODULES = iptables
|
||||
|
||||
# for 0003-configure.ac-add-option-enable-kernel-64-userland-32.patch
|
||||
EBTABLES_AUTORECONF = YES
|
||||
ifeq ($(BR2_KERNEL_64_USERLAND_32),y)
|
||||
EBTABLES_CONF_OPTS += --enable-kernel-64-userland-32
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_EBTABLES_UTILS_SAVE),y)
|
||||
define EBTABLES_INSTALL_TARGET_UTILS_SAVE
|
||||
$(INSTALL) -m 0755 -D $(@D)/ebtables-save.sh $(TARGET_DIR)/usr/sbin/ebtables-legacy-save
|
||||
|
@ -15,7 +15,7 @@ config BR2_PACKAGE_EFIBOOTMGR
|
||||
|
||||
https://github.com/rhboot/efibootmgr
|
||||
|
||||
comment "efibootmgr needs a glibc or uClibc toolchain w/ dynamic library, headers >= 3.12, gcc >= 4.9"
|
||||
comment "efibootmgr needs a toolchain w/ dynamic library, headers >= 3.12, gcc >= 4.9"
|
||||
depends on BR2_PACKAGE_EFIVAR_ARCH_SUPPORTS
|
||||
depends on BR2_STATIC_LIBS || \
|
||||
!BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12 || \
|
||||
|
@ -258,6 +258,7 @@ config BR2_PACKAGE_EFL_WEBP
|
||||
|
||||
config BR2_PACKAGE_EFL_LIBRAW
|
||||
bool "libraw loader"
|
||||
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libraw
|
||||
select BR2_PACKAGE_LIBRAW
|
||||
help
|
||||
This option enables the Evas generic Libraw loader
|
||||
|
@ -10,6 +10,7 @@ ENLIGHTENMENT_SITE = http://download.enlightenment.org/rel/apps/enlightenment
|
||||
ENLIGHTENMENT_LICENSE = BSD-2-Clause, OFL-1.1 (font)
|
||||
ENLIGHTENMENT_LICENSE_FILES = COPYING \
|
||||
src/modules/wl_weekeyboard/themes/default/fonts/LICENSE.txt
|
||||
ENLIGHTENMENT_CPE_ID_VENDOR = enlightenment
|
||||
|
||||
ENLIGHTENMENT_DEPENDENCIES = \
|
||||
host-pkgconf \
|
||||
|
@ -8,6 +8,7 @@ ENSCRIPT_VERSION = 1.6.6
|
||||
ENSCRIPT_SITE = $(BR2_GNU_MIRROR)/enscript
|
||||
ENSCRIPT_LICENSE = GPL-3.0+
|
||||
ENSCRIPT_LICENSE_FILES = COPYING
|
||||
ENSCRIPT_CPE_ID_VENDOR = gnu
|
||||
|
||||
# Enable pthread threads if toolchain supports threads
|
||||
ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y)
|
||||
|
@ -26,8 +26,8 @@ define HOST_ENVIRONMENT_SETUP_INSTALL_CMDS
|
||||
printf "alias cmake=\"cmake \
|
||||
-DCMAKE_TOOLCHAIN_FILE=$(HOST_DIR)/share/buildroot/toolchainfile.cmake \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr\"\n" >> $(ENVIRONMENT_SETUP_FILE)
|
||||
$(SED) 's%$(HOST_DIR)%\$$SDK_PATH%g' \
|
||||
-e 's%$(HOST_DIR)/bin/%%g' \
|
||||
$(SED) 's%$(HOST_DIR)/bin/%%g' \
|
||||
-e 's%$(HOST_DIR)%\$$SDK_PATH%g' \
|
||||
-e '/^export "PATH=/c\' \
|
||||
$(ENVIRONMENT_SETUP_FILE)
|
||||
printf "export \"PATH=\$$SDK_PATH/bin:\$$SDK_PATH/sbin:\$$PATH\"\n" \
|
||||
|
@ -13,5 +13,6 @@ EXEMPI_DEPENDENCIES = host-pkgconf expat zlib \
|
||||
$(if $(BR2_PACKAGE_LIBICONV),libiconv)
|
||||
EXEMPI_LICENSE = BSD-3-Clause
|
||||
EXEMPI_LICENSE_FILES = COPYING
|
||||
EXEMPI_CPE_ID_VENDOR = exempi_project
|
||||
|
||||
$(eval $(autotools-package))
|
||||
|
@ -1,7 +1,7 @@
|
||||
# From https://sourceforge.net/projects/expat/files/expat/2.2.10/
|
||||
md5 e0fe49a6b3480827c9455e4cfc799133 expat-2.2.10.tar.xz
|
||||
sha1 a333b95121a718a77ee481dbade5efcd72a32eb8 expat-2.2.10.tar.xz
|
||||
# From https://sourceforge.net/projects/expat/files/expat/2.4.1/
|
||||
md5 a4fb91a9441bcaec576d4c4a56fa3aa6 expat-2.4.1.tar.xz
|
||||
sha1 7988e4df355162500f09837aa95cbb48e6754420 expat-2.4.1.tar.xz
|
||||
|
||||
# Locally calculated
|
||||
sha256 5dfe538f8b5b63f03e98edac520d7d9a6a4d22e482e5c96d4d06fcc5485c25f2 expat-2.2.10.tar.xz
|
||||
sha256 cf032d0dba9b928636548e32b327a2d66b1aab63c4f4a13dd132c2d1d2f2fb6a expat-2.4.1.tar.xz
|
||||
sha256 8c6b5b6de8fae20b317f4992729abc0e520bfba4c7606cd1e9eeb87418eebdec COPYING
|
||||
|
@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
EXPAT_VERSION = 2.2.10
|
||||
EXPAT_VERSION = 2.4.1
|
||||
EXPAT_SITE = http://downloads.sourceforge.net/project/expat/expat/$(EXPAT_VERSION)
|
||||
EXPAT_SOURCE = expat-$(EXPAT_VERSION).tar.xz
|
||||
EXPAT_INSTALL_STAGING = YES
|
||||
|
@ -9,6 +9,7 @@ FINDUTILS_SOURCE = findutils-$(FINDUTILS_VERSION).tar.xz
|
||||
FINDUTILS_SITE = $(BR2_GNU_MIRROR)/findutils
|
||||
FINDUTILS_LICENSE = GPL-3.0+
|
||||
FINDUTILS_LICENSE_FILES = COPYING
|
||||
FINDUTILS_CPE_ID_VENDOR = gnu
|
||||
FINDUTILS_CONF_ENV = \
|
||||
gl_cv_func_stdin=yes \
|
||||
ac_cv_func_working_mktime=yes \
|
||||
|
@ -10,6 +10,8 @@ FLATCC_LICENSE = Apache-2.0
|
||||
FLATCC_LICENSE_FILES = LICENSE
|
||||
FLATCC_INSTALL_STAGING = YES
|
||||
FLATCC_DEPENDENCIES = host-flatcc
|
||||
FLATCC_CONF_OPTS = -DFLATCC_ALLOW_WERROR=OFF
|
||||
HOST_FLATCC_CONF_OPTS = -DFLATCC_ALLOW_WERROR=OFF
|
||||
|
||||
# Disable build of tests and samples
|
||||
FLATCC_CONF_OPTS += -DFLATCC_TEST=OFF
|
||||
|
@ -8,6 +8,7 @@ FLUIDSYNTH_VERSION = 2.1.5
|
||||
FLUIDSYNTH_SITE = $(call github,FluidSynth,fluidsynth,v$(FLUIDSYNTH_VERSION))
|
||||
FLUIDSYNTH_LICENSE = LGPL-2.1+
|
||||
FLUIDSYNTH_LICENSE_FILES = LICENSE
|
||||
FLUIDSYNTH_CPE_ID_VENDOR = fluidsynth
|
||||
FLUIDSYNTH_INSTALL_STAGING = YES
|
||||
FLUIDSYNTH_DEPENDENCIES = libglib2
|
||||
|
||||
|
@ -83,11 +83,16 @@ config BR2_PACKAGE_PROVIDES_LIBOPENVG
|
||||
|
||||
config BR2_PACKAGE_IMX_GPU_VIV_EXAMPLES
|
||||
bool "install examples"
|
||||
# example binaries are linked against libstdc++.so.6
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
help
|
||||
Copy the Vivante examples to the target.
|
||||
|
||||
Warning: examples take approximately 150 MB of disk space.
|
||||
|
||||
comment "imx-gpu-viv-examples need a toolchain w/ C++ support"
|
||||
depends on !BR2_INSTALL_LIBSTDCPP
|
||||
|
||||
config BR2_PACKAGE_IMX_GPU_VIV_GMEM_INFO
|
||||
bool "install gmem_info tool"
|
||||
help
|
||||
|
@ -8,6 +8,8 @@ FRR_VERSION = 7.5.1
|
||||
FRR_SITE = $(call github,FRRouting,frr,frr-$(FRR_VERSION))
|
||||
FRR_LICENSE = GPL-2.0
|
||||
FRR_LICENSE_FILES = COPYING
|
||||
FRR_CPE_ID_VENDOR = linuxfoundation
|
||||
FRR_CPE_ID_PRODUCT = free_range_routing
|
||||
FRR_AUTORECONF = YES
|
||||
|
||||
FRR_DEPENDENCIES = host-frr readline json-c \
|
||||
|
@ -0,0 +1,41 @@
|
||||
From 808601f075fe3dd8ca101e31c9121a4e87f0bfc7 Mon Sep 17 00:00:00 2001
|
||||
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
Date: Thu, 6 May 2021 07:45:00 +0200
|
||||
Subject: [PATCH] gdb/configure.tgt: build gdbserver with m68k and
|
||||
uclibc
|
||||
|
||||
Allow to build gdbserver with m68k and uclibc:
|
||||
|
||||
checking whether gdbserver is supported on this host... no
|
||||
configure: error: Automatic gdbserver build is not supported for this configuration
|
||||
|
||||
Fixes:
|
||||
- http://autobuild.buildroot.org/results/f4d6d9d8418c0da48a3db4ad5a82e19bd16eae34
|
||||
|
||||
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
---
|
||||
gdb/configure.tgt | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/gdb/configure.tgt b/gdb/configure.tgt
|
||||
index caa42be1c01..8666bc5d0bf 100644
|
||||
--- a/gdb/configure.tgt
|
||||
+++ b/gdb/configure.tgt
|
||||
@@ -372,12 +372,12 @@ m68hc11*-*-*|m6811*-*-*)
|
||||
gdb_sim=../sim/m68hc11/libsim.a
|
||||
;;
|
||||
|
||||
-m68*-*-aout* | m68*-*-coff* | m68*-*-elf* | m68*-*-rtems* | m68*-*-uclinux* | \
|
||||
+m68*-*-aout* | m68*-*-coff* | m68*-*-elf* | m68*-*-rtems* | \
|
||||
fido-*-elf*)
|
||||
# Target: Motorola m68k embedded
|
||||
gdb_target_obs="m68k-tdep.o"
|
||||
;;
|
||||
-m68*-*-linux*)
|
||||
+m68*-*-*linux*)
|
||||
# Target: Motorola m68k with a.out and ELF
|
||||
gdb_target_obs="m68k-tdep.o m68k-linux-tdep.o solib-svr4.o \
|
||||
linux-tdep.o glibc-tdep.o symfile-mem.o"
|
||||
--
|
||||
2.30.2
|
||||
|
@ -1,3 +1,3 @@
|
||||
# From https://golang.org/dl/
|
||||
sha256 1c6911937df4a277fa74e7b7efc3d08594498c4c4adc0b6c4ae3566137528091 go1.15.12.src.tar.gz
|
||||
sha256 99069e7223479cce4553f84f874b9345f6f4045f27cf5089489b546da619a244 go1.15.13.src.tar.gz
|
||||
sha256 2d36597f7117c38b006835ae7f537487207d8ec407aa9d9980794b2030cbc067 LICENSE
|
||||
|
@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
GO_VERSION = 1.15.12
|
||||
GO_VERSION = 1.15.13
|
||||
GO_SITE = https://storage.googleapis.com/golang
|
||||
GO_SOURCE = go$(GO_VERSION).src.tar.gz
|
||||
|
||||
|
@ -29,7 +29,7 @@ index 1b18cf2..4ebfde1 100644
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
#include <sstream>
|
||||
-#ifdef __APPLE__
|
||||
-#if defined (__APPLE__) || (__FreeBSD__)
|
||||
#include <ncurses.h>
|
||||
-#else
|
||||
-#include <ncursesw/ncurses.h>
|
||||
|
@ -1,6 +1,5 @@
|
||||
# From http://sourceforge.net/projects/gptfdisk/files/gptfdisk/1.0.5/
|
||||
md5 58dac67c85e46ca87b587231549aefe6 gptfdisk-1.0.5.tar.gz
|
||||
sha1 b642aa628cbc9fa63e9a73dad5acc588042527ac gptfdisk-1.0.5.tar.gz
|
||||
# From http://sourceforge.net/projects/gptfdisk/files/gptfdisk/1.0.7/
|
||||
sha1 406ab2596e1911c916dce677ce7e903076d94c6d gptfdisk-1.0.7.tar.gz
|
||||
# Locally computed
|
||||
sha256 0e7d3987cd0488ecaf4b48761bc97f40b1dc089e5ff53c4b37abe30bc67dcb2f gptfdisk-1.0.5.tar.gz
|
||||
sha256 754004b7f85b279287c7ac3c0469b1d7e0eae043a97a2e587b0560ca5f3828c0 gptfdisk-1.0.7.tar.gz
|
||||
sha256 231f7edcc7352d7734a96eef0b8030f77982678c516876fcb81e25b32d68564c COPYING
|
||||
|
@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
GPTFDISK_VERSION = 1.0.5
|
||||
GPTFDISK_VERSION = 1.0.7
|
||||
GPTFDISK_SITE = http://downloads.sourceforge.net/sourceforge/gptfdisk
|
||||
GPTFDISK_LICENSE = GPL-2.0+
|
||||
GPTFDISK_LICENSE_FILES = COPYING
|
||||
|
@ -8,6 +8,7 @@ GRPC_VERSION = 1.35.0
|
||||
GRPC_SITE = $(call github,grpc,grpc,v$(GRPC_VERSION))
|
||||
GRPC_LICENSE = Apache-2.0
|
||||
GRPC_LICENSE_FILES = LICENSE
|
||||
GRPC_CPE_ID_VENDOR = grpc
|
||||
|
||||
GRPC_INSTALL_STAGING = YES
|
||||
|
||||
|
@ -12,6 +12,8 @@ GST1_PLUGINS_BAD_INSTALL_STAGING = YES
|
||||
# GST1_PLUGINS_BAD_LICENSE_FILES if enabled.
|
||||
GST1_PLUGINS_BAD_LICENSE_FILES = COPYING
|
||||
GST1_PLUGINS_BAD_LICENSE = LGPL-2.0+
|
||||
GST1_PLUGINS_BAD_CPE_ID_VENDOR = freedesktop
|
||||
GST1_PLUGINS_BAD_CPE_ID_PRODUCT = gst-plugins-bad
|
||||
|
||||
GST1_PLUGINS_BAD_CFLAGS = $(TARGET_CFLAGS) -std=c99 -D_GNU_SOURCE
|
||||
GST1_PLUGINS_BAD_LDFLAGS = $(TARGET_LDFLAGS) $(TARGET_NLS_LIBS)
|
||||
|
@ -9,6 +9,8 @@ GST1_RTSP_SERVER_SOURCE = gst-rtsp-server-$(GST1_RTSP_SERVER_VERSION).tar.xz
|
||||
GST1_RTSP_SERVER_SITE = http://gstreamer.freedesktop.org/src/gst-rtsp-server
|
||||
GST1_RTSP_SERVER_LICENSE = LGPL-2.0+
|
||||
GST1_RTSP_SERVER_LICENSE_FILES = COPYING COPYING.LIB
|
||||
GST1_RTSP_SERVER_CPE_ID_VENDOR = gstreamer_project
|
||||
GST1_RTSP_SERVER_CPE_ID_PRODUCT = gst-rtsp-server
|
||||
GST1_RTSP_SERVER_INSTALL_STAGING = YES
|
||||
GST1_RTSP_SERVER_DEPENDENCIES = \
|
||||
host-pkgconf \
|
||||
|
@ -10,6 +10,8 @@ GSTREAMER1_SITE = https://gstreamer.freedesktop.org/src/gstreamer
|
||||
GSTREAMER1_INSTALL_STAGING = YES
|
||||
GSTREAMER1_LICENSE_FILES = COPYING
|
||||
GSTREAMER1_LICENSE = LGPL-2.0+, LGPL-2.1+
|
||||
GSTREAMER1_CPE_ID_VENDOR = gstreamer_project
|
||||
GSTREAMER1_CPE_ID_PRODUCT = gstreamer
|
||||
|
||||
GSTREAMER1_CONF_OPTS = \
|
||||
-Dexamples=disabled \
|
||||
|
@ -1,60 +0,0 @@
|
||||
From 9225b076d107538209fbd5b8bbc21a68d1b2c016 Mon Sep 17 00:00:00 2001
|
||||
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
Date: Wed, 15 Jul 2020 22:42:44 +0200
|
||||
Subject: [PATCH] Revert "build: Always build gupnp-binding-tool manpage"
|
||||
|
||||
This reverts commit 23f54c2a1e8718e836224d68dafded091604a677 until
|
||||
upstream decides what to do between adding a new option or renaming
|
||||
gtk_doc into documentation:
|
||||
https://gitlab.gnome.org/GNOME/gupnp/-/issues/17
|
||||
|
||||
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
---
|
||||
doc/meson.build | 2 --
|
||||
meson.build | 5 ++++-
|
||||
2 files changed, 4 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/doc/meson.build b/doc/meson.build
|
||||
index b71b657..478650b 100644
|
||||
--- a/doc/meson.build
|
||||
+++ b/doc/meson.build
|
||||
@@ -4,7 +4,6 @@ version_xml = configure_file(input: 'version.xml.in',
|
||||
output: 'version.xml', configuration:
|
||||
entities)
|
||||
|
||||
-if get_option('gtk_doc')
|
||||
gnome.gtkdoc('gupnp',
|
||||
main_xml : 'gupnp-docs.xml',
|
||||
src_dir : [join_paths(meson.source_root(), 'libgupnp'),
|
||||
@@ -27,7 +26,6 @@ gnome.gtkdoc('gupnp',
|
||||
'gupnp-types-private.h'
|
||||
],
|
||||
install : true)
|
||||
-endif
|
||||
|
||||
xsltproc = find_program('xsltproc', required: false)
|
||||
if xsltproc.found()
|
||||
diff --git a/meson.build b/meson.build
|
||||
index 28c40b2..dea0a49 100644
|
||||
--- a/meson.build
|
||||
+++ b/meson.build
|
||||
@@ -31,12 +31,15 @@ dependencies = [
|
||||
subdir('libgupnp')
|
||||
subdir('tests')
|
||||
subdir('tools')
|
||||
-subdir('doc')
|
||||
|
||||
if get_option('vapi') and get_option('introspection')
|
||||
subdir('vala')
|
||||
endif
|
||||
|
||||
+if get_option('gtk_doc')
|
||||
+ subdir('doc')
|
||||
+endif
|
||||
+
|
||||
if get_option('examples')
|
||||
subdir('examples')
|
||||
endif
|
||||
--
|
||||
2.27.0
|
||||
|
@ -0,0 +1,73 @@
|
||||
From 7ce37c94596029358a67d732a82e4313f7b89135 Mon Sep 17 00:00:00 2001
|
||||
From: Jens Georg <mail@jensge.org>
|
||||
Date: Sun, 30 May 2021 13:13:00 +0200
|
||||
Subject: [PATCH] doc: Check for stylesheet existence on doc build
|
||||
|
||||
Checking for xsltproc is not enough
|
||||
|
||||
Fixes #17
|
||||
|
||||
[Retrieved from:
|
||||
https://gitlab.gnome.org/GNOME/gupnp/-/commit/7ce37c94596029358a67d732a82e4313f7b89135]
|
||||
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
---
|
||||
doc/meson.build | 34 +++++++++++++++++++++++++---------
|
||||
1 file changed, 25 insertions(+), 9 deletions(-)
|
||||
|
||||
diff --git a/doc/meson.build b/doc/meson.build
|
||||
index 26c32c9..eb69d07 100644
|
||||
--- a/doc/meson.build
|
||||
+++ b/doc/meson.build
|
||||
@@ -30,6 +30,8 @@ endif
|
||||
|
||||
xsltproc = find_program('xsltproc', required: false)
|
||||
if xsltproc.found()
|
||||
+ stylesheet = 'http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl'
|
||||
+
|
||||
xlstproc_flags = [
|
||||
'--nonet',
|
||||
'--xinclude',
|
||||
@@ -45,17 +47,31 @@ if xsltproc.found()
|
||||
xsltproc,
|
||||
xlstproc_flags,
|
||||
'-o', '@OUTPUT@',
|
||||
- 'http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl',
|
||||
+ stylesheet,
|
||||
'@INPUT@'
|
||||
]
|
||||
|
||||
- custom_target(
|
||||
- 'man 1 pages',
|
||||
- input: 'gupnp-binding-tool.xml',
|
||||
- output: 'gupnp-binding-tool-1.2.1',
|
||||
- command: xsltproc_args,
|
||||
- depend_files : version_xml,
|
||||
- install: true,
|
||||
- install_dir: join_paths(get_option('mandir'), 'man1')
|
||||
+ stylesheet_check = run_command(
|
||||
+ [
|
||||
+ xsltproc,
|
||||
+ xlstproc_flags,
|
||||
+ '--noout',
|
||||
+ stylesheet,
|
||||
+ 'gupnp-binding-tool.xml'
|
||||
+ ]
|
||||
)
|
||||
+ if (stylesheet_check.returncode() == 0)
|
||||
+ message('Stylesheet ' + stylesheet + ' available')
|
||||
+ custom_target(
|
||||
+ 'man 1 pages',
|
||||
+ input: 'gupnp-binding-tool.xml',
|
||||
+ output: 'gupnp-binding-tool-1.2.1',
|
||||
+ command: xsltproc_args,
|
||||
+ depend_files : version_xml,
|
||||
+ install: true,
|
||||
+ install_dir: join_paths(get_option('mandir'), 'man1')
|
||||
+ )
|
||||
+ else
|
||||
+ message('Stylesheet ' + stylesheet + ' not found, not building man page')
|
||||
+ endif
|
||||
endif
|
||||
--
|
||||
GitLab
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Hash from: http://ftp.gnome.org/pub/gnome/sources/gupnp/1.2/gupnp-1.2.4.sha256sum:
|
||||
sha256 f7a0307ea51f5e44d1b832f493dd9045444a3a4e211ef85dfd9aa5dd6eaea7d1 gupnp-1.2.4.tar.xz
|
||||
# Hash from: http://ftp.gnome.org/pub/gnome/sources/gupnp/1.2/gupnp-1.2.6.sha256sum:
|
||||
sha256 00b20f1e478a72deac92c34723693a2ac55789ed1e4bb4eed99eb4d62092aafd gupnp-1.2.6.tar.xz
|
||||
|
||||
# Hash for license file:
|
||||
sha256 d245807f90032872d1438d741ed21e2490e1175dc8aa3afa5ddb6c8e529b58e5 COPYING
|
||||
|
@ -5,7 +5,7 @@
|
||||
################################################################################
|
||||
|
||||
GUPNP_VERSION_MAJOR = 1.2
|
||||
GUPNP_VERSION = $(GUPNP_VERSION_MAJOR).4
|
||||
GUPNP_VERSION = $(GUPNP_VERSION_MAJOR).6
|
||||
GUPNP_SOURCE = gupnp-$(GUPNP_VERSION).tar.xz
|
||||
GUPNP_SITE = http://ftp.gnome.org/pub/gnome/sources/gupnp/$(GUPNP_VERSION_MAJOR)
|
||||
GUPNP_LICENSE = LGPL-2.0+
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user