summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Portnoy <avenj@gentoo.org>2003-07-26 06:45:32 +0000
committerJon Portnoy <avenj@gentoo.org>2003-07-26 06:45:32 +0000
commit36c95276200cb6d56c0deac97308c5f0e92a5f73 (patch)
tree820b39620a753144e5d056077574b071479b64f2
parentfixing Manifest (diff)
downloadhistorical-36c95276200cb6d56c0deac97308c5f0e92a5f73.tar.gz
historical-36c95276200cb6d56c0deac97308c5f0e92a5f73.tar.bz2
historical-36c95276200cb6d56c0deac97308c5f0e92a5f73.zip
Fixed init script for 2.0.7
-rw-r--r--net-misc/oidentd/ChangeLog5
-rw-r--r--net-misc/oidentd/Manifest6
-rw-r--r--net-misc/oidentd/files/oidentd-2.0.7-confd4
-rw-r--r--net-misc/oidentd/files/oidentd-2.0.7-init36
4 files changed, 48 insertions, 3 deletions
diff --git a/net-misc/oidentd/ChangeLog b/net-misc/oidentd/ChangeLog
index 8dcce17f88be..5c6a4797bfe4 100644
--- a/net-misc/oidentd/ChangeLog
+++ b/net-misc/oidentd/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-misc/oidentd
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/oidentd/ChangeLog,v 1.16 2003/07/15 09:17:12 joker Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/oidentd/ChangeLog,v 1.17 2003/07/26 06:45:24 avenj Exp $
+
+ 26 Jul 2003; Jon Portnoy <avenj@gentoo.org> files/oidentd-2.0.7-init :
+ Fixed init script for 2.0.7.
15 Jul 2003; Christian Birchinger <joker@gentoo.org> oidentd-2.0.7.ebuild:
Added sparc stable keyword
diff --git a/net-misc/oidentd/Manifest b/net-misc/oidentd/Manifest
index c705fc486ead..28ff3599374a 100644
--- a/net-misc/oidentd/Manifest
+++ b/net-misc/oidentd/Manifest
@@ -1,4 +1,4 @@
-MD5 1e674c89e6191a859ae099a51d5663af ChangeLog 1930
+MD5 efa1b1948cd81d8c26e1aa733d4021c5 ChangeLog 2035
MD5 8c86b2a2bba8f3a14cbd5bc541dc52a1 oidentd-2.0.3-r1.ebuild 789
MD5 f94d8f3c768c583ca3bf8aaaa5dd9f36 oidentd-2.0.4-r1.ebuild 1058
MD5 a6b0a242eb8efc3acab21091089da50c oidentd-2.0.4.ebuild 921
@@ -7,7 +7,6 @@ MD5 1b3e65819b02d89bb0fbfa816a511c0b oidentd-2.0.7.ebuild 1056
MD5 46f7ca76169cc032ccedb960ff3ce804 files/digest-oidentd-2.0.3-r1 65
MD5 550b78b88970ba0cb0c029087ca100b5 files/digest-oidentd-2.0.4 65
MD5 550b78b88970ba0cb0c029087ca100b5 files/digest-oidentd-2.0.4-r1 65
-MD5 85be7f47ed6684f2868b48e82dd8fa6b files/digest-oidentd-2.0.6 65
MD5 05a43d3987754f179f4e31bbe61ff315 files/oidentd-2.0.3-r1-confd 67
MD5 cac2de961f4152986b7995f38dfb47a9 files/oidentd-2.0.3-r1-init 792
MD5 05a43d3987754f179f4e31bbe61ff315 files/oidentd-2.0.4-confd 67
@@ -15,4 +14,7 @@ MD5 cac2de961f4152986b7995f38dfb47a9 files/oidentd-2.0.4-init 792
MD5 e8200bf63417ae1a1276f2e46e12ef0b files/oidentd-init 494
MD5 d9c40e4d6a0bde685a359ad49b4eada2 files/oidentd.conf 298
MD5 9721b39b5edf1cf4f94f1ac84cdc1cbe files/oidentd_masq.conf 429
+MD5 85be7f47ed6684f2868b48e82dd8fa6b files/digest-oidentd-2.0.6 65
MD5 0c88fdf66a5a16f12d49b0a6c5dd5743 files/digest-oidentd-2.0.7 65
+MD5 05a43d3987754f179f4e31bbe61ff315 files/oidentd-2.0.7-confd 67
+MD5 88e31a664bee946852264d509b043f3b files/oidentd-2.0.7-init 798
diff --git a/net-misc/oidentd/files/oidentd-2.0.7-confd b/net-misc/oidentd/files/oidentd-2.0.7-confd
new file mode 100644
index 000000000000..3116889e67e2
--- /dev/null
+++ b/net-misc/oidentd/files/oidentd-2.0.7-confd
@@ -0,0 +1,4 @@
+# oidentd start-up options
+USER="nobody"
+GROUP="nobody"
+OPTIONS=""
diff --git a/net-misc/oidentd/files/oidentd-2.0.7-init b/net-misc/oidentd/files/oidentd-2.0.7-init
new file mode 100644
index 000000000000..ead41b08ef7f
--- /dev/null
+++ b/net-misc/oidentd/files/oidentd-2.0.7-init
@@ -0,0 +1,36 @@
+#!/sbin/runscript
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header: /var/cvsroot/gentoo-x86/net-misc/oidentd/files/oidentd-2.0.7-init,v 1.1 2003/07/26 06:45:24 avenj 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 $?
+}