Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Dec 2019 00:53:08 +0000 (UTC)
From:      Craig Leres <leres@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r520290 - in head/net-mgmt/arpwatch: . files
Message-ID:  <201912170053.xBH0r8xa014335@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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}"
+ }
+ 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201912170053.xBH0r8xa014335>