diff options
Diffstat (limited to 'meta-networking/recipes-connectivity')
17 files changed, 133 insertions, 32 deletions
diff --git a/meta-networking/recipes-connectivity/daq/daq_2.0.7.bb b/meta-networking/recipes-connectivity/daq/daq_2.0.7.bb index 66ad83f71..8cb4c04fa 100644 --- a/meta-networking/recipes-connectivity/daq/daq_2.0.7.bb +++ b/meta-networking/recipes-connectivity/daq/daq_2.0.7.bb | |||
@@ -11,6 +11,7 @@ DEPENDS = "libpcap libpcre libdnet bison-native libnetfilter-queue" | |||
11 | SRC_URI = "http://fossies.org/linux/misc/daq-${PV}.tar.gz \ | 11 | SRC_URI = "http://fossies.org/linux/misc/daq-${PV}.tar.gz \ |
12 | file://disable-run-test-program-while-cross-compiling.patch \ | 12 | file://disable-run-test-program-while-cross-compiling.patch \ |
13 | file://0001-correct-the-location-of-unistd.h.patch \ | 13 | file://0001-correct-the-location-of-unistd.h.patch \ |
14 | file://daq-fix-incompatible-pointer-type-error.patch \ | ||
14 | " | 15 | " |
15 | SRC_URI[sha256sum] = "bdc4e5a24d1ea492c39ee213a63c55466a2e8114b6a9abed609927ae13a7705e" | 16 | SRC_URI[sha256sum] = "bdc4e5a24d1ea492c39ee213a63c55466a2e8114b6a9abed609927ae13a7705e" |
16 | # these 2 create undeclared dependency on libdnet and libnetfilter-queue from meta-networking | 17 | # these 2 create undeclared dependency on libdnet and libnetfilter-queue from meta-networking |
diff --git a/meta-networking/recipes-connectivity/daq/files/daq-fix-incompatible-pointer-type-error.patch b/meta-networking/recipes-connectivity/daq/files/daq-fix-incompatible-pointer-type-error.patch new file mode 100644 index 000000000..ade3ec686 --- /dev/null +++ b/meta-networking/recipes-connectivity/daq/files/daq-fix-incompatible-pointer-type-error.patch | |||
@@ -0,0 +1,31 @@ | |||
1 | Fix daq incompatible pointer type error when gcc option | ||
2 | '-Wincompatible-pointer-types is set: | ||
3 | |||
4 | | ../../daq-2.0.7/os-daq-modules/daq_nfq.c: In function 'SetPktHdr': | ||
5 | | ../../daq-2.0.7/os-daq-modules/daq_nfq.c:394:37: error: passing argument 2 | ||
6 | of 'nfq_get_payload' from incompatible pointer type [-Wincompatible-pointer-types] | ||
7 | | 394 | int len = nfq_get_payload(nfad, (char**)pkt); | ||
8 | | | ^~~~~~~~~~~ | ||
9 | | | | | ||
10 | | | char ** | ||
11 | |||
12 | Upstream-Status: Inactive-Upstream [lastrelease: 2019-03-09] | ||
13 | |||
14 | Signed-off-by: Kai Kang <kai.kang@windriver.com> | ||
15 | --- | ||
16 | os-daq-modules/daq_nfq.c | 2 +- | ||
17 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
18 | |||
19 | diff --git a/os-daq-modules/daq_nfq.c b/os-daq-modules/daq_nfq.c | ||
20 | index 4de94b6..a6de2f3 100644 | ||
21 | --- a/os-daq-modules/daq_nfq.c | ||
22 | +++ b/os-daq-modules/daq_nfq.c | ||
23 | @@ -391,7 +391,7 @@ static inline int SetPktHdr ( | ||
24 | DAQ_PktHdr_t* hdr, | ||
25 | uint8_t** pkt | ||
26 | ) { | ||
27 | - int len = nfq_get_payload(nfad, (char**)pkt); | ||
28 | + int len = nfq_get_payload(nfad, (unsigned char**)pkt); | ||
29 | |||
30 | if ( len <= 0 ) | ||
31 | return -1; | ||
diff --git a/meta-networking/recipes-connectivity/dhcp/dhcp-relay_4.4.3p1.bb b/meta-networking/recipes-connectivity/dhcp/dhcp-relay_4.4.3p1.bb index e5f7e0334..e458321e6 100644 --- a/meta-networking/recipes-connectivity/dhcp/dhcp-relay_4.4.3p1.bb +++ b/meta-networking/recipes-connectivity/dhcp/dhcp-relay_4.4.3p1.bb | |||
@@ -53,16 +53,16 @@ do_configure:prepend () { | |||
53 | } | 53 | } |
54 | 54 | ||
55 | do_install:append () { | 55 | do_install:append () { |
56 | install -Dm 0644 ${WORKDIR}/default-relay ${D}${sysconfdir}/default/dhcp-relay | 56 | install -Dm 0644 ${UNPACKDIR}/default-relay ${D}${sysconfdir}/default/dhcp-relay |
57 | 57 | ||
58 | if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then | 58 | if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then |
59 | install -d ${D}${systemd_unitdir}/system | 59 | install -d ${D}${systemd_unitdir}/system |
60 | install -m 0644 ${WORKDIR}/dhcrelay.service ${D}${systemd_unitdir}/system | 60 | install -m 0644 ${UNPACKDIR}/dhcrelay.service ${D}${systemd_unitdir}/system |
61 | sed -i -e 's,@SBINDIR@,${sbindir},g' ${D}${systemd_unitdir}/system/dhcrelay.service | 61 | sed -i -e 's,@SBINDIR@,${sbindir},g' ${D}${systemd_unitdir}/system/dhcrelay.service |
62 | sed -i -e 's,@SYSCONFDIR@,${sysconfdir},g' ${D}${systemd_unitdir}/system/dhcrelay.service | 62 | sed -i -e 's,@SYSCONFDIR@,${sysconfdir},g' ${D}${systemd_unitdir}/system/dhcrelay.service |
63 | else | 63 | else |
64 | install -d ${D}${sysconfdir}/init.d | 64 | install -d ${D}${sysconfdir}/init.d |
65 | install -m 0755 ${WORKDIR}/init-relay ${D}${sysconfdir}/init.d/dhcp-relay | 65 | install -m 0755 ${UNPACKDIR}/init-relay ${D}${sysconfdir}/init.d/dhcp-relay |
66 | fi | 66 | fi |
67 | } | 67 | } |
68 | 68 | ||
diff --git a/meta-networking/recipes-connectivity/freeradius/freeradius_3.2.3.bb b/meta-networking/recipes-connectivity/freeradius/freeradius_3.2.3.bb index 7ea63a65d..8397380c1 100644 --- a/meta-networking/recipes-connectivity/freeradius/freeradius_3.2.3.bb +++ b/meta-networking/recipes-connectivity/freeradius/freeradius_3.2.3.bb | |||
@@ -169,14 +169,14 @@ do_install() { | |||
169 | if ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then | 169 | if ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then |
170 | install -d ${D}${sysconfdir}/init.d | 170 | install -d ${D}${sysconfdir}/init.d |
171 | install -d ${D}${sysconfdir}/default/volatiles | 171 | install -d ${D}${sysconfdir}/default/volatiles |
172 | install -m 0755 ${WORKDIR}/freeradius ${D}/etc/init.d/radiusd | 172 | install -m 0755 ${UNPACKDIR}/freeradius ${D}/etc/init.d/radiusd |
173 | install -m 0644 ${WORKDIR}/volatiles.58_radiusd ${D}${sysconfdir}/default/volatiles/58_radiusd | 173 | install -m 0644 ${UNPACKDIR}/volatiles.58_radiusd ${D}${sysconfdir}/default/volatiles/58_radiusd |
174 | fi | 174 | fi |
175 | 175 | ||
176 | # For systemd | 176 | # For systemd |
177 | if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then | 177 | if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then |
178 | install -d ${D}${systemd_unitdir}/system | 178 | install -d ${D}${systemd_unitdir}/system |
179 | install -m 0644 ${WORKDIR}/radiusd.service ${D}${systemd_unitdir}/system | 179 | install -m 0644 ${UNPACKDIR}/radiusd.service ${D}${systemd_unitdir}/system |
180 | sed -i -e 's,@BASE_BINDIR@,${base_bindir},g' \ | 180 | sed -i -e 's,@BASE_BINDIR@,${base_bindir},g' \ |
181 | -e 's,@SBINDIR@,${sbindir},g' \ | 181 | -e 's,@SBINDIR@,${sbindir},g' \ |
182 | -e 's,@STATEDIR@,${localstatedir},g' \ | 182 | -e 's,@STATEDIR@,${localstatedir},g' \ |
@@ -184,7 +184,7 @@ do_install() { | |||
184 | ${D}${systemd_unitdir}/system/radiusd.service | 184 | ${D}${systemd_unitdir}/system/radiusd.service |
185 | 185 | ||
186 | install -d ${D}${sysconfdir}/tmpfiles.d/ | 186 | install -d ${D}${sysconfdir}/tmpfiles.d/ |
187 | install -m 0644 ${WORKDIR}/radiusd-volatiles.conf ${D}${sysconfdir}/tmpfiles.d/radiusd.conf | 187 | install -m 0644 ${UNPACKDIR}/radiusd-volatiles.conf ${D}${sysconfdir}/tmpfiles.d/radiusd.conf |
188 | fi | 188 | fi |
189 | 189 | ||
190 | oe_multilib_header freeradius/autoconf.h | 190 | oe_multilib_header freeradius/autoconf.h |
diff --git a/meta-networking/recipes-connectivity/libiec61850/libiec61850_1.5.1.bb b/meta-networking/recipes-connectivity/libiec61850/libiec61850_1.5.3.bb index 63476d349..0e1f50164 100644 --- a/meta-networking/recipes-connectivity/libiec61850/libiec61850_1.5.1.bb +++ b/meta-networking/recipes-connectivity/libiec61850/libiec61850_1.5.3.bb | |||
@@ -13,7 +13,7 @@ SECTION = "console/network" | |||
13 | LICENSE = "GPL-3.0-only" | 13 | LICENSE = "GPL-3.0-only" |
14 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" | 14 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" |
15 | DEPENDS = "swig-native python3" | 15 | DEPENDS = "swig-native python3" |
16 | SRCREV = "210cf30897631fe2006ac50483caf8fd616622a2" | 16 | SRCREV = "6f557c490f0b46ab5d7ef1b01bb3bc9fab3f442f" |
17 | 17 | ||
18 | SRC_URI = "git://github.com/mz-automation/${BPN}.git;branch=v1.5;protocol=https \ | 18 | SRC_URI = "git://github.com/mz-automation/${BPN}.git;branch=v1.5;protocol=https \ |
19 | file://0001-pyiec61850-don-t-break-CMAKE_INSTALL_PATH-by-trying-.patch \ | 19 | file://0001-pyiec61850-don-t-break-CMAKE_INSTALL_PATH-by-trying-.patch \ |
diff --git a/meta-networking/recipes-connectivity/mbedtls/mbedtls_2.28.8.bb b/meta-networking/recipes-connectivity/mbedtls/mbedtls_2.28.8.bb index 301e65598..db79241f2 100644 --- a/meta-networking/recipes-connectivity/mbedtls/mbedtls_2.28.8.bb +++ b/meta-networking/recipes-connectivity/mbedtls/mbedtls_2.28.8.bb | |||
@@ -50,7 +50,7 @@ RPROVIDES:${PN} = "polarssl" | |||
50 | PACKAGES =+ "${PN}-programs" | 50 | PACKAGES =+ "${PN}-programs" |
51 | FILES:${PN}-programs = "${bindir}/" | 51 | FILES:${PN}-programs = "${bindir}/" |
52 | 52 | ||
53 | ALTERNATIVE:${PN}-programs = "hello" | 53 | ALTERNATIVE:${PN}-programs = "${@bb.utils.contains('PACKAGECONFIG', 'programs', 'hello', '', d)}" |
54 | ALTERNATIVE_LINK_NAME[hello] = "${bindir}/hello" | 54 | ALTERNATIVE_LINK_NAME[hello] = "${bindir}/hello" |
55 | 55 | ||
56 | BBCLASSEXTEND = "native nativesdk" | 56 | BBCLASSEXTEND = "native nativesdk" |
diff --git a/meta-networking/recipes-connectivity/mbedtls/mbedtls_3.6.0.bb b/meta-networking/recipes-connectivity/mbedtls/mbedtls_3.6.0.bb index 92a2de82a..a10fce0ff 100644 --- a/meta-networking/recipes-connectivity/mbedtls/mbedtls_3.6.0.bb +++ b/meta-networking/recipes-connectivity/mbedtls/mbedtls_3.6.0.bb | |||
@@ -55,7 +55,7 @@ RPROVIDES:${PN} = "polarssl" | |||
55 | PACKAGES =+ "${PN}-programs" | 55 | PACKAGES =+ "${PN}-programs" |
56 | FILES:${PN}-programs = "${bindir}/" | 56 | FILES:${PN}-programs = "${bindir}/" |
57 | 57 | ||
58 | ALTERNATIVE:${PN}-programs = "hello" | 58 | ALTERNATIVE:${PN}-programs = "${@bb.utils.contains('PACKAGECONFIG', 'programs', 'hello', '', d)}" |
59 | ALTERNATIVE_LINK_NAME[hello] = "${bindir}/hello" | 59 | ALTERNATIVE_LINK_NAME[hello] = "${bindir}/hello" |
60 | 60 | ||
61 | BBCLASSEXTEND = "native nativesdk" | 61 | BBCLASSEXTEND = "native nativesdk" |
diff --git a/meta-networking/recipes-connectivity/miniupnpd/miniupnpd_2.1.20191006.bb b/meta-networking/recipes-connectivity/miniupnpd/miniupnpd_2.1.20191006.bb index 468569eef..1c2f030f8 100644 --- a/meta-networking/recipes-connectivity/miniupnpd/miniupnpd_2.1.20191006.bb +++ b/meta-networking/recipes-connectivity/miniupnpd/miniupnpd_2.1.20191006.bb | |||
@@ -44,7 +44,7 @@ do_install() { | |||
44 | install ${S}/linux/miniupnpd.init.d.script ${D}/${sysconfdir}/init.d/miniupnpd | 44 | install ${S}/linux/miniupnpd.init.d.script ${D}/${sysconfdir}/init.d/miniupnpd |
45 | 45 | ||
46 | install -d ${D}${systemd_unitdir}/system | 46 | install -d ${D}${systemd_unitdir}/system |
47 | install -m 0644 ${WORKDIR}/miniupnpd.service ${D}${systemd_unitdir}/system/ | 47 | install -m 0644 ${UNPACKDIR}/miniupnpd.service ${D}${systemd_unitdir}/system/ |
48 | } | 48 | } |
49 | 49 | ||
50 | SYSTEMD_SERVICE:${PN} = "miniupnpd.service" | 50 | SYSTEMD_SERVICE:${PN} = "miniupnpd.service" |
diff --git a/meta-networking/recipes-connectivity/mosquitto/mosquitto_2.0.18.bb b/meta-networking/recipes-connectivity/mosquitto/mosquitto_2.0.18.bb index ea9eb4857..4ef065410 100644 --- a/meta-networking/recipes-connectivity/mosquitto/mosquitto_2.0.18.bb +++ b/meta-networking/recipes-connectivity/mosquitto/mosquitto_2.0.18.bb | |||
@@ -46,7 +46,7 @@ do_install:append() { | |||
46 | install -m 0644 ${S}/service/systemd/mosquitto.service.notify ${D}${systemd_unitdir}/system/mosquitto.service | 46 | install -m 0644 ${S}/service/systemd/mosquitto.service.notify ${D}${systemd_unitdir}/system/mosquitto.service |
47 | 47 | ||
48 | install -d ${D}${sysconfdir}/init.d/ | 48 | install -d ${D}${sysconfdir}/init.d/ |
49 | install -m 0755 ${WORKDIR}/mosquitto.init ${D}${sysconfdir}/init.d/mosquitto | 49 | install -m 0755 ${UNPACKDIR}/mosquitto.init ${D}${sysconfdir}/init.d/mosquitto |
50 | sed -i -e 's,@SBINDIR@,${sbindir},g' \ | 50 | sed -i -e 's,@SBINDIR@,${sbindir},g' \ |
51 | -e 's,@BASE_SBINDIR@,${base_sbindir},g' \ | 51 | -e 's,@BASE_SBINDIR@,${base_sbindir},g' \ |
52 | -e 's,@LOCALSTATEDIR@,${localstatedir},g' \ | 52 | -e 's,@LOCALSTATEDIR@,${localstatedir},g' \ |
diff --git a/meta-networking/recipes-connectivity/networkmanager/networkmanager-openvpn_1.10.2.bb b/meta-networking/recipes-connectivity/networkmanager/networkmanager-openvpn_1.11.0.bb index cdef11c89..f44526ff9 100644 --- a/meta-networking/recipes-connectivity/networkmanager/networkmanager-openvpn_1.10.2.bb +++ b/meta-networking/recipes-connectivity/networkmanager/networkmanager-openvpn_1.11.0.bb | |||
@@ -13,7 +13,7 @@ SRC_URI = "${GNOME_MIRROR}/NetworkManager-openvpn/${@gnome_verdir("${PV}")}/Netw | |||
13 | 13 | ||
14 | SRC_URI:append:libc-musl = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-lld', ' file://0001-linker-scripts-Do-not-export-_IO_stdin_used.patch', '', d)}" | 14 | SRC_URI:append:libc-musl = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-lld', ' file://0001-linker-scripts-Do-not-export-_IO_stdin_used.patch', '', d)}" |
15 | 15 | ||
16 | SRC_URI[sha256sum] = "62f0f2a8782221b923f212ac2a8ebbc1002efd6a90ee945dad4adfb56d076d21" | 16 | SRC_URI[sha256sum] = "2128de06f91b33c13d63cdaa6e178bc1ca57fc770cde3bc7c24891f4d9824501" |
17 | 17 | ||
18 | S = "${WORKDIR}/NetworkManager-openvpn-${PV}" | 18 | S = "${WORKDIR}/NetworkManager-openvpn-${PV}" |
19 | 19 | ||
diff --git a/meta-networking/recipes-connectivity/networkmanager/networkmanager/0001-libnm-systemd-core-Disable-sd_dhcp6_client_set_duid_.patch b/meta-networking/recipes-connectivity/networkmanager/networkmanager/0001-libnm-systemd-core-Disable-sd_dhcp6_client_set_duid_.patch new file mode 100644 index 000000000..8e246efe0 --- /dev/null +++ b/meta-networking/recipes-connectivity/networkmanager/networkmanager/0001-libnm-systemd-core-Disable-sd_dhcp6_client_set_duid_.patch | |||
@@ -0,0 +1,65 @@ | |||
1 | From 34d7a6c9919a73c2e716835000944c17438b2ca1 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Fri, 7 Jun 2024 14:03:15 -0700 | ||
4 | Subject: [PATCH] libnm-systemd-core: Disable sd_dhcp6_client_set_duid_uuid | ||
5 | function | ||
6 | |||
7 | When building on musl systems ( with out systemd ), and using LLD linker | ||
8 | from LLVM project we fail to link with undefined symbols. | ||
9 | |||
10 | This symbol is in sd_id128.c but its disabled, so let disable the functions | ||
11 | which need this function. | ||
12 | |||
13 | | x86_64-yoe-linux-musl-ld.lld: error: undefined symbol: sd_id128_get_machine_app_specific | ||
14 | | >>> referenced by sd-dhcp-duid.c:202 (/usr/src/debug/networkmanager/1.48.0/../NetworkManager-1.48.0/src/libnm-systemd-core/src/libsystemd-network/sd-dhcp-duid.c:202) | ||
15 | | >>> libnm-systemd-core.a.p/src_libsystemd-network_sd-dhcp-duid.c.o:(sd_dhcp_duid_set_uuid) in archive src/libnm-systemd-core/libnm-systemd-core.a | ||
16 | | x86_64-yoe-linux-musl-clang: error: linker command failed with exit code 1 (use -v to see invocation) | ||
17 | |||
18 | Upstream-Status: Submitted [https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/1966] | ||
19 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
20 | --- | ||
21 | src/libnm-systemd-core/src/libsystemd-network/sd-dhcp-duid.c | 2 ++ | ||
22 | .../src/libsystemd-network/sd-dhcp6-client.c | 3 ++- | ||
23 | 2 files changed, 4 insertions(+), 1 deletion(-) | ||
24 | |||
25 | diff --git a/src/libnm-systemd-core/src/libsystemd-network/sd-dhcp-duid.c b/src/libnm-systemd-core/src/libsystemd-network/sd-dhcp-duid.c | ||
26 | index e664a4a..7ba5020 100644 | ||
27 | --- a/src/libnm-systemd-core/src/libsystemd-network/sd-dhcp-duid.c | ||
28 | +++ b/src/libnm-systemd-core/src/libsystemd-network/sd-dhcp-duid.c | ||
29 | @@ -193,6 +193,7 @@ int sd_dhcp_duid_set_en(sd_dhcp_duid *duid) { | ||
30 | return 0; | ||
31 | } | ||
32 | |||
33 | +#if 0 | ||
34 | int sd_dhcp_duid_set_uuid(sd_dhcp_duid *duid) { | ||
35 | sd_id128_t machine_id; | ||
36 | int r; | ||
37 | @@ -209,6 +210,7 @@ int sd_dhcp_duid_set_uuid(sd_dhcp_duid *duid) { | ||
38 | duid->size = offsetof(struct duid, uuid.uuid) + sizeof(machine_id); | ||
39 | return 0; | ||
40 | } | ||
41 | +#endif | ||
42 | |||
43 | int dhcp_duid_to_string_internal(uint16_t type, const void *data, size_t data_size, char **ret) { | ||
44 | _cleanup_free_ char *p = NULL, *x = NULL; | ||
45 | diff --git a/src/libnm-systemd-core/src/libsystemd-network/sd-dhcp6-client.c b/src/libnm-systemd-core/src/libsystemd-network/sd-dhcp6-client.c | ||
46 | index 7c20116..08c1e96 100644 | ||
47 | --- a/src/libnm-systemd-core/src/libsystemd-network/sd-dhcp6-client.c | ||
48 | +++ b/src/libnm-systemd-core/src/libsystemd-network/sd-dhcp6-client.c | ||
49 | @@ -244,6 +244,7 @@ int sd_dhcp6_client_set_duid_en(sd_dhcp6_client *client) { | ||
50 | return 0; | ||
51 | } | ||
52 | |||
53 | +#if 0 | ||
54 | int sd_dhcp6_client_set_duid_uuid(sd_dhcp6_client *client) { | ||
55 | int r; | ||
56 | |||
57 | @@ -256,7 +257,7 @@ int sd_dhcp6_client_set_duid_uuid(sd_dhcp6_client *client) { | ||
58 | |||
59 | return 0; | ||
60 | } | ||
61 | - | ||
62 | +#endif | ||
63 | int sd_dhcp6_client_set_duid_raw(sd_dhcp6_client *client, uint16_t duid_type, const uint8_t *duid, size_t duid_len) { | ||
64 | int r; | ||
65 | |||
diff --git a/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.46.0.bb b/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.48.0.bb index be30154a3..47287951f 100644 --- a/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.46.0.bb +++ b/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.48.0.bb | |||
@@ -19,6 +19,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ | |||
19 | " | 19 | " |
20 | 20 | ||
21 | DEPENDS = " \ | 21 | DEPENDS = " \ |
22 | glib-2.0 \ | ||
22 | python3-pygobject-native \ | 23 | python3-pygobject-native \ |
23 | coreutils-native \ | 24 | coreutils-native \ |
24 | intltool-native \ | 25 | intltool-native \ |
@@ -39,10 +40,11 @@ SRC_URI = " \ | |||
39 | file://${BPN}.initd \ | 40 | file://${BPN}.initd \ |
40 | file://enable-dhcpcd.conf \ | 41 | file://enable-dhcpcd.conf \ |
41 | file://enable-iwd.conf \ | 42 | file://enable-iwd.conf \ |
43 | file://0001-libnm-systemd-core-Disable-sd_dhcp6_client_set_duid_.patch \ | ||
42 | " | 44 | " |
43 | SRC_URI:append:libc-musl = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-lld', ' file://0001-linker-scripts-Do-not-export-_IO_stdin_used.patch', '', d)}" | 45 | SRC_URI:append:libc-musl = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-lld', ' file://0001-linker-scripts-Do-not-export-_IO_stdin_used.patch', '', d)}" |
44 | 46 | ||
45 | SRC_URI[sha256sum] = "722649e25362693b334371473802a729b0ec9ee283375096905f868808e74068" | 47 | SRC_URI[sha256sum] = "fc80b942de38e329468e6fc1dfb40aad6a78d02ddf6b8ec31f9acc6460b8723f" |
46 | 48 | ||
47 | S = "${WORKDIR}/NetworkManager-${PV}" | 49 | S = "${WORKDIR}/NetworkManager-${PV}" |
48 | 50 | ||
@@ -76,9 +78,11 @@ EXTRA_OEMESON = "\ | |||
76 | CFLAGS:append:libc-musl = " \ | 78 | CFLAGS:append:libc-musl = " \ |
77 | -DRTLD_DEEPBIND=0 \ | 79 | -DRTLD_DEEPBIND=0 \ |
78 | " | 80 | " |
79 | 81 | do_configure:prepend() { | |
80 | do_compile:prepend() { | 82 | cp -f ${STAGING_LIBDIR}/girepository-1.0/GLib*typelib ${STAGING_LIBDIR_NATIVE}/girepository-1.0/ |
81 | export GI_TYPELIB_PATH="${B}}/src/libnm-client-impl${GI_TYPELIB_PATH:+:$GI_TYPELIB_PATH}" | 83 | cp -f ${STAGING_LIBDIR}/girepository-1.0/GObject*typelib ${STAGING_LIBDIR_NATIVE}/girepository-1.0/ |
84 | cp -f ${STAGING_LIBDIR}/girepository-1.0/Gio*typelib ${STAGING_LIBDIR_NATIVE}/girepository-1.0/ | ||
85 | cp -f ${STAGING_LIBDIR}/girepository-1.0/GModule*typelib ${STAGING_LIBDIR_NATIVE}/girepository-1.0/ | ||
82 | } | 86 | } |
83 | 87 | ||
84 | PACKAGECONFIG ??= "readline nss ifupdown dnsmasq nmcli vala \ | 88 | PACKAGECONFIG ??= "readline nss ifupdown dnsmasq nmcli vala \ |
@@ -298,7 +302,7 @@ RRECOMMENDS:${PN} += "\ | |||
298 | " | 302 | " |
299 | 303 | ||
300 | do_install:append() { | 304 | do_install:append() { |
301 | install -Dm 0755 ${WORKDIR}/${BPN}.initd ${D}${sysconfdir}/init.d/network-manager | 305 | install -Dm 0755 ${UNPACKDIR}/${BPN}.initd ${D}${sysconfdir}/init.d/network-manager |
302 | 306 | ||
303 | rm -rf ${D}/run ${D}${localstatedir}/run | 307 | rm -rf ${D}/run ${D}${localstatedir}/run |
304 | 308 | ||
@@ -312,11 +316,11 @@ do_install:append() { | |||
312 | 316 | ||
313 | # Enable iwd if compiled | 317 | # Enable iwd if compiled |
314 | if ${@bb.utils.contains('PACKAGECONFIG','iwd','true','false',d)}; then | 318 | if ${@bb.utils.contains('PACKAGECONFIG','iwd','true','false',d)}; then |
315 | install -Dm 0644 ${WORKDIR}/enable-iwd.conf ${D}${nonarch_libdir}/NetworkManager/conf.d/enable-iwd.conf | 319 | install -Dm 0644 ${UNPACKDIR}/enable-iwd.conf ${D}${nonarch_libdir}/NetworkManager/conf.d/enable-iwd.conf |
316 | fi | 320 | fi |
317 | 321 | ||
318 | # Enable dhcpd if compiled | 322 | # Enable dhcpd if compiled |
319 | if ${@bb.utils.contains('PACKAGECONFIG','dhcpcd','true','false',d)}; then | 323 | if ${@bb.utils.contains('PACKAGECONFIG','dhcpcd','true','false',d)}; then |
320 | install -Dm 0644 ${WORKDIR}/enable-dhcpcd.conf ${D}${nonarch_libdir}/NetworkManager/conf.d/enable-dhcpcd.conf | 324 | install -Dm 0644 ${UNPACKDIR}/enable-dhcpcd.conf ${D}${nonarch_libdir}/NetworkManager/conf.d/enable-dhcpcd.conf |
321 | fi | 325 | fi |
322 | } | 326 | } |
diff --git a/meta-networking/recipes-connectivity/openfortivpn/openfortivpn_1.21.0.bb b/meta-networking/recipes-connectivity/openfortivpn/openfortivpn_1.22.1.bb index e6c9a69ee..b69a7e235 100644 --- a/meta-networking/recipes-connectivity/openfortivpn/openfortivpn_1.21.0.bb +++ b/meta-networking/recipes-connectivity/openfortivpn/openfortivpn_1.22.1.bb | |||
@@ -3,7 +3,7 @@ LICENSE = "GPL-3.0-or-later" | |||
3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=3d575262a651a6f1a17210ce41bf907d" | 3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=3d575262a651a6f1a17210ce41bf907d" |
4 | 4 | ||
5 | SRC_URI = "git://github.com/adrienverge/openfortivpn.git;protocol=https;branch=master" | 5 | SRC_URI = "git://github.com/adrienverge/openfortivpn.git;protocol=https;branch=master" |
6 | SRCREV = "26a1fe68cc7a61c58f4f2a98862f6fcf30f9f2dc" | 6 | SRCREV = "388fa98f639ef91733461de50b06dd57f1ffb099" |
7 | 7 | ||
8 | DEPENDS = "openssl" | 8 | DEPENDS = "openssl" |
9 | 9 | ||
diff --git a/meta-networking/recipes-connectivity/samba/samba_4.19.5.bb b/meta-networking/recipes-connectivity/samba/samba_4.19.6.bb index f5ef86dd4..7bdcfd35c 100644 --- a/meta-networking/recipes-connectivity/samba/samba_4.19.5.bb +++ b/meta-networking/recipes-connectivity/samba/samba_4.19.6.bb | |||
@@ -31,7 +31,7 @@ SRC_URI:append:libc-musl = " \ | |||
31 | file://samba-4.3.9-remove-getpwent_r.patch \ | 31 | file://samba-4.3.9-remove-getpwent_r.patch \ |
32 | " | 32 | " |
33 | 33 | ||
34 | SRC_URI[sha256sum] = "0e2405b4cec29d0459621f4340a1a74af771ec7cffedff43250cad7f1f87605e" | 34 | SRC_URI[sha256sum] = "653b52095554dbc223c63b96af5cdf9e98c3e048549c5f56143d3b33dce1cef1" |
35 | 35 | ||
36 | UPSTREAM_CHECK_REGEX = "samba\-(?P<pver>4\.19(\.\d+)+).tar.gz" | 36 | UPSTREAM_CHECK_REGEX = "samba\-(?P<pver>4\.19(\.\d+)+).tar.gz" |
37 | 37 | ||
@@ -173,8 +173,8 @@ do_install:append() { | |||
173 | 173 | ||
174 | install -d ${D}${sysconfdir}/samba | 174 | install -d ${D}${sysconfdir}/samba |
175 | echo "127.0.0.1 localhost" > ${D}${sysconfdir}/samba/lmhosts | 175 | echo "127.0.0.1 localhost" > ${D}${sysconfdir}/samba/lmhosts |
176 | install -m644 ${WORKDIR}/smb.conf ${D}${sysconfdir}/samba/smb.conf | 176 | install -m644 ${UNPACKDIR}/smb.conf ${D}${sysconfdir}/samba/smb.conf |
177 | install -D -m 644 ${WORKDIR}/volatiles.03_samba ${D}${sysconfdir}/default/volatiles/03_samba | 177 | install -D -m 644 ${UNPACKDIR}/volatiles.03_samba ${D}${sysconfdir}/default/volatiles/03_samba |
178 | 178 | ||
179 | install -d ${D}${sysconfdir}/default | 179 | install -d ${D}${sysconfdir}/default |
180 | install -m644 packaging/systemd/samba.sysconfig ${D}${sysconfdir}/default/samba | 180 | install -m644 packaging/systemd/samba.sysconfig ${D}${sysconfdir}/default/samba |
diff --git a/meta-networking/recipes-connectivity/snort/snort_2.9.20.bb b/meta-networking/recipes-connectivity/snort/snort_2.9.20.bb index 8b9092b41..9bc14fc56 100644 --- a/meta-networking/recipes-connectivity/snort/snort_2.9.20.bb +++ b/meta-networking/recipes-connectivity/snort/snort_2.9.20.bb | |||
@@ -76,18 +76,18 @@ do_install:append() { | |||
76 | 76 | ||
77 | cp ${S}/preproc_rules/*.rules ${D}${sysconfdir}/snort/preproc_rules/ | 77 | cp ${S}/preproc_rules/*.rules ${D}${sysconfdir}/snort/preproc_rules/ |
78 | if ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then | 78 | if ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then |
79 | install -m 755 ${WORKDIR}/snort.init ${D}${sysconfdir}/init.d/snort | 79 | install -m 755 ${UNPACKDIR}/snort.init ${D}${sysconfdir}/init.d/snort |
80 | fi | 80 | fi |
81 | 81 | ||
82 | if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then | 82 | if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then |
83 | install -d ${D}/${systemd_system_unitdir} | 83 | install -d ${D}/${systemd_system_unitdir} |
84 | install -m 644 ${WORKDIR}/snort.service ${D}/${systemd_system_unitdir} | 84 | install -m 644 ${UNPACKDIR}/snort.service ${D}/${systemd_system_unitdir} |
85 | # Install default environment file | 85 | # Install default environment file |
86 | install -d ${D}/${sysconfdir}/default | 86 | install -d ${D}/${sysconfdir}/default |
87 | install -m 0644 ${WORKDIR}/snort.default ${D}${sysconfdir}/default/snort | 87 | install -m 0644 ${UNPACKDIR}/snort.default ${D}${sysconfdir}/default/snort |
88 | fi | 88 | fi |
89 | install -d ${D}${sysconfdir}/default/volatiles | 89 | install -d ${D}${sysconfdir}/default/volatiles |
90 | install -m 0644 ${WORKDIR}/volatiles.99_snort ${D}${sysconfdir}/default/volatiles/99_snort | 90 | install -m 0644 ${UNPACKDIR}/volatiles.99_snort ${D}${sysconfdir}/default/volatiles/99_snort |
91 | 91 | ||
92 | sed -i -e 's|-ffile-prefix-map[^ ]*||g; s|-fdebug-prefix-map[^ ]*||g; s|-fmacro-prefix-map[^ ]*||g; s|${STAGING_DIR_TARGET}||g' ${D}${libdir}/pkgconfig/*.pc | 92 | sed -i -e 's|-ffile-prefix-map[^ ]*||g; s|-fdebug-prefix-map[^ ]*||g; s|-fmacro-prefix-map[^ ]*||g; s|${STAGING_DIR_TARGET}||g' ${D}${libdir}/pkgconfig/*.pc |
93 | } | 93 | } |
diff --git a/meta-networking/recipes-connectivity/tayga/tayga_0.9.2.bb b/meta-networking/recipes-connectivity/tayga/tayga_0.9.2.bb index 36d35e6de..f6b58559d 100644 --- a/meta-networking/recipes-connectivity/tayga/tayga_0.9.2.bb +++ b/meta-networking/recipes-connectivity/tayga/tayga_0.9.2.bb | |||
@@ -13,9 +13,9 @@ SYSTEMD_PACKAGES = "${PN}" | |||
13 | SYSTEMD_SERVICE:${PN} = "tayga.service" | 13 | SYSTEMD_SERVICE:${PN} = "tayga.service" |
14 | 14 | ||
15 | do_install:append() { | 15 | do_install:append() { |
16 | install -m 0644 ${WORKDIR}/tayga.conf ${D}${sysconfdir}/tayga.conf | 16 | install -m 0644 ${UNPACKDIR}/tayga.conf ${D}${sysconfdir}/tayga.conf |
17 | install -d ${D}${systemd_unitdir}/system/ | 17 | install -d ${D}${systemd_unitdir}/system/ |
18 | install -m 0644 ${WORKDIR}/tayga.service ${D}${systemd_unitdir}/system/ | 18 | install -m 0644 ${UNPACKDIR}/tayga.service ${D}${systemd_unitdir}/system/ |
19 | } | 19 | } |
20 | 20 | ||
21 | inherit autotools systemd | 21 | inherit autotools systemd |
diff --git a/meta-networking/recipes-connectivity/vpnc/vpnc_0.5.3.bb b/meta-networking/recipes-connectivity/vpnc/vpnc_0.5.3.bb index fe9c038f5..5876b5827 100644 --- a/meta-networking/recipes-connectivity/vpnc/vpnc_0.5.3.bb +++ b/meta-networking/recipes-connectivity/vpnc/vpnc_0.5.3.bb | |||
@@ -38,14 +38,14 @@ inherit perlnative pkgconfig | |||
38 | do_configure:append () { | 38 | do_configure:append () { |
39 | # Make sure we use our nativeperl wrapper | 39 | # Make sure we use our nativeperl wrapper |
40 | sed -i "1s:#!.*:#!/usr/bin/env nativeperl:" ${S}/*.pl | 40 | sed -i "1s:#!.*:#!/usr/bin/env nativeperl:" ${S}/*.pl |
41 | cp ${WORKDIR}/long-help ${S} | 41 | cp ${UNPACKDIR}/long-help ${S} |
42 | } | 42 | } |
43 | 43 | ||
44 | do_install () { | 44 | do_install () { |
45 | sed -i s:m600:m\ 600:g Makefile | 45 | sed -i s:m600:m\ 600:g Makefile |
46 | oe_runmake 'DESTDIR=${D}' 'PREFIX=/usr' install | 46 | oe_runmake 'DESTDIR=${D}' 'PREFIX=/usr' install |
47 | rm -f ${D}${sysconfdir}/vpnc/vpnc.conf #This file is useless | 47 | rm -f ${D}${sysconfdir}/vpnc/vpnc.conf #This file is useless |
48 | install ${WORKDIR}/default.conf ${D}${sysconfdir}/vpnc/default.conf | 48 | install ${UNPACKDIR}/default.conf ${D}${sysconfdir}/vpnc/default.conf |
49 | } | 49 | } |
50 | 50 | ||
51 | SYSROOT_PREPROCESS_FUNCS += "vpnc_sysroot_preprocess" | 51 | SYSROOT_PREPROCESS_FUNCS += "vpnc_sysroot_preprocess" |