summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2005-05-03 22:33:25 +0000
committerAlin Năstac <mrness@gentoo.org>2005-05-03 22:33:25 +0000
commit60c81a9b1cdbef935a5d0a415ccfffad68a73a8d (patch)
treed3c61f14a33eb50d22937ab38dcbdbe6f83f0b24 /net-proxy/oops/files
parentMark stable on x86. (diff)
downloadgentoo-2-60c81a9b1cdbef935a5d0a415ccfffad68a73a8d.tar.gz
gentoo-2-60c81a9b1cdbef935a5d0a415ccfffad68a73a8d.tar.bz2
gentoo-2-60c81a9b1cdbef935a5d0a415ccfffad68a73a8d.zip
version bumped to the latest pre-release; fixes security bug #91303; add the init script
(Portage version: 2.0.51.19)
Diffstat (limited to 'net-proxy/oops/files')
-rw-r--r--net-proxy/oops/files/digest-oops-1.5.24_pre200504032
-rw-r--r--net-proxy/oops/files/oops.initd27
2 files changed, 29 insertions, 0 deletions
diff --git a/net-proxy/oops/files/digest-oops-1.5.24_pre20050403 b/net-proxy/oops/files/digest-oops-1.5.24_pre20050403
new file mode 100644
index 000000000000..dd3afa9ce884
--- /dev/null
+++ b/net-proxy/oops/files/digest-oops-1.5.24_pre20050403
@@ -0,0 +1,2 @@
+MD5 bfa19752af517bb5a6cd746acf61064c oops-1.5.23.tar.gz 473290
+MD5 8fbd0e763338eba31949d2a20217707a oops-1.5.24_pre20050403.patch.gz 101103
diff --git a/net-proxy/oops/files/oops.initd b/net-proxy/oops/files/oops.initd
new file mode 100644
index 000000000000..6671bd754a57
--- /dev/null
+++ b/net-proxy/oops/files/oops.initd
@@ -0,0 +1,27 @@
+#!/sbin/runscript
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/oops/files/oops.initd,v 1.1 2005/05/03 22:33:25 mrness Exp $
+
+depend() {
+ need net
+}
+
+start() {
+ ebegin "Starting oops"
+ /usr/sbin/oopsctl start &> /dev/null
+ eend $?
+}
+
+status() {
+ if service_started "${myservice}"; then
+ /usr/sbin/oopsctl stat
+ fi
+ return 0
+}
+
+stop() {
+ ebegin "Stopping oops"
+ /usr/sbin/oopsctl stop &> /dev/null
+ eend $?
+}