Commit graph

97 commits

Author SHA1 Message Date
tron
244a8ee4bd Update "apache" package to version 2.2.22. Changes since 2.2.21:
- SECURITY: CVE-2011-3368 (cve.mitre.org)
  Reject requests where the request-URI does not match the HTTP
  specification, preventing unexpected expansion of target URLs in
  some reverse proxy configurations.  [Joe Orton]
- SECURITY: CVE-2011-3607 (cve.mitre.org)
  Fix integer overflow in ap_pregsub() which, when the mod_setenvif module
  is enabled, could allow local users to gain privileges via a .htaccess
  file. [Stefan Fritsch, Greg Ames]
- SECURITY: CVE-2011-4317 (cve.mitre.org)
  Resolve additional cases of URL rewriting with ProxyPassMatch or
  RewriteRule, where particular request-URIs could result in undesired
  backend network exposure in some configurations.
  [Joe Orton]
- SECURITY: CVE-2012-0021 (cve.mitre.org)
  mod_log_config: Fix segfault (crash) when the '%{cookiename}C' log format
  string is in use and a client sends a nameless, valueless cookie, causing
  a denial of service. The issue existed since version 2.2.17. Bug#52256.
  [Rainer Canavan <rainer-apache 7val com>]
- SECURITY: CVE-2012-0031 (cve.mitre.org)
  Fix scoreboard issue which could allow an unprivileged child process
  could cause the parent to crash at shutdown rather than terminate
  cleanly.  [Joe Orton]
- SECURITY: CVE-2012-0053 (cve.mitre.org)
  Fix an issue in error responses that could expose "httpOnly" cookies
  when no custom ErrorDocument is specified for status code 400.
  [Eric Covener]
- mod_proxy_ajp: Try to prevent a single long request from marking a worker
  in error. [Jean-Frederic Clere]
- config: Update the default mod_ssl configuration: Disable SSLv2, only
  allow >= 128bit ciphers, add commented example for speed optimized cipher
  list, limit MSIE workaround to MSIE <= 5. [Kaspar Brand]
- core: Fix segfault in ap_send_interim_response(). Bug#52315.
  [Stefan Fritsch]
- mod_log_config: Prevent segfault. Bug#50861. [Torsten Foertsch
  <torsten.foertsch gmx.net>]
- mod_win32: Invert logic for env var UTF-8 fixing.
  Now we exclude a list of vars which we know for sure they dont hold UTF-8
  chars; all other vars will be fixed. This has the benefit that now also
  all vars from 3rd-party modules will be fixed. Bug#13029 / 34985.
  [Guenter Knauf]
- core: Fix hook sorting for Perl modules, a regression introduced in
  2.2.21. Bug#45076. [Torsten Foertsch <torsten foertsch gmx net>]
- Fix a regression introduced by the CVE-2011-3192 byterange fix in 2.2.20:
  A range of '0-' will now return 206 instead of 200. Bug#51878.
  [Jim Jagielski]
- Example configuration: Fix entry for MaxRanges (use "unlimited" instead
  of "0").  [Rainer Jung]
- mod_substitute: Fix buffer overrun.  [Ruediger Pluem, Rainer Jung]

Please note that all the security fixes had been integrated into
"pkgsrc" as patches previously.
2012-02-01 19:53:21 +00:00
tron
1ab5b778df Add patch for security vulnerabilities reported in CVE-2012-0021
and CVE-2012-0053 taken from Apache SVN repository.
2012-01-29 12:29:07 +00:00
spz
47cc1da996 add patch for CVE-2012-0031 taken from Revision 1231058 of http://svn.apache.org/
update patch for http://secunia.com/advisories/45793/
2012-01-17 20:48:28 +00:00
spz
601deba762 add revision 1209432 from http://svn.apache.org/ as patches:
fix for CVE-2011-4317
2011-12-13 15:37:56 +00:00
tron
dbb45bcd98 Remove duplicate error check from security patch. No revision bump as
there is no functional change.

Problem pointed out by S.P. Zeidler.
2011-12-12 18:43:14 +00:00
tron
04135dd016 Add improved fix for proxy vulnerability reported in CVE-2011-3368.
This should also fix CVE-2011-3639 and possibly CVE-2011-4317, both
part of SA46987.
2011-12-07 22:58:12 +00:00
sbd
d37ca59b51 Recursive bump for devel/apr buildlink addition. 2011-12-02 07:13:48 +00:00
spz
cd86337558 fix for http://secunia.com/advisories/45793/
snarfed (with adjustment regarding location) from
http://svn.apache.org/viewvc/httpd/httpd/trunk/server/util.c?r1=1198940&r2=1198939&pathrev=1198940
2011-11-11 07:58:03 +00:00
taca
98fc3219f1 Add patch for CVE-2011-3368 from Apache's repository.
Bump PKGREVISION.
2011-10-10 10:13:42 +00:00
hans
e01a6370c1 Use chown -h to explicitly not dereference any symlinks. Fixes build on SunOS. 2011-09-14 17:51:51 +00:00
taca
ee9e2f0609 Update apahce22 package to 2.2.21.
Quote from release announce:

   The Apache Software Foundation and the Apache HTTP Server Project are
   pleased to announce the release of version 2.2.21 of the Apache HTTP
   Server ("Apache").  This version of Apache is principally a security
   and bug fix release:

     * SECURITY: CVE-2011-3348 (cve.mitre.org)
       mod_proxy_ajp when combined with mod_proxy_balancer: Prevents
       unrecognized HTTP methods from marking ajp: balancer members
       in an error state, avoiding denial of service.

     * SECURITY: CVE-2011-3192 (cve.mitre.org)
       core: Further fixes to the handling of byte-range requests to use
       less memory, to avoid denial of service. This patch includes fixes
       to the patch introduced in release 2.2.20 for protocol compliance,
       as well as the MaxRanges directive.

   Note the further advisories on the state of CVE-2011-3192 will no longer
   be broadcast, but will be kept up to date at;

     http://httpd.apache.org/security/CVE-2011-3192.txt

   We consider this release to be the best version of Apache available, and
   encourage users of all prior versions to upgrade.
2011-09-14 07:10:21 +00:00
sborrill
f8b8c2e411 Atomically create files when using DAV to stop files being deleted on error
From:
https://issues.apache.org/bugzilla/show_bug.cgi?id=39815

Bump PKGREVISION.

OK tron@
2011-09-12 17:18:46 +00:00
tron
554bf88742 Update "apache22" package to version 2.2.20. Changes since version 2.2.19:
- mod_authnz_ldap: If the LDAP server returns constraint violation,
  don't treat this as an error but as "auth denied". [Stefan Fritsch]
- mod_filter: Fix FilterProvider conditions of type "resp=" (response
  headers) for CGI. [Joe Orton, Rainer Jung]
- mod_reqtimeout: Fix a timed out connection going into the keep-alive
  state after a timeout when discarding a request body. Bug 51103.
  [Stefan Fritsch]
- core: Do the hook sorting earlier so that the hooks are properly sorted
  for the pre_config hook and during parsing the config. [Stefan Fritsch]
2011-08-31 12:52:45 +00:00
tron
24cf09157c Add patch for security vulnerability reported in CVE-2011-3192 taken
from Apache SVN repository.
2011-08-29 22:07:05 +00:00
tron
24571257eb Update "apache22" package to version 2.2.19. Changes since version 2.2.18:
- Revert ABI breakage in 2.2.18 caused by the function signature change
  of ap_unescape_url_keep2f().  This release restores the signature from
  2.2.17 and prior, and introduces ap_unescape_url_keep2f_ex().
  [Eric Covener]
2011-05-22 22:54:50 +00:00
adam
dca499eb67 Replaced ugly AWK with single SUBST_SED 2011-05-12 07:04:02 +00:00
tron
df2fe3b15b Update "apache22" package to version 2.2.18. Changes since version 2.2.17:
- Log an error for failures to read a chunk-size, and return 408 instead
  413 when this is due to a read timeout.  This change also fixes some cases
  of two error documents being sent in the response for the same scenario.
  [Eric Covener] Bug 49167
- core: Only log a 408 if it is no keepalive timeout. Bug 39785
  [Ruediger Pluem,  Mark Montague <markmont umich.edu>]
- core: Treat timeout reading request as 408 error, not 400.
  Log 408 errors in access log as was done in Apache 1.3.x.
  Bug 39785 [Nobutaka Mantani <nobutaka nobutaka.org>, Stefan Fritsch,
  Dan Poirier]
- Core HTTP: disable keepalive when the Client has sent
  Expect: 100-continue
  but we respond directly with a non-100 response.  Keepalive here led
  to data from clients continuing being treated as a new request.
  Bug 47087.  [Nick Kew]
- htpasswd: Change the default algorithm for htpasswd to MD5 on all
  platforms. Crypt with its 8 character limit is not useful anymore;
  improve out of disk space handling (Bug 30877); print a warning if
  a password is truncated by crypt. [Stefan Fritsch]
- mod_win32: Added shebang check for '! so that .vbs scripts work as CGI.
  Win32's cscript interpreter can only use a single quote as comment char.
  [Guenter Knauf]
- configure: Fix htpasswd/htdbm libcrypt link errors with some newer
  linkers. [Stefan Fritsch]
- MinGW build improvements.  Bug 49535.  [John Vandenberg
  <jayvdb gmail.com>, Jeff Trawick]
- mod_ssl, ab: Support OpenSSL compiled without SSLv2 support.
  [Stefan Fritsch]
- core: AllowEncodedSlashes new option NoDecode to allow encoded slashes
  in request URL path info but not decode them. Bug 35256,
  Bug 46830.  [Dan Poirier]
- mod_rewrite: Allow to unset environment variables. Bug 50746.
  [Rainer Jung]
- suEXEC: Add Suexec directive to disable suEXEC without renaming the
  binary (Suexec Off), or force startup failure if suEXEC is required
  but not supported (Suexec On).  [Jeff Trawick]
- mod_proxy: Put the worker in error state if the SSL handshake with the
  backend fails. Bug 50332.
  [Daniel Ruggeri <DRuggeri primary.net>, Ruediger Pluem]
- prefork: Update MPM state in children during a graceful restart.
  Allow the HTTP connection handling loop to terminate early
  during a graceful restart.  Bug 41743.
  [Andrew Punch <andrew.punch 247realmedia.com>]
- mod_ssl: Correctly read full lines in input filter when the line is
  incomplete during first read. Bug 50481. [Ruediger Pluem]
- mod_autoindex: Merge IndexOptions from server to directory context when
  the directory has no mod_autoindex directives. Bug 47766. [Eric Covener]
- mod_cache: Make sure that we never allow a 304 Not Modified response
  that we asked for to leak to the client should the 304 response be
  uncacheable. Bug 45341 [Graham Leggett]
- mod_dav: Send 400 error if malformed Content-Range header is received for
  a put request (RFC 2616 14.16). Bug 49825. [Stefan Fritsch]
- mod_userdir: Add merging of enable, disable, and filename arguments
  to UserDir directive, leaving enable/disable of userlists unmerged.
  Bug 44076 [Eric Covener]
- core: Honor 'AcceptPathInfo OFF' during internal redirects,
  such as per-directory mod_rewrite substitutions.  Bug 50349.
  [Eric Covener]
- mod_cache: Check the request to determine whether we are allowed
  to return cached content at all, and respect a "Cache-Control:
  no-cache" header from a client. Previously, "no-cache" would
  behave like "max-age=0". [Graham Leggett]
- mod_mem_cache: Add a debug msg when a streaming response exceeds
  MCacheMaxStreamingBuffer, since mod_cache will follow up with a scary
  'memory allocation failed' debug message. Bug 49604. [Eric Covener]
- proxy_connect: Don't give up in the middle of a CONNECT tunnel
  when the child process is starting to exit. Bug 50220. [Eric Covener]
2011-05-12 06:50:44 +00:00
dholland
6fc1ddaf1d Patch a minor markup glitch in the apxs(8) man page: .PP needs to be at
the beginning of a line.

(Properly this should bump the PKGREVISION, but I'm not going to bother.)
2011-03-20 03:18:21 +00:00
sborrill
a61e80c47b Add pthread bl3.mk file to stop problems in partial bulk builds 2010-11-24 12:20:39 +00:00
adam
df9a7a5e01 Changes 2.2.17:
* prefork MPM: Run cleanups for final request when process exits gracefully
  to work around a flaw in apr-util.
* mod_reqtimeout: Do not wrongly enforce timeouts for mod_proxy's backend
  connections and other protocol handlers (like mod_ftp). Enforce the
  timeout for AP_MODE_GETLINE. If there is a timeout, shorten the lingering
  close time from 30 to 2 seconds.
* Proxy balancer: support setting error status according to HTTP response
  code from a backend.
* mod_authnz_ldap: If AuthLDAPCharsetConfig is set, also convert the
  password to UTF-8.
* core: check symlink ownership if both FollowSymlinks and
  SymlinksIfOwnerMatch are set
* core: fix origin checking in SymlinksIfOwnerMatch
* mod_headers: Enable multi-match-and-replace edit option
* mod_log_config: Make ${cookie}C correctly match whole cookie names
  instead of substrings.
* mod_dir, mod_negotiation: Pass the output filter information
  to newly created sub requests; as these are later on used
  as true requests with an internal redirect. This allows for
  mod_cache et.al. to trap the results of the redirect.
* rotatelogs: Fix possible buffer overflow if admin configures a
  mongo log file path.
* mod_ssl: Do not do overlapping memcpy.
* vhost: A purely-numeric Host: header should not be treated as a port.
* core: (re)-introduce -T commandline option to suppress documentroot
  check at startup.
2010-11-01 17:28:49 +00:00
lukem
4473e7aac6 Add a MESSAGE reminding upgraders to add LoadModule entries since Apache 2.2.16. 2010-08-02 10:38:16 +00:00
tron
d092dd95d1 Update "apache22" package to version 2.2.16. Changes since version 2.2.15:
- SECURITY: CVE-2010-1452 (cve.mitre.org)
  mod_dav, mod_cache: Fix Handling of requests without a path segment.
  PR: 49246 [Mark Drayton, Jeff Trawick]
- SECURITY: CVE-2010-2068 (cve.mitre.org)
  mod_proxy_ajp, mod_proxy_http, mod_reqtimeout: Fix timeout detection
  for platforms Windows, Netware and OS2.  PR: 49417. [Rainer Jung]
- core: Filter init functions are now run strictly once per request
  before handler invocation.  The init functions are no longer run
  for connection filters.  PR 49328.  [Joe Orton]
- mod_filter: enable it to act on non-200 responses.
  PR 48377 [Nick Kew]
- mod_ldap: LDAP caching was suppressed (and ldap-status handler returns
  title page only) when any mod_ldap directives were used in VirtualHost
  context.  [Eric Covener]
- mod_ssl: Fix segfault at startup if proxy client certs are shared
  across multiple vhosts.  PR 39915.  [Joe Orton]
- mod_proxy_http: Log the port of the remote server in various messages.
  PR 48812. [Igor Galić <i galic brainsware org>]
- apxs: Fix -A and -a options to ignore whitespace in httpd.conf
  [Philip M. Gollucci]
- mod_dir: add FallbackResource directive, to enable admin to specify
  an action to happen when a URL maps to no file, without resorting
  to ErrorDocument or mod_rewrite.  PR 47184 [Nick Kew]
- mod_rewrite: Allow to set environment variables without explicitely
  giving a value. [Rainer Jung]
2010-07-26 21:38:51 +00:00
sborrill
a7c8a825a4 Add pthread bl3.mk (required when building partial bulk builds in a chroot) 2010-07-24 10:45:38 +00:00
tron
debb3d2f85 Add patch provided by the Apache foundation to close the privacy leak
reported in CVE-2010-2068.
2010-06-12 10:40:26 +00:00
tron
9e89c5f98c Make sure that the "suexec" module actually gets built and installed if the
package gets build with "apache-shared-modules suexec ..." as the options.
Bump package revision for the benefit of users which previously compiled
the package these options and don't have the "suexec" module available.

Problem pointed out by Filip Hajny in private e-mail.
2010-05-03 20:10:33 +00:00
tron
9871f93dc6 Overhaul option and package list handling:
1.) Add missing modules "mod_proxy_scgi.so" and "mod_reqtimeout.so"
    if the package is built with shared modules enabled.
    This fixes PR pkg/43229 by Ryo HAYASAKA.
2.) Get rid of "PLIST.worker" and use "PLIST_VARS" instead.
3.) Use an option group instead of the "APACHE_MPM" configuration variable
    to configure the worker model.
4.) Enable the "apache-shared-modules" options by default. This provides
    more flexibility and matches the behaviour of a lot of other
    platforms e.g. Solaris or Linux distributions like Ubuntu.

Bump the package revision as the binary package will change by default.
2010-04-30 16:30:09 +00:00
obache
25fe65e910 Fixes omiting of pre-creating directory for pax in patch-aa.
It break installation on SUA 6.0 with native pax.
2010-04-28 07:43:56 +00:00
taca
f83cc1fb1b Update apache22 package to 2.2.15.
For full changes information please refer:
http://www.apache.org/dist/httpd/Announcement2.2.html.

Here is security related changes from ChangeLog
(http://www.apache.org/dist/httpd/CHANGES_2.2.15).


Changes with Apache 2.2.15

  *) SECURITY: CVE-2009-3555 (cve.mitre.org)
     mod_ssl: A partial fix for the TLS renegotiation prefix injection attack
     by rejecting any client-initiated renegotiations. Forcibly disable
     keepalive for the connection if there is any buffered data readable. Any
     configuration which requires renegotiation for per-directory/location
     access control is still vulnerable, unless using OpenSSL >= 0.9.8l.
     [Joe Orton, Ruediger Pluem, Hartmut Keil <Hartmut.Keil adnovum.ch>]

  *) SECURITY: CVE-2010-0408 (cve.mitre.org)
     mod_proxy_ajp: Respond with HTTP_BAD_REQUEST when the body is not sent
     when request headers indicate a request body is incoming; not a case of
     HTTP_INTERNAL_SERVER_ERROR.  [Niku Toivola <niku.toivola sulake.com>]

  *) SECURITY: CVE-2010-0425 (cve.mitre.org)
     mod_isapi: Do not unload an isapi .dll module until the request
     processing is completed, avoiding orphaned callback pointers.
     [Brett Gervasoni <brettg senseofsecurity.com>, Jeff Trawick]
2010-03-09 02:30:15 +00:00
taca
addf9135a9 Remove CVE-2007-3304 related patches. CVE-2007-3304 was fixed
in Apache 2.2.6 and these patches are noop.
2010-03-05 00:22:59 +00:00
wiz
672ef23395 Recursive PKGREVISION bump for jpeg update to 8. 2010-01-17 12:02:03 +00:00
obache
8bec9acbf6 Re-add patch-ab, fixes runtime error on Interix.
It initially existed originally came from PR#27567 for www/apache2.
CVE-2007-3304 parts was added in rev 1.2, then whole patch file was removed in
rev 1.3 as update to apache-2.2.6, because the update contains fix for
CVE-2007-3304 and comments of patch-ab only mentioned about the CVE.

To prevent a recurrence of such a accident, added PR#27567 as comments
for patch-ab.
2009-12-26 04:51:01 +00:00
tron
eeb4510a0f Provide working URLs for fetching old Apache releases. 2009-11-11 22:28:51 +00:00
christos
8e8f133925 remove blank line 2009-10-30 21:10:57 +00:00
christos
e8da956d74 update to 2.2.14; 2.2.13 is gone. 2009-10-30 21:08:55 +00:00
tron
8a45d6cdb8 Add patch from the Apache SVN repository to the vulnerability reported
in CVE-2009-3095.
2009-10-04 12:21:34 +00:00
tron
83f91dd8f7 Use official fix for CVE-2009-3094 taken from the Apache SVN repository. 2009-09-14 22:09:33 +00:00
tron
2f970c081a Add a fix for the remote Denial of Service vulnerability reported
in CVE-2009-3094.
2009-09-13 13:32:50 +00:00
tron
5e1c34b82b Update "apache22" package to version 2.2.13. Changes since 2.2.12:
- mod_ssl, ab: improve compatibility with OpenSSL 1.0.0 betas.  Report
  warnings compiling mod_ssl against OpenSSL to the httpd developers.
  [Guenter Knauf]
- mod_cgid: Do not add an empty argument when calling the CGI script.
  Bug 46380 [Ruediger Pluem]
- Fix potential segfaults with use of the legacy ap_rputs() etc
  interfaces, in cases where an output filter fails.  Bug 36780.
  [Joe Orton]
2009-08-10 11:45:08 +00:00
tron
971009031a Add patches provided by Adam Ciarcinski to fix build with recent versions
of OpenSSL (e.g. the version in NetBSD-current).
2009-08-06 08:21:44 +00:00
tron
394ce01d6f Update "apache22" package to version 2.2.12. Changes since version 2.2.11:
- SECURITY: CVE-2009-1891 (cve.mitre.org)
  Fix a potential Denial-of-Service attack against mod_deflate or other
  modules, by forcing the server to consume CPU time in compressing a
  large file after a client disconnects. Bug 39605.
  [Joe Orton, Ruediger Pluem]
- SECURITY: CVE-2009-1195 (cve.mitre.org)
  Prevent the "Includes" Option from being enabled in an .htaccess
  file if the AllowOverride restrictions do not permit it.
  [Jonathan Peatfield <j.s.peatfield damtp.cam.ac.uk>, Joe Orton,
   Ruediger Pluem, Jeff Trawick]
- SECURITY: CVE-2009-1890 (cve.mitre.org)
  Fix a potential Denial-of-Service attack against mod_proxy in a
  reverse proxy configuration, where a remote attacker can force a
  proxy process to consume CPU time indefinitely.  [Nick Kew, Joe Orton]
- SECURITY: CVE-2009-1191 (cve.mitre.org)
  mod_proxy_ajp: Avoid delivering content from a previous request which
  failed to send a request body. Bug 46949 [Ruediger Pluem]
- SECURITY: CVE-2009-0023, CVE-2009-1955, CVE-2009-1956 (cve.mitre.org)
  The bundled copy of the APR-util library has been updated, fixing three
  different security issues which may affect particular configurations
  and third-party modules.
- mod_include: fix potential segfault when handling back references
  on an empty SSI variable. [Ruediger Pluem, Lars Eilebrecht, Nick Kew]
- mod_alias: check sanity in Redirect arguments.
  Bug 44729 [Sönke Tesch <st kino-fahrplan.de>, Jim Jagielski]
- mod_proxy_http: fix Host: header for literal IPv6 addresses.
  Bug 47177 [Carlos Garcia Braschi <cgbraschi gmail.com>]
- mod_rewrite: Remove locking for writing to the rewritelog.
  Bug 46942
- mod_alias: Ensure Redirect emits HTTP-compliant URLs.
  Bug 44020
- mod_proxy_http: fix case sensitivity checking transfer encoding
  Bug 47383 [Ryuzo Yamamoto <ryuzo.yamamoto gmail.com>]
- mod_rewrite: Fix the error string returned by RewriteRule.
  RewriteRule returned "RewriteCond: bad flag delimiters" when the 3rd
  argument of RewriteRule was not started with "[" or not ended with "]".
  Bug 45082 [Vitaly Polonetsky <m_vitaly topixoft.com>]
- mod_proxy: Complete ProxyPassReverse to handle balancer URL's.  Given;
    BalancerMember balancer://alias http://example.com/foo
    ProxyPassReverse /bash balancer://alias/bar
  backend url http://example.com/foo/bar/that is now translated /bash/that
  [William Rowe]
- New piped log syntax: Use "||process args" to launch the given process
  without invoking the shell/command interpreter.  Use "|$command line"
  (the default behavior of "|command line" in 2.2) to invoke using shell,
  consuming an additional shell process for the lifetime of the logging
  pipe program but granting additional process invocation flexibility.
  [William Rowe]
- mod_ssl: Add server name indication support (RFC 4366) and better
  support for name based virtual hosts with SSL. Bug 34607
  [Peter Sylvester <peter.sylvester edelweb.fr>,
   Kaspar Brand <asfbugz velox.ch>, Guenter Knauf, Joe Orton,
   Ruediger Pluem]
- mod_negotiation: Escape pathes of filenames in 406 responses to avoid
  HTML injections and HTTP response splitting.  Bug 46837.
  [Geoff Keating <geoffk apple.com>]
- mod_include: Prevent a case of SSI timefmt-smashing with filter chains
  including multiple INCLUDES filters. Bug 39369 [Joe Orton]
- mod_rewrite: When evaluating a proxy rule in directory context, do
  escape the filename by default. Bug 46428 [Joe Orton]
- mod_proxy_ajp: Check more strictly that the backend follows the AJP
  protocol. [Mladen Turk]
- mod_ssl: Add SSLProxyCheckPeerExpire and SSLProxyCheckPeerCN directives
  to enable stricter checking of remote server certificates.
  [Ruediger Pluem]
- mod_substitute: Fix a memory leak. Bug 44948
  [Dan Poirier <poirier pobox.com>]
- mod_proxy_ajp: Forward remote port information by default.
  [Rainer Jung]
- mod_disk_cache/mod_mem_cache: Fix handling of CacheIgnoreHeaders
  directive to correctly remove headers before storing them.
  [Lars Eilebrecht]
- mod_deflate: revert changes in 2.2.8 that caused an invalid
  etag to be emitted for on-the-fly gzip content-encoding.
  Bug 39727 will require larger fixes and this fix was far more
  harmful than the original code. Bug 45023. [Roy T. Fielding]
- mod_disk_cache: The module now turns off sendfile support if
  'EnableSendfile off' is defined globally. Bug 41218.
  [Lars Eilebrecht, Issac Goldstand]
- prefork: Fix child process hang during graceful restart/stop in
  configurations with multiple listening sockets.  Bug 42829.  [Joe Orton,
  Jeff Trawick]
- mod_ssl: Add SSLRenegBufferSize directive to allow changing the
  size of the buffer used for the request-body where necessary
  during a per-dir renegotiation.  Bug 39243.  [Joe Orton]
- mod_rewrite: Introduce DiscardPathInfo|DPI flag to stop the troublesome
  way that per-directory rewrites append the previous notion of PATH_INFO
  to each substitution before evaluating subsequent rules.
  Bug 38642 [Eric Covener]
- mod_authnz_ldap: Reduce number of initialization debug messages and make
  information more clear. Bug 46342 [Dan Poirier]
- mod_cache: Introduce 'no-cache' per-request environment variable
  to prevent the saving of an otherwise cacheable response.
  [Eric Covener]
- core: Translate the status line to ASCII on EBCDIC platforms in
  ap_send_interim_response() and for locally generated "100 Continue"
  responses.  [Eric Covener]
- CGI: return 504 (Gateway timeout) rather than 500 when a script
  times out before returning status line/headers.
  Bug 42190 [Nick Kew]
- prefork: Log an error instead of segfaulting when child startup fails
  due to pollset creation failures.  Bug 46467.  [Jeff Trawick]
- mod_ext_filter: fix error handling when the filter prog fails to start,
  and introduce an onfail configuration option to abort

All the security problems mentioned above had already been fixed in
"pkgsrc" via patches. Thanks a lot to Adam Ciarcinski for letting me
know that new version had finally been released.
2009-08-06 07:07:23 +00:00
tron
b11c35c239 Add patches from the Apache SVN repository to fix the security
vulnerabilities reported in CVE-2009-1890 and CVE-2009-1891.
2009-07-14 12:23:39 +00:00
joerg
30e9948198 Convert @exec/@unexec to @pkgdir or drop it. 2009-06-14 22:00:14 +00:00
tron
03654d0750 Import improved version of the fix for CVE-2009-1195 to restore
backwards compatibility with e.g. "mod_perl".
2009-06-11 20:30:58 +00:00
tron
38b6d684ca Add patches from the Apache SVN repository to fix the security bypass
vulnerability reported in CVE-2009-1195.
2009-06-04 08:51:52 +00:00
tron
36394aa571 Set the license type to "apache-2.0". 2009-05-22 10:41:24 +00:00
tron
e82fea735c Add patch from the Apache SVN repository to fix the information leak
in the "mod_proxy_ajp" module reported in CVE-2009-1191.
2009-05-22 09:46:06 +00:00
seb
9d2f15190d Fix PLIST when LDAP support is activated, because apr-util package
has it, and shared modules option is not activated: LDAP related
modules are, like other modules, not installed as shared objects
so they should not be added to the PLIST.

Approved by MAINTAINER.
2009-04-24 11:21:16 +00:00
sno
52cd6293c5 PkgSrc changes:
- add entries for ldap related shared modules to PLIST in case of
    apr-util is build with ldap
  - PKGREVISION is not bumped, because ldap is no default option for
    apr-util so it wont change anything in default-case

Reviewed by tron@
2009-04-14 18:26:34 +00:00
tron
def2e43c4b Fix support for non-default options:
- If option "suexec" is used we must manually build the binary because
  the top level makefile doesn't do that. This fixes PR pkg/41141
  by Anton Blajev.
- Move the handling of the "all-shared" option into "options.mk" and
  don't use a seperate package list that will cause failure to remove
  the "lib/httpd" directory on deinstallation.
2009-04-08 17:03:25 +00:00
joerg
2d1ba244e9 Simply and speed up buildlink3.mk files and processing.
This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.
2009-03-20 19:23:50 +00:00