ports/129577: [PATCH] sysutils/munin-main: does not honor BATCH/PACKAGE_BUILDING

Peter Schuller peter.schuller at infidyne.com
Thu Dec 11 19:40:03 UTC 2008


>Number:         129577
>Category:       ports
>Synopsis:       [PATCH] sysutils/munin-main: does not honor BATCH/PACKAGE_BUILDING
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 11 19:40:03 UTC 2008
>Closed-Date:
>Last-Modified:
>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 thus have not tested the change in
any kind of production environment, though it seems safe.

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

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

--- munin-main-1.2.6.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/sysutils/munin-main.orig/Makefile /usr/ports/sysutils/munin-main/Makefile
--- /usr/ports/sysutils/munin-main.orig/Makefile	2008-09-03 15:27:49.000000000 +0200
+++ /usr/ports/sysutils/munin-main/Makefile	2008-12-11 20:30:09.012104128 +0100
@@ -46,7 +46,7 @@
 SUB_FILES=pkg-message
 
 pre-install:
-	@PKG_PREFIX=${PREFIX} ${SH} ${PKGDIR}/pkg-install ${PKGNAME} PRE-INSTALL
+	@${SETENV} ${SCRIPTS_ENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGDIR}/pkg-install ${PKGNAME} PRE-INSTALL
 
 post-install:
 	@${INSTALL_DATA} ${WRKSRC}/build/server/munin.conf ${PREFIX}/etc/munin/munin.conf.sample
@@ -56,7 +56,7 @@
 	@for man in ${MAN8}; do \
 		${INSTALL_MAN} -C ${WRKSRC}/build/doc/$$man ${PREFIX}/man/man8; \
 	done
-	@DATADIR=${DATADIR} PKG_PREFIX=${PREFIX} ${SH} ${PKGDIR}/pkg-install ${PKGNAME} POST-INSTALL
+	@${SETENV} ${SCRIPTS_ENV} DATADIR=${DATADIR} PKG_PREFIX=${PREFIX} ${SH} ${PKGDIR}/pkg-install ${PKGNAME} POST-INSTALL
 	@${CHOWN} munin /var/log/munin-main
 	@${CHGRP} munin /var/run/munin /var/log/munin-main ${WWWDIR} ${PREFIX}/var/munin
 	@${CAT} ${PKGMESSAGE}
--- munin-main-1.2.6.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list