svn commit: r520290 - in head/net-mgmt/arpwatch: . files
Craig Leres
leres at FreeBSD.org
Tue Dec 17 00:53:09 UTC 2019
Author: leres
Date: Tue Dec 17 00:53:08 2019
New Revision: 520290
URL: https://svnweb.freebsd.org/changeset/ports/520290
Log:
net-mgmt/arpwatch: Fix the rc.d script to handle interface names
with '.' in them based on a patch from Daniel Duerr. Remove obsolete
port version of the rc.d script.
PR: 242673
Submitted by: Daniel Duerr
Approved by: ler (mentor, implicit)
Added:
head/net-mgmt/arpwatch/files/patch-arpwatch.sh.in (contents, props changed)
Deleted:
head/net-mgmt/arpwatch/files/arpwatch.in
Modified:
head/net-mgmt/arpwatch/Makefile
Modified: head/net-mgmt/arpwatch/Makefile
==============================================================================
--- head/net-mgmt/arpwatch/Makefile Mon Dec 16 23:24:08 2019 (r520289)
+++ head/net-mgmt/arpwatch/Makefile Tue Dec 17 00:53:08 2019 (r520290)
@@ -3,7 +3,7 @@
PORTNAME= arpwatch
PORTVERSION= 3.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= net-mgmt
MASTER_SITES= https://ee.lbl.gov/downloads/arpwatch/ \
LOCAL/leres/arpwatch
Added: head/net-mgmt/arpwatch/files/patch-arpwatch.sh.in
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net-mgmt/arpwatch/files/patch-arpwatch.sh.in Tue Dec 17 00:53:08 2019 (r520290)
@@ -0,0 +1,12 @@
+--- arpwatch.sh.in.orig 2014-07-25 18:42:17 UTC
++++ arpwatch.sh.in
+@@ -47,7 +47,8 @@ arpwatch_precmd()
+ if [ $cmd == start ]; then
+ prep_datfile ${fn}
+ fi
+- eval options=\$arpwatch_${interface}_options
++ ltr ${interface} . _ _interface
++ eval options=\$arpwatch_${_interface}_options
+ command_args="-i ${interface} -f ${fn} -P ${pidfile} ${options}"
+ }
+
More information about the svn-ports-all
mailing list