Skip to contentSkip to conversation

dhcpcd: add recipe for dhcpcd

PATCH Superseded Nate Karstens 2 participants 2 messages Jan 13, 2016

v3 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 dhcpcd: add recipe for dhcpcd

Adds a new recipe for dhcpcd version 6.10.0.

---
 .../recipes-connectivity/dhcpcd/dhcpcd_6.10.0.bb   | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 meta-networking/recipes-connectivity/dhcpcd/dhcpcd_6.10.0.bb
meta-networking/recipes-connectivity/dhcpcd/dhcpcd_6.10.0.bb new file +22 -0
new file mode 100644
index 0000000..6478a02
@@ -0,0 +1,22 @@
+SECTION = "console/network"
+SUMMARY = "dhcpcd - a DHCP client"
+DESCRIPTION = "dhcpcd runs on your machine and silently configures your computer to work on the attached networks without trouble and mostly without configuration."
+
+HOMEPAGE = "http://roy.marples.name/projects/dhcpcd/"
+
+LICENSE = "BSD-2-Clause"
+LIC_FILES_CHKSUM = "file://dhcpcd.c;endline=26;md5=77c40d671aff804ca91ea99556da8e9b"
+
+SRC_URI = "http://roy.marples.name/downloads/${BPN}/${BPN}-${PV}.tar.xz"
+
+SRC_URI[md5sum] = "f39c5773e7c4bea352d9fb7367c899de"
+SRC_URI[sha256sum] = "ab56af9b2e86913c55a965cb0f835e87749df78318564acf90d5d698f413ad35"
+
+inherit autotools
+
+B = "${S}"
+EXTRA_OECONF = "--enable-ipv4 --enable-ipv6"
+
+FILES_${PN}-dbg += "/usr/lib/dhcpcd/dev/.debug"
+
+RDEPENDS_${PN} = "udev"
Signature · 1 line
1.9.1
#1 lore raw
Quoted 24 lines · Nate Karstens

Adds a new recipe for dhcpcd version 6.10.0.

---
.../recipes-connectivity/dhcpcd/dhcpcd_6.10.0.bb | 22 ++++++++++++++++++++++

1 file changed, 22 insertions(+)

create mode 100644 meta-networking/recipes-connectivity/dhcpcd/dhcpcd_6.10.0.bb

meta-networking/recipes-connectivity/dhcpcd/dhcpcd_6.10.0.bb new file +7 -0
new file mode 100644
index 0000000..6478a02
@@ -0,0 +1,22 @@
+SECTION = "console/network"
+SUMMARY = "dhcpcd - a DHCP client"
+DESCRIPTION = "dhcpcd runs on your machine and silently configures your computer to work on the attached networks without trouble and mostly without configuration."
+
+HOMEPAGE = "http://roy.marples.name/projects/dhcpcd/"
+
+LICENSE = "BSD-2-Clause"

meta-networking/recipes-connectivity/dhcpcd/dhcpcd_6.10.0.bb line 17

Quoted 10 lines
meta-networking/recipes-connectivity/dhcpcd/dhcpcd_6.10.0.bb new file +10 -0
+LIC_FILES_CHKSUM = "file://dhcpcd.c;endline=26;md5=77c40d671aff804ca91ea99556da8e9b"
+
+SRC_URI = "http://roy.marples.name/downloads/${BPN}/${BPN}-${PV}.tar.xz"
+
+SRC_URI[md5sum] = "f39c5773e7c4bea352d9fb7367c899de"
+SRC_URI[sha256sum] = "ab56af9b2e86913c55a965cb0f835e87749df78318564acf90d5d698f413ad35"
+
+inherit autotools
+
+B = "${S}”

you could inherit autotools-brokensep instead of autotools and remove above two lines. ideally a fix to build it out of source tree would be choice #1

meta-networking/recipes-connectivity/dhcpcd/dhcpcd_6.10.0.bb

Quoted 3 lines
meta-networking/recipes-connectivity/dhcpcd/dhcpcd_6.10.0.bb new file +3 -0
+EXTRA_OECONF = "--enable-ipv4 --enable-ipv6"
+
+FILES_${PN}-dbg += "/usr/lib/dhcpcd/dev/.debug”

use ${libdir} instead of /usr/lib

Quoted 10 lines
meta-networking/recipes-connectivity/dhcpcd/dhcpcd_6.10.0.bb new file +2 -1
+
+RDEPENDS_${PN} = "udev"
--

1.9.1

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel