diff options
author | dwcjr <dwcjr@FreeBSD.org> | 2001-11-20 06:47:47 +0800 |
---|---|---|
committer | dwcjr <dwcjr@FreeBSD.org> | 2001-11-20 06:47:47 +0800 |
commit | 1254c7de44da997d28f5a03e95d8a05d47033314 (patch) | |
tree | c8f5cd49822d975fce0e9a1030279de0be9e0dab /www/apache21/Makefile | |
parent | dda4397187d42b75b9c432835fe907db96ff9fcd (diff) | |
download | freebsd-ports-gnome-1254c7de44da997d28f5a03e95d8a05d47033314.tar.gz freebsd-ports-gnome-1254c7de44da997d28f5a03e95d8a05d47033314.tar.zst freebsd-ports-gnome-1254c7de44da997d28f5a03e95d8a05d47033314.zip |
Update to 2.0.28
PR: 32043
Submitted by: maintainer
Diffstat (limited to 'www/apache21/Makefile')
-rw-r--r-- | www/apache21/Makefile | 86 |
1 files changed, 48 insertions, 38 deletions
diff --git a/www/apache21/Makefile b/www/apache21/Makefile index ea501e6245d5..48f99ccca4a3 100644 --- a/www/apache21/Makefile +++ b/www/apache21/Makefile @@ -6,19 +6,14 @@ # PORTNAME= apache -PORTVERSION= 2.0.16 -PORTREVISION= 3 +PORTVERSION= 2.0.28 CATEGORIES= www ipv6 -MASTER_SITES= http://httpd.apache.org/dist/httpd/ \ - http://www.cybernic.com/mirror/dist/httpd/ \ - http://mirrors.partnersforever.net/apache/dist/httpd/ \ - http://www.technotopia.com/vroom/apache/dist/httpd/ \ - http://www.tux.org/pub/net/apache/dist/httpd/ \ - ftp://ftp.raver.net/pub/ftp.apache.org/httpd/ \ - ftp://ftp.epix.net/pub/apache/dist/httpd/ \ - ftp://ftp.connectnet.com/pub/www/apache/httpd/ \ +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/httpd/ + ftp://ftp.cuckoo.com/pub/mirrors/apache/dist/httpd/ DISTNAME= httpd-${PORTVERSION:S/./_/g}-beta MAINTAINER?= perky@fallin.lv @@ -26,46 +21,61 @@ MAINTAINER?= perky@fallin.lv LATEST_LINK= apache2 WRKSRC= ${WRKDIR}/httpd-${PORTVERSION:S/./_/g} -FIND?= find -XARGS?= xargs - -# apache2 doesn't process '--enable-share=max' option yet. -# and some modules are very unstable at DSO mode. -SHARED_MODS?= unique_id mime_magic rewrite speling auth_db \ - auth_anon digest headers cern_meta expires include \ - cgid status info usertrack dav dav_fs imap proxy \ - auth_digest file_cache echo optional_fn_import \ - optional_fn_export -STATIC_MODS?= so env setenvif dir autoindex access auth negotiation \ - userdir alias asis cgi mime log_config vhost_alias actions +FIND= find + +WITH_MPM?= prefork # or perchild, threaded +HTTP_PORT?= 80 GNU_CONFIGURE= yes -CONFIGURE_ARGS= \ - --prefix=${PREFIX} \ +CONFIGURE_ARGS= --prefix=${PREFIX} \ --enable-layout=FreeBSD \ --with-perl=${PERL} \ + --enable-so \ --with-suexec-docroot=${PREFIX}/www/data \ - --enable-shared \ - --disable-threads \ - --with-mpm=prefork # Apache's thread doesn't work well in FreeBSD + --with-mpm=${WITH_MPM} \ + --with-port=${HTTP_PORT} \ + --includedir=${PREFIX}/include/apache # for apr, apr-util +CONFIGURE_ENV= CC="${CC}" CPPFLAGS="${CPPFLAGS}" CFLAGS="${CFLAGS}" \ + LDFLAGS="${LDFLAGS}" +SHARED_MODULES= all cgid + +.if defined(NOPORTDOCS) +MAKE_ENV+= NOPORTDOCS=YES +.endif + +.if !defined(WITHOUT_SSL) && exists(/usr/lib/libcrypto.so) +SHARED_MODULES+= ssl +PLIST_SUB+= SSLOPT="" +.else +PLIST_SUB+= SSLOPT="@comment " +.endif + +.if !defined(WITHOUT_PROXY) +SHARED_MODULES+= proxy proxy-connect proxy-ftp proxy-http +PLIST_SUB+= PROXYOPT="" +.else +PLIST_SUB+= PROXYOPT="@comment " +.endif -OPTIM+= -DHARD_SERVER_LIMIT=512 \ - -DDEFAULT_PATH=\\"/bin:/usr/bin:${PREFIX}/bin\\" +.if !defined(WITHOUT_CACHE) +SHARED_MODULES+= cache mem-cache file-cache #disk-cache +PLIST_SUB+= CACHEOPT="" +.else +PLIST_SUB+= CACHEOPT="@comment " +.endif -CONFIGURE_ENV= OPTIM='${OPTIM}' +CONFIGURE_ARGS+= --enable-mods-shared="${SHARED_MODULES}" MAN1= dbmmanage.1 htdigest.1 htpasswd.1 MAN8= ab.8 apachectl.8 apxs.8 httpd.8 logresolve.8 rotatelogs.8 suexec.8 -.for mod in ${SHARED_MODS} -CONFIGURE_ARGS+= --enable-${mod}=shared -.endfor -.for mod in ${STATIC_MODS} -CONFIGURE_ARGS+= --enable-${mod}=yes -.endfor +pre-extract: +.if !defined(WITHOUT_SSL) + @${ECHO_MSG} "You can disable support for SSL by defining WITHOUT_SSL." +.endif post-patch: - @${FIND} ${WRKSRC} -name "*.orig"|${XARGS} ${RM} -f + @${FIND} ${WRKSRC} -name "*.orig" -exec rm -f {} \; pre-install: PKG_PREFIX=${PREFIX} ${SH} pkg-install ${PKGNAME} PRE-INSTALL |