From 709c4d66e0b107ca606941b988bad717c0b45d9b Mon Sep 17 00:00:00 2001 From: Denys Dmytriyenko Date: Tue, 17 Mar 2009 14:32:59 -0400 Subject: 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 Acked-by: Mike Westerhof Acked-by: Philip Balister Acked-by: Khem Raj Acked-by: Marcin Juszkiewicz Acked-by: Koen Kooi Acked-by: Frans Meulenbroeks --- recipes/dhclient/README | 3 +++ recipes/dhclient/dhclient-2.0pl5/make.patch | 38 +++++++++++++++++++++++++++++ recipes/dhclient/dhclient_2.0pl5.bb | 17 +++++++++++++ 3 files changed, 58 insertions(+) create mode 100644 recipes/dhclient/README create mode 100644 recipes/dhclient/dhclient-2.0pl5/make.patch create mode 100644 recipes/dhclient/dhclient_2.0pl5.bb (limited to 'recipes/dhclient') diff --git a/recipes/dhclient/README b/recipes/dhclient/README new file mode 100644 index 0000000000..9482c5fe18 --- /dev/null +++ b/recipes/dhclient/README @@ -0,0 +1,3 @@ +Note: + This version of dhclient is a very old one. + It is advised to use the dhclient that comes with the package dhcp diff --git a/recipes/dhclient/dhclient-2.0pl5/make.patch b/recipes/dhclient/dhclient-2.0pl5/make.patch new file mode 100644 index 0000000000..2052cca190 --- /dev/null +++ b/recipes/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/recipes/dhclient/dhclient_2.0pl5.bb b/recipes/dhclient/dhclient_2.0pl5.bb new file mode 100644 index 0000000000..20b0dfc440 --- /dev/null +++ b/recipes/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-2.0-history/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 +} -- cgit 1.2.3-korg