Date: Sun, 28 Jan 2007 08:35:08 GMT From: Ian Tegebo<yontege@rescomp.berkeley.edu> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/108466: [patch] syslog.sample should go in /usr/local/share/examples/logrotate Message-ID: <200701280835.l0S8Z8tH099045@www.freebsd.org> Resent-Message-ID: <200701280840.l0S8eEI8034565@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 108466 >Category: ports >Synopsis: [patch] syslog.sample should go in /usr/local/share/examples/logrotate >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Sun Jan 28 08:40:14 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Ian Tegebo >Release: 6.1-RELEASE-p3 >Organization: Residential Computing, University of California Berkeley >Environment: FreeBSD mymachine 6.1-RELEASE-p3 FreeBSD 6.1-RELEASE-p3 #0: Wed Aug 9 00:18:28 PDT 2006 root@mymachine:/usr/obj/usr/src/sys/RCBSD_1 i386 >Description: At our site, having syslog.sample put into /usr/local/etc/logrotate.d means we have to add 'tabooext + .sample' to our conf file which sends error messages through cron emails about ignoring the aforementioned example file. If syslog.sample were put into /usr/local/share/examples/logrotate then we wouldn't have to take special measures in our cluster installation procedure; obviously for one or two machines this irritation woule never arise. >How-To-Repeat: Include /usr/local/etc/logrotate.d in your logrotate.conf. >Fix: Submitting two patches for the Makefile and the pkg-plist. Makefile: 34a35 > @${MKDIR} ${PREFIX}/share/examples/logrotate 37c38 < @${INSTALL_DATA} ${FILESDIR}/syslog.sample ${PREFIX}/etc/logrotate.d/ --- > @${INSTALL_DATA} ${FILESDIR}/syslog.sample ${PREFIX}/share/examples/logrotate/ pkg-plist: 3c3,4 < etc/logrotate.d/syslog.sample --- > share/examples/logrotate/syslog.sample > @dirrm share/examples/logrotate >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200701280835.l0S8Z8tH099045>