Bug 188627 - net-mgmt/nagios-plugins Fails at Patch Stage When JAIL Option is Enabled
Summary: net-mgmt/nagios-plugins Fails at Patch Stage When JAIL Option is Enabled
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Mathieu Arnold
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-14 21:00 UTC by Ryan Frederick
Modified: 2014-04-14 21:40 UTC (History)
0 users

See Also:


Attachments
file.txt (601 bytes, text/plain)
2014-04-14 21:00 UTC, Ryan Frederick
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan Frederick 2014-04-14 21:00:00 UTC
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.

Fix: Patch attached with submission follows:
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2014-04-14 21:00:03 UTC
Responsible Changed
From-To: freebsd-ports-bugs->mat

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Mathieu Arnold freebsd_committer freebsd_triage 2014-04-14 21:39:49 UTC
State Changed
From-To: open->closed

Committed, thanks!
Comment 3 dfilter service freebsd_committer freebsd_triage 2014-04-14 21:39:50 UTC
Author: mat
Date: Mon Apr 14 20:39:46 2014
New Revision: 351290
URL: http://svnweb.freebsd.org/changeset/ports/351290
QAT: https://qat.redports.org/buildarchive/r351290/

Log:
  Fix build WITH=JAILS.
  
  PR:		188627
  Submitted by:	Ryan Frederick
  Sponsored by:	Absolight

Modified:
  head/net-mgmt/nagios-plugins/Makefile

Modified: head/net-mgmt/nagios-plugins/Makefile
==============================================================================
--- head/net-mgmt/nagios-plugins/Makefile	Mon Apr 14 20:38:09 2014	(r351289)
+++ head/net-mgmt/nagios-plugins/Makefile	Mon Apr 14 20:39:46 2014	(r351290)
@@ -126,8 +126,8 @@ post-patch:
 .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
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"