[oe] [meta-networking][PATCH v3] dhcpcd: add recipe for dhcpcd

Khem Raj raj.khem at gmail.com
Wed Jan 13 22:40:05 UTC 2016


> On Jan 13, 2016, at 2:07 PM, Nate Karstens <nate.karstens at garmin.com> wrote:
> 
> Adds a new recipe for dhcpcd version 6.10.0.
> 
> Signed-off-by: Nate Karstens <nate.karstens at garmin.com>
> ---
> .../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
> 
> diff --git a/meta-networking/recipes-connectivity/dhcpcd/dhcpcd_6.10.0.bb b/meta-networking/recipes-connectivity/dhcpcd/dhcpcd_6.10.0.bb
> new file mode 100644
> index 0000000..6478a02
> --- /dev/null
> +++ b/meta-networking/recipes-connectivity/dhcpcd/dhcpcd_6.10.0.bb
> @@ -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}”

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

> +EXTRA_OECONF = "--enable-ipv4 --enable-ipv6"
> +
> +FILES_${PN}-dbg += "/usr/lib/dhcpcd/dev/.debug”

use ${libdir} instead of /usr/lib

> +
> +RDEPENDS_${PN} = "udev"
> --
> 1.9.1
> 
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 204 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20160113/f248fbb7/attachment-0002.sig>


More information about the Openembedded-devel mailing list