diff options
Diffstat (limited to 'packages/dhclient')
-rw-r--r-- | packages/dhclient/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/dhclient/dhclient-2.0pl5/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/dhclient/dhclient-2.0pl5/make.patch | 38 | ||||
-rw-r--r-- | packages/dhclient/dhclient_2.0pl5.bb | 17 |
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 +} |