Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Oct 2013 00:05:10 GMT
From:      Ryan Frederick <ryanrfrederick@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/182776: net-mgmt/nrpe Fails to Build (Hangs After Distfile Fetch)
Message-ID:  <201310070005.r9705AmB052153@oldred.freebsd.org>
Resent-Message-ID: <201310070010.r970A0Ua018841@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310070005.r9705AmB052153>