diff options
author | Donny Davies <woodchip@gentoo.org> | 2001-09-10 02:06:30 +0000 |
---|---|---|
committer | Donny Davies <woodchip@gentoo.org> | 2001-09-10 02:06:30 +0000 |
commit | 989da88ac64d2c178cf59c19f0d0c4dd24720446 (patch) | |
tree | 65e5db85d25c12f3e27641689562fd810ce91dbb /net-misc/netkit-timed | |
parent | netkit-timed rc5/rc6 support (diff) | |
download | historical-989da88ac64d2c178cf59c19f0d0c4dd24720446.tar.gz historical-989da88ac64d2c178cf59c19f0d0c4dd24720446.tar.bz2 historical-989da88ac64d2c178cf59c19f0d0c4dd24720446.zip |
now supports rc5/rc6 systems. small changes only, mostly to just
the rc6 initscript.
Diffstat (limited to 'net-misc/netkit-timed')
-rw-r--r-- | net-misc/netkit-timed/files/digest-netkit-timed-0.17-r6 | 1 | ||||
-rw-r--r--[-rwxr-xr-x] | net-misc/netkit-timed/files/timed.rc5 (renamed from net-misc/netkit-timed/files/timed) | 0 | ||||
-rw-r--r-- | net-misc/netkit-timed/files/timed.rc6 | 17 | ||||
-rw-r--r-- | net-misc/netkit-timed/netkit-timed-0.17-r2.ebuild | 48 | ||||
-rw-r--r-- | net-misc/netkit-timed/netkit-timed-0.17-r6.ebuild | 31 |
5 files changed, 66 insertions, 31 deletions
diff --git a/net-misc/netkit-timed/files/digest-netkit-timed-0.17-r6 b/net-misc/netkit-timed/files/digest-netkit-timed-0.17-r6 new file mode 100644 index 000000000000..3d9b4090a062 --- /dev/null +++ b/net-misc/netkit-timed/files/digest-netkit-timed-0.17-r6 @@ -0,0 +1 @@ +MD5 1bffb4db753d9e5be227e444cf119bfe netkit-timed-0.17.tar.gz diff --git a/net-misc/netkit-timed/files/timed b/net-misc/netkit-timed/files/timed.rc5 index 96e9a8aa7d0b..96e9a8aa7d0b 100755..100644 --- a/net-misc/netkit-timed/files/timed +++ b/net-misc/netkit-timed/files/timed.rc5 diff --git a/net-misc/netkit-timed/files/timed.rc6 b/net-misc/netkit-timed/files/timed.rc6 new file mode 100644 index 000000000000..86aa6e640cda --- /dev/null +++ b/net-misc/netkit-timed/files/timed.rc6 @@ -0,0 +1,17 @@ +#!/sbin/runscript + +depend() { + need net +} + +start() { + ebegin "Starting timed" + start-stop-daemon --start --quiet --exec /usr/sbin/timed + eend $? +} + +stop() { + ebegin "Stopping timed" + start-stop-daemon --stop --quiet --exec /usr/sbin/timed + eend $? +} diff --git a/net-misc/netkit-timed/netkit-timed-0.17-r2.ebuild b/net-misc/netkit-timed/netkit-timed-0.17-r2.ebuild index 04135a25c8da..8caa07da77f8 100644 --- a/net-misc/netkit-timed/netkit-timed-0.17-r2.ebuild +++ b/net-misc/netkit-timed/netkit-timed-0.17-r2.ebuild @@ -1,45 +1,31 @@ # Copyright 1999-2000 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Author Achim Gottinger <achim@gentoo.org> -# $Header: /var/cvsroot/gentoo-x86/net-misc/netkit-timed/netkit-timed-0.17-r2.ebuild,v 1.3 2001/05/28 05:24:13 achim Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/netkit-timed/netkit-timed-0.17-r2.ebuild,v 1.4 2001/09/10 02:06:30 woodchip Exp $ -P=netkit-timed-0.17 -A=${P}.tar.gz -S=${WORKDIR}/${P} +S=${WORKDIR}/${P} DESCRIPTION="Netkit - timed" -SRC_URI="ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/${A}" +SRC_URI="ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/${P}.tar.gz" DEPEND="virtual/glibc" src_unpack() { - unpack ${A} - cp ${FILESDIR}/timed.c ${S}/timed/timed/timed.c + unpack ${A} + cp ${FILESDIR}/timed.c ${S}/timed/timed/timed.c } - + src_compile() { - try ./configure - try make -} - -src_install() { - - into /usr - dosbin timed/timed/timed - doman timed/timed/timed.8 - dosbin timed/timedc/timedc - doman timed/timedc/timedc.8 - dodoc README ChangeLog BUGS - dodir /etc/rc.d/init.d - cp ${O}/files/timed ${D}/etc/rc.d/init.d/timed + ./configure || die + make || die } - -pkg_config() { - . /etc/rc.d/config/functions - - echo "Generating symlinks..." - ${ROOT}/usr/sbin/rc-update add timed - +src_install() { + dosbin timed/timed/timed + doman timed/timed/timed.8 + dosbin timed/timedc/timedc + doman timed/timedc/timedc.8 + dodoc README ChangeLog BUGS + + exeinto /etc/rc.d/init.d + newexe ${FILESDIR}/timed.rc5 timed } - - diff --git a/net-misc/netkit-timed/netkit-timed-0.17-r6.ebuild b/net-misc/netkit-timed/netkit-timed-0.17-r6.ebuild new file mode 100644 index 000000000000..364aa7e2dd65 --- /dev/null +++ b/net-misc/netkit-timed/netkit-timed-0.17-r6.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Achim Gottinger <achim@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/net-misc/netkit-timed/netkit-timed-0.17-r6.ebuild,v 1.1 2001/09/10 02:06:30 woodchip Exp $ + +S=${WORKDIR}/${P} +DESCRIPTION="Netkit - timed" +SRC_URI="ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/${P}.tar.gz" + +DEPEND="virtual/glibc" + +src_unpack() { + unpack ${A} + cp ${FILESDIR}/timed.c ${S}/timed/timed/timed.c +} + +src_compile() { + ./configure || die + make || die +} + +src_install() { + dosbin timed/timed/timed + doman timed/timed/timed.8 + dosbin timed/timedc/timedc + doman timed/timedc/timedc.8 + dodoc README ChangeLog BUGS + + exeinto /etc/init.d + newexe ${FILESDIR}/timed.rc6 timed +} |