1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00

- Add WITHOUT_APACHE_SUEXEC knob.

PR:		ports/77740
Submitted by:	Vladimir Tananko <bs@artcon.ru>
Approved by:	maintainer timeout (3 months)
This commit is contained in:
Florent Thoumie 2005-05-31 10:45:56 +00:00
parent 1a00e2a5e4
commit b2357b495c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=136510

View File

@ -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