Gentoo Archives: gentoo-commits

From: Jeroen Roovers <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/arpwatch/files/
Date: Sun, 28 Jun 2020 12:05:51
Message-Id: 1593345935.403c29bc5a1f7aff555915962b083d292fdecdf1.jer@gentoo
1 commit: 403c29bc5a1f7aff555915962b083d292fdecdf1
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jun 28 11:13:55 2020 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Sun Jun 28 12:05:35 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=403c29bc
7
8 net-analyzer/arpwatch: Clean up FILESDIR
9
10 Bug: https://bugs.gentoo.org/602552
11 Fixes: 6386bce12b9bae7b7e123449d719203d757a1402
12 Package-Manager: Portage-2.3.103, Repoman-2.3.23
13 Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>
14
15 net-analyzer/arpwatch/files/arpwatch.confd | 11 ---------
16 net-analyzer/arpwatch/files/arpwatch.initd | 36 ------------------------------
17 2 files changed, 47 deletions(-)
18
19 diff --git a/net-analyzer/arpwatch/files/arpwatch.confd b/net-analyzer/arpwatch/files/arpwatch.confd
20 deleted file mode 100644
21 index 98abe041774..00000000000
22 --- a/net-analyzer/arpwatch/files/arpwatch.confd
23 +++ /dev/null
24 @@ -1,11 +0,0 @@
25 -# Config file for /etc/init.d/arpwatch
26 -# see arpwatch.8 for more information
27 -
28 -#IFACES="eth0 eth1"
29 -IFACES="eth0"
30 -
31 -# Additional options to pass to arpwatch.
32 -OPTIONS="-N -p"
33 -
34 -# Comment this line if you wish arpwatch to run as root user (not recommended)
35 -ARPUSER="arpwatch"
36
37 diff --git a/net-analyzer/arpwatch/files/arpwatch.initd b/net-analyzer/arpwatch/files/arpwatch.initd
38 deleted file mode 100644
39 index 5569dcee252..00000000000
40 --- a/net-analyzer/arpwatch/files/arpwatch.initd
41 +++ /dev/null
42 @@ -1,36 +0,0 @@
43 -#!/sbin/openrc-run
44 -# Copyright 1999-2006 Gentoo Foundation
45 -# Distributed under the terms of the GNU General Public License v2
46 -
47 -depend() {
48 - need net
49 -}
50 -
51 -start() {
52 - for IFACE in ${IFACES}
53 - do
54 - ebegin "Starting arpwatch on ${IFACE}"
55 - DATAFILE=/var/lib/arpwatch/${IFACE}.dat
56 - [ ! -f ${DATAFILE} ] && touch ${DATAFILE}
57 -
58 - if [ -z ${ARPUSER} ]; then
59 - start-stop-daemon --start --quiet --pidfile=/var/run/arpwatch.${IFACE}.pid --exec \
60 - /usr/sbin/arpwatch -- -i ${IFACE} -f ${DATAFILE} -P /var/run/arpwatch.${IFACE}.pid ${OPTIONS}
61 - else
62 - chown ${ARPUSER} ${DATAFILE}
63 - start-stop-daemon --start --quiet --pidfile=/var/run/arpwatch.${IFACE}.pid --exec \
64 - /usr/sbin/arpwatch -- -i $IFACE -u ${ARPUSER} -f ${DATAFILE} -P /var/run/arpwatch.${IFACE}.pid ${OPTIONS}
65 - fi
66 - eend $?
67 - done
68 -}
69 -
70 -stop() {
71 - for IFACE in ${IFACES}
72 - do
73 - ebegin "Stopping arpwatch on ${IFACE}"
74 - start-stop-daemon --stop --quiet --pidfile=/var/run/arpwatch.${IFACE}.pid --exec \
75 - /usr/sbin/arpwatch
76 - eend $?
77 - done
78 -}