diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-09-20 00:17:10 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-09-20 00:17:10 +0000 |
commit | 16864267234c240c1aea81a87300fa3bed506b2f (patch) | |
tree | b1142ecbb2e3f62b6c849596a39c9446bed65d40 /net-misc/fakeidentd | |
parent | stable on amd64 (Manifest recommit) (diff) | |
download | gentoo-2-16864267234c240c1aea81a87300fa3bed506b2f.tar.gz gentoo-2-16864267234c240c1aea81a87300fa3bed506b2f.tar.bz2 gentoo-2-16864267234c240c1aea81a87300fa3bed506b2f.zip |
ver bump #64285
Diffstat (limited to 'net-misc/fakeidentd')
-rw-r--r-- | net-misc/fakeidentd/ChangeLog | 8 | ||||
-rw-r--r-- | net-misc/fakeidentd/fakeidentd-2.2.ebuild | 36 | ||||
-rw-r--r-- | net-misc/fakeidentd/files/digest-fakeidentd-2.2 | 1 | ||||
-rw-r--r-- | net-misc/fakeidentd/files/fakeidentd.rc | 10 |
4 files changed, 49 insertions, 6 deletions
diff --git a/net-misc/fakeidentd/ChangeLog b/net-misc/fakeidentd/ChangeLog index 71330de3c85f..d7c5ddc15279 100644 --- a/net-misc/fakeidentd/ChangeLog +++ b/net-misc/fakeidentd/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-misc/fakeidentd # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/fakeidentd/ChangeLog,v 1.19 2004/07/01 20:59:53 squinky86 Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/fakeidentd/ChangeLog,v 1.20 2004/09/20 00:17:10 vapier Exp $ + +*fakeidentd-2.2 (19 Sep 2004) + + 19 Sep 2004; Mike Frysinger <vapier@gentoo.org> files/fakeidentd.rc, + +fakeidentd-2.2.ebuild: + Version bump #64285 by Christian Schlotter. 01 Jul 2004; Jon Hood <squinky86@gentoo.org> fakeidentd-2.0-r1.ebuild: change virtual/glibc to virtual/libc diff --git a/net-misc/fakeidentd/fakeidentd-2.2.ebuild b/net-misc/fakeidentd/fakeidentd-2.2.ebuild new file mode 100644 index 000000000000..ac40291bc1fe --- /dev/null +++ b/net-misc/fakeidentd/fakeidentd-2.2.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/fakeidentd/fakeidentd-2.2.ebuild,v 1.1 2004/09/20 00:17:10 vapier Exp $ + +inherit gcc + +DESCRIPTION="A static, secure identd. One source file only!" +HOMEPAGE="http://www.guru-group.fi/~too/sw/" +SRC_URI="mirror://gentoo/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 arm ppc ppc64 sparc x86" +IUSE="" + +DEPEND="virtual/libc" + +S=${WORKDIR} + +src_unpack() { + unpack ${A} + sed -i "s:identd.pid:${PN}.pid:" identd.c +} + +src_compile() { + $(gcc-getCC) identd.c -o ${PN} ${CFLAGS} || die +} + +src_install() { + dosbin ${PN} || die + # 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-2.2 b/net-misc/fakeidentd/files/digest-fakeidentd-2.2 new file mode 100644 index 000000000000..baefa6c65d0c --- /dev/null +++ b/net-misc/fakeidentd/files/digest-fakeidentd-2.2 @@ -0,0 +1 @@ +MD5 aa4133981c94c59868344cd3b02e8e19 fakeidentd-2.2.tar.bz2 8341 diff --git a/net-misc/fakeidentd/files/fakeidentd.rc b/net-misc/fakeidentd/files/fakeidentd.rc index 70e547f4a2a3..75efb98650ff 100644 --- a/net-misc/fakeidentd/files/fakeidentd.rc +++ b/net-misc/fakeidentd/files/fakeidentd.rc @@ -1,7 +1,7 @@ #!/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/fakeidentd/files/fakeidentd.rc,v 1.5 2004/07/14 23:58:18 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/fakeidentd/files/fakeidentd.rc,v 1.6 2004/09/20 00:17:10 vapier Exp $ depend() { need net @@ -15,8 +15,8 @@ start() { stop() { ebegin "Stopping fakeidentd" - [ -e /var/run/fakeidentd.pid ] \ - && kill `cat /var/run/fakeidentd.pid` \ - && rm -f /var/run/fakeidentd.pid - eend $? + start-stop-daemon --stop --pidfile /var/run/fakeidentd.pid + local ret=$? + rm -f /var/run/fakeidentd.pid + eend ${ret} } |