Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 May 2010 17:43:23 GMT
From:      Chris Rees <utisoft@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/147255: Ports bug: sysutils/bsdstats doesn't install periodic script executable
Message-ID:  <201005311743.o4VHhNCT096865@www.freebsd.org>
Resent-Message-ID: <201005311750.o4VHo1CI095592@freefall.freebsd.org>

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

>Number:         147255
>Category:       ports
>Synopsis:       Ports bug: sysutils/bsdstats doesn't install periodic script executable
>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 May 31 17:50:01 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Chris Rees
>Release:        FreeBSD 8.0-RELEASE-p3
>Organization:
bayofrum
>Environment:
FreeBSD amnesiac.bayofrum.net 8.0-RELEASE-p3 FreeBSD 8.0-RELEASE-p3 #0: Wed May 26 05:45:12 UTC 2010 root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386
>Description:
When one installs sysutils/bsdstats, the /usr/local/etc/periodic/monthly/300.statistics file isn't installed with execute privileges.
>How-To-Repeat:
Install bsdstats
Try to run the rc script
Fails because of no execute permission on 300.statistics
>Fix:
Patch:

Patch attached with submission follows:

diff -ruN bsdstats.orig/Makefile bsdstats/Makefile
--- bsdstats.orig/Makefile	2010-05-31 18:36:01.000000000 +0100
+++ bsdstats/Makefile	2010-05-31 18:36:05.000000000 +0100
@@ -20,6 +20,7 @@
 	${CP} ${FILESDIR}/300.statistics ${LOCALBASE}/etc/periodic/monthly
 	${CP} ${FILESDIR}/bsdstats.sh ${LOCALBASE}/etc/rc.d
 	${CHMOD} 0755 ${LOCALBASE}/etc/rc.d/bsdstats.sh
+	${CHMOD} 0755 ${LOCALBASE}/etc/periodic/monthly/300.statistics
 post-install:
 	${CAT} ${PKGMESSAGE}
 .if defined(BATCH) || defined(PACKAGE_BUILDING)


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



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