Date: Mon, 27 Oct 2008 13:22:27 +1030 (CST) From: Jarrod Sayers <jarrod@netleader.com.au> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/128407: [maintainer-update] net-mgmt/nagios: Correct @dirrmtry's outside of %D Message-ID: <200810270252.m9R2qRla041814@manhattan.netleader.com.au> Resent-Message-ID: <200810270300.m9R30AuF052977@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 128407 >Category: ports >Synopsis: [maintainer-update] net-mgmt/nagios: Correct @dirrmtry's outside of %D >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Mon Oct 27 03:00:09 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Jarrod Sayers >Release: FreeBSD 7.0-RELEASE-p5 i386 >Organization: >Environment: System: FreeBSD manhattan.netleader.com.au 7.0-RELEASE-p5 FreeBSD 7.0-RELEASE-p5 #4: Fri Oct 24 14:12:01 CST 2008 root@manhattan.netleader.com.au:/usr/obj/usr/src/sys/MANHATTAN i386 >Description: Correct procedure to remove directories outside of %D on an uninstall. >How-To-Repeat: >Fix: Downloadable diff from: http://www.netleader.com.au/~jarrod/FreeBSD/net-mgmt-nagios-3.0.4_1.diff --- net-mgmt-nagios-3.0.4_1.diff begins here --- diff -ruN ports/net-mgmt/nagios.orig/Makefile ports/net-mgmt/nagios/Makefile --- ports/net-mgmt/nagios.orig/Makefile 2008-10-26 04:18:51.000000000 +1030 +++ ports/net-mgmt/nagios/Makefile 2008-10-27 13:14:29.000000000 +1030 @@ -7,6 +7,7 @@ PORTNAME= nagios DISTVERSION= 3.0.4 +PORTREVISION= 1 CATEGORIES= net-mgmt MASTER_SITES= SF diff -ruN ports/net-mgmt/nagios.orig/pkg-plist ports/net-mgmt/nagios/pkg-plist --- ports/net-mgmt/nagios.orig/pkg-plist 2008-09-03 10:00:55.000000000 +0930 +++ ports/net-mgmt/nagios/pkg-plist 2008-10-27 13:17:01.000000000 +1030 @@ -380,7 +380,7 @@ @dirrm %%NAGIOSWWWDIR%%/ssi @dirrm %%NAGIOSWWWDIR%%/stylesheets @dirrmtry %%NAGIOSWWWDIR%% -@dirrmtry %%NAGIOSDIR%%/archives -@dirrmtry %%NAGIOSDIR%%/checkresults -@dirrmtry %%NAGIOSDIR%%/rw -@dirrmtry %%NAGIOSDIR%% +@unexec rmdir %%NAGIOSDIR%%/archives 2>/dev/null || true +@unexec rmdir %%NAGIOSDIR%%/checkresults 2>/dev/null || true +@unexec rmdir %%NAGIOSDIR%%/rw 2>/dev/null || true +@unexec rmdir %%NAGIOSDIR%% 2>/dev/null || true --- net-mgmt-nagios-3.0.4_1.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200810270252.m9R2qRla041814>