1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

Update port to version 4.1.29

In the process, fix the packing list to obtain a clean
pkg_add/pkg_deinstall sequence (a number of empty directory
where not created in previous versions)

The generated package now includes directives to fix
file/dir ownership after install, so that the installed tree
is identical to what you obtain after 'make install' from
the port.

Summary of changes to Tomcat since 4.1.27:

. The Coyote connector (HTTP/1.1 and AJP/1.3) has been
  upgraded to Coyote 1.1, which is the one used by Tomcat
  5.0.x.
. Upgrade distributed jars: DBCP (1.1) commons-modeler (1.1)
  Xerces (2.5.0) regexp (1.3).
. Added support for nesting a Context Listener and a Webapp
  Loader within a DefaultContext.
. Minor docs updates.
. StandardContext: Fix reloading regression.
. StandardDefaultContext: Fix support for defining
  ResourceLink
. StandardWrapperValve: Fix infinite recursion when logging
  in certain cases
. JNDIRealm: Many bugfixes (18698, 11678, 19864, 20518,
. 14817, 22236), and allow multiple user patterns.
. CGI Servlet: Bugfixes (22857, 22858).
. WebDAV Servlet: Fix bad handling of the destinationPath
  URL.
. SecurityClassLoad: Preload a few additional classes from
  Coyote.
. MemoryUser: XML-escape the values when writing out the
  tomcat-users.xml file.

Submitted by:	Angelo Turetta <aturetta@commit.it>
PR:		58973
This commit is contained in:
Ernst de Haan 2003-11-21 06:53:45 +00:00
parent 4d7e721336
commit 0a7e7cb55a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=94615
4 changed files with 36 additions and 12 deletions

View File

@ -1 +1 @@
MD5 (jakarta-tomcat-4.1.27.tar.gz) = ef2bcb5a89b0d2c5efd51ba048b33e75 MD5 (jakarta-tomcat-4.1.29.tar.gz) = 66b03ddd10fb4a9079fe26774436db09

View File

@ -21,9 +21,9 @@ etc/rc.d/020.jakarta-tomcat41.sh
%%T%%/common/lib/activation.jar %%T%%/common/lib/activation.jar
%%T%%/common/lib/ant.jar %%T%%/common/lib/ant.jar
%%T%%/common/lib/commons-collections.jar %%T%%/common/lib/commons-collections.jar
%%T%%/common/lib/commons-dbcp.jar %%T%%/common/lib/commons-dbcp-1.1.jar
%%T%%/common/lib/commons-logging-api.jar %%T%%/common/lib/commons-logging-api.jar
%%T%%/common/lib/commons-pool.jar %%T%%/common/lib/commons-pool-1.1.jar
%%T%%/common/lib/jasper-compiler.jar %%T%%/common/lib/jasper-compiler.jar
%%T%%/common/lib/jasper-runtime.jar %%T%%/common/lib/jasper-runtime.jar
%%T%%/common/lib/jdbc2_0-stdext.jar %%T%%/common/lib/jdbc2_0-stdext.jar
@ -43,6 +43,8 @@ etc/rc.d/020.jakarta-tomcat41.sh
%%T%%/conf/web.xml %%T%%/conf/web.xml
%%T%%/logs/stderr.log %%T%%/logs/stderr.log
%%T%%/logs/stdout.log %%T%%/logs/stdout.log
@exec mkdir %D/%%T%%/server || true
@exec mkdir %D/%%T%%/server/classes || true
%%T%%/server/lib/catalina-ant.jar %%T%%/server/lib/catalina-ant.jar
%%T%%/server/lib/catalina.jar %%T%%/server/lib/catalina.jar
%%T%%/server/lib/commons-beanutils.jar %%T%%/server/lib/commons-beanutils.jar
@ -51,7 +53,7 @@ etc/rc.d/020.jakarta-tomcat41.sh
%%T%%/server/lib/commons-logging.jar %%T%%/server/lib/commons-logging.jar
%%T%%/server/lib/commons-modeler.jar %%T%%/server/lib/commons-modeler.jar
%%T%%/server/lib/jaas.jar %%T%%/server/lib/jaas.jar
%%T%%/server/lib/jakarta-regexp-1.2.jar %%T%%/server/lib/jakarta-regexp-1.3.jar
%%T%%/server/lib/mx4j-jmx.jar %%T%%/server/lib/mx4j-jmx.jar
%%T%%/server/lib/mx4j.license %%T%%/server/lib/mx4j.license
%%T%%/server/lib/servlets-cgi.renametojar %%T%%/server/lib/servlets-cgi.renametojar
@ -120,6 +122,7 @@ etc/rc.d/020.jakarta-tomcat41.sh
%%T%%/server/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/defaultcontext/DeleteDefaultContextsAction.class %%T%%/server/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/defaultcontext/DeleteDefaultContextsAction.class
%%T%%/server/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/defaultcontext/EditDefaultContextAction.class %%T%%/server/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/defaultcontext/EditDefaultContextAction.class
%%T%%/server/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/defaultcontext/SaveDefaultContextAction.class %%T%%/server/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/defaultcontext/SaveDefaultContextAction.class
@exec mkdir %D/%%T%%/server/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/filters ||true
%%T%%/server/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/host/AddAliasAction.class %%T%%/server/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/host/AddAliasAction.class
%%T%%/server/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/host/AddHostAction.class %%T%%/server/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/host/AddHostAction.class
%%T%%/server/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/host/AliasForm.class %%T%%/server/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/host/AliasForm.class
@ -364,6 +367,9 @@ etc/rc.d/020.jakarta-tomcat41.sh
%%T%%/server/webapps/manager/images/tomcat.gif %%T%%/server/webapps/manager/images/tomcat.gif
%%T%%/server/webapps/manager/images/void.gif %%T%%/server/webapps/manager/images/void.gif
%%T%%/server/webapps/manager/manager-howto.html %%T%%/server/webapps/manager/manager-howto.html
@exec mkdir %D/%%T%%/shared || true
@exec mkdir %D/%%T%%/shared/classes || true
@exec mkdir %D/%%T%%/shared/lib || true
%%T%%/temp/README.txt %%T%%/temp/README.txt
%%T%%/webapps/ROOT/WEB-INF/web.xml %%T%%/webapps/ROOT/WEB-INF/web.xml
%%T%%/webapps/ROOT/index.jsp %%T%%/webapps/ROOT/index.jsp
@ -1230,6 +1236,8 @@ etc/rc.d/020.jakarta-tomcat41.sh
%%T%%/webapps/tomcat-docs/jasper/docs/api/stylesheet.css %%T%%/webapps/tomcat-docs/jasper/docs/api/stylesheet.css
%%T%%/webapps/tomcat-docs/jk2/common/AJPv13-extensions-proposal.html %%T%%/webapps/tomcat-docs/jk2/common/AJPv13-extensions-proposal.html
%%T%%/webapps/tomcat-docs/jk2/common/AJPv13.html %%T%%/webapps/tomcat-docs/jk2/common/AJPv13.html
%%T%%/webapps/tomcat-docs/jk2/common/doccontrib.html
%%T%%/webapps/tomcat-docs/jk2/common/tools.html
%%T%%/webapps/tomcat-docs/jk2/faq.html %%T%%/webapps/tomcat-docs/jk2/faq.html
%%T%%/webapps/tomcat-docs/jk2/images/corner.gif %%T%%/webapps/tomcat-docs/jk2/images/corner.gif
%%T%%/webapps/tomcat-docs/jk2/images/jakarta.gif %%T%%/webapps/tomcat-docs/jk2/images/jakarta.gif
@ -1247,12 +1255,15 @@ etc/rc.d/020.jakarta-tomcat41.sh
%%T%%/webapps/tomcat-docs/jk2/jk/workershowto.html %%T%%/webapps/tomcat-docs/jk2/jk/workershowto.html
%%T%%/webapps/tomcat-docs/jk2/jk2/confighowto.html %%T%%/webapps/tomcat-docs/jk2/jk2/confighowto.html
%%T%%/webapps/tomcat-docs/jk2/jk2/configtc.html %%T%%/webapps/tomcat-docs/jk2/jk2/configtc.html
%%T%%/webapps/tomcat-docs/jk2/jk2/configtccom.html
%%T%%/webapps/tomcat-docs/jk2/jk2/configtcex.html %%T%%/webapps/tomcat-docs/jk2/jk2/configtcex.html
%%T%%/webapps/tomcat-docs/jk2/jk2/configweb.html %%T%%/webapps/tomcat-docs/jk2/jk2/configweb.html
%%T%%/webapps/tomcat-docs/jk2/jk2/configwebcom.html %%T%%/webapps/tomcat-docs/jk2/jk2/configwebcom.html
%%T%%/webapps/tomcat-docs/jk2/jk2/configwebex.html %%T%%/webapps/tomcat-docs/jk2/jk2/configwebex.html
%%T%%/webapps/tomcat-docs/jk2/jk2/installhowto.html %%T%%/webapps/tomcat-docs/jk2/jk2/installhowto.html
%%T%%/webapps/tomcat-docs/jk2/jk2/vhosthowto.html
%%T%%/webapps/tomcat-docs/jk2/style.css %%T%%/webapps/tomcat-docs/jk2/style.css
@exec mkdir %D/%%T%%/webapps/tomcat-docs/jk2/printer ||true
%%T%%/webapps/tomcat-docs/jndi-datasource-examples-howto.html %%T%%/webapps/tomcat-docs/jndi-datasource-examples-howto.html
%%T%%/webapps/tomcat-docs/jndi-resources-howto.html %%T%%/webapps/tomcat-docs/jndi-resources-howto.html
%%T%%/webapps/tomcat-docs/manager-howto.html %%T%%/webapps/tomcat-docs/manager-howto.html
@ -1441,8 +1452,9 @@ etc/rc.d/020.jakarta-tomcat41.sh
%%T%%/webapps/webdav/index.html %%T%%/webapps/webdav/index.html
%%T%%/webapps/webdav/tomcat-power.gif %%T%%/webapps/webdav/tomcat-power.gif
%%T%%/webapps/webdav/tomcat.gif %%T%%/webapps/webdav/tomcat.gif
@dirrm share/nls/en_US.US-ASCII @exec mkdir %D/%%T%%/work || true
@dirrm share/nls/POSIX @exec mkdir %D/%%T%%/common/classes ||true
@exec chown -R %%WWWOWN%%:%%WWWGRP%% %D/%%T%%/
@dirrm %%T%%/work @dirrm %%T%%/work
@dirrm %%T%%/webapps/webdav/WEB-INF @dirrm %%T%%/webapps/webdav/WEB-INF
@dirrm %%T%%/webapps/webdav @dirrm %%T%%/webapps/webdav

View File

@ -1 +1 @@
MD5 (jakarta-tomcat-4.1.27.tar.gz) = ef2bcb5a89b0d2c5efd51ba048b33e75 MD5 (jakarta-tomcat-4.1.29.tar.gz) = 66b03ddd10fb4a9079fe26774436db09

View File

@ -21,9 +21,9 @@ etc/rc.d/020.jakarta-tomcat41.sh
%%T%%/common/lib/activation.jar %%T%%/common/lib/activation.jar
%%T%%/common/lib/ant.jar %%T%%/common/lib/ant.jar
%%T%%/common/lib/commons-collections.jar %%T%%/common/lib/commons-collections.jar
%%T%%/common/lib/commons-dbcp.jar %%T%%/common/lib/commons-dbcp-1.1.jar
%%T%%/common/lib/commons-logging-api.jar %%T%%/common/lib/commons-logging-api.jar
%%T%%/common/lib/commons-pool.jar %%T%%/common/lib/commons-pool-1.1.jar
%%T%%/common/lib/jasper-compiler.jar %%T%%/common/lib/jasper-compiler.jar
%%T%%/common/lib/jasper-runtime.jar %%T%%/common/lib/jasper-runtime.jar
%%T%%/common/lib/jdbc2_0-stdext.jar %%T%%/common/lib/jdbc2_0-stdext.jar
@ -43,6 +43,8 @@ etc/rc.d/020.jakarta-tomcat41.sh
%%T%%/conf/web.xml %%T%%/conf/web.xml
%%T%%/logs/stderr.log %%T%%/logs/stderr.log
%%T%%/logs/stdout.log %%T%%/logs/stdout.log
@exec mkdir %D/%%T%%/server || true
@exec mkdir %D/%%T%%/server/classes || true
%%T%%/server/lib/catalina-ant.jar %%T%%/server/lib/catalina-ant.jar
%%T%%/server/lib/catalina.jar %%T%%/server/lib/catalina.jar
%%T%%/server/lib/commons-beanutils.jar %%T%%/server/lib/commons-beanutils.jar
@ -51,7 +53,7 @@ etc/rc.d/020.jakarta-tomcat41.sh
%%T%%/server/lib/commons-logging.jar %%T%%/server/lib/commons-logging.jar
%%T%%/server/lib/commons-modeler.jar %%T%%/server/lib/commons-modeler.jar
%%T%%/server/lib/jaas.jar %%T%%/server/lib/jaas.jar
%%T%%/server/lib/jakarta-regexp-1.2.jar %%T%%/server/lib/jakarta-regexp-1.3.jar
%%T%%/server/lib/mx4j-jmx.jar %%T%%/server/lib/mx4j-jmx.jar
%%T%%/server/lib/mx4j.license %%T%%/server/lib/mx4j.license
%%T%%/server/lib/servlets-cgi.renametojar %%T%%/server/lib/servlets-cgi.renametojar
@ -120,6 +122,7 @@ etc/rc.d/020.jakarta-tomcat41.sh
%%T%%/server/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/defaultcontext/DeleteDefaultContextsAction.class %%T%%/server/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/defaultcontext/DeleteDefaultContextsAction.class
%%T%%/server/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/defaultcontext/EditDefaultContextAction.class %%T%%/server/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/defaultcontext/EditDefaultContextAction.class
%%T%%/server/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/defaultcontext/SaveDefaultContextAction.class %%T%%/server/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/defaultcontext/SaveDefaultContextAction.class
@exec mkdir %D/%%T%%/server/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/filters ||true
%%T%%/server/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/host/AddAliasAction.class %%T%%/server/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/host/AddAliasAction.class
%%T%%/server/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/host/AddHostAction.class %%T%%/server/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/host/AddHostAction.class
%%T%%/server/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/host/AliasForm.class %%T%%/server/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/host/AliasForm.class
@ -364,6 +367,9 @@ etc/rc.d/020.jakarta-tomcat41.sh
%%T%%/server/webapps/manager/images/tomcat.gif %%T%%/server/webapps/manager/images/tomcat.gif
%%T%%/server/webapps/manager/images/void.gif %%T%%/server/webapps/manager/images/void.gif
%%T%%/server/webapps/manager/manager-howto.html %%T%%/server/webapps/manager/manager-howto.html
@exec mkdir %D/%%T%%/shared || true
@exec mkdir %D/%%T%%/shared/classes || true
@exec mkdir %D/%%T%%/shared/lib || true
%%T%%/temp/README.txt %%T%%/temp/README.txt
%%T%%/webapps/ROOT/WEB-INF/web.xml %%T%%/webapps/ROOT/WEB-INF/web.xml
%%T%%/webapps/ROOT/index.jsp %%T%%/webapps/ROOT/index.jsp
@ -1230,6 +1236,8 @@ etc/rc.d/020.jakarta-tomcat41.sh
%%T%%/webapps/tomcat-docs/jasper/docs/api/stylesheet.css %%T%%/webapps/tomcat-docs/jasper/docs/api/stylesheet.css
%%T%%/webapps/tomcat-docs/jk2/common/AJPv13-extensions-proposal.html %%T%%/webapps/tomcat-docs/jk2/common/AJPv13-extensions-proposal.html
%%T%%/webapps/tomcat-docs/jk2/common/AJPv13.html %%T%%/webapps/tomcat-docs/jk2/common/AJPv13.html
%%T%%/webapps/tomcat-docs/jk2/common/doccontrib.html
%%T%%/webapps/tomcat-docs/jk2/common/tools.html
%%T%%/webapps/tomcat-docs/jk2/faq.html %%T%%/webapps/tomcat-docs/jk2/faq.html
%%T%%/webapps/tomcat-docs/jk2/images/corner.gif %%T%%/webapps/tomcat-docs/jk2/images/corner.gif
%%T%%/webapps/tomcat-docs/jk2/images/jakarta.gif %%T%%/webapps/tomcat-docs/jk2/images/jakarta.gif
@ -1247,12 +1255,15 @@ etc/rc.d/020.jakarta-tomcat41.sh
%%T%%/webapps/tomcat-docs/jk2/jk/workershowto.html %%T%%/webapps/tomcat-docs/jk2/jk/workershowto.html
%%T%%/webapps/tomcat-docs/jk2/jk2/confighowto.html %%T%%/webapps/tomcat-docs/jk2/jk2/confighowto.html
%%T%%/webapps/tomcat-docs/jk2/jk2/configtc.html %%T%%/webapps/tomcat-docs/jk2/jk2/configtc.html
%%T%%/webapps/tomcat-docs/jk2/jk2/configtccom.html
%%T%%/webapps/tomcat-docs/jk2/jk2/configtcex.html %%T%%/webapps/tomcat-docs/jk2/jk2/configtcex.html
%%T%%/webapps/tomcat-docs/jk2/jk2/configweb.html %%T%%/webapps/tomcat-docs/jk2/jk2/configweb.html
%%T%%/webapps/tomcat-docs/jk2/jk2/configwebcom.html %%T%%/webapps/tomcat-docs/jk2/jk2/configwebcom.html
%%T%%/webapps/tomcat-docs/jk2/jk2/configwebex.html %%T%%/webapps/tomcat-docs/jk2/jk2/configwebex.html
%%T%%/webapps/tomcat-docs/jk2/jk2/installhowto.html %%T%%/webapps/tomcat-docs/jk2/jk2/installhowto.html
%%T%%/webapps/tomcat-docs/jk2/jk2/vhosthowto.html
%%T%%/webapps/tomcat-docs/jk2/style.css %%T%%/webapps/tomcat-docs/jk2/style.css
@exec mkdir %D/%%T%%/webapps/tomcat-docs/jk2/printer ||true
%%T%%/webapps/tomcat-docs/jndi-datasource-examples-howto.html %%T%%/webapps/tomcat-docs/jndi-datasource-examples-howto.html
%%T%%/webapps/tomcat-docs/jndi-resources-howto.html %%T%%/webapps/tomcat-docs/jndi-resources-howto.html
%%T%%/webapps/tomcat-docs/manager-howto.html %%T%%/webapps/tomcat-docs/manager-howto.html
@ -1441,8 +1452,9 @@ etc/rc.d/020.jakarta-tomcat41.sh
%%T%%/webapps/webdav/index.html %%T%%/webapps/webdav/index.html
%%T%%/webapps/webdav/tomcat-power.gif %%T%%/webapps/webdav/tomcat-power.gif
%%T%%/webapps/webdav/tomcat.gif %%T%%/webapps/webdav/tomcat.gif
@dirrm share/nls/en_US.US-ASCII @exec mkdir %D/%%T%%/work || true
@dirrm share/nls/POSIX @exec mkdir %D/%%T%%/common/classes ||true
@exec chown -R %%WWWOWN%%:%%WWWGRP%% %D/%%T%%/
@dirrm %%T%%/work @dirrm %%T%%/work
@dirrm %%T%%/webapps/webdav/WEB-INF @dirrm %%T%%/webapps/webdav/WEB-INF
@dirrm %%T%%/webapps/webdav @dirrm %%T%%/webapps/webdav