summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce A. Locke <blocke@gentoo.org>2002-09-29 19:25:09 +0000
committerBruce A. Locke <blocke@gentoo.org>2002-09-29 19:25:09 +0000
commit13aa7ff48f8d2acb602884f5812555e25f6a9258 (patch)
treef350cf45fcaa3ced8ad20683323310653726c710 /net-misc
parentinstall hdparm as an executable file (diff)
downloadgentoo-2-13aa7ff48f8d2acb602884f5812555e25f6a9258.tar.gz
gentoo-2-13aa7ff48f8d2acb602884f5812555e25f6a9258.tar.bz2
gentoo-2-13aa7ff48f8d2acb602884f5812555e25f6a9258.zip
version bump and placement of example config files into doc directory
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/oidentd/ChangeLog7
-rw-r--r--net-misc/oidentd/files/digest-oidentd-2.0.41
-rw-r--r--net-misc/oidentd/files/oidentd-2.0.4-confd4
-rw-r--r--net-misc/oidentd/files/oidentd-2.0.4-init36
-rw-r--r--net-misc/oidentd/oidentd-2.0.4.ebuild30
5 files changed, 77 insertions, 1 deletions
diff --git a/net-misc/oidentd/ChangeLog b/net-misc/oidentd/ChangeLog
index 65b93daa0662..39652a4b25a6 100644
--- a/net-misc/oidentd/ChangeLog
+++ b/net-misc/oidentd/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-print/oidentd
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/net-misc/oidentd/ChangeLog,v 1.3 2002/07/09 10:17:40 phoenix Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/oidentd/ChangeLog,v 1.4 2002/09/29 19:25:09 blocke Exp $
+
+*oidentd-2.0.4 (29 Sep 2002)
+
+ 29 Sep 2002; Bruce A. Locke <blocke@shivan.org> oidentd-2.0.4.ebuild:
+ Version bump and placement of example configs into docs directory
*oidentd-2.0.3-r1 (23 Jun 2002)
diff --git a/net-misc/oidentd/files/digest-oidentd-2.0.4 b/net-misc/oidentd/files/digest-oidentd-2.0.4
new file mode 100644
index 000000000000..4b7c071525a8
--- /dev/null
+++ b/net-misc/oidentd/files/digest-oidentd-2.0.4
@@ -0,0 +1 @@
+MD5 3b3b1468c57a727b0992753b183e4751 oidentd-2.0.4.tar.gz 157352
diff --git a/net-misc/oidentd/files/oidentd-2.0.4-confd b/net-misc/oidentd/files/oidentd-2.0.4-confd
new file mode 100644
index 000000000000..3116889e67e2
--- /dev/null
+++ b/net-misc/oidentd/files/oidentd-2.0.4-confd
@@ -0,0 +1,4 @@
+# oidentd start-up options
+USER="nobody"
+GROUP="nobody"
+OPTIONS=""
diff --git a/net-misc/oidentd/files/oidentd-2.0.4-init b/net-misc/oidentd/files/oidentd-2.0.4-init
new file mode 100644
index 000000000000..72dcbe0bd8a3
--- /dev/null
+++ b/net-misc/oidentd/files/oidentd-2.0.4-init
@@ -0,0 +1,36 @@
+#!/sbin/runscript
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# /space/gentoo/cvsroot/gentoo-x86/net-misc/oidentd/files/oidentd-init,v 1.1 2002/04/10 22:24:08 woodchip Exp
+
+depend() {
+ need net
+}
+
+check_config() {
+ if [ -z "${USER}" ]
+ then
+ eerror "Please set \$USER in /etc/conf.d/oidentd!"
+ return 1
+ fi
+ if [ -z "${GROUP}" ]
+ then
+ eerror "Please set \$GROUP in /etc/conf.d/oidentd!"
+ return 1
+ fi
+}
+
+
+start() {
+ check_config || return 1
+ ebegin "Starting oidentd"
+ OPTIONS="${OPTIONS} -u ${USER} -g ${GROUP}"
+ start-stop-daemon --start --quiet --exec /usr/sbin/oidentd -- $OPTIONS
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping oidentd"
+ start-stop-daemon --stop --quiet --exec /usr/sbin/oidentd
+ eend $?
+}
diff --git a/net-misc/oidentd/oidentd-2.0.4.ebuild b/net-misc/oidentd/oidentd-2.0.4.ebuild
new file mode 100644
index 000000000000..f5a68d62de7f
--- /dev/null
+++ b/net-misc/oidentd/oidentd-2.0.4.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+
+S=${WORKDIR}/${P}
+DESCRIPTION="Another (RFC1413 compliant) ident daemon"
+HOMEPAGE="http://dev.ojnk.net/"
+SRC_URI="mirror://sourceforge/ojnk/${P}.tar.gz"
+KEYWORDS="x86 sparc sparc64"
+LICENSE="GPL-2"
+SLOT="0"
+
+DEPEND="virtual/glibc"
+
+src_compile() {
+ ./configure --prefix=/usr --mandir=/usr/share/man || die
+ emake || die
+}
+
+src_install() {
+ make DESTDIR=${D} install || die
+ dodoc AUTHORS ChangeLog README TODO NEWS \
+ ${FILESDIR}/oidentd_masq.conf ${FILESDIR}/oidentd.conf
+ exeinto /etc/init.d ; newexe ${FILESDIR}/oidentd-${PV}-init oidentd
+ insinto /etc/conf.d ; newins ${FILESDIR}/oidentd-${PV}-confd oidentd
+}
+
+pkg_postinst() {
+ einfo Example configuration files are in /usr/share/doc/${P}
+}
+