diff options
author | Wang Mingyu <wangmy@fujitsu.com> | 2023-12-27 21:07:30 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-12-30 11:03:07 +0000 |
commit | c541bd3f3cc1d90a83d61398ad015716dfded2e5 (patch) | |
tree | 85080f8d219a0e777e5506d8e6495021dee83a7a /meta/recipes-connectivity/dhcpcd/dhcpcd_10.0.6.bb | |
parent | ca78b23f57519c6e82008bd3534a33569046910d (diff) | |
download | poky-c541bd3f3cc1d90a83d61398ad015716dfded2e5.tar.gz |
dhcpcd: upgrade 10.0.5 -> 10.0.6
0001-dhcpcd.8-Fix-conflict-error-when-enable-multilib.patch
0001-remove-INCLUDEDIR-to-prevent-build-issues.patch
refreshed for 10.0.6
Changelog:
==========
-privsep: Stop proxying stderr to console and fix some detachment issues
-non-privsep: Fix launcher hangup
-DHCP6: Allow the invalid interface name - to mean don't assign an address from a delegated prefix
-DHCP6: Load the configuration for the interface being activated from prefix delegation
(From OE-Core rev: 9f813cdbb789423219cb83affd40cd0f3c377485)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/dhcpcd/dhcpcd_10.0.6.bb')
-rw-r--r-- | meta/recipes-connectivity/dhcpcd/dhcpcd_10.0.6.bb | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/dhcpcd/dhcpcd_10.0.6.bb b/meta/recipes-connectivity/dhcpcd/dhcpcd_10.0.6.bb new file mode 100644 index 0000000000..6bde9b1f51 --- /dev/null +++ b/meta/recipes-connectivity/dhcpcd/dhcpcd_10.0.6.bb | |||
@@ -0,0 +1,61 @@ | |||
1 | SECTION = "console/network" | ||
2 | SUMMARY = "dhcpcd - a DHCP client" | ||
3 | DESCRIPTION = "dhcpcd runs on your machine and silently configures your \ | ||
4 | computer to work on the attached networks without trouble \ | ||
5 | and mostly without configuration." | ||
6 | |||
7 | HOMEPAGE = "http://roy.marples.name/projects/dhcpcd/" | ||
8 | |||
9 | LICENSE = "BSD-2-Clause" | ||
10 | LIC_FILES_CHKSUM = "file://LICENSE;md5=ba9c7e534853aaf3de76c905b2410ffd" | ||
11 | |||
12 | SRC_URI = "git://github.com/NetworkConfiguration/dhcpcd;protocol=https;branch=master \ | ||
13 | file://0001-remove-INCLUDEDIR-to-prevent-build-issues.patch \ | ||
14 | file://0001-20-resolv.conf-improve-the-sitation-of-working-with-.patch \ | ||
15 | file://dhcpcd.service \ | ||
16 | file://dhcpcd@.service \ | ||
17 | file://0001-dhcpcd.8-Fix-conflict-error-when-enable-multilib.patch \ | ||
18 | " | ||
19 | |||
20 | SRCREV = "1c8ae59836fa87b4c63c598087f0460ec20ed862" | ||
21 | S = "${WORKDIR}/git" | ||
22 | |||
23 | inherit pkgconfig autotools-brokensep systemd useradd | ||
24 | |||
25 | SYSTEMD_SERVICE:${PN} = "dhcpcd.service" | ||
26 | |||
27 | PACKAGECONFIG ?= "udev ${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)}" | ||
28 | |||
29 | PACKAGECONFIG[udev] = "--with-udev,--without-udev,udev,udev" | ||
30 | PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6" | ||
31 | # ntp conflicts with chrony | ||
32 | PACKAGECONFIG[ntp] = "--with-hook=ntp, , ,ntp" | ||
33 | PACKAGECONFIG[chrony] = "--with-hook=ntp, , ,chrony" | ||
34 | PACKAGECONFIG[ypbind] = "--with-eghook=yp, , ,ypbind-mt" | ||
35 | |||
36 | # add option to override DBDIR location | ||
37 | DBDIR ?= "${localstatedir}/lib/${BPN}" | ||
38 | |||
39 | EXTRA_OECONF = "--enable-ipv4 \ | ||
40 | --dbdir=${DBDIR} \ | ||
41 | --sbindir=${base_sbindir} \ | ||
42 | --runstatedir=/run \ | ||
43 | --enable-privsep \ | ||
44 | --privsepuser=dhcpcd \ | ||
45 | --with-hooks \ | ||
46 | --with-eghooks \ | ||
47 | " | ||
48 | |||
49 | USERADD_PACKAGES = "${PN}" | ||
50 | USERADD_PARAM:${PN} = "--system -d ${DBDIR} -M -s /bin/false -U dhcpcd" | ||
51 | |||
52 | do_install:append () { | ||
53 | # install systemd unit files | ||
54 | install -d ${D}${systemd_system_unitdir} | ||
55 | install -m 0644 ${WORKDIR}/dhcpcd*.service ${D}${systemd_system_unitdir} | ||
56 | |||
57 | chmod 700 ${D}${DBDIR} | ||
58 | chown dhcpcd:dhcpcd ${D}${DBDIR} | ||
59 | } | ||
60 | |||
61 | FILES:${PN}-dbg += "${libdir}/dhcpcd/dev/.debug" | ||