summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Robbins <drobbins@gentoo.org>2003-09-06 23:50:52 +0000
committerDaniel Robbins <drobbins@gentoo.org>2003-09-06 23:50:52 +0000
commitb2ddef15deca1d38f24abde7f26805b0287f6b67 (patch)
tree26d748a4dce1e565f400abfef60a7efc0ace710a
parentrepoman: fix leading whitespace (diff)
downloadgentoo-2-b2ddef15deca1d38f24abde7f26805b0287f6b67.tar.gz
gentoo-2-b2ddef15deca1d38f24abde7f26805b0287f6b67.tar.bz2
gentoo-2-b2ddef15deca1d38f24abde7f26805b0287f6b67.zip
new FHS-compliant dhcpcd with a -z "quit but save cache option" which is very nice.
-rw-r--r--net-misc/dhcpcd/ChangeLog10
-rw-r--r--net-misc/dhcpcd/Manifest10
-rw-r--r--net-misc/dhcpcd/dhcpcd-1.3.22_p4-r1.ebuild54
-rw-r--r--net-misc/dhcpcd/files/digest-dhcpcd-1.3.22_p4-r13
4 files changed, 70 insertions, 7 deletions
diff --git a/net-misc/dhcpcd/ChangeLog b/net-misc/dhcpcd/ChangeLog
index 9692fce936c4..21413fa18ca1 100644
--- a/net-misc/dhcpcd/ChangeLog
+++ b/net-misc/dhcpcd/ChangeLog
@@ -1,9 +1,13 @@
# ChangeLog for net-misc/dhcpcd
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/ChangeLog,v 1.19 2003/04/16 00:54:10 gmsoft Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/ChangeLog,v 1.20 2003/09/06 23:50:49 drobbins Exp $
- 21 Feb 2003; Zach Welch <zwelch@gentoo.org> :
- Added arm to keywords.
+*dhcpcd-1.3.22_p4-r1 (06 Sep 2003)
+
+ 06 Sep 2003; Daniel Robbins <drobbins@gentoo.org> dhcpcd-1.3.22_p4-r1.ebuild:
+ added bug 23428 patch from Alwyn Schoeman <alwyn@smart.com.ph>, which is a
+ great little patch. Also made dhcpcd FHS compliant using an LFS patch, which
+ allows us to address the dhcpcd issues on the 1.4 release LiveCD runtime.
*dhcpcd-1.3.22_p4 (04 Jan 2003)
diff --git a/net-misc/dhcpcd/Manifest b/net-misc/dhcpcd/Manifest
index 162fac410992..72f7c31d7702 100644
--- a/net-misc/dhcpcd/Manifest
+++ b/net-misc/dhcpcd/Manifest
@@ -1,11 +1,13 @@
-MD5 16aefa0c3c2cefc273651bb37628cfc1 ChangeLog 3442
+MD5 e844884bb57a96ce156cf8f253da0b62 dhcpcd-1.3.22_p3-r3.ebuild 1226
MD5 f43b4a0bf71c2b53d74882e628613a90 dhcpcd-1.3.20_p0-r1.ebuild 833
-MD5 4301f79dbf57f7f36c5e1a5e1d062079 dhcpcd-1.3.22_p3-r1.ebuild 879
MD5 23054118c79902d87e63fa0c079424a9 dhcpcd-1.3.22_p3-r2.ebuild 1211
-MD5 e844884bb57a96ce156cf8f253da0b62 dhcpcd-1.3.22_p3-r3.ebuild 1226
MD5 eca625e9d42bdd801b4d8a09989ef2f0 dhcpcd-1.3.22_p4.ebuild 1198
+MD5 1398c29f7a11af0a5b617860087294c3 dhcpcd-1.3.22_p4-r1.ebuild 1805
+MD5 f823154fd75e17216eb91a9e8f7ca906 ChangeLog 3719
+MD5 4301f79dbf57f7f36c5e1a5e1d062079 dhcpcd-1.3.22_p3-r1.ebuild 879
MD5 6015b9cfe17115c01a11aadc94571557 files/digest-dhcpcd-1.3.20_p0-r1 69
+MD5 b41d2e0c0bbc620af9555c17389bf914 files/digest-dhcpcd-1.3.22_p4 69
MD5 dd224132815a4d051cfb0028bb3ab804 files/digest-dhcpcd-1.3.22_p3-r1 69
MD5 dd224132815a4d051cfb0028bb3ab804 files/digest-dhcpcd-1.3.22_p3-r2 69
MD5 dd224132815a4d051cfb0028bb3ab804 files/digest-dhcpcd-1.3.22_p3-r3 69
-MD5 b41d2e0c0bbc620af9555c17389bf914 files/digest-dhcpcd-1.3.22_p4 69
+MD5 daaf0c8fa44a481c8943f585ff870714 files/digest-dhcpcd-1.3.22_p4-r1 224
diff --git a/net-misc/dhcpcd/dhcpcd-1.3.22_p4-r1.ebuild b/net-misc/dhcpcd/dhcpcd-1.3.22_p4-r1.ebuild
new file mode 100644
index 000000000000..ce532e03bcaf
--- /dev/null
+++ b/net-misc/dhcpcd/dhcpcd-1.3.22_p4-r1.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/dhcpcd-1.3.22_p4-r1.ebuild,v 1.1 2003/09/06 23:50:49 drobbins Exp $
+
+inherit gnuconfig
+
+S=${WORKDIR}/${P/_p/-pl}
+DESCRIPTION="A dhcp client only"
+SRC_URI="ftp://ftp.phystech.com/pub/${P/_p/-pl}.tar.gz http://dev.gentoo.org/~drobbins/${P}.diff.bz2 http://dev.gentoo.org/~drobbins/${P}-keepCacheAndResolv.diff.bz2"
+HOMEPAGE="http://www.phystech.com/download/"
+DEPEND=""
+SLOT="0"
+KEYWORDS="x86 ppc sparc ~alpha hppa arm mips amd64"
+LICENSE="GPL-2"
+IUSE="build"
+
+[ "${ARCH}" = "hppa" -o -z "${CBUILD}" ] && CBUILD="${CHOST}"
+
+src_unpack() {
+ unpack ${A} || die "unpack failed"
+ use alpha && gnuconfig_update
+ use amd64 && gnuconfig_update
+
+ cd ${S}
+ #Started working on this patch from an older version I found; then
+ #discovered that LFS had an updated one. We're using a patch that is
+ #identical to theirs. It makes dhcpcd FHS-compliant. (drobbins, 06
+ #Sep 2003)
+ cat ${DISTDIR}/${P}.diff.bz2 | bzip2 -d | patch -p1 || die
+ #This next patch from Alwyn Schoeman <alwyn@smart.com.ph> is great;
+ #it adds a -z (shutdown, keep cache) and various other little tweaks.
+ #See http://bugs.gentoo.org/show_bug.cgi?id=23428 for more info.
+ cat ${DISTDIR}/${P}-keepCacheAndResolv.diff.bz2 | bzip2 -d | patch -p1 || die
+ #remove hard-coded arch stuff (drobbins, 06 Sep 2003)
+ local x
+ x=configure
+ cp ${x} ${x}.orig
+ sed -e "s/ -march=i.86//g" ${x}.orig > ${x} || die
+}
+
+src_compile() {
+ ./configure --prefix="" --sysconfdir=/var/lib --mandir=/usr/share/man
+ emake
+}
+
+src_install () {
+ einstall sbindir=${D}/sbin || die "Install failed"
+ if [ -z "`use build`" ]
+ then
+ dodoc AUTHORS COPYING ChangeLog NEWS README
+ else
+ rm -rf ${D}/usr/share
+ fi
+}
diff --git a/net-misc/dhcpcd/files/digest-dhcpcd-1.3.22_p4-r1 b/net-misc/dhcpcd/files/digest-dhcpcd-1.3.22_p4-r1
new file mode 100644
index 000000000000..80b4247cc65e
--- /dev/null
+++ b/net-misc/dhcpcd/files/digest-dhcpcd-1.3.22_p4-r1
@@ -0,0 +1,3 @@
+MD5 dd627a121e43835bead3ffef5b1a72fd dhcpcd-1.3.22-pl4.tar.gz 148455
+MD5 0960ef5d5070da205ffacd5107492e36 dhcpcd-1.3.22_p4.diff.bz2 1646
+MD5 6a502cc0c572f898f8ba5daa34c37901 dhcpcd-1.3.22_p4-keepCacheAndResolv.diff.bz2 1800