Date: Sat, 3 Sep 2005 02:58:16 -0700 (PDT) From: Jeremy Chadwick <freebsd@jdc.parodius.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/85687: www/cgiwrap -- LOG_FILE option does not work Message-ID: <20050903095816.90FB95D61@mx1.parodius.com> Resent-Message-ID: <200509031000.j83A0RRe005643@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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 <bsd.port.pre.mk> +## +# 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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050903095816.90FB95D61>