summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcelo Góes <vanquirius@gentoo.org>2006-07-08 02:30:32 +0000
committerMarcelo Góes <vanquirius@gentoo.org>2006-07-08 02:30:32 +0000
commit3df61ed0979477c5b86992d083f350b4b145c3e0 (patch)
tree2e5e6fe674926d95a32f173f0715815febbc1d67 /net-analyzer/darkstat/files
parentfix digests, remove old version (diff)
downloadgentoo-2-3df61ed0979477c5b86992d083f350b4b145c3e0.tar.gz
gentoo-2-3df61ed0979477c5b86992d083f350b4b145c3e0.tar.bz2
gentoo-2-3df61ed0979477c5b86992d083f350b4b145c3e0.zip
3.0.524 version bump. Updated init scripts to use eth0 by default, not pass --detach as an option. Also, new version does not use patch from version 2.6.
(Portage version: 2.1-r1)
Diffstat (limited to 'net-analyzer/darkstat/files')
-rw-r--r--net-analyzer/darkstat/files/darkstat-confd28
-rw-r--r--net-analyzer/darkstat/files/darkstat-init220
-rw-r--r--net-analyzer/darkstat/files/digest-darkstat-3.0.5243
3 files changed, 31 insertions, 0 deletions
diff --git a/net-analyzer/darkstat/files/darkstat-confd2 b/net-analyzer/darkstat/files/darkstat-confd2
new file mode 100644
index 000000000000..a54d0a245356
--- /dev/null
+++ b/net-analyzer/darkstat/files/darkstat-confd2
@@ -0,0 +1,8 @@
+# /etc/conf.d/darkstat
+# Config file for /etc/init.d/darkstat
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/darkstat/files/darkstat-confd2,v 1.1 2006/07/08 02:30:32 vanquirius Exp $
+
+# Set preferred options here
+DARKSTAT_OPTS="-i eth0"
diff --git a/net-analyzer/darkstat/files/darkstat-init2 b/net-analyzer/darkstat/files/darkstat-init2
new file mode 100644
index 000000000000..abcd54d62112
--- /dev/null
+++ b/net-analyzer/darkstat/files/darkstat-init2
@@ -0,0 +1,20 @@
+#!/sbin/runscript
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/darkstat/files/darkstat-init2,v 1.1 2006/07/08 02:30:32 vanquirius Exp $
+
+depend() {
+ need net
+}
+
+start() {
+ ebegin "Starting darkstat"
+ start-stop-daemon --start --quiet --exec /usr/sbin/darkstat -- -d /var/spool/darkstat ${DARKSTAT_OPTS} >/dev/null
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping darkstat"
+ start-stop-daemon --stop --quiet --retry 5 --exec /usr/sbin/darkstat
+ eend $?
+}
diff --git a/net-analyzer/darkstat/files/digest-darkstat-3.0.524 b/net-analyzer/darkstat/files/digest-darkstat-3.0.524
new file mode 100644
index 000000000000..4a36b7a5597e
--- /dev/null
+++ b/net-analyzer/darkstat/files/digest-darkstat-3.0.524
@@ -0,0 +1,3 @@
+MD5 f4a18ccb9c77c3d2317c1a041519a21e darkstat-3.0.524.tar.bz2 74605
+RMD160 42380b23902cef4cc348fd1f736542dd17296b54 darkstat-3.0.524.tar.bz2 74605
+SHA256 767b27882ff26ac041517a951c366e49c18cea92bf3d4a0e779136a5dcbe9ee2 darkstat-3.0.524.tar.bz2 74605