From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Sep 3 10:00:28 2005 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 [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5D8BE16A41F for ; Sat, 3 Sep 2005 10:00:28 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id DF52343D48 for ; Sat, 3 Sep 2005 10:00:27 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j83A0RVB005652 for ; Sat, 3 Sep 2005 10:00:27 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j83A0RRe005643; Sat, 3 Sep 2005 10:00:27 GMT (envelope-from gnats) Resent-Date: Sat, 3 Sep 2005 10:00:27 GMT Resent-Message-Id: <200509031000.j83A0RRe005643@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, Jeremy Chadwick Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1EDA116A41F for ; Sat, 3 Sep 2005 09:58:17 +0000 (GMT) (envelope-from jdc@parodius.com) Received: from mx1.parodius.com (mx1.parodius.com [64.62.145.229]) by mx1.FreeBSD.org (Postfix) with ESMTP id EBB7443D46 for ; Sat, 3 Sep 2005 09:58:16 +0000 (GMT) (envelope-from jdc@parodius.com) Received: by mx1.parodius.com (Postfix, from userid 500) id 90FB95D61; Sat, 3 Sep 2005 02:58:16 -0700 (PDT) Message-Id: <20050903095816.90FB95D61@mx1.parodius.com> Date: Sat, 3 Sep 2005 02:58:16 -0700 (PDT) From: Jeremy Chadwick To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/85687: www/cgiwrap -- LOG_FILE option does not work X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Jeremy Chadwick List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Sep 2005 10:00:28 -0000 >Number: 85687 >Category: ports >Synopsis: www/cgiwrap -- LOG_FILE option does not work >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 Sep 03 10:00:27 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Jeremy Chadwick >Release: FreeBSD 4.11-STABLE i386 >Organization: Parodius Networking >Environment: System: FreeBSD pentarou.parodius.com 4.11-STABLE FreeBSD 4.11-STABLE #0: Tue Jul 26 07:02:27 PDT 2005 root@pentarou.parodius.com:/usr/obj/usr/src/sys/PENTAROU i386 >Description: The LOG_FILE tweak does not work (CONFIGURE_ARGS being overwritten). >How-To-Repeat: Try to use the LOG_FILE tweak. >Fix: Apply below patch. --- Makefile.orig Fri Jul 8 15:35:06 2005 +++ Makefile Sat Sep 3 02:53:01 2005 @@ -7,7 +7,7 @@ PORTNAME= cgiwrap PORTVERSION= 3.9 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= www security MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -55,17 +55,6 @@ ALLOW_FILE?= ${PREFIX}/etc/${PORTNAME}.allow DENY_FILE?= ${PREFIX}/etc/${PORTNAME}.deny -## -# LOG_FILE -# -# Enables cgiwrap logging (when a user called cgiwrap, its arguments, -# and who ran it). Specify the full path to the logfile. -# -.if defined(LOG_FILE) -CONFIGURE_ARGS+= --with-logging-file=${LOG_FILE} -.else -CONFIGURE_ARGS+= --without-logging-file -.endif GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-httpd-user=${WWWOWN} \ @@ -78,6 +67,17 @@ .include +## +# LOG_FILE +# +# Enables cgiwrap logging (when a user called cgiwrap, its arguments, +# and who ran it). Specify the full path to the logfile. +# +.if defined(LOG_FILE) +CONFIGURE_ARGS+= --with-logging-file=${LOG_FILE} +.else +CONFIGURE_ARGS+= --without-logging-file +.endif .if !defined(WITH_CGI_OWNER) CONFIGURE_ARGS+= --without-check-owner .endif >Release-Note: >Audit-Trail: >Unformatted: