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
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')
-rw-r--r--net-misc/fakeidentd/ChangeLog33
-rw-r--r--net-misc/fakeidentd/fakeidentd-1.7.ebuild38
-rw-r--r--net-misc/fakeidentd/files/digest-fakeidentd-1.72
-rw-r--r--net-misc/fakeidentd/files/fakeidentd.confd10
-rw-r--r--net-misc/fakeidentd/files/fakeidentd.rc21
5 files changed, 104 insertions, 0 deletions
diff --git a/net-misc/fakeidentd/ChangeLog b/net-misc/fakeidentd/ChangeLog
new file mode 100644
index 000000000000..01db5840c8d4
--- /dev/null
+++ b/net-misc/fakeidentd/ChangeLog
@@ -0,0 +1,33 @@
+# 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.7 2002/10/23 14:37:34 vapier Exp $
+
+*fakeidentd-1.7 (23 Oct 2002)
+
+ 23 Oct 2002; Mike Frysinger <vapier@gentoo.org> :
+ Saved from the Attic ;) (fakeidentd-1.5 and previous have root exploits)
+
+*fakeidentd-1.4-r8 (3 May 2002)
+
+ 6 Jul 2002; phoen][x <phoenixp@gentoo.org> fakeidentd-1.4-r8.ebuild :
+ Added KEYWORDS.
+
+ 3 May 2002; Donny Davies <woodchip@gentoo.org> :
+ Added LICENSE, SLOT, $Headers.
+
+*fakeidentd-1.4-r7 (1 Apr 2002)
+
+ 1 Apr 2002; Donny Davies <woodchip@gentoo.org> fakeidentd-1.4-r7,
+ files/fakeidentd.confd files/fakeidentd.rc6 :
+ Added an /etc/conf.d/fakeidentd file for those who want to easily change
+ what it replies with ;) Patched the source to write its PID to fakeidentd.pid
+ instead of identd.pid. Tweaked the initscript accordingly.
+
+*fakeidentd-1.4-r6 (1 Feb 2002)
+
+ 1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog :
+ Added initial ChangeLog which should be updated whenever the package is
+ updated in any way. This changelog is targetted to users. This means that the
+ 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/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
+}
diff --git a/net-misc/fakeidentd/files/digest-fakeidentd-1.7 b/net-misc/fakeidentd/files/digest-fakeidentd-1.7
new file mode 100644
index 000000000000..5f621af440c9
--- /dev/null
+++ b/net-misc/fakeidentd/files/digest-fakeidentd-1.7
@@ -0,0 +1,2 @@
+MD5 1d25b83dca04cbe76d920b6604b3499d identd.c 18053
+MD5 1b7583075af33ba675abf8392173bc78 identd.readme 1084
diff --git a/net-misc/fakeidentd/files/fakeidentd.confd b/net-misc/fakeidentd/files/fakeidentd.confd
new file mode 100644
index 000000000000..ef6905977a01
--- /dev/null
+++ b/net-misc/fakeidentd/files/fakeidentd.confd
@@ -0,0 +1,10 @@
+# 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.confd,v 1.4 2002/10/23 14:37:34 vapier Exp $
+
+# Config file for /etc/init.d/fakeidentd
+
+# Change this to whatever you want the daemon to reply with.
+# The daemon will default to 'nobody' ...
+
+#FAKEIDENTD_OPTS="nobody"
diff --git a/net-misc/fakeidentd/files/fakeidentd.rc b/net-misc/fakeidentd/files/fakeidentd.rc
new file mode 100644
index 000000000000..218ae35ef817
--- /dev/null
+++ b/net-misc/fakeidentd/files/fakeidentd.rc
@@ -0,0 +1,21 @@
+#!/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 $
+
+depend() {
+ need net
+}
+
+start() {
+ ebegin "Starting fakeidentd"
+ start-stop-daemon --start --quiet --startas /usr/sbin/fakeidentd \
+ --pidfile /var/run/fakeidentd.pid -- ${FAKEIDENTD_OPTS}
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping fakeidentd"
+ start-stop-daemon --stop --quiet --pidfile /var/run/fakeidentd.pid
+ eend $?
+}