diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-12-17 03:58:24 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-12-17 03:58:24 +0000 |
commit | f4211eb0d96fee9aea07b5e3f99b53e757dd8aca (patch) | |
tree | 1d19809ad8125f7cf23ac8f9ca2635ca51dc46e4 | |
parent | fix autotool junk #66770 (Manifest recommit) (diff) | |
download | gentoo-2-f4211eb0d96fee9aea07b5e3f99b53e757dd8aca.tar.gz gentoo-2-f4211eb0d96fee9aea07b5e3f99b53e757dd8aca.tar.bz2 gentoo-2-f4211eb0d96fee9aea07b5e3f99b53e757dd8aca.zip |
old
-rw-r--r-- | net-misc/udhcp/files/digest-udhcp-0.9.8-r2 | 1 | ||||
-rw-r--r-- | net-misc/udhcp/files/udhcp.init | 41 | ||||
-rw-r--r-- | net-misc/udhcp/udhcp-0.9.8-r2.ebuild | 40 | ||||
-rw-r--r-- | net-misc/udhcp/udhcp-0.9.8-r3.ebuild | 9 |
4 files changed, 3 insertions, 88 deletions
diff --git a/net-misc/udhcp/files/digest-udhcp-0.9.8-r2 b/net-misc/udhcp/files/digest-udhcp-0.9.8-r2 deleted file mode 100644 index 0407c3fff96e..000000000000 --- a/net-misc/udhcp/files/digest-udhcp-0.9.8-r2 +++ /dev/null @@ -1 +0,0 @@ -MD5 2d7e548820d2ded5e183933cb701defb udhcp-0.9.8.tar.gz 43889 diff --git a/net-misc/udhcp/files/udhcp.init b/net-misc/udhcp/files/udhcp.init deleted file mode 100644 index d9ea123a5817..000000000000 --- a/net-misc/udhcp/files/udhcp.init +++ /dev/null @@ -1,41 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/udhcp/files/udhcp.init,v 1.3 2004/07/15 00:14:59 agriffis Exp $ - -depend() { - need net - use logger dns -} - -checkconfig() { - if [ ! -f "${CHROOT}/etc/udhcpd.conf" ] ; then - eerror "No ${CHROOT}/etc/udhcpd.conf file exists!" - return 1 - fi - - if [ ! -f "${CHROOT}/var/lib/misc/udhcpd.leases" ] ; then - ebegin "Creating dhcpd.leases" - touch "${CHROOT}/var/lib/misc/udhcpd.leases" || return 1 - eend $? - fi - - ebegin "Setting ownership on dhcpd.leases" - chown dhcp:dhcp "${CHROOT}/var/lib/misc/udhcpd.leases" || return 1 - eend $? -} - -start() { - checkconfig || return 1 - - ebegin "Starting ${CHROOT:+chrooted }dhcpd" - start-stop-daemon --start --quiet --exec /usr/sbin/udhcpd \ - ${CHROOT:+-chroot ${CHROOT}} ${IFACE} - eend $? -} - -stop() { - ebegin "Stopping dhcpd" - start-stop-daemon --stop --quiet --exec /usr/sbin/udhcpd - eend $? -} diff --git a/net-misc/udhcp/udhcp-0.9.8-r2.ebuild b/net-misc/udhcp/udhcp-0.9.8-r2.ebuild deleted file mode 100644 index 7941527d9d8d..000000000000 --- a/net-misc/udhcp/udhcp-0.9.8-r2.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/udhcp/udhcp-0.9.8-r2.ebuild,v 1.4 2004/07/01 22:06:12 squinky86 Exp $ - -inherit eutils - -IUSE="" -DESCRIPTION="udhcp Server/Client Package" -HOMEPAGE="http://udhcp.busybox.net/" -SRC_URI="http://udhcp.busybox.net/source/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="x86 sparc amd64" - -DEPEND="virtual/libc" -PROVIDE="virtual/dhcpc" - -pkg_setup() { - enewgroup dhcp - enewuser dhcp -1 /bin/false /var/lib/dhcp dhcp -} - -src_compile() { - emake SYSLOG=1 || die -} - -src_install() { - dodir /usr/sbin /usr/bin /sbin - - insinto /etc - doins samples/udhcpd.conf - - make prefix=${D}/usr SBINDIR=${D}/sbin install || die - - dodoc AUTHORS COPYING ChangeLog README* TODO - - insinto /usr/share/udhcpc - doins samples/* -} diff --git a/net-misc/udhcp/udhcp-0.9.8-r3.ebuild b/net-misc/udhcp/udhcp-0.9.8-r3.ebuild index 992182daba2a..9b5db0669f74 100644 --- a/net-misc/udhcp/udhcp-0.9.8-r3.ebuild +++ b/net-misc/udhcp/udhcp-0.9.8-r3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/udhcp/udhcp-0.9.8-r3.ebuild,v 1.10 2004/09/04 00:33:24 morfic Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/udhcp/udhcp-0.9.8-r3.ebuild,v 1.11 2004/12/17 03:58:24 vapier Exp $ inherit eutils gcc @@ -10,7 +10,7 @@ SRC_URI="http://udhcp.busybox.net/source/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="x86 ~ppc sparc ~mips ~alpha arm hppa amd64 ~ia64" +KEYWORDS="~alpha amd64 arm hppa ia64 ~mips ~ppc sparc x86" IUSE="" DEPEND="virtual/libc" @@ -50,11 +50,8 @@ src_install() { install \ || die - dodoc AUTHORS COPYING ChangeLog README* TODO + dodoc AUTHORS ChangeLog README* TODO insinto /usr/share/udhcpc doins samples/* - - exeinto /etc/init.d - newexe ${FILESDIR}/udhcp.init udhcp } |