summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Kalika <max@gentoo.org>2003-10-21 22:49:05 +0000
committerMax Kalika <max@gentoo.org>2003-10-21 22:49:05 +0000
commita970984df23cae73c98bd3b01aa63b45b117b7ab (patch)
tree3fcc1f5bfd9c84dfee910a9ac32b7604f3e2ee10
parent~alpha (diff)
downloadgentoo-2-a970984df23cae73c98bd3b01aa63b45b117b7ab.tar.gz
gentoo-2-a970984df23cae73c98bd3b01aa63b45b117b7ab.tar.bz2
gentoo-2-a970984df23cae73c98bd3b01aa63b45b117b7ab.zip
Bump latest to stable x86.
-rw-r--r--net-misc/dhcp/ChangeLog6
-rw-r--r--net-misc/dhcp/Manifest10
-rw-r--r--net-misc/dhcp/dhcp-3.0_p2-r1.ebuild119
-rw-r--r--net-misc/dhcp/dhcp-3.0_p2-r2.ebuild17
-rw-r--r--net-misc/dhcp/files/digest-dhcp-3.0_p2-r12
5 files changed, 18 insertions, 136 deletions
diff --git a/net-misc/dhcp/ChangeLog b/net-misc/dhcp/ChangeLog
index 3b422f0d1f55..e074155f8c9a 100644
--- a/net-misc/dhcp/ChangeLog
+++ b/net-misc/dhcp/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-misc/dhcp
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcp/ChangeLog,v 1.21 2003/10/02 18:28:03 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcp/ChangeLog,v 1.22 2003/10/21 22:49:04 max Exp $
+
+ 21 Oct 2003; Max Kalika <max@gentoo.org> dhcp-3.0_p2-r1.ebuild,
+ dhcp-3.0_p2-r2.ebuild:
+ Bump latest to stable x86.
*dhcp-3.0_p2-r2 (02 Oct 2003)
diff --git a/net-misc/dhcp/Manifest b/net-misc/dhcp/Manifest
index f1c9f19471af..b925e6eb95a8 100644
--- a/net-misc/dhcp/Manifest
+++ b/net-misc/dhcp/Manifest
@@ -1,14 +1,12 @@
+MD5 d41fb52e38eab8f270af802b52230b8f ChangeLog 3933
+MD5 9384ae7ba3e9f56b8027ea92f607042d metadata.xml 215
+MD5 a382042a6cccdcafab7bf39044d92766 dhcp-3.0_p2-r2.ebuild 3544
+MD5 c165af1e7e63275ca6f5974e2d3048a3 dhcp-3.0_p2.ebuild 2747
MD5 f374815f3e984f10b69982edb4319485 files/dhcp.conf 646
MD5 498a3eb0e9deaf705f17fff3834f5b90 files/dhclient.c-3.0-dw-cli-fix.patch 734
MD5 ff4bf18624d479599da15878fdef65fe files/conf.dhcpd 401
MD5 d6ae01f5dcc87b11d4d96a34e7cc52a3 files/digest-dhcp-3.0_p2 63
-MD5 a941fa952582373e42b07b61bd66a168 files/digest-dhcp-3.0_p2-r1 129
MD5 a941fa952582373e42b07b61bd66a168 files/digest-dhcp-3.0_p2-r2 129
MD5 1efea8e54f4c6d6217a8949b4d15686d files/dhcp.rc6 1051
MD5 be72fa691b23c9e82cc4567a1a035cfc files/dhcp.rc7 811
MD5 28ebabb4ad513afb04314634ecd9db25 files/dhcp-3.0pl2-user-option-fix.patch 1519
-MD5 ff70293d17ede9a62ce8976fa256cd55 dhcp-3.0_p2-r1.ebuild 3438
-MD5 7cfd78c7bd7c646955dc3c1d122d1b13 ChangeLog 3815
-MD5 9384ae7ba3e9f56b8027ea92f607042d metadata.xml 215
-MD5 4b8bb626582334936f75662f06a88ba8 dhcp-3.0_p2-r2.ebuild 3537
-MD5 c165af1e7e63275ca6f5974e2d3048a3 dhcp-3.0_p2.ebuild 2747
diff --git a/net-misc/dhcp/dhcp-3.0_p2-r1.ebuild b/net-misc/dhcp/dhcp-3.0_p2-r1.ebuild
deleted file mode 100644
index 1723a444c6c8..000000000000
--- a/net-misc/dhcp/dhcp-3.0_p2-r1.ebuild
+++ /dev/null
@@ -1,119 +0,0 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcp/dhcp-3.0_p2-r1.ebuild,v 1.3 2003/09/17 01:53:17 max Exp $
-
-inherit flag-o-matic
-
-DESCRIPTION="ISC Dynamic Host Configuration Protocol."
-HOMEPAGE="http://www.isc.org/products/DHCP"
-SRC_URI="ftp://ftp.isc.org/isc/dhcp/${P/_p/pl}.tar.gz
- http://www.episec.com/people/edelkind/patches/dhcp/dhcp-3.0+paranoia.patch"
-
-LICENSE="isc-dhcp"
-SLOT="0"
-KEYWORDS="~x86 ~ppc ~sparc ~mips"
-
-DEPEND="virtual/glibc
- >=sys-apps/sed-4"
-
-S="${WORKDIR}/${P/_p/pl}"
-
-src_unpack() {
- unpack ${A} && cd "${S}"
- epatch "${FILESDIR}/dhclient.c-3.0-dw-cli-fix.patch"
- epatch "${DISTDIR}/dhcp-3.0+paranoia.patch"
-}
-
-src_compile() {
- # 01/Mar/2003: Fix for bug #11960 by Jason Wever <weeve@gentoo.org>
- if [ "${ARCH}" = "sparc" ] ; then
- filter-flags "-O3"
- filter-flags "-O2"
- filter-flags "-O"
- fi
-
- cat <<-END >> includes/site.h
- #define _PATH_DHCPD_CONF "/etc/dhcp/dhcpd.conf"
- #define _PATH_DHCLIENT_DB "/var/lib/dhcp/dhclient.leases"
- #define _PATH_DHCPD_DB "/var/lib/dhcp/dhcpd.leases"
- #define DHCPD_LOG_FACILITY LOG_LOCAL1
- END
-
- cat <<-END > site.conf
- CC = gcc ${CFLAGS}
- LIBDIR = /usr/lib
- INCDIR = /usr/include
- ETC = /etc/dhcp
- VARDB = /var/lib/dhcp
- ADMMANDIR = /usr/share/man/man8
- FFMANDIR = /usr/share/man/man5
- LIBMANDIR = /usr/share/man/man3
- USRMANDIR = /usr/share/man/man1
- END
-
- ./configure --with-nsupdate \
- --copts "-DPARANOIA -DEARLY_CHROOT" || die "configure failed"
-
- emake || die "compile problem"
-}
-
-src_install() {
- enewgroup dhcp
- enewuser dhcp -1 /bin/false /var/lib/dhcp dhcp
-
- einstall DESTDIR="${D}"
-
- insinto /etc/dhcp
- newins server/dhcpd.conf dhcpd.conf.sample
- newins client/dhclient.conf dhclient.conf.sample
- dosed "s:/etc/dhclient-script:/etc/dhcp/dhclient-script:" \
- /etc/dhcp/dhclient.conf.sample
- mv "${D}/sbin/dhclient-script" "${D}/etc/dhcp/dhclient-script.sample"
-
- dodoc ANONCVS CHANGES COPYRIGHT README RELNOTES doc/*
- newdoc client/dhclient.conf dhclient.conf.sample
- newdoc client/scripts/linux dhclient-script.sample
- newdoc server/dhcpd.conf dhcpd.conf.sample
-
- insinto /etc/conf.d
- newins "${FILESDIR}/dhcp.conf" dhcp
-
- exeinto /etc/init.d
- newexe "${FILESDIR}/dhcp.rc6" dhcp
-
- keepdir /var/lib/dhcp
- fowners dhcp:dhcp /var/lib/dhcp
-}
-
-pkg_postinst() {
- einfo "You can edit /etc/conf.d/dhcp to customize dhcp settings"
- einfo
- einfo "The DHCP ebuild now includes chroot support."
- einfo "If you like to run dhcpd in chroot AND this is a new install OR"
- einfo "your dhcpd doesn't already run in chroot, simply run:"
- einfo " ebuild /var/db/pkg/${CATEGORY}/${PF}/${PF}.ebuild config"
- einfo "Before running the above command you might want to change the chroot"
- einfo "dir in /etc/conf.d/dhcp, otherwise /chroot/dhcp will be used."
- echo
-}
-
-pkg_config() {
- CHROOT=`sed -n 's/^[[:blank:]]\?CHROOT="\([^"]\+\)"/\1/p' /etc/conf.d/dhcp 2>/dev/null`
-
- if [ ! -d "${CHROOT:=/chroot/dhcp}" ] ; then
- ebegin "Setting up the chroot directory"
- mkdir -m 0755 -p "${CHROOT}/etc" "${CHROOT}/var/lib"
- cp -R /etc/dhcp "${CHROOT}/etc/"
- cp -R /var/lib/dhcp "${CHROOT}/var/lib"
- chown -R dhcp:dhcp "${CHROOT}/var/lib"
- eend
-
- if [ "`grep '^#[[:blank:]]\?CHROOT' /etc/conf.d/dhcp`" ] ; then
- sed -e '/^#[[:blank:]]\?CHROOT/s/^#[[:blank:]]\?//' -i /etc/conf.d/dhcp
- fi
- else
- eerror
- eerror "${CHROOT} already exists. Quitting."
- eerror
- fi
-}
diff --git a/net-misc/dhcp/dhcp-3.0_p2-r2.ebuild b/net-misc/dhcp/dhcp-3.0_p2-r2.ebuild
index e8472aae7b05..1564cdb37d85 100644
--- a/net-misc/dhcp/dhcp-3.0_p2-r2.ebuild
+++ b/net-misc/dhcp/dhcp-3.0_p2-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcp/dhcp-3.0_p2-r2.ebuild,v 1.1 2003/10/02 18:28:03 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcp/dhcp-3.0_p2-r2.ebuild,v 1.2 2003/10/21 22:49:04 max Exp $
inherit flag-o-matic
@@ -11,19 +11,19 @@ SRC_URI="ftp://ftp.isc.org/isc/dhcp/${P/_p/pl}.tar.gz
LICENSE="isc-dhcp"
SLOT="0"
-KEYWORDS="~x86 ~ppc ~sparc ~mips"
+KEYWORDS="x86 ~ppc ~sparc ~mips"
IUSE="static"
DEPEND="virtual/glibc
>=sys-apps/sed-4"
-S=${WORKDIR}/${P/_p/pl}
+S="${WORKDIR}/${P/_p/pl}"
src_unpack() {
- unpack ${A} && cd ${S}
- epatch ${FILESDIR}/dhclient.c-3.0-dw-cli-fix.patch
- epatch ${DISTDIR}/dhcp-3.0+paranoia.patch
- epatch ${FILESDIR}/dhcp-3.0pl2-user-option-fix.patch
+ unpack ${A} && cd "${S}"
+ epatch "${FILESDIR}/dhcp-3.0pl2-user-option-fix.patch"
+ epatch "${FILESDIR}/dhclient.c-3.0-dw-cli-fix.patch"
+ epatch "${DISTDIR}/dhcp-3.0+paranoia.patch"
}
src_compile() {
@@ -34,6 +34,8 @@ src_compile() {
filter-flags "-O"
fi
+ use static && append-flags -static
+
cat <<-END >> includes/site.h
#define _PATH_DHCPD_CONF "/etc/dhcp/dhcpd.conf"
#define _PATH_DHCLIENT_DB "/var/lib/dhcp/dhclient.leases"
@@ -41,7 +43,6 @@ src_compile() {
#define DHCPD_LOG_FACILITY LOG_LOCAL1
END
- use static && append-flags -static
cat <<-END > site.conf
CC = gcc ${CFLAGS}
LIBDIR = /usr/lib
diff --git a/net-misc/dhcp/files/digest-dhcp-3.0_p2-r1 b/net-misc/dhcp/files/digest-dhcp-3.0_p2-r1
deleted file mode 100644
index 5c34b82115a3..000000000000
--- a/net-misc/dhcp/files/digest-dhcp-3.0_p2-r1
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 2cb5db7a0c23deaef4724b5fc3f9a869 dhcp-3.0pl2.tar.gz 865196
-MD5 66becf9870e0293bbd35d1fba770751a dhcp-3.0+paranoia.patch 5366