ports/147255: Ports bug: sysutils/bsdstats doesn't install periodic script executable
Chris Rees
utisoft at gmail.com
Mon May 31 17:50:02 UTC 2010
>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 at 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:
More information about the freebsd-ports-bugs
mailing list