aboutsummaryrefslogtreecommitdiff
path: root/www/apache22
diff options
context:
space:
mode:
authorHye-Shik Chang <perky@FreeBSD.org>2003-04-16 21:33:58 +0000
committerHye-Shik Chang <perky@FreeBSD.org>2003-04-16 21:33:58 +0000
commit1cecad1ce9b322329c1a17d60e37b96ce46fa07e (patch)
tree7e06b350698edac8b8ff2b9ec5fd836e720cf811 /www/apache22
parent1b28171e1384010fa03296eab90c838d400b5380 (diff)
downloadports-1cecad1ce9b322329c1a17d60e37b96ce46fa07e.tar.gz
ports-1cecad1ce9b322329c1a17d60e37b96ce46fa07e.zip
Notes
Diffstat (limited to 'www/apache22')
-rw-r--r--www/apache22/Makefile13
1 files changed, 3 insertions, 10 deletions
diff --git a/www/apache22/Makefile b/www/apache22/Makefile
index ddbdff33664d..bd2d3a908515 100644
--- a/www/apache22/Makefile
+++ b/www/apache22/Makefile
@@ -8,15 +8,7 @@
PORTNAME= apache
PORTVERSION= 2.0.45
CATEGORIES= www ipv6
-MASTER_SITES= http://www.apache.org/dist/httpd/ \
- http://apache.mirrorcentral.com/dist/httpd/ \
- http://apache.missouri.edu/dist/httpd/ \
- http://ftp.epix.net/apache/dist/httpd/ \
- ftp://ftp.digex.net/pub/packages/network/apache/httpd/ \
- ftp://ftp.cuckoo.com/pub/mirrors/apache/dist/httpd/ \
- ${MASTER_SITE_RINGSERVER:S,%SUBDIR%,net/apache/dist/httpd,} \
- http://www.freebsd.org/gifs/:freebsd \
- http://www2.freebsd.org/gifs/:freebsd
+MASTER_SITES= ${MASTER_SITE_APACHE_HTTPD}
DISTNAME= httpd-${PORTVERSION}
DISTFILES= ${DISTNAME}.tar.gz powerlogo.gif:freebsd
EXTRACT_ONLY= ${DISTNAME}.tar.gz
@@ -68,12 +60,13 @@ USE_OPENSSL= yes
.if defined(WITH_SUEXEC)
SUEXEC_DOCROOT?= ${PREFIX_RELDEST}/www/data
SUEXEC_USERDIR?= public_html
+SUEXEC_SAFEPATH?=${PREFIX_RELDEST}/bin:${LOCALBASE}/bin:/usr/bin:/bin
CONFIGURE_ARGS+= --enable-suexec \
--with-suexec-caller=www \
--with-suexec-uidmin=1000 --with-suexec-gidmin=1000 \
--with-suexec-userdir="${SUEXEC_USERDIR}" \
--with-suexec-docroot="${SUEXEC_DOCROOT}" \
- --with-suexec-safepath="${PREFIX_RELDEST}/bin:${LOCALBASE}/bin:/usr/bin:/bin" \
+ --with-suexec-safepath="${SUEXEC_SAFEPATH}" \
--with-suexec-logfile="/var/log/httpd-suexec.log" \
--with-suexec-bin="${PREFIX_RELDEST}/sbin/suexec"
PLIST_SUB+= SUEXEC=""