aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/dhcpcd
diff options
context:
space:
mode:
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
+