ports/188627: net-mgmt/nagios-plugins Fails at Patch Stage When JAIL Option is Enabled
Ryan Frederick
ryanrfrederick at gmail.com
Mon Apr 14 20:00:01 UTC 2014
>Number: 188627
>Category: ports
>Synopsis: net-mgmt/nagios-plugins Fails at Patch Stage When JAIL Option is Enabled
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Apr 14 20:00:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator: Ryan Frederick
>Release: 9.1-RELEASE-p11
>Organization:
>Environment:
FreeBSD system.name 9.1-RELEASE-p11 FreeBSD 9.1-RELEASE-p11 #0: Tue Apr 8 20:54:56 UTC 2014 root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
net-mgmt/nagios-plugins fails to build at the patch stage when the JAIL option is enabled due to the need to chase a file rename in a Makefile conditional. Attached is a patch to chase the file rename.
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
--- net-mgmt/nagios-plugins/Makefile (revision 351279)
+++ net-mgmt/nagios-plugins/Makefile (working copy)
@@ -126,8 +126,8 @@
.endfor
@${REINPLACE_CMD} -e 's|chown root|${TRUE}|g' ${WRKSRC}/plugins-root/Makefile.am
.if ${PORT_OPTIONS:MJAIL}
- @${REINPLACE_CMD} -e 's# 127.0.0.1 # ${NAGIOSPOLLIP} #g' ${WRKSRC}/configure.in
- @${REINPLACE_CMD} -e 's# ::1 # ${NAGIOSPOLLIP6} #g' ${WRKSRC}/configure.in
+ @${REINPLACE_CMD} -e 's# 127.0.0.1 # ${NAGIOSPOLLIP} #g' ${WRKSRC}/configure.ac
+ @${REINPLACE_CMD} -e 's# ::1 # ${NAGIOSPOLLIP6} #g' ${WRKSRC}/configure.ac
.endif
.if ${OSVERSION} > 1000055
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list