Subject: CVS commit: pkgsrc/www/apache-tomcat6
From: Ryo ONODERA
Date: 2016-02-28 11:14:53
Message id: 20160228101453.6045DFBB7@cvs.NetBSD.org

Log Message:
Update to 6.0.45

Changelog:
Tomcat 6.0.45 (jfclere)

    Catalina

        fix	Back-port various improvements to the AprLifecycleListener including \ 
the fix for 57021 that improves logging when the Tomcat-Native DLL fails to \ 
load. (markt)
        add	57154: Add support for web applications (Context elements) that do \ 
not have a docBase. This is intended for use when embedding, such as Tomcat unit \ 
tests, when a web application is configured programmatically and does not serve \ 
any files. Based on a patch provided by Huxing Zhang. (kkolinko)
        add	57741: Enable the CGI servlet to use the standard error page \ 
mechanism. Note that if the CGI servlet's debug init parameter is set to 10 or \ 
higher then the standard error page mechanism will be bypassed and a debug \ 
response generated by the CGI servlet will be returned instead. (markt)
        fix	57896: Support defensive copying of "cookie" header so \ 
that unescaping double quotes in a cookie value does not corrupt original value \ 
of "cookie" header. This is an opt-in feature, enabled by \ 
org.apache.tomcat.util.http.ServerCookie.PRESERVE_COOKIE_HEADER or \ 
org.apache.catalina.STRICT_SERVLET_COMPLIANCE system property. (kkolinko)
        fix	58031: Make the (first) reason parameter parsing failed available as \ 
a request attribute and then use it to provide a better status code via the \ 
FailedRequstFilter (if configured). (markt)
        fix	58313: Fix concurrent access of encoders map when clearing encoders \ 
during Comet processing. (markt)
        fix	58508: Escape role names when generating associated MBeans in case \ 
the role name contains characters not permitted in an MBean name. (markt)
        fix	58582: Combined realm should perform background processing on its \ 
sub-realms. Based upon a patch provided by Aidan. (kkolinko)
        add	Move the functionality that provides redirects for context roots and \ 
directories where a trailing / is added from the Mapper to the DefaultServlet. \ 
This enables such requests to be processed by any configured Valves and Filters \ 
before the redirect is made. This behaviour is configurable via the \ 
mapperContextRootRedirectEnabled and mapperDirectoryRedirectEnabled attributes \ 
of the Context which may be used to restore the previous behaviour. (markt)
        fix	58635: Enable break points to be set within agent code when running \ 
Tomcat with a Java agent. Based on a patch by Huxing Zhang. (markt)
        fix	Add the StatusManagerServlet to the list of Servlets that can only \ 
be loaded by privileged applications. (markt)
        fix	Remove redundant copy of catalina.properties from o.a.c.startup. \ 
Generate this copy during the ant "compile" task. (kkolinko)
        fix	58817: Fix ArrayIndexOutOfBoundsException caused by MapperListener \ 
when ROOT context is being undeployed and \ 
mapperContextRootRedirectEnabled="false". (kkolinko)
        fix	58836: Correctly merge query string parameters when processing a \ 
forwarded request where the target includes a query string that contains a \ 
parameter with no value. (markt/kkolinko)
        add	Allow singleton server instance stored by ServerFactory to be \ 
cleared. Allow ResourceLinkFactory to be initialized more than once. This is \ 
used by unit tests when running several copies of Tomcat sequentially in the \ 
same JVM. When running with a SecurityManager the initialization method of \ 
ResourceLinkFactory is protected by requiring a RuntimePermission. (kkolinko)
        add	Extend the feature available in the cluster session manager \ 
implementations that enables session attribute replication to be filtered bases \ 
on attribute name to all session manager implementations. Note that \ 
configuration attribute name has changed from sessionAttributeFilter to \ 
sessionAttributeNameFilter. Apply the filter on load as well as unload to ensure \ 
that configuration changes made while the web application is stopped are applied \ 
to any persisted data. (markt)
        add	Extend the session attribute filtering options to include filtering \ 
based on the implementation class of the value and optional WARN level logging \ 
if an attribute is filtered. These options are available for all of the Manager \ 
implementations that ship with Tomcat. When a SecurityManager is used filtering \ 
will be enabled by default. (markt)
        fix	58946: Ensure that the request parameter map remains immutable when \ 
processing via a RequestDispatcher. (markt)

    Coyote

        add	Align the Java side of the tc-native connector with the Tomcat 7 \ 
implementation to ease future maintenance. (markt)
        fix	51503: Add additional validation that prevents a connector from \ 
starting if it does not have a valid port number. (kkolinko)
        add	52028: Add support for automatic binding to a free port by a \ 
connector if the special value of zero is used for the port. This is mainly \ 
useful in embedded and testing scenarios. (kkolinko)
        fix	52926: Avoid NPE when an NIO Comet connection times out on one \ 
thread at the same time as it is closed on another thread. (markt/kkolinko)
        fix	57943: Prevent the same socket being added to the cache twice. Patch \ 
based on analysis by Ian Luo / Sun Qi. (markt/kkolinko)
        fix	Improve HTTP header validation. (markt)

    Web applications

        fix	57971: Correct the documentation for the cluster configuration \ 
setting recoverySleepTime. (markt)
        fix	58112: Update the documentation for using the Catalina tasks in an \ 
Apache Ant build file. (markt)
        fix	Improve the Javadoc for some of the APR socket read functions that \ 
have inconsistent behaviour for return values. (markt)
        add	58255: Document the Semaphore valve. Patch provided by Kyohei \ 
Nakamu. (markt)
        fix	58631: Correct the continuation character use in the Windows Service \ 
How-To page of the documenation web application. (markt)
        fix	Correct some typos in the JNDI resources How-To. (markt)
        fix	Add a redirect to the web interface to the root of the Manager web \ 
application. (markt)
        fix	Don't create sessions unnecessarily in the Manager application. (markt)
        fix	Add a redirect to the web interface to the root of the Host Manager \ 
web application. (markt)
        fix	Don't create sessions unnecessarily in the Host Manager application. \ 
(markt)

    Other

        fix	Ensure JULI adapters JAR in Tomcat extras package does not include \ 
the LogFactoryImpl[$*] classes. Based on patch provided by Benjamin Gandon. \ 
(kkolinko)
        code	Convert test classes to JUnit 4. (kkolinko)
        update	58596: Clarify the description in RUNNING.txt of how environment \ 
variables are used. (markt)
        update	Update the NSIS Installer used to build the Windows Installers to \ 
version 2.50. (markt/kkolinko)
        add	Add framework for client-server unit tests, porting it from Tomcat \ 
7. Add support for running the tests with Apache Ant. (kkolinko)
        update	Update to Tomcat Native Library version 1.1.34. (jfclere)
        update	Remove support for Intel Itanium CPU (i64, IA-64) in the Windows \ 
installer, as the current release of Tomcat Native does not have binaries for \ 
that processor architecture. (jfclere)

Files:
RevisionActionfile
1.19modifypkgsrc/www/apache-tomcat6/Makefile
1.12modifypkgsrc/www/apache-tomcat6/PLIST
1.15modifypkgsrc/www/apache-tomcat6/distinfo