diff options
author | perky <perky@FreeBSD.org> | 2003-04-17 05:33:58 +0800 |
---|---|---|
committer | perky <perky@FreeBSD.org> | 2003-04-17 05:33:58 +0800 |
commit | 884e6515c2fa62333c9047dd8833022a8dcf8db2 (patch) | |
tree | 65dad0f5f1d7d127b68346e0b920dd67dbe00adf /www | |
parent | 4781a0eb5f2151f25c9d6aab65b3f867ed114b9f (diff) | |
download | freebsd-ports-gnome-884e6515c2fa62333c9047dd8833022a8dcf8db2.tar.gz freebsd-ports-gnome-884e6515c2fa62333c9047dd8833022a8dcf8db2.tar.zst freebsd-ports-gnome-884e6515c2fa62333c9047dd8833022a8dcf8db2.zip |
- Utilize MASTER_SITE_APACHE_HTTPD [1]
- Allow to override SUEXEC_SAFEPATH [2]
Submitted by: naddy [1],
Eugene M. Kim <ab@astralblue.net> [2]
Diffstat (limited to 'www')
-rw-r--r-- | www/apache2/Makefile | 13 | ||||
-rw-r--r-- | www/apache20/Makefile | 13 | ||||
-rw-r--r-- | www/apache21/Makefile | 13 | ||||
-rw-r--r-- | www/apache22/Makefile | 13 |
4 files changed, 12 insertions, 40 deletions
diff --git a/www/apache2/Makefile b/www/apache2/Makefile index ddbdff33664d..bd2d3a908515 100644 --- a/www/apache2/Makefile +++ b/www/apache2/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="" diff --git a/www/apache20/Makefile b/www/apache20/Makefile index ddbdff33664d..bd2d3a908515 100644 --- a/www/apache20/Makefile +++ b/www/apache20/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="" diff --git a/www/apache21/Makefile b/www/apache21/Makefile index ddbdff33664d..bd2d3a908515 100644 --- a/www/apache21/Makefile +++ b/www/apache21/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="" 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="" |