commit:     403c29bc5a1f7aff555915962b083d292fdecdf1
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 28 11:13:55 2020 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Sun Jun 28 12:05:35 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=403c29bc

net-analyzer/arpwatch: Clean up FILESDIR

Bug: https://bugs.gentoo.org/602552
Fixes: 6386bce12b9bae7b7e123449d719203d757a1402
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>

 net-analyzer/arpwatch/files/arpwatch.confd | 11 ---------
 net-analyzer/arpwatch/files/arpwatch.initd | 36 ------------------------------
 2 files changed, 47 deletions(-)

diff --git a/net-analyzer/arpwatch/files/arpwatch.confd 
b/net-analyzer/arpwatch/files/arpwatch.confd
deleted file mode 100644
index 98abe041774..00000000000
--- a/net-analyzer/arpwatch/files/arpwatch.confd
+++ /dev/null
@@ -1,11 +0,0 @@
-# Config file for /etc/init.d/arpwatch
-# see arpwatch.8 for more information
-
-#IFACES="eth0 eth1"
-IFACES="eth0"
-
-# Additional options to pass to arpwatch.
-OPTIONS="-N -p"
-
-# Comment this line if you wish arpwatch to run as root user (not recommended)
-ARPUSER="arpwatch"

diff --git a/net-analyzer/arpwatch/files/arpwatch.initd 
b/net-analyzer/arpwatch/files/arpwatch.initd
deleted file mode 100644
index 5569dcee252..00000000000
--- a/net-analyzer/arpwatch/files/arpwatch.initd
+++ /dev/null
@@ -1,36 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-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} -P 
/var/run/arpwatch.${IFACE}.pid ${OPTIONS}
-               else
-                       chown ${ARPUSER} ${DATAFILE}
-                       start-stop-daemon --start --quiet 
--pidfile=/var/run/arpwatch.${IFACE}.pid --exec \
-                       /usr/sbin/arpwatch -- -i $IFACE -u ${ARPUSER} -f 
${DATAFILE} -P /var/run/arpwatch.${IFACE}.pid ${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
-}

Reply via email to