diff options
author | akuster <akuster808@gmail.com> | 2020-09-01 08:22:32 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-09-02 16:00:46 +0100 |
commit | 1927abb2cd9c8a3f3a9a124c8200b00161e38184 (patch) | |
tree | 9a278a3bff13e8e85842d22c6d5fc3744ca027f6 /meta/recipes-connectivity | |
parent | 072e1a988061a2d59201cd4272eaea4488c56241 (diff) | |
download | poky-1927abb2cd9c8a3f3a9a124c8200b00161e38184.tar.gz |
dhcpcd: Move from meta-network as OE-Core needs a client
(From OE-Core rev: 087e4fafeef82cfd3d71402d6b200fe831f48697)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity')
-rw-r--r-- | meta/recipes-connectivity/dhcpcd/dhcpcd_9.1.4.bb | 28 | ||||
-rw-r--r-- | meta/recipes-connectivity/dhcpcd/files/0001-remove-INCLUDEDIR-to-prevent-build-issues.patch | 45 |
2 files changed, 73 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/dhcpcd/dhcpcd_9.1.4.bb b/meta/recipes-connectivity/dhcpcd/dhcpcd_9.1.4.bb new file mode 100644 index 0000000000..defd3420f0 --- /dev/null +++ b/meta/recipes-connectivity/dhcpcd/dhcpcd_9.1.4.bb | |||
@@ -0,0 +1,28 @@ | |||
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=9674cc803c5d71306941e6e8b5c002f2" | ||
11 | |||
12 | UPSTREAM_CHECK_URI = "https://roy.marples.name/downloads/dhcpcd/" | ||
13 | |||
14 | SRC_URI = "http://roy.marples.name/downloads/${BPN}/${BPN}-${PV}.tar.xz \ | ||
15 | file://0001-remove-INCLUDEDIR-to-prevent-build-issues.patch" | ||
16 | |||
17 | SRC_URI[sha256sum] = "5fe133e5497d8af6d26bd6e6b8dd48ab12d124d6cc4cefe6de6536ff97f76820" | ||
18 | |||
19 | inherit pkgconfig autotools-brokensep | ||
20 | |||
21 | PACKAGECONFIG ?= "udev ${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)}" | ||
22 | |||
23 | PACKAGECONFIG[udev] = "--with-udev,--without-udev,udev,udev" | ||
24 | PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6" | ||
25 | |||
26 | EXTRA_OECONF = "--enable-ipv4" | ||
27 | |||
28 | FILES_${PN}-dbg += "${libdir}/dhcpcd/dev/.debug" | ||
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 new file mode 100644 index 0000000000..37d2344438 --- /dev/null +++ b/meta/recipes-connectivity/dhcpcd/files/0001-remove-INCLUDEDIR-to-prevent-build-issues.patch | |||
@@ -0,0 +1,45 @@ | |||
1 | From aa9e3982c1e75ad49945a62f5e262279c7a905a4 Mon Sep 17 00:00:00 2001 | ||
2 | From: Stefano Cappa <stefano.cappa.ks89@gmail.com> | ||
3 | Date: Sun, 13 Jan 2019 01:50:52 +0100 | ||
4 | Subject: [PATCH] remove INCLUDEDIR to prevent build issues | ||
5 | |||
6 | Upstream-Status: Pending | ||
7 | |||
8 | Signed-off-by: Stefano Cappa <stefano.cappa.ks89@gmail.com> | ||
9 | --- | ||
10 | configure | 5 ----- | ||
11 | 1 file changed, 5 deletions(-) | ||
12 | |||
13 | diff --git a/configure b/configure | ||
14 | index 6c81e0db..32dea2b4 100755 | ||
15 | --- a/configure | ||
16 | +++ b/configure | ||
17 | @@ -20,7 +20,6 @@ BUILD= | ||
18 | HOST= | ||
19 | HOSTCC= | ||
20 | TARGET= | ||
21 | -INCLUDEDIR= | ||
22 | DEBUG= | ||
23 | FORK= | ||
24 | STATIC= | ||
25 | @@ -72,7 +71,6 @@ for x do | ||
26 | --mandir) MANDIR=$var;; | ||
27 | --datadir) DATADIR=$var;; | ||
28 | --with-ccopts|CFLAGS) CFLAGS=$var;; | ||
29 | - -I|--includedir) INCLUDEDIR="$INCLUDEDIR${INCLUDEDIR:+ }-I$var";; | ||
30 | CC) CC=$var;; | ||
31 | CPPFLAGS) CPPFLAGS=$var;; | ||
32 | PKG_CONFIG) PKG_CONFIG=$var;; | ||
33 | @@ -309,9 +307,6 @@ if [ -n "$CPPFLAGS" ]; then | ||
34 | echo "CPPFLAGS=" >>$CONFIG_MK | ||
35 | echo "CPPFLAGS+= $CPPFLAGS" >>$CONFIG_MK | ||
36 | fi | ||
37 | -if [ -n "$INCLUDEDIR" ]; then | ||
38 | - echo "CPPFLAGS+= $INCLUDEDIR" >>$CONFIG_MK | ||
39 | -fi | ||
40 | if [ -n "$LDFLAGS" ]; then | ||
41 | echo "LDFLAGS=" >>$CONFIG_MK | ||
42 | echo "LDFLAGS+= $LDFLAGS" >>$CONFIG_MK | ||
43 | -- | ||
44 | 2.17.2 (Apple Git-113) | ||
45 | |||