ports/85687: www/cgiwrap -- LOG_FILE option does not work

Jeremy Chadwick freebsd at jdc.parodius.com
Sat Sep 3 10:00:28 UTC 2005


>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 at 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:



More information about the freebsd-ports-bugs mailing list