2012-10-28 07:30:00 +01:00
|
|
|
# $NetBSD: Makefile,v 1.21 2012/10/28 06:30:09 asau Exp $
|
2006-01-03 19:12:37 +01:00
|
|
|
|
2007-02-22 20:26:05 +01:00
|
|
|
DISTNAME= apache-tomcat-${TOMCAT_VERSION}
|
2006-01-03 19:12:37 +01:00
|
|
|
CATEGORIES= www java
|
|
|
|
# The list of sites to download is generated by an apache website.
|
|
|
|
# The getsite.sh script parses the HTML and extracts the urls.
|
|
|
|
|
Update www/apache-tomcat55 to 5.5.33
- Addresses SA http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2011-0013
- Added LICENSE entry to pkgsrc
- Drop MAINTAINERship
- Changes since 5.5.28 below
Tomcat 5.5.33 (jim)
General
fix Fix permissions of version.sh in bin tarball. (rjung)
fix 45332, 45852, 50140: Backport numerous improvements to the Windows installer. Specify the correct encoding (the current Windows code page) rather than assuming UTF-8 when creating tomcat-users.xml - 45332, 45852. Update install/uninstall icons. Create an installation log. Allow 32-bit JVMs to be selected when installing on a 64-bit platform. Do not ignore install directory if it is specified with the command line switch on 64-bit platforms - 50140. Add support for the /? command line switch. Replace the .ini files with the script equivalents. Provide the ability to edit the roles for the added user. Clean up fully after installation. Add DetailPrint statements for operations that may take time. Improve the descriptions of the components. (kkolinko, mturk, markt)
add Add roles (admin-gui, admin-script, manager-gui, manager-script, manager-jmx, manager-status) to the Manager, Host Manager and Admin applications to allow more fine-grained control of permissions. The old roles are deprecated but will still work in the same way. (kkolinko)
Catalina
fix Improve HTTP specification compliance in support of Accept-Language header. (kkolinko)
fix 50620: Stop exceptions that occur during Session.endAccess() from preventing the normal completion of Request.recycle(). (markt/kkolinko)
Coyote
update Remove JSSE13Factory, JSSE13SocketFactory classes, as Tomcat 5.5 always runs on JRE 1.4 or later. (kkolinko)
fix 50325: When the JVM indicates support for RFC 5746, disable Tomcat's allowUnsafeLegacyRenegotiation configuration attribute and use the JVM configuration to control renegotiation. (markt/kkolinko)
Tomcat 5.5.32 (jim) released 2011-02-01
General
update Update to Commons Daemon 1.0.5. (mturk)
update Update to commons-pool 1.5.5. (markt)
fix Ensure POM files have correct line endings in source distributions. (rjung/markt)
Catalina
add 43960: Expose available property of StandardWrapper via JMX. (markt)
fix 50131: Avoid possible NPE in debug output in PersistentValve. Patch provided by sebb. (kkolinko)
fix 50413: Ensure 304s are not returned when using static files as error pages. (markt/kkolinko)
fix Avoid unnecessary cast in StandardContext. (markt)
fix 50460: Avoid a possible memory leak caused by using a cached exception instance. (kkolinko)
fix 50550: When a new directory is created (e.g. via WebDAV) ensure that a subsequent request for that directory does not result in a 404 response. (markt/kkolinko)
Coyote
fix 47913: Return the IP address rather than null for getRemoteHost() with the APR connector if the IP address does not resolve. (markt)
fix 49521: Disable scanning for a free port in Jk AJP/1.3 connector by default. Do not change maxPort field value of ChannelSocket in its setPort() and init() methods. Add support for maxPort attribute on a Connector element as a synonym for channelSocket.maxPort. (kkolinko)
Jasper
fix 49935: Handle compilation of recursive tag files. (markt)
Cluster
fix Improve sending an access message in DeltaManager. maxInactiveInterval of not Manager but the session is used. If maxInactiveInterval is negative, an access message is not sending. (kfujino)
fix 50547: Add time stamp for CHANGE_SESSION_ID message and SESSION_EXPIRED message. (kfujino)
Webapps
add 50294: Add more information to documentation regarding format of configuration files. Patch provided by Luke Meyer. (markt)
update Improve documentation of database connection factory. (rjung)
fix Improve filtering of Manager display output. (kkolinko)
update Configure the Admin, Manager and Host-Manager web applications to use HttpOnly flag for their session cookies. (kkolinko)
Tomcat 5.5.31 (jim) released 2010-09-16
General
fix Add svn:executable property to some script files and remove it from non-executable files. (rjung)
Catalina
fix 38113 Add system property (ALLOW_EMPTY_QUERY_STRING) to allow spec compliant handling of query string. (markt/kkolinko/jim)
fix Return a copy of the URL being used from the webapp class loader, not the original array. (kkolinko/markt)
fix 49749: Use HttpOnly flag of current context when genrating a Single-Sign-On cookie. (markt)
Coyote
fix 49718: Fix regression in previous fix for 46984 caused by the patch being applied to the wrong section of code. The regression caused HTTP 0.9 requests to fail. (markt)
Webapps
fix 49585: Update JSVC documentation to reflect new packaging of Commons Daemon. (markt)
fix 49774: Add support for SSL with either JSSE or APR baaed connectors to the admin app. (markt)
Cluster
fix Add Null check when CHANGE_SESSION_ID message received. (kfujino)
Tomcat 5.5.30 (jim) released 2010-07-09
General
update Update to Commons Daemon 1.0.2. Use service launcher (procrun) from the Commons Daemon release. Do not keep a copy of it in our source tree. (mturk/kkolinko)
update Update to NSIS 2.46. (kkolinko)
update Update to Apache Commons DBCP 1.3. (markt)
fix 48840: Swallow output (if any) from use of cd when determining $CATALINA_HOME in catalina.sh and tool-wrapper.sh scripts. Based on patch provided by mdietze. (markt/kkolinko)
fix 49236: Do not use indexing when packing Tomcat JARs. (kkolinko)
fix 48990: Build windows distributions correctly on Linux and add support for the skip.installer property. (kkolinko)
Catalina
fix Fix CVE-2010-1157. Prevent possible disclosure of host name or IP address via the HTTP WWW-Authenticate header when using BASIC or DIGEST authentication. (markt)
fix 44041, 48694: Fix duplicate class definition under load. Avoid possible deadlock in class loading. (markt/kkolinko)
fix 47774: Ensure web application class loader is used when calling session listeners. (kfujino)
update 48179: Improve error handling when reading or writing TLD cache file ("tldCache.ser"). (kkolinko)
fix 49398: ByteChunk.indexOf(String, int, int, int) could not find a string of length 1. (kkolinko)
fix Ensure all required i18n messages are present for the APR/native Listener. (kkolinko)
fix Fix possible overflows when calculating session statistics. (kkolinko)
fix 49424: Avoid NPE if client provides no data with a chunked POST request. (markt)
fix Minor code cleanup in AccessLogValve and FastCommonAccessLogValve classes. (kkolinko)
Coyote
fix Arrange filter logic. (jfclere)
fix 48613: Only attempt APR/native connector initialization if the Listener element has been specified in server.xml. (fhanik/kkolinko)
fix 48843: Prevent possible deadlock and correct queue handling for worker allocation in APR connectors. (kkolinko)
fix Use chunked encoding for http 1.1 responses with no content-length (regardless of keep-alive) so client can differentiate between complete and partial responses. (markt)
Jasper
fix 42390, 48616: Fix compilation error with some nested tag files and simple tags. Do not declare or synchronize scripting variables for JSP fragments since they are scriptless. (kkolinko)
fix 47878: Return “404”s rather than a permanent “500” if a JSP is deleted. Make sure first response after deletion is correct. (markt/kkolinko)
fix 48701: Add a system property to allow disabling enforcement of JSP.5.3. The specification recommends, but does not require, this enforcement. (kkolinko)
fix 48580: Prevent AccessControlException when running under a security manager if the first access is to a JSP that uses a FunctionMapper. (markt/kknko)
fix 49196: Avoid NullPointerException in PageContext.getErrorData() if an error-handling JSP page is called directly. (kkolinko)
Cluster
fix 48717: When a node joins a cluster and it receives all the current sessions, ensure the sessionCreated event is fired if the Manager is configured to replicate session events. (markt)
fix 49170: Do not send duplicated session. (kfujino)
fix 49445: When session ID is changed after authentication, ensure the DeltaManager replicates the change in ID to the other nodes in the cluster. (kfujino)
Webapps
add Backport documentation stylesheet improvements from Tomcat 6: use CSS styles to provide printer-friendly layout, support generation of TOC tables, support links revision numbers, use underscores instead of spaces in anchor names. (kkolinko)
Tomcat 5.5.29 (fhanik) released 2010-04-20
General
add 37847: Make location and filename of catalina.out configurable in catalina.sh. (fhanik/kkolinko)
fix 47609: Provide fail-safe EOL conversion for build process. (sebb/markt/kkolinko)
fix 47689: Enable the test Ant target to work. (markt)
fix 47712: Loading tcnative was broken in 5.5.28. (rjung)
fix Correct CVE-2009-3548. When installed via the Windows installer and using defaults, don't create an administrative user with a blank password. Additionally, the administrative user is only created if the manager or host-manager web applications are selected for installation. (markt/kkolinko)
update Deprecate the jni Buffer and Thread classes. (rjung)
update Include 32-bit and 64-bit versions of Tomcat Native DLLs into the Windows installer, instead of downloading them from a web site during install, and allow it to automatically select the correct one for the current platform. (kkolinko/mturk)
update Update Windows installer to use NSIS 2.45. (kkolinko)
update Update to commons-pool 1.5.4. This fixes regressions in 1.5.2. (markt)
fix Align server.xml installed by the Windows installer with the one bundled in zip/tar.gz archives. (kkolinko)
fix Encode all property files using ascii escaped UTF-8. (rjung)
fix Correct MD5 generation in the build process. (kkolinko)
Catalina
fix 37848: Re-fix. Don't display info output when there is no terminal. (markt)
fix 39231: Call LoginModule.logout() when using JAASRealm. (markt/kkolinko)
fix 39844: Fix NPE when performing a non-HTTP forward. (billbarker)
fix 41059: Reduce the chances of errors when using ENABLE_CLEAR_REFERENCES. Patch by Curt Arnold. (markt)
add 45255: Add the ability to change session ID on authentication to protect against session fixation attacks. This is disabled by default. (markt/kkolinko)
fix 46967: Better handling of errors when trying to use Manager.randomFile. Based on a patch by Kirk Wolf. (kkolinko)
fix 47518: Correct reference in Valve Javadoc that referred to an old method. Patch provided by Christopher Schultz. (markt)
fix 47537: Return an error page rather than a zero length 200 response if the forward to the login or error page fails during FORM authentication. (markt)
fix 47718: Fix file descriptor leak on context stop/reload. Patch provided by George Sexton. (markt)
fix 47826: Correct error in debug message in org.apache.catalina.Bootstrap (markt)
fix 47963: Ensure that any HTTP status messages are compliant with RFC2616. (markt/kkolinko)
fix 47997: Enable the NamingResourcesMBean to work with non-Server (i.e. Context) containers. Patch provided by Michael Allman. (markt)
fix 48004: Allow applications to set the Server header. (markt)
fix 48007: Improve exception processing in CustomObjectInputStream. (kkolinko)
fix 48049: Fix copy and paste error so NamingContext.destroySubContext() works correctly. Patch provided by gingyang.xu (markt)
update 48097: Make WebappClassLoader to do not swallow AccessControlException. (kkolinko)
fix 48097: Avoid throwing an AccessControlException which can lead to a NoClassDefFoundError on first access of first jsp. (kkolinko/markt)
fix 48322: Single quote characters are not HTTP separators and should not be treated as such in the cookie handling. (markt)
add Provide an option to allow the use of equals characters in cookie values. (markt)
fix 48516: Prevent NPE in JNDIRealm if requested user does not exist. Patch provided by Kevin Conaway. (markt)
fix 48577: Filter URL when displaying missing included page. (markt)
fix 48760: Remove race condition that can result in multiple threads trying to use the same InputStream. (markt)
fix Add an additional permission required by JULI when running under newer JDKs and a security manager. (markt)
fix Close resource stream in WebappClassLoader after read error. (pero)
fix Do not swallow exceptions in ApplicationContextFacade.doPrivileged() (kkolinko)
fix Various related (un)deploy improvements including: better handling of failed (un)deployment; adding checking for invalid zip file entries that don't make sense in a WAR file; and improved validation of WAR file names. These changes address CVE-2009-2693, CVE-2009-2901 and CVE-2009-2902.
Coyote
fix 43327: Allow APR/native connector to work correctly on systems when IPv6 is enabled. (markt)
fix 46950: Support SSL renegotiation with APR/native connector. Note that this requires APR/native 1.1.17 or later. (markt)
fix 47225: Fix error in calculation of a buffer length in the mapper. (markt)
fix 47744: Prevent a medium term memory leak if using SSl with the JSSE provider and also using a security manager. Based on a patch by Greg Vanore. (markt)
fix 47987: Limit size of not found resources cache. (markt)
fix 48109: Ensure InputStream is closed in WebappClassLoader on error conditions. (markt)
fix 48311: APR should not be initialised if the APR life-cycle listener is not enabled. (markt)
fix 48581: Avoid security exception on first access. (markt)
fix 48584: Prevent the APR connector logging an error if the acceptor fails during shutdown since this is expected. (mturk)
fix CVE-2009-3555. Provide option to disable legacy SSL renegotiation. (markt/costin)
fix Fix Windows installer to bundle an up-to-date version of native/APR with it. When asked to install TC-Native it was downloading some very old (1.1.4) version of it from the HEAnet site. (kkolinko)
update Update the native/APR library version bundled with Tomcat to 1.1.20. (kkolinko)
update Update recommended version for native to 1.1.19. (rjung)
fix Remove unneeded line from the method that normalizes decodedURI. (kkolinko)
Jasper
fix 38797: Fix regression in previous fix for this bug. (markt)
fix 41661: Fix thread safety issue in JspConfig.init() (markt)
fix 41824: Need to use canonical rather than binary form when writing code. (markt)
fix 46907: Don't swallow input stream when debug logging is enabled. (markt)
fix 48582: Avoid NPE on background compile. (markt)
Cluster
fix DeltaManager needs to replicate changed attributes even if session gets invalidated. Otherwise session listeners will not see the right data on the secondary nodes. (rjung)
fix Remove unnecessary Java5 dependencies. (markt)
fix 46384: Correct synchronisation issue that could lead to a cluster member disappering permanently. (markt)
fix 47554: Include httpOnly attribute when re-writing session cookie after fail over. (markt)
Webapps
fix 41564: Add some information on installing Tomcat as a service on operating systems with User Account Control, e.g. Vista. (markt)
fix 47656: Add information to documentation on system property replacement in configuration files. (markt)
fix 47769: Clarify the JNDI docs with repect to use of <resource-ref> and related elements, specifically when they are required and when they may be omitted. (markt)
fix 48381: Add information on how Tomcat treats host names to the host configuration documentation. (markt)
add 48530: Add information on the Manager Server Status page to the Manager How-To in the documentation webapp. Based on a patch by Arnaud Espy. (markt)
add 48532: Add information to the BIO/NIO SSL configuration page in the documentation web application to specify how the defaults for the various trust store attributes are determined. (markt)
fix 48686: Fix deleting a host via the Administration web application rather than failign with a HTTP 500 response. (markt)
add Make changelog.xml be directly rendered as HTML by certain browsers. (kkolinko)
Tomcat 5.5.28 (fhanik) released 2009-09-04
General
fix 39194: Make the setting of the classpath consistent for the .sh and .bat startup scripts. (markt/kkolinko)
fix 45880: Include NOTICE file in Windows installer and make sure src files are excluded. (markt)
update Update to NSIS 2.44 (kkolinko)
update Build scripts: Use different values for ${tomcat-dbcp.home} and ${jasper-compiler-jdt.home} in tomcat-deps. Fix download task checks for commons-pool and commons-dbcp. (kkolinko)
add Add the 64-bit windows service binaries to the distribution and get the Windows installer to automatically select the correct one for the current platform. (markt/kkolinko)
update Update to commons-pool 1.5.2. This includes various fixes to prevent deadlocks, reduce syncs and make object allocation occur fairly - i.e. objects are allocated to threads in the order that the threads request them. This fixes a number of issues with the version of DBCP embedded within Tomcat. (markt)
update Update Tomcat Windows service application (procrun) to version 2.0.5. It contains a fix for issue 41538 (mturk)
fix 47149: Explicitly specify encoding when performing filtering during copy, fixcrlf or replace operations in build scripts. Don't add blank lines to files when fixing line endings. Explicitly specify encoding when compiling. (kkolinko)
fix 47464: Some class files were accidentally included into the source distributions of TC 5.5.27. (kkolinko)
docs Document that building Tomcat requires Ant 1.6.2 or later. (kkolinko)
Catalina
fix 37458: Fix sync error that may lead to NPE in rare circumstances. Patch by Konstantin Kolinko. (markt)
fix 37498: Fall back to container log if application log is unavailable during context destruction. (markt)
fix 37794: Handle POSTed parameters when sent with chunked encoding. (markt)
fix 37984: Strip {MD5} as well as {SHA} if present in digest passwords in LDAP directories. (markt)
fix 38553: A lack of certificates is normal if a user doesn't have a certificate. Return a 401 rather than a 400 in this case. (markt)
fix 38570: When checking docBase against appBase, make sure we check for an exact match against the appBase. (markt)
fix 39013: When testing for an invalid docBase, use an exact match for the appBase. (markt)
fix 39396: Only include TRACE in an OPTIONS response if we know it has been enabled. (markt)
fix Remove wrong "No role found" realm debug log message, even if a role was found. (rjung)
fix 39997: Add the SSLRandomSeed option to the AprLifecycleListener to enable faster starts on development systems. (markt)
fix 40380: Fix potential synchronization issue in StandardSession.expire(). (markt)
fix 41407: JAAS Realm now works with CLIENT-CERT authentication. (markt)
add 42419: Add a system property that enables the name of the session cookie and session path parameter to be configured. (markt)
fix 42579: Support both relative and absolute search results in the JNDI Realm implementation. Patch provided by Brandon DuRette. (markt)
fix 42707: Make adding a host alias via JMX take effect immediately. (markt)
fix 43343: Correctly handle requesting a session we are in the middle of persisting. Based on a suggestion by Wade Chandler. (markt/kkolinko)
add 44382: Add support for using httpOnly for session cookies. This is disabled by default. (markt/fhanik)
fix 45576: JAAS Realm now works with DIGEST authentication. (markt)
fix 45628: JARs that do not declare any dependencies should always be considered as fulfilled. (markt)
fix 45933: Don't use a web application provided parser to process TLD files. (markt)
fix 45996: Add Accept-Ranges header to responses from the DefaultServlet with an option to disable it. (markt)
fix 46105: Correctly set URI encoding when replaying a request after FORM authentication. (markt)
fix 46408: Correct possible invalid case in SecurityUtil. (markt)
fix 46552: Return a 400 response rather than a 200 response if the request headers are too large. (markt)
fix 46597: Port all cookie handling changes from Tomcat 6.0.x. (markt)
fix 46606: Make max depth limit for WebDAV servlet configurable. (markt)
fix 46717: Fix hard to reproduce thread safety issue with session expiration. (markt)
fix 46982: Fix DST problem with AccessLogValve. (markt)
fix Improve handling of situation where web application tries to configure logging at the context level but the security policy prevents this. (markt/rjung)
fix Fix an information disclosure vulnerability in a number of the Realms that allowed user enumeration when using FORM authentication. This is CVE-2009-0580. (markt)
fix Fix various WebDAV compliance issues identified by the Litmus test suite. (markt)
fix Use a better default (webapps) for a Host's appBase. (idarwin/markt)
fix 44943: Reduce copy/paste issues caused by different engine names in server.xml. (markt, kkolinko)
fix Remove obsolete classpath entry for commons-logging from start script. It is already present in the classpath set by the manifest in bootstrap.jar. (rjung)
fix 38483: Thread safety issues in AccessLogValve classes. (kkolinko)
add Allow log file encoding to be configured for JULI FileHandler. (kkolinko)
Jasper
fix 36923: Parse deactivated EL expressions correctly. (markt)
fix 37084: Fix JspC compilation with Ant when compiling JSPs that use a custom taglib. (markt/kkolinko)
fix 37515: Add options for Java 1.6 and 1.7 to the JDT compiler. (markt)
fix 38197: Fix tag pooling when tags are used with jsp:attribute. (markt)
fix 38352: Make the directory defined by javax.servlet.context.tempdir readable for JSPs when running under a security manager as required by the specification. (markt)
fix 38797: Revert previous fix for 37933 and implement a new fix that does not have the side effects described in 38797.
fix 38897: Add uri of broken TLD to error message to aid debugging. (markt)
fix 41606: Fix double initialisation of JSPs. Patch provided by Chris Halstead. (markt)
fix 45666: Fix infinite loop on include. Patch provided by Tom Wadzinski. (markt)
fix 46354: Fix ArrayIndexOutOfBoundsException when using org.apache.jasper.runtime.BodyContentImpl.LIMIT_BUFFER=true. Patch provided by Konstantin Kolinko. (markt)
fix 46909: Only include semi-colon in type attribute for <jsp:plugin> when it is required. (markt)
Cluster
fix Fix minor memory leak found by find bugs. (markt, rjung)
fix 40551: Enable the JvmRouteBinderValve to work with PersistentManagers as well as clustering. Patch by Chris Chandler. (markt)
fix 46357: Corrected test for host's parent must be an engine. (markt, rjung)
update 45317: Properly log the value of the state transfer timeout flag. (fhanik, rjung)
fix 45279: Properly close multicast socket. (fhanik, rjung)
fix 45447: Add Spanish resource files. Patch provided by Jesus Marin. (markt, rjung)
fix 46990: Fix synchronization issues in cluster membership reported by FindBugs. Patch provided by Sebb. (markt, rjung)
fix 47389: DeltaManager doesn't do session replication if notifySessionListenersOnReplication=false. Patch by Keiichi Fujino. (fhanik, rjung)
fix Separate statistics counter lock in FastAsyncSocketSender from inherited DataSender lock to reduce blocking during failed node detection. (rjung)
fix Handle situation session ID rewriting on fail-over with parallel requests from the same client. (pero)
fix 43641: Use of bind attribute for membership element breaks multicast. (rjung)
Webapps
fix Fix CVE-2009-0781. XSS in calendar example. (markt)
fix 36574: Fix broken PDFs. (markt)
fix 39603: Admin app only showed ROOT web application when clustering was enabled. (markt)
fix 47032: Fix /status/all in Manager webapp when using the PersistentManager. (markt)
fix 47235: Remove use of autoReconnect from MySQL examples. (mark)
fix 46509: Use correct link on error page in JSP security example. Patch provided by Michael Moody. (markt)
fix 46562: Close file when reading has finished when using SSI. (markt)
Coyote
fix 37869: Correctly extract client certificates, including the full certificate chain when using the APR/native HTTP connector. (markt)
fix 39637: Correctly extract client certificates, including the full certificate chain when using the AJP connectors. Patch by Patrik Schnellmann. (markt)
update Set remote port for AJP connectors from the optional request attribute AJP_REMOTE_PORT. (rjung)
fix 45026: Never return an empty HTTP status reason phrase. mod_jk and httpd 2.x do not like that. (rjung)
fix 45528: An invalid SSL configuration could cause an infinite logging loop on startup. (markt)
fix 46984: Reject requests with invalid HTTP methods with a 400 rather than a 501. (markt)
update Update the APR/native connector to 1.1.16. (markt, kkolinko)
fix Correct potential DOS issue in Java AJP connector when processing invalid request headers. This is CVE-2009-0033. (markt)
fix Make DateTool thread safe. (fhanik)
2011-03-17 22:22:56 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2006-01-03 19:12:37 +01:00
|
|
|
HOMEPAGE= http://tomcat.apache.org/
|
|
|
|
COMMENT= The Apache Project's Java Servlet 2.4 and JSP 2.0 server
|
|
|
|
|
Update www/apache-tomcat55 to 5.5.33
- Addresses SA http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2011-0013
- Added LICENSE entry to pkgsrc
- Drop MAINTAINERship
- Changes since 5.5.28 below
Tomcat 5.5.33 (jim)
General
fix Fix permissions of version.sh in bin tarball. (rjung)
fix 45332, 45852, 50140: Backport numerous improvements to the Windows installer. Specify the correct encoding (the current Windows code page) rather than assuming UTF-8 when creating tomcat-users.xml - 45332, 45852. Update install/uninstall icons. Create an installation log. Allow 32-bit JVMs to be selected when installing on a 64-bit platform. Do not ignore install directory if it is specified with the command line switch on 64-bit platforms - 50140. Add support for the /? command line switch. Replace the .ini files with the script equivalents. Provide the ability to edit the roles for the added user. Clean up fully after installation. Add DetailPrint statements for operations that may take time. Improve the descriptions of the components. (kkolinko, mturk, markt)
add Add roles (admin-gui, admin-script, manager-gui, manager-script, manager-jmx, manager-status) to the Manager, Host Manager and Admin applications to allow more fine-grained control of permissions. The old roles are deprecated but will still work in the same way. (kkolinko)
Catalina
fix Improve HTTP specification compliance in support of Accept-Language header. (kkolinko)
fix 50620: Stop exceptions that occur during Session.endAccess() from preventing the normal completion of Request.recycle(). (markt/kkolinko)
Coyote
update Remove JSSE13Factory, JSSE13SocketFactory classes, as Tomcat 5.5 always runs on JRE 1.4 or later. (kkolinko)
fix 50325: When the JVM indicates support for RFC 5746, disable Tomcat's allowUnsafeLegacyRenegotiation configuration attribute and use the JVM configuration to control renegotiation. (markt/kkolinko)
Tomcat 5.5.32 (jim) released 2011-02-01
General
update Update to Commons Daemon 1.0.5. (mturk)
update Update to commons-pool 1.5.5. (markt)
fix Ensure POM files have correct line endings in source distributions. (rjung/markt)
Catalina
add 43960: Expose available property of StandardWrapper via JMX. (markt)
fix 50131: Avoid possible NPE in debug output in PersistentValve. Patch provided by sebb. (kkolinko)
fix 50413: Ensure 304s are not returned when using static files as error pages. (markt/kkolinko)
fix Avoid unnecessary cast in StandardContext. (markt)
fix 50460: Avoid a possible memory leak caused by using a cached exception instance. (kkolinko)
fix 50550: When a new directory is created (e.g. via WebDAV) ensure that a subsequent request for that directory does not result in a 404 response. (markt/kkolinko)
Coyote
fix 47913: Return the IP address rather than null for getRemoteHost() with the APR connector if the IP address does not resolve. (markt)
fix 49521: Disable scanning for a free port in Jk AJP/1.3 connector by default. Do not change maxPort field value of ChannelSocket in its setPort() and init() methods. Add support for maxPort attribute on a Connector element as a synonym for channelSocket.maxPort. (kkolinko)
Jasper
fix 49935: Handle compilation of recursive tag files. (markt)
Cluster
fix Improve sending an access message in DeltaManager. maxInactiveInterval of not Manager but the session is used. If maxInactiveInterval is negative, an access message is not sending. (kfujino)
fix 50547: Add time stamp for CHANGE_SESSION_ID message and SESSION_EXPIRED message. (kfujino)
Webapps
add 50294: Add more information to documentation regarding format of configuration files. Patch provided by Luke Meyer. (markt)
update Improve documentation of database connection factory. (rjung)
fix Improve filtering of Manager display output. (kkolinko)
update Configure the Admin, Manager and Host-Manager web applications to use HttpOnly flag for their session cookies. (kkolinko)
Tomcat 5.5.31 (jim) released 2010-09-16
General
fix Add svn:executable property to some script files and remove it from non-executable files. (rjung)
Catalina
fix 38113 Add system property (ALLOW_EMPTY_QUERY_STRING) to allow spec compliant handling of query string. (markt/kkolinko/jim)
fix Return a copy of the URL being used from the webapp class loader, not the original array. (kkolinko/markt)
fix 49749: Use HttpOnly flag of current context when genrating a Single-Sign-On cookie. (markt)
Coyote
fix 49718: Fix regression in previous fix for 46984 caused by the patch being applied to the wrong section of code. The regression caused HTTP 0.9 requests to fail. (markt)
Webapps
fix 49585: Update JSVC documentation to reflect new packaging of Commons Daemon. (markt)
fix 49774: Add support for SSL with either JSSE or APR baaed connectors to the admin app. (markt)
Cluster
fix Add Null check when CHANGE_SESSION_ID message received. (kfujino)
Tomcat 5.5.30 (jim) released 2010-07-09
General
update Update to Commons Daemon 1.0.2. Use service launcher (procrun) from the Commons Daemon release. Do not keep a copy of it in our source tree. (mturk/kkolinko)
update Update to NSIS 2.46. (kkolinko)
update Update to Apache Commons DBCP 1.3. (markt)
fix 48840: Swallow output (if any) from use of cd when determining $CATALINA_HOME in catalina.sh and tool-wrapper.sh scripts. Based on patch provided by mdietze. (markt/kkolinko)
fix 49236: Do not use indexing when packing Tomcat JARs. (kkolinko)
fix 48990: Build windows distributions correctly on Linux and add support for the skip.installer property. (kkolinko)
Catalina
fix Fix CVE-2010-1157. Prevent possible disclosure of host name or IP address via the HTTP WWW-Authenticate header when using BASIC or DIGEST authentication. (markt)
fix 44041, 48694: Fix duplicate class definition under load. Avoid possible deadlock in class loading. (markt/kkolinko)
fix 47774: Ensure web application class loader is used when calling session listeners. (kfujino)
update 48179: Improve error handling when reading or writing TLD cache file ("tldCache.ser"). (kkolinko)
fix 49398: ByteChunk.indexOf(String, int, int, int) could not find a string of length 1. (kkolinko)
fix Ensure all required i18n messages are present for the APR/native Listener. (kkolinko)
fix Fix possible overflows when calculating session statistics. (kkolinko)
fix 49424: Avoid NPE if client provides no data with a chunked POST request. (markt)
fix Minor code cleanup in AccessLogValve and FastCommonAccessLogValve classes. (kkolinko)
Coyote
fix Arrange filter logic. (jfclere)
fix 48613: Only attempt APR/native connector initialization if the Listener element has been specified in server.xml. (fhanik/kkolinko)
fix 48843: Prevent possible deadlock and correct queue handling for worker allocation in APR connectors. (kkolinko)
fix Use chunked encoding for http 1.1 responses with no content-length (regardless of keep-alive) so client can differentiate between complete and partial responses. (markt)
Jasper
fix 42390, 48616: Fix compilation error with some nested tag files and simple tags. Do not declare or synchronize scripting variables for JSP fragments since they are scriptless. (kkolinko)
fix 47878: Return “404”s rather than a permanent “500” if a JSP is deleted. Make sure first response after deletion is correct. (markt/kkolinko)
fix 48701: Add a system property to allow disabling enforcement of JSP.5.3. The specification recommends, but does not require, this enforcement. (kkolinko)
fix 48580: Prevent AccessControlException when running under a security manager if the first access is to a JSP that uses a FunctionMapper. (markt/kknko)
fix 49196: Avoid NullPointerException in PageContext.getErrorData() if an error-handling JSP page is called directly. (kkolinko)
Cluster
fix 48717: When a node joins a cluster and it receives all the current sessions, ensure the sessionCreated event is fired if the Manager is configured to replicate session events. (markt)
fix 49170: Do not send duplicated session. (kfujino)
fix 49445: When session ID is changed after authentication, ensure the DeltaManager replicates the change in ID to the other nodes in the cluster. (kfujino)
Webapps
add Backport documentation stylesheet improvements from Tomcat 6: use CSS styles to provide printer-friendly layout, support generation of TOC tables, support links revision numbers, use underscores instead of spaces in anchor names. (kkolinko)
Tomcat 5.5.29 (fhanik) released 2010-04-20
General
add 37847: Make location and filename of catalina.out configurable in catalina.sh. (fhanik/kkolinko)
fix 47609: Provide fail-safe EOL conversion for build process. (sebb/markt/kkolinko)
fix 47689: Enable the test Ant target to work. (markt)
fix 47712: Loading tcnative was broken in 5.5.28. (rjung)
fix Correct CVE-2009-3548. When installed via the Windows installer and using defaults, don't create an administrative user with a blank password. Additionally, the administrative user is only created if the manager or host-manager web applications are selected for installation. (markt/kkolinko)
update Deprecate the jni Buffer and Thread classes. (rjung)
update Include 32-bit and 64-bit versions of Tomcat Native DLLs into the Windows installer, instead of downloading them from a web site during install, and allow it to automatically select the correct one for the current platform. (kkolinko/mturk)
update Update Windows installer to use NSIS 2.45. (kkolinko)
update Update to commons-pool 1.5.4. This fixes regressions in 1.5.2. (markt)
fix Align server.xml installed by the Windows installer with the one bundled in zip/tar.gz archives. (kkolinko)
fix Encode all property files using ascii escaped UTF-8. (rjung)
fix Correct MD5 generation in the build process. (kkolinko)
Catalina
fix 37848: Re-fix. Don't display info output when there is no terminal. (markt)
fix 39231: Call LoginModule.logout() when using JAASRealm. (markt/kkolinko)
fix 39844: Fix NPE when performing a non-HTTP forward. (billbarker)
fix 41059: Reduce the chances of errors when using ENABLE_CLEAR_REFERENCES. Patch by Curt Arnold. (markt)
add 45255: Add the ability to change session ID on authentication to protect against session fixation attacks. This is disabled by default. (markt/kkolinko)
fix 46967: Better handling of errors when trying to use Manager.randomFile. Based on a patch by Kirk Wolf. (kkolinko)
fix 47518: Correct reference in Valve Javadoc that referred to an old method. Patch provided by Christopher Schultz. (markt)
fix 47537: Return an error page rather than a zero length 200 response if the forward to the login or error page fails during FORM authentication. (markt)
fix 47718: Fix file descriptor leak on context stop/reload. Patch provided by George Sexton. (markt)
fix 47826: Correct error in debug message in org.apache.catalina.Bootstrap (markt)
fix 47963: Ensure that any HTTP status messages are compliant with RFC2616. (markt/kkolinko)
fix 47997: Enable the NamingResourcesMBean to work with non-Server (i.e. Context) containers. Patch provided by Michael Allman. (markt)
fix 48004: Allow applications to set the Server header. (markt)
fix 48007: Improve exception processing in CustomObjectInputStream. (kkolinko)
fix 48049: Fix copy and paste error so NamingContext.destroySubContext() works correctly. Patch provided by gingyang.xu (markt)
update 48097: Make WebappClassLoader to do not swallow AccessControlException. (kkolinko)
fix 48097: Avoid throwing an AccessControlException which can lead to a NoClassDefFoundError on first access of first jsp. (kkolinko/markt)
fix 48322: Single quote characters are not HTTP separators and should not be treated as such in the cookie handling. (markt)
add Provide an option to allow the use of equals characters in cookie values. (markt)
fix 48516: Prevent NPE in JNDIRealm if requested user does not exist. Patch provided by Kevin Conaway. (markt)
fix 48577: Filter URL when displaying missing included page. (markt)
fix 48760: Remove race condition that can result in multiple threads trying to use the same InputStream. (markt)
fix Add an additional permission required by JULI when running under newer JDKs and a security manager. (markt)
fix Close resource stream in WebappClassLoader after read error. (pero)
fix Do not swallow exceptions in ApplicationContextFacade.doPrivileged() (kkolinko)
fix Various related (un)deploy improvements including: better handling of failed (un)deployment; adding checking for invalid zip file entries that don't make sense in a WAR file; and improved validation of WAR file names. These changes address CVE-2009-2693, CVE-2009-2901 and CVE-2009-2902.
Coyote
fix 43327: Allow APR/native connector to work correctly on systems when IPv6 is enabled. (markt)
fix 46950: Support SSL renegotiation with APR/native connector. Note that this requires APR/native 1.1.17 or later. (markt)
fix 47225: Fix error in calculation of a buffer length in the mapper. (markt)
fix 47744: Prevent a medium term memory leak if using SSl with the JSSE provider and also using a security manager. Based on a patch by Greg Vanore. (markt)
fix 47987: Limit size of not found resources cache. (markt)
fix 48109: Ensure InputStream is closed in WebappClassLoader on error conditions. (markt)
fix 48311: APR should not be initialised if the APR life-cycle listener is not enabled. (markt)
fix 48581: Avoid security exception on first access. (markt)
fix 48584: Prevent the APR connector logging an error if the acceptor fails during shutdown since this is expected. (mturk)
fix CVE-2009-3555. Provide option to disable legacy SSL renegotiation. (markt/costin)
fix Fix Windows installer to bundle an up-to-date version of native/APR with it. When asked to install TC-Native it was downloading some very old (1.1.4) version of it from the HEAnet site. (kkolinko)
update Update the native/APR library version bundled with Tomcat to 1.1.20. (kkolinko)
update Update recommended version for native to 1.1.19. (rjung)
fix Remove unneeded line from the method that normalizes decodedURI. (kkolinko)
Jasper
fix 38797: Fix regression in previous fix for this bug. (markt)
fix 41661: Fix thread safety issue in JspConfig.init() (markt)
fix 41824: Need to use canonical rather than binary form when writing code. (markt)
fix 46907: Don't swallow input stream when debug logging is enabled. (markt)
fix 48582: Avoid NPE on background compile. (markt)
Cluster
fix DeltaManager needs to replicate changed attributes even if session gets invalidated. Otherwise session listeners will not see the right data on the secondary nodes. (rjung)
fix Remove unnecessary Java5 dependencies. (markt)
fix 46384: Correct synchronisation issue that could lead to a cluster member disappering permanently. (markt)
fix 47554: Include httpOnly attribute when re-writing session cookie after fail over. (markt)
Webapps
fix 41564: Add some information on installing Tomcat as a service on operating systems with User Account Control, e.g. Vista. (markt)
fix 47656: Add information to documentation on system property replacement in configuration files. (markt)
fix 47769: Clarify the JNDI docs with repect to use of <resource-ref> and related elements, specifically when they are required and when they may be omitted. (markt)
fix 48381: Add information on how Tomcat treats host names to the host configuration documentation. (markt)
add 48530: Add information on the Manager Server Status page to the Manager How-To in the documentation webapp. Based on a patch by Arnaud Espy. (markt)
add 48532: Add information to the BIO/NIO SSL configuration page in the documentation web application to specify how the defaults for the various trust store attributes are determined. (markt)
fix 48686: Fix deleting a host via the Administration web application rather than failign with a HTTP 500 response. (markt)
add Make changelog.xml be directly rendered as HTML by certain browsers. (kkolinko)
Tomcat 5.5.28 (fhanik) released 2009-09-04
General
fix 39194: Make the setting of the classpath consistent for the .sh and .bat startup scripts. (markt/kkolinko)
fix 45880: Include NOTICE file in Windows installer and make sure src files are excluded. (markt)
update Update to NSIS 2.44 (kkolinko)
update Build scripts: Use different values for ${tomcat-dbcp.home} and ${jasper-compiler-jdt.home} in tomcat-deps. Fix download task checks for commons-pool and commons-dbcp. (kkolinko)
add Add the 64-bit windows service binaries to the distribution and get the Windows installer to automatically select the correct one for the current platform. (markt/kkolinko)
update Update to commons-pool 1.5.2. This includes various fixes to prevent deadlocks, reduce syncs and make object allocation occur fairly - i.e. objects are allocated to threads in the order that the threads request them. This fixes a number of issues with the version of DBCP embedded within Tomcat. (markt)
update Update Tomcat Windows service application (procrun) to version 2.0.5. It contains a fix for issue 41538 (mturk)
fix 47149: Explicitly specify encoding when performing filtering during copy, fixcrlf or replace operations in build scripts. Don't add blank lines to files when fixing line endings. Explicitly specify encoding when compiling. (kkolinko)
fix 47464: Some class files were accidentally included into the source distributions of TC 5.5.27. (kkolinko)
docs Document that building Tomcat requires Ant 1.6.2 or later. (kkolinko)
Catalina
fix 37458: Fix sync error that may lead to NPE in rare circumstances. Patch by Konstantin Kolinko. (markt)
fix 37498: Fall back to container log if application log is unavailable during context destruction. (markt)
fix 37794: Handle POSTed parameters when sent with chunked encoding. (markt)
fix 37984: Strip {MD5} as well as {SHA} if present in digest passwords in LDAP directories. (markt)
fix 38553: A lack of certificates is normal if a user doesn't have a certificate. Return a 401 rather than a 400 in this case. (markt)
fix 38570: When checking docBase against appBase, make sure we check for an exact match against the appBase. (markt)
fix 39013: When testing for an invalid docBase, use an exact match for the appBase. (markt)
fix 39396: Only include TRACE in an OPTIONS response if we know it has been enabled. (markt)
fix Remove wrong "No role found" realm debug log message, even if a role was found. (rjung)
fix 39997: Add the SSLRandomSeed option to the AprLifecycleListener to enable faster starts on development systems. (markt)
fix 40380: Fix potential synchronization issue in StandardSession.expire(). (markt)
fix 41407: JAAS Realm now works with CLIENT-CERT authentication. (markt)
add 42419: Add a system property that enables the name of the session cookie and session path parameter to be configured. (markt)
fix 42579: Support both relative and absolute search results in the JNDI Realm implementation. Patch provided by Brandon DuRette. (markt)
fix 42707: Make adding a host alias via JMX take effect immediately. (markt)
fix 43343: Correctly handle requesting a session we are in the middle of persisting. Based on a suggestion by Wade Chandler. (markt/kkolinko)
add 44382: Add support for using httpOnly for session cookies. This is disabled by default. (markt/fhanik)
fix 45576: JAAS Realm now works with DIGEST authentication. (markt)
fix 45628: JARs that do not declare any dependencies should always be considered as fulfilled. (markt)
fix 45933: Don't use a web application provided parser to process TLD files. (markt)
fix 45996: Add Accept-Ranges header to responses from the DefaultServlet with an option to disable it. (markt)
fix 46105: Correctly set URI encoding when replaying a request after FORM authentication. (markt)
fix 46408: Correct possible invalid case in SecurityUtil. (markt)
fix 46552: Return a 400 response rather than a 200 response if the request headers are too large. (markt)
fix 46597: Port all cookie handling changes from Tomcat 6.0.x. (markt)
fix 46606: Make max depth limit for WebDAV servlet configurable. (markt)
fix 46717: Fix hard to reproduce thread safety issue with session expiration. (markt)
fix 46982: Fix DST problem with AccessLogValve. (markt)
fix Improve handling of situation where web application tries to configure logging at the context level but the security policy prevents this. (markt/rjung)
fix Fix an information disclosure vulnerability in a number of the Realms that allowed user enumeration when using FORM authentication. This is CVE-2009-0580. (markt)
fix Fix various WebDAV compliance issues identified by the Litmus test suite. (markt)
fix Use a better default (webapps) for a Host's appBase. (idarwin/markt)
fix 44943: Reduce copy/paste issues caused by different engine names in server.xml. (markt, kkolinko)
fix Remove obsolete classpath entry for commons-logging from start script. It is already present in the classpath set by the manifest in bootstrap.jar. (rjung)
fix 38483: Thread safety issues in AccessLogValve classes. (kkolinko)
add Allow log file encoding to be configured for JULI FileHandler. (kkolinko)
Jasper
fix 36923: Parse deactivated EL expressions correctly. (markt)
fix 37084: Fix JspC compilation with Ant when compiling JSPs that use a custom taglib. (markt/kkolinko)
fix 37515: Add options for Java 1.6 and 1.7 to the JDT compiler. (markt)
fix 38197: Fix tag pooling when tags are used with jsp:attribute. (markt)
fix 38352: Make the directory defined by javax.servlet.context.tempdir readable for JSPs when running under a security manager as required by the specification. (markt)
fix 38797: Revert previous fix for 37933 and implement a new fix that does not have the side effects described in 38797.
fix 38897: Add uri of broken TLD to error message to aid debugging. (markt)
fix 41606: Fix double initialisation of JSPs. Patch provided by Chris Halstead. (markt)
fix 45666: Fix infinite loop on include. Patch provided by Tom Wadzinski. (markt)
fix 46354: Fix ArrayIndexOutOfBoundsException when using org.apache.jasper.runtime.BodyContentImpl.LIMIT_BUFFER=true. Patch provided by Konstantin Kolinko. (markt)
fix 46909: Only include semi-colon in type attribute for <jsp:plugin> when it is required. (markt)
Cluster
fix Fix minor memory leak found by find bugs. (markt, rjung)
fix 40551: Enable the JvmRouteBinderValve to work with PersistentManagers as well as clustering. Patch by Chris Chandler. (markt)
fix 46357: Corrected test for host's parent must be an engine. (markt, rjung)
update 45317: Properly log the value of the state transfer timeout flag. (fhanik, rjung)
fix 45279: Properly close multicast socket. (fhanik, rjung)
fix 45447: Add Spanish resource files. Patch provided by Jesus Marin. (markt, rjung)
fix 46990: Fix synchronization issues in cluster membership reported by FindBugs. Patch provided by Sebb. (markt, rjung)
fix 47389: DeltaManager doesn't do session replication if notifySessionListenersOnReplication=false. Patch by Keiichi Fujino. (fhanik, rjung)
fix Separate statistics counter lock in FastAsyncSocketSender from inherited DataSender lock to reduce blocking during failed node detection. (rjung)
fix Handle situation session ID rewriting on fail-over with parallel requests from the same client. (pero)
fix 43641: Use of bind attribute for membership element breaks multicast. (rjung)
Webapps
fix Fix CVE-2009-0781. XSS in calendar example. (markt)
fix 36574: Fix broken PDFs. (markt)
fix 39603: Admin app only showed ROOT web application when clustering was enabled. (markt)
fix 47032: Fix /status/all in Manager webapp when using the PersistentManager. (markt)
fix 47235: Remove use of autoReconnect from MySQL examples. (mark)
fix 46509: Use correct link on error page in JSP security example. Patch provided by Michael Moody. (markt)
fix 46562: Close file when reading has finished when using SSI. (markt)
Coyote
fix 37869: Correctly extract client certificates, including the full certificate chain when using the APR/native HTTP connector. (markt)
fix 39637: Correctly extract client certificates, including the full certificate chain when using the AJP connectors. Patch by Patrik Schnellmann. (markt)
update Set remote port for AJP connectors from the optional request attribute AJP_REMOTE_PORT. (rjung)
fix 45026: Never return an empty HTTP status reason phrase. mod_jk and httpd 2.x do not like that. (rjung)
fix 45528: An invalid SSL configuration could cause an infinite logging loop on startup. (markt)
fix 46984: Reject requests with invalid HTTP methods with a 400 rather than a 501. (markt)
update Update the APR/native connector to 1.1.16. (markt, kkolinko)
fix Correct potential DOS issue in Java AJP connector when processing invalid request headers. This is CVE-2009-0033. (markt)
fix Make DateTool thread safe. (fhanik)
2011-03-17 22:22:56 +01:00
|
|
|
LICENSE= apache-2.0
|
|
|
|
|
2012-04-04 13:34:27 +02:00
|
|
|
TOMCAT_VERSION= 5.5.35
|
2006-01-03 19:12:37 +01:00
|
|
|
|
2006-07-07 05:02:13 +02:00
|
|
|
USE_JAVA= run
|
2006-01-03 19:12:37 +01:00
|
|
|
# This needs java 1.5 or higher.
|
|
|
|
USE_JAVA2= 1.5
|
|
|
|
|
2008-05-26 04:13:14 +02:00
|
|
|
USE_TOOLS+= pax
|
|
|
|
|
2007-02-22 20:26:05 +01:00
|
|
|
TOMCAT_LIB= ${PREFIX}/tomcat
|
2006-01-03 19:12:37 +01:00
|
|
|
CATALINA_DIR= Catalina/localhost
|
|
|
|
|
|
|
|
EGDIR= ${TOMCAT_LIB}/share/examples/apache-tomcat
|
|
|
|
EGDIR2= ${EGDIR}/${CATALINA_DIR}
|
|
|
|
|
2006-01-21 19:57:40 +01:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
2006-01-03 19:12:37 +01:00
|
|
|
|
2006-01-21 19:57:40 +01:00
|
|
|
# Work around a bug in NetBSD 2.0's pax-as-tar (bin/27228)
|
|
|
|
.if !empty(MACHINE_PLATFORM:MNetBSD-2.0*)
|
2008-05-25 23:42:20 +02:00
|
|
|
EXTRACT_USING= bsdtar
|
2006-01-21 19:57:40 +01:00
|
|
|
.endif
|
2006-01-03 19:12:37 +01:00
|
|
|
|
|
|
|
PKG_SYSCONFDIR.apache-tomcat= ${TOMCAT_LIB}/conf
|
|
|
|
MAKE_DIRS= ${PKG_SYSCONFDIR.apache-tomcat}/${CATALINA_DIR}
|
|
|
|
|
2007-02-22 20:26:05 +01:00
|
|
|
CONFLICTS+= jakarta-tomcat55-[0-9]*
|
|
|
|
CONFLICTS+= jakarta-tomcat-[0-9]*
|
2006-01-03 19:12:37 +01:00
|
|
|
|
|
|
|
RCD_SCRIPTS= tomcat
|
|
|
|
CFILES= server.xml web.xml tomcat-users.xml
|
|
|
|
CFILES+= catalina.policy catalina.properties
|
|
|
|
CF2FILES= manager.xml
|
|
|
|
|
|
|
|
CONF_FILES= # empty
|
|
|
|
.for f in ${CFILES}
|
|
|
|
CONF_FILES+= ${EGDIR}/${f} ${PKG_SYSCONFDIR}/${f}
|
|
|
|
.endfor
|
|
|
|
.for f in ${CF2FILES}
|
|
|
|
CONF_FILES+= ${EGDIR2}/${f} ${PKG_SYSCONFDIR}/${CATALINA_DIR}/${f}
|
|
|
|
.endfor
|
|
|
|
|
2006-07-07 05:11:48 +02:00
|
|
|
FILES_SUBST+= JAVA_HOME=${PKG_JAVA_HOME:Q} TOMCAT_LIB=${TOMCAT_LIB:Q}
|
2006-01-03 19:12:37 +01:00
|
|
|
|
|
|
|
# If we were going to build jsvc, this would be a start
|
|
|
|
# post-extract:
|
|
|
|
# @(cd ${WRKSRC} && ${GZCAT} bin/jsvc.tar.gz | ${TAR} xf - )
|
|
|
|
#
|
|
|
|
# post-configure:
|
|
|
|
# @(cd ${WRKSRC}/jsvc-src ; ${SH} ./configure)
|
|
|
|
|
|
|
|
do-build:
|
2008-09-10 11:53:31 +02:00
|
|
|
${MV} ${WRKSRC}/conf ${WRKDIR}
|
2008-06-20 03:09:05 +02:00
|
|
|
|
|
|
|
INSTALLATION_DIRS+= ${EGDIR2} ${TOMCAT_LIB}
|
|
|
|
|
2006-01-03 19:12:37 +01:00
|
|
|
do-install:
|
|
|
|
.for f in ${CFILES}
|
2008-06-20 03:09:05 +02:00
|
|
|
${INSTALL_DATA} ${WRKDIR}/conf/${f} ${DESTDIR}${EGDIR}
|
2006-01-03 19:12:37 +01:00
|
|
|
.endfor
|
|
|
|
.for f in ${CF2FILES}
|
2008-06-20 03:09:05 +02:00
|
|
|
${INSTALL_DATA} ${WRKDIR}/conf/${CATALINA_DIR}/${f} ${DESTDIR}${EGDIR2}
|
2006-01-03 19:12:37 +01:00
|
|
|
.endfor
|
Update apache-tomcat55 to 5.5.23.
Tomcat 5.5.23 (fhanik)
Catalina
41608 Make log levels consistent when Servlet.service() throws an exception. (markt)
41666 Correct handling of boundary conditions for If-Unmodified-Since and If-Modified-Since headers. Patch provided by Suzuki Yuichiro. (markt)
41674 Fix error messages when parsing context.xml that incorrectly referred to web.xml. (markt)
41739 Correct handling of servlets with a load-on-startup value of zero. These are now the first servlets to be started. (markt)
Coyote
Requests with multiple content-length headers are now rejected. (markt)
Tomcat 5.5.22 (fhanik)
General
Fix regression in build that prevented connectors from building. (markt)
Tomcat 5.5.21 (fhanik)
Catalina
41401: StandardService.getConnectorNames() return array of Connector JMX objectnames. (pero)
29727: If env-entry values in web.xml are changed then ensure new values are applied when context is reloaded. (markt)
34956: Ensure request and response objects passed to a RequestDispatcher meet the requirements of SRV.8.2 and SRV.14.2.5.1. This is disabled by default. The Java option -Dorg.apache.catalina.STRICT_SERVLET_COMPLIANCE=true is required to enable this test. (markt)
36274: When including static content with the DefaultServlet also treat content types ending in xml as text. (markt)
36976: Don't use CATALINA_OPTS when stopping Tomcat. This allows options for starting and stopping to be set on JAVA_OPTS and options for starting only to be set on CATALINA_OPTS. Without this fix, some startup options (eg the port for remote JMX) would cause stop to fail. Based on a fix suggested by Michael Vorburger. (markt)
37070: Update mbean name documentation to include the StandardWrapper. (markt)
37356: Ensure sessions time out correctly. This has been fixed by removing the accessCount feature by default. This feature prevents the session from timing out whilst requests that last longer than the session time out are being processed. This feature is enabled by setting the Java option -Dorg.apache.catalina.STRICT_SERVLET_COMPLIANCE=true The feature is now implemented with synchronization which addresses the thread safety issues associated with the original bug report. (markt)
37439: Update documentation for Engine component to add the requirement that the name must be unique. (markt)
37458: Add syncs to the WebappClassloader to address rare issues when multiple threads attempt to load the same class concurrently. (markt)
37509: Do not remove whitespace from the end of values defined in logging.properties files. (markt)
38198: Add reference to Context documentation from Host documentation that explains how Context name is obtained from the Context filename. (markt)
39088: Prevent infinte loops when an exception is thrown that returns itself for getRootCause(). Based on a patch by Wouter Zelle. (markt)
39436: Correct MIME type for SVG. (markt)
39627: JULI no longer ignores a ".level=XXX" directive in logging.properties. Patch provided by Roger Keays and Richard Fearn. (markt)
39724: Removing the last valve from a pipeline did not return the pipeline to the original state. Patch provided by David Gagon. (markt)
40367: Update JK auto configuration documentation to clarify that workers.properties must also exist. (markt)
40524: HttpServletRequest.getAuthType() now returns CLIENT_CERT rather than CLIENT-CERT for certificate authentication as per the spec. Note that web.xml continues to use CLIENT-CERT to specify the certificate authentication should be used. (markt)
40526: Add support for JPDA_OPTS to catalina.bat and add a JPDA_SUSPEND environment variable to both startup scripts. Patch provided by Kurt Roy. (markt)
40528: Add missing message localisations as provided by Ben Clifford. (markt)
40585: Fix parameterised constructor for o.a.juli.FileHandler so parameters have an effect. (markt)
40625: Stop CGIServlet swallowing the root cause of an exception. Patch provided by Takayoshi Kimura. (markt)
40723: Correct table creation example in JavaDoc for JDBCAccessLogValve. (markt)
40802: Add jsp-api.jar to fileset in catalina-tasks.xml as provided by Daniel Santos. (pero)
40817: Correct problem where CGI scripts in the root of the ROOT context threw a StringIndexOutOfBoundsException. (markt)
Set the SCRIPT_FILENAME environment variable required by PHP when using the CGIServlet to execute PHP. (markt)
40823: Update context doc to clarify use of ROOT.xml, multi-level context paths and to further discourage use of server.xml (markt)
40844: Add additional syncs to JDBCRealm to resolve NPE when two users try to authenticate using DIGEST authentication at the same time. (markt)
40860: Log exceptions and other problems during parameter processing. (markt)
40901: Encode directory listing output. Based on a patch provided by Chris Halstead. (markt)
40929: Correct JavaDoc for StandardCalssLoader. (markt)
41008: Allow POST to be used for indexed queries with CGI Servlet. Patch provided by Chris Halstead. (markt)
41020: Improve error message when custom error report Valve fails to load. Also remove requirement that custom error report Valves extend ValveBase. (markt)
41217: Set secure attribute on SSO cookie when cookie is created during a secure request. Patch provided by Chris Halstead. (markt)
Ensure Accept-Language headers conform to RFC 2616. Ignore them if they do not. (markt)
Make provided instances of RequestDispatcher thread safe. (markt)
Fix formatting of CGI variable SCRIPT_NAME. (markt)
34643: Improved documentation for per-user / per-session clientAuth usage in SSL Authenticator. Docs provided by jack and Ralf Hauser. (yoavs)
40668: Update release notes and readme files specific to v5.5.20 to notify users of missing MailSessionFactory in distribution, suggest workarounds, and link to relevant Bugzilla issue. (yoavs)
37977: adapt BUILDING.txt and net build.xml for SVN. Patch by Christopher Sahnwaldt. (yoavs)
39055: Link to sample workaround code for using JSR160 JMX monitoring with a local firewall. Thanks to George Lindholm for the patch. (yoavs)
39476: add xml declaration to most build.xml files, as suggested by Gregory S. Hoerner Sr. (yoavs)
40326: stop using File#deleteOnExit in DefaultServlet to avoid JVM memory leak, as suggested by quartz. (yoavs)
40192: update setup.html notes regarding Windows tray icon. (yoavs)
40177: add more warnings to documentation about RequestDumperValve character encoding. (yoavs)
39255: NPE in AuthenticatorBase when logging level is set to DEBUG and no prinicpal found. (yoavs)
41437: Make log messages and loglevel consistent during Context start. Patch provided by Suzuki Yuichiro. (markt)
Coyote
38332: Add backlog attribute to ChannelSocket as provided by Takayoshi Kimura. (pero)
Backport packetSize feature from Tomcat 6.0.x at standard coyote AJP Jk handler. (pero)
40771: Fix implementation of SavedRequestInputFilter.doRead() so POST data may be read using a Valve or Filter. Patch provided by Michael Dufel. (markt)
41017: Restore behaviour of MessageBytes.setString(null). (remm/markt)
41057: Modify StringCache to add a configurable upper bound to the length of cached strings. (remm/markt)
38774: Check javax.net.ssl.keyStorePassword system property as a secondary source for keystore password in JSSESocketFactory, as suggested by Ted X. Toth. (yoavs)
39402: Modify existing Vary HTTP header, rather than overwrite it, if it exists when using GZip compression. Patch by Matthew Cooke. (yoavs)
40241: Catch Exceptions instead of Throwables in Default and SSI servlets. Also improve relevant logging while we're at it. (yoavs)
40133: Better error message when context name is not available on startup, as suggested by Andreas Plesner Jacobsen. (yoavs)
Jasper
39975: don't have static Log references to prevent classloader leaks. (yoavs)
40104: When displaying JSP source after an exception, handle included files. (markt)
40797: This was a regression as a result of the fix for 33407. TLD validation was failing as a result of the use of the escape character (0x1b) as a temporary replacement for \$. An alternative character (0xe000) from the unicode private use range is now used. (markt)
41057: Make jsp:plugin output XHTML compliant. (markt)
41327: Show full URI for a 404. Patch provided by Vijay. (markt)
41265: Allow JspServlet checkInterval init parameter to be explicitly set to the stated default value of zero by removing the code that resets it to 300 if explicitly specified as zero. (markt)
Display the JSP source when a compilation error occurs and display the correct line number rather than start of a scriptlet block. (markt)
Webapps
34952: Clarify that the Windows Installer always installs a Windows service. (markt)
35968: Make environment entry properties input a text area. Patch provided by Tristan Marly. (markt)
37588: Fix creation of JNDI Realm in admin application. Patch provided by Terry Zhou. (markt)
38048: Fix memory leak assoaciated with use of expression language in JSPs. Patch provided by Taras Tielkes. (markt)
39572: Improvements to CompressionFilter example provided by Eric Hedstrom. (markt)
40507: Update host-manager and servlet-examples web-apps to use the servlet 2.4 xsd. Patch provided by Chris Halstead. (markt)
40581: Add information on the use of a symbloic link as the docBase for a Context to the Context documentation. (markt)
40633: Remove references to the DefaultContext from the documentation. (markt)
40677: Update SSL documentation to indicate that PKCS11 keystores may be used. (markt)
40714: Admin webapp no longer requires a username for a DataSource since it is not required in all cases. (markt)
40720: Fix exception in admin webapp when adding a group to a user. (markt)
40874: Correct log4j configuration in documentation webapp. Patch provided by Franck Borel. (markt)
40999: Add trust store configuration for SSL connectors to the admin webapp. (markt)
41051: Add information on keystore aliases and case sensitivity to SSL HOW-TO. (markt)
41182: Update the Jasper documentation for the classpath attribute. (markt)
41493: Fix handling of APR connectors in Admin webapp. (markt)
41512: Version number was not inserted in release notes. (markt)
40257: Update Manager webapp howto on remote deployment to reflect need for explicit path in one specific use-case. Thanks to Venkatesh Jayaraman. (yoavs)
40160: add reference to the Filter proposed in this Bugzilla item to the WebdavServlet. While at it, give the WebdavServlet some long-overdue TLC by cleaning up some of the old data structures in favor of modern (but still JDK 1.4-compliant) interfaces. (yoavs)
Add a virtual hosting how-to contributed by Hassan Schroeder. (markt)
Cluster
Add clustered SSO code and backport feature from Tomcat 6.0.x, submitted by Fabien Carrion (pero)
Add better recovery at FastAsyncQueueSender. Made the startegy more robust for temporary connection problems (pero)
2007-04-25 08:14:45 +02:00
|
|
|
${RM} -rf ${WRKSRC}/temp/*
|
2008-06-20 03:09:05 +02:00
|
|
|
cd ${WRKSRC} && pax -rw -pm . ${DESTDIR}${TOMCAT_LIB}
|
2007-11-20 23:13:29 +01:00
|
|
|
|
2008-06-20 03:09:05 +02:00
|
|
|
${FIND} ${DESTDIR}${TOMCAT_LIB} -type f -name \*.bat -print | ${XARGS} ${RM} -f
|
|
|
|
${FIND} ${DESTDIR}${TOMCAT_LIB} -type d -print | ${XARGS} ${CHMOD} ${PKGDIRMODE}
|
|
|
|
${FIND} ${DESTDIR}${TOMCAT_LIB} -type f -print | ${XARGS} ${CHMOD} ${SHAREMODE}
|
|
|
|
${FIND} ${DESTDIR}${TOMCAT_LIB} -type f -name \*.sh -print | \
|
2007-11-20 23:13:29 +01:00
|
|
|
${XARGS} ${CHMOD} ${BINMODE}
|
2006-01-03 19:12:37 +01:00
|
|
|
|
|
|
|
.include "../../mk/java-vm.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|