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

Khem Raj raj.khem at gmail.com
Thu Dec 24 18:43:21 UTC 2015


On Thu, Dec 24, 2015 at 2:50 AM, Nate Karstens <nate.karstens at garmin.com> wrote:
> Adds a new recipe for dhcpcd. Modifies the configure script to keep the
> host system header files from being used instead of the target system.
>

Can you also see how you differ with
https://github.com/sarnold/meta-alt-desktop-extras/blob/master/recipes-connectivity/dhcpcd/dhcpcd_1.3.22-pl4.bb

and I would prefer you to send a removal patch to above layer and let
it use it from meta-networking.

> Signed-off-by: Nate Karstens <nate.karstens at garmin.com>
> ---
>  .../dhcpcd/dhcpcd-6.9.4/configure.patch               | 12 ++++++++++++
>  .../recipes-connectivity/dhcpcd/dhcpcd_6.9.4.bb       | 19 +++++++++++++++++++
>  2 files changed, 31 insertions(+)
>  create mode 100644 meta-networking/recipes-connectivity/dhcpcd/dhcpcd-6.9.4/configure.patch
>  create mode 100644 meta-networking/recipes-connectivity/dhcpcd/dhcpcd_6.9.4.bb
>
> diff --git a/meta-networking/recipes-connectivity/dhcpcd/dhcpcd-6.9.4/configure.patch b/meta-networking/recipes-connectivity/dhcpcd/dhcpcd-6.9.4/configure.patch
> new file mode 100644
> index 0000000..d61b05e
> --- /dev/null
> +++ b/meta-networking/recipes-connectivity/dhcpcd/dhcpcd-6.9.4/configure.patch
> @@ -0,0 +1,12 @@
> +--- ./configure
> ++++ ./configure
> +@@ -316,9 +316,6 @@
> + if [ "$STATIC" = yes ]; then
> +       echo "LDFLAGS+= -static" >>$CONFIG_MK
> + fi
> +-for x in $INCLUDEDIR; do
> +-      echo "CPPFLAGS+=        -I$x" >>$CONFIG_MK
> +-done
> +
> + if [ -z "$DEBUG" -a -f .fslckout ]; then
> +       printf "Found fossil checkout ... "
> diff --git a/meta-networking/recipes-connectivity/dhcpcd/dhcpcd_6.9.4.bb b/meta-networking/recipes-connectivity/dhcpcd/dhcpcd_6.9.4.bb
> new file mode 100644
> index 0000000..1c0aff4
> --- /dev/null
> +++ b/meta-networking/recipes-connectivity/dhcpcd/dhcpcd_6.9.4.bb
> @@ -0,0 +1,19 @@
> +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=7daf225c91b8065ecc974fc594b2a7de"
> +
> +SRC_URI = "http://roy.marples.name/downloads/${BPN}/${BPN}-${PV}.tar.xz \
> +           file://configure.patch"
> +
> +SRC_URI[md5sum] = "02f5043a415cd4b6d089631a0cd95f5b"
> +SRC_URI[sha256sum] = "c3f3ff7473ef158a1e71db9aea7424df2c3477ad064e2b542f27948a5abc9ba0"
> +
> +inherit autotools
> +
> +B = "${S}"
> +EXTRA_OECONF = "--enable-ipv4 --enable-ipv6"
> --
> 1.9.1
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel



More information about the Openembedded-devel mailing list