Date: Tue, 6 Jun 2006 16:30:25 GMT From: Matt Wilbur <matt@efs.org> To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/97958: update to net-mgmt/arpwatch Message-ID: <200606061630.k56GUPuc038045@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/97958; it has been noted by GNATS. From: Matt Wilbur <matt@efs.org> To: <bug-followup@FreeBSD.org>, <matt@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@FreeBSD.org +MAINTAINER= matt@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 +@unexec test -f %D/arpwatch/arp.dat- && test -s %D/arpwatch/arp.dat- || rm -f %D/ar pwatch/arp.dat- @dirrm arpwatch
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200606061630.k56GUPuc038045>