ports/182776: net-mgmt/nrpe Fails to Build (Hangs After Distfile Fetch)

Ryan Frederick ryanrfrederick at gmail.com
Mon Oct 7 00:10:00 UTC 2013


>Number:         182776
>Category:       ports
>Synopsis:       net-mgmt/nrpe Fails to Build (Hangs After Distfile Fetch)
>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 Oct 07 00:10:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Ryan Frederick
>Release:        9.1-RELEASE-p7
>Organization:
>Environment:
FreeBSD your.host.here 9.1-RELEASE-p7 FreeBSD 9.1-RELEASE-p7 #0: Mon Sep  9 21:23:37 UTC 2013     root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
The build of net-mgmt/nrpe fails to build due to hanging after fetching the distfile. This appears to be due to lack of inclusion of bsd.port.pre.mk prior to the configure arguments.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

--- Makefile.orig       2013-10-04 14:44:10.000000000 -0500                                                                           
+++ Makefile    2013-10-06 18:56:34.619174382 -0500                                                                                   
@@ -45,6 +45,8 @@                                                                                                                     
 NAGIOSGID=     ${NAGIOSUID}                                                                                                          
 NRPE_PIDDIR?=  /var/run/nrpe2                                                                                                        
                                                                                                                                      
+.include <bsd.port.pre.mk>                                                                                                           
+                                                                                                                                     
 CONFIGURE_ARGS+=--bindir=${PREFIX}/sbin \                                                                                            
                --libexecdir=${PREFIX}/libexec/nagios \                                                                               
                --sysconfdir=${PREFIX}/etc \                                                                                          
@@ -71,4 +73,4 @@                                                                                                                     
        ${INSTALL_PROGRAM} ${WRKSRC}/src/check_nrpe ${STAGEDIR}${PREFIX}/libexec/nagios/check_nrpe2                                   
        ${INSTALL_DATA} ${WRKSRC}/sample-config/nrpe.cfg ${STAGEDIR}${PREFIX}/etc/nrpe.cfg.sample                                     
                                                                                                                                      
-.include <bsd.port.mk>                                                                                                               
+.include <bsd.port.post.mk>


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list