summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2002-10-23 14:37:34 +0000
committerMike Frysinger <vapier@gentoo.org>2002-10-23 14:37:34 +0000
commitc850e96e3b789ff79b5ad71a54a901d5514ae14b (patch)
treec0b7eeaa4cf8bfbb5814266c0b26159171ef76ac /net-misc/fakeidentd/fakeidentd-1.7.ebuild
parentadded IUSE, version bump (diff)
downloadgentoo-2-c850e96e3b789ff79b5ad71a54a901d5514ae14b.tar.gz
gentoo-2-c850e96e3b789ff79b5ad71a54a901d5514ae14b.tar.bz2
gentoo-2-c850e96e3b789ff79b5ad71a54a901d5514ae14b.zip
Saved from the attic
Diffstat (limited to 'net-misc/fakeidentd/fakeidentd-1.7.ebuild')
-rw-r--r--net-misc/fakeidentd/fakeidentd-1.7.ebuild38
1 files changed, 38 insertions, 0 deletions
diff --git a/net-misc/fakeidentd/fakeidentd-1.7.ebuild b/net-misc/fakeidentd/fakeidentd-1.7.ebuild
new file mode 100644
index 000000000000..77773e6c71d5
--- /dev/null
+++ b/net-misc/fakeidentd/fakeidentd-1.7.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.ebuild,v 1.1 2002/10/23 14:37:34 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 ~sparc64 ~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
+}