Summary: | An RFC 1413 compliant ident daemon | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Felix De Vliegher <felixdv> |
Component: | New packages | Assignee: | Donny Davies (RETIRED) <woodchip> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | PCGod |
Priority: | High | ||
Version: | 1.0 RC6 r14 | ||
Hardware: | x86 | ||
OS: | Linux | ||
URL: | http://dev.ojnk.net | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Felix De Vliegher
2002-02-24 06:54:34 UTC
Ebuild: ------------------------------------ # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public Licence, v2 or later # Author phoen][x <eqc_phoenix@gmx.de> S=${WORKDIR}/${P} DESCRIPTION="Another ident daemon - use it if fakeidentd doesn't work for you" HOMEPAGE="http://dev.ojnk.net/" SRC_URI="http://prdownloads.sourceforge.net/ojnk/${P}.tar.gz" DEPEND="virtual/glibc" src_compile() { cd ${S} ./configure --prefix=/usr || die emake || die } src_install() { make DESTDIR=${D} \ docdir=/usr/share/doc/${PF} \ gnulocaledir=${D}/usr/share/locale \ install || die dodoc AUTHORS ChangeLog README TODO NEWS exeinto /etc/init.d ; newexe ${FILESDIR}/oidentd oidentd } ------------------------------ /etc/init.d/oidentd file ------------------------------ #!/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 oident daemon" start-stop-daemon --start --quiet --exec /usr/local/sbin/oidentd eend $? } stop() { ebegin "Stopping oident daemon" start-stop-daemon --stop --quiet --exec /usr/local/sbin/oidentd eend $? } ----------------------------- OK, please verify that this stuff doesn't get isntalled in /usr/local. If so, then you have the wrong path in the initscript. the executable has to be installed in /usr/sbin/oidentd? -phoen][x- fixed it. heres the new version: net-misc/oidentd/oidentd-2.0.3.ebuild # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Author phoen][x <eqc_phoenix@gmx.de> # Fakeidentd didnt work for me, but this one is really great. S=${WORKDIR}/${P} DESCRIPTION="Another ident daemon - use it if fakeidentd doesn't work for you" HOMEPAGE="http://dev.ojnk.net/" SRC_URI="http://prdownloads.sourceforge.net/ojnk/${P}.tar.gz" DEPEND="virtual/glibc" src_compile() { cd ${S} ./configure --prefix=/usr --exec-prefix=/usr || die emake || die } src_install () { make DESTDIR=${D} \ docdir=/usr/share/doc/${PF} \ gnulocaledir=${D}/usr/share/locale \ install || die dodoc AUTHORS ChangeLog README TODO NEWS exeinto /etc/init.d ; newexe ${FILESDIR}/oidentd oidentd } net-misc/oidentd/files/oidentd #!/sbin/runscript # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Author phoen][x <eqc_phoenix@gmx.de> depend() { need net } start() { ebegin "Starting oidentd" start-stop-daemon --start --quiet --exec /usr/sbin/oidentd eend $? } stop() { ebegin "Stopping oidentd" start-stop-daemon --stop --quiet --exec /usr/sbin/oidentd eend $? } exeinto /etc/init.d ; newexe ${FILESDIR}/oidentd oidentd newexe is only for when you rename a file, so the above code is redundant. exeinto /etc/init.d ; newexe ${FILESDIR}/oidentd-init oidentd this line is much better :) Also, just what exactly is this supposed to mean? # Fakeidentd didnt work for me, but this one is really great DESCRIPTION="Another ident daemon - use it if fakeidentd doesn't work for you" How about describing what is wrong with fakeidentd? Better yet, how about removing the carves on fakeidentd from this submission. okay, i compiled it on this nifty debian box and connected to dal and w00t - it autokilled me. the problem is that fakeidentd idetifies the box as nobody, and the dalnet server doesnt like that. if i start fakeident with something like `./identd phoenix`, it works 100%. (yeah you were right about that, woodchip - sorry for the 1hr of useless conversation) maybe you should think about modifying the /etc/init.d/fakeidentd (and put the hostname in there or something), or put a line in the ebuild, that'll tell stupid users like me to change it themself if they want to connect to dalnet. i'll repeat what i said on irc: i did not want to offend you with this comment in my ebuild. if that's not enough for you, fine - continue ignoring me then. i'll paste the whole ebuild again (with modified description and removed comments) see you on irc, -phoen][x- btw, so this is the right way to do use exeinto? __net-misc/oidentd/oidentd-2.0.3.ebuild__________________________________ # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Author phoen][x <eqc_phoenix@gmx.de> # Fakeidentd didnt work for me, but this one is really great. S=${WORKDIR}/${P} DESCRIPTION="Another (RFC1413 compliant) ident daemon" HOMEPAGE="http://dev.ojnk.net/" SRC_URI="http://prdownloads.sourceforge.net/ojnk/${P}.tar.gz" DEPEND="virtual/glibc" src_compile() { cd ${S} ./configure --prefix=/usr --exec-prefix=/usr || die emake || die } src_install () { make DESTDIR=${D} \ docdir=/usr/share/doc/${PF} \ gnulocaledir=${D}/usr/share/locale \ install || die dodoc AUTHORS ChangeLog README TODO NEWS exeinto /etc/init.d ; newexe ${FILESDIR}/oidentd-init oidentd } __net-misc/oidentd/files/oidentd-init____________________________________ #!/sbin/runscript # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Author phoen][x <eqc_phoenix@gmx.de> depend() { need net } start() { ebegin "Starting oidentd" start-stop-daemon --start --quiet --exec /usr/sbin/oidentd eend $? } stop() { ebegin "Stopping oidentd" start-stop-daemon --stop --quiet --exec /usr/sbin/oidentd eend $? } *** Bug 1400 has been marked as a duplicate of this bug. *** This is the original submission for oidentd, which I am leaving open. added. could use some more work. |