summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonny Davies <woodchip@gentoo.org>2002-02-09 00:22:34 +0000
committerDonny Davies <woodchip@gentoo.org>2002-02-09 00:22:34 +0000
commite08313b900c6bd66a212ca0eaa18dea0798d03bd (patch)
tree397603ac64c0339ea3a531311cfc182e84a0e22c /sys-apps/netkit-base
parentClose bug #215. Delete older ebuilds, old outdated config file. (diff)
downloadgentoo-2-e08313b900c6bd66a212ca0eaa18dea0798d03bd.tar.gz
gentoo-2-e08313b900c6bd66a212ca0eaa18dea0798d03bd.tar.bz2
gentoo-2-e08313b900c6bd66a212ca0eaa18dea0798d03bd.zip
Close bug #539. Thanks to lordviram@nesit.org (Travis Tilley).
Diffstat (limited to 'sys-apps/netkit-base')
-rw-r--r--sys-apps/netkit-base/ChangeLog11
-rw-r--r--sys-apps/netkit-base/files/digest-netkit-base-0.17-r31
-rw-r--r--sys-apps/netkit-base/files/digest-netkit-base-0.17-r41
-rw-r--r--sys-apps/netkit-base/files/digest-netkit-base-0.17-r5 (renamed from sys-apps/netkit-base/files/digest-netkit-base-0.17-r2)0
-rw-r--r--sys-apps/netkit-base/files/inetd.rc620
-rw-r--r--sys-apps/netkit-base/netkit-base-0.17-r2.ebuild42
-rw-r--r--sys-apps/netkit-base/netkit-base-0.17-r3.ebuild42
-rw-r--r--sys-apps/netkit-base/netkit-base-0.17-r4.ebuild44
-rw-r--r--sys-apps/netkit-base/netkit-base-0.17-r5.ebuild39
9 files changed, 69 insertions, 131 deletions
diff --git a/sys-apps/netkit-base/ChangeLog b/sys-apps/netkit-base/ChangeLog
index a5d5d5ce920b..606b38a14551 100644
--- a/sys-apps/netkit-base/ChangeLog
+++ b/sys-apps/netkit-base/ChangeLog
@@ -1,7 +1,15 @@
# ChangeLog for sys-apps/netkit-base
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/netkit-base/ChangeLog,v 1.1 2002/02/01 21:53:37 gbevin Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/netkit-base/ChangeLog,v 1.2 2002/02/09 00:22:32 woodchip Exp $
+*netkit-base-0.17-r5 (8 Feb 2002)
+
+ 8 Feb 2002; Donny Davies <woodchip@gentoo.org> files/inetd.rc6,
+ files/netkit-base-0.17-r5.ebuild, files/digest-netkit-base-0.17-r5 :
+
+ Added initscript /etc/init.d/inetd. Thanks to Travis Tilley for
+ the submission (lordviram@nesit.org).
+
*netkit-base-0.17-r4 (1 Feb 2002)
1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog :
@@ -11,3 +19,4 @@
comments should well explained and written in clean English. The details about
writing correct changelogs are explained in the skel.ChangeLog file which you
can find in the root directory of the portage repository.
+
diff --git a/sys-apps/netkit-base/files/digest-netkit-base-0.17-r3 b/sys-apps/netkit-base/files/digest-netkit-base-0.17-r3
deleted file mode 100644
index 90e0df4a05c9..000000000000
--- a/sys-apps/netkit-base/files/digest-netkit-base-0.17-r3
+++ /dev/null
@@ -1 +0,0 @@
-MD5 1f0193358e92559ec0f598b09ccbc0ec netkit-base-0.17.tar.gz 56473
diff --git a/sys-apps/netkit-base/files/digest-netkit-base-0.17-r4 b/sys-apps/netkit-base/files/digest-netkit-base-0.17-r4
deleted file mode 100644
index 90e0df4a05c9..000000000000
--- a/sys-apps/netkit-base/files/digest-netkit-base-0.17-r4
+++ /dev/null
@@ -1 +0,0 @@
-MD5 1f0193358e92559ec0f598b09ccbc0ec netkit-base-0.17.tar.gz 56473
diff --git a/sys-apps/netkit-base/files/digest-netkit-base-0.17-r2 b/sys-apps/netkit-base/files/digest-netkit-base-0.17-r5
index 90e0df4a05c9..90e0df4a05c9 100644
--- a/sys-apps/netkit-base/files/digest-netkit-base-0.17-r2
+++ b/sys-apps/netkit-base/files/digest-netkit-base-0.17-r5
diff --git a/sys-apps/netkit-base/files/inetd.rc6 b/sys-apps/netkit-base/files/inetd.rc6
new file mode 100644
index 000000000000..bd5ebd391323
--- /dev/null
+++ b/sys-apps/netkit-base/files/inetd.rc6
@@ -0,0 +1,20 @@
+#!/sbin/runscript
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/netkit-base/files/inetd.rc6,v 1.1 2002/02/09 00:22:34 woodchip Exp $
+
+depend() {
+ need net
+}
+
+start() {
+ ebegin "Starting inetd"
+ start-stop-daemon --start --quiet --pidfile /var/run/inetd.pid --exec /usr/sbin/inetd
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping inetd"
+ start-stop-daemon --stop --quiet --pidfile /var/run/inetd.pid
+ eend $?
+}
diff --git a/sys-apps/netkit-base/netkit-base-0.17-r2.ebuild b/sys-apps/netkit-base/netkit-base-0.17-r2.ebuild
deleted file mode 100644
index 41662d655e02..000000000000
--- a/sys-apps/netkit-base/netkit-base-0.17-r2.ebuild
+++ /dev/null
@@ -1,42 +0,0 @@
-# Copyright 1999-2000 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License, v2 or later
-# Author Daniel Robbins <drobbins@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/netkit-base/netkit-base-0.17-r2.ebuild,v 1.1 2001/02/07 15:51:28 achim Exp $
-
-P=netkit-base-0.17
-A=${P}.tar.gz
-S=${WORKDIR}/${P}
-DESCRIPTION="Standard linux net thingees -- inetd, ping"
-SRC_URI="ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/${A}"
-
-DEPEND="virtual/glibc"
-
-src_compile() {
-
- try ./configure
- cp MCONFIG MCONFIG.orig
- #sed -e "s/-O2/${CFLAGS} -Wstrict-prototypes -fomit-frame-pointer/"
- sed -e "s:^CFLAGS=.*:CFLAGS=${CFLAGS} -Wall -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline:" \
- MCONFIG.orig > MCONFIG
-
- try make ${MAKEOPTS}
-}
-
-
-src_install() {
-
- into /
- dobin ping/ping
- into /usr
- dosbin inetd/inetd
-
- doman inetd/inetd.8 inetd/daemon.3 ping/ping.8
-
- dodoc BUGS ChangeLog README
- docinto samples
- dodoc etc.sample/*
-
-}
-
-
-
diff --git a/sys-apps/netkit-base/netkit-base-0.17-r3.ebuild b/sys-apps/netkit-base/netkit-base-0.17-r3.ebuild
deleted file mode 100644
index 35ae3cad6156..000000000000
--- a/sys-apps/netkit-base/netkit-base-0.17-r3.ebuild
+++ /dev/null
@@ -1,42 +0,0 @@
-# Copyright 1999-2000 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License, v2 or later
-# Author Daniel Robbins <drobbins@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/netkit-base/netkit-base-0.17-r3.ebuild,v 1.1 2001/08/04 18:22:45 pete Exp $
-
-P=netkit-base-0.17
-A=${P}.tar.gz
-S=${WORKDIR}/${P}
-DESCRIPTION="Standard linux net thingees -- inetd, ping"
-SRC_URI="ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/${A}"
-
-DEPEND="virtual/glibc"
-
-src_compile() {
-
- try ./configure
- cp MCONFIG MCONFIG.orig
- #sed -e "s/-O2/${CFLAGS} -Wstrict-prototypes -fomit-frame-pointer/"
- sed -e "s:^CFLAGS=.*:CFLAGS=${CFLAGS} -Wall -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline:" \
- MCONFIG.orig > MCONFIG
-
- try make ${MAKEOPTS}
-}
-
-
-src_install() {
- into /
- dobin ping/ping
- if [ -z "`use bootcd`" ]
- then
- into /usr
- dosbin inetd/inetd
- doman inetd/inetd.8 inetd/daemon.3 ping/ping.8
-
- dodoc BUGS ChangeLog README
- docinto samples
- dodoc etc.sample/*
- fi
-}
-
-
-
diff --git a/sys-apps/netkit-base/netkit-base-0.17-r4.ebuild b/sys-apps/netkit-base/netkit-base-0.17-r4.ebuild
deleted file mode 100644
index 972b4d21d59e..000000000000
--- a/sys-apps/netkit-base/netkit-base-0.17-r4.ebuild
+++ /dev/null
@@ -1,44 +0,0 @@
-# Copyright 1999-2000 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License, v2 or later
-# Author Daniel Robbins <drobbins@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/netkit-base/netkit-base-0.17-r4.ebuild,v 1.2 2001/09/13 01:48:34 drobbins Exp $
-
-P=netkit-base-0.17
-A=${P}.tar.gz
-S=${WORKDIR}/${P}
-DESCRIPTION="Standard linux net thingees -- inetd, ping"
-SRC_URI="ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/${A}"
-
-DEPEND="virtual/glibc"
-
-src_compile() {
-
- try ./configure
- cp MCONFIG MCONFIG.orig
- #sed -e "s/-O2/${CFLAGS} -Wstrict-prototypes -fomit-frame-pointer/"
- sed -e "s:^CFLAGS=.*:CFLAGS=${CFLAGS} -Wall -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline:" \
- MCONFIG.orig > MCONFIG
-
- try make ${MAKEOPTS}
-}
-
-
-src_install() {
- exeopts -m 4755
- exeinto /bin
- doexe ping/ping
- if [ -z "`use build`" ]
- then
- exeopts -m 755
- exeinto /usr/bin
- dosbin inetd/inetd
- doman inetd/inetd.8 inetd/daemon.3 ping/ping.8
-
- dodoc BUGS ChangeLog README
- docinto samples
- dodoc etc.sample/*
- fi
-}
-
-
-
diff --git a/sys-apps/netkit-base/netkit-base-0.17-r5.ebuild b/sys-apps/netkit-base/netkit-base-0.17-r5.ebuild
new file mode 100644
index 000000000000..0d3f3b80ba7b
--- /dev/null
+++ b/sys-apps/netkit-base/netkit-base-0.17-r5.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2000 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Author Daniel Robbins <drobbins@gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/netkit-base/netkit-base-0.17-r5.ebuild,v 1.1 2002/02/09 00:22:33 woodchip Exp $
+
+S=${WORKDIR}/${P}
+DESCRIPTION="Standard linux net thingees -- inetd, ping"
+SRC_URI="ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/${P}.tar.gz"
+
+DEPEND="virtual/glibc"
+
+src_compile() {
+ ./configure || die
+
+ cp MCONFIG MCONFIG.orig
+ #sed -e "s/-O2/${CFLAGS} -Wstrict-prototypes -fomit-frame-pointer/"
+ sed -e "s:^CFLAGS=.*:CFLAGS=${CFLAGS} -Wall -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline:" \
+ MCONFIG.orig > MCONFIG
+
+ emake || die "compile problem"
+}
+
+src_install() {
+ exeopts -m 4755
+ exeinto /bin
+ doexe ping/ping
+
+ if [ -z "`use build`" ]
+ then
+ exeopts -m 755
+ exeinto /usr/bin
+ dosbin inetd/inetd
+ doman inetd/inetd.8 inetd/daemon.3 ping/ping.8
+
+ dodoc BUGS ChangeLog README
+ docinto samples ; dodoc etc.sample/*
+ exeinto /etc/init.d ; newexe ${FILESDIR}/inetd.rc6 inetd
+ fi
+}