From: Nate Karstens <nate.karstens@garmin.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH] dhcpcd: add recipe for dhcpcd
Date: Wed, 9 Dec 2015 21:36:37 -0600 [thread overview]
Message-ID: <1449718597-2085-1-git-send-email-nate.karstens@garmin.com> (raw)
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.
Signed-off-by: Nate Karstens <nate.karstens@garmin.com>
---
.../dhcpcd/dhcpcd-6.9.4/configure.patch | 12 ++++++++++++
meta/recipes-connectivity/dhcpcd/dhcpcd_6.9.4.bb | 19 +++++++++++++++++++
2 files changed, 31 insertions(+)
create mode 100644 meta/recipes-connectivity/dhcpcd/dhcpcd-6.9.4/configure.patch
create mode 100644 meta/recipes-connectivity/dhcpcd/dhcpcd_6.9.4.bb
diff --git a/meta/recipes-connectivity/dhcpcd/dhcpcd-6.9.4/configure.patch b/meta/recipes-connectivity/dhcpcd/dhcpcd-6.9.4/configure.patch
new file mode 100644
index 0000000..d61b05e
--- /dev/null
+++ b/meta/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/recipes-connectivity/dhcpcd/dhcpcd_6.9.4.bb b/meta/recipes-connectivity/dhcpcd/dhcpcd_6.9.4.bb
new file mode 100644
index 0000000..1c0aff4
--- /dev/null
+++ b/meta/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
next reply other threads:[~2015-12-10 3:44 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-10 3:36 Nate Karstens [this message]
2015-12-22 17:04 ` [PATCH] dhcpcd: add recipe for dhcpcd Burton, Ross
2015-12-22 17:13 ` Karstens, Nate
2015-12-22 21:20 ` Burton, Ross
2015-12-22 21:30 ` Karstens, Nate
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1449718597-2085-1-git-send-email-nate.karstens@garmin.com \
--to=nate.karstens@garmin.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.