Date: Sun, 21 Dec 2003 01:05:05 +0100 From: Daniel Tasov <danielt@pilgerer.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/60444: make apache2 with suexec more configurable Message-ID: <20031221000505.GA72642@snickers.dahoam> Resent-Message-ID: <200312210010.hBL0A4Uu089706@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 60444 >Category: ports >Synopsis: make apache2 with suexec more configurable >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Dec 20 16:10:04 PST 2003 >Closed-Date: >Last-Modified: >Originator: Daniel Tasov >Release: FreeBSD 5.2-RC i386 >Organization: >Environment: System: FreeBSD snickers.dahoam 5.2-RC FreeBSD 5.2-RC #0: Fri Dec 19 21:03:17 CET 2003 danielt@snickers.dahoam:/usr/obj/usr/src/sys/SNICKERS i386 >Description: I submitted the same patch for www/apache13 some months ago. Know I decided to use www/apache2 and have the same problem. So here is the CR. Probably it also makes sense to be applied to www/apache21. >How-To-Repeat: >Fix: --- Makefile.modules.orig Sun Nov 9 18:10:03 2003 +++ Makefile.modules Sun Dec 21 00:53:07 2003 @@ -216,9 +216,13 @@ SUEXEC_DOCROOT?= ${PREFIX_RELDEST}/www/data SUEXEC_USERDIR?= public_html SUEXEC_SAFEPATH?= ${PREFIX_RELDEST}/bin:${LOCALBASE}/bin:/usr/bin:/bin +SUEXEC_UIDMIN?= 1000 +SUEXEC_GIDMIN?= 1000 +SUEXEC_CALLER?= www _APACHE_MODULES+= ${SUEXEC_MODULES} -CONFIGURE_ARGS+= --with-suexec-caller=www \ - --with-suexec-uidmin=1000 --with-suexec-gidmin=1000 \ +CONFIGURE_ARGS+= --with-suexec-caller=${SUEXEC_CALLER} \ + --with-suexec-uidmin=${SUEXEC_UIDMIN} \ + --with-suexec-gidmin=${SUEXEC_GIDMIN} \ --with-suexec-userdir="${SUEXEC_USERDIR}" \ --with-suexec-docroot="${SUEXEC_DOCROOT}" \ --with-suexec-safepath="${SUEXEC_SAFEPATH}" \ >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031221000505.GA72642>