diff options
Diffstat (limited to 'meta/recipes-connectivity/dhcpcd')
-rw-r--r-- | meta/recipes-connectivity/dhcpcd/dhcpcd_10.2.4.bb (renamed from meta/recipes-connectivity/dhcpcd/dhcpcd_10.0.6.bb) | 14 | ||||
-rw-r--r-- | meta/recipes-connectivity/dhcpcd/files/0001-20-resolv.conf-improve-the-sitation-of-working-with-.patch | 11 | ||||
-rw-r--r-- | meta/recipes-connectivity/dhcpcd/files/0001-dhcpcd.8-Fix-conflict-error-when-enable-multilib.patch | 7 | ||||
-rw-r--r-- | meta/recipes-connectivity/dhcpcd/files/0001-remove-INCLUDEDIR-to-prevent-build-issues.patch | 9 |
4 files changed, 21 insertions, 20 deletions
diff --git a/meta/recipes-connectivity/dhcpcd/dhcpcd_10.0.6.bb b/meta/recipes-connectivity/dhcpcd/dhcpcd_10.2.4.bb index 6bde9b1f51..bfb24aa58c 100644 --- a/meta/recipes-connectivity/dhcpcd/dhcpcd_10.0.6.bb +++ b/meta/recipes-connectivity/dhcpcd/dhcpcd_10.2.4.bb | |||
@@ -7,7 +7,7 @@ DESCRIPTION = "dhcpcd runs on your machine and silently configures your \ | |||
7 | HOMEPAGE = "http://roy.marples.name/projects/dhcpcd/" | 7 | HOMEPAGE = "http://roy.marples.name/projects/dhcpcd/" |
8 | 8 | ||
9 | LICENSE = "BSD-2-Clause" | 9 | LICENSE = "BSD-2-Clause" |
10 | LIC_FILES_CHKSUM = "file://LICENSE;md5=ba9c7e534853aaf3de76c905b2410ffd" | 10 | LIC_FILES_CHKSUM = "file://LICENSE;md5=4dda5beb433a809f2e0aeffbf9da3d91" |
11 | 11 | ||
12 | SRC_URI = "git://github.com/NetworkConfiguration/dhcpcd;protocol=https;branch=master \ | 12 | SRC_URI = "git://github.com/NetworkConfiguration/dhcpcd;protocol=https;branch=master \ |
13 | file://0001-remove-INCLUDEDIR-to-prevent-build-issues.patch \ | 13 | file://0001-remove-INCLUDEDIR-to-prevent-build-issues.patch \ |
@@ -17,9 +17,9 @@ SRC_URI = "git://github.com/NetworkConfiguration/dhcpcd;protocol=https;branch=ma | |||
17 | file://0001-dhcpcd.8-Fix-conflict-error-when-enable-multilib.patch \ | 17 | file://0001-dhcpcd.8-Fix-conflict-error-when-enable-multilib.patch \ |
18 | " | 18 | " |
19 | 19 | ||
20 | SRCREV = "1c8ae59836fa87b4c63c598087f0460ec20ed862" | 20 | SRCREV = "93df2b254caf9639f9ffb66e0fe2b584eeba6220" |
21 | S = "${WORKDIR}/git" | ||
22 | 21 | ||
22 | # Doesn't use automake so we can't do out-of-tree builds | ||
23 | inherit pkgconfig autotools-brokensep systemd useradd | 23 | inherit pkgconfig autotools-brokensep systemd useradd |
24 | 24 | ||
25 | SYSTEMD_SERVICE:${PN} = "dhcpcd.service" | 25 | SYSTEMD_SERVICE:${PN} = "dhcpcd.service" |
@@ -49,10 +49,16 @@ EXTRA_OECONF = "--enable-ipv4 \ | |||
49 | USERADD_PACKAGES = "${PN}" | 49 | USERADD_PACKAGES = "${PN}" |
50 | USERADD_PARAM:${PN} = "--system -d ${DBDIR} -M -s /bin/false -U dhcpcd" | 50 | USERADD_PARAM:${PN} = "--system -d ${DBDIR} -M -s /bin/false -U dhcpcd" |
51 | 51 | ||
52 | # This isn't autoconf but is instead a configure script that tries to look like | ||
53 | # autoconf, so just run it directly. | ||
54 | do_configure() { | ||
55 | oe_runconf | ||
56 | } | ||
57 | |||
52 | do_install:append () { | 58 | do_install:append () { |
53 | # install systemd unit files | 59 | # install systemd unit files |
54 | install -d ${D}${systemd_system_unitdir} | 60 | install -d ${D}${systemd_system_unitdir} |
55 | install -m 0644 ${WORKDIR}/dhcpcd*.service ${D}${systemd_system_unitdir} | 61 | install -m 0644 ${UNPACKDIR}/dhcpcd*.service ${D}${systemd_system_unitdir} |
56 | 62 | ||
57 | chmod 700 ${D}${DBDIR} | 63 | chmod 700 ${D}${DBDIR} |
58 | chown dhcpcd:dhcpcd ${D}${DBDIR} | 64 | chown dhcpcd:dhcpcd ${D}${DBDIR} |
diff --git a/meta/recipes-connectivity/dhcpcd/files/0001-20-resolv.conf-improve-the-sitation-of-working-with-.patch b/meta/recipes-connectivity/dhcpcd/files/0001-20-resolv.conf-improve-the-sitation-of-working-with-.patch index 8d1ed6671a..512e33aebf 100644 --- a/meta/recipes-connectivity/dhcpcd/files/0001-20-resolv.conf-improve-the-sitation-of-working-with-.patch +++ b/meta/recipes-connectivity/dhcpcd/files/0001-20-resolv.conf-improve-the-sitation-of-working-with-.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 02acc4d875ee81e6fd19ef66d69c9f55b4b4a7e7 Mon Sep 17 00:00:00 2001 | 1 | From d1581ce103db0a5db0b1761907fff9ddd6b55a8a Mon Sep 17 00:00:00 2001 |
2 | From: Chen Qi <Qi.Chen@windriver.com> | 2 | From: Chen Qi <Qi.Chen@windriver.com> |
3 | Date: Wed, 9 Nov 2022 16:33:18 +0800 | 3 | Date: Wed, 9 Nov 2022 16:33:18 +0800 |
4 | Subject: [PATCH] 20-resolv.conf: improve the sitation of working with systemd | 4 | Subject: [PATCH] 20-resolv.conf: improve the sitation of working with systemd |
@@ -27,7 +27,7 @@ Signed-off-by: Chen Qi <Qi.Chen@windriver.com> | |||
27 | 1 file changed, 13 insertions(+), 4 deletions(-) | 27 | 1 file changed, 13 insertions(+), 4 deletions(-) |
28 | 28 | ||
29 | diff --git a/hooks/20-resolv.conf b/hooks/20-resolv.conf | 29 | diff --git a/hooks/20-resolv.conf b/hooks/20-resolv.conf |
30 | index 7c29e276..becc019f 100644 | 30 | index bd0b0df5..9c7721de 100644 |
31 | --- a/hooks/20-resolv.conf | 31 | --- a/hooks/20-resolv.conf |
32 | +++ b/hooks/20-resolv.conf | 32 | +++ b/hooks/20-resolv.conf |
33 | @@ -11,8 +11,12 @@ nocarrier_roaming_dir="$state_dir/roaming" | 33 | @@ -11,8 +11,12 @@ nocarrier_roaming_dir="$state_dir/roaming" |
@@ -59,7 +59,7 @@ index 7c29e276..becc019f 100644 | |||
59 | fi | 59 | fi |
60 | rm -f "$cf" | 60 | rm -f "$cf" |
61 | } | 61 | } |
62 | @@ -170,7 +179,7 @@ add_resolv_conf() | 62 | @@ -179,7 +188,7 @@ add_resolv_conf() |
63 | for x in ${new_domain_name_servers}; do | 63 | for x in ${new_domain_name_servers}; do |
64 | conf="${conf}nameserver $x$NL" | 64 | conf="${conf}nameserver $x$NL" |
65 | done | 65 | done |
@@ -68,7 +68,7 @@ index 7c29e276..becc019f 100644 | |||
68 | [ -n "$ifmetric" ] && export IF_METRIC="$ifmetric" | 68 | [ -n "$ifmetric" ] && export IF_METRIC="$ifmetric" |
69 | printf %s "$conf" | "$resolvconf" -a "$ifname" | 69 | printf %s "$conf" | "$resolvconf" -a "$ifname" |
70 | return $? | 70 | return $? |
71 | @@ -186,7 +195,7 @@ add_resolv_conf() | 71 | @@ -195,7 +204,7 @@ add_resolv_conf() |
72 | 72 | ||
73 | remove_resolv_conf() | 73 | remove_resolv_conf() |
74 | { | 74 | { |
@@ -77,6 +77,3 @@ index 7c29e276..becc019f 100644 | |||
77 | "$resolvconf" -d "$ifname" -f | 77 | "$resolvconf" -d "$ifname" -f |
78 | else | 78 | else |
79 | if [ -e "$resolv_conf_dir/$ifname" ]; then | 79 | if [ -e "$resolv_conf_dir/$ifname" ]; then |
80 | -- | ||
81 | 2.17.1 | ||
82 | |||
diff --git a/meta/recipes-connectivity/dhcpcd/files/0001-dhcpcd.8-Fix-conflict-error-when-enable-multilib.patch b/meta/recipes-connectivity/dhcpcd/files/0001-dhcpcd.8-Fix-conflict-error-when-enable-multilib.patch index 461d04bd1d..484b84f94a 100644 --- a/meta/recipes-connectivity/dhcpcd/files/0001-dhcpcd.8-Fix-conflict-error-when-enable-multilib.patch +++ b/meta/recipes-connectivity/dhcpcd/files/0001-dhcpcd.8-Fix-conflict-error-when-enable-multilib.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 5d5ba8a2b8010db6bee68bd712f829cb737c9ac1 Mon Sep 17 00:00:00 2001 | 1 | From e9b1376c59b15e7b03611429187d9d89167154b5 Mon Sep 17 00:00:00 2001 |
2 | From: Lei Maohui <leimaohui@fujitsu.com> | 2 | From: Lei Maohui <leimaohui@fujitsu.com> |
3 | Date: Fri, 10 Mar 2023 03:48:46 +0000 | 3 | Date: Fri, 10 Mar 2023 03:48:46 +0000 |
4 | Subject: [PATCH] dhcpcd.8: Fix conflict error when enable multilib. | 4 | Subject: [PATCH] dhcpcd.8: Fix conflict error when enable multilib. |
@@ -24,16 +24,15 @@ versions. | |||
24 | 24 | ||
25 | Upstream-Status: Inappropriate [oe specific] | 25 | Upstream-Status: Inappropriate [oe specific] |
26 | Signed-off-by: Lei Maohui <leimaohui@fujitsu.com> | 26 | Signed-off-by: Lei Maohui <leimaohui@fujitsu.com> |
27 | |||
28 | --- | 27 | --- |
29 | src/dhcpcd.8.in | 2 +- | 28 | src/dhcpcd.8.in | 2 +- |
30 | 1 file changed, 1 insertion(+), 1 deletion(-) | 29 | 1 file changed, 1 insertion(+), 1 deletion(-) |
31 | 30 | ||
32 | diff --git a/src/dhcpcd.8.in b/src/dhcpcd.8.in | 31 | diff --git a/src/dhcpcd.8.in b/src/dhcpcd.8.in |
33 | index 93232840..09930a31 100644 | 32 | index 91fdde2c..b467dc3b 100644 |
34 | --- a/src/dhcpcd.8.in | 33 | --- a/src/dhcpcd.8.in |
35 | +++ b/src/dhcpcd.8.in | 34 | +++ b/src/dhcpcd.8.in |
36 | @@ -824,7 +824,7 @@ Configuration file for dhcpcd. | 35 | @@ -826,7 +826,7 @@ Configuration file for dhcpcd. |
37 | If you always use the same options, put them here. | 36 | If you always use the same options, put them here. |
38 | .It Pa @SCRIPT@ | 37 | .It Pa @SCRIPT@ |
39 | Bourne shell script that is run to configure or de-configure an interface. | 38 | Bourne shell script that is run to configure or de-configure an interface. |
diff --git a/meta/recipes-connectivity/dhcpcd/files/0001-remove-INCLUDEDIR-to-prevent-build-issues.patch b/meta/recipes-connectivity/dhcpcd/files/0001-remove-INCLUDEDIR-to-prevent-build-issues.patch index c54942be4b..fd3fae7e7e 100644 --- a/meta/recipes-connectivity/dhcpcd/files/0001-remove-INCLUDEDIR-to-prevent-build-issues.patch +++ b/meta/recipes-connectivity/dhcpcd/files/0001-remove-INCLUDEDIR-to-prevent-build-issues.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From ec9fc4e6086e1dbe0ac2f94a8a088a571596a581 Mon Sep 17 00:00:00 2001 | 1 | From c2ebc32112e0cd29390b4dc951b65efae36d607b Mon Sep 17 00:00:00 2001 |
2 | From: Stefano Cappa <stefano.cappa.ks89@gmail.com> | 2 | From: Stefano Cappa <stefano.cappa.ks89@gmail.com> |
3 | Date: Sun, 13 Jan 2019 01:50:52 +0100 | 3 | Date: Sun, 13 Jan 2019 01:50:52 +0100 |
4 | Subject: [PATCH] remove INCLUDEDIR to prevent build issues | 4 | Subject: [PATCH] remove INCLUDEDIR to prevent build issues |
@@ -6,13 +6,12 @@ Subject: [PATCH] remove INCLUDEDIR to prevent build issues | |||
6 | Upstream-Status: Pending | 6 | Upstream-Status: Pending |
7 | 7 | ||
8 | Signed-off-by: Stefano Cappa <stefano.cappa.ks89@gmail.com> | 8 | Signed-off-by: Stefano Cappa <stefano.cappa.ks89@gmail.com> |
9 | |||
10 | --- | 9 | --- |
11 | configure | 5 ----- | 10 | configure | 5 ----- |
12 | 1 file changed, 5 deletions(-) | 11 | 1 file changed, 5 deletions(-) |
13 | 12 | ||
14 | diff --git a/configure b/configure | 13 | diff --git a/configure b/configure |
15 | index 5237b0e2..7220718b 100755 | 14 | index a60da137..3673de8b 100755 |
16 | --- a/configure | 15 | --- a/configure |
17 | +++ b/configure | 16 | +++ b/configure |
18 | @@ -26,7 +26,6 @@ BUILD= | 17 | @@ -26,7 +26,6 @@ BUILD= |
@@ -23,7 +22,7 @@ index 5237b0e2..7220718b 100755 | |||
23 | DEBUG= | 22 | DEBUG= |
24 | FORK= | 23 | FORK= |
25 | STATIC= | 24 | STATIC= |
26 | @@ -86,7 +85,6 @@ for x do | 25 | @@ -89,7 +88,6 @@ for x do |
27 | --mandir) MANDIR=$var;; | 26 | --mandir) MANDIR=$var;; |
28 | --datadir) DATADIR=$var;; | 27 | --datadir) DATADIR=$var;; |
29 | --with-ccopts|CFLAGS) CFLAGS=$var;; | 28 | --with-ccopts|CFLAGS) CFLAGS=$var;; |
@@ -31,7 +30,7 @@ index 5237b0e2..7220718b 100755 | |||
31 | CC) CC=$var;; | 30 | CC) CC=$var;; |
32 | CPPFLAGS) CPPFLAGS=$var;; | 31 | CPPFLAGS) CPPFLAGS=$var;; |
33 | PKG_CONFIG) PKG_CONFIG=$var;; | 32 | PKG_CONFIG) PKG_CONFIG=$var;; |
34 | @@ -343,9 +341,6 @@ if [ -n "$CPPFLAGS" ]; then | 33 | @@ -346,9 +344,6 @@ if [ -n "$CPPFLAGS" ]; then |
35 | echo "CPPFLAGS=" >>$CONFIG_MK | 34 | echo "CPPFLAGS=" >>$CONFIG_MK |
36 | echo "CPPFLAGS+= $CPPFLAGS" >>$CONFIG_MK | 35 | echo "CPPFLAGS+= $CPPFLAGS" >>$CONFIG_MK |
37 | fi | 36 | fi |