summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-02-03 06:59:33 +0000
committerMike Frysinger <vapier@gentoo.org>2003-02-03 06:59:33 +0000
commitab8653cd709a34b314fbb512d387daa547c1427b (patch)
treeaf8571bde3452717c27647745011aaa22df2a8ab /net-misc/fakeidentd
parentURL change #14683 (diff)
downloadgentoo-2-ab8653cd709a34b314fbb512d387daa547c1427b.tar.gz
gentoo-2-ab8653cd709a34b314fbb512d387daa547c1427b.tar.bz2
gentoo-2-ab8653cd709a34b314fbb512d387daa547c1427b.zip
fix start/stop init.d #14703
Diffstat (limited to 'net-misc/fakeidentd')
-rw-r--r--net-misc/fakeidentd/ChangeLog9
-rw-r--r--net-misc/fakeidentd/fakeidentd-1.7-r1.ebuild38
-rw-r--r--net-misc/fakeidentd/files/digest-fakeidentd-1.7-r12
-rw-r--r--net-misc/fakeidentd/files/fakeidentd.rc7
4 files changed, 49 insertions, 7 deletions
diff --git a/net-misc/fakeidentd/ChangeLog b/net-misc/fakeidentd/ChangeLog
index b5bdc32eb210..2ec410029281 100644
--- a/net-misc/fakeidentd/ChangeLog
+++ b/net-misc/fakeidentd/ChangeLog
@@ -1,9 +1,12 @@
# ChangeLog for net-misc/fakeidentd
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/net-misc/fakeidentd/ChangeLog,v 1.9 2002/12/13 11:00:11 blizzy Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/fakeidentd/ChangeLog,v 1.10 2003/02/03 06:59:33 vapier Exp $
+
+*fakeidentd-1.7-r1 (03 Feb 2003)
+
+ 03 Feb 2003; Mike Frysinger <vapier@gentoo.org> :
+ Version bump to fix init.d script #14703.
- 06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords
-
*fakeidentd-1.7 (23 Oct 2002)
23 Oct 2002; Mike Frysinger <vapier@gentoo.org> :
diff --git a/net-misc/fakeidentd/fakeidentd-1.7-r1.ebuild b/net-misc/fakeidentd/fakeidentd-1.7-r1.ebuild
new file mode 100644
index 000000000000..d83dd9c6ede4
--- /dev/null
+++ b/net-misc/fakeidentd/fakeidentd-1.7-r1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/fakeidentd/fakeidentd-1.7-r1.ebuild,v 1.1 2003/02/03 06:59:33 vapier Exp $
+
+# This identd is nearly perfect for a NAT box. It runs in one
+# process (doesn't fork()) and isnt very susceptible to DOS attack.
+
+DESCRIPTION="A static, secure identd. One source file only!"
+HOMEPAGE="http://www.guru-group.fi/~too/sw/"
+S="${WORKDIR}"
+SRC_URI="http://www.guru-group.fi/~too/sw/releases/identd.c
+ http://www.guru-group.fi/~too/sw/identd.readme"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~sparc ~alpha"
+IUSE=""
+
+DEPEND="virtual/glibc"
+
+src_unpack() {
+ cp ${DISTDIR}/identd.c ${DISTDIR}/identd.readme ${WORKDIR}
+}
+
+src_compile() {
+ gcc identd.c -o ${PN} ${CFLAGS} || die
+}
+
+src_install() {
+ dosbin ${PN}
+ # Changelog in source is more current. Its only ~13kB anyway.
+ dodoc identd.readme identd.c
+
+ exeinto /etc/init.d
+ newexe ${FILESDIR}/fakeidentd.rc fakeidentd
+ insinto /etc/conf.d
+ newins ${FILESDIR}/fakeidentd.confd fakeidentd
+}
diff --git a/net-misc/fakeidentd/files/digest-fakeidentd-1.7-r1 b/net-misc/fakeidentd/files/digest-fakeidentd-1.7-r1
new file mode 100644
index 000000000000..5f621af440c9
--- /dev/null
+++ b/net-misc/fakeidentd/files/digest-fakeidentd-1.7-r1
@@ -0,0 +1,2 @@
+MD5 1d25b83dca04cbe76d920b6604b3499d identd.c 18053
+MD5 1b7583075af33ba675abf8392173bc78 identd.readme 1084
diff --git a/net-misc/fakeidentd/files/fakeidentd.rc b/net-misc/fakeidentd/files/fakeidentd.rc
index 218ae35ef817..bacd469c1140 100644
--- a/net-misc/fakeidentd/files/fakeidentd.rc
+++ b/net-misc/fakeidentd/files/fakeidentd.rc
@@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/fakeidentd/files/fakeidentd.rc,v 1.1 2002/10/23 14:37:34 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/fakeidentd/files/fakeidentd.rc,v 1.2 2003/02/03 06:59:33 vapier Exp $
depend() {
need net
@@ -9,13 +9,12 @@ depend() {
start() {
ebegin "Starting fakeidentd"
- start-stop-daemon --start --quiet --startas /usr/sbin/fakeidentd \
- --pidfile /var/run/fakeidentd.pid -- ${FAKEIDENTD_OPTS}
+ fakeidentd ${FAKEIDENTD_OPTS}
eend $?
}
stop() {
ebegin "Stopping fakeidentd"
- start-stop-daemon --stop --quiet --pidfile /var/run/fakeidentd.pid
+ killall fakeidentd
eend $?
}