Summary: | [maintainer-update] net-mgmt/nagios-devel: Update to 3.0.b6 | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Jarrod Sayers <jarrod> | ||||||
Component: | Individual Port(s) | Assignee: | Martin Wilke <miwi> | ||||||
Status: | Closed FIXED | ||||||||
Severity: | Affects Only Me | ||||||||
Priority: | Normal | ||||||||
Version: | Latest | ||||||||
Hardware: | Any | ||||||||
OS: | Any | ||||||||
Attachments: |
|
Description
Jarrod Sayers
2007-11-01 09:30:01 UTC
The attached patch did not include a fix for the ports pkg-plist file which fails to remove several directories under /var/spool/nagios (aka NAGIOSDIR) even if they are empty. The use of @dirrmtry to remove these fails as when the packing list is created, a %D/ is prefixed to the directory name. Directories outside of %D require the use of the @dirrmtry's expanded form. The patch mentioned in the URL now reflects the addition modification to pkg-plist and should be used in preference to the file attached to this PR. <thought> I'm not sure of the implications in fixing the @dirrmtry tags ability to remove directories outside of %D, i.e., fully qualified paths, but ports/Mk/bsd.port.mk could be modified to do so: PLIST_REINPLACE+= dirrmtryfq dirrmtry stopdaemon PLIST_REINPLACE_DIRRMTRYFQ=s!^@dirrmtry \(/.*\)!@unexec rmdir \1 2>/ dev/null || true! PLIST_REINPLACE_DIRRMTRY=s!^@dirrmtry \(.*\)!@unexec rmdir %D/\1 2>/ dev/null || true! PLIST_REINPLACE_STOPDAEMON=s!^@stopdaemon \(.*\)!@unexec %D/etc/rc.d/ \1${RC_SUBR_SUFFIX} forcestop 2>/dev/null || true! </thought> Jarrod. Responsible Changed From-To: freebsd-ports-bugs->miwi I'll take it. Martin, Nagios 3.0.b7 has been released during the current ports freeze. Attached is an updated diff to bump the port to the current development version. Downloadable version from: http://www.netleader.com.au/~jarrod/FreeBSD/net-mgmt-nagios-devel-3.0.b7.diff Jarrod. State Changed From-To: open->closed Committed. Thanks! miwi 2007-12-12 13:57:56 UTC FreeBSD ports repository Modified files: net-mgmt/nagios-devel Makefile distinfo net-mgmt/nagios-devel/files patch-configure.in Log: - Update to 3.0.b7 PR: 117737 Submitted by: Jarrod Sayers <jarrod@netleader.com.au> (maintainer) Revision Changes Path 1.6 +1 -1 ports/net-mgmt/nagios-devel/Makefile 1.5 +3 -3 ports/net-mgmt/nagios-devel/distinfo 1.2 +4 -4 ports/net-mgmt/nagios-devel/files/patch-configure.in _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org" |