Date: Wed, 17 Mar 2004 15:18:03 +0100 (CET) From: Kenneth Vestergaard Schmidt <kvs@pil.dk> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/64373: [patch] Default program locations are for Linux, not FreeBSD Message-ID: <20040317141803.A89CDB882@hoegaarden.pil.dk> Resent-Message-ID: <200403171420.i2HEKK1B060264@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 64373 >Category: ports >Synopsis: [patch] Default program locations are for Linux, not FreeBSD >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: Wed Mar 17 06:20:20 PST 2004 >Closed-Date: >Last-Modified: >Originator: Kenneth Vestergaard Schmidt <kvs@pil.dk> >Release: FreeBSD 4.9-RELEASE-p3 i386 >Organization: pil.dk ApS >Environment: System: FreeBSD planck.pil.dk 4.9-RELEASE-p3 FreeBSD 4.9-RELEASE-p3 #2: Wed Mar 3 13:44:49 CET 2004 root@mimer:/usr/obj/usr/src/sys/PLANCK i386 >Description: When logrotate tries to compress logs, it tries to locate gzip and gunzip in the wrong locations. Also, previous versions used /var/lib/logrotate.status, which is also the RedHat default. The Debian patch altered this to /var/lib/logrotate/status, which breaks upgrades. >How-To-Repeat: Run logrotate with compression of rotated logs. >Fix: --- patch-ab begins here --- diff -ruN config.h config.h --- logrotate-3.6.5/config.h Sat Aug 3 11:47:41 2002 +++ logrotate-3.6.5/config.h Wed Mar 17 12:50:04 2004 @@ -18,7 +18,7 @@ #endif #ifndef COMPRESS_COMMAND - #define COMPRESS_COMMAND "/bin/gzip" + #define COMPRESS_COMMAND "/usr/bin/gzip" #endif #ifndef COMPRESS_OPTIONS @@ -30,10 +30,10 @@ #endif #ifndef UNCOMPRESS_COMMAND - #define UNCOMPRESS_COMMAND "/bin/gunzip" + #define UNCOMPRESS_COMMAND "/usr/bin/gunzip" #endif #ifndef STATEFILE - #define STATEFILE "/var/lib/logrotate/status" + #define STATEFILE "/var/lib/logrotate.status" #endif --- patch-ab ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040317141803.A89CDB882>