summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsalo <salo>2004-12-01 00:25:56 +0000
committersalo <salo>2004-12-01 00:25:56 +0000
commit0cd652e4df841a94a6724e86c251139d6f24fad3 (patch)
treee693659dfb37eaf0d2e07f6f9e1699a6c7e02e27
parente73391627253c3feb93d570e9f03dba890989e20 (diff)
downloadpkgsrc-0cd652e4df841a94a6724e86c251139d6f24fad3.tar.gz
Pullup ticket 141 - requested by David Brownlee
security fix for apache Module Name: pkgsrc Committed By: tron Date: Mon Oct 25 08:44:16 UTC 2004 Modified Files: pkgsrc/www/apache: Makefile PLIST distinfo Removed Files: pkgsrc/www/apache/patches: patch-ap Log Message: Update "apache" package to version 1.3.32. Changes since version 1.3.31: - mod_rewrite: Fix query string handling for proxied URLs. PR 14518. [michael teitler <michael.teitler cetelem.fr>, Jan Kratochvil <rcpt-dev.AT.httpd.apache.org jankratochvil.net>] - mod_rewrite: Fix 0 bytes write into random memory position. PR 31036. [André Malo] - mod_digest: Fix nonce string calculation since 1.3.31 which would force re-authentication for every connection if AuthDigestRealmSeed was not configured. PR 30920. [Joe Orton] - Trigger an error when a LoadModule directive attempts to load a module which is built-in. This is a common error when switching from a DSO build to a static build. [Jeff Trawick, Geoffrey Young] - Fix trivial bug in mod_log_forensic that caused the child to seg fault when certain invalid requests were fired at it with forensic logging is enabled. PR 29313. [Will Slater <Will Slater orbisuk.com>] - Fix memory leak in the cache handling of mod_rewrite. PR 27862. [chunyan sheng <shengperson yahoo.com>, André Malo] - mod_rewrite no longer confuses the RewriteMap caches if different maps defined in different virtual hosts use the same map name. PR 26462. [André Malo] - mod_setenvif: Remove "support" for Remote_User variable which never worked at all. PR 25725. [André Malo] - mod_usertrack: Escape the cookie name before pasting into the regexp. [André Malo] - Win32: Improve error reporting after a failed attempt to spawn a piped log process or rewrite map process. [Jeff Trawick] - SECURITY: CAN-2004-0492 (cve.mitre.org) Reject responses from a remote server if sent an invalid (negative) Content-Length. [Mark Cox] - Fix a bunch of cases where the return code of the regex compiler was not checked properly. This affects mod_usertrack and core. PR 28218. [André Malo] - No longer breaks mod_dav, frontpage and others. Repair a patch in 1.3.31 which prevented discarding the request body for requests that will be keptalive but are not currently keptalive. PR 29237. [Jim Jagielski, Rasmus Lerdorf] - COMPATIBILITY: Added new compile-time flag: UCN_OFF_HONOR_PHYSICAL_PORT. It controls how UseCanonicalName Off determines the port value if the client doesn't provide one in the Host header. If defined during compilation, UseCanonicalName Off will use the physical port number to generate the canonical name. If not defined, it tries the current Port value followed by the default port for the current scheme. [Jim Jagielski] --- Module Name: pkgsrc Committed By: abs Date: Fri Oct 29 13:48:31 UTC 2004 Modified Files: pkgsrc/www/apache: Makefile distinfo pkgsrc/www/apache/patches: patch-aa patch-ab patch-ac patch-ad patch-ae patch-af patch-ag patch-ah patch-ai patch-aj patch-ak patch-am patch-ao Removed Files: pkgsrc/www/apache/patches: patch-al Log Message: Update apache to 1.3.33 The main security vulnerabilities addressed in 1.3.33 are: * CAN-2004-0940 (cve.mitre.org) Fix potential buffer overflow with escaped characters in SSI tag string. * CAN-2004-0492 (cve.mitre.org) Reject responses from a remote server if sent an invalid (negative) Content-Length. New features * Win32: Improve error reporting after a failed attempt to spawn a piped log process or rewrite map process. * Added new compile-time flag: UCN_OFF_HONOR_PHYSICAL_PORT. It controls how UseCanonicalName Off determines the port value if the client doesn't provide one in the Host header. If defined during compilation, UseCanonicalName Off will use the physical port number to generate the canonical name. If not defined, it tries the current Port value followed by the default port for the current scheme. The following bugs were found in Apache 1.3.31 (or earlier) and have been fixed in Apache 1.3.33: * mod_rewrite: Fix query string handling for proxied URLs. PR 14518. * mod_rewrite: Fix 0 bytes write into random memory position. PR 31036. * mod_digest: Fix nonce string calculation since 1.3.31 which would force re-authentication for every connection if AuthDigestRealmSeed was not configured. PR 30920. * Fix trivial bug in mod_log_forensic that caused the child to seg fault when certain invalid requests were fired at it with forensic logging is enabled. PR 29313. * No longer breaks mod_dav, frontpage and others. Repair a patch in 1.3.31 which prevented discarding the request body for requests that will be keptalive but are not currently keptalive. PR 29237. --- Module Name: pkgsrc Committed By: salo Date: Mon Nov 15 19:13:41 UTC 2004 Modified Files: pkgsrc/www/apache/patches: patch-ai Log Message: Revert rev 1.9, do not expand @INSTALL@, it's done in post-patch. (hi abs!) --- Module Name: pkgsrc Committed By: tron Date: Tue Nov 16 08:23:45 UTC 2004 Modified Files: pkgsrc/www/apache: distinfo Log Message: Regen after "patch-ai" was changed. (hi salo!)
-rw-r--r--www/apache/Makefile9
-rw-r--r--www/apache/PLIST9
-rw-r--r--www/apache/distinfo38
-rw-r--r--www/apache/patches/patch-aa4
-rw-r--r--www/apache/patches/patch-ab6
-rw-r--r--www/apache/patches/patch-ac8
-rw-r--r--www/apache/patches/patch-ad6
-rw-r--r--www/apache/patches/patch-ae27
-rw-r--r--www/apache/patches/patch-af6
-rw-r--r--www/apache/patches/patch-ag6
-rw-r--r--www/apache/patches/patch-ah6
-rw-r--r--www/apache/patches/patch-ai6
-rw-r--r--www/apache/patches/patch-aj8
-rw-r--r--www/apache/patches/patch-ak4
-rw-r--r--www/apache/patches/patch-al19
-rw-r--r--www/apache/patches/patch-am8
-rw-r--r--www/apache/patches/patch-ao8
-rw-r--r--www/apache/patches/patch-ap18
18 files changed, 71 insertions, 125 deletions
diff --git a/www/apache/Makefile b/www/apache/Makefile
index ae3a06b98b3..f74b73c57ab 100644
--- a/www/apache/Makefile
+++ b/www/apache/Makefile
@@ -1,11 +1,10 @@
-# $NetBSD: Makefile,v 1.150.2.1 2004/09/30 13:58:22 agc Exp $
+# $NetBSD: Makefile,v 1.150.2.2 2004/12/01 00:25:56 salo Exp $
#
# This pkg does not compile in mod_ssl, only the `mod_ssl EAPI' (a set of
# code hooks that allow mod_ssl to be compiled separately later, if desired).
-DISTNAME= apache_1.3.31
+DISTNAME= apache_1.3.33
PKGNAME= ${DISTNAME:S/_/-/}
-PKGREVISION= 5
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_APACHE:=httpd/} \
${MASTER_SITE_APACHE:=httpd/old/}
@@ -18,8 +17,8 @@ COMMENT= Apache HTTP (Web) server
NETBSD_LOGO= sitedrivenby.gif
SITES_${NETBSD_LOGO}= http://www.NetBSD.org/images/logos/
-MODSSL_VERSION= 2.8.19
-MODSSL_DISTNAME= mod_ssl-${MODSSL_VERSION}-1.3.31
+MODSSL_VERSION= 2.8.21
+MODSSL_DISTNAME= mod_ssl-${MODSSL_VERSION}-1.3.32
MODSSL_DIST= ${MODSSL_DISTNAME}.tar.gz
MODSSL_SRC= ${WRKDIR}/${MODSSL_DISTNAME}
SITES_${MODSSL_DIST}= http://www.modssl.org/source/ \
diff --git a/www/apache/PLIST b/www/apache/PLIST
index 41d5e5b9404..8fba9bb12b7 100644
--- a/www/apache/PLIST
+++ b/www/apache/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.11 2004/05/13 11:39:09 taca Exp $
+@comment $NetBSD: PLIST,v 1.11.4.1 2004/12/01 00:25:56 salo Exp $
bin/checkgid
bin/dbmmanage
bin/htdigest
@@ -108,10 +108,6 @@ share/httpd/htdocs/manual/bind.html.en
share/httpd/htdocs/manual/bind.html.fr
share/httpd/htdocs/manual/bind.html.html
share/httpd/htdocs/manual/bind.html.ja.jis
-share/httpd/htdocs/manual/cgi_path.html.en
-share/httpd/htdocs/manual/cgi_path.html.fr
-share/httpd/htdocs/manual/cgi_path.html.html
-share/httpd/htdocs/manual/cgi_path.html.ja.jis
share/httpd/htdocs/manual/configuring.html.en
share/httpd/htdocs/manual/configuring.html.fr
share/httpd/htdocs/manual/configuring.html.html
@@ -126,6 +122,7 @@ share/httpd/htdocs/manual/custom-error.html.ja.jis
share/httpd/htdocs/manual/cygwin.html
share/httpd/htdocs/manual/dns-caveats.html.en
share/httpd/htdocs/manual/dns-caveats.html.fr
+share/httpd/htdocs/manual/dns-caveats.html.ja.jis
share/httpd/htdocs/manual/dns-caveats.html.html
share/httpd/htdocs/manual/dso.html
share/httpd/htdocs/manual/ebcdic.html
@@ -169,6 +166,7 @@ share/httpd/htdocs/manual/install.html.html
share/httpd/htdocs/manual/install.html.ja.jis
share/httpd/htdocs/manual/invoking.html.en
share/httpd/htdocs/manual/invoking.html.fr
+share/httpd/htdocs/manual/invoking.html.ja.jis
share/httpd/htdocs/manual/invoking.html.html
share/httpd/htdocs/manual/keepalive.html.en
share/httpd/htdocs/manual/keepalive.html.html
@@ -321,7 +319,6 @@ share/httpd/htdocs/manual/new_features_1_2.html
share/httpd/htdocs/manual/new_features_1_3.html.en
share/httpd/htdocs/manual/new_features_1_3.html.html
share/httpd/htdocs/manual/new_features_1_3.html.ja.jis
-share/httpd/htdocs/manual/new_features_2_0.html
share/httpd/htdocs/manual/process-model.html.en
share/httpd/htdocs/manual/process-model.html.html
share/httpd/htdocs/manual/process-model.html.ja.jis
diff --git a/www/apache/distinfo b/www/apache/distinfo
index f6e1580b6f9..361e3996ad5 100644
--- a/www/apache/distinfo
+++ b/www/apache/distinfo
@@ -1,23 +1,21 @@
-$NetBSD: distinfo,v 1.36.2.1 2004/09/30 13:58:22 agc Exp $
+$NetBSD: distinfo,v 1.36.2.2 2004/12/01 00:25:56 salo Exp $
-SHA1 (apache_1.3.31.tar.gz) = a5d4298e8f99cae220ba65b5ef128d5742c7298d
-Size (apache_1.3.31.tar.gz) = 2467371 bytes
+SHA1 (apache_1.3.33.tar.gz) = 4cd49534d1abd04c81ab215f2457122d85855b0d
+Size (apache_1.3.33.tar.gz) = 2468567 bytes
SHA1 (sitedrivenby.gif) = 7671e9a8ec2cad3961b268befd33c0920e07c658
Size (sitedrivenby.gif) = 8519 bytes
-SHA1 (mod_ssl-2.8.19-1.3.31.tar.gz) = aa6ecb4a87fffc99dad6f78845d4c660c741a9d0
-Size (mod_ssl-2.8.19-1.3.31.tar.gz) = 754277 bytes
-SHA1 (patch-aa) = 3a655678f5e99769f27fca06a8279b14a8e8e8be
-SHA1 (patch-ab) = 71ea1f3a59e0f7bc37175b0eefd462a1f7ca4fb6
-SHA1 (patch-ac) = 12347c7a306d3e898b032c2b4b3b01670b62d4fd
-SHA1 (patch-ad) = 79e9b2adb23e412195f0382b30b56496af735297
-SHA1 (patch-ae) = 037e24a3019025f031172af0102f043ddf2f0556
-SHA1 (patch-af) = 4b4450ceede5c803023eef41c63a2058e7577821
-SHA1 (patch-ag) = f1cc9b833afd87b42aac99431d696f3780762bab
-SHA1 (patch-ah) = 553f8f2bf4bf7278adb46ff8749be154f10e39d3
-SHA1 (patch-ai) = 08a27cd408c409a9f94b9b8579aeec2c40ea86dc
-SHA1 (patch-aj) = 1cdd2f010d381ec9c13f59b31caab7d1f6f63100
-SHA1 (patch-ak) = 8f790a692ed9b2dd6943be43fa1cf7629c673955
-SHA1 (patch-al) = a27b9676998621229dc3a1d920ea44b8e622feb2
-SHA1 (patch-am) = d05f7c30b73c0e90daf17d9d1c4838be7fd73b02
-SHA1 (patch-ao) = 5930f9ea0f5080b260a6e0c66a37c6d1ad0df4d4
-SHA1 (patch-ap) = da8016c534bbed4036837d8e494ea3d5bb4342ea
+SHA1 (mod_ssl-2.8.21-1.3.32.tar.gz) = 6bbf83d716254e157b2c6ba9fd13e6b3bfc43239
+Size (mod_ssl-2.8.21-1.3.32.tar.gz) = 754629 bytes
+SHA1 (patch-aa) = ae280b14dc0102ecfbe3675ca0b5d2b74ee790ca
+SHA1 (patch-ab) = 084d52bb2afbacf18b9d0793293d8ae333c67802
+SHA1 (patch-ac) = b961c90a58a94f48daff417af146df98d5ec428c
+SHA1 (patch-ad) = c02cd1af3c4b5e0d49aaa7f0eff20a8d76a633aa
+SHA1 (patch-ae) = 59318dd3376b10b84c0126d90f4b244a18268791
+SHA1 (patch-af) = 55b27779b63cd86d3aef5b700c13600f0d840554
+SHA1 (patch-ag) = 0c075960215e55525ffee15c381b82775614a2d2
+SHA1 (patch-ah) = 477e32b049f66a326364236f63e96759f2274df6
+SHA1 (patch-ai) = e2e48f48bec8cba85345e31541d4e4ddcc30e799
+SHA1 (patch-aj) = ac7337b51d7d4ca25cef4020961736404ec79f01
+SHA1 (patch-ak) = a3790a19e06aa4aa02977f1f30c09697e46488c7
+SHA1 (patch-am) = d298b35feb177f0efcda1f9f5ebcba562ae46c29
+SHA1 (patch-ao) = 9ec5f32b2e9cf4c423b5d819fc76f652b27c6c29
diff --git a/www/apache/patches/patch-aa b/www/apache/patches/patch-aa
index 8c22c8af907..35d166c43e6 100644
--- a/www/apache/patches/patch-aa
+++ b/www/apache/patches/patch-aa
@@ -1,6 +1,6 @@
-$NetBSD: patch-aa,v 1.23 2004/05/13 21:21:27 abs Exp $
+$NetBSD: patch-aa,v 1.23.4.1 2004/12/01 00:25:56 salo Exp $
---- Makefile.tmpl.orig 2004-05-13 22:18:11.000000000 +0100
+--- Makefile.tmpl.orig 2004-10-29 14:44:35.000000000 +0100
+++ Makefile.tmpl
@@ -56,6 +56,8 @@ INSTALL_DATA = $(INSTALL) $(IFLAGS_DA
PERL = @PERL@
diff --git a/www/apache/patches/patch-ab b/www/apache/patches/patch-ab
index 8e062eafa1b..35b6252f9ac 100644
--- a/www/apache/patches/patch-ab
+++ b/www/apache/patches/patch-ab
@@ -1,8 +1,8 @@
-$NetBSD: patch-ab,v 1.10 2001/04/29 20:42:29 jlam Exp $
+$NetBSD: patch-ab,v 1.10.16.1 2004/12/01 00:25:56 salo Exp $
---- conf/httpd.conf-dist.orig Sun Mar 4 02:42:23 2001
+--- conf/httpd.conf-dist.orig 2004-10-29 14:44:35.000000000 +0100
+++ conf/httpd.conf-dist
-@@ -197,7 +197,12 @@
+@@ -197,7 +197,12 @@ MaxRequestsPerChild 0
# the order below without expert advice.
#
# Example:
diff --git a/www/apache/patches/patch-ac b/www/apache/patches/patch-ac
index 70ec8d23429..60af64356a9 100644
--- a/www/apache/patches/patch-ac
+++ b/www/apache/patches/patch-ac
@@ -1,8 +1,8 @@
-$NetBSD: patch-ac,v 1.7 2001/06/09 06:36:43 jlam Exp $
+$NetBSD: patch-ac,v 1.7.16.1 2004/12/01 00:25:56 salo Exp $
---- htdocs/index.html.en.orig Thu May 3 20:00:38 2001
-+++ htdocs/index.html.en Sat Jun 9 01:44:14 2001
-@@ -27,12 +27,26 @@
+--- htdocs/index.html.en.orig 2001-05-04 01:00:38.000000000 +0100
++++ htdocs/index.html.en
+@@ -27,12 +27,26 @@ issues.</p>
<hr width="50%" size="8" />
<p>The Apache <a href="manual/">documentation</a> has been included
diff --git a/www/apache/patches/patch-ad b/www/apache/patches/patch-ad
index d589b0b653c..47b864204f6 100644
--- a/www/apache/patches/patch-ad
+++ b/www/apache/patches/patch-ad
@@ -1,8 +1,8 @@
-$NetBSD: patch-ad,v 1.5 2000/09/12 14:17:32 jlam Exp $
+$NetBSD: patch-ad,v 1.5.16.1 2004/12/01 00:25:56 salo Exp $
---- src/ap/ap_hook.c.orig Thu Sep 7 01:19:46 2000
+--- src/ap/ap_hook.c.orig 2004-10-29 14:44:35.000000000 +0100
+++ src/ap/ap_hook.c
-@@ -740,6 +740,15 @@
+@@ -740,6 +740,15 @@ static int ap_hook_call_func(va_list ap,
*((int *)v_rc) = ((int(*)(void *, void *, void *, int, void *))(hf->hf_ptr))(v1, v2, v3, v4, v5);
rc = (*((int *)v_rc) != he->he_modeval.v_int);
}
diff --git a/www/apache/patches/patch-ae b/www/apache/patches/patch-ae
index d5af8755560..d7760c053c5 100644
--- a/www/apache/patches/patch-ae
+++ b/www/apache/patches/patch-ae
@@ -1,30 +1,19 @@
-$NetBSD: patch-ae,v 1.6 2001/10/17 19:17:00 jlam Exp $
+$NetBSD: patch-ae,v 1.6.16.1 2004/12/01 00:25:56 salo Exp $
---- src/modules/standard/mod_include.c.orig Thu Sep 20 23:51:54 2001
+--- src/modules/standard/mod_include.c.orig 2004-10-25 16:44:04.000000000 +0100
+++ src/modules/standard/mod_include.c
-@@ -93,7 +93,11 @@
+@@ -50,7 +50,10 @@
#include "http_log.h"
#include "http_main.h"
#include "util_script.h"
+#include "ap_include_extern.h"
+#include "ap_hook.h"
#endif
-+#define get_tag ap_include_get_tag
+#define parse_string ap_include_parse_string
#define STARTING_SEQUENCE "<!--#"
#define ENDING_SEQUENCE "-->"
-@@ -352,7 +356,8 @@
- * the tag value is html decoded if dodecode is non-zero
- */
-
--static char *get_tag(pool *p, FILE *in, char *tag, int tagbuf_len, int dodecode)
-+API_EXPORT(char *)
-+ap_include_get_tag(pool *p, FILE *in, char *tag, int tagbuf_len, int dodecode)
- {
- char *t = tag, *tag_val, c, term;
-
-@@ -471,7 +476,8 @@
+@@ -447,7 +450,8 @@ static int get_directive(FILE *in, char
/*
* Do variable substitution on strings
*/
@@ -34,7 +23,7 @@ $NetBSD: patch-ae,v 1.6 2001/10/17 19:17:00 jlam Exp $
size_t length, int leave_name)
{
char ch;
-@@ -669,7 +675,8 @@
+@@ -645,7 +649,8 @@ static int handle_include(FILE *in, requ
parse_string(r, tag_val, parsed_string, sizeof(parsed_string), 0);
if (tag[0] == 'f') {
/* be safe; only files in this directory or below allowed */
@@ -44,7 +33,7 @@ $NetBSD: patch-ae,v 1.6 2001/10/17 19:17:00 jlam Exp $
error_fmt = "unable to include file \"%s\" "
"in parsed file %s";
}
-@@ -1081,7 +1088,8 @@
+@@ -1057,7 +1062,8 @@ static int find_file(request_rec *r, con
"in parsed file %s";
}
else {
@@ -54,7 +43,7 @@ $NetBSD: patch-ae,v 1.6 2001/10/17 19:17:00 jlam Exp $
rr = ap_sub_req_lookup_file(tag_val, r);
if (rr->status == HTTP_OK && rr->finfo.st_mode != 0) {
-@@ -2162,6 +2170,16 @@
+@@ -2140,6 +2146,16 @@ static int handle_printenv(FILE *in, req
}
}
@@ -71,7 +60,7 @@ $NetBSD: patch-ae,v 1.6 2001/10/17 19:17:00 jlam Exp $
/* -------------------------- The main function --------------------------- */
-@@ -2300,6 +2318,13 @@
+@@ -2275,6 +2291,13 @@ static void send_parsed_content(FILE *f,
}
#endif
else {
diff --git a/www/apache/patches/patch-af b/www/apache/patches/patch-af
index ba7ddfcf3fa..7bdcdcf2ef9 100644
--- a/www/apache/patches/patch-af
+++ b/www/apache/patches/patch-af
@@ -1,8 +1,8 @@
-$NetBSD: patch-af,v 1.9 2002/02/01 16:04:39 jlam Exp $
+$NetBSD: patch-af,v 1.9.16.1 2004/12/01 00:25:56 salo Exp $
---- src/modules/standard/mod_so.c.orig Fri Feb 1 10:05:43 2002
+--- src/modules/standard/mod_so.c.orig 2004-10-29 14:44:35.000000000 +0100
+++ src/modules/standard/mod_so.c
-@@ -324,7 +324,15 @@
+@@ -321,7 +321,15 @@ static const char *load_file(cmd_parms *
return err;
}
diff --git a/www/apache/patches/patch-ag b/www/apache/patches/patch-ag
index b8683610031..09dd17a9d7c 100644
--- a/www/apache/patches/patch-ag
+++ b/www/apache/patches/patch-ag
@@ -1,8 +1,8 @@
-$NetBSD: patch-ag,v 1.7 2002/02/01 16:04:39 jlam Exp $
+$NetBSD: patch-ag,v 1.7.16.1 2004/12/01 00:25:56 salo Exp $
---- src/os/unix/os.c.orig Mon Nov 12 12:36:38 2001
+--- src/os/unix/os.c.orig 2004-02-20 21:01:04.000000000 +0000
+++ src/os/unix/os.c
-@@ -132,7 +132,12 @@
+@@ -153,7 +153,12 @@ void ap_os_dso_unload(void *handle)
#elif defined(HAVE_DYLD)
NSUnLinkModule(handle,FALSE);
diff --git a/www/apache/patches/patch-ah b/www/apache/patches/patch-ah
index 9e86aa92e6d..ec83e05353a 100644
--- a/www/apache/patches/patch-ah
+++ b/www/apache/patches/patch-ah
@@ -1,8 +1,8 @@
-$NetBSD: patch-ah,v 1.3 2000/09/12 14:17:33 jlam Exp $
+$NetBSD: patch-ah,v 1.3.16.1 2004/12/01 00:25:56 salo Exp $
---- src/support/apachectl.orig Thu Sep 7 01:19:50 2000
+--- src/support/apachectl.orig 2004-10-29 14:44:35.000000000 +0100
+++ src/support/apachectl
-@@ -27,6 +27,9 @@
+@@ -42,6 +42,9 @@ PIDFILE=/usr/local/apache/logs/httpd.pid
# the path to your httpd binary, including options if necessary
HTTPD='/usr/local/apache/src/httpd'
#
diff --git a/www/apache/patches/patch-ai b/www/apache/patches/patch-ai
index 8ada8fdb436..6aa0eedaac0 100644
--- a/www/apache/patches/patch-ai
+++ b/www/apache/patches/patch-ai
@@ -1,8 +1,8 @@
-$NetBSD: patch-ai,v 1.8 2002/04/02 14:13:03 jlam Exp $
+$NetBSD: patch-ai,v 1.8.16.1 2004/12/01 00:25:56 salo Exp $
---- src/support/apxs.pl.orig Tue Apr 2 02:15:23 2002
+--- src/support/apxs.pl.orig 2004-10-29 14:44:35.000000000 +0100
+++ src/support/apxs.pl
-@@ -460,8 +460,7 @@
+@@ -423,8 +423,7 @@ if ($opt_i or $opt_e) {
if ($^O ne "MSWin32") {
$t =~ s|^.+/([^/]+)$|$1|;
if ($opt_i) {
diff --git a/www/apache/patches/patch-aj b/www/apache/patches/patch-aj
index 5d9c5725ad0..b4199beb44b 100644
--- a/www/apache/patches/patch-aj
+++ b/www/apache/patches/patch-aj
@@ -1,8 +1,8 @@
-$NetBSD: patch-aj,v 1.7 2001/10/17 19:17:00 jlam Exp $
+$NetBSD: patch-aj,v 1.7.16.1 2004/12/01 00:25:56 salo Exp $
---- htdocs/index.html.fr.orig Wed Jun 27 08:38:39 2001
-+++ htdocs/index.html.fr Tue Oct 16 22:29:50 2001
-@@ -36,12 +36,28 @@
+--- htdocs/index.html.fr.orig 2001-06-27 09:38:39.000000000 +0100
++++ htdocs/index.html.fr
+@@ -36,12 +36,28 @@ site et ne peut intervenir sur sa config
<hr width="50%" size="8">
<p>La <a href="manual/">documentation</a> Apache est incluse dans cette
diff --git a/www/apache/patches/patch-ak b/www/apache/patches/patch-ak
index cb2ab5a2f00..bf2cdce5d38 100644
--- a/www/apache/patches/patch-ak
+++ b/www/apache/patches/patch-ak
@@ -1,6 +1,6 @@
-$NetBSD: patch-ak,v 1.5 2001/10/16 04:11:06 jlam Exp $
+$NetBSD: patch-ak,v 1.5.16.1 2004/12/01 00:25:56 salo Exp $
---- src/Makefile.tmpl.orig Sun Oct 14 22:14:29 2001
+--- src/Makefile.tmpl.orig 2004-10-29 14:44:35.000000000 +0100
+++ src/Makefile.tmpl
@@ -2,7 +2,7 @@
CFLAGS=$(OPTIM) $(CFLAGS1) $(EXTRA_CFLAGS)
diff --git a/www/apache/patches/patch-al b/www/apache/patches/patch-al
deleted file mode 100644
index bae9c607d66..00000000000
--- a/www/apache/patches/patch-al
+++ /dev/null
@@ -1,19 +0,0 @@
-$NetBSD: patch-al,v 1.4 2002/02/28 05:45:33 jlam Exp $
-
---- htdocs/manual/mod/index.html.en.orig Thu Feb 28 00:09:28 2002
-+++ htdocs/manual/mod/index.html.en
-@@ -219,12 +219,12 @@
- <dt><a href="mod_speling.html">mod_speling</a> Apache 1.3 and
- up</dt>
-
-+ <dd>Automatically correct minor typos in URLs</dd>
-+
- <dt><a href="mod_ssl/index.html">mod_ssl</a> Apache 1.3 with mod_ssl
- applied</dt>
-
- <dd>Apache SSL interface to OpenSSL</dd>
--
-- <dd>Automatically correct minor typos in URLs</dd>
-
- <dt><a href="mod_status.html">mod_status</a> Apache 1.1 and
- up</dt>
diff --git a/www/apache/patches/patch-am b/www/apache/patches/patch-am
index e8f887eb470..d2a3ab7cb3a 100644
--- a/www/apache/patches/patch-am
+++ b/www/apache/patches/patch-am
@@ -1,8 +1,8 @@
-$NetBSD: patch-am,v 1.6 2002/03/28 17:17:08 thorpej Exp $
+$NetBSD: patch-am,v 1.6.16.1 2004/12/01 00:25:56 salo Exp $
---- src/include/ap_config.h.orig Thu Mar 28 08:43:24 2002
-+++ src/include/ap_config.h Thu Mar 28 09:01:18 2002
-@@ -1359,7 +1359,7 @@
+--- src/include/ap_config.h.orig 2004-09-16 00:45:17.000000000 +0100
++++ src/include/ap_config.h
+@@ -1304,7 +1304,7 @@ extern int ap_execve(const char *filenam
* so we don't have to. Sigh...
*/
diff --git a/www/apache/patches/patch-ao b/www/apache/patches/patch-ao
index 40a221d0ad9..4b54f32e495 100644
--- a/www/apache/patches/patch-ao
+++ b/www/apache/patches/patch-ao
@@ -1,8 +1,8 @@
-$NetBSD: patch-ao,v 1.2 2002/08/25 18:40:19 jlam Exp $
+$NetBSD: patch-ao,v 1.2.10.1 2004/12/01 00:25:56 salo Exp $
---- configure.orig Thu Jun 20 20:56:07 2002
+--- configure.orig 2004-10-29 14:44:35.000000000 +0100
+++ configure
-@@ -227,6 +227,8 @@
+@@ -185,6 +185,8 @@ if [ ! -f "$SHELL" ]; then
fi
fi
@@ -11,7 +11,7 @@ $NetBSD: patch-ao,v 1.2 2002/08/25 18:40:19 jlam Exp $
##
## determine default parameters
##
-@@ -1300,6 +1302,8 @@
+@@ -1258,6 +1260,8 @@ sed <Makefile.tmpl >$mkf \
-e "s%@PLATFORM@%$PLATFORM%g" \
-e "s%@PERL@%$PERL%g" \
-e "s%@TAR@%$TAR%g" \
diff --git a/www/apache/patches/patch-ap b/www/apache/patches/patch-ap
deleted file mode 100644
index d5473184712..00000000000
--- a/www/apache/patches/patch-ap
+++ /dev/null
@@ -1,18 +0,0 @@
-$NetBSD: patch-ap,v 1.4.4.1 2004/09/30 13:58:22 agc Exp $
-
---- src/modules/proxy/proxy_http.c.orig 29 Mar 2004 17:47:15 -0000 1.106
-+++ src/modules/proxy/proxy_http.c 11 Jun 2004 07:54:38 -0000 1.107
-@@ -485,6 +485,13 @@
- content_length = ap_table_get(resp_hdrs, "Content-Length");
- if (content_length != NULL) {
- c->len = ap_strtol(content_length, NULL, 10);
-+
-+ if (c->len < 0) {
-+ ap_kill_timeout(r);
-+ return ap_proxyerror(r, HTTP_BAD_GATEWAY, ap_pstrcat(r->pool,
-+ "Invalid Content-Length from remote server",
-+ NULL));
-+ }
- }
-
- }