Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Sep 2012 19:03:01 +0200 (CEST)
From:      Jaap Akkerhuis <jaap@NLnetLabs.nl>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        Jaap Akkerhuis <jaap@NLnetLabs.nl>
Subject:   ports/171526: [PATCH] dns/unbound installs munin scripts as data
Message-ID:  <201209101703.q8AH318Z022427@bela.nlnetlabs.nl>
Resent-Message-ID: <201209101710.q8AHA24c064771@freefall.freebsd.org>

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

>Number:         171526
>Category:       ports
>Synopsis:       [PATCH] dns/unbound installs munin scripts as data
>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:   Mon Sep 10 17:10:02 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Jaap Akkerhuis
>Release:        FreeBSD 9.1-PRERELEASE amd64
>Organization:
NLnet Labs
>Environment:
System: FreeBSD bela.nlnetlabs.nl 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #30: Mon Sep 10 13:57:16 CEST 2012 root@bela.nlnetlabs.nl:/usr/obj/usr/src/sys/GENERIC amd64


	
>Description:
	If the option to munin is chosen, the probe
	/usr/local/share/munin/plugins/unbound_munin_
	is installed as data and is non-executable (r--r--r--).

>How-To-Repeat:
	Install the port

>Fix:

--- unbound.diff begins here ---
Index: Makefile
===================================================================
--- Makefile	(revision 304039)
+++ Makefile	(working copy)
@@ -102,7 +102,7 @@
 .if ${PORT_OPTIONS:MMUNIN}
 	@${MKDIR} ${PREFIX}/share/munin/plugins
 	@${MKDIR} ${PREFIX}/etc/munin/plugins
-	@${INSTALL_DATA} ${WRKDIR}/unbound-${PORTVERSION}/contrib/unbound_munin_\
+	@${INSTALL_SCRIPT} ${WRKDIR}/unbound-${PORTVERSION}/contrib/unbound_munin_\
 		${PREFIX}/share/munin/plugins/
 	@for i in ${MUNIN_ALL}; do\
 		${LN} -fs ${PREFIX}/share/munin/plugins/unbound_munin_\
--- unbound.diff ends here ---


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



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