ports/97958: update to net-mgmt/arpwatch
Matt Wilbur
matt at efs.org
Tue Jun 6 16:30:27 UTC 2006
The following reply was made to PR ports/97958; it has been noted by GNATS.
From: Matt Wilbur <matt at efs.org>
To: <bug-followup at FreeBSD.org>, <matt at efs.org>
Cc:
Subject: Re: ports/97958: update to net-mgmt/arpwatch
Date: Sat, 03 Jun 2006 12:10:00 -0700
My first batch was broken - I had had trouble getting the port to cleanly
deinstall - I must have had a lingering arp.dat- from an old installation.
Unfortunately my patch would have nuked someones existing arp.dat - not
good.
The patch below (also at http://donut.efs.org/~matt/arpwatch2.diff) will
cleanly remove any arp.dat- and arp.dat files in case of a deinstall
(previously not don't) but doesn't clobber existing an arp.dat the system
may have populated.
Sorry about that..
Matt
----
diff -u /usr/ports/net-mgmt/arpwatch/Makefile arpwatch/Makefile
--- /usr/ports/net-mgmt/arpwatch/Makefile Sat Apr 1 14:51:08 2006
+++ arpwatch/Makefile Fri May 26 08:25:14 2006
@@ -12,7 +12,7 @@
MASTER_SITES= ftp://ftp.ee.lbl.gov/
DISTNAME= arpwatch-2.1a13
-MAINTAINER= ports at FreeBSD.org
+MAINTAINER= matt at efs.org
COMMENT= Monitor arp & rarp requests
CONFLICTS= arpwatch-devel-2.*
Common subdirectories: /usr/ports/net-mgmt/arpwatch/files and arpwatch/files
diff -u /usr/ports/net-mgmt/arpwatch/pkg-plist arpwatch/pkg-plist
--- /usr/ports/net-mgmt/arpwatch/pkg-plist Mon Dec 26 21:25:17 2005
+++ arpwatch/pkg-plist Sat Jun 3 12:05:45 2006
@@ -7,4 +7,5 @@
arpwatch/p.awk
@unexec test -f %D/arpwatch/arp.dat && test -s %D/arpwatch/arp.dat || rm -f
%D/arpw
atch/arp.dat
@exec test -f %D/arpwatch/arp.dat || touch %D/arpwatch/arp.dat
+ at unexec test -f %D/arpwatch/arp.dat- && test -s %D/arpwatch/arp.dat- || rm
-f %D/ar
pwatch/arp.dat-
@dirrm arpwatch
More information about the freebsd-ports-bugs
mailing list