Date: Mon, 12 Dec 2005 22:49:24 +0100 (CET) From: Simun Mikecin <sime@logos.hr> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/90309: [fix] www/apache22: envvars.d doesn't work Message-ID: <20051212214924.7E67E5F4C3@data.home.hr> Resent-Message-ID: <200512122150.jBCLo2sn014905@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 90309 >Category: ports >Synopsis: [fix] www/apache22: envvars.d doesn't work >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Dec 12 21:50:02 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Simun Mikecin >Release: FreeBSD 6.0-STABLE amd64 >Organization: >Environment: System: FreeBSD data.home.hr 6.0-STABLE FreeBSD 6.0-STABLE #0: Tue Dec 6 22:53:01 CET 2005 root@data.home.hr:/var/obj/usr/src.6/sys/DATA amd64 >Description: Scripts in ${LOCALBASE}/etc/apache22/envvars.d do not get loaded because ${LOCALBASE}/sbin/envvars tries to find them in ${LOCALBASE}/etc/apache21/envvars.d >How-To-Repeat: create a file /usr/local/etc/apache22/envvars.d/test.env which contains: TESTVAR=testvalue export TESTVAR start apache and try to find TESTVAR in the apache environment. If using php I suggest using phpinfo(). >Fix: diff -urN apache22.old/files/patch-support:envvars-std.in apache22/files/patch-support:envvars-std.in --- apache22.old/files/patch-support:envvars-std.in Sat Feb 5 19:26:21 2005 +++ apache22/files/patch-support:envvars-std.in Mon Dec 12 22:43:55 2005 @@ -5,7 +5,7 @@ # @OS_SPECIFIC_VARS@ + -+ENVVARS_DIR=%%PREFIX%%/etc/apache21/envvars.d ++ENVVARS_DIR=%%PREFIX%%/etc/apache22/envvars.d + +for envvars_file in $(ls ${ENVVARS_DIR}/*.env 2>/dev/null) +do >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051212214924.7E67E5F4C3>