ports/128407: [maintainer-update] net-mgmt/nagios: Correct @dirrmtry's outside of %D
Jarrod Sayers
jarrod at netleader.com.au
Mon Oct 27 03:00:15 UTC 2008
>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 at 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%%
- at dirrmtry %%NAGIOSDIR%%/archives
- at dirrmtry %%NAGIOSDIR%%/checkresults
- at dirrmtry %%NAGIOSDIR%%/rw
- at dirrmtry %%NAGIOSDIR%%
+ at unexec rmdir %%NAGIOSDIR%%/archives 2>/dev/null || true
+ at unexec rmdir %%NAGIOSDIR%%/checkresults 2>/dev/null || true
+ at unexec rmdir %%NAGIOSDIR%%/rw 2>/dev/null || true
+ at unexec rmdir %%NAGIOSDIR%% 2>/dev/null || true
--- net-mgmt-nagios-3.0.4_1.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list