Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 1454 - Another (much simpler - one file compile) IDENT daemon
Summary: Another (much simpler - one file compile) IDENT daemon
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Daniel Robbins (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-04-01 13:06 UTC by Preston A. Elder
Modified: 2003-04-04 01:28 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Preston A. Elder 2002-04-01 13:06:17 UTC
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 $?
}
Comment 1 Preston A. Elder (RETIRED) gentoo-dev 2002-04-26 13:28:50 UTC
Added to portage tree.
Comment 2 John Davis (zhen) (RETIRED) gentoo-dev 2003-04-04 01:23:06 UTC
db fix
Comment 3 John Davis (zhen) (RETIRED) gentoo-dev 2003-04-04 01:28:01 UTC
db fix