summaryrefslogtreecommitdiff
path: root/recipes/dhcpcd
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
committerDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
commit709c4d66e0b107ca606941b988bad717c0b45d9b (patch)
tree37ee08b1eb308f3b2b6426d5793545c38396b838 /recipes/dhcpcd
parentfa6cd5a3b993f16c27de4ff82b42684516d433ba (diff)
rename packages/ to recipes/ per earlier agreement
See links below for more details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326 http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816 Signed-off-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Mike Westerhof <mwester@dls.net> Acked-by: Philip Balister <philip@balister.org> Acked-by: Khem Raj <raj.khem@gmail.com> Acked-by: Marcin Juszkiewicz <hrw@openembedded.org> Acked-by: Koen Kooi <koen@openembedded.org> Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes/dhcpcd')
-rw-r--r--recipes/dhcpcd/dhcpcd-1.3.22-pl4/config_dir.patch16
-rw-r--r--recipes/dhcpcd/dhcpcd-1.3.22-pl4/paths.patch17
-rw-r--r--recipes/dhcpcd/dhcpcd_1.3.22-pl4.bb17
3 files changed, 50 insertions, 0 deletions
diff --git a/recipes/dhcpcd/dhcpcd-1.3.22-pl4/config_dir.patch b/recipes/dhcpcd/dhcpcd-1.3.22-pl4/config_dir.patch
new file mode 100644
index 0000000000..b06a026cd5
--- /dev/null
+++ b/recipes/dhcpcd/dhcpcd-1.3.22-pl4/config_dir.patch
@@ -0,0 +1,16 @@
+
+#
+# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
+#
+
+--- dhcpcd-1.3.22-pl4/pathnames.h~config_dir
++++ dhcpcd-1.3.22-pl4/pathnames.h
+@@ -37,7 +37,7 @@
+ #define NIS_CONF "/etc/config/yp.conf"
+ #define NTP_CONF "/etc/config/ntp.conf"
+ #else
+-#define CONFIG_DIR "/etc/dhcpc"
++#define CONFIG_DIR "/var/run"
+ #define RESOLV_CONF "/etc/resolv.conf"
+ #define NIS_CONF "/etc/yp.conf"
+ #define NTP_CONF "/etc/ntp.conf"
diff --git a/recipes/dhcpcd/dhcpcd-1.3.22-pl4/paths.patch b/recipes/dhcpcd/dhcpcd-1.3.22-pl4/paths.patch
new file mode 100644
index 0000000000..adfe24688e
--- /dev/null
+++ b/recipes/dhcpcd/dhcpcd-1.3.22-pl4/paths.patch
@@ -0,0 +1,17 @@
+--- dhcpcd-1.3.22-pl4/Makefile.am.old 2005-05-28 12:01:34.000000000 +0100
++++ dhcpcd-1.3.22-pl4/Makefile.am 2005-05-28 12:02:30.000000000 +0100
+@@ -44,10 +44,10 @@
+ ##bindir = /sbin
+ ##sbindir = /sbin
+ configdir = ${sysconfdir}/dhcpc
+-bindir = ${prefix}/sbin
+-sbindir = ${exec_prefix}/sbin
+-mandir = /usr/man
+-docdir = /usr/doc
++##bindir = ${prefix}/sbin
++##sbindir = ${exec_prefix}/sbin
++##mandir = /usr/man
++##docdir = /usr/doc
+
+ config_DATA =
+
diff --git a/recipes/dhcpcd/dhcpcd_1.3.22-pl4.bb b/recipes/dhcpcd/dhcpcd_1.3.22-pl4.bb
new file mode 100644
index 0000000000..63c8023302
--- /dev/null
+++ b/recipes/dhcpcd/dhcpcd_1.3.22-pl4.bb
@@ -0,0 +1,17 @@
+SECTION = "console/network"
+LICENSE = "GPL"
+DESCRIPTION = "dhcpcd is an RFC2131-, RFC2132-, and \
+RFC1541-compliant DHCP client daemon. It gets an IP address \
+and other information from the DHCP server, automatically \
+configures the network interface, and tries to renew the \
+lease time according to RFC2131 or RFC1541."
+PR = "r1"
+
+sbindir = "/sbin"
+
+SRC_URI = "http://www.phystech.com/ftp/dhcpcd-${PV}.tar.gz \
+ file://config_dir.patch;patch=1 \
+ file://paths.patch;patch=1"
+
+inherit autotools
+