aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorflz <flz@FreeBSD.org>2005-05-31 18:45:56 +0800
committerflz <flz@FreeBSD.org>2005-05-31 18:45:56 +0800
commit9725078fcaea114eea51cb9828274fb3bd922fcb (patch)
tree20e12fe6b6fc3ebe721d051f9359d3d78354de72 /www
parentf3cd35551592b23cb30f93be7ee036246a0e4cce (diff)
downloadfreebsd-ports-gnome-9725078fcaea114eea51cb9828274fb3bd922fcb.tar.gz
freebsd-ports-gnome-9725078fcaea114eea51cb9828274fb3bd922fcb.tar.zst
freebsd-ports-gnome-9725078fcaea114eea51cb9828274fb3bd922fcb.zip
- Add WITHOUT_APACHE_SUEXEC knob.
PR: ports/77740 Submitted by: Vladimir Tananko <bs@artcon.ru> Approved by: maintainer timeout (3 months)
Diffstat (limited to 'www')
-rw-r--r--www/mod_fastcgi/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/www/mod_fastcgi/Makefile b/www/mod_fastcgi/Makefile
index ff1cbba9d5d0..f4ea71250f50 100644
--- a/www/mod_fastcgi/Makefile
+++ b/www/mod_fastcgi/Makefile
@@ -28,6 +28,10 @@ PLIST_SUB= APACHE=2
PLIST_SUB= APACHE=
.endif
+.if defined(WITHOUT_APACHE_SUEXEC)
+APXSOPTS+= -DNO_SUEXEC_FOR_AP_USER_N_GROUP
+.endif
+
do-patch:
.if defined(WITH_APACHE2)
@${REINPLACE_CMD} -e "s|/usr/local/apache2|${PREFIX}/share/apache2|g" ${WRKSRC}/${MAKEFILE}
@@ -35,7 +39,7 @@ do-patch:
cd ${WRKSRC} ; ${MV} Makefile.tmpl Makefile ;
do-build:
- cd ${WRKSRC} ; ${LOCALBASE}/sbin/apxs -o mod_fastcgi.so -c *.c
+ cd ${WRKSRC} ; ${LOCALBASE}/sbin/apxs -o mod_fastcgi.so -c ${APXSOPT} *.c
do-install:
cd ${WRKSRC} ; ${LOCALBASE}/sbin/apxs -i -a -n fastcgi mod_fastcgi.so