From root@prometheus.scode.org  Thu Dec 11 19:37:32 2008
Return-Path: <root@prometheus.scode.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 48201106564A
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 11 Dec 2008 19:37:32 +0000 (UTC)
	(envelope-from root@prometheus.scode.org)
Received: from proxy2.bredband.net (proxy2.bredband.net [195.54.101.72])
	by mx1.freebsd.org (Postfix) with ESMTP id 093F28FC24
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 11 Dec 2008 19:37:31 +0000 (UTC)
	(envelope-from root@prometheus.scode.org)
Received: from ironport.bredband.com (195.54.101.120) by proxy2.bredband.net (7.3.127)
        id 492BEF63006033CB; Thu, 11 Dec 2008 20:37:30 +0100
Received: from c-b416e555.03-51-73746f3.cust.bredbandsbolaget.se (HELO prometheus.scode.org) ([85.229.22.180])
  by ironport1.bredband.com with ESMTP; 11 Dec 2008 20:37:30 +0100
Received: by prometheus.scode.org (Postfix, from userid 0)
	id 671D242A0F4; Thu, 11 Dec 2008 20:37:29 +0100 (CET)
Message-Id: <20081211193729.671D242A0F4@prometheus.scode.org>
Date: Thu, 11 Dec 2008 20:37:29 +0100 (CET)
From: Peter Schuller <peter.schuller@infidyne.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc: des@FreeBSD.org
Subject: [PATCH] sysutils/munin-node: does not honor BATCH/PACKAGE_BUILDING
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         129576
>Category:       ports
>Synopsis:       [PATCH] sysutils/munin-node: does not honor BATCH/PACKAGE_BUILDING
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    des
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 11 19:40:02 UTC 2008
>Closed-Date:    Wed Feb 24 20:23:32 UTC 2010
>Last-Modified:  Wed Feb 24 20:23:32 UTC 2010
>Originator:     Peter Schuller
>Release:        FreeBSD 8.0-CURRENT amd64
>Organization:
>Environment:
System: FreeBSD prometheus.scode.org 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Wed Dec  3 01:00:41 CET
>Description:
Note that I am not an active munin user and so have not smoke tested
the change in any kind of production environment, though it seems safe.

Port maintainer (des@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- munin-node-1.2.6_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/sysutils/munin-node.orig/Makefile /usr/ports/sysutils/munin-node/Makefile
--- /usr/ports/sysutils/munin-node.orig/Makefile	2008-10-15 09:47:58.000000000 +0200
+++ /usr/ports/sysutils/munin-node/Makefile	2008-12-11 20:28:38.165093651 +0100
@@ -43,7 +43,7 @@
 USE_RC_SUBR=	YES
 
 pre-install:
-	@PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
+	@${SETENV} ${SCRIPTS_ENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
 
 post-install:
 	${INSTALL_SCRIPT} ${WRKDIR}/munin-node.sh ${PREFIX}/etc/rc.d/munin-node.sh
@@ -60,7 +60,7 @@
 	@${INSTALL_MAN} -C ${WRKSRC}/build/doc/munin-node-configure.8 ${PREFIX}/man/man8
 	@${INSTALL_MAN} -C ${WRKSRC}/build/doc/munin-node.8 ${PREFIX}/man/man8
 	@${INSTALL_MAN} -C ${WRKSRC}/build/doc/munin-run.8 ${PREFIX}/man/man8
-	@PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
+	@${SETENV} ${SCRIPTS_ENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
 	@${ECHO} ${DISTNAME} | ${SED} -e 's/munin_//' > ${PREFIX}/etc/munin/VERSION.node
 
 .include <bsd.port.post.mk>
--- munin-node-1.2.6_1.patch ends here ---
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->des 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Thu Dec 11 19:40:11 UTC 2008 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=129576 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/129576: commit references a PR
Date: Wed, 24 Feb 2010 20:19:01 +0000 (UTC)

 des         2010-02-24 20:18:51 UTC
 
   FreeBSD ports repository
 
   Modified files:
     .                    GIDs UIDs 
     sysutils/munin-common Makefile 
     sysutils/munin-master Makefile pkg-deinstall pkg-install 
                           pkg-plist 
     sysutils/munin-master/files pkg-message.in 
     sysutils/munin-node  Makefile pkg-deinstall pkg-install 
                          pkg-plist 
     sysutils/munin-node/files pkg-message.in 
   Added files:
     sysutils/munin-node/files 
                               patch-node-node.d.freebsd-if_.in.diff 
                               patch-node-node.d.freebsd-if_errcoll_.in.diff 
   Removed files:
     sysutils/munin-common/files pkg-message.in 
   Log:
   Massive cleanup of the Munin ports:
   
    - Use a fixed UID / GID
    - Fix handling of sample configs in plists
    - Add missing plist entries (mostly directories)
    - Use /var/munin instead of %D/var/munin
    - Consistently use %%FOODIR%% instead of ${PREFIX}/foo etc.
    - Honor BATCH / PACKAGE_BUILDING
    - Fix network throughput probes (if_ and if_errcoll_)
   
   PR:             120755, 120756, 124528, 129576, 129577, 143804
   Submitted by:   see PRs
   Feature safe:   yes
   
   Revision  Changes    Path
   1.88      +2 -1      ports/GIDs
   1.102     +2 -1      ports/UIDs
   1.2       +3 -4      ports/sysutils/munin-common/Makefile
   1.2       +0 -8      ports/sysutils/munin-common/files/pkg-message.in (dead)
   1.22      +12 -4     ports/sysutils/munin-master/Makefile
   1.4       +1 -1      ports/sysutils/munin-master/files/pkg-message.in
   1.5       +0 -35     ports/sysutils/munin-master/pkg-deinstall
   1.7       +0 -40     ports/sysutils/munin-master/pkg-install
   1.10      +6 -1      ports/sysutils/munin-master/pkg-plist
   1.31      +20 -8     ports/sysutils/munin-node/Makefile
   1.1       +16 -0     ports/sysutils/munin-node/files/patch-node-node.d.freebsd-if_.in.diff (new)
   1.1       +17 -0     ports/sysutils/munin-node/files/patch-node-node.d.freebsd-if_errcoll_.in.diff (new)
   1.3       +2 -2      ports/sysutils/munin-node/files/pkg-message.in
   1.5       +0 -11     ports/sysutils/munin-node/pkg-deinstall
   1.5       +0 -24     ports/sysutils/munin-node/pkg-install
   1.15      +15 -8     ports/sysutils/munin-node/pkg-plist
 _______________________________________________
 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"
 
State-Changed-From-To: open->closed 
State-Changed-By: des 
State-Changed-When: Wed Feb 24 20:23:31 UTC 2010 
State-Changed-Why:  
Committed, thanks. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=129576 
>Unformatted:
