This is as simple as fakeidentd to build (ie. one file), however its actually a real identd, so it actually gives the real username of the connection being ident'd, as opposed to 'nobody' as a response to everything. Here is the ebuild, and the init script for it: linux-identd-1.1.ebuild # Copyright 1999-2001 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Author: Preston A. Elder <prez@goth.net> # /space/gentoo/cvsroot/gentoo-x86/net-misc/linux-identd/linux-identd-1.1.ebuild,v 1.1 2001/09/14 15:26:10 chouser 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 real IDENT daemon for linux." HOMEPAGE="http://www.fukt.bth.se/~per/identd" S=${WORKDIR}/${P} SRC_URI="http://www.fukt.bth.se/~per/identd/linux-identd-1.1.tar.gz" DEPEND="virtual/glibc" src_compile() { cd ${S} emake || die } src_install () { dodir /etc/init.d /usr/sbin /usr/share/man/man8 dodoc README COPYING ChangeLog make install DESTDIR=${D} MANDIR=/usr/share/man || die cp ${FILESDIR}/identd ${D}/etc/init.d } identd: #!/sbin/runscript # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later depend() { need net } start() { ebegin "Starting identd" start-stop-daemon --start --quiet --name identd \ --startas /usr/sbin/identd -- -d eend $? } stop() { ebegin "Stopping identd" start-stop-daemon --stop --quiet --name identd eend $? }
Added to portage tree.
db fix