summaryrefslogtreecommitdiff
path: root/www/apache22/files
diff options
context:
space:
mode:
authorClement Laforet <clement@FreeBSD.org>2005-10-30 20:39:05 +0000
committerClement Laforet <clement@FreeBSD.org>2005-10-30 20:39:05 +0000
commit0b1f4f30b90d5c7866bc4e6767a20a3e5c768f82 (patch)
tree2cc0d791db7011d4c17a18ab093753d48618f4c8 /www/apache22/files
parentUpdate www. (diff)
- Update to 2.1.8
Not all new cool stuff is supported but it will be when 2.2.0 comes out.
Diffstat (limited to 'www/apache22/files')
-rw-r--r--www/apache22/files/patch-Makefile.in76
-rw-r--r--www/apache22/files/patch-docs:conf:httpd-std.conf.in94
-rw-r--r--www/apache22/files/patch-docs_conf_extra_httpd-ssl.conf.in (renamed from www/apache22/files/patch-docs:conf:ssl-std.conf.in)10
-rw-r--r--www/apache22/files/patch-docs_conf_extra_httpd-userdir.conf.in16
-rw-r--r--www/apache22/files/patch-docs_conf_httpd.conf.in52
-rw-r--r--www/apache22/files/patch-srclib:apr-util:build:dbm.m418
-rw-r--r--www/apache22/files/patch-srclib:apr-util:xml:expat:buildconf.sh39
-rw-r--r--www/apache22/files/patch-srclib:apr:buildconf29
8 files changed, 127 insertions, 207 deletions
diff --git a/www/apache22/files/patch-Makefile.in b/www/apache22/files/patch-Makefile.in
index 382e3f0cbc5f..9ca0cfb52183 100644
--- a/www/apache22/files/patch-Makefile.in
+++ b/www/apache22/files/patch-Makefile.in
@@ -1,69 +1,37 @@
---- Makefile.in.orig Thu Dec 2 08:34:20 2004
-+++ Makefile.in Sat Dec 18 11:51:59 2004
-@@ -31,15 +31,22 @@
- if [ ! -d $(DESTDIR)$(sysconfdir) ]; then \
- $(MKINSTALLDIRS) $(DESTDIR)$(sysconfdir) ; \
- fi ; \
-+ if [ ! -d $(DESTDIR)$(EXAMPLESDIR) ]; then \
-+ $(MKINSTALLDIRS) $(DESTDIR)$(EXAMPLESDIR) ; \
-+ fi ; \
- cd $(top_srcdir)/docs/conf; \
+--- Makefile.in.orig Sun Sep 25 23:07:27 2005
++++ Makefile.in Sun Oct 30 19:31:59 2005
+@@ -31,9 +31,11 @@
+ install-conf:
+ @echo Installing configuration files
+ @$(MKINSTALLDIRS) $(DESTDIR)$(sysconfdir) $(DESTDIR)$(sysconfdir)/extra
+- @$(MKINSTALLDIRS) $(DESTDIR)$(sysconfdir)/original/extra
++ @$(MKINSTALLDIRS) $(DESTDIR)$(EXAMPLESDIR) $(DESTDIR)$(EXAMPLESDIR)/extra
++
+ @cd $(top_srcdir)/docs/conf; \
for i in mime.types magic; do \
++ $(INSTALL_DATA) $$i $(DESTDIR)$(EXAMPLESDIR); \
if test ! -f $(DESTDIR)$(sysconfdir)/$$i; then \
$(INSTALL_DATA) $$i $(DESTDIR)$(sysconfdir); \
fi; \
-+ cp -f $$i $$i-dist; \
-+ $(INSTALL_DATA) $$i-dist $(DESTDIR)$(EXAMPLESDIR); \
- done; \
- for j in $(top_srcdir)/docs/conf $(top_builddir)/docs/conf ; do \
- cd $$j ; \
-+ [ -f `echo "$$i"|sed 's,\.in$$,_nonex,g'` ] || continue; \
- for i in *-std*.conf; do \
-+ [ -f `echo "$$i"|sed 's,\.in$$,_nonex,g'` ] || continue; \
- ( \
- n_lm=`awk 'BEGIN {n=0} /@@LoadModule@@/ {n+=1} END {print n}' < $$i`; \
- if test $$n_lm -eq 0 -o "x$(DSO_MODULES)" = "x"; then \
-@@ -57,6 +64,9 @@
- if test "x$$j" = "xssl"; then \
- echo "<IfDefine SSL>"; \
- fi; \
-+ if [ `echo "$$j" | egrep 'cgid|cache|dav|digest|proxy'` ]; then \
-+ echo -n "#"; \
-+ fi; \
- if test $$j != "^EOL^"; then \
- echo "LoadModule $${j}_module $(rel_libexecdir)/mod_$${j}.so"; \
- fi; \
-@@ -70,23 +80,18 @@
+@@ -66,14 +68,14 @@
-e 's#@@Port@@#$(PORT)#g' \
< $$i; \
fi \
-- ) > $(DESTDIR)$(sysconfdir)/$$i; \
-- chmod 0644 $(DESTDIR)$(sysconfdir)/$$i; \
-- file=`echo $$i|sed s/-std//`; \
+- ) > $(DESTDIR)$(sysconfdir)/original/$$i; \
+- chmod 0644 $(DESTDIR)$(sysconfdir)/original/$$i; \
+ ) > $(DESTDIR)$(EXAMPLESDIR)/$$i; \
+ chmod 0644 $(DESTDIR)$(EXAMPLESDIR)/$$i; \
-+ chmod 0644 $(DESTDIR)$(EXAMPLESDIR)/$$i; \
-+ file=`echo $$i|sed s/-std//`; \
- if [ "$$file" = "httpd.conf" ]; then \
- file=`echo $$file|sed s/.*.conf/$(PROGRAM_NAME).conf/`; \
+ file=$$i; \
+ if [ "$$i" = "httpd.conf" ]; then \
+ file=`echo $$i|sed s/.*.conf/$(PROGRAM_NAME).conf/`; \
fi; \
- if test "$$file" != "$$i" && test ! -f $(DESTDIR)$(sysconfdir)/$$file; then \
-- $(INSTALL_DATA) $(DESTDIR)$(sysconfdir)/$$i $(DESTDIR)$(sysconfdir)/$$file; \
+ if test ! -f $(DESTDIR)$(sysconfdir)/$$file; then \
+- $(INSTALL_DATA) $(DESTDIR)$(sysconfdir)/original/$$i $(DESTDIR)$(sysconfdir)/$$file; \
+ $(INSTALL_DATA) $(DESTDIR)$(EXAMPLESDIR)/$$i $(DESTDIR)$(sysconfdir)/$$file; \
fi; \
+ fi; \
done ; \
-- done ; \
-- if test -f "$(builddir)/envvars-std"; then \
-- cp -p envvars-std $(DESTDIR)$(sbindir); \
-- if test ! -f $(DESTDIR)$(sbindir)/envvars; then \
-- cp -p envvars-std $(DESTDIR)$(sbindir)/envvars ; \
-- fi ; \
-- fi
-+ done ;
-
- install-build:
- @echo Installing build system files
-@@ -108,44 +113,40 @@
+@@ -117,44 +119,40 @@
doxygen $(top_srcdir)/docs/doxygen.conf
install-htdocs:
@@ -136,7 +104,7 @@
install-other:
@test -d $(DESTDIR)$(logfiledir) || $(MKINSTALLDIRS) $(DESTDIR)$(logfiledir)
-@@ -189,11 +190,13 @@
+@@ -198,11 +196,13 @@
@test -d $(DESTDIR)$(mandir) || $(MKINSTALLDIRS) $(DESTDIR)$(mandir)
@test -d $(DESTDIR)$(mandir)/man1 || $(MKINSTALLDIRS) $(DESTDIR)$(mandir)/man1
@test -d $(DESTDIR)$(mandir)/man8 || $(MKINSTALLDIRS) $(DESTDIR)$(mandir)/man8
diff --git a/www/apache22/files/patch-docs:conf:httpd-std.conf.in b/www/apache22/files/patch-docs:conf:httpd-std.conf.in
deleted file mode 100644
index 1147ce18c192..000000000000
--- a/www/apache22/files/patch-docs:conf:httpd-std.conf.in
+++ /dev/null
@@ -1,94 +0,0 @@
---- docs/conf/httpd-std.conf.in.orig Tue Feb 8 23:31:56 2005
-+++ docs/conf/httpd-std.conf.in Wed Feb 23 11:06:23 2005
-@@ -68,7 +68,7 @@
- #
- #<IfModule !mpm_netware_module>
- #<IfModule !mpm_perchild_module>
--#ScoreBoardFile @rel_logfiledir@/apache_runtime_status
-+#ScoreBoardFile @rel_runtimedir@/apache_runtime_status
- #</IfModule>
- #</IfModule>
-
-@@ -264,8 +264,8 @@
- # when the value of (unsigned)Group is above 60000;
- # don't use Group #-1 on these systems!
- #
--User nobody
--Group #-1
-+User %%WWWOWN%%
-+Group %%WWWGRP%%
- </IfModule>
- </IfModule>
-
-@@ -315,7 +315,6 @@
- # features.
- #
- <Directory />
-- Options FollowSymLinks
- AllowOverride None
- Order deny,allow
- Deny from all
-@@ -369,6 +368,23 @@
- #
- <IfModule userdir_module>
- UserDir public_html
-+ UserDir disabled %%FTPUSERS%%
-+#
-+# Control access to UserDir directories. The following is an example
-+# for a site where these directories are restricted to read-only.
-+#
-+ <Directory /home/*/public_html>
-+ AllowOverride FileInfo AuthConfig Limit Indexes
-+ Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
-+ <Limit GET POST OPTIONS PROPFIND>
-+ Order allow,deny
-+ Allow from all
-+ </Limit>
-+ <LimitExcept GET POST OPTIONS PROPFIND>
-+ Order deny,allow
-+ Deny from all
-+ </LimitExcept>
-+ </Directory>
- </IfModule>
-
- #
-@@ -481,7 +497,7 @@
- # logged here. If you *do* define an error logfile for a <VirtualHost>
- # container, that host's errors will be logged there and not here.
- #
--ErrorLog @rel_logfiledir@/error_log
-+ErrorLog @rel_logfiledir@/httpd-error.log
-
- #
- # LogLevel: Control the number of messages logged to the error_log.
-@@ -510,20 +526,20 @@
- # define per-<VirtualHost> access logfiles, transactions will be
- # logged therein and *not* in this file.
- #
-- CustomLog @rel_logfiledir@/access_log common
-+ #CustomLog @rel_logfiledir@/httpd-access.log common
-
- #
- # If you would like to have agent and referer logfiles, uncomment the
- # following directives.
- #
-- #CustomLog @rel_logfiledir@/referer_log referer
-- #CustomLog @rel_logfiledir@/agent_log agent
-+ #CustomLog @rel_logfiledir@/httpd-referer.log referer
-+ #CustomLog @rel_logfiledir@/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.
- #
-- #CustomLog @rel_logfiledir@/access_log combined
-+ CustomLog @rel_logfiledir@/httpd-access.log combined
- </IfModule>
-
- #
-@@ -1071,3 +1087,5 @@
- # ErrorLog @rel_logfiledir@/dummy-host.example.com-error_log
- # CustomLog @rel_logfiledir@/dummy-host.example.com-access_log common
- #</VirtualHost>
-+
-+Include @rel_sysconfdir@/Includes/*.conf
diff --git a/www/apache22/files/patch-docs:conf:ssl-std.conf.in b/www/apache22/files/patch-docs_conf_extra_httpd-ssl.conf.in
index cf0bbeab218d..15ca7ef1e237 100644
--- a/www/apache22/files/patch-docs:conf:ssl-std.conf.in
+++ b/www/apache22/files/patch-docs_conf_extra_httpd-ssl.conf.in
@@ -1,8 +1,6 @@
-$FreeBSD$
-
---- docs/conf/ssl-std.conf.in.orig Mon Oct 13 16:14:10 2003
-+++ docs/conf/ssl-std.conf.in Mon Oct 13 16:15:17 2003
-@@ -88,8 +88,8 @@
+--- docs/conf/extra/httpd-ssl.conf.in.orig Sun Oct 30 19:40:45 2005
++++ docs/conf/extra/httpd-ssl.conf.in Sun Oct 30 19:41:50 2005
+@@ -77,8 +77,8 @@
DocumentRoot "@exp_htdocsdir@"
ServerName www.example.com:443
ServerAdmin you@example.com
@@ -13,7 +11,7 @@ $FreeBSD$
# SSL Engine Switch:
# Enable/Disable SSL for this virtual host.
-@@ -240,7 +240,7 @@
+@@ -225,7 +225,7 @@
# Per-Server Logging:
# The home of a custom SSL log file. Use this when you want a
# compact non-error SSL logfile on a virtual host basis.
diff --git a/www/apache22/files/patch-docs_conf_extra_httpd-userdir.conf.in b/www/apache22/files/patch-docs_conf_extra_httpd-userdir.conf.in
new file mode 100644
index 000000000000..902ef9584641
--- /dev/null
+++ b/www/apache22/files/patch-docs_conf_extra_httpd-userdir.conf.in
@@ -0,0 +1,16 @@
+--- docs/conf/extra/httpd-userdir.conf.in.orig Sun Oct 30 19:37:37 2005
++++ docs/conf/extra/httpd-userdir.conf.in Sun Oct 30 19:38:27 2005
+@@ -8,7 +8,7 @@
+ # the default access control for these directories, as in the example below.
+ #
+ UserDir public_html
+-
++UserDir disabled %%FTPUSERS%%
+ #
+ # Control access to UserDir directories. The following is an example
+ # for a site where these directories are restricted to read-only.
+@@ -25,4 +25,3 @@
+ Deny from all
+ </LimitExcept>
+ </Directory>
+-
diff --git a/www/apache22/files/patch-docs_conf_httpd.conf.in b/www/apache22/files/patch-docs_conf_httpd.conf.in
new file mode 100644
index 000000000000..728ed64ecc5f
--- /dev/null
+++ b/www/apache22/files/patch-docs_conf_httpd.conf.in
@@ -0,0 +1,52 @@
+--- docs/conf/httpd.conf.in.orig Sun Oct 30 19:33:41 2005
++++ docs/conf/httpd.conf.in Sun Oct 30 19:37:09 2005
+@@ -63,8 +63,8 @@
+ # It is usually good practice to create a dedicated user and group for
+ # running httpd, as with most system services.
+ #
+-User daemon
+-Group daemon
++User %%WWWOWN%%
++Group %%WWWGRP%%
+ </IfModule>
+ </IfModule>
+
+@@ -112,7 +112,6 @@
+ # features.
+ #
+ <Directory />
+- Options FollowSymLinks
+ AllowOverride None
+ Order deny,allow
+ Deny from all
+@@ -182,7 +181,7 @@
+ # logged here. If you *do* define an error logfile for a <VirtualHost>
+ # container, that host's errors will be logged there and not here.
+ #
+-ErrorLog @rel_logfiledir@/error_log
++ErrorLog @rel_logfiledir@/httpd-error.log
+
+ #
+ # LogLevel: Control the number of messages logged to the error_log.
+@@ -211,13 +210,13 @@
+ # define per-<VirtualHost> access logfiles, transactions will be
+ # logged therein and *not* in this file.
+ #
+- CustomLog @rel_logfiledir@/access_log common
++ #CustomLog @rel_logfiledir@/httpd-access.log common
+
+ #
+ # If you prefer a logfile with access, agent, and referer information
+ # (Combined Logfile Format) you can use the following directive.
+ #
+- #CustomLog @rel_logfiledir@/access_log combined
++ CustomLog @rel_logfiledir@/httpd-access.log combined
+ </IfModule>
+
+ <IfModule alias_module>
+@@ -412,3 +411,5 @@
+ SSLRandomSeed startup builtin
+ SSLRandomSeed connect builtin
+ </IfModule>
++
++Include @rel_sysconfdir@/Includes/*.conf
diff --git a/www/apache22/files/patch-srclib:apr-util:build:dbm.m4 b/www/apache22/files/patch-srclib:apr-util:build:dbm.m4
index 70fe1ef96154..ed8ec4ef2e83 100644
--- a/www/apache22/files/patch-srclib:apr-util:build:dbm.m4
+++ b/www/apache22/files/patch-srclib:apr-util:build:dbm.m4
@@ -1,6 +1,6 @@
---- srclib/apr-util/build/dbm.m4.orig Wed Nov 17 02:12:20 2004
-+++ srclib/apr-util/build/dbm.m4 Mon Jan 17 21:22:47 2005
-@@ -298,8 +298,8 @@
+--- srclib/apr-util/build/dbm.m4.orig Thu Feb 24 10:23:34 2005
++++ srclib/apr-util/build/dbm.m4 Sun Oct 30 19:44:43 2005
+@@ -314,8 +314,8 @@
fi
APU_CHECK_BERKELEY_DB(1, -1, -1,
"$places",
@@ -11,7 +11,7 @@
)
if test "$apu_have_db" = "1"; then
apu_db_version=185
-@@ -341,7 +341,7 @@
+@@ -357,7 +357,7 @@
APU_CHECK_BERKELEY_DB(3, -1, -1,
"$places",
"db3/db.h db.h",
@@ -20,7 +20,7 @@
)
if test "$apu_have_db" = "1"; then
apu_db_version=3
-@@ -361,8 +361,8 @@
+@@ -377,8 +377,8 @@
fi
APU_CHECK_BERKELEY_DB("4", "0", "-1",
"$places",
@@ -31,7 +31,7 @@
)
if test "$apu_have_db" = "1"; then
apu_db_version=4
-@@ -382,8 +382,8 @@
+@@ -398,8 +398,8 @@
fi
APU_CHECK_BERKELEY_DB("4", "1", "-1",
"$places",
@@ -42,7 +42,7 @@
)
if test "$apu_have_db" = "1"; then
apu_db_version=4
-@@ -403,8 +403,8 @@
+@@ -419,8 +419,8 @@
fi
APU_CHECK_BERKELEY_DB("4", "2", "-1",
"$places",
@@ -53,12 +53,12 @@
)
if test "$apu_have_db" = "1"; then
apu_db_version=4
-@@ -422,8 +422,8 @@
+@@ -438,8 +438,8 @@
fi
APU_CHECK_BERKELEY_DB("4", "3", "-1",
"$places",
- "db43/db.h db4/db.h db.h",
-- "db-4.3 db43 db4 db"
+- "db-4.3 db4-4.3 db43 db4 db"
+ "db43/db.h",
+ "db-4.3"
)
diff --git a/www/apache22/files/patch-srclib:apr-util:xml:expat:buildconf.sh b/www/apache22/files/patch-srclib:apr-util:xml:expat:buildconf.sh
index c4922c1573b9..070c76fa8a7c 100644
--- a/www/apache22/files/patch-srclib:apr-util:xml:expat:buildconf.sh
+++ b/www/apache22/files/patch-srclib:apr-util:xml:expat:buildconf.sh
@@ -1,20 +1,29 @@
---- srclib/apr-util/xml/expat/buildconf.sh.orig Wed Nov 17 02:12:20 2004
-+++ srclib/apr-util/xml/expat/buildconf.sh Sat Dec 11 17:04:11 2004
-@@ -3,7 +3,7 @@
+--- srclib/apr/buildconf.orig Tue Jun 14 14:11:15 2005
++++ srclib/apr/buildconf Sun Oct 30 19:47:52 2005
+@@ -23,7 +23,7 @@
#
- # Find libtoolize
- #
--libtoolize=`conftools/PrintPath glibtoolize libtoolize libtoolize15 libtoolize14`
-+libtoolize=${LIBTOOLIZE}
+ build/buildcheck.sh || exit 1
+
+-libtoolize=`build/PrintPath glibtoolize libtoolize15 libtoolize14 libtoolize`
++libtoolize="${LIBTOOLIZE}"
if [ "x$libtoolize" = "x" ]; then
echo "libtoolize not found in path"
exit 1
-@@ -33,7 +33,7 @@
- ltfile=libtool.m4
- else
- ltpath=`dirname $libtoolize`
-- ltfile=${LIBTOOL_M4-`cd $ltpath/../share/aclocal ; pwd`/libtool.m4}
-+ ltfile=${LIBTOOL_M4-`cd $ltpath/../../share/aclocal ; pwd`/libtool${LIBTOOL_VERSION}.m4}
+@@ -52,7 +52,7 @@
+ # Expecting the code above to be very portable, but just in case...
+ if [ -z "$ltfile" -o ! -f "$ltfile" ]; then
+ ltpath=`dirname $libtoolize`
+- ltfile=`cd $ltpath/../share/aclocal ; pwd`/libtool.m4
++ ltfile=${LIBTOOL_M4-`cd $ltpath/../../share/aclocal ; pwd`/${LIBTOOL_VERSION}.m4}
+ fi
+ fi
+
+@@ -61,7 +61,7 @@
+ exit 1
fi
- echo "Incorporating $ltfile into aclocal.m4 ..."
- echo "dnl THIS FILE IS AUTOMATICALLY GENERATED BY buildconf.sh" > aclocal.m4
+
+-echo "buildconf: Using libtool.m4 at ${ltfile}."
++echo "buildconf: Using libtool${LIBTOOL_VERSION}.m4 at ${ltfile}."
+
+ cat $ltfile | sed -e 's/LIBTOOL=\(.*\)top_build/LIBTOOL=\1apr_build/' > build/libtool.m4
+
diff --git a/www/apache22/files/patch-srclib:apr:buildconf b/www/apache22/files/patch-srclib:apr:buildconf
deleted file mode 100644
index d3483efcc7eb..000000000000
--- a/www/apache22/files/patch-srclib:apr:buildconf
+++ /dev/null
@@ -1,29 +0,0 @@
---- srclib/apr/buildconf.orig Thu Jul 1 23:21:59 2004
-+++ srclib/apr/buildconf Sat Dec 11 17:11:22 2004
-@@ -22,7 +22,7 @@
- #
- build/buildcheck.sh || exit 1
-
--libtoolize=`build/PrintPath glibtoolize libtoolize libtoolize15 libtoolize14`
-+libtoolize=${LIBTOOLIZE}
- if [ "x$libtoolize" = "x" ]; then
- echo "libtoolize not found in path"
- exit 1
-@@ -46,7 +46,7 @@
- ltfile=`pwd`/libtool.m4
- else
- ltpath=`dirname $libtoolize`
-- ltfile=${LIBTOOL_M4-`cd $ltpath/../share/aclocal ; pwd`/libtool.m4}
-+ ltfile=${LIBTOOL_M4-`cd $ltpath/../../share/aclocal ; pwd`/${LIBTOOL_VERSION}.m4}
- fi
-
- if [ ! -f $ltfile ]; then
-@@ -54,7 +54,7 @@
- exit 1
- fi
-
--echo "buildconf: Using libtool.m4 at ${ltfile}."
-+echo "buildconf: Using libtool${LIBTOOL_VERSION}.m4 at ${ltfile}."
-
- cat $ltfile | sed -e 's/LIBTOOL=\(.*\)top_build/LIBTOOL=\1apr_build/' > build/libtool.m4
-