summaryrefslogtreecommitdiff
path: root/packages/dhclient
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2005-06-30 08:19:37 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-06-30 08:19:37 +0000
commitc8e5702127e507e82e6f68a4b8c546803accea9d (patch)
tree00583491f40ecc640f2b28452af995e3a63a09d7 /packages/dhclient
parent87ec8ca4d2e2eb4d1c1e1e1a6b46a395d56805b9 (diff)
import clean BK tree at cset 1.3670
Diffstat (limited to 'packages/dhclient')
-rw-r--r--packages/dhclient/.mtn2git_empty0
-rw-r--r--packages/dhclient/dhclient-2.0pl5/.mtn2git_empty0
-rw-r--r--packages/dhclient/dhclient-2.0pl5/make.patch38
-rw-r--r--packages/dhclient/dhclient_2.0pl5.bb17
4 files changed, 55 insertions, 0 deletions
diff --git a/packages/dhclient/.mtn2git_empty b/packages/dhclient/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/dhclient/.mtn2git_empty
diff --git a/packages/dhclient/dhclient-2.0pl5/.mtn2git_empty b/packages/dhclient/dhclient-2.0pl5/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/dhclient/dhclient-2.0pl5/.mtn2git_empty
diff --git a/packages/dhclient/dhclient-2.0pl5/make.patch b/packages/dhclient/dhclient-2.0pl5/make.patch
index e69de29bb2..2052cca190 100644
--- a/packages/dhclient/dhclient-2.0pl5/make.patch
+++ b/packages/dhclient/dhclient-2.0pl5/make.patch
@@ -0,0 +1,38 @@
+diff -ur dhcp-2.0pl5/common/Makefile.dist dhcp-2.0pl5-z/common/Makefile.dist
+--- dhcp-2.0pl5/common/Makefile.dist 1999-05-27 13:44:51.000000000 -0400
++++ dhcp-2.0pl5-z/common/Makefile.dist 2003-01-24 20:09:33.000000000 -0500
+@@ -50,8 +50,8 @@
+
+ libdhcp.a: $(OBJ)
+ rm -f libdhcp.a
+- ar cruv libdhcp.a $(OBJ)
+- ranlib libdhcp.a
++ $(AR) cruv libdhcp.a $(OBJ)
++ $(RANLIB) libdhcp.a
+
+ install: all
+ for dir in $(FFMANDIR); do \
+diff -ur dhcp-2.0pl5/Makefile.conf dhcp-2.0pl5-z/Makefile.conf
+--- dhcp-2.0pl5/Makefile.conf 2000-07-20 01:06:34.000000000 -0400
++++ dhcp-2.0pl5-z/Makefile.conf 2003-01-24 20:09:52.000000000 -0500
+@@ -254,6 +254,20 @@
+ #SCRIPT=linux
+ ##--linux-2.2--
+
++## Linux ARM
++##--linux-arm--
++#COPTS = -DLINUX_MAJOR=$(MAJORVERSION) -DLINUX_MINOR=$(MINORVERSION) $(CLAGS)
++#CF = cf/linux.h
++#ADMMANDIR = /usr/man/man8
++#ADMMANEXT = .8
++#FFMANDIR = /usr/share/man/man5
++#FFMANEXT = .5
++#MANCAT = man
++#VARRUN = /var/run
++#VARDB = /var/state/dhcp # see rationale in includes/cf/linux.h
++#SCRIPT=linux
++##--linux-arm--
++
+ ## SCO
+ ##--sco--
+ #CF = cf/sco.h
diff --git a/packages/dhclient/dhclient_2.0pl5.bb b/packages/dhclient/dhclient_2.0pl5.bb
index e69de29bb2..cee9cdece2 100644
--- a/packages/dhclient/dhclient_2.0pl5.bb
+++ b/packages/dhclient/dhclient_2.0pl5.bb
@@ -0,0 +1,17 @@
+SECTION = "console/network"
+DESCRIPTION = "ISC DHCP Distribution (client and server)."
+LICENSE = "BSD"
+
+SRC_URI = "ftp://ftp.isc.org/isc/dhcp/dhcp-${PV}.tar.gz \
+ file://make.patch;patch=1"
+S = "${WORKDIR}/dhcp-${PV}"
+
+export BINDIR = "${sbindir}"
+
+do_configure () {
+ ./configure ${TARGET_SYS}
+}
+
+do_install () {
+ oe_runmake "DESTDIR=${D}" install
+}