From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Jan 28 08:40:20 2007 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C300F16A400 for ; Sun, 28 Jan 2007 08:40:20 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id BFC6613C46B for ; Sun, 28 Jan 2007 08:40:14 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l0S8eE8I034567 for ; Sun, 28 Jan 2007 08:40:14 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l0S8eEI8034565; Sun, 28 Jan 2007 08:40:14 GMT (envelope-from gnats) Resent-Date: Sun, 28 Jan 2007 08:40:14 GMT Resent-Message-Id: <200701280840.l0S8eEI8034565@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Ian Tegebo Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A24D716A400 for ; Sun, 28 Jan 2007 08:35:08 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [69.147.83.33]) by mx1.freebsd.org (Postfix) with ESMTP id 930D113C428 for ; Sun, 28 Jan 2007 08:35:08 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id l0S8Z8k6099046 for ; Sun, 28 Jan 2007 08:35:08 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id l0S8Z8tH099045; Sun, 28 Jan 2007 08:35:08 GMT (envelope-from nobody) Message-Id: <200701280835.l0S8Z8tH099045@www.freebsd.org> Date: Sun, 28 Jan 2007 08:35:08 GMT From: Ian Tegebo To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.0 Cc: Subject: ports/108466: [patch] syslog.sample should go in /usr/local/share/examples/logrotate X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Jan 2007 08:40:20 -0000 >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: