summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Ullmann <jokey@gentoo.org>2007-06-02 22:37:16 +0000
committerMarkus Ullmann <jokey@gentoo.org>2007-06-02 22:37:16 +0000
commit0ab4939e90e0525a639def118aecdf31b688d826 (patch)
treecc330c5717b2babd770b7fa16012ef3b468a0b70 /net-analyzer/arpwatch/files
parent* closing bug #151839 (diff)
downloadgentoo-2-0ab4939e90e0525a639def118aecdf31b688d826.tar.gz
gentoo-2-0ab4939e90e0525a639def118aecdf31b688d826.tar.bz2
gentoo-2-0ab4939e90e0525a639def118aecdf31b688d826.zip
cleanup and drop old
(Portage version: 2.1.2.9)
Diffstat (limited to 'net-analyzer/arpwatch/files')
-rw-r--r--net-analyzer/arpwatch/files/arpwatch.confd4
-rw-r--r--net-analyzer/arpwatch/files/arpwatch.init36
-rw-r--r--net-analyzer/arpwatch/files/arpwatch.initd (renamed from net-analyzer/arpwatch/files/arpwatch.init-2)2
-rw-r--r--net-analyzer/arpwatch/files/digest-arpwatch-2.1.15-r36
4 files changed, 5 insertions, 43 deletions
diff --git a/net-analyzer/arpwatch/files/arpwatch.confd b/net-analyzer/arpwatch/files/arpwatch.confd
index 960454e79d79..dcf11eac077a 100644
--- a/net-analyzer/arpwatch/files/arpwatch.confd
+++ b/net-analyzer/arpwatch/files/arpwatch.confd
@@ -7,3 +7,7 @@ IFACES="eth0"
# Additional options to pass to arpwatch.
OPTIONS="-N -p"
+
+# Uncomment this line if you wish arpwatch to drop privileges.
+# Don't forget to adjust permissions on /var/lib/arpwarch
+#ARPUSER="arpwatch"
diff --git a/net-analyzer/arpwatch/files/arpwatch.init b/net-analyzer/arpwatch/files/arpwatch.init
deleted file mode 100644
index f4c45bf90a9c..000000000000
--- a/net-analyzer/arpwatch/files/arpwatch.init
+++ /dev/null
@@ -1,36 +0,0 @@
-#!/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/arpwatch/files/arpwatch.init,v 1.10 2007/02/01 21:09:13 jokey Exp $
-
-depend() {
- need net
-}
-
-start() {
- for IFACE in ${IFACES}
- do
- ebegin "Starting arpwatch on ${IFACE}"
- DATAFILE=/var/lib/arpwatch/${IFACE}.dat
- [ ! -f ${DATAFILE} ] && touch ${DATAFILE}
-
- if [ -z ${ARPUSER} ]; then
- start-stop-daemon --start --quiet --pidfile=/var/run/arpwatch.${IFACE}.pid --exec \
- /usr/sbin/arpwatch -- -i ${IFACE} -f ${DATAFILE} ${OPTIONS}
- else
- start-stop-daemon --start --quiet --pidfile=/var/run/arpwatch.${IFACE}.pid --exec \
- /usr/sbin/arpwatch -- -i $IFACE -u ${ARPUSER} -f ${DATAFILE} ${OPTIONS}
- fi
- eend $?
- done
-}
-
-stop() {
- for IFACE in ${IFACES}
- do
- ebegin "Stopping arpwatch on ${IFACE}"
- start-stop-daemon --stop --quiet --pidfile=/var/run/arpwatch.${IFACE}.pid --exec \
- /usr/sbin/arpwatch
- eend $?
- done
-}
diff --git a/net-analyzer/arpwatch/files/arpwatch.init-2 b/net-analyzer/arpwatch/files/arpwatch.initd
index 4929e6278c01..23e852544eff 100644
--- a/net-analyzer/arpwatch/files/arpwatch.init-2
+++ b/net-analyzer/arpwatch/files/arpwatch.initd
@@ -1,7 +1,7 @@
#!/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/arpwatch/files/arpwatch.init-2,v 1.2 2007/03/27 19:33:47 pva Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/arpwatch/files/arpwatch.initd,v 1.1 2007/06/02 22:37:16 jokey Exp $
depend() {
need net
diff --git a/net-analyzer/arpwatch/files/digest-arpwatch-2.1.15-r3 b/net-analyzer/arpwatch/files/digest-arpwatch-2.1.15-r3
deleted file mode 100644
index 2095be93fb6b..000000000000
--- a/net-analyzer/arpwatch/files/digest-arpwatch-2.1.15-r3
+++ /dev/null
@@ -1,6 +0,0 @@
-MD5 cebfeb99c4a7c2a6cee2564770415fe7 arpwatch-2.1a15.tar.gz 202729
-RMD160 a27ee53275dcec3cafb85eb3df2451d42ec32b0c arpwatch-2.1a15.tar.gz 202729
-SHA256 c1df9737e208a96a61fa92ddad83f4b4d9be66f8992f3c917e9edf4b05ff5898 arpwatch-2.1a15.tar.gz 202729
-MD5 baf2334920b032cce0d01decf049d5b3 arpwatch-patchset-0.3.tbz2 15934
-RMD160 5e21ac57fa5beca751d1d5a42ea3632e70ee953e arpwatch-patchset-0.3.tbz2 15934
-SHA256 7721f983ea21f5e0bfb265982e59d0de9d76f1021abf2c2e359f91805922bfe3 arpwatch-patchset-0.3.tbz2 15934