From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Nov 28 22:10:01 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BBED8106566C for ; Sat, 28 Nov 2009 22:10:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 790FE8FC15 for ; Sat, 28 Nov 2009 22:10:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id nASMA0B7042878 for ; Sat, 28 Nov 2009 22:10:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nASMA0Wh042877; Sat, 28 Nov 2009 22:10:00 GMT (envelope-from gnats) Resent-Date: Sat, 28 Nov 2009 22:10:00 GMT Resent-Message-Id: <200911282210.nASMA0Wh042877@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, Dan Langille Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A92291065670 for ; Sat, 28 Nov 2009 22:02:41 +0000 (UTC) (envelope-from dan@bast.unixathome.org) Received: from nyi.unixathome.org (nyi.unixathome.org [64.147.113.42]) by mx1.freebsd.org (Postfix) with ESMTP id 7FFD48FC08 for ; Sat, 28 Nov 2009 22:02:41 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by nyi.unixathome.org (Postfix) with ESMTP id D914850858; Sat, 28 Nov 2009 22:02:40 +0000 (GMT) Received: from nyi.unixathome.org ([127.0.0.1]) by localhost (nyi.unixathome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 333oLk5VatsR; Sat, 28 Nov 2009 22:02:40 +0000 (GMT) Received: from bast.unixathome.org (bast.unixathome.org [10.8.1.1]) by nyi.unixathome.org (Postfix) with ESMTP id 1D8FE5084D; Sat, 28 Nov 2009 22:02:40 +0000 (GMT) Received: by bast.unixathome.org (Postfix, from userid 1001) id F338CB88F; Sat, 28 Nov 2009 22:02:38 +0000 (GMT) Message-Id: <20091128220238.F338CB88F@bast.unixathome.org> Date: Sat, 28 Nov 2009 22:02:38 +0000 (GMT) From: Dan Langille To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Dan Langille Subject: ports/140981: [PATCH] security/logcheck - use correct .conf file location in message X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Dan Langille List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Nov 2009 22:10:01 -0000 >Number: 140981 >Category: ports >Synopsis: [PATCH] security/logcheck - use correct .conf file location in message >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sat Nov 28 22:10:00 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Dan Langille >Release: FreeBSD 6.2-STABLE i386 >Organization: The FreeBSD Diary >Environment: System: FreeBSD bast.example.org 6.2-STABLE FreeBSD 6.2-STABLE #3: Wed Feb 28 22:21:12 EST 2007 dan@bast.example.org:/usr/obj/usr/src/sys/BAST i386 >Description: The installed logcheck script contains a hardcoded reference to the .conf file. This patch fixes that to use the variable. Umm, after creating this patch, I noticed that /etc/logcheck/footer.txt and /etc/logcheck/header.txt should also be variables and patched to /usr/local/etc/logcheck/ but I no longer have time. FYI, this patch has not been tested, but I can do that later this week if this doesn't move forward. Same with the above recommendation. >How-To-Repeat: >Fix: begin 644 logcheck.diff diff -ruN /usr/ports/security/logcheck/files/patch-src__logcheck logcheck/files/patch-src__logcheck --- /usr/ports/security/logcheck/files/patch-src__logcheck 2008-09-11 00:30:09.000000000 +0000 +++ logcheck/files/patch-src__logcheck 2009-11-28 21:55:32.000000000 +0000 @@ -95,6 +95,15 @@ fi fi +@@ -168,7 +168,7 @@ + ${TMPDIR:+Check temporary directory: $TMPDIR + } + Also verify that the logcheck user can read all files referenced in +-/etc/logcheck/logcheck.logfiles! ++${LOGFILES_LIST}! + + $(export) + EOF @@ -212,8 +195,7 @@ mkdir $cleaned \ || error "Could not make dir $cleaned for cleaned rulefiles." end >Release-Note: >Audit-Trail: >Unformatted: