From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Jun 6 16:30:25 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B65E316A79D for ; Tue, 6 Jun 2006 16:30:25 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3706443D49 for ; Tue, 6 Jun 2006 16:30:25 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k56GUPVS038047 for ; Tue, 6 Jun 2006 16:30:25 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k56GUPuc038045; Tue, 6 Jun 2006 16:30:25 GMT (envelope-from gnats) Date: Tue, 6 Jun 2006 16:30:25 GMT Message-Id: <200606061630.k56GUPuc038045@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: Matt Wilbur Cc: Subject: Re: ports/97958: update to net-mgmt/arpwatch X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matt Wilbur List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jun 2006 16:30:27 -0000 The following reply was made to PR ports/97958; it has been noted by GNATS. From: Matt Wilbur To: , 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