Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Dec 2008 20:38:59 +0100 (CET)
From:      Peter Schuller <peter.schuller@infidyne.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        des@FreeBSD.org
Subject:   ports/129577: [PATCH] sysutils/munin-main: does not honor BATCH/PACKAGE_BUILDING
Message-ID:  <20081211193859.6F1AC42A103@prometheus.scode.org>
Resent-Message-ID: <200812111940.mBBJe3iv066878@freefall.freebsd.org>

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

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



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