From owner-freebsd-ports Mon Mar 18 0:20:49 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 47B2D37B405 for ; Mon, 18 Mar 2002 00:20:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2I8K1H91259; Mon, 18 Mar 2002 00:20:01 -0800 (PST) (envelope-from gnats) Received: from akaraka.yonsei.ac.kr (akaraka.yonsei.ac.kr [165.132.134.53]) by hub.freebsd.org (Postfix) with ESMTP id 1969437B402 for ; Mon, 18 Mar 2002 00:11:19 -0800 (PST) Received: (from perky@localhost) by akaraka.yonsei.ac.kr (8.11.6/8.11.6) id g2I8BOr12482; Mon, 18 Mar 2002 17:11:24 +0900 (KST) (envelope-from perky) Message-Id: <200203180811.g2I8BOr12482@akaraka.yonsei.ac.kr> Date: Mon, 18 Mar 2002 17:11:24 +0900 (KST) From: Hye-Shik Chang Reply-To: Hye-Shik Chang To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/36040: Update port: www/apache2 (revised) Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 36040 >Category: ports >Synopsis: Update port: www/apache2 (revised) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Mon Mar 18 00:20:00 PST 2002 >Closed-Date: >Last-Modified: >Originator: Hye-Shik Chang >Release: FreeBSD 4.5-STABLE i386 >Organization: Yonsei University >Environment: System: FreeBSD akaraka.yonsei.ac.kr 4.5-STABLE FreeBSD 4.5-STABLE #1: Thu Mar 14 13:19:24 KST 2002 root@akaraka.yonsei.ac.kr:/usr/src/sys/compile/JOARRA i386 >Description: - Update to 2.0.32 >How-To-Repeat: >Fix: diff -ruN apache2.orig/Makefile apache2/Makefile --- apache2.orig/Makefile Wed Jan 23 01:01:35 2002 +++ apache2/Makefile Mon Mar 18 17:04:23 2002 @@ -6,28 +6,26 @@ # PORTNAME= apache -PORTVERSION= 2.0.28 -PORTREVISION= 5 +PORTVERSION= 2.0.32 CATEGORIES= www ipv6 MASTER_SITES= http://www.apache.org/dist/httpd/ \ + http://www.freebsd.org/gifs/ \ http://apache.mirrorcentral.com/dist/httpd/ \ + http://www2.freebsd.org/gifs/ \ 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/ -DISTNAME= httpd-${PORTVERSION:S/./_/g}-beta - -PATCH_SITES= http://fallin.lv/distfiles/ -PATCHFILES= ${PORTNAME}-${PORTVERSION}_1.diff +DISTNAME= httpd-${PORTVERSION}-beta +DISTFILES= ${DISTNAME}.tar.gz powerlogo.gif +EXTRACT_ONLY= ${DISTNAME}.tar.gz MAINTAINER?= perky@fallin.lv LATEST_LINK= apache2 -WRKSRC= ${WRKDIR}/httpd-${PORTVERSION:S/./_/g} -FIND= find - -WITH_MPM?= prefork # or perchild, threaded +WRKSRC= ${WRKDIR}/httpd-${PORTVERSION} +WITH_MPM?= prefork # or worker, perchild (neither of them is working yet) HTTP_PORT?= 80 GNU_CONFIGURE= yes @@ -38,10 +36,12 @@ --with-suexec-docroot=${PREFIX}/www/data \ --with-mpm=${WITH_MPM} \ --with-port=${HTTP_PORT} \ - --includedir=${PREFIX}/include/apache # for apr, apr-util + --libdir=${PREFIX}/lib/apache \ + --includedir=${PREFIX}/include/apache CONFIGURE_ENV= CC="${CC}" CPPFLAGS="${CPPFLAGS}" CFLAGS="${CFLAGS}" \ LDFLAGS="${LDFLAGS}" -SHARED_MODULES= all cgid +SHARED_MODULES= all cgid cache file-cache disk-cache proxy proxy-connect \ + proxy-ftp proxy-http .if defined(NOPORTDOCS) MAKE_ENV+= NOPORTDOCS=YES @@ -54,18 +54,13 @@ 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 - -.if !defined(WITHOUT_CACHE) -SHARED_MODULES+= cache mem-cache file-cache #disk-cache -PLIST_SUB+= CACHEOPT="" +.if ${WITH_MPM} != "prefork" +CONFIGURE_ARGS+= --enable-threads +SHARED_MODULES+= mem-cache +PLIST_SUB+= THREADONLY="" +PKGNAMESUFFIX= -${WITH_MPM} .else -PLIST_SUB+= CACHEOPT="@comment " +PLIST_SUB+= THREADONLY="@comment " .endif CONFIGURE_ARGS+= --enable-mods-shared="${SHARED_MODULES}" @@ -78,8 +73,15 @@ @${ECHO_MSG} "You can disable support for SSL by defining WITHOUT_SSL." .endif +post-extract: + @${CP} ${DISTDIR}/powerlogo.gif ${WRKSRC}/docs/icons/freebsd.gif + post-patch: - @${FIND} ${WRKSRC} -name "*.orig" -exec rm -f {} \; + @cd ${WRKSRC}/docs/docroot && \ + for f in index.html.*; do (\ + ${PERL} -pi -e 's,apache_pb,icons/freebsd.gif" ALT="[Powered by FreeBSD]">"; \ + fi; \ if test $$j != "^EOL^"; then \ - echo "LoadModule $${j}_module modules/mod_$${j}.so"; \ + echo "LoadModule $${j}_module ${libexecdir:S|^${prefix}/||}/mod_$${j}.so"; \ fi; \ - done; \ - sed -e '1,/@@LoadModule@@/d' \ -@@ -93,11 +93,14 @@ + if test "x$$j" = "xssl"; then \ + echo ""; \ +@@ -106,11 +108,14 @@ install-htdocs: @echo Installing HTML documents - @test -d $(htdocsdir) || $(MKINSTALLDIRS) $(htdocsdir) - @test -d $(htdocs-srcdir) && (cd $(htdocs-srcdir) && cp -rp * $(htdocsdir)) -- @test -d $(prefix)/manual || $(MKINSTALLDIRS) $(prefix)/manual -- @test -d $(top_srcdir)/docs/manual && (cd $(top_srcdir)/docs/manual && cp -rp * $(prefix)/manual) -- @(cd $(htdocsdir) && find . -name "CVS" -print | xargs rm -rf {} \;) + @test -d $(htdocsdir).default || $(MKINSTALLDIRS) $(htdocsdir).default + @test -d $(htdocs-srcdir) && (cd $(htdocs-srcdir) && cp -rp * $(htdocsdir).default) + @test -e $(htdocsdir) || ln -sf $(htdocsdir).default $(htdocsdir) +.if !defined(NOPORTDOCS) -+ @test -d $(manualdir) || $(MKINSTALLDIRS) $(manualdir) -+ @test -d $(top_srcdir)/docs/manual && (cd $(top_srcdir)/docs/manual && cp -rp * $(manualdir)) + @test -d $(manualdir) || $(MKINSTALLDIRS) $(manualdir) + @test -d $(top_srcdir)/docs/manual && (cd $(top_srcdir)/docs/manual && cp -rp * $(manualdir)) +- @(cd $(htdocsdir) && find . -name "CVS" -print | xargs rm -rf {} \;) +.endif + @(cd $(htdocsdir).default && find . -name "CVS" -print | xargs rm -rf {} \;) install-error: @echo Installing error documents -@@ -113,9 +116,10 @@ +@@ -126,9 +131,10 @@ install-cgi: @echo Installing CGIs diff -ruN apache2.orig/files/patch-config.layout apache2/files/patch-config.layout --- apache2.orig/files/patch-config.layout Tue Nov 20 07:47:47 2001 +++ apache2/files/patch-config.layout Mon Mar 18 16:08:09 2002 @@ -1,8 +1,8 @@ ---- config.layout.orig Fri Oct 26 11:59:26 2001 -+++ config.layout Fri Nov 16 18:36:14 2001 -@@ -285,3 +285,25 @@ - logfiledir: $prefix/logs - proxycachedir: $prefix/proxy +--- config.layout.orig Thu Feb 21 03:02:06 2002 ++++ config.layout Thu Feb 21 03:04:56 2002 +@@ -307,3 +307,26 @@ + infodir: $exec_prefix/share/info + installbuilddir: $prefix/etc/apache2/build + + @@ -12,17 +12,18 @@ + sbindir: $exec_prefix/sbin + libexecdir: $exec_prefix/libexec/apache + mandir: $prefix/man -+ sysconfdir: $prefix/etc/apache ++ sysconfdir: $prefix/etc/apache2 + datadir: $prefix/www -+ installbuilddir: $prefix/share/mk/apache ++ installbuilddir: $prefix/share/apache + errordir: $datadir/error + iconsdir: $datadir/icons + htdocsdir: $datadir/data -+ manualdir: ${prefix}/share/doc/apache ++ manualdir: $prefix/share/doc/apache + cgidir: $datadir/cgi-bin + includedir: $prefix/include/apache + localstatedir: /var + runtimedir: $localstatedir/run + logfiledir: $localstatedir/log + proxycachedir: $datadir/proxy ++ infodir: $exec_prefix/share/info + diff -ruN apache2.orig/files/patch-configure apache2/files/patch-configure --- apache2.orig/files/patch-configure Tue Nov 20 07:47:47 2001 +++ apache2/files/patch-configure Mon Mar 18 16:18:09 2002 @@ -1,31 +1,13 @@ ---- configure.orig Tue Nov 13 04:07:39 2001 -+++ configure Fri Nov 16 23:32:52 2001 -@@ -1084,7 +1084,7 @@ - esac - - # The eval makes quoting arguments work. -- if eval $ac_abs_srcdir/configure $ac_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_abs_srcdir "$apache_apr_flags --prefix=$prefix $disable_shared" -+ if eval $ac_abs_srcdir/configure $ac_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_abs_srcdir --includedir=$includedir "$apache_apr_flags --prefix=$prefix $disable_shared" - then : - echo "srclib/apr configured properly" - else -@@ -1175,7 +1175,7 @@ - esac - - # The eval makes quoting arguments work. -- if eval $ac_abs_srcdir/configure $ac_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_abs_srcdir "--with-apr=../apr --prefix=$prefix $disable_shared" -+ if eval $ac_abs_srcdir/configure $ac_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_abs_srcdir --includedir=$includedir "--with-apr=../apr --prefix=$prefix $disable_shared" - then : - echo "srclib/apr-util configured properly" - else -@@ -10508,7 +10508,10 @@ +--- configure.orig Fri Feb 22 03:43:38 2002 ++++ configure Fri Feb 22 03:44:56 2002 +@@ -11095,7 +11095,10 @@ EOF cat >> confdefs.h < + -ScoreBoardFile logs/apache_runtime_status +ScoreBoardFile /var/run/apache_runtime_status -@@ -73,7 +73,7 @@ - # PidFile: The file in which the server should record its process +@@ -76,7 +76,7 @@ # identification number when it starts. # + -PidFile logs/httpd.pid +PidFile /var/run/httpd.pid + # - # Timeout: The number of seconds before receives and sends time out. -@@ -229,8 +229,8 @@ +@@ -248,8 +248,8 @@ # when the value of (unsigned)Group is above 60000; # don't use Group #-1 on these systems! # @@ -27,9 +27,9 @@ +User www +Group www + - # -@@ -259,7 +259,7 @@ +@@ -279,7 +279,7 @@ # documents. By default, all requests are taken from this directory, but # symbolic links and aliases may be used to point to other locations. # @@ -37,8 +37,8 @@ +DocumentRoot "@@ServerRoot@@/www/data" # - # Each directory to which Apache has access, can be configured with respect -@@ -284,7 +284,7 @@ + # Each directory to which Apache has access can be configured with respect +@@ -304,7 +304,7 @@ # # This should be changed to whatever you set DocumentRoot to. # @@ -46,26 +46,26 @@ + # - # This may also be "None", "All", or any combination of "Indexes", -@@ -377,7 +377,7 @@ + # Possible values for the Options directive are "None", "All", +@@ -397,7 +397,7 @@ # TypesConfig describes where the mime.types file (or equivalent) is # to be found. # -TypesConfig conf/mime.types -+TypesConfig etc/apache/mime.types ++TypesConfig etc/apache2/mime.types # # DefaultType is the default MIME type the server will use for a document -@@ -396,7 +396,7 @@ +@@ -416,7 +416,7 @@ # directive tells the module where the hint definitions are located. # - MIMEMagicFile conf/magic -+ MIMEMagicFile etc/apache/magic ++ MIMEMagicFile etc/apache2/magic # -@@ -416,7 +416,7 @@ +@@ -436,7 +436,7 @@ # logged here. If you *do* define an error logfile for a # container, that host's errors will be logged there and not here. # @@ -74,16 +74,23 @@ # # LogLevel: Control the number of messages logged to the error_log. -@@ -441,7 +441,7 @@ +@@ -461,20 +461,20 @@ # define per- access logfiles, transactions will be # logged therein and *not* in this file. # -CustomLog logs/access_log common -+#CustomLog logs/access_log common ++#CustomLog /var/log/httpd-access_log common # # If you would like to have agent and referer logfiles, uncomment the -@@ -454,7 +454,7 @@ + # following directives. + # +-#CustomLog logs/referer_log referer +-#CustomLog logs/agent_log agent ++#CustomLog /var/log/httpd-referer_log referer ++#CustomLog /var/log/httpd-agent_log agent + + # # If you prefer a single logfile with access, agent, and referer information # (Combined Logfile Format) you can use the following directive. # @@ -92,7 +99,7 @@ # # Optionally add a line containing the server version and virtual host -@@ -478,9 +478,9 @@ +@@ -498,9 +498,9 @@ # We include the /icons/ alias for FancyIndexed directory listings. If you # do not use FancyIndexing, you may comment this out. # @@ -104,7 +111,7 @@ Options Indexes MultiViews AllowOverride None Order allow,deny -@@ -492,9 +492,9 @@ +@@ -512,9 +512,9 @@ # the manual, even if you choose to move your DocumentRoot. You may comment # this out if you do not care for the documentation. # @@ -116,7 +123,7 @@ Options Indexes FollowSymLinks MultiViews AllowOverride None Order allow,deny -@@ -509,21 +509,21 @@ +@@ -529,21 +529,21 @@ # The same rules about trailing "/" apply to ScriptAlias directives as to # Alias. # @@ -141,9 +148,9 @@ AllowOverride None Options None Order allow,deny -@@ -851,9 +851,9 @@ - # +@@ -859,9 +859,9 @@ + - Alias /error/ "@@ServerRoot@@/error/" + Alias /error/ "@@ServerRoot@@/www/error/" @@ -153,12 +160,12 @@ AllowOverride None Options IncludesNoExec AddOutputFilter Includes html -@@ -964,7 +964,7 @@ +@@ -974,7 +974,7 @@ # Bring in additional module-specific configurations # - Include conf/ssl.conf -+ Include etc/apache/ssl.conf ++ Include etc/apache2/ssl.conf diff -ruN apache2.orig/files/patch-docs:conf:ssl-std.conf apache2/files/patch-docs:conf:ssl-std.conf --- apache2.orig/files/patch-docs:conf:ssl-std.conf Tue Nov 20 07:47:47 2001 +++ apache2/files/patch-docs:conf:ssl-std.conf Mon Mar 18 16:21:23 2002 @@ -1,14 +1,34 @@ ---- docs/conf/ssl-std.conf.orig Fri Nov 16 21:56:55 2001 -+++ docs/conf/ssl-std.conf Fri Nov 16 22:00:27 2001 -@@ -57,7 +57,7 @@ +--- docs/conf/ssl-std.conf.orig Thu Nov 8 07:16:09 2001 ++++ docs/conf/ssl-std.conf Fri Feb 22 02:37:27 2002 +@@ -55,15 +55,15 @@ + # Configure the SSL Session Cache: First the mechanism + # to use and second the expiring timeout (in seconds). #SSLSessionCache none - #SSLSessionCache shmht:logs/ssl_scache(512000) - #SSLSessionCache shmcb:logs/ssl_scache(512000) +-#SSLSessionCache shmht:logs/ssl_scache(512000) +-#SSLSessionCache shmcb:logs/ssl_scache(512000) -SSLSessionCache dbm:logs/ssl_scache ++#SSLSessionCache shmht:/var/log/httpd-ssl_scache(512000) ++#SSLSessionCache shmcb:/var/log/httpd-ssl_scache(512000) +SSLSessionCache dbm:/var/log/httpd-ssl_scache SSLSessionCacheTimeout 300 # Semaphore: + # Configure the path to the mutual exclusion semaphore the + # SSL engine uses internally for inter-process synchronization. +-SSLMutex file:logs/ssl_mutex ++SSLMutex file:/var/log/httpd-ssl_mutex + + # Pseudo Random Number Generator (PRNG): + # Configure one or more sources to seed the PRNG of the +@@ -89,7 +89,7 @@ + # a real server (i.e. somewhere where only root can write). + # Log levels are (ascending order: higher ones include lower ones): + # none, error, warn, info, trace, debug. +-SSLLog logs/ssl_engine_log ++SSLLog /var/log/httpd-ssl_engine_log + SSLLogLevel info + + ## @@ -99,11 +99,11 @@ @@ -30,8 +50,8 @@ # the use of DSA ciphers, etc.) -SSLCertificateFile @@ServerRoot@@/conf/ssl.crt/server.crt -#SSLCertificateFile @@ServerRoot@@/conf/ssl.crt/server-dsa.crt -+SSLCertificateFile @@ServerRoot@@/etc/apache/ssl.crt/server.crt -+#SSLCertificateFile @@ServerRoot@@/etc/apache/ssl.crt/server-dsa.crt ++SSLCertificateFile @@ServerRoot@@/etc/apache2/ssl.crt/server.crt ++#SSLCertificateFile @@ServerRoot@@/etc/apache2/ssl.crt/server-dsa.crt # Server Private Key: # If the key is not combined with the certificate, use this @@ -40,8 +60,8 @@ # both in parallel (to also allow the use of DSA ciphers, etc.) -SSLCertificateKeyFile @@ServerRoot@@/conf/ssl.key/server.key -#SSLCertificateKeyFile @@ServerRoot@@/conf/ssl.key/server-dsa.key -+SSLCertificateKeyFile @@ServerRoot@@/etc/apache/ssl.key/server.key -+#SSLCertificateKeyFile @@ServerRoot@@/etc/apache/ssl.key/server-dsa.key ++SSLCertificateKeyFile @@ServerRoot@@/etc/apache2/ssl.key/server.key ++#SSLCertificateKeyFile @@ServerRoot@@/etc/apache2/ssl.key/server-dsa.key # Server Certificate Chain: # Point SSLCertificateChainFile at a file containing the @@ -50,7 +70,7 @@ # when the CA certificates are directly appended to the server # certificate for convinience. -#SSLCertificateChainFile @@ServerRoot@@/conf/ssl.crt/ca.crt -+#SSLCertificateChainFile @@ServerRoot@@/etc/apache/ssl.crt/ca.crt ++#SSLCertificateChainFile @@ServerRoot@@/etc/apache2/ssl.crt/ca.crt # Certificate Authority (CA): # Set the CA certificate verification path where to find CA @@ -60,8 +80,8 @@ # Makefile to update the hash symlinks after changes. -#SSLCACertificatePath @@ServerRoot@@/conf/ssl.crt -#SSLCACertificateFile @@ServerRoot@@/conf/ssl.crt/ca-bundle.crt -+#SSLCACertificatePath @@ServerRoot@@/etc/apache/ssl.crt -+#SSLCACertificateFile @@ServerRoot@@/etc/apache/ssl.crt/ca-bundle.crt ++#SSLCACertificatePath @@ServerRoot@@/etc/apache2/ssl.crt ++#SSLCACertificateFile @@ServerRoot@@/etc/apache2/ssl.crt/ca-bundle.crt # Certificate Revocation Lists (CRL): # Set the CA revocation path where to find CA CRLs for client @@ -71,8 +91,8 @@ # Makefile to update the hash symlinks after changes. -#SSLCARevocationPath @@ServerRoot@@/conf/ssl.crl -#SSLCARevocationFile @@ServerRoot@@/conf/ssl.crl/ca-bundle.crl -+#SSLCARevocationPath @@ServerRoot@@/etc/apache/ssl.crl -+#SSLCARevocationFile @@ServerRoot@@/etc/apache/ssl.crl/ca-bundle.crl ++#SSLCARevocationPath @@ServerRoot@@/etc/apache2/ssl.crl ++#SSLCARevocationFile @@ServerRoot@@/etc/apache2/ssl.crl/ca-bundle.crl # Client Authentication (Type): # Client certificate verification type and depth. Types are diff -ruN apache2.orig/files/patch-srclib:apr-util:configure apache2/files/patch-srclib:apr-util:configure --- apache2.orig/files/patch-srclib:apr-util:configure Thu Jan 1 09:00:00 1970 +++ apache2/files/patch-srclib:apr-util:configure Mon Mar 18 15:49:06 2002 @@ -0,0 +1,11 @@ +--- srclib/apr-util/configure.orig Fri Feb 22 02:55:35 2002 ++++ srclib/apr-util/configure Fri Feb 22 02:56:03 2002 +@@ -5770,7 +5770,7 @@ + + + if test -z "$expat_include_dir"; then +- for d in /usr /usr/local xml/expat-cvs xml/expat $srcdir/xml/expat ; do ++ for d in xml/expat-cvs xml/expat $srcdir/xml/expat ; do + + echo $ac_n "checking for Expat in $d""... $ac_c" 1>&6 + echo "configure:5777: checking for Expat in $d" >&5 diff -ruN apache2.orig/files/patch-support:apachectl.in apache2/files/patch-support:apachectl.in --- apache2.orig/files/patch-support:apachectl.in Tue Nov 20 07:47:47 2001 +++ apache2/files/patch-support:apachectl.in Mon Mar 18 15:49:06 2002 @@ -1,6 +1,6 @@ ---- support/apachectl.in.orig Fri Nov 16 21:22:36 2001 -+++ support/apachectl.in Fri Nov 16 22:07:31 2001 -@@ -25,10 +25,10 @@ +--- support/apachectl.in.orig Sat Dec 15 22:56:36 2001 ++++ support/apachectl.in Fri Feb 22 02:40:03 2002 +@@ -26,10 +26,10 @@ # -------------------- -------------------- # # the path to your PID file @@ -11,13 +11,13 @@ -HTTPD='@prefix@/bin/@progname@' +HTTPD='@prefix@/sbin/@progname@' # - # a command that outputs a formatted text version of the HTML at the - # url given on the command line. Designed for lynx, however other -@@ -41,6 +41,7 @@ + # pick up any necessary environment variables + if test -f @prefix@/bin/envvars; then +@@ -47,6 +47,7 @@ # # -------------------- -------------------- # |||||||||||||||||||| END CONFIGURATION SECTION |||||||||||||||||||| +eval `limits -e -C daemon` >/dev/null 2>&1 ERROR=0 - ARGV="$@" + if [ "x$ARGV" = "x" ] ; then diff -ruN apache2.orig/files/patch-support:apxs.in apache2/files/patch-support:apxs.in --- apache2.orig/files/patch-support:apxs.in Thu Dec 13 19:12:38 2001 +++ apache2/files/patch-support:apxs.in Mon Mar 18 15:49:06 2002 @@ -1,47 +1,40 @@ ---- support/apxs.in.orig Sat Nov 3 05:09:20 2001 -+++ support/apxs.in Sun Dec 9 14:47:57 2001 +--- support/apxs.in.orig Sat Feb 2 04:25:14 2002 ++++ support/apxs.in Fri Feb 22 02:49:11 2002 @@ -66,7 +66,7 @@ # read the configuration variables once my %config_vars = (); -get_config_vars("$prefix/build/config_vars.mk",\%config_vars); -+get_config_vars("$prefix/share/mk/apache/config_vars.mk",\%config_vars); ++get_config_vars("$prefix/share/apache/config_vars.mk",\%config_vars); my $exec_prefix = get_vars("exec_prefix"); my $CFG_TARGET = get_vars("progname"); -@@ -218,7 +218,7 @@ - ## - ## Initial shared object support check - ## --my $httpd = get_vars("bindir") . "/" . get_vars("progname"); -+my $httpd = get_vars("sbindir") . "/" . get_vars("progname"); - $httpd = eval qq("$httpd"); - $httpd = eval qq("$httpd"); - -@@ -412,7 +412,7 @@ +@@ -414,7 +414,7 @@ $la =~ s|\.c$|.la|; my $o = $s; $o =~ s|\.c$|.o|; -- push(@cmds, "$prefix/build/libtool --silent --mode=compile $CFG_CC $cflags -I$CFG_INCLUDEDIR $opt -c -o $lo $s && touch $slo"); -+ push(@cmds, "$prefix/share/mk/apache/libtool --silent --mode=compile $CFG_CC $cflags -I$CFG_INCLUDEDIR $opt -c -o $lo $s && touch $slo"); +- push(@cmds, "$prefix/build/libtool $ltflags --mode=compile $CFG_CC $cflags -I$CFG_INCLUDEDIR $opt -c -o $lo $s && touch $slo"); ++ push(@cmds, "$prefix/share/apache/libtool $ltflags --mode=compile $CFG_CC $cflags -I$CFG_INCLUDEDIR $opt -c -o $lo $s && touch $slo"); unshift(@objs, $lo); } -@@ -437,7 +437,7 @@ +@@ -439,7 +439,7 @@ $opt .= " -l$opt_l"; } -- push(@cmds, "$prefix/build/libtool --silent --mode=link $CFG_CC -o $dso_file -rpath $CFG_LIBEXECDIR -module -avoid-version $opt $lo"); -+ push(@cmds, "$prefix/share/mk/apache/libtool --silent --mode=link $CFG_CC -o $dso_file -rpath $CFG_LIBEXECDIR -module -avoid-version $opt $lo"); +- push(@cmds, "$prefix/build/libtool $ltflags --mode=link $CFG_CC -o $dso_file -rpath $CFG_LIBEXECDIR -module -avoid-version $opt $lo"); ++ push(@cmds, "$prefix/share/apache/libtool $ltflags --mode=link $CFG_CC -o $dso_file -rpath $CFG_LIBEXECDIR -module -avoid-version $opt $lo"); # execute the commands &execute_cmds(@cmds); -@@ -467,7 +467,7 @@ - my $t = $f; +@@ -470,8 +470,8 @@ $t =~ s|^.+/([^/]+)$|$1|; + $t =~ s|\.la$|\.so|; if ($opt_i) { -- push(@cmds, "$prefix/build/libtool --mode=install cp $f $CFG_LIBEXECDIR/$t"); -+ push(@cmds, "$prefix/share/mk/apache/libtool --mode=install cp $f $CFG_LIBEXECDIR/$t"); +- push(@cmds, "$prefix/build/instdso.sh SH_LIBTOOL='" . +- "$prefix/build/libtool' $f $CFG_LIBEXECDIR"); ++ push(@cmds, "$prefix/share/apache/instdso.sh SH_LIBTOOL='" . ++ "$prefix/share/apache/libtool' $f $CFG_LIBEXECDIR"); push(@cmds, "chmod 755 $CFG_LIBEXECDIR/$t"); } diff -ruN apache2.orig/files/patch-support:log_server_status.in apache2/files/patch-support:log_server_status.in --- apache2.orig/files/patch-support:log_server_status.in Tue Nov 20 07:47:47 2001 +++ apache2/files/patch-support:log_server_status.in Mon Mar 18 15:49:06 2002 @@ -1,5 +1,5 @@ ---- support/log_server_status.in.orig Fri Nov 16 22:11:16 2001 -+++ support/log_server_status.in Fri Nov 16 22:13:50 2001 +--- support/log_server_status.in.orig Mon Mar 12 08:40:47 2001 ++++ support/log_server_status.in Fri Feb 22 02:50:20 2002 @@ -63,10 +63,10 @@ # require 'sys/socket.ph'; diff -ruN apache2.orig/pkg-plist apache2/pkg-plist --- apache2.orig/pkg-plist Sat Dec 1 16:58:09 2001 +++ apache2/pkg-plist Mon Mar 18 16:23:02 2002 @@ -1,12 +1,20 @@ -etc/apache/highperformance-std.conf -etc/apache/highperformance.conf -etc/apache/httpd-std.conf -etc/apache/httpd.conf -etc/apache/magic -etc/apache/mime.types -etc/apache/ssl-std.conf -etc/apache/ssl.conf -@dirrm etc/apache +bin/apr-config +bin/apu-config +@unexec if cmp -s %D/etc/apache2/highperformance.conf %D/etc/apache2/highperformance-std.conf; then rm -f %D/etc/apache2/highperformance.conf; fi +etc/apache2/highperformance-std.conf +@exec [ -f %B/highperformance.conf ] || cp %B/%f %B/highperformance.conf +@unexec if cmp -s %D/etc/apache2/httpd.conf %D/etc/apache2/httpd-std.conf; then rm -f %D/etc/apache2/httpd.conf; fi +etc/apache2/httpd-std.conf +@exec [ -f %B/httpd.conf ] || cp %B/%f %B/httpd.conf +@unexec if cmp -s %D/etc/apache2/magic %D/etc/apache2/magic.default; then rm -f %D/etc/apache2/magic; fi +etc/apache2/magic.default +@exec [ -f %B/magic ] || cp %B/%f %B/magic +@unexec if cmp -s %D/etc/apache2/mime.types %D/etc/apache2/mime.types.default; then rm -f %D/etc/apache2/mime.types; fi +etc/apache2/mime.types.default +@exec [ -f %B/mime.types ] || cp %B/%f %B/mime.types +@unexec if cmp -s %D/etc/apache2/ssl.conf %D/etc/apache2/ssl-std.conf; then rm -f %D/etc/apache2/ssl.conf; fi +etc/apache2/ssl-std.conf +@exec [ -f %B/ssl.conf ] || cp %B/%f %B/ssl.conf etc/rc.d/apache.sh include/apache/ap_compat.h include/apache/ap_config.h @@ -16,6 +24,7 @@ include/apache/ap_mpm.h include/apache/ap_release.h include/apache/apr.h +include/apache/apr_anylock.h include/apache/apr_base64.h include/apache/apr_buckets.h include/apache/apr_compat.h @@ -44,9 +53,10 @@ include/apache/apr_portable.h include/apache/apr_proc_mutex.h include/apache/apr_ring.h +include/apache/apr_rmm.h include/apache/apr_sdbm.h include/apache/apr_sha1.h -include/apache/apr_shmem.h +include/apache/apr_shm.h include/apache/apr_signal.h include/apache/apr_strings.h include/apache/apr_tables.h @@ -58,12 +68,12 @@ include/apache/apr_uri.h include/apache/apr_user.h include/apache/apr_uuid.h +include/apache/apr_version.h include/apache/apr_want.h include/apache/apr_xlate.h include/apache/apr_xml.h include/apache/apu.h include/apache/apu_compat.h -include/apache/config.h include/apache/expat.h include/apache/http_config.h include/apache/http_connection.h @@ -74,7 +84,6 @@ include/apache/http_request.h include/apache/http_vhost.h include/apache/httpd.h -include/apache/internal.h include/apache/mod_cgi.h include/apache/mod_core.h include/apache/mod_dav.h @@ -103,119 +112,88 @@ include/apache/util_script.h include/apache/util_time.h include/apache/util_xml.h -@dirrm include/apache -lib/APRVARS -lib/libapr.a -lib/libapr.la -lib/libapr.so.0 -lib/libaprutil.a -lib/libaprutil.la -lib/libaprutil.so.0 -lib/libexpat.a -lib/libexpat.la -lib/libexpat.so.1 -@exec ln -fs libapr.so.0 %D/lib/libapr.so -@exec ln -fs libaprutil.so.0 %D/lib/libaprutil.so -@exec ln -fs libexpat.so.1 %D/lib/libexpat.so -@unexec rm -f %D/lib/libapr.so -@unexec rm -f %D/lib/libaprutil.so -@unexec rm -f %D/lib/libexpat.so +lib/apache/APRVARS +lib/apache/apr.exp +lib/apache/aprutil.exp +lib/apache/libapr.a +lib/apache/libapr.la +lib/apache/libapr.so.0 +@unexec rm -f %D/lib/apache/libapr.so +@exec ln -fs libapr.so.0 %D/lib/apache/libapr.so +lib/apache/libaprutil.a +lib/apache/libaprutil.la +lib/apache/libaprutil.so.0 +@unexec rm -f %D/lib/apache/libaprutil.so +@exec ln -fs libaprutil.so.0 %D/lib/apache/libaprutil.so +lib/apache/libexpat.a +lib/apache/libexpat.la +lib/apache/libexpat.so.1 +@unexec rm -f %D/lib/apache/libexpat.so +@exec ln -fs libexpat.so.1 %D/lib/apache/libexpat.so libexec/apache/httpd.exp -libexec/apache/mod_access.la libexec/apache/mod_access.so -libexec/apache/mod_actions.la libexec/apache/mod_actions.so -libexec/apache/mod_alias.la libexec/apache/mod_alias.so -libexec/apache/mod_asis.la libexec/apache/mod_asis.so -libexec/apache/mod_auth.la libexec/apache/mod_auth.so -libexec/apache/mod_auth_anon.la libexec/apache/mod_auth_anon.so -libexec/apache/mod_auth_db.la -libexec/apache/mod_auth_db.so -libexec/apache/mod_auth_dbm.la libexec/apache/mod_auth_dbm.so -libexec/apache/mod_auth_digest.la libexec/apache/mod_auth_digest.so -libexec/apache/mod_autoindex.la libexec/apache/mod_autoindex.so -%%CACHEOPT%%libexec/apache/mod_cache.la -%%CACHEOPT%%libexec/apache/mod_cache.so -libexec/apache/mod_cern_meta.la +libexec/apache/mod_cache.so libexec/apache/mod_cern_meta.so -libexec/apache/mod_cgi.la libexec/apache/mod_cgi.so -libexec/apache/mod_cgid.la libexec/apache/mod_cgid.so -libexec/apache/mod_dav.la libexec/apache/mod_dav.so -libexec/apache/mod_dav_fs.la libexec/apache/mod_dav_fs.so -libexec/apache/mod_dir.la libexec/apache/mod_dir.so -libexec/apache/mod_env.la +libexec/apache/mod_disk_cache.so libexec/apache/mod_env.so -libexec/apache/mod_expires.la libexec/apache/mod_expires.so -%%CACHEOPT%%libexec/apache/mod_file_cache.la -%%CACHEOPT%%libexec/apache/mod_file_cache.so -libexec/apache/mod_headers.la +libexec/apache/mod_file_cache.so libexec/apache/mod_headers.so -libexec/apache/mod_imap.la libexec/apache/mod_imap.so -libexec/apache/mod_include.la libexec/apache/mod_include.so -libexec/apache/mod_info.la libexec/apache/mod_info.so -libexec/apache/mod_log_config.la libexec/apache/mod_log_config.so -%%CACHEOPT%%libexec/apache/mod_mem_cache.la -%%CACHEOPT%%libexec/apache/mod_mem_cache.so -libexec/apache/mod_mime.la +%%THREADONLY%%libexec/apache/mod_mem_cache.so libexec/apache/mod_mime.so -libexec/apache/mod_mime_magic.la libexec/apache/mod_mime_magic.so -libexec/apache/mod_negotiation.la libexec/apache/mod_negotiation.so -%%PROXYOPT%%libexec/apache/mod_proxy.la -%%PROXYOPT%%libexec/apache/mod_proxy.so -%%PROXYOPT%%libexec/apache/mod_proxy_connect.la -%%PROXYOPT%%libexec/apache/mod_proxy_connect.so -%%PROXYOPT%%libexec/apache/mod_proxy_ftp.la -%%PROXYOPT%%libexec/apache/mod_proxy_ftp.so -%%PROXYOPT%%libexec/apache/mod_proxy_http.la -%%PROXYOPT%%libexec/apache/mod_proxy_http.so -libexec/apache/mod_rewrite.la +libexec/apache/mod_proxy.so +libexec/apache/mod_proxy_connect.so +libexec/apache/mod_proxy_ftp.so +libexec/apache/mod_proxy_http.so libexec/apache/mod_rewrite.so -libexec/apache/mod_setenvif.la libexec/apache/mod_setenvif.so -libexec/apache/mod_speling.la libexec/apache/mod_speling.so -%%SSLOPT%%libexec/apache/mod_ssl.la %%SSLOPT%%libexec/apache/mod_ssl.so -libexec/apache/mod_status.la libexec/apache/mod_status.so -libexec/apache/mod_unique_id.la libexec/apache/mod_unique_id.so -libexec/apache/mod_userdir.la libexec/apache/mod_userdir.so -libexec/apache/mod_usertrack.la libexec/apache/mod_usertrack.so -libexec/apache/mod_vhost_alias.la libexec/apache/mod_vhost_alias.so -@dirrm libexec/apache sbin/ab sbin/apachectl sbin/apxs sbin/checkgid sbin/dbmmanage +sbin/envvars +sbin/envvars-std +sbin/htdbm sbin/htdigest sbin/htpasswd sbin/httpd sbin/logresolve sbin/rotatelogs +share/apache/config_vars.mk +share/apache/instdso.sh +share/apache/library.mk +share/apache/libtool +share/apache/ltlib.mk +share/apache/program.mk +share/apache/rules.mk +share/apache/special.mk %%PORTDOCS%%share/doc/apache/LICENSE %%PORTDOCS%%share/doc/apache/bind.html %%PORTDOCS%%share/doc/apache/cgi_path.html @@ -237,10 +215,7 @@ %%PORTDOCS%%share/doc/apache/dso.html %%PORTDOCS%%share/doc/apache/ebcdic.html %%PORTDOCS%%share/doc/apache/env.html -%%PORTDOCS%%share/doc/apache/faq/footer.html -%%PORTDOCS%%share/doc/apache/faq/header.html %%PORTDOCS%%share/doc/apache/faq/index.html -%%PORTDOCS%%share/doc/apache/faq/support.html %%PORTDOCS%%share/doc/apache/filter.html %%PORTDOCS%%share/doc/apache/footer.html %%PORTDOCS%%share/doc/apache/handler.html.en @@ -302,7 +277,6 @@ %%PORTDOCS%%share/doc/apache/mod/mod_asis.html %%PORTDOCS%%share/doc/apache/mod/mod_auth.html %%PORTDOCS%%share/doc/apache/mod/mod_auth_anon.html -%%PORTDOCS%%share/doc/apache/mod/mod_auth_db.html %%PORTDOCS%%share/doc/apache/mod/mod_auth_dbm.html %%PORTDOCS%%share/doc/apache/mod/mod_auth_digest.html %%PORTDOCS%%share/doc/apache/mod/mod_auth_ldap.html @@ -343,15 +317,18 @@ %%PORTDOCS%%share/doc/apache/mod/mod_vhost_alias.html %%PORTDOCS%%share/doc/apache/mod/module-dict.html %%PORTDOCS%%share/doc/apache/mod/mpm_common.html +%%PORTDOCS%%share/doc/apache/mod/mpm_netware.html %%PORTDOCS%%share/doc/apache/mod/mpm_winnt.html %%PORTDOCS%%share/doc/apache/mod/perchild.html %%PORTDOCS%%share/doc/apache/mod/prefork.html -%%PORTDOCS%%share/doc/apache/mod/threaded.html +%%PORTDOCS%%share/doc/apache/mod/worker.html %%PORTDOCS%%share/doc/apache/mpm.html +%%PORTDOCS%%share/doc/apache/new_features_2_0.html.de %%PORTDOCS%%share/doc/apache/new_features_2_0.html.en %%PORTDOCS%%share/doc/apache/new_features_2_0.html.fr %%PORTDOCS%%share/doc/apache/platform/footer.html %%PORTDOCS%%share/doc/apache/platform/header.html +%%PORTDOCS%%share/doc/apache/platform/netware.html %%PORTDOCS%%share/doc/apache/platform/perf-hp.html %%PORTDOCS%%share/doc/apache/platform/win_compiling.html %%PORTDOCS%%share/doc/apache/platform/win_service.html @@ -374,6 +351,7 @@ %%PORTDOCS%%share/doc/apache/sections.html %%PORTDOCS%%share/doc/apache/server-wide.html.en %%PORTDOCS%%share/doc/apache/server-wide.html.ja.jis +%%PORTDOCS%%share/doc/apache/sitemap.html %%PORTDOCS%%share/doc/apache/ssl/Makefile %%PORTDOCS%%share/doc/apache/ssl/footer.html %%PORTDOCS%%share/doc/apache/ssl/header.html @@ -447,41 +425,18 @@ %%PORTDOCS%%share/doc/apache/vhosts/ip-based.html %%PORTDOCS%%share/doc/apache/vhosts/mass.html %%PORTDOCS%%share/doc/apache/vhosts/name-based.html -%%PORTDOCS%%@dirrm share/doc/apache/vhosts -%%PORTDOCS%%@dirrm share/doc/apache/ssl -%%PORTDOCS%%@dirrm share/doc/apache/search -%%PORTDOCS%%@dirrm share/doc/apache/programs -%%PORTDOCS%%@dirrm share/doc/apache/platform -%%PORTDOCS%%@dirrm share/doc/apache/mod -%%PORTDOCS%%@dirrm share/doc/apache/misc -%%PORTDOCS%%@dirrm share/doc/apache/images -%%PORTDOCS%%@dirrm share/doc/apache/howto -%%PORTDOCS%%@dirrm share/doc/apache/faq -%%PORTDOCS%%@dirrm share/doc/apache/developer -%%PORTDOCS%%@dirrm share/doc/apache -share/mk/apache/config_vars.mk -share/mk/apache/library.mk -share/mk/apache/libtool -share/mk/apache/ltlib.mk -share/mk/apache/program.mk -share/mk/apache/rules.mk -share/mk/apache/special.mk -@dirrm share/mk/apache -@dirrm share/mk @exec mkdir -p %D/www -@exec [ ! -d %D/www/cgi-bin ] && ln -fs %D/www/cgi-bin.default %D/www/cgi-bin @unexec if [ -L %D/www/cgi-bin ]; then rm -f %D/www/cgi-bin; fi +@exec [ ! -d %D/www/cgi-bin ] && ln -fs %D/www/cgi-bin.default %D/www/cgi-bin www/cgi-bin.default/printenv www/cgi-bin.default/test-cgi -www/cgi-bin.default/test-cgi.bat -@exec [ ! -d %D/www/data ] && ln -fs %D/www/data.default %D/www/data @unexec if [ -L %D/www/data ]; then rm -f %D/www/data; fi +@exec [ ! -d %D/www/data ] && ln -fs %D/www/data.default %D/www/data www/data.default/apache_pb.gif www/data.default/apache_pb.png www/data.default/apache_pb2.gif www/data.default/apache_pb2.png www/data.default/apache_pb2_ani.gif -www/data.default/error.README www/data.default/index.html.ca www/data.default/index.html.cz.iso8859-2 www/data.default/index.html.de @@ -514,7 +469,6 @@ www/data.default/index.html.tw www/data.default/index.html.tw.Big5 www/data.default/index.html.var -@unexec if [ -L %D/www/data ]; then rm -f %D/www/data; fi www/error/HTTP_BAD_GATEWAY.html.var www/error/HTTP_BAD_REQUEST.html.var www/error/HTTP_FORBIDDEN.html.var @@ -533,6 +487,7 @@ www/error/HTTP_UNAUTHORIZED.html.var www/error/HTTP_UNSUPPORTED_MEDIA_TYPE.html.var www/error/HTTP_VARIANT_ALSO_VARIES.html.var +www/error/README www/error/contact.html.var www/error/include/bottom.html www/error/include/spacer.html @@ -597,6 +552,7 @@ www/icons/folder.sec.png www/icons/forward.gif www/icons/forward.png +www/icons/freebsd.gif www/icons/generic.gif www/icons/generic.png www/icons/generic.red.gif @@ -763,3 +719,20 @@ @dirrm www/data.default @dirrm www/cgi-bin.default @dirrm www +%%PORTDOCS%%@dirrm share/doc/apache/vhosts +%%PORTDOCS%%@dirrm share/doc/apache/ssl +%%PORTDOCS%%@dirrm share/doc/apache/search +%%PORTDOCS%%@dirrm share/doc/apache/programs +%%PORTDOCS%%@dirrm share/doc/apache/platform +%%PORTDOCS%%@dirrm share/doc/apache/mod +%%PORTDOCS%%@dirrm share/doc/apache/misc +%%PORTDOCS%%@dirrm share/doc/apache/images +%%PORTDOCS%%@dirrm share/doc/apache/howto +%%PORTDOCS%%@dirrm share/doc/apache/faq +%%PORTDOCS%%@dirrm share/doc/apache/developer +%%PORTDOCS%%@dirrm share/doc/apache +@dirrm share/apache +@dirrm libexec/apache +@dirrm lib/apache +@dirrm include/apache +@dirrm etc/apache >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message