ports/60444: make apache2 with suexec more configurable

Daniel Tasov danielt at pilgerer.org
Sun Dec 21 00:10:07 UTC 2003


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



More information about the freebsd-ports-bugs mailing list