head 1.10; access; symbols pkgsrc-2014Q1:1.9.0.54 pkgsrc-2014Q1-base:1.9 pkgsrc-2013Q4:1.9.0.52 pkgsrc-2013Q4-base:1.9 pkgsrc-2013Q3:1.9.0.50 pkgsrc-2013Q3-base:1.9 pkgsrc-2013Q2:1.9.0.48 pkgsrc-2013Q2-base:1.9 pkgsrc-2013Q1:1.9.0.46 pkgsrc-2013Q1-base:1.9 pkgsrc-2012Q4:1.9.0.44 pkgsrc-2012Q4-base:1.9 pkgsrc-2012Q3:1.9.0.42 pkgsrc-2012Q3-base:1.9 pkgsrc-2012Q2:1.9.0.40 pkgsrc-2012Q2-base:1.9 pkgsrc-2012Q1:1.9.0.38 pkgsrc-2012Q1-base:1.9 pkgsrc-2011Q4:1.9.0.36 pkgsrc-2011Q4-base:1.9 pkgsrc-2011Q3:1.9.0.34 pkgsrc-2011Q3-base:1.9 pkgsrc-2011Q2:1.9.0.32 pkgsrc-2011Q2-base:1.9 pkgsrc-2011Q1:1.9.0.30 pkgsrc-2011Q1-base:1.9 pkgsrc-2010Q4:1.9.0.28 pkgsrc-2010Q4-base:1.9 pkgsrc-2010Q3:1.9.0.26 pkgsrc-2010Q3-base:1.9 pkgsrc-2010Q2:1.9.0.24 pkgsrc-2010Q2-base:1.9 pkgsrc-2010Q1:1.9.0.22 pkgsrc-2010Q1-base:1.9 pkgsrc-2009Q4:1.9.0.20 pkgsrc-2009Q4-base:1.9 pkgsrc-2009Q3:1.9.0.18 pkgsrc-2009Q3-base:1.9 pkgsrc-2009Q2:1.9.0.16 pkgsrc-2009Q2-base:1.9 pkgsrc-2009Q1:1.9.0.14 pkgsrc-2009Q1-base:1.9 pkgsrc-2008Q4:1.9.0.12 pkgsrc-2008Q4-base:1.9 pkgsrc-2008Q3:1.9.0.10 pkgsrc-2008Q3-base:1.9 cube-native-xorg:1.9.0.8 cube-native-xorg-base:1.9 pkgsrc-2008Q2:1.9.0.6 pkgsrc-2008Q2-base:1.9 cwrapper:1.9.0.4 pkgsrc-2008Q1:1.9.0.2 pkgsrc-2008Q1-base:1.9 pkgsrc-2007Q4:1.8.0.26 pkgsrc-2007Q4-base:1.8 pkgsrc-2007Q3:1.8.0.24 pkgsrc-2007Q3-base:1.8 pkgsrc-2007Q2:1.8.0.22 pkgsrc-2007Q2-base:1.8 pkgsrc-2007Q1:1.8.0.20 pkgsrc-2007Q1-base:1.8 pkgsrc-2006Q4:1.8.0.18 pkgsrc-2006Q4-base:1.8 pkgsrc-2006Q3:1.8.0.16 pkgsrc-2006Q3-base:1.8 pkgsrc-2006Q2:1.8.0.14 pkgsrc-2006Q2-base:1.8 pkgsrc-2006Q1:1.8.0.12 pkgsrc-2006Q1-base:1.8 pkgsrc-2005Q4:1.8.0.10 pkgsrc-2005Q4-base:1.8 pkgsrc-2005Q3:1.8.0.8 pkgsrc-2005Q3-base:1.8 pkgsrc-2005Q2:1.8.0.6 pkgsrc-2005Q2-base:1.8 pkgsrc-2005Q1:1.8.0.4 pkgsrc-2005Q1-base:1.8 pkgsrc-2004Q4:1.8.0.2 pkgsrc-2004Q4-base:1.8 pkgsrc-2004Q3:1.7.0.16 pkgsrc-2004Q3-base:1.7 pkgsrc-2004Q2:1.7.0.14 pkgsrc-2004Q2-base:1.7 pkgsrc-2004Q1:1.7.0.12 pkgsrc-2004Q1-base:1.7 pkgsrc-2003Q4:1.7.0.10 pkgsrc-2003Q4-base:1.7 netbsd-1-6-1:1.7.0.6 netbsd-1-6-1-base:1.7 netbsd-1-6:1.7.0.8 netbsd-1-6-RELEASE-base:1.7 pkgviews:1.7.0.4 pkgviews-base:1.7 buildlink2:1.7.0.2 buildlink2-base:1.7 netbsd-1-5-PATCH003:1.7 netbsd-1-5-PATCH001:1.6 netbsd-1-5-RELEASE:1.4 netbsd-1-4-PATCH003:1.4 comdex-fall-1999:1.2 netbsd-1-4-PATCH001:1.2 netbsd-1-4-RELEASE:1.2; locks; strict; comment @# @; 1.10 date 2014.06.10.15.22.18; author joerg; state dead; branches; next 1.9; commitid djgMkPoOrhNxnZDx; 1.9 date 2008.02.23.05.16.34; author obache; state Exp; branches; next 1.8; 1.8 date 2004.10.29.13.48.31; author abs; state Exp; branches; next 1.7; 1.7 date 2002.02.01.16.04.39; author jlam; state Exp; branches 1.7.16.1; next 1.6; 1.6 date 2001.02.27.20.04.23; author jdolecek; state Exp; branches; next 1.5; 1.5 date 2001.02.02.16.39.58; author jlam; state dead; branches; next 1.4; 1.4 date 2000.09.12.14.17.32; author jlam; state Exp; branches; next 1.3; 1.3 date 99.11.21.22.09.28; author tron; state dead; branches; next 1.2; 1.2 date 99.04.30.17.05.20; author tv; state Exp; branches; next 1.1; 1.1 date 98.12.03.17.23.53; author tv; state Exp; branches; next ; 1.7.16.1 date 2004.12.01.00.25.56; author salo; state Exp; branches; next ; desc @@ 1.10 log @Retire Apache 1.3 and 2.0. @ text @$NetBSD: patch-ag,v 1.9 2008/02/23 05:16:34 obache Exp $ --- src/os/unix/os.c.orig 2006-07-12 08:16:05.000000000 +0000 +++ src/os/unix/os.c @@@@ -154,7 +154,12 @@@@ void ap_os_dso_unload(void *handle) #elif defined(HAVE_DYLD) NSUnLinkModule(handle,FALSE); -#else +/* + * Work around Apache dlclose() bug, where shared objects may be + * dlclose()d before their cleanup procedures are called. + * This is needed so shared modules can be used. + */ +#elif 0 dlclose(handle); #endif @ 1.9 log @Update apache to 1.3.41. Changes with Apache 1.3.41 *) SECURITY: CVE-2007-6388 (cve.mitre.org) mod_status: Ensure refresh parameter is numeric to prevent a possible XSS attack caused by redirecting to other URLs. Reported by SecurityReason. [Mark Cox] Changes with Apache 1.3.40 (not released) *) SECURITY: CVE-2007-5000 (cve.mitre.org) mod_imap: Fix cross-site scripting issue. Reported by JPCERT. [Joe Orton] *) SECURITY: CVE-2007-3847 (cve.mitre.org) mod_proxy: Prevent reading past the end of a buffer when parsing date-related headers. PR 41144. With Apache 1.3, the denial of service vulnerability applies only to the Windows and NetWare platforms. [Jeff Trawick] *) More efficient implementation of the CVE-2007-3304 PID table patch. This fixes issues with excessive memory usage by the parent process if long-running and with a high number of child process forks during that timeframe. Also fixes bogus "Bad pid" errors. [Jim Jagielski, Jeff Trawick] Changes with Apache 1.3.39 *) SECURITY: CVE-2006-5752 (cve.mitre.org) mod_status: Fix a possible XSS attack against a site with a public server-status page and ExtendedStatus enabled, for browsers which perform charset "detection". Reported by Stefan Esser. [Joe Orton] *) SECURITY: CVE-2007-3304 (cve.mitre.org) Ensure that the parent process cannot be forced to kill non-child processes by checking scoreboard PID data with parent process privately stored PID data. [Jim Jagielski] *) mime.types: Many updates to sync with IANA registry and common unregistered types that the owners refuse to register. Admins are encouraged to update their installed mime.types file. pr: 35550, 37798, 39317, 31483 [Roy T. Fielding] There was no Apache 1.3.38 @ text @d1 1 a1 1 $NetBSD: patch-ag,v 1.8 2004/10/29 13:48:31 abs Exp $ @ 1.8 log @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. @ text @d1 1 a1 1 $NetBSD: patch-ag,v 1.7 2002/02/01 16:04:39 jlam Exp $ d3 1 a3 1 --- src/os/unix/os.c.orig 2004-02-20 21:01:04.000000000 +0000 d5 1 a5 1 @@@@ -153,7 +153,12 @@@@ void ap_os_dso_unload(void *handle) @ 1.7 log @Update apache to 1.3.23 with the EAPI patch from mod_ssl-2.8.6-1.3.23. The main new features in 1.3.23 (compared to 1.3.22) are: * HTTP/1.1 support for mod_proxy. * Other mod_proxy improvements. * The new 'FileETag' directive to allow one to build the format of the ETag via runtime directives. * Addition of a 'filter callback' function to enable modules to intercept the output byte stream for dynamic page caching. The following bugs were found in Apache 1.3.22 and have been fixed in Apache 1.3.23: * Fix incorrect "Content-Length" header in the 416 response. * Revert mod_negotation's handling of path_info and query_args to the 1.3.20 behavior (PRs: 8628, 8582, 8538). * Prevent an Apache module from being loaded or added twice due to duplicate LoadModule or AddModule directives. @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 --- src/os/unix/os.c.orig Mon Nov 12 12:36:38 2001 d5 1 a5 1 @@@@ -132,7 +132,12 @@@@ @ 1.7.16.1 log @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 , Jan Kratochvil ] - 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 ] - Fix memory leak in the cache handling of mod_rewrite. PR 27862. [chunyan sheng , 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!) @ text @d1 1 a1 1 $NetBSD: patch-ag,v 1.8 2004/10/29 13:48:31 abs Exp $ d3 1 a3 1 --- src/os/unix/os.c.orig 2004-02-20 21:01:04.000000000 +0000 d5 1 a5 1 @@@@ -153,7 +153,12 @@@@ void ap_os_dso_unload(void *handle) @ 1.6 log @Put back the patch to avoid dlclose(). Without the patch, it's not possible to use LoadModule at all (httpd crashes soon after it forks). This is most probably an Apache problem. Until the real problem is tracked down, put this in as workaround. This addresses lib/12164 and bin/12283. @ text @d1 1 a1 1 $NetBSD: patch-ag,v 1.4 2000/09/12 14:17:32 jlam Exp $ d3 1 a3 1 --- src/os/unix/os.c.orig Sat Jan 15 11:01:09 2000 d5 1 a5 1 @@@@ -129,7 +129,12 @@@@ @ 1.5 log @Update apache to 1.3.17. Important changes from version 1.3.14 include: -) Remove patch to avoid dlclose()ing on NetBSD. The mod_perl vs. perl CGI mis-interaction seems to be gone and I wasn't able to reproduce it on my system. *) Fix the declaration of the module structure in mod_example. *) Fix the handling of variable expansion look-ahead in mod_rewrite, i.e. syntax like %{LA-U:REMOTE_USER}, and also fix the parsing of more complicated nested RewriteMap lookups. *) mod_status now respects ?refresh=n of 1 or greater. If the given refresh value is not a number, ?refresh is set to 1 second. *) Accomodate an out-of-space condition in the piped logs and the rotatelogs.c code, and no longer churn log processes for this condition. *) Make cgi-bin work as a regular directory when using mod_vhost_alias with no VirtualScriptAlias directives. *) Move the check of the Expect request header field after the hook for ap_post_read_request, since that is the only opportunity for modules to handle Expect extensions. *) Eliminate caching problems of mod_autoindex results, so the last modified date of the directory is returned as the Last-Modified and ETag HTTP header tags are sent if IndexOptions TrackModified directive/option is used. *) Correct an issue with Alias and ScriptAlias directives that file path arguments were not normalized in canonical form. This correction makes no attempt to normalize regular expression forms of Alias or ScriptAlias. *) Add a new LogFormat directive, %c, that will log connection status at the end of the response. *) Update the mime.types file to the registered media types as of 2000-10-19. *) Restore functionality broken by the mod_rewrite security fix: rewrite map lookup keys and default values are now expanded so that the lookup can depend on the requested URI etc. @ text @d13 1 a13 1 + * Fixes mod_perl vs. CGI interaction bug. @ 1.4 log @Update build to work with mod_ssl-2.6.6-1.3.12 to keep in sync with ap-ssl. EAPI didn't change so no need to change Apache's version number. Also standardize package builds to have Apache listen on ports 80/443 regardless of UID of user that builds the package, and make MAINTAINER point to me. @ text @d1 1 a1 1 $NetBSD$ @ 1.3 log @Update Apache package to version 1.3.9 (SSL Module 2.4.8) using patches suppled by SUNAGAWA Keiki in PR pkg/8819. This version mostly fixes bugs discovered since version 1.3.6. @ text @d1 1 a1 1 $NetBSD: patch-ag,v 1.2 1999/04/30 17:05:20 tv Exp $ d3 16 a18 27 --- src/Configure.orig Mon Apr 26 14:34:33 1999 +++ src/Configure Mon Apr 26 15:10:13 1999 @@@@ -974,16 +974,15 @@@@ LDFLAGS_SHLIB_EXPORT="" SHLIB_SUFFIX_DEPTH=2 ;; - alpha-*-netbsd*|mips-*-netbsd*|powerpc-*-netbsd*) - CFLAGS_SHLIB="-fpic -DPIC" - LDFLAGS_SHLIB="-shared" - LDFLAGS_SHLIB_EXPORT="" - SHLIB_SUFFIX_DEPTH=2 - ;; *-netbsd*) - CFLAGS_SHLIB="-fpic -DPIC" - LDFLAGS_SHLIB="-Bshareable" - LDFLAGS_SHLIB_EXPORT="" + CFLAGS_SHLIB="-fPIC -DPIC" + if echo __ELF__ | ${CC} -E - | grep -q __ELF__; then + LDFLAGS_SHLIB="-Bshareable" + LDFLAGS_SHLIB_EXPORT="" + else + LDFLAGS_SHLIB="-shared" + LDFLAGS_SHLIB_EXPORT="-Wl,-E" + fi SHLIB_SUFFIX_DEPTH=2 ;; *-bsdi) @ 1.2 log @Update Apache to 1.3.6, mod_ssl to 2.2.8, and mod_perl to 1.19. mod_ssl now makes use of OpenSSL. @ text @d1 1 a1 1 $NetBSD$ @ 1.1 log @Update Apache and mod_ssl using new build layout (see post to tech-pkg for details). No security fixes in Apache 1.3.3, so immediate upgrade from 1.3.2 is not necessary. @ text @d3 27 a29 25 --- src/Configure.orig Wed Oct 7 05:19:30 1998 +++ src/Configure Wed Dec 2 11:49:22 1998 @@@@ -913,16 +914,15 @@@@ LDFLAGS_SHLIB_EXPORT="" SHLIB_SUFFIX_DEPTH=2 ;; - alpha-*-netbsd*|mips-*-netbsd*|powerpc-*-netbsd*) - CFLAGS_SHLIB="-fpic -DPIC" - LDFLAGS_SHLIB="-shared" - LDFLAGS_SHLIB_EXPORT="" - SHLIB_SUFFIX_DEPTH=2 - ;; *-netbsd*) - CFLAGS_SHLIB="-fpic -DPIC" + CFLAGS_SHLIB="-fPIC -DPIC" +if echo __ELF__ | ${CC} -E - | grep -q __ELF__; then LDFLAGS_SHLIB="-Bshareable" LDFLAGS_SHLIB_EXPORT="" +else + LDFLAGS_SHLIB="-shared" + LDFLAGS_SHLIB_EXPORT="-Wl,-E" +fi SHLIB_SUFFIX_DEPTH=2 ;; *-apple-rhapsody*) @