MD5 197b154fc7a14fcd433e86700f082252 files/5.0.28/tomcat.init 3013
RMD160 360df30bb9bf5b78b7ed0bb159e37c5af1898956 files/5.0.28/tomcat.init 3013
SHA256 083b5bd790a43c4f161dcce01e75bfc8927aa8f293aad26fe0e2cfba1f918815 files/5.0.28/tomcat.init 3013
-AUX 5.5.17/catalinabuild-xml.patch 1149 RMD160 9622ca4f688e2c57e4bc34f08ceebb651f75deb1 SHA1 8eda11132851da5773ceb33f90515f0c8ffabdb6 SHA256 dc2d7255dd990359f765f329a04825aca18888e505b4024bb64e0dc6e348498e
-MD5 4b2dbaa2a74776229f4fffa1274d0a13 files/5.5.17/catalinabuild-xml.patch 1149
-RMD160 9622ca4f688e2c57e4bc34f08ceebb651f75deb1 files/5.5.17/catalinabuild-xml.patch 1149
-SHA256 dc2d7255dd990359f765f329a04825aca18888e505b4024bb64e0dc6e348498e files/5.5.17/catalinabuild-xml.patch 1149
-AUX 5.5.17/jasperbuild-xml.patch 463 RMD160 d042043acbaafa7b2be42f071846d5fbe970fa62 SHA1 f168e9ff231e1ccd727367a03f0fdefde3c36a1a SHA256 8c0758f6f2e556d317087389b7649bc709d738679be7965a50329b724c6e8714
-MD5 0139160e01d9f8c37007e700adc14edd files/5.5.17/jasperbuild-xml.patch 463
-RMD160 d042043acbaafa7b2be42f071846d5fbe970fa62 files/5.5.17/jasperbuild-xml.patch 463
-SHA256 8c0758f6f2e556d317087389b7649bc709d738679be7965a50329b724c6e8714 files/5.5.17/jasperbuild-xml.patch 463
-AUX 5.5.17/jsr152build-xml-examples.patch 812 RMD160 e9449414ef88de3e2b54c094c898d75f13e4c74e SHA1 5455201aba4cca42b000477375516a45c380c766 SHA256 36b91bb7ccb67ca31db41a8217c6762b1aff88b0611319aded08421401d7f9b0
-MD5 4c33bf7e8bd654980a11408211768a2e files/5.5.17/jsr152build-xml-examples.patch 812
-RMD160 e9449414ef88de3e2b54c094c898d75f13e4c74e files/5.5.17/jsr152build-xml-examples.patch 812
-SHA256 36b91bb7ccb67ca31db41a8217c6762b1aff88b0611319aded08421401d7f9b0 files/5.5.17/jsr152build-xml-examples.patch 812
-AUX 5.5.17/jsr154build-xml-examples.patch 836 RMD160 5a0cf4831345c904b5f9b3f89bcbbc0243e676e6 SHA1 29a59f40743784327d8be9307c40c291141fa5bf SHA256 84a82ef51e8cd0470ea3f388c16f3323024e87b74212ffab65977b5d9792a191
-MD5 e715be19acef459dbe33804fc0d8b35c files/5.5.17/jsr154build-xml-examples.patch 836
-RMD160 5a0cf4831345c904b5f9b3f89bcbbc0243e676e6 files/5.5.17/jsr154build-xml-examples.patch 836
-SHA256 84a82ef51e8cd0470ea3f388c16f3323024e87b74212ffab65977b5d9792a191 files/5.5.17/jsr154build-xml-examples.patch 836
-AUX 5.5.17/mainbuild-xml.patch 482 RMD160 61e18d765777294144c8f6745cceee5a18d72db4 SHA1 c75ef0ca7b88fb34aacc0ec9f59aeb8f2239b469 SHA256 7a9dbb7d8a0be4399792417b6bdfd04b7a090b8d9a39b1b03050f0066a90b559
-MD5 9f2ec43ff05ee924217e510c65d8150e files/5.5.17/mainbuild-xml.patch 482
-RMD160 61e18d765777294144c8f6745cceee5a18d72db4 files/5.5.17/mainbuild-xml.patch 482
-SHA256 7a9dbb7d8a0be4399792417b6bdfd04b7a090b8d9a39b1b03050f0066a90b559 files/5.5.17/mainbuild-xml.patch 482
-AUX 5.5.17/tomcat.conf 2551 RMD160 b28f65a4488b706f026f561ea983757f7e93b38d SHA1 9f0c76f5e10809e90be8ef085ae80db49700063c SHA256 8e2f98fd2a60a9486627f0a1f344dc9f3b20c35332d1828a13deea5f1b107984
-MD5 e5f62d19088288b71befd9fcbf89f26d files/5.5.17/tomcat.conf 2551
-RMD160 b28f65a4488b706f026f561ea983757f7e93b38d files/5.5.17/tomcat.conf 2551
-SHA256 8e2f98fd2a60a9486627f0a1f344dc9f3b20c35332d1828a13deea5f1b107984 files/5.5.17/tomcat.conf 2551
-AUX 5.5.17/tomcat.env 36 RMD160 2d6488d26696ec0624b7774d3a31cb02afeaeea0 SHA1 1c9ad9ffa7dcaa5f071631d8a1bc65519b2eec15 SHA256 c2aa217a92fb637fb81a77c98cd769932923bbe65e72c25295993f7cf4982fef
-MD5 f41b77c0652379c5cfbe0f04bf99b4c2 files/5.5.17/tomcat.env 36
-RMD160 2d6488d26696ec0624b7774d3a31cb02afeaeea0 files/5.5.17/tomcat.env 36
-SHA256 c2aa217a92fb637fb81a77c98cd769932923bbe65e72c25295993f7cf4982fef files/5.5.17/tomcat.env 36
-AUX 5.5.17/tomcat.init 3142 RMD160 ba6892dbcbdaa9f2134f6514459536d9d8667258 SHA1 11182aa28c2abc3c9a5e9ae9c373ca78ad5b243e SHA256 c661a8696ff64eec95d0952ffb09b1166377af3ee2763aa27177a6916fd17c5c
-MD5 16405fc26678f5ca2aa15e59f2bd33ee files/5.5.17/tomcat.init 3142
-RMD160 ba6892dbcbdaa9f2134f6514459536d9d8667258 files/5.5.17/tomcat.init 3142
-SHA256 c661a8696ff64eec95d0952ffb09b1166377af3ee2763aa27177a6916fd17c5c files/5.5.17/tomcat.init 3142
-AUX 5.5.17/tomcatbuild-xml-docs.patch 4745 RMD160 ad084d8290dd628a4b1e1a13bfdc3dca7446fa04 SHA1 7c2d036d8931409dab360ed83346a6fc69203cf4 SHA256 ac0248500302ff5bac595296e30008dccc5e901c13a998aff859a36c6c8945ff
-MD5 ca2c6c89f893448ccaeebff6255b285f files/5.5.17/tomcatbuild-xml-docs.patch 4745
-RMD160 ad084d8290dd628a4b1e1a13bfdc3dca7446fa04 files/5.5.17/tomcatbuild-xml-docs.patch 4745
-SHA256 ac0248500302ff5bac595296e30008dccc5e901c13a998aff859a36c6c8945ff files/5.5.17/tomcatbuild-xml-docs.patch 4745
-AUX 5.5.17/tomcatbuild-xml-examples.patch 2766 RMD160 2693d0e3c1a61eec4a001332648e21be92741c60 SHA1 0269427e4cc658fbccda30a5f6061a485bdbcd9c SHA256 5f4f8541fd68b71ae659d970e0671c35f3f4edcd54e54e2f9db44876dbeb0824
-MD5 263ec369e78ddd9d4bfc7e60de2b1a9d files/5.5.17/tomcatbuild-xml-examples.patch 2766
-RMD160 2693d0e3c1a61eec4a001332648e21be92741c60 files/5.5.17/tomcatbuild-xml-examples.patch 2766
-SHA256 5f4f8541fd68b71ae659d970e0671c35f3f4edcd54e54e2f9db44876dbeb0824 files/5.5.17/tomcatbuild-xml-examples.patch 2766
-AUX 5.5.17/tomcatbuild-xml.patch 5235 RMD160 b82aae53ac882e5914aea8dfc8f80283bee7f9b1 SHA1 7a97a4e3ab76228c3d6964355dd3b5a9b3bce33a SHA256 d5f621c8d3972a88a057db3c028baedf4affab4333c3f1c6117461d3dd0b6cec
-MD5 276495751102b4c1e19aa944043055e6 files/5.5.17/tomcatbuild-xml.patch 5235
-RMD160 b82aae53ac882e5914aea8dfc8f80283bee7f9b1 files/5.5.17/tomcatbuild-xml.patch 5235
-SHA256 d5f621c8d3972a88a057db3c028baedf4affab4333c3f1c6117461d3dd0b6cec files/5.5.17/tomcatbuild-xml.patch 5235
AUX 5.5.20/catalinabuild-xml.patch 1149 RMD160 9622ca4f688e2c57e4bc34f08ceebb651f75deb1 SHA1 8eda11132851da5773ceb33f90515f0c8ffabdb6 SHA256 dc2d7255dd990359f765f329a04825aca18888e505b4024bb64e0dc6e348498e
MD5 4b2dbaa2a74776229f4fffa1274d0a13 files/5.5.20/catalinabuild-xml.patch 1149
RMD160 9622ca4f688e2c57e4bc34f08ceebb651f75deb1 files/5.5.20/catalinabuild-xml.patch 1149
MD5 83d2b72b5c1c52e80492ee5199eb3625 files/5.5.20/tomcatbuild-xml.patch 12470
RMD160 e936baf49d5f1a34b5b3c5787d62fb5a06ea52a2 files/5.5.20/tomcatbuild-xml.patch 12470
SHA256 d76b0dcc3a6d8d60c0305d74ef980e5461bbcaef1059a306e38e5d358c2a01a4 files/5.5.20/tomcatbuild-xml.patch 12470
-AUX 6.0.2/build-xml.patch 785 RMD160 d5d296009e86e0aec3aaf1ba4d1651dc7358d23c SHA1 085f416f6f68931b5c22f69af993188dea425a99 SHA256 51920be0dce79f1ea562ef46120e866ded371049e54f16a8e064e1b68b3d239c
-MD5 23fa5265de5dc6680c3c9e4c7806d382 files/6.0.2/build-xml.patch 785
-RMD160 d5d296009e86e0aec3aaf1ba4d1651dc7358d23c files/6.0.2/build-xml.patch 785
-SHA256 51920be0dce79f1ea562ef46120e866ded371049e54f16a8e064e1b68b3d239c files/6.0.2/build-xml.patch 785
-AUX 6.0.2/tomcat.conf 2673 RMD160 a24b40e17f3b1715133144b8545c664340e9f138 SHA1 02bbf9ea3552cf24669f9d1ff7a7c57e618403ef SHA256 616ced5d8525f58b3d249c5d440d1b91107c2a100b6c1cf2f58891586a0f79da
-MD5 c91be163057fbe162534ab72eba7eed2 files/6.0.2/tomcat.conf 2673
-RMD160 a24b40e17f3b1715133144b8545c664340e9f138 files/6.0.2/tomcat.conf 2673
-SHA256 616ced5d8525f58b3d249c5d440d1b91107c2a100b6c1cf2f58891586a0f79da files/6.0.2/tomcat.conf 2673
-AUX 6.0.2/tomcat.init 3081 RMD160 d711863c68c9aa08d3df54fd9a917a667e3345c2 SHA1 2299892e2e0fe6037116e01849a0fa2047f0f695 SHA256 ec298388424ec538a8043cff413bb60d95afe07c2cee20a321d460dc94fa7e20
-MD5 1a100e4db4174d05ce49080d5a6d0845 files/6.0.2/tomcat.init 3081
-RMD160 d711863c68c9aa08d3df54fd9a917a667e3345c2 files/6.0.2/tomcat.init 3081
-SHA256 ec298388424ec538a8043cff413bb60d95afe07c2cee20a321d460dc94fa7e20 files/6.0.2/tomcat.init 3081
+AUX 6/build-xml.patch 785 RMD160 d5d296009e86e0aec3aaf1ba4d1651dc7358d23c SHA1 085f416f6f68931b5c22f69af993188dea425a99 SHA256 51920be0dce79f1ea562ef46120e866ded371049e54f16a8e064e1b68b3d239c
+MD5 23fa5265de5dc6680c3c9e4c7806d382 files/6/build-xml.patch 785
+RMD160 d5d296009e86e0aec3aaf1ba4d1651dc7358d23c files/6/build-xml.patch 785
+SHA256 51920be0dce79f1ea562ef46120e866ded371049e54f16a8e064e1b68b3d239c files/6/build-xml.patch 785
+AUX 6/tomcat.conf 2673 RMD160 a24b40e17f3b1715133144b8545c664340e9f138 SHA1 02bbf9ea3552cf24669f9d1ff7a7c57e618403ef SHA256 616ced5d8525f58b3d249c5d440d1b91107c2a100b6c1cf2f58891586a0f79da
+MD5 c91be163057fbe162534ab72eba7eed2 files/6/tomcat.conf 2673
+RMD160 a24b40e17f3b1715133144b8545c664340e9f138 files/6/tomcat.conf 2673
+SHA256 616ced5d8525f58b3d249c5d440d1b91107c2a100b6c1cf2f58891586a0f79da files/6/tomcat.conf 2673
+AUX 6/tomcat.init 3081 RMD160 d711863c68c9aa08d3df54fd9a917a667e3345c2 SHA1 2299892e2e0fe6037116e01849a0fa2047f0f695 SHA256 ec298388424ec538a8043cff413bb60d95afe07c2cee20a321d460dc94fa7e20
+MD5 1a100e4db4174d05ce49080d5a6d0845 files/6/tomcat.init 3081
+RMD160 d711863c68c9aa08d3df54fd9a917a667e3345c2 files/6/tomcat.init 3081
+SHA256 ec298388424ec538a8043cff413bb60d95afe07c2cee20a321d460dc94fa7e20 files/6/tomcat.init 3081
DIST apache-tomcat-5.5.20-src.tar.gz 4796377 RMD160 587590d2e272d1ede73501b62933f544cd969822 SHA1 cc416242d8c9e1978702a207e305ca97afe53d4d SHA256 19f24717fb3e2db902c33e21650dfa88bbf98428c15b1ed68ecaf7a9150e4a77
-DIST apache-tomcat-6.0.2-src.tar.gz 3244552 RMD160 9061581c2d43d2368d47570eb5841dffd50bd961 SHA1 19b03dbb65d1784266aee30a15de66d38486426c SHA256 77c7facbaa3460aef31cb7695fe8138f8f82abd03e8273658687a630e756e324
+DIST apache-tomcat-6.0.4-src.tar.gz 3210081 RMD160 67353d8c5a275517e56b2de236bdb19ebebaf7ff SHA1 9afd320c1274ae60d70e763915d6dd0c843df8c2 SHA256 f9383a861e489fcac2a7a98aad753744b48e1c6f52d8eb09e123a304b558244e
DIST jakarta-tomcat-5.0.27.tar.gz 10298374 RMD160 a333fcb531bb98af20db6e0a10d3e8b2c72ee1fa SHA1 5f3981ecdd67e2b9774e643b336ad98ebc1bd4e3 SHA256 873fc94b4316235091e69bca926bd66a0fb9fab542016e582a03323ed6777d78
DIST jakarta-tomcat-5.0.28-src.tar.gz 3565766 RMD160 22c5e60b2c5009dc33a62edcefa6760d82da859b SHA1 a4ac2ad52f8b8db8ae8c38979f5f50713e242e36 SHA256 bbf584b3c376d23d92b1a0d306eb8f3729cea244c7a850f81d2527a7df6d20fc
EBUILD tomcat-5.0.27-r6.ebuild 3877 RMD160 4efe03ed845aa3781273958de248e63aa7195746 SHA1 717e7d059afd5e0a99647e98f762a8bd8181a765 SHA256 9f1947f2f3ef429125dc9a144d2f0f13fd82103779f9c1eada1f8f3a54ab9c2b
MD5 8f2de90288b7661deeda91757afb2a10 tomcat-5.5.20-r2.ebuild 10177
RMD160 33a47ba1a347bc913278eea38a6194051cb8094b tomcat-5.5.20-r2.ebuild 10177
SHA256 249959923f28a2a213180cfa69172211f5c0e5eecb8e3d5e755b0f31293efe2d tomcat-5.5.20-r2.ebuild 10177
-EBUILD tomcat-6.0.2.ebuild 4710 RMD160 9cb4194bba00500f1a03f1b5355a5c9fac26637b SHA1 b5c58296f5a115d95fcb21110f0f57ae2ae50020 SHA256 6aa88555628381bf226f9e1321b31ad4b71f87c56b974ffbc0653b7d5db43869
-MD5 694e0ad892fa9963ff56d030127f1858 tomcat-6.0.2.ebuild 4710
-RMD160 9cb4194bba00500f1a03f1b5355a5c9fac26637b tomcat-6.0.2.ebuild 4710
-SHA256 6aa88555628381bf226f9e1321b31ad4b71f87c56b974ffbc0653b7d5db43869 tomcat-6.0.2.ebuild 4710
-MISC ChangeLog 27777 RMD160 672f24ba9facef184d0bdeaf36161276d7144f71 SHA1 2c33a6032a97c63d415b0f61c771910ff5fcef4c SHA256 b0524863fdcb7e2bb7081973e9fa9cbab80eb251a72878bbfc9f8058dd941283
-MD5 53ff2c8e9184fdc88da6f0c3274b7e76 ChangeLog 27777
-RMD160 672f24ba9facef184d0bdeaf36161276d7144f71 ChangeLog 27777
-SHA256 b0524863fdcb7e2bb7081973e9fa9cbab80eb251a72878bbfc9f8058dd941283 ChangeLog 27777
+EBUILD tomcat-6.0.4.ebuild 4716 RMD160 309863239ed515e512a802f0528871adb7206d05 SHA1 621f00869458a4367a67edd61c60aa8e385000b5 SHA256 efffab544c02acf078db3bdeb0b6b67a1c42f2112f9adc4d846bf11ce14e8a5b
+MD5 7e1a1931d8c6ce8e6cc9b0f7539b7ac2 tomcat-6.0.4.ebuild 4716
+RMD160 309863239ed515e512a802f0528871adb7206d05 tomcat-6.0.4.ebuild 4716
+SHA256 efffab544c02acf078db3bdeb0b6b67a1c42f2112f9adc4d846bf11ce14e8a5b tomcat-6.0.4.ebuild 4716
+MISC ChangeLog 28606 RMD160 e7897480e12ddfab55efc8a0593bc81621a0f933 SHA1 fde9ed7ae861330e0d02c1cff63f0b7ae5b108bd SHA256 a58cc5185a5d7c72989ac959f31e682a8d27b9da2e53d8ea3d23ff6294d045ef
+MD5 348952ee27d8f97974a352082dafe8db ChangeLog 28606
+RMD160 e7897480e12ddfab55efc8a0593bc81621a0f933 ChangeLog 28606
+SHA256 a58cc5185a5d7c72989ac959f31e682a8d27b9da2e53d8ea3d23ff6294d045ef ChangeLog 28606
MISC metadata.xml 558 RMD160 f81f3d20ca526007bbd8f0f88deffb7a097334ea SHA1 6ab9eadb2a8f19b0d4ea1f02ba88315d49e61fb1 SHA256 d5b4cdcd581677edce5b62c586d618f4c95660127fcb2fb7157f83e6d0e35fce
MD5 e26537a19167254676bb36654dc01f91 metadata.xml 558
RMD160 f81f3d20ca526007bbd8f0f88deffb7a097334ea metadata.xml 558
MD5 8adc14a8534e1c6f8d5f96b371e1895f files/digest-tomcat-5.5.20-r2 277
RMD160 b9c5deac84bf5acd7a65ad80bdfaca9f7e343f3f files/digest-tomcat-5.5.20-r2 277
SHA256 fda2efc7c4fe103d3fec9599fe3797d8784381008f71d9006c7224db91862b30 files/digest-tomcat-5.5.20-r2 277
-MD5 b8faa06ed7ce8aac00eaf7c6cfc18afc files/digest-tomcat-6.0.2 274
-RMD160 46958bfcb35d84de3df9249238b99faa12fb79ae files/digest-tomcat-6.0.2 274
-SHA256 da0e2d6c74a9b909142a5296d92d688ea4b25f1bc21227da983206f5d2b7c924 files/digest-tomcat-6.0.2 274
+MD5 9769185a9c73b3ce5fd94872335f6687 files/digest-tomcat-6.0.4 274
+RMD160 ad9c1e6e82cc663e4e29b6df0c745e908b71b6bf files/digest-tomcat-6.0.4 274
+SHA256 2d408d8f09d648a39784eaf3996957a58487a18ec0df69a2654db18e41089a59 files/digest-tomcat-6.0.4 274
+++ /dev/null
---- apache-tomcat-5.5.15-src/container/catalina/build.xml 2006-01-03 10:15:07.000000000 -0500
-+++ container/catalina/build.xml 2006-01-28 11:57:25.000000000 -0500
-@@ -60,6 +60,7 @@
- <pathelement location="${jaas.jar}"/>
- <pathelement location="${javagroups.jar}"/>
- <pathelement location="${jcert.jar}"/>
-+ <pathelement location="${jdt.jar}"/>
- <pathelement location="${jmx.jar}"/>
- <pathelement location="${jmx-remote.jar}"/>
- <pathelement location="${jndi.jar}"/>
-@@ -91,6 +92,7 @@
- <pathelement location="${commons-modeler.jar}"/>
- <pathelement location="${jaas.jar}"/>
- <pathelement location="${jcert.jar}"/>
-+ <pathelement location="${jdt.jar}"/>
- <pathelement location="${jmx.jar}"/>
- <pathelement location="${jndi.jar}"/>
- <pathelement location="${jnet.jar}"/>
-@@ -548,9 +550,10 @@
- <!--
- <copy todir="${catalina.build}/common/lib" file="${servlet-api.jar}"/>
- -->
-+ <!--
- <copy todir="${catalina.build}/common/lib"
- file="${tomcat-dbcp.jar}" />
--
-+ -->
- <!-- Configuration Files -->
- <copy todir="${catalina.build}/conf">
- <fileset dir="src/conf">
+++ /dev/null
---- jasper/build.xml 2005-02-13 19:28:36.000000000 +0100
-+++ jasper/build.xml 2005-02-13 20:46:15.554972064 +0100
-@@ -30,6 +30,7 @@
- <pathelement location="${jsp-api.jar}"/>
- <pathelement location="${tools.jar}"/>
- <pathelement location="${jasper-compiler-jdt.jar}"/>
-+ <pathelement location="${jdt.jar}"/>
- <pathelement location="${xerces.jar}"/>
- <pathelement location="${xercesImpl.jar}"/>
- <pathelement location="${xml-apis.jar}"/>
+++ /dev/null
---- apache-tomcat-5.5.17-src/servletapi/jsr152/build.xml 2006-07-29 14:13:41.000000000 -0400
-+++ servletapi/jsr152/build.xml 2006-07-29 14:13:17.000000000 -0400
-@@ -119,6 +119,7 @@
- classpath="${jsp-anttask.jar}" />
- </target>
-
-+ <!--
- <target name="examples" depends="prepare,ant">
-
- <copy todir="${jsp-api.build}/examples">
-@@ -221,7 +222,7 @@
- basedir="${jsp-api.build}/examples" includes="**"/>
-
- </target>
--
-+ -->
-
- <!-- ===================== Distribution Files ========================= -->
- <target name="jar" depends="compile"
-@@ -245,7 +246,7 @@
-
- </target>
-
-- <target name="dist" depends="compile,examples,javadoc,jar"
-+ <target name="dist" depends="compile,javadoc,jar"
- description="Create binary distribution">
-
- <!-- Copy Javadocs -->
+++ /dev/null
---- apache-tomcat-5.5.17-src/servletapi/jsr154/build.xml 2006-04-14 14:12:10.000000000 -0400
-+++ servletapi/jsr154/build.xml 2006-07-29 14:41:05.000000000 -0400
-@@ -99,6 +99,7 @@
-
-
- <!-- ======================== Build JavaDoc =========================== -->
-+ <!--
- <target name="examples" depends="prepare">
-
- <copy todir="${servlet-api.build}/examples">
-@@ -119,7 +120,7 @@
- basedir="${servlet-api.build}/examples" includes="**"/>
-
- </target>
--
-+ -->
-
- <!-- ===================== Distribution Files ========================= -->
- <target name="jar" depends="compile"
-@@ -144,7 +145,7 @@
-
- </target>
-
-- <target name="dist" depends="compile,examples,javadoc,jar"
-+ <target name="dist" depends="compile,javadoc,jar"
- description="Create binary distribution">
-
- <!-- Copy Javadocs -->
+++ /dev/null
---- apache-tomcat-5.5.15-src/build.xml
-+++ build.xml
-@@ -64,13 +64,14 @@
- <target name="checkout"
- description="Update or checkout required sources from SVN">
-
-+ <!--
- <echo level="info"
- message="If the checkout fails, - todo - " />
-
- <exec dir="${basedir}" executable="svn">
- <arg line="checkout ${svnroot}/${current.loc} ${basedir}" />
- </exec>
--
-+ -->
- </target>
-
- <!-- *************** UTILITY TARGETS *************** -->
-
+++ /dev/null
-# $Header: /var/cvsroot/gentoo-x86/www-servers/tomcat/files/5.5.17/tomcat.conf,v 1.2 2006/09/04 01:18:50 wltjr Exp $
-
-# JVM Runtime
-# Using the default setting, it will determine your JVM from the system-vm
-# set using java-config.
-# See java-config(1) manual page for assistance in determining this value.
-#
-# You can override this value with whatever path you wish.
-# Example: JAVA_HOME=/opt/sun-jdk-1.4.2.05
-
-JAVA_HOME=`java-config --jre-home`
-
-# (Optional) Java runtime options used when the "start", "stop", or "run"
-# commands are executed.
-# JAVA_OPTS=""
-
-# Where your web applications are located
-CATALINA_HOME=/usr/share/tomcat-5.5/
-CATALINA_BASE=/var/lib/tomcat-5.5/
-
-# Tomcat's User
-CATALINA_USER=tomcat
-
-# Location of the Tomcat JARs and classes
-CATALINA_LIBDIR=/usr/share/tomcat-5.5/server/lib/
-
-# The CLASSPATH for Tomcat to use, plus any others you need.
-CLASSPATH=${CATALINA_LIBDIR}
-
-# (Optional) Directory path location of temporary directory the JVM should
-# use (java.io.tmpdir). Defaults to $CATALINA_BASE/temp.
-CATALINA_TMPDIR="/var/tmp/tomcat-5.5/"
-
-# TOMCAT STARTUP/SHUTDOWN
-# debug Start Catalina in a debugger
-# debug -security Debug Catalina with a security manager
-# jpda start Start Catalina under JPDA debugger
-# start Start Catalina in a separate window
-# start -security Start in a separate window with security manager
-# stop Stop Catalina"
-#
-# NOTE: -security requires JSSE (see below)
-# NOTE: jpda requires JPDA (see below)
-TOMCAT_START="start"
-TOMCAT_STOP="stop"
-
-# (Optional) Java runtime options used when the "start", "stop", or "run"
-# commands are executed.
-# CATALINA_OPTS=""
-
-# Java Platform Debugger Architecture (JPDA)
-# http://java.sun.com/products/jpda/
-# Included with Java SDK 1.3 and later. No need to specify location.
-#
-# JPDA_TRANSPORT (Optional) JPDA transport used when the "jpda start"
-# command is executed. The default is "dt_socket".
-#
-# JPDA_ADDRESS (Optional) Java runtime options used when the "jpda start"
-# command is executed. The default is 8000.
-#
-# JPDA_TRANSPORT="dt_socket"
-# JPDA_ADDRESS="8000"
-
-# Java Secure Socket Extension (JSSE)
-# http://java.sun.com/products/jsse/
-# Included with Java SDK 1.4 and later.
-#
-# JSSE_HOME (Optional) May point at your Java Secure Sockets Extension
-# (JSSE) installation, whose JAR files will be added to the
-# system class path used to start Tomcat.
-#
-# JSSE_HOME="/opt/sun-jdk-1.4.1.02/jre/lib/"
+++ /dev/null
-CATALINA_HOME=/usr/share/tomcat-5.5
+++ /dev/null
-#!/sbin/runscript
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-servers/tomcat/files/5.5.17/tomcat.init,v 1.6 2006/09/26 19:48:17 wltjr Exp $
-
-init_env_vars() {
- # Set some sane defaults
- if [ -z "${CATALINA_TMPDIR}" ] ; then
- CATALINA_TMPDIR="${CATALINA_BASE}"/temp
- fi
- JPDA_TRANSPORT=${JPDA_TRANSPORT:="dt_socket"}
- JPDA_ADDRESS=${JPDA_ADDRESS:="8000"}
- JPDA_OPTS=${JPDA_OPTS="-Xdebug -Xrunjdwp:transport=${JPDA_TRANSPORT},address=${JPDA_ADDRESS},server=y,suspend=n"}
-
- # Activate Logging
- if [[ -r "${CATALINA_HOME}"/bin/tomcat-juli.jar ]]; then
- JAVA_OPTS="${JAVA_OPTS} -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager \
- -Djava.util.logging.config.file=${CATALINA_BASE}/conf/logging.properties"
- fi
-
- # Populate the classpath
- CLASSPATH="${CLASSPATH}:${CATALINA_HOME}/server/lib:${JAVA_HOME}/lib/tools.jar"
- if [[ -n "${JSSE_HOME}" ]]; then
- CLASSPATH="${CLASSPATH}:${JSSE_HOME}/lib/jcert.jar:${JSSE_HOME}/lib/jnet.jar:${JSSE_HOME}/lib/jsse.jar"
- fi
- CLASSPATH="${CLASSPATH}:${CATALINA_HOME}/bin/bootstrap.jar:${CATALINA_HOME}/bin/commons-logging-api.jar"
-
- OPTS_CP="${JAVA_OPTS} ${CATALINA_OPTS} \
- -Djava.endorsed.dirs=${CATALINA_HOME}/common/endorsed \
- -classpath ${CLASSPATH}"
-
- CATALINA_ARGS="-Dcatalina.base=${CATALINA_BASE} \
- -Dcatalina.home=${CATALINA_HOME} \
- -Djava.io.tmpdir=${CATALINA_TMPDIR} \
- org.apache.catalina.startup.Bootstrap "
-}
-
-start-helper() {
- local executor=${1}
- shift
- local arguments="--start --quiet --background --chuid tomcat:tomcat \
- --make-pidfile --pidfile /var/run/tomcat.pid"
- start-stop-daemon ${arguments} --exec ${executor} -- ${OPTS_CP} "$@" ${CATALINA_ARGS} ${TOMCAT_START}
- return $?
-}
-
-depend() {
- use dns logger net
-}
-
-start() {
- ebegin "Starting Tomcat"
- init_env_vars
- # Figure out what arguments to pass start-helper based on TOMCAT_START
- if [[ "${TOMCAT_START}" == "debug" ]] ; then
- start-helper ${JAVA_HOME}/bin/jdb \
- -sourcepath ${CATALINA_HOME}/../../jakarta-tomcat-catalina/catalina/src/share
- elif [[ "${TOMCAT_START}" == "debug -security" ]] ; then
- start-helper ${JAVA_HOME}/bin/jdb \
- -sourcepath ${CATALINA_HOME}/../../jakarta-tomcat-catalina/catalina/src/share \
- -Djava.security.manager \
- -Djava.security.policy=${CATALINA_BASE}/conf/catalina.policy
- elif [[ "${TOMCAT_START}" == "jpda start" ]] ; then
- start-helper ${JAVA_HOME}/bin/java ${JPDA_OPTS}
- elif [[ "${TOMCAT_START}" == "start" ]] ; then
- start-helper ${JAVA_HOME}/bin/java
- elif [[ "${TOMCAT_START}" == "start -security" ]] ; then
- start-helper ${JAVA_HOME}/bin/java \
- -Djava.security.manager \
- -Djava.security.policy=${CATALINA_BASE}/conf/catalina.policy
- else
- eerror "Invalid TOMCAT_START variable value, or one is not set"
- eerror "Please see /etc/conf.d/tomcat-5.5 for more information"
- eend 1
- fi
- eend $?
-}
-
-stop() {
- ebegin "Stopping Tomcat"
- init_env_vars
- start-stop-daemon --stop --quiet \
- --make-pidfile --pidfile /var/run/tomcat.pid \
- --exec ${JAVA_HOME}/bin/java -- ${OPTS_CP} ${CATALINA_ARGS} stop
- eend $?
-}
+++ /dev/null
---- apache-tomcat-5.5.17-src/build/build.xml 2006-04-14 14:11:26.000000000 -0400
-+++ build.xml 2006-07-29 14:58:08.000000000 -0400
-@@ -788,6 +788,7 @@
- <property name="flags.hide" value="true" />
- </ant>
-
-+ <!--
- <ant dir="${catalina.home}/webapps/docs" target="build-main">
- <property name="webapps.build" value="${tomcat.build}/webapps" />
- <property name="classes.dir" value="${tomcat.build}/classes" />
-@@ -795,6 +796,7 @@
- <property name="catalina.deploy" value="${tomcat.build}" />
- <property name="flags.hide" value="true" />
- </ant>
-+ -->
-
- <antcall target="build-admin" />
-
-@@ -843,11 +845,13 @@
- filtering="true" />
-
- <!-- Add documents to the tomcat-docs webapp -->
-+ <!--
- <copy file="${basedir}/resources/build.xml"
- todir="${tomcat.build}/webapps/tomcat-docs" />
- <copy file="./RELEASE-NOTES"
- tofile="${tomcat.build}/webapps/tomcat-docs/RELEASE-NOTES.txt"
- filtering="true" />
-+ -->
-
- <!-- Build JARs for webapps classes -->
- <mkdir dir="${tomcat.build}/server/webapps/admin/WEB-INF/lib" />
-@@ -1027,6 +1031,7 @@
- </copy>
-
- <!-- Copy deployer documentation -->
-+ <!--
- <copy todir="${tomcat.deployer}">
- <fileset dir="${tomcat.build}/webapps/tomcat-docs">
- <include name="images/jakarta-logo.gif" />
-@@ -1035,7 +1040,8 @@
- </copy>
- <copy tofile="${tomcat.deployer}/docs/manual.html"
- file="${tomcat.build}/webapps/tomcat-docs/printer/deployer-howto.html" />
--
-+ -->
-+
- </target>
-
- <!-- ====================== Compat target =================== -->
-@@ -1344,8 +1350,8 @@
-
-
- <!-- ====================== DIST: Create Javadoc ======================== -->
-- <target name="dist-javadoc">
- <!--
-+ <target name="dist-javadoc">
- <ant dir="${catalina.home}" target="dist-javadoc"/>
- <mkdir dir="${tomcat.dist}/webapps/tomcat-docs/catalina/docs/api"/>
- <copy todir="${tomcat.dist}/webapps/tomcat-docs/catalina/docs/api">
-@@ -1356,7 +1362,6 @@
- <copy todir="${tomcat.dist}/webapps/tomcat-docs/jasper/docs/api">
- <fileset dir="${jasper.build}/javadoc" />
- </copy>
-- -->
- <mkdir dir="${tomcat.dist}/webapps/tomcat-docs/servletapi"/>
- <copy todir="${tomcat.dist}/webapps/tomcat-docs/servletapi">
- <fileset dir="${api.home}/jsr154/dist/docs/api" />
-@@ -1366,6 +1371,7 @@
- <fileset dir="${api.home}/jsr152/dist/docs/api" />
- </copy>
- </target>
-+ -->
-
-
- <!-- ====================== DIST: Create Sources ======================== -->
-@@ -1441,7 +1447,7 @@
-
-
- <!-- ====================== DIST: Create Archives ======================= -->
-- <target name="dist" depends="deploy,dist-static,dist-javadoc,embed"
-+ <target name="dist" depends="deploy,dist-static,embed"
- description="Create binary distribution">
- </target>
-
-@@ -1479,7 +1485,7 @@
-
-
- <!-- ==================== RELEASE: Create Release ======================= -->
-- <target name="release" depends="clean,dist,dist-source,prepare-release,installer,package-zip,package-tgz,package-embed-zip,package-embed-tgz,package-deployer-zip,package-deployer-tgz,package-compat-zip,package-compat-tgz,package-admin-zip,package-admin-tgz,package-src-zip,package-src-tgz,package-docs-tgz,clean-tester,run-tester"
-+ <target name="release" depends="clean,dist,dist-source,prepare-release,installer,package-zip,package-tgz,package-embed-zip,package-embed-tgz,package-deployer-zip,package-deployer-tgz,package-compat-zip,package-compat-tgz,package-admin-zip,package-admin-tgz,package-src-zip,package-src-tgz,clean-tester,run-tester"
- description="Create a Tomcat 5 packaged distribution">
-
- <filter token="VERSION" value="${version}"/>
-@@ -1772,8 +1778,8 @@
- </target>
-
- <!-- Packages the documentation distro in tar.gz format -->
-+ <!--
- <target name="package-docs-tgz" depends="prepare-release">
-- <!-- Generate docs -->
- <ant dir="${catalina.home}" target="dist-javadoc"/>
- <mkdir dir="${tomcat.dist}/webapps/tomcat-docs/catalina/docs/api"/>
- <copy todir="${tomcat.dist}/webapps/tomcat-docs/catalina/docs/api">
-@@ -1785,7 +1791,6 @@
- <fileset dir="${jasper.build}/javadoc" />
- </copy>
-
-- <!-- Package gocs -->
- <fixcrlf srcdir="${tomcat.dist}" includes="*.txt,LICENSE,NOTICE" eol="lf"/>
-
- <tar longfile="gnu" compression="gzip"
-@@ -1805,6 +1810,7 @@
- <echo file="${tomcat.release}/v${version}/bin/${final.name}-fulldocs.tar.gz.MD5"
- message="${md5sum.binary-prefix}${final.name}-fulldocs.tar.gz${line.separator}" append="true" />
- </target>
-+ -->
-
- <!-- Packages the source code distribution in zip format -->
- <target name="package-src-zip">
+++ /dev/null
---- apache-tomcat-5.5.17-src/build/build.xml 2006-04-14 14:11:26.000000000 -0400
-+++ build/build.xml 2006-07-29 13:02:50.000000000 -0400
-@@ -398,12 +398,16 @@
- <!-- JSPC -->
- <property name="admin.base" location="${tomcat.build}/server/webapps/admin" />
- <property name="ROOT.base" location="${tomcat.build}/webapps/ROOT" />
-+ <!--
- <property name="jsp-examples.base" location="${tomcat.build}/webapps/jsp-examples" />
-+ -->
-
- <mkdir dir="${admin.base}/WEB-INF/src/admin" />
- <mkdir dir="${ROOT.base}/WEB-INF/src" />
- <mkdir dir="${ROOT.base}/WEB-INF/classes" />
-+ <!--
- <mkdir dir="${jsp-examples.base}/WEB-INF/src" />
-+ -->
-
- <path id="jspc.classpath">
- <pathelement location="${java.home}/../lib/tools.jar"/>
-@@ -437,6 +441,7 @@
- addWebXmlMappings="true"
- outputDir="${ROOT.base}/WEB-INF/src" />
-
-+ <!--
- <jasper2
- compile="false"
- validateXml="false"
-@@ -444,6 +449,7 @@
- webXmlFragment="${jsp-examples.base}/WEB-INF/generated_web.xml"
- addWebXmlMappings="true"
- outputDir="${jsp-examples.base}/WEB-INF/src" />
-+ -->
-
- <jasper2
- package="admin"
-@@ -475,6 +481,7 @@
- <include name="**" />
- </javac>
-
-+ <!--
- <mkdir dir="${jsp-examples.base}/WEB-INF/src/tags"/>
- <copy todir="${jsp-examples.base}/WEB-INF/classes">
- <fileset dir="${jsp-examples.base}/WEB-INF/src">
-@@ -507,6 +514,7 @@
- <include name="**" />
- <exclude name="tags/**" />
- </javac>
-+ -->
-
- <javac destdir="${admin.base}/WEB-INF/classes"
- optimize="off"
-@@ -767,7 +775,7 @@
- </ant>
- <ant dir="${api.home}/jsr152" target="dist">
- </ant>
--
-+ <!--
- <mkdir dir="${tomcat.build}/webapps/servlets-examples"/>
- <copy todir="${tomcat.build}/webapps/servlets-examples">
- <fileset dir="${api.home}/jsr154/build/examples" includes="**"/>
-@@ -779,7 +787,7 @@
- <exclude name="WEB-INF/tagPlugins.xml" />
- </fileset>
- </copy>
--
-+ -->
- <ant dir="${catalina.home}/webapps/ROOT" target="build-main">
- <property name="webapps.build" value="${tomcat.build}/webapps" />
- <property name="classes.dir" value="${tomcat.build}/classes" />
-@@ -1082,12 +1090,14 @@
- <antcall target="fix-webapps"/>
-
- <!-- Copy the examples webapps -->
-+ <!--
- <copy todir="${tomcat.build}/webapps/jsp-examples">
- <fileset dir="${api.home}/jsr152/build/examples"/>
- </copy>
- <copy todir="${tomcat.build}/webapps/servlets-examples">
- <fileset dir="${api.home}/jsr154/build/examples"/>
- </copy>
-+ -->
-
- <!-- Copy Unix JSVC from commons-daemon -->
- <copy file="${commons-daemon.jsvc.tar.gz}"
+++ /dev/null
---- apache-tomcat-5.5.15-src/build/build.xml 2006-01-03 10:15:03.000000000 -0500
-+++ build/build.xml 2006-01-28 13:12:39.000000000 -0500
-@@ -140,6 +140,7 @@
-
- <!-- ====================== DEPLOY: Copy Static Files =================== -->
- <target name="deploy-static" depends="init">
-+ <!--
- <copy file="${jsp-api.jar}" todir="${tomcat.build}/common/lib"/>
- <copy file="${servlet-api.jar}" todir="${tomcat.build}/common/lib"/>
-
-@@ -158,9 +159,9 @@
- <copy tofile="${tomcat.build}/bin/tomcat-native.tar.gz"
- file="${tomcat-native.tar.gz}" />
-
-- <!-- <copy todir="${tomcat.build}/common/lib" file="${ant.jar}"/>
-- <copy todir="${tomcat.build}/common/lib" file="${ant-launcher.jar}"/> -->
-+ <copy todir="${tomcat.build}/common/lib" file="${ant-launcher.jar}"/>
- <copy todir="${tomcat.build}/common/lib" file="${jasper-compiler-jdt.jar}"/>
-+ -->
- </target>
-
- <!-- ====================== Build all components =================== -->
-@@ -650,28 +651,8 @@
-
- <!-- <antcall target="build-commons-modeler" /> -->
- <!-- <antcall target="build-commons-daemon" /> -->
--
-- <antcall target="downloadgz">
-- <param name="sourcefile" value="${commons-collections-src.loc}"/>
-- <param name="destfile" value="${tomcat-dbcp.jar}" />
-- </antcall>
-- <antcall target="downloadgz">
-- <param name="sourcefile" value="${commons-pool-src.loc}"/>
-- <param name="destfile" value="${tomcat-dbcp.jar}" />
-- </antcall>
-- <antcall target="downloadgz">
-- <param name="sourcefile" value="${commons-dbcp-src.loc}"/>
-- <param name="destfile" value="${tomcat-dbcp.jar}" />
-- </antcall>
--
-- <antcall target="build-tomcat-dbcp" />
--
-- <antcall target="downloadzip">
-- <param name="sourcefile" value="${jdt.loc}"/>
-- <param name="destfile" value="${jdt.jar}"/>
-- <param name="destdir" value="${base.path}"/>
-- </antcall>
-- <antcall target="build-jasper-compiler-jdt" />
-+ <!-- <antcall target="build-tomcat-dbcp" /> -->
-+ <!-- <antcall target="build-jasper-compiler-jdt" /> -->
- </target>
-
- <target name="build-tomcat-dbcp">
-@@ -824,9 +805,10 @@
- </ant>
-
- <!-- Precompiling and fixing webapps -->
-+ <!--
- <antcall target="build-webapps-precompile" />
- <antcall target="fix-webapps" />
--
-+ -->
- </target>
-
- <target name="fix-webapps" depends="init" >
-@@ -1038,11 +1020,11 @@
- <!-- ====================== Compat target =================== -->
-
- <target name="compat" description="Create compatibility binaries for JREs before 1.5" >
--
-+ <!--
- <copy todir="${tomcat.compat}/common/endorsed" file="${xercesImpl.jar}"/>
- <copy todir="${tomcat.compat}/common/endorsed" file="${xml-apis.jar}"/>
- <copy tofile="${tomcat.compat}/bin/jmx.jar" file="${jmx.jar}"/>
--
-+ -->
- </target>
-
- <!-- ====================== DEPLOY: Deploy Components =================== -->
-@@ -1089,8 +1071,9 @@
- <!-- Copy Unix JSVC from commons-daemon -->
- <copy file="${commons-daemon.jsvc.tar.gz}"
- tofile="${tomcat.dist}/bin/jsvc.tar.gz" />
-+ <!--
- <copy todir="${tomcat.build}/bin" file="${commons-daemon.jar}" />
--
-+ -->
- <echo>Target: Webapps precompilation ...</echo>
-
- <antcall target="build-admin"/>
-@@ -1185,10 +1168,11 @@
- description="Catalina Tests" depends="dist-tester">
-
- <!-- For Java 1.4 -->
-+ <!--
- <copy file="${jmx.jar}" tofile="${tomcat.build}/bin/jmx.jar" />
- <copy todir="${tomcat.build}/common/endorsed" file="${xercesImpl.jar}"/>
- <copy todir="${tomcat.build}/common/endorsed" file="${xml-apis.jar}"/>
--
-+ -->
- <parallel>
-
- <java classname="LauncherBootstrap" fork="yes">
-@@ -1827,10 +1811,10 @@
-
- <!-- commons-digester needs ../LICENSE -->
- <!-- That is ugly XXX needs a review -->
-+ <!--
- <copy file="LICENSE" tofile="../LICENSE"/>
- <copy file="LICENSE" tofile="${base.path}/LICENSE"/>
-
-- <!-- Downdown any sub package or tools needed. -->
- <antcall target="downloadgz">
- <param name="sourcefile" value="${commons-beanutils.loc}"/>
- <param name="destfile" value="${commons-beanutils.jar}"/>
-@@ -1872,7 +1856,6 @@
- </antcall>
-
- <antcall target="downloadgz">
-- <!-- xerces2 brings 2 files, test for one of them -->
- <param name="sourcefile" value="${xerces.loc}"/>
- <param name="destfile" value="${xml-apis.jar}"/>
- </antcall>
-@@ -1893,7 +1876,6 @@
- <param name="destfile" value="${commons-launcher.jar}"/>
- </antcall>
-
-- <!--
- <antcall target="downloadgz">
- <param name="sourcefile" value="${commons-pool.loc}"/>
- <param name="destfile" value="${commons-pool.jar}"/>
-@@ -1904,7 +1886,6 @@
- <param name="destfile" value="${commons-dbcp.jar}"/>
- <param name="destdir" value="${base.path}"/>
- </antcall>
-- -->
-
- <antcall target="downloadgz">
- <param name="sourcefile" value="${commons-httpclient.loc}"/>
-@@ -1932,7 +1913,7 @@
- <param name="destfile" value="${tomcat-native.tar.gz}"/>
- <param name="destdir" value="${tomcat-native.home}"/>
- </antcall>
--
-+ -->
- <!-- Build the dependencies that are not yet released -->
- <antcall target="build-depends"/>
-
-# $Header: /var/cvsroot/gentoo-x86/www-servers/tomcat/files/6.0.2/tomcat.conf,v 1.1 2006/11/20 04:32:22 wltjr Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-servers/tomcat/files/6/tomcat.conf,v 1.1 2006/12/08 07:00:55 wltjr Exp $
# JVM Runtime
# Using the default setting, it will determine your JVM from the system-vm
#!/sbin/runscript
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-servers/tomcat/files/6.0.2/tomcat.init,v 1.1 2006/11/20 04:32:22 wltjr Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-servers/tomcat/files/6/tomcat.init,v 1.1 2006/12/08 07:00:55 wltjr Exp $
init_env_vars() {
# Set some sane defaults
+++ /dev/null
-MD5 2f9fad7642013a5e4ccba3d763e6d479 apache-tomcat-6.0.2-src.tar.gz 3244552
-RMD160 9061581c2d43d2368d47570eb5841dffd50bd961 apache-tomcat-6.0.2-src.tar.gz 3244552
-SHA256 77c7facbaa3460aef31cb7695fe8138f8f82abd03e8273658687a630e756e324 apache-tomcat-6.0.2-src.tar.gz 3244552
+++ /dev/null
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-servers/tomcat/tomcat-6.0.2.ebuild,v 1.2 2006/12/05 00:07:04 wltjr Exp $
-
-inherit eutils java-pkg-2 java-ant-2
-
-DESCRIPTION="Apache Servlet-2.4/JSP-2.0 Container"
-
-MY_P="apache-${P}-src"
-SLOT="6"
-SRC_URI="mirror://apache/${PN}/${PN}-6/v${PV}/src/${MY_P}.tar.gz"
-HOMEPAGE="http://jakarta.apache.org/tomcat"
-KEYWORDS="~amd64 ~x86 -ppc -ppc64"
-LICENSE="Apache-2.0"
-
-IUSE="doc examples jni source test"
-
-RDEPEND=">=virtual/jre-1.5
- =dev-java/eclipse-ecj-3.2*
- >=dev-java/commons-daemon-1.0.1
- >=dev-java/commons-dbcp-1.2.1
- >=dev-java/commons-logging-1.1
- >=dev-java/commons-pool-1.2
- jni? ( dev-libs/apr
- dev-libs/openssl )"
-
-DEPEND=">=virtual/jdk-1.5
- ${RDEPEND}
- test? (
- dev-java/junit
- dev-java/ant
- )
- !test? ( dev-java/ant-core )"
-
-JAVA_PKG_NV_DEPEND="=virtual/jdk-1.5*"
-
-S=${WORKDIR}/${MY_P}
-
-TOMCAT_NAME="${PN}-${SLOT}"
-TOMCAT_HOME="/usr/share/${TOMCAT_NAME}"
-WEBAPPS_DIR="/var/lib/${TOMCAT_NAME}/webapps"
-
-pkg_setup() {
- enewgroup tomcat 265
- enewuser tomcat 265 -1 /dev/null tomcat
-
- JAVA_PKG_WANT_SOURCE="1.5"
- JAVA_PKG_WANT_TARGET="1.5"
-}
-
-src_unpack() {
- unpack ${A}
- cd ${S}
-
- epatch "${FILESDIR}/${PV}/build-xml.patch"
-
- cd ${S}/bin
- java-pkg_jar-from commons-daemon
-}
-
-src_compile(){
- # Prevent out of memory/heap space errors
- java-pkg_force-compiler ecj-3.2
-
- local antflags="build-jasper-jdt build-only -Dbase.path=${T}"
- antflags="${antflags} -Dant.jar=$(java-pkg_getjar ant-core ant.jar)"
- antflags="${antflags} -Dcommons-daemon.jar=$(java-pkg_getjar commons-daemon commons-daemon.jar)"
- antflags="${antflags} -Djdt.jar=$(java-pkg_getjar eclipse-ecj-3.2 ecj.jar)"
- eant ${antflags}
-
- if use jni; then
- cd ${S}/native/connector
- sh buildconf --with-apr=/usr || die
- econf --with-apr=/usr --with-ssl=/usr || die
- make || die
- fi
-}
-
-src_install() {
- local CATALINA_BASE=/var/lib/${TOMCAT_NAME}/
-
- # init.d, conf.d
- newinitd ${FILESDIR}/${PV}/tomcat.init ${TOMCAT_NAME}
- newconfd ${FILESDIR}/${PV}/tomcat.conf ${TOMCAT_NAME}
-
- # create dir structure
- diropts -m755 -o tomcat -g tomcat
- dodir /etc/${TOMCAT_NAME}
- fperms 750 /etc/${TOMCAT_NAME}
- dodir /usr/share/${TOMCAT_NAME}
- keepdir /var/log/${TOMCAT_NAME}/
- keepdir /var/tmp/${TOMCAT_NAME}/
- keepdir /var/run/${TOMCAT_NAME}/
- dodir ${CATALINA_BASE}
- diropts -m0755
-
- cd ${S}
- # we don't need dos scripts
- rm -f bin/*.bat
-
- # fix context's since upstream is slackin
- sed -i -e 's:}/server/:}/:' ${S}/webapps/host-manager/host-manager.xml
- sed -i -e 's:}/server/:}/:' ${S}/webapps/manager/manager.xml
-
- # copy the manager's context to the right position
- mkdir -p conf/Catalina/localhost
- cp ${S}/webapps/host-manager/host-manager.xml conf/Catalina/localhost
- cp ${S}/webapps/manager/manager.xml conf/Catalina/localhost
-
- # replace the default pw with a random one, see #92281
- local randpw=$(echo ${RANDOM}|md5sum|cut -c 1-15)
- sed -e s:SHUTDOWN:${randpw}: -i conf/server.xml
-
- # copy over the directories
- chown -R tomcat:tomcat webapps/* conf/*
- cp -pR conf/* ${D}/etc/${TOMCAT_NAME} || die "failed to copy conf"
- cp -R bin output/build/bin output/build/lib ${D}/usr/share/${TOMCAT_NAME} \
- || die "failed to copy"
-
- cp ${T}/tomcat6-deps/jdt/jasper-jdt.jar ${D}/usr/share/${TOMCAT_NAME}/lib \
- || die "failed to copy"
-
- keepdir ${WEBAPPS_DIR}
- chown tomcat:tomcat ${D}/${WEBAPPS_DIR} || die "Failed to change owner off ${1}."
- chmod 750 ${D}/${WEBAPPS_DIR} || die "Failed to change permissions off ${1}."
-
- cd ${S}
-
- # Copy over webapps, some controlled by use flags
- cp -p RELEASE-NOTES webapps/ROOT/RELEASE-NOTES.txt
- cp -pr webapps/ROOT ${D}${CATALINA_BASE}/webapps
-
- mkdir ${D}${TOMCAT_HOME}/webapps
- chown tomcat:tomcat ${D}${TOMCAT_HOME}/webapps
- cp -pr webapps/host-manager ${D}${TOMCAT_HOME}/webapps
- cp -pr webapps/manager ${D}${TOMCAT_HOME}/webapps
-
- if use doc; then
- cp -pr webapps/docs ${D}${CATALINA_BASE}/webapps
- fi
- if use examples; then
- cp -pr webapps/examples \
- ${D}${CATALINA_BASE}/webapps
- fi
-
- # symlink the directories to make CATALINA_BASE possible
- dosym /etc/${TOMCAT_NAME} ${CATALINA_BASE}/conf
- dosym /var/log/${TOMCAT_NAME} ${CATALINA_BASE}/logs
- dosym /var/tmp/${TOMCAT_NAME} ${CATALINA_BASE}/temp
- dosym /var/run/${TOMCAT_NAME} ${CATALINA_BASE}/work
-
- dodoc ${S}/{RELEASE-NOTES,RUNNING.txt}
- fperms 640 /etc/${TOMCAT_NAME}/tomcat-users.xml
-}
-
-pkg_postinst() {
- einfo
- einfo " This ebuild implements a FHS compliant layout for tomcat"
- einfo " Please read http://www.gentoo.org/proj/en/java/tomcat-guide.xml"
- einfo " for more information."
- einfo
- einfo " Please report any bugs to http://bugs.gentoo.org/"
- einfo
-}