Sun May 1 00:42:21 2016 UTC ()
Update to 8.0.33

Changelog:
Tomcat 8.0.33 (markt)
Catalina

    Fix: Correct a regression in the fix for 58867. When configuring a Context to use an external directory for the docBase, and that directory happens to be located along side the original WAR, use the directory as the docBase rather than expanding the WAR into the appBase and using the newly created expanded directory as the docBase. (markt)
    Add: 58351: Make the server build date and server version number accessible via JMX. Patch provided by Huxing Zhang. (markt)
    Add: 58988: Special characters in the substitutions for the RewriteValve can now be quoted with a backslash. (fschumacher)
    Fix: 58999: Fix class and resource name filtering in WebappClassLoader. It throws a StringIndexOutOfBoundsException if the name is exactly "org" or "javax". (rjung)
    Code: Remove unnecessary code. There is no support for context level cluster. (kfujino)
    Add: Make checking for var and map replacement in RewriteValve a bit stricter and correct detection of colon in var replacement. (fschumacher)
    Fix: Fix the type of InstanceManager attribute of mbean definition of StandardContext. (kfujino)
    Fix: Refactor the web application class loader to reduce the impact of JAR scanning on the memory footprint of the web application. (markt)
    Fix: Fix some resource leaks in the error handling for accessing files from JARs and WARs. (markt)
    Fix: Refactor the JAR and JAR-in-WAR resource handling to reduce the memory footprint of the web application. (markt)
    Fix: 57809: Deprecate the custom context attribute org.apache.tomcat.util.scan.MergedWebXml which will be removed in Tomcat 9. (markt)
    Fix: 59001: Correctly handle the case when Tomcat is installed on a path where one of the segments ends in an exclamation mark. (markt)
    Fix: Expand the fix for 59001 to cover the special sequences used in Tomcat's custom jar:war: URLs. (markt)
    Fix: 59043: Avoid warning while expiring sessions associated with a single sign on if HttpServletRequest.logout() is used. (markt)
    Fix: 59054: Ensure that using the CrawlerSessionManagerValve in a distributed environment does not trigger an error when the Valve registers itself in the session. (markt)
    Fix: Storeconfig handling of alternate cookie processors. (markt/remm)
    Fix: Storeconfig handling for socket properties. (remm)
    Add: Log a warning message if a user tries to configure the default session timeout via the deprecated (and ignored) Manager.setMaxInactiveInterval() method. (markt)
    Fix: Fix incorrect parsing of the NE and NC flags in rewrite rules. (remm)
    Fix: 59065: Correct the timing of the check for colons in paths on non-Windows systems implemented in catalina.sh so it works correctly with Cygwin. Patch provided by Ed Randall. (markt)
    Fix: When a Host is configured with an appBase that does not exist, create the appBase before trying to expand an external WAR file into it. (markt)
    Fix: 59115: When using the Servlet 3.0 file upload, the submitted file name may be provided as a token or a quoted-string. If a quoted-string, unquote the string before returning it to the user. (markt)
    Fix: 59123: Close NamingEnumeration objects used by the JNDIRealm once they are no longer required. (fschumacher/markt)
    Fix: 59138: Correct a false positive warning for ThreadLocal related memory leaks when the key class but not the value class has been loaded by the web application class loader. (markt)
    Fix: 59145: Don't log an invalid warning when a user logs out of a session associated with SSO. (markt)
    Fix: 59151: Fix a regression in the fix for 56917 that added additional (and arguably unnecessary) validation to the provided redirect location. (markt)
    Fix: 59154: Fix a NullPointerException in the JASSMemoryLoginModue resulting from the introduction of the CredentialHandler to Realms. (schultz/markt)

Coyote

    Fix: 58646: Correct a problem with sendfile that resulted in a Processor being added to the cache twice leading to broken responses. (markt)
    Fix: 59015: Fix potential cause of endless APR Poller loop during shutdown if the Poller experiences an error during the shutdown process. (markt)
    Fix: Align cipher aliases for kECDHE and ECDHE with the current OpenSSL implementation. (markt)
    Fix: 59081: Retain the user defined cipher order when defining ciphers using the OpenSSL format. (markt)
    Fix: 59089: Correctly ignore HTTP headers that include non-token characters in the header name. (markt)
    Add: Add support for additional OpenSSL cipher aliases from OpenSSL master when specifying ciphers using the OpenSSL syntax. (markt)

Jasper

    Fix: 57583: Improve the performance of javax.servlet.jsp.el.ScopedAttributeELResolver when resolving attributes that do not exist. This improvement only works when Jasper is used with with Tomcat's EL implementation. (markt)
    Update: 58111: Update to the Eclipse JDT Compiler 4.5. (markt)
    Add: Add Java 9 support for JSPs. (markt)

WebSocket

    Fix: 59014: Ensure that a WebSocket close message can be sent after a close message has been received. (markt)
    Fix: Correctly handle compression of partial messages when the final message fragment has a zero length payload. (markt)
    Fix: 59119: Correct read logic for WebSocket client when using secure connections. (markt)
    Fix: 59134: Correct client connect logic for secure connections made through a proxy. (markt)
    Fix: 59189: Explicitly release the native memory held by the Inflater and Deflater when using PerMessageDeflate and the WebSocket session ends. Based on a patch by Henrik Olsson. (markt)

Web applications

    Fix: Correct an error in the documentation of the expected behaviour for automatic deployment. If a WAR is updated and an expanded directory is present, the directory will always be deleted and recreated by expanding the WAR if unpackWARs is true. (markt)
    Fix: 58935: Remove incorrect references in the documentation to using jar:file: URLs with the Manager application. (markt)
    Fix: Correct the description of the ServletRequest.getServerPort() in Proxy How-To. Issue reported via comments.apache.org. (violetagg)
    Fix: Fix a potenital indefinite wait in the Comet Chat servlet in the examples web application. (markt)

Tribes

    Fix: If promoting a proxy node to a primary node when getting a session, notify the change of the new primary node to the original backup node. (kfujino)

Other

    Fix: 58283: Change the default download location for libraries during the build process from /usr/share/java to ${user.home}/temp. Patch provided by Ahmed Hosni. (markt)
    Fix: 59031: When using the Windows uninstaller, do not remove the contents of any directories that have been symlinked into the Tomcat directory structure. (markt)
    Update: Update the packaged version of the Tomcat Native Library to 1.2.5 to pick up the Windows binaries that are based on OpenSSL 1.0.2g and APR 1.5.1. (markt)
    Update: Modify the default tomcat-users.xml file to make it harder for users to configure the entries intended for use with the examples web application for the Manager application. (markt)


(ryoon)
diff -r1.6 -r1.7 pkgsrc/www/apache-tomcat8/Makefile
diff -r1.3 -r1.4 pkgsrc/www/apache-tomcat8/PLIST
diff -r1.7 -r1.8 pkgsrc/www/apache-tomcat8/distinfo

cvs diff -r1.6 -r1.7 pkgsrc/www/apache-tomcat8/Makefile (expand / switch to unified diff)

--- pkgsrc/www/apache-tomcat8/Makefile 2016/02/28 10:19:07 1.6
+++ pkgsrc/www/apache-tomcat8/Makefile 2016/05/01 00:42:21 1.7
@@ -1,37 +1,37 @@ @@ -1,37 +1,37 @@
1# $NetBSD: Makefile,v 1.6 2016/02/28 10:19:07 ryoon Exp $ 1# $NetBSD: Makefile,v 1.7 2016/05/01 00:42:21 ryoon Exp $
2# 2#
3 3
4DISTNAME= apache-tomcat-${TOMCAT_VER} 4DISTNAME= apache-tomcat-${TOMCAT_VER}
5CATEGORIES= www 5CATEGORIES= www
6MASTER_SITES= ${MASTER_SITE_APACHE:=tomcat/tomcat-8/v${TOMCAT_VER}/bin/} 6MASTER_SITES= ${MASTER_SITE_APACHE:=tomcat/tomcat-8/v${TOMCAT_VER}/bin/}
7 7
8MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= http://tomcat.apache.org/ 9HOMEPAGE= http://tomcat.apache.org/
10COMMENT= Implementation of Java Servlet and JavaServer Pages technologies 10COMMENT= Implementation of Java Servlet and JavaServer Pages technologies
11LICENSE= apache-2.0 11LICENSE= apache-2.0
12 12
13CONFLICTS+= jakarta-tomcat55-[0-9]* 13CONFLICTS+= jakarta-tomcat55-[0-9]*
14CONFLICTS+= jakarta-tomcat-[0-9]* 14CONFLICTS+= jakarta-tomcat-[0-9]*
15 15
16NO_BUILD= yes 16NO_BUILD= yes
17USE_LANGUAGES= # none 17USE_LANGUAGES= # none
18USE_JAVA= run 18USE_JAVA= run
19USE_JAVA2= 7 19USE_JAVA2= 7
20USE_TOOLS+= pax 20USE_TOOLS+= pax
21 21
22.include "../../mk/bsd.prefs.mk" 22.include "../../mk/bsd.prefs.mk"
23 23
24TOMCAT_VER= 8.0.32 24TOMCAT_VER= 8.0.33
25TOMCAT_HOME= ${PREFIX}/share/tomcat 25TOMCAT_HOME= ${PREFIX}/share/tomcat
26EGDIR= ${PREFIX}/share/examples/tomcat 26EGDIR= ${PREFIX}/share/examples/tomcat
27DOCDIR= ${PREFIX}/share/doc/tomcat 27DOCDIR= ${PREFIX}/share/doc/tomcat
28RCD_SCRIPTS= tomcat 28RCD_SCRIPTS= tomcat
29SMF_NAME= tomcat 29SMF_NAME= tomcat
30TOMCAT_USER?= tomcat 30TOMCAT_USER?= tomcat
31TOMCAT_GROUP?= tomcat 31TOMCAT_GROUP?= tomcat
32PKG_GROUPS= ${TOMCAT_GROUP} 32PKG_GROUPS= ${TOMCAT_GROUP}
33PKG_USERS= ${TOMCAT_USER}:${TOMCAT_GROUP} 33PKG_USERS= ${TOMCAT_USER}:${TOMCAT_GROUP}
34PKG_GROUPS_VARS+= TOMCAT_GROUP 34PKG_GROUPS_VARS+= TOMCAT_GROUP
35PKG_USERS_VARS+= TOMCAT_USER 35PKG_USERS_VARS+= TOMCAT_USER
36PKG_HOME.tomcat= ${TOMCAT_HOME} 36PKG_HOME.tomcat= ${TOMCAT_HOME}
37PKG_SHELL.tomcat= ${SH} 37PKG_SHELL.tomcat= ${SH}

cvs diff -r1.3 -r1.4 pkgsrc/www/apache-tomcat8/PLIST (expand / switch to unified diff)

--- pkgsrc/www/apache-tomcat8/PLIST 2015/08/30 11:37:22 1.3
+++ pkgsrc/www/apache-tomcat8/PLIST 2016/05/01 00:42:21 1.4
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1@comment $NetBSD: PLIST,v 1.3 2015/08/30 11:37:22 ryoon Exp $ 1@comment $NetBSD: PLIST,v 1.4 2016/05/01 00:42:21 ryoon Exp $
2share/doc/tomcat/LICENSE 2share/doc/tomcat/LICENSE
3share/doc/tomcat/NOTICE 3share/doc/tomcat/NOTICE
4share/doc/tomcat/RELEASE-NOTES 4share/doc/tomcat/RELEASE-NOTES
5share/doc/tomcat/RUNNING.txt 5share/doc/tomcat/RUNNING.txt
6share/examples/tomcat/catalina.policy 6share/examples/tomcat/catalina.policy
7share/examples/tomcat/catalina.properties 7share/examples/tomcat/catalina.properties
8share/examples/tomcat/context.xml 8share/examples/tomcat/context.xml
9share/examples/tomcat/logging.properties 9share/examples/tomcat/logging.properties
10share/examples/tomcat/server.xml 10share/examples/tomcat/server.xml
11share/examples/tomcat/tomcat-users.xml 11share/examples/tomcat/tomcat-users.xml
12share/examples/tomcat/web.xml 12share/examples/tomcat/web.xml
13share/tomcat/bin/bootstrap.jar 13share/tomcat/bin/bootstrap.jar
14share/tomcat/bin/catalina-tasks.xml 14share/tomcat/bin/catalina-tasks.xml
@@ -22,27 +22,27 @@ share/tomcat/bin/setclasspath.sh @@ -22,27 +22,27 @@ share/tomcat/bin/setclasspath.sh
22share/tomcat/bin/shutdown.sh 22share/tomcat/bin/shutdown.sh
23share/tomcat/bin/startup.sh 23share/tomcat/bin/startup.sh
24share/tomcat/bin/tomcat-juli.jar 24share/tomcat/bin/tomcat-juli.jar
25share/tomcat/bin/tomcat-native.tar.gz 25share/tomcat/bin/tomcat-native.tar.gz
26share/tomcat/bin/tool-wrapper.sh 26share/tomcat/bin/tool-wrapper.sh
27share/tomcat/bin/version.sh 27share/tomcat/bin/version.sh
28share/tomcat/conf/tomcat-users.xsd 28share/tomcat/conf/tomcat-users.xsd
29share/tomcat/lib/annotations-api.jar 29share/tomcat/lib/annotations-api.jar
30share/tomcat/lib/catalina-ant.jar 30share/tomcat/lib/catalina-ant.jar
31share/tomcat/lib/catalina-ha.jar 31share/tomcat/lib/catalina-ha.jar
32share/tomcat/lib/catalina-storeconfig.jar 32share/tomcat/lib/catalina-storeconfig.jar
33share/tomcat/lib/catalina-tribes.jar 33share/tomcat/lib/catalina-tribes.jar
34share/tomcat/lib/catalina.jar 34share/tomcat/lib/catalina.jar
35share/tomcat/lib/ecj-4.4.2.jar 35share/tomcat/lib/ecj-4.5.jar
36share/tomcat/lib/el-api.jar 36share/tomcat/lib/el-api.jar
37share/tomcat/lib/jasper-el.jar 37share/tomcat/lib/jasper-el.jar
38share/tomcat/lib/jasper.jar 38share/tomcat/lib/jasper.jar
39share/tomcat/lib/jsp-api.jar 39share/tomcat/lib/jsp-api.jar
40share/tomcat/lib/servlet-api.jar 40share/tomcat/lib/servlet-api.jar
41share/tomcat/lib/tomcat-api.jar 41share/tomcat/lib/tomcat-api.jar
42share/tomcat/lib/tomcat-coyote.jar 42share/tomcat/lib/tomcat-coyote.jar
43share/tomcat/lib/tomcat-dbcp.jar 43share/tomcat/lib/tomcat-dbcp.jar
44share/tomcat/lib/tomcat-i18n-es.jar 44share/tomcat/lib/tomcat-i18n-es.jar
45share/tomcat/lib/tomcat-i18n-fr.jar 45share/tomcat/lib/tomcat-i18n-fr.jar
46share/tomcat/lib/tomcat-i18n-ja.jar 46share/tomcat/lib/tomcat-i18n-ja.jar
47share/tomcat/lib/tomcat-jdbc.jar 47share/tomcat/lib/tomcat-jdbc.jar
48share/tomcat/lib/tomcat-jni.jar 48share/tomcat/lib/tomcat-jni.jar

cvs diff -r1.7 -r1.8 pkgsrc/www/apache-tomcat8/distinfo (expand / switch to unified diff)

--- pkgsrc/www/apache-tomcat8/distinfo 2016/02/28 10:19:07 1.7
+++ pkgsrc/www/apache-tomcat8/distinfo 2016/05/01 00:42:21 1.8
@@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
1$NetBSD: distinfo,v 1.7 2016/02/28 10:19:07 ryoon Exp $ 1$NetBSD: distinfo,v 1.8 2016/05/01 00:42:21 ryoon Exp $
2 2
3SHA1 (apache-tomcat-8.0.32.tar.gz) = d063269b5fe67c312f8b50106d94aa8d80505582 3SHA1 (apache-tomcat-8.0.33.tar.gz) = c44e6b6a58b514818e9c944d8f04ca5cc58d0777
4RMD160 (apache-tomcat-8.0.32.tar.gz) = 9473d306faf029f6a3cac9da8337deb8a52c0177 4RMD160 (apache-tomcat-8.0.33.tar.gz) = 81e7455249f55be0cf1104b16741f1d59a3a94b8
5SHA512 (apache-tomcat-8.0.32.tar.gz) = 4bad8fdb48298f1da8709cc50f6fdb805c5c9ff908391936bfacc541b84271ac7f71c6368e30e0a7b594c700d6788ce01193ac6436a1a29869a6eb2d6bf4da8a 5SHA512 (apache-tomcat-8.0.33.tar.gz) = 62b932357db364d23460adb2a16aa025c36d2baa6cb4da067736e4c534ba5b00cf0906c5dd8575f10267326192f42cc2526077a771ad32560516645cef163d57
6Size (apache-tomcat-8.0.32.tar.gz) = 9169108 bytes 6Size (apache-tomcat-8.0.33.tar.gz) = 9250362 bytes