diff options
Diffstat (limited to 'dev-java/tomcat-servlet-api')
25 files changed, 1088 insertions, 0 deletions
diff --git a/dev-java/tomcat-servlet-api/Manifest b/dev-java/tomcat-servlet-api/Manifest new file mode 100644 index 000000000000..4df1941ec244 --- /dev/null +++ b/dev-java/tomcat-servlet-api/Manifest @@ -0,0 +1,41 @@ +AUX 2.5-build-r1.xml 3084 BLAKE2B 6eb6025444ad6b2af035217bc7c1410a1238e25eaafdfdfe4ac706137791b329b05a28f56f77c57fa8de30b77d457e912208068b97bf6b8fbee7d7af168d07a5 SHA512 1bf5789c683896ffde160f96dc6fcb2ef58dd645a208b3d8e08863fd176337ae81e4d29535bb18df909cfe233576f25d93c35ad1072fca3a79b19e784638f5fb +AUX 3.0-build.xml 3192 BLAKE2B ff380d3f1a79b751ac1aa35e949af97c2257775cf9a15f67320bef45af7a5379392d3ea70507ced89d454c663551a4ddb90ff1de1a9a3a3c76a0a3e2a35df775 SHA512 fff70f29b7b8025ce10261c9afc140b0765aee35821fbbdc161872ecec4819832ed12a71bb54e9eea96ecf8418f51a11a8716b07bfdfb957dde6bc1abe8ee7e8 +AUX 3.1-build.xml 3193 BLAKE2B 2bd250b67ae737c0197eb00b0aff4452444a9b5c99e3d25ebb3a16f7c31f4a65fc7d45b1f4abb7b7530e00ebc9334491f9eabb793d46ab144c718cad61b8f01f SHA512 efa6753a44e7f18c04bff98b68262112ee192857a8b15899e6927de1754c25788fb551251207433f0a7cf69703e310e6f577853d6eb6f6f6e48f2a57ca4921c8 +AUX 4.0-build.xml 3193 BLAKE2B 2bd250b67ae737c0197eb00b0aff4452444a9b5c99e3d25ebb3a16f7c31f4a65fc7d45b1f4abb7b7530e00ebc9334491f9eabb793d46ab144c718cad61b8f01f SHA512 efa6753a44e7f18c04bff98b68262112ee192857a8b15899e6927de1754c25788fb551251207433f0a7cf69703e310e6f577853d6eb6f6f6e48f2a57ca4921c8 +AUX jsp-api-2.0-manifest 474 BLAKE2B 51ae750bf0caa563387eb51f0fb1be53c693c7cb0d1e0b8193fa80d70a776c0cf24b2eee585cf77292bc2112b60075414a4d05ebe16dc26eb3c2976a44420774 SHA512 f2e21cee74fd1c3f1403eb3e26c1c7a59be420bc25da842af0cfae851fcf4bb22575b147feb2ffd3a52410e0e552bafb4414b9f8ef5f9a0f4df1d061f2c6be41 +AUX servlet-api-2.4-manifest 310 BLAKE2B 8400197ebfe43615dbea9ac8fad2b85f89abe9e8414cbc1ce835f09ccc2921e3aa50bffc3d3c38364bd61d38f14e979219f93125c3b61403ebecebd16226fa56 SHA512 bb16a0fd2d277d2b7990294bfc730def285d6e390c8ab3166d8ffb08e9d9c62c9f462893fdd9eb84cfa93685262a8800622acdbf0fd9a7f2ffb5709f0387f9ca +DIST apache-tomcat-4.1.36-src.tar.gz 3715200 BLAKE2B 0af7c15e821c7b437c4a12c07aa6943184d3bb6c08f925c09e0357f3b7cdd87b17d5303725560508480646e89cfcbaae671527ca4879adb26085855e15139b93 SHA512 f2f36fbad5114c8a74154602249280226b839cbb75b2a584d6a6efbc11dcd2a5e27a67ee9b7ca2f12689cabfe1110035f95b27690ce6c304bbbb6389dfa97cd2 +DIST apache-tomcat-5.5.27-src.tar.gz 7382057 BLAKE2B 289c586c9664efb63f921bffab80a180639ff4c14cc1f676cb7aff27c9416a20e142bc56862c0a06b26d30bc5a7415b07c0b7c3263286af860b27ee940f745b4 SHA512 32c605aad92b7d554b9e0f28a4d3e707b3cbfc0661a969eb2479512517f8e9e8848b820132d711c41f5c0fa863028b38e1fa903e7c0205599e9e58a86ab4733a +DIST apache-tomcat-5.5.34-src.tar.gz 3720299 BLAKE2B 9ec9171f7fb5aa43a3d7df0d3e06932b214d9740c56e95468f45d2f4ea0e157f9bd33dcc715ace9f950761b1fbfd7a5cbf9fec47f98feb1088641a24de4a8f4a SHA512 4c8616f839a3c413ffef45b7b6876f123cbda37f4029db96ac1c8f259a75f0d65cdb5709468d89e731e5436b011dac4ee3e9dc397adfc9ad4d0b1bc462c8e519 +DIST apache-tomcat-6.0.44-src.tar.gz 3447711 BLAKE2B 7baf1fc24a7c9aba7e2ddac63fe0c0975178616bfad8cd625d2910d18ad9b00cd85c98ba4a1ada251119629b96ff464ac623857f6928e3b9465708cdf5bc7513 SHA512 0d6a1539b28fa8ca3442557889d7d21cc523b18136f6998820ba13f41420536aba65ce78bac526002ee1dd86df3cbc80d9f043a3f765d7cf0b79e58e516030be +DIST apache-tomcat-6.0.45-src.tar.gz 3494054 BLAKE2B 5dc7ac1c941b3b307ff6ccc53b59ddcd141c5ece00424a89025272d170e00ed14462f9805be0e26750f60ff1eb223e2829e7d215502f526e800bf2ffffaee30a SHA512 d300e6b805bb70fc348133467b2aeac728dc0ae44f2fc1f309c3b2971987c1e46b81f156ebd7ddfda38f6746e90af1402c4e16a2d30bc7b081b761c87df8ffab +DIST apache-tomcat-6.0.53-src.tar.gz 3522914 BLAKE2B 054b097c16861abaa8bdbeba713b49bc1dfcff573bb3f4bd0ff5807c33a2a0fb991af618f6e11e5b3ce3fa55c589fc6569342cab5d5a00349c79bc7061d81e40 SHA512 915a0a18f5c2883625c9441eed6465973eff4f6bf41e08e925c7edaea89ef8f6ee9476d3e06fa38228d4bcb4decaf53e3a7bdb7ec7e899e6250db3e12a9f5f2c +DIST apache-tomcat-7.0.82-src.tar.gz 4697342 BLAKE2B 1106ed04dc83e64e395de29f01a7752a0578b0c88046eb59614a7cfc0d8a98e3aebb698c8eb56763eea41620d9b42482971c5093304184b1028c6bd8f9770ada SHA512 fc92388d81316de0246df4074c417ffa341eab55308c0694e9ea71c5497c863b42019cd1f38628ff640114c501a06c4e9c428cb2b6f1bc1c16fb337a286718db +DIST apache-tomcat-7.0.85-src.tar.gz 4718223 BLAKE2B 3067709eb143feee5cc1f31cdd8d41c58fb96ed1330560a4064ac3b3eeb030c76ff066c2a2f950d6f2c1576bde214f963f1a12342536a8e2ab8ac179dd166bfb SHA512 f95383b2c77670845cce577161ecf326c3e0f49d456792a53305640289d049b0de80f4b6901bcda52bc4967895f97772591eee525affee1a1d07aac2e60d2044 +DIST apache-tomcat-7.0.88-src.tar.gz 4733229 BLAKE2B 2e2009f64ae8f027e93bd7f3cec21f98fbb1f5c741b6525da1638c6188ebe44aa8b43d984abd769385992a997226392c59ec059e408873261a04d9e96a4603c3 SHA512 2ad5c11ec7c5e8e68fba6c0427b0479969a56e7ccb3f0b1ee6c6f139d5f2b718ee9c56f044e982013108ee6e06c43037d0061e539203e95453e9cae7cb38711d +DIST apache-tomcat-8.0.50-src.tar.gz 5023017 BLAKE2B 862799b7f6a227217c93e1b65aacc49a765b6d11886d0f2278a860c3f4e2b89692cfb724e323d3afe074ad3af3ef8cfd780e4be1ad2f55fee381e5054fbb1941 SHA512 c46efe03cfaadbc2b89063c05c5ec9f315a4eeacdfbf6dd43691c3d23a87d75b23b6679550518d825f8ec7ed853a899ca88cc54c61da9983b025ec7042c3bfff +DIST apache-tomcat-8.0.52-src.tar.gz 5039683 BLAKE2B 36318d0ae50fbca3f2a97e0210d0a8da8314f1ef79d0b047971bca30a5b0cc937faf013b5090f6e6b8aec4127b6185dc54ae589f5b57143b62c71c09f8bd5e9d SHA512 6d846213db0b15f9add8d80f30f304afdaf879ab6d7f85d212183a93f4f360ebfeeb079813bdea83cbd13f507504473028bbf8279e89b800b6f150b83086fa56 +DIST apache-tomcat-8.5.23-src.tar.gz 5086043 BLAKE2B 9bcad0d465aff6da1ba4a846042491bc8d5963283ed1d2530a26ab48289d14e8b85834d24ca476c95a75c1a5f51ee3ecd71c190b9609983cce56b56bc046b6d3 SHA512 2848331553f2c1bc51a4113960c6fe7e2beddf9146341dbfde1a27e2232802cfc364c8e8b988ae862371ca1a3be34665a56a28be9eadf80f8b317e0e2525cbef +DIST apache-tomcat-8.5.30-src.tar.gz 5143270 BLAKE2B 3bdcff663ca509efc3b2ee92ce140a3a22abf7fc0e32b5fa9a0ee713bdc1065ebde0b77cf624cedc2e0893194518d10e1f5df5b2f41edf76cb61157ac4d02862 SHA512 53729cfd1859872109f816df2642e3cd776a7faf8c55b1d50df0459f12958aacbf36debe6e8f10c19ab0a5bb2973fa63a2fec57f83ecaf19f4cf9d82e4a20265 +DIST apache-tomcat-8.5.31-src.tar.gz 5154531 BLAKE2B cce0388e5c8c5fb5fcb3dba3b5961dc21d9f19d9a2f6177660a41410bddf241f73dda1e52c3875e28cfa13041c85a458a92c9a23c509b645f042cfa472081fde SHA512 659137ef4809af329ae4dd6f5825a603c1408ef3e48153abe7480a722e7f4bebef68a64af9cbef4a4ad9a7e8da76494f825035bbadbb983a097525f476f32f33 +DIST apache-tomcat-9.0.7-src.tar.gz 5106551 BLAKE2B b4552146a40c2e7cbb2e454fb5ec9169425db5c08cf269c391ec3144425ad388a2b6f003a7c05f59a9fd724fb5c848102890a24fcfd43d5fea3d881141aa7798 SHA512 cb7dc5547671d94f7c7fb0b58eeb94d05128349cdabf576fc8ad837a4bf3ea655a8eab3342245dfa84a9db23f1cbee2918846eedd48e3ca372eecebfef13c5b2 +DIST apache-tomcat-9.0.8-src.tar.gz 5115250 BLAKE2B 8eaf0aa963711f90278d6d20986f4ba583c64e9e2b1f0b82ccc676a854a2078fe29c3b691d49af529074c9eea02ba78802cc9a4bb5cd7a3e561f6dfcb342c50b SHA512 22a3c9a2c9f2fa87b218ec5deb50248af201e83111bbeb7fcfbb7dde5aba3e2d61b53bc40500b3e364a9fb94b576ad8a4683979534274af0f3bcdfb86aa045e7 +DIST jakarta-servletapi-src.tar.gz 65342 BLAKE2B 03674ca65e0cc509b04a6255d5dd20d26aa5053ed54588e9ba655330c56c9c523c5b382804aee9816cb9aa2ac19cccc1ad288ed06b2af85ba535854bc72bed73 SHA512 7dad5a52ab6bfca4b052d60a48fc89ce22a5eb790584671f24d8d22b163f2dffe93bea58caebc6b4ecb0bd8434a074c88f640aa57daa1cefbf47d74df758c084 +EBUILD tomcat-servlet-api-3.ebuild 849 BLAKE2B 88f6dc377d4c33eb50a3559f5b1b275cbbddf077c119e792afc567458d74e4f6fa710a97e71543c19caecafb8a7e26ee0cfb4cf34006a2aaae9a97924cb9463b SHA512 085c9e220972fb0f923b710a33a76977aaf76c8abee84c5c0c80ff40932585fdb0cd3a00705a60ef615558a0c20f93522cfd705fc5e5c0af70fe9eb2e640ee5a +EBUILD tomcat-servlet-api-4.1.36.ebuild 982 BLAKE2B f7c7e92165fcd0181b65bd9fd905f818653c44262b36672986140a78466d16933f980dc75e886f46f495d775777506bfe76ad37efc2903c2f09e5e21190dc26a SHA512 c5bf0955bcde88055150fc42af73b43eaa6657106918c5aad142ebb9a09ace3554ab49c07270e9ad2c5730af0fd7dcde9ae9de76e9dc40e52ac5f51c90bf5c75 +EBUILD tomcat-servlet-api-5.5.27-r1.ebuild 1406 BLAKE2B 804845f9eb553b2f24edfa30e8fcc4047c379bd185730f0681ddd23605c513f9adf921d7eb724729b2894a888ab030de47b7f6c1764ef9d8425eaa4cb2cb65a8 SHA512 5419209691c73817366f0ffdc7f9b3c1f75562e318d7b45c77f433ddfc3aeeb6b5fcb61ca23e05947772207b35221e6eac9a9a7b3e2f461bc71f52ed024c0b6a +EBUILD tomcat-servlet-api-5.5.34.ebuild 1419 BLAKE2B 8c55639dd2ef3367f74b6371561922851d0514cdcc8a7a87f48d7f86e4bb97dbbe5097633e8d3dad317387cab4383edbf63b326d543f2e99927bc7aaa4b73ffe SHA512 a8725711c6e98068fd30e1642125bc092dc9eeb9cd706611c0526e47fa110d5ff7059e25476435c66abcfeee73ec220855c4dd7cb6eb0a204a4024af43bbf410 +EBUILD tomcat-servlet-api-6.0.44-r1.ebuild 941 BLAKE2B c253c51b56d719fc6abe9cc714ef2ffbc2e4dcd8fa1ebe61b77968cb15f8d8e224300c491e445350396b67713a0474598f6c8d761361b3d49c05411f29df900f SHA512 b0a47a4631bbfcc5986ed9f61565782aed2437e169210bcae2df459adcaf6fd9727133006701650735ace3d0203235f22b845dca2791abb79c0564c8ad03c764 +EBUILD tomcat-servlet-api-6.0.45.ebuild 944 BLAKE2B ec11ffa4834b9dc0966892c0d221640ec7ef75633806394b69b0bfa79d51728ba552809cf3c462d063198982de879a2acb32be2ecf5d5dd30d5db8eae60a0b78 SHA512 a9ec48dabbf5d7668c7e23b8e891faff8be25bd3f4beae55b0e8d95cff271ab81c03f13bdd2f127fe40aacb70f4db845452f8ffd66c82f4b11604d4cbfd46141 +EBUILD tomcat-servlet-api-6.0.53.ebuild 943 BLAKE2B c7b1a81fcb5f243e1888df39fc624a11385809ae602b4af2547b8a8a04ba4b1f4baf66703e9cd16ccf380b0dabe90c93b95c282c6605db03186d180a491c94c4 SHA512 d6bcfceea13c347ef6b467c3e2b18313465717d3c855c5011f3d5a0b130bc7a6f19c1f02eb647bdc328d16ceb8582ed7f3b68ca13c60bd29861a68700bb52e02 +EBUILD tomcat-servlet-api-7.0.82.ebuild 906 BLAKE2B 2169547e97371a8532c797f02e31ad1e17b04d2f03f7ab3041dac4ac1f23e699cdea60fb5779436d259cb3fdba6c59cd083d9cf4f874e8dad3f3194919c38c6c SHA512 ea84aa02351af9a21ffdad739619e1b8bc22b0978a03f464fedd7400257ed253040c2bd89be2749f00889f009988dd4083a5ceb81a89d3d6d5e8a5b6bfc07dbb +EBUILD tomcat-servlet-api-7.0.85.ebuild 907 BLAKE2B 4d44c9e83f65cb6997d11bc0cc586980ee5adb884b0e41b4a4f7e9e1634507d1cdf2d077e5e53138003d04e893c6f240afd54db14d00d0f98385e4dfe0cc41e1 SHA512 36a32450116f61421399c8ccd31ab78d37f743ea5f1c8a58f6a045e0a50cb5d505ba0e448d0335c463a50f9e3132859c7cb6a8517ac88147dcce656bf3528377 +EBUILD tomcat-servlet-api-7.0.88.ebuild 908 BLAKE2B cfcc0e873d630eeb6f43cff3cbc8d48587563baa299e4ef8550cdcd02cf6289ba96d4f70653c0328cee35898d8b560596d13f8fae24ccff9672a2b4ee3fa7694 SHA512 f670f2f7885177a3fe36088033f143673ed1b104877daad5f6c895da7e2964301e018e5ad80b5eeb5cfa2aa2e226a99fe034dc752edb133cfed758be9bbeb7f4 +EBUILD tomcat-servlet-api-8.0.50.ebuild 964 BLAKE2B 1b68372c27f23b04a1c042e7f689f32ce5b9a6b29d397cc94c41eab20194489ea551d66dc69e8e1689b17ff9a158d31387677893d22ba5dd759d5bc1dc78e780 SHA512 f7cb5af08726a44158c0ffa080737c2ddbd8f14f2c29768392af2a413fa0c98e87b5f96828c569fa34241e5dbde8857fa5790dfd69c347c592ce207ca633536e +EBUILD tomcat-servlet-api-8.0.52.ebuild 965 BLAKE2B 8137fd074339a70166e04ecbdd631dbeb32ae21804918a65d79bd30b9790c54bfc9acffae5bfc6390b86d1b230959eba5043539bc367cafc0bb7f4eb6582b33c SHA512 f4e9c7c4be07457d48d8162a2e68c12a21289cc58b509cc2cc2570bd11a60d74ff83e98c31ed09a96a12e376eb22042a21ed08319a74c21fe6b3faa663bd4f05 +EBUILD tomcat-servlet-api-8.5.23.ebuild 1010 BLAKE2B fb16fa9955dd865619850de21cdae0e44130895b3f886ec96ad5cff37f45f8a13b5caaddc083f46d2eab6b00e174689e652a5a0ead58fb4626e40612c1fd5784 SHA512 1ceaa37c6434f32e10705b0663bc39e2ccc5507c621a2ede604feec69a49bcb46ddd49fff33a5ccce50d4daa228170a3db30e31624ae84dfc83b538de10f7824 +EBUILD tomcat-servlet-api-8.5.30.ebuild 1012 BLAKE2B 9b0a3428cace85369df81f0396d28a6d1a616be8d47702bd8a86fdaea6f97add9ebfd005e9834b39c48ab27767a2284bc2dc9d4299c80bc6f3b249639c593d39 SHA512 5f9c4742f04f8d607e54a7abd01d4dcaacd461a0751785f5c153d8547b20a70fe6c5d243a9d4f8c8f84c7d4230c05d66f4c8041940d7e00741afa11a952619f7 +EBUILD tomcat-servlet-api-8.5.31.ebuild 1013 BLAKE2B 1500538e35d723b1f5f78eb587db6169a531ae47c8cd66a05c19fddae518b4119ac84922100e840de84ff8cb647f974b55b3374b599560b62cfb1f743dffe18c SHA512 0f8c8fea52bfd4f9ef321a258e6dde507fa99a3d5d3626be1bc4c6972d3a6e57bde977d3dbbf3e5de3e3b877fbbb2ede8857d94e5cadd420a5994e21558a16c3 +EBUILD tomcat-servlet-api-9.0.7.ebuild 1007 BLAKE2B 93f6cdc024db1fd4959c86661de3d58e4a3457e54e94bc26d28cfa14f276b17ae61113252b9004de8492f815fd4b02744e055c8082d3fe50918376e61dcca071 SHA512 4cbd09d197fa558fb2172bfb637c06c6f028939038ad3071074019de4663c833d24f8f96a1c7ca628241ae65ef16fc88a06b226f210070170844ad95e2890c51 +EBUILD tomcat-servlet-api-9.0.8.ebuild 1008 BLAKE2B 315c88c9c197728d0587b70a6601d9bcf96d2b8a638c6cea32a06bf0d3e12161a6bcd2484fd4552bdc0e042a2a7a604e304636bea99e5f2f6bbf2f20b2cda407 SHA512 fe215a2c4c26d54748eff5a1250b65d16c2913e0040eb7b31295de9b4be46a84b725a8c34307db9211e17c77abbd7e49725c1ecd99519964d0995eaa30711fe6 +MISC metadata.xml 343 BLAKE2B a80748e0afc76957694f9e0c5d086c538d4c88de015f5e66d7f1e0e21d38a2449f6986e708714610bc0ea3054b1330db2754f930c4500f213d8d6ca57f0b6c42 SHA512 62a67a69fdb781c32b070fa227e21223324678d315a5fa95687597744dd2d4afc26412ef0656d2e5cebc13d9ee2a0edf7f8e8f94b416a3996bb16b59bf2a83f3 diff --git a/dev-java/tomcat-servlet-api/files/2.5-build-r1.xml b/dev-java/tomcat-servlet-api/files/2.5-build-r1.xml new file mode 100644 index 000000000000..585ed9f07843 --- /dev/null +++ b/dev-java/tomcat-servlet-api/files/2.5-build-r1.xml @@ -0,0 +1,90 @@ +<project name="Tomcat Serlvet API 2.5/JSP API 2.1" default="deploy" basedir="."> + + <property name="compile.source" value="1.5"/> + + <property name="tomcat.build" value="${basedir}/output/build"/> + <property name="tomcat.classes" value="${basedir}/output/classes"/> + <property name="servlet-api.jar" value="${tomcat.build}/lib/servlet-api.jar"/> + <property name="jsp-api.jar" value="${tomcat.build}/lib/jsp-api.jar"/> + <property name="el-api.jar" value="${tomcat.build}/lib/el-api.jar"/> + + <!-- Just build Tomcat --> + <target name="build-prepare"> + + <available classname="junit.framework.TestCase" property="junit.present" /> + + <mkdir dir="${tomcat.build}"/> + <mkdir dir="${tomcat.build}/lib"/> + <mkdir dir="${tomcat.classes}"/> + + </target> + + <target name="compile"> + + <!-- Compile internal server components --> + <javac srcdir="java" destdir="${tomcat.classes}" + debug="${compile.debug}" + deprecation="${compile.deprecation}" + source="${compile.source}" + optimize="${compile.optimize}" + excludes="**/CVS/**,**/.svn/**"> + <exclude name="java/javax/annotation/**" /> + <exclude name="java/javax/ejb/**" /> + <exclude name="java/javax/mail/**" /> + <exclude name="java/javax/persistence/**" /> + <exclude name="java/javax/xml/**" /> + <exclude name="org/**" /> + </javac> + <tstamp> + <format property="TODAY" pattern="MMM d yyyy" locale="en"/> + <format property="TSTAMP" pattern="hh:mm:ss"/> + </tstamp> + <!-- Copy static resource files --> + <filter token="VERSION" value="${version}"/> + <filter token="VERSION_NUMBER" value="${version.number}"/> + <filter token="VERSION_BUILT" value="${TODAY} ${TSTAMP}"/> + <copy todir="${tomcat.classes}" filtering="true"> + <fileset dir="java"> + <include name="**/*.properties"/> + <include name="**/*.dtd"/> + <include name="**/*.tasks"/> + <include name="**/*.xsd"/> + <include name="**/*.xml"/> + </fileset> + </copy> + + </target> + + <target name="jar" depends="build-prepare,compile"> + <!-- Servlet 2.5 Implementation JAR File --> + <jar jarfile="${servlet-api.jar}"> + <fileset dir="${tomcat.classes}"> + <include name="javax/servlet/*" /> + <include name="javax/servlet/http/*" /> + <include name="javax/servlet/resources/*" /> + <!-- Javadoc and i18n exclusions --> + <exclude name="**/package.html" /> + <exclude name="**/LocalStrings_*" /> + </fileset> + </jar> + + <!-- JSP 2.1 Implementation JAR File --> + <jar jarfile="${jsp-api.jar}"> + <fileset dir="${tomcat.classes}"> + <include name="javax/servlet/jsp/**" /> + <!-- Javadoc and i18n exclusions --> + <exclude name="**/package.html" /> + <exclude name="**/LocalStrings_*" /> + </fileset> + </jar> + + <!-- JSP 2.1 EL Implementation JAR File --> + <jar jarfile="${el-api.jar}"> + <fileset dir="${tomcat.classes}"> + <include name="javax/el/**" /> + </fileset> + </jar> + + </target> + +</project> diff --git a/dev-java/tomcat-servlet-api/files/3.0-build.xml b/dev-java/tomcat-servlet-api/files/3.0-build.xml new file mode 100644 index 000000000000..c685394d83f9 --- /dev/null +++ b/dev-java/tomcat-servlet-api/files/3.0-build.xml @@ -0,0 +1,92 @@ +<project name="Tomcat Serlvet API 2.5/JSP API 2.1" default="deploy" basedir="."> + + <property name="compile.source" value="1.5"/> + + <property name="tomcat.build" value="${basedir}/output/build"/> + <property name="tomcat.classes" value="${basedir}/output/classes"/> + <property name="servlet-api.jar" value="${tomcat.build}/lib/servlet-api.jar"/> + <property name="jsp-api.jar" value="${tomcat.build}/lib/jsp-api.jar"/> + <property name="el-api.jar" value="${tomcat.build}/lib/el-api.jar"/> + + <!-- Just build Tomcat --> + <target name="build-prepare"> + + <available classname="junit.framework.TestCase" property="junit.present" /> + + <mkdir dir="${tomcat.build}"/> + <mkdir dir="${tomcat.build}/lib"/> + <mkdir dir="${tomcat.classes}"/> + + </target> + + <target name="compile"> + + <!-- Compile internal server components --> + <javac srcdir="java" destdir="${tomcat.classes}" + debug="${compile.debug}" + deprecation="${compile.deprecation}" + source="${compile.source}" + optimize="${compile.optimize}" + excludes="**/CVS/**,**/.svn/**"> + <exclude name="java/javax/annotation/**" /> + <exclude name="java/javax/ejb/**" /> + <exclude name="java/javax/mail/**" /> + <exclude name="java/javax/persistence/**" /> + <exclude name="java/javax/xml/**" /> + <exclude name="org/**" /> + </javac> + <tstamp> + <format property="TODAY" pattern="MMM d yyyy" locale="en"/> + <format property="TSTAMP" pattern="hh:mm:ss"/> + </tstamp> + <!-- Copy static resource files --> + <filter token="VERSION" value="${version}"/> + <filter token="VERSION_NUMBER" value="${version.number}"/> + <filter token="VERSION_BUILT" value="${TODAY} ${TSTAMP}"/> + <copy todir="${tomcat.classes}" filtering="true"> + <fileset dir="java"> + <include name="**/*.properties"/> + <include name="**/*.dtd"/> + <include name="**/*.tasks"/> + <include name="**/*.xsd"/> + <include name="**/*.xml"/> + </fileset> + </copy> + + </target> + + <target name="jar" depends="build-prepare,compile"> + <!-- Servlet 3.0 Implementation JAR File --> + <jar jarfile="${servlet-api.jar}"> + <fileset dir="${tomcat.classes}"> + <include name="javax/servlet/*" /> + <include name="javax/servlet/annotation/*" /> + <include name="javax/servlet/descriptor/*" /> + <include name="javax/servlet/http/*" /> + <include name="javax/servlet/resources/*" /> + <!-- Javadoc and i18n exclusions --> + <exclude name="**/package.html" /> + <exclude name="**/LocalStrings_*" /> + </fileset> + </jar> + + <!-- JSP 2.2 Implementation JAR File --> + <jar jarfile="${jsp-api.jar}"> + <fileset dir="${tomcat.classes}"> + <include name="javax/servlet/jsp/**" /> + <!-- Javadoc and i18n exclusions --> + <exclude name="**/package.html" /> + <exclude name="**/LocalStrings_*" /> + </fileset> + </jar> + + <!-- JSP 2.2 EL Implementation JAR File --> + <jar jarfile="${el-api.jar}"> + <fileset dir="${tomcat.classes}"> + <include name="javax/el/**" /> + </fileset> + </jar> + + </target> + +</project> diff --git a/dev-java/tomcat-servlet-api/files/3.1-build.xml b/dev-java/tomcat-servlet-api/files/3.1-build.xml new file mode 100644 index 000000000000..ea0ef877570d --- /dev/null +++ b/dev-java/tomcat-servlet-api/files/3.1-build.xml @@ -0,0 +1,93 @@ + +<project name="Tomcat Serlvet API 3.1/JSP API 2.3" default="deploy" basedir="."> + + <property name="compile.source" value="1.7"/> + + <property name="tomcat.build" value="${basedir}/output/build"/> + <property name="tomcat.classes" value="${basedir}/output/classes"/> + <property name="servlet-api.jar" value="${tomcat.build}/lib/servlet-api.jar"/> + <property name="jsp-api.jar" value="${tomcat.build}/lib/jsp-api.jar"/> + <property name="el-api.jar" value="${tomcat.build}/lib/el-api.jar"/> + + <!-- Just build Tomcat --> + <target name="build-prepare"> + + <available classname="junit.framework.TestCase" property="junit.present" /> + + <mkdir dir="${tomcat.build}"/> + <mkdir dir="${tomcat.build}/lib"/> + <mkdir dir="${tomcat.classes}"/> + + </target> + + <target name="compile"> + + <!-- Compile internal server components --> + <javac srcdir="java" destdir="${tomcat.classes}" + debug="${compile.debug}" + deprecation="${compile.deprecation}" + source="${compile.source}" + optimize="${compile.optimize}" + excludes="**/CVS/**,**/.svn/**"> + <exclude name="java/javax/annotation/**" /> + <exclude name="java/javax/ejb/**" /> + <exclude name="java/javax/mail/**" /> + <exclude name="java/javax/persistence/**" /> + <exclude name="java/javax/xml/**" /> + <exclude name="org/**" /> + </javac> + <tstamp> + <format property="TODAY" pattern="MMM d yyyy" locale="en"/> + <format property="TSTAMP" pattern="hh:mm:ss"/> + </tstamp> + <!-- Copy static resource files --> + <filter token="VERSION" value="${version}"/> + <filter token="VERSION_NUMBER" value="${version.number}"/> + <filter token="VERSION_BUILT" value="${TODAY} ${TSTAMP}"/> + <copy todir="${tomcat.classes}" filtering="true"> + <fileset dir="java"> + <include name="**/*.properties"/> + <include name="**/*.dtd"/> + <include name="**/*.tasks"/> + <include name="**/*.xsd"/> + <include name="**/*.xml"/> + </fileset> + </copy> + + </target> + + <target name="jar" depends="build-prepare,compile"> + <!-- Servlet 3.1 Implementation JAR File --> + <jar jarfile="${servlet-api.jar}"> + <fileset dir="${tomcat.classes}"> + <include name="javax/servlet/*" /> + <include name="javax/servlet/annotation/*" /> + <include name="javax/servlet/descriptor/*" /> + <include name="javax/servlet/http/*" /> + <include name="javax/servlet/resources/*" /> + <!-- Javadoc and i18n exclusions --> + <exclude name="**/package.html" /> + <exclude name="**/LocalStrings_*" /> + </fileset> + </jar> + + <!-- JSP 2.3 Implementation JAR File --> + <jar jarfile="${jsp-api.jar}"> + <fileset dir="${tomcat.classes}"> + <include name="javax/servlet/jsp/**" /> + <!-- Javadoc and i18n exclusions --> + <exclude name="**/package.html" /> + <exclude name="**/LocalStrings_*" /> + </fileset> + </jar> + + <!-- JSP 2.3 EL Implementation JAR File --> + <jar jarfile="${el-api.jar}"> + <fileset dir="${tomcat.classes}"> + <include name="javax/el/**" /> + </fileset> + </jar> + + </target> + +</project> diff --git a/dev-java/tomcat-servlet-api/files/4.0-build.xml b/dev-java/tomcat-servlet-api/files/4.0-build.xml new file mode 100644 index 000000000000..ea0ef877570d --- /dev/null +++ b/dev-java/tomcat-servlet-api/files/4.0-build.xml @@ -0,0 +1,93 @@ + +<project name="Tomcat Serlvet API 3.1/JSP API 2.3" default="deploy" basedir="."> + + <property name="compile.source" value="1.7"/> + + <property name="tomcat.build" value="${basedir}/output/build"/> + <property name="tomcat.classes" value="${basedir}/output/classes"/> + <property name="servlet-api.jar" value="${tomcat.build}/lib/servlet-api.jar"/> + <property name="jsp-api.jar" value="${tomcat.build}/lib/jsp-api.jar"/> + <property name="el-api.jar" value="${tomcat.build}/lib/el-api.jar"/> + + <!-- Just build Tomcat --> + <target name="build-prepare"> + + <available classname="junit.framework.TestCase" property="junit.present" /> + + <mkdir dir="${tomcat.build}"/> + <mkdir dir="${tomcat.build}/lib"/> + <mkdir dir="${tomcat.classes}"/> + + </target> + + <target name="compile"> + + <!-- Compile internal server components --> + <javac srcdir="java" destdir="${tomcat.classes}" + debug="${compile.debug}" + deprecation="${compile.deprecation}" + source="${compile.source}" + optimize="${compile.optimize}" + excludes="**/CVS/**,**/.svn/**"> + <exclude name="java/javax/annotation/**" /> + <exclude name="java/javax/ejb/**" /> + <exclude name="java/javax/mail/**" /> + <exclude name="java/javax/persistence/**" /> + <exclude name="java/javax/xml/**" /> + <exclude name="org/**" /> + </javac> + <tstamp> + <format property="TODAY" pattern="MMM d yyyy" locale="en"/> + <format property="TSTAMP" pattern="hh:mm:ss"/> + </tstamp> + <!-- Copy static resource files --> + <filter token="VERSION" value="${version}"/> + <filter token="VERSION_NUMBER" value="${version.number}"/> + <filter token="VERSION_BUILT" value="${TODAY} ${TSTAMP}"/> + <copy todir="${tomcat.classes}" filtering="true"> + <fileset dir="java"> + <include name="**/*.properties"/> + <include name="**/*.dtd"/> + <include name="**/*.tasks"/> + <include name="**/*.xsd"/> + <include name="**/*.xml"/> + </fileset> + </copy> + + </target> + + <target name="jar" depends="build-prepare,compile"> + <!-- Servlet 3.1 Implementation JAR File --> + <jar jarfile="${servlet-api.jar}"> + <fileset dir="${tomcat.classes}"> + <include name="javax/servlet/*" /> + <include name="javax/servlet/annotation/*" /> + <include name="javax/servlet/descriptor/*" /> + <include name="javax/servlet/http/*" /> + <include name="javax/servlet/resources/*" /> + <!-- Javadoc and i18n exclusions --> + <exclude name="**/package.html" /> + <exclude name="**/LocalStrings_*" /> + </fileset> + </jar> + + <!-- JSP 2.3 Implementation JAR File --> + <jar jarfile="${jsp-api.jar}"> + <fileset dir="${tomcat.classes}"> + <include name="javax/servlet/jsp/**" /> + <!-- Javadoc and i18n exclusions --> + <exclude name="**/package.html" /> + <exclude name="**/LocalStrings_*" /> + </fileset> + </jar> + + <!-- JSP 2.3 EL Implementation JAR File --> + <jar jarfile="${el-api.jar}"> + <fileset dir="${tomcat.classes}"> + <include name="javax/el/**" /> + </fileset> + </jar> + + </target> + +</project> diff --git a/dev-java/tomcat-servlet-api/files/jsp-api-2.0-manifest b/dev-java/tomcat-servlet-api/files/jsp-api-2.0-manifest new file mode 100644 index 000000000000..dfaa006ea009 --- /dev/null +++ b/dev-java/tomcat-servlet-api/files/jsp-api-2.0-manifest @@ -0,0 +1,11 @@ +Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: %bundleName
+Bundle-Vendor: %vendorName
+Bundle-Localization: plugin
+Import-Package: javax.servlet; version=2.4,javax.servlet.http; version=2.4,javax.servlet.resources; version=2.4
+Export-Package: javax.servlet.jsp; version=2.0,javax.servlet.jsp.el; version=2.0, javax.servlet.jsp.resources; version=2.0,
+ javax.servlet.jsp.tagext; version=2.0
+Bundle-Version: 2.0
+Bundle-SymbolicName: javax.servlet.jsp
+
diff --git a/dev-java/tomcat-servlet-api/files/servlet-api-2.4-manifest b/dev-java/tomcat-servlet-api/files/servlet-api-2.4-manifest new file mode 100644 index 000000000000..77e19f1d9ae8 --- /dev/null +++ b/dev-java/tomcat-servlet-api/files/servlet-api-2.4-manifest @@ -0,0 +1,9 @@ +Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: %bundleName
+Bundle-Vendor: %vendorName
+Bundle-Localization: plugin
+Export-Package: javax.servlet;version="2.4",javax.servlet.http;version="2.4",javax.servlet.resources;version="2.4"
+Bundle-Version: 2.4.0
+Bundle-SymbolicName: javax.servlet
+
diff --git a/dev-java/tomcat-servlet-api/metadata.xml b/dev-java/tomcat-servlet-api/metadata.xml new file mode 100644 index 000000000000..61b379cee8a1 --- /dev/null +++ b/dev-java/tomcat-servlet-api/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>java@gentoo.org</email> + <name>Java</name> + </maintainer> + <longdescription> + The Apache Tomcat implementation of the Servlet API specification. + </longdescription> +</pkgmetadata> diff --git a/dev-java/tomcat-servlet-api/tomcat-servlet-api-3.ebuild b/dev-java/tomcat-servlet-api/tomcat-servlet-api-3.ebuild new file mode 100644 index 000000000000..c2dfb471923e --- /dev/null +++ b/dev-java/tomcat-servlet-api/tomcat-servlet-api-3.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=0 + +JAVA_PKG_IUSE="doc source" + +inherit java-pkg-2 java-ant-2 + +MY_PN="${PN/tomcat/}" +MY_PN="jakarta-${MY_PN//-/}-src" +DESCRIPTION="Tomcat's Servlet API 2.2/JSP API 1.2 implementation" +HOMEPAGE="http://tomcat.apache.org/" +SRC_URI="mirror://apache/jakarta/tomcat-3/src/${MY_PN}.tar.gz" +DEPEND=">=virtual/jdk-1.4" +RDEPEND=">=virtual/jre-1.4" +LICENSE="Apache-1.1" +SLOT="2.2" +KEYWORDS="amd64 ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +IUSE="" +S="${WORKDIR}/${MY_PN}" + +EANT_BUILD_TARGET="all" + +src_install() { + java-pkg_dojar ../dist/servletapi/lib/servlet.jar + + use doc && java-pkg_dohtml -r ../dist/servletapi/docs/* + use source && java-pkg_dosrc src/share/javax + dodoc README || die +} diff --git a/dev-java/tomcat-servlet-api/tomcat-servlet-api-4.1.36.ebuild b/dev-java/tomcat-servlet-api/tomcat-servlet-api-4.1.36.ebuild new file mode 100644 index 000000000000..2f41ffe1c392 --- /dev/null +++ b/dev-java/tomcat-servlet-api/tomcat-servlet-api-4.1.36.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=0 + +JAVA_PKG_IUSE="doc source" + +inherit java-pkg-2 java-ant-2 + +MY_P="apache-${P/-servlet-api/}-src" +DESCRIPTION="Tomcat's Servlet API 2.3/JSP API 1.2 implementation" +HOMEPAGE="http://tomcat.apache.org/" +SRC_URI="mirror://apache/tomcat/tomcat-4/v${PV}/src/${MY_P}.tar.gz" +DEPEND=">=virtual/jdk-1.4" +RDEPEND=">=virtual/jre-1.4" +LICENSE="Apache-2.0" +SLOT="2.3" +KEYWORDS="amd64 ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +IUSE="" +S="${WORKDIR}/${MY_P}/servletapi" + +src_unpack() { + unpack ${A} + cd "${S}" + + einfo "Removing bundled jars and classes" + find "${WORKDIR}/${MY_P}" '(' -name '*.class' -o -name '*.jar' ')' -delete +} + +EANT_BUILD_TARGET="all" + +src_install() { + java-pkg_dojar dist/lib/servlet.jar + + use doc && java-pkg_dohtml -r dist/docs/* + use source && java-pkg_dosrc src/share/javax + dodoc dist/README.txt +} diff --git a/dev-java/tomcat-servlet-api/tomcat-servlet-api-5.5.27-r1.ebuild b/dev-java/tomcat-servlet-api/tomcat-servlet-api-5.5.27-r1.ebuild new file mode 100644 index 000000000000..cf40088c58ee --- /dev/null +++ b/dev-java/tomcat-servlet-api/tomcat-servlet-api-5.5.27-r1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=0 + +inherit eutils java-pkg-2 java-ant-2 java-osgi + +MY_P="apache-${P/-servlet-api/}-src" +DESCRIPTION="Tomcat's Servlet API 2.4/JSP API 2.0 implementation" +HOMEPAGE="http://tomcat.apache.org/" +SRC_URI="mirror://apache/tomcat/tomcat-5/v${PV/_/-}/src/${MY_P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="2.4" +KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" +IUSE="doc source" + +DEPEND=">=virtual/jdk-1.5 + source? ( app-arch/zip )" +RDEPEND=">=virtual/jdk-1.5" + +S="${WORKDIR}/${MY_P}/servletapi" + +src_compile() { + local antflags="jar $(use_doc javadoc examples)" + eant ${antflags} -f jsr154/build.xml + eant ${antflags} -f jsr152/build.xml +} + +src_install() { + mv jsr{154,152}/dist/lib/*.jar "${S}" + + if use doc ; then + mkdir docs + cd "${S}/jsr154/build" + mv docs "${S}/docs/servlet" + mv examples "${S}/docs/servlet/examples" + + cd "${S}/jsr152/build" + mv docs "${S}/docs/jsp" + mv examples "${S}/docs/jsp/examples" + fi + + cd "${S}" + java-osgi_dojar-fromfile --no-auto-version "jsp-api.jar" "${FILESDIR}/jsp-api-2.0-manifest" "Java Server Pages API Bundle" + java-osgi_dojar-fromfile --no-auto-version "servlet-api.jar" "${FILESDIR}/servlet-api-2.4-manifest" "Servlet API Bundle" + use doc && java-pkg_dohtml -r docs/* + use source && java-pkg_dosrc jsr{152,154}/src/share/javax +} diff --git a/dev-java/tomcat-servlet-api/tomcat-servlet-api-5.5.34.ebuild b/dev-java/tomcat-servlet-api/tomcat-servlet-api-5.5.34.ebuild new file mode 100644 index 000000000000..845323077d03 --- /dev/null +++ b/dev-java/tomcat-servlet-api/tomcat-servlet-api-5.5.34.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=0 + +inherit eutils java-pkg-2 java-ant-2 java-osgi + +MY_P="apache-${P/-servlet-api/}-src" +DESCRIPTION="Tomcat's Servlet API 2.4/JSP API 2.0 implementation" +HOMEPAGE="http://tomcat.apache.org/" +SRC_URI="mirror://apache/tomcat/tomcat-5/v${PV/_/-}/src/${MY_P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="2.4" +KEYWORDS="amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" +IUSE="doc source" + +DEPEND=">=virtual/jdk-1.5 + source? ( app-arch/zip )" +RDEPEND=">=virtual/jdk-1.5" + +S="${WORKDIR}/${MY_P}/servletapi" + +src_compile() { + local antflags="jar $(use_doc javadoc examples)" + eant ${antflags} -f jsr154/build.xml + eant ${antflags} -f jsr152/build.xml +} + +src_install() { + mv jsr{154,152}/dist/lib/*.jar "${S}" + + if use doc ; then + mkdir docs + cd "${S}/jsr154/build" + mv docs "${S}/docs/servlet" + mv examples "${S}/docs/servlet/examples" + + cd "${S}/jsr152/build" + mv docs "${S}/docs/jsp" + mv examples "${S}/docs/jsp/examples" + fi + + cd "${S}" + java-osgi_dojar-fromfile --no-auto-version "jsp-api.jar" "${FILESDIR}/jsp-api-2.0-manifest" "Java Server Pages API Bundle" + java-osgi_dojar-fromfile --no-auto-version "servlet-api.jar" "${FILESDIR}/servlet-api-2.4-manifest" "Servlet API Bundle" + use doc && java-pkg_dohtml -r docs/* + use source && java-pkg_dosrc jsr{152,154}/src/share/javax +} diff --git a/dev-java/tomcat-servlet-api/tomcat-servlet-api-6.0.44-r1.ebuild b/dev-java/tomcat-servlet-api/tomcat-servlet-api-6.0.44-r1.ebuild new file mode 100644 index 000000000000..8ecab83cc461 --- /dev/null +++ b/dev-java/tomcat-servlet-api/tomcat-servlet-api-6.0.44-r1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" +JAVA_PKG_IUSE="source" + +inherit eutils java-pkg-2 java-ant-2 + +MY_A="apache-${P}-src" +MY_P="${MY_A/-servlet-api/}" +DESCRIPTION="Tomcat's Servlet API 2.5/JSP API 2.1 implementation" +HOMEPAGE="http://tomcat.apache.org/" +SRC_URI="mirror://apache/tomcat/tomcat-6/v${PV}/src/${MY_P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="2.5" +KEYWORDS="amd64 ~arm ppc64 x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris ~x86-solaris" +IUSE="" + +DEPEND=">=virtual/jdk-1.6" +RDEPEND=">=virtual/jre-1.6" + +S="${WORKDIR}/${MY_P}" + +java_prepare() { + cp "${FILESDIR}/${SLOT}-build-r1.xml" build.xml || die "Could not replace build.xml" + rm -r */*/build.xml java/javax/{annotation,ejb,mail,persistence,xml}/ || die + find -name '*.jar' -delete || die +} + +src_install() { + java-pkg_dojar "${S}"/output/build/lib/*.jar + use source && java-pkg_dosrc java/javax +} diff --git a/dev-java/tomcat-servlet-api/tomcat-servlet-api-6.0.45.ebuild b/dev-java/tomcat-servlet-api/tomcat-servlet-api-6.0.45.ebuild new file mode 100644 index 000000000000..2fec3f8c4603 --- /dev/null +++ b/dev-java/tomcat-servlet-api/tomcat-servlet-api-6.0.45.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" +JAVA_PKG_IUSE="source" + +inherit eutils java-pkg-2 java-ant-2 + +MY_A="apache-${P}-src" +MY_P="${MY_A/-servlet-api/}" +DESCRIPTION="Tomcat's Servlet API 2.5/JSP API 2.1 implementation" +HOMEPAGE="http://tomcat.apache.org/" +SRC_URI="mirror://apache/tomcat/tomcat-6/v${PV}/src/${MY_P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="2.5" +KEYWORDS="~amd64 ~arm ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris ~x86-solaris" +IUSE="" + +DEPEND=">=virtual/jdk-1.6" +RDEPEND=">=virtual/jre-1.6" + +S="${WORKDIR}/${MY_P}" + +java_prepare() { + cp "${FILESDIR}/${SLOT}-build-r1.xml" build.xml || die "Could not replace build.xml" + rm -r */*/build.xml java/javax/{annotation,ejb,mail,persistence,xml}/ || die + find -name '*.jar' -delete || die +} + +src_install() { + java-pkg_dojar "${S}"/output/build/lib/*.jar + use source && java-pkg_dosrc java/javax +} diff --git a/dev-java/tomcat-servlet-api/tomcat-servlet-api-6.0.53.ebuild b/dev-java/tomcat-servlet-api/tomcat-servlet-api-6.0.53.ebuild new file mode 100644 index 000000000000..f0f2a14f33b2 --- /dev/null +++ b/dev-java/tomcat-servlet-api/tomcat-servlet-api-6.0.53.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" +JAVA_PKG_IUSE="source" + +inherit eutils java-pkg-2 java-ant-2 + +MY_A="apache-${P}-src" +MY_P="${MY_A/-servlet-api/}" +DESCRIPTION="Tomcat's Servlet API 2.5/JSP API 2.1 implementation" +HOMEPAGE="http://tomcat.apache.org/" +SRC_URI="mirror://apache/tomcat/tomcat-6/v${PV}/src/${MY_P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="2.5" +KEYWORDS="amd64 ~arm ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris ~x86-solaris" +IUSE="" + +DEPEND=">=virtual/jdk-1.6" +RDEPEND=">=virtual/jre-1.6" + +S="${WORKDIR}/${MY_P}" + +java_prepare() { + cp "${FILESDIR}/${SLOT}-build-r1.xml" build.xml || die "Could not replace build.xml" + rm -r */*/build.xml java/javax/{annotation,ejb,mail,persistence,xml}/ || die + find -name '*.jar' -delete || die +} + +src_install() { + java-pkg_dojar "${S}"/output/build/lib/*.jar + use source && java-pkg_dosrc java/javax +} diff --git a/dev-java/tomcat-servlet-api/tomcat-servlet-api-7.0.82.ebuild b/dev-java/tomcat-servlet-api/tomcat-servlet-api-7.0.82.ebuild new file mode 100644 index 000000000000..8349619ca6c6 --- /dev/null +++ b/dev-java/tomcat-servlet-api/tomcat-servlet-api-7.0.82.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" +JAVA_PKG_IUSE="source" + +inherit eutils java-pkg-2 java-ant-2 + +MY_A="apache-${P}-src" +MY_P="${MY_A/-servlet-api/}" +DESCRIPTION="Tomcat's Servlet API 3.0/JSP API 2.2 implementation" +HOMEPAGE="https://tomcat.apache.org/" +SRC_URI="mirror://apache/tomcat/tomcat-7/v${PV}/src/${MY_P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="3.0" +KEYWORDS="amd64 ~arm64 ~ppc64 x86 ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris" +IUSE="" + +DEPEND=">=virtual/jdk-1.6" +RDEPEND=">=virtual/jre-1.6" + +S="${WORKDIR}/${MY_P}/" + +src_prepare() { + default + + cp "${FILESDIR}/${SLOT}-build.xml" build.xml || die "Could not replace build.xml" + rm -fR */*/build.xml ||die + java-pkg_clean + + java-pkg-2_src_prepare +} + +src_install() { + java-pkg_dojar "${S}"/output/build/lib/*.jar + use source && java-pkg_dosrc java/javax/servlet/ +} diff --git a/dev-java/tomcat-servlet-api/tomcat-servlet-api-7.0.85.ebuild b/dev-java/tomcat-servlet-api/tomcat-servlet-api-7.0.85.ebuild new file mode 100644 index 000000000000..aeaf64e366fa --- /dev/null +++ b/dev-java/tomcat-servlet-api/tomcat-servlet-api-7.0.85.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" +JAVA_PKG_IUSE="source" + +inherit eutils java-pkg-2 java-ant-2 + +MY_A="apache-${P}-src" +MY_P="${MY_A/-servlet-api/}" +DESCRIPTION="Tomcat's Servlet API 3.0/JSP API 2.2 implementation" +HOMEPAGE="https://tomcat.apache.org/" +SRC_URI="mirror://apache/tomcat/tomcat-7/v${PV}/src/${MY_P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="3.0" +KEYWORDS="amd64 ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris" +IUSE="" + +DEPEND=">=virtual/jdk-1.6" +RDEPEND=">=virtual/jre-1.6" + +S="${WORKDIR}/${MY_P}/" + +src_prepare() { + default + + cp "${FILESDIR}/${SLOT}-build.xml" build.xml || die "Could not replace build.xml" + rm -fR */*/build.xml ||die + java-pkg_clean + + java-pkg-2_src_prepare +} + +src_install() { + java-pkg_dojar "${S}"/output/build/lib/*.jar + use source && java-pkg_dosrc java/javax/servlet/ +} diff --git a/dev-java/tomcat-servlet-api/tomcat-servlet-api-7.0.88.ebuild b/dev-java/tomcat-servlet-api/tomcat-servlet-api-7.0.88.ebuild new file mode 100644 index 000000000000..f0304e00ca2a --- /dev/null +++ b/dev-java/tomcat-servlet-api/tomcat-servlet-api-7.0.88.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" +JAVA_PKG_IUSE="source" + +inherit eutils java-pkg-2 java-ant-2 + +MY_A="apache-${P}-src" +MY_P="${MY_A/-servlet-api/}" +DESCRIPTION="Tomcat's Servlet API 3.0/JSP API 2.2 implementation" +HOMEPAGE="https://tomcat.apache.org/" +SRC_URI="mirror://apache/tomcat/tomcat-7/v${PV}/src/${MY_P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="3.0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris" +IUSE="" + +DEPEND=">=virtual/jdk-1.6" +RDEPEND=">=virtual/jre-1.6" + +S="${WORKDIR}/${MY_P}/" + +src_prepare() { + default + + cp "${FILESDIR}/${SLOT}-build.xml" build.xml || die "Could not replace build.xml" + rm -fR */*/build.xml ||die + java-pkg_clean + + java-pkg-2_src_prepare +} + +src_install() { + java-pkg_dojar "${S}"/output/build/lib/*.jar + use source && java-pkg_dosrc java/javax/servlet/ +} diff --git a/dev-java/tomcat-servlet-api/tomcat-servlet-api-8.0.50.ebuild b/dev-java/tomcat-servlet-api/tomcat-servlet-api-8.0.50.ebuild new file mode 100644 index 000000000000..8a7cc91eceec --- /dev/null +++ b/dev-java/tomcat-servlet-api/tomcat-servlet-api-8.0.50.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" +JAVA_PKG_IUSE="source" + +inherit eutils java-pkg-2 java-ant-2 + +MY_A="apache-${P}-src" +MY_P="${MY_A/-servlet-api/}" +DESCRIPTION="Tomcat's Servlet API 3.1/JSP API 2.3/EL API 3.0 implementation" +HOMEPAGE="https://tomcat.apache.org/" +SRC_URI="mirror://apache/tomcat/tomcat-8/v${PV}/src/${MY_P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="3.1" +KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris" +IUSE="" + +DEPEND=">=virtual/jdk-1.7" +RDEPEND=">=virtual/jre-1.7" + +S="${WORKDIR}/${MY_P}/" + +java_prepare() { + cp "${FILESDIR}/${SLOT}-build.xml" build.xml || die "Could not replace build.xml" + rm -fR */*/build.xml + einfo "Removing bundled jars and classes" + find "${S}" '(' -name '*.class' -o -name '*.jar' ')' -exec rm -frv {} + +} + +src_install() { + java-pkg_dojar "${S}"/output/build/lib/*.jar + use source && java-pkg_dosrc java/javax/servlet/ +} diff --git a/dev-java/tomcat-servlet-api/tomcat-servlet-api-8.0.52.ebuild b/dev-java/tomcat-servlet-api/tomcat-servlet-api-8.0.52.ebuild new file mode 100644 index 000000000000..be4a03387b4a --- /dev/null +++ b/dev-java/tomcat-servlet-api/tomcat-servlet-api-8.0.52.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" +JAVA_PKG_IUSE="source" + +inherit eutils java-pkg-2 java-ant-2 + +MY_A="apache-${P}-src" +MY_P="${MY_A/-servlet-api/}" +DESCRIPTION="Tomcat's Servlet API 3.1/JSP API 2.3/EL API 3.0 implementation" +HOMEPAGE="https://tomcat.apache.org/" +SRC_URI="mirror://apache/tomcat/tomcat-8/v${PV}/src/${MY_P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="3.1" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris" +IUSE="" + +DEPEND=">=virtual/jdk-1.7" +RDEPEND=">=virtual/jre-1.7" + +S="${WORKDIR}/${MY_P}/" + +java_prepare() { + cp "${FILESDIR}/${SLOT}-build.xml" build.xml || die "Could not replace build.xml" + rm -fR */*/build.xml + einfo "Removing bundled jars and classes" + find "${S}" '(' -name '*.class' -o -name '*.jar' ')' -exec rm -frv {} + +} + +src_install() { + java-pkg_dojar "${S}"/output/build/lib/*.jar + use source && java-pkg_dosrc java/javax/servlet/ +} diff --git a/dev-java/tomcat-servlet-api/tomcat-servlet-api-8.5.23.ebuild b/dev-java/tomcat-servlet-api/tomcat-servlet-api-8.5.23.ebuild new file mode 100644 index 000000000000..df5d6f08c21c --- /dev/null +++ b/dev-java/tomcat-servlet-api/tomcat-servlet-api-8.5.23.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" +JAVA_PKG_IUSE="source" + +inherit eutils java-pkg-2 java-ant-2 + +MY_A="apache-${P}-src" +MY_P="${MY_A/-servlet-api/}" +DESCRIPTION="Tomcat's Servlet API 3.1/JSP API 2.3/EL API 3.0 implementation" +HOMEPAGE="https://tomcat.apache.org/" +SRC_URI="mirror://apache/tomcat/tomcat-8/v${PV}/src/${MY_P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="3.1" +KEYWORDS="amd64 ~arm64 ppc64 x86 ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris" +IUSE="" + +DEPEND=">=virtual/jdk-1.7" +RDEPEND=">=virtual/jre-1.7" + +S="${WORKDIR}/${MY_P}/" + +src_prepare() { + default + + cp "${FILESDIR}/${SLOT}-build.xml" build.xml || die "Could not replace build.xml" + rm -fR */*/build.xml + einfo "Removing bundled jars and classes" + find "${S}" '(' -name '*.class' -o -name '*.jar' ')' -exec rm -frv {} + + + java-pkg-2_src_prepare +} + +src_install() { + java-pkg_dojar "${S}"/output/build/lib/*.jar + use source && java-pkg_dosrc java/javax/servlet/ +} diff --git a/dev-java/tomcat-servlet-api/tomcat-servlet-api-8.5.30.ebuild b/dev-java/tomcat-servlet-api/tomcat-servlet-api-8.5.30.ebuild new file mode 100644 index 000000000000..06c703b27fb1 --- /dev/null +++ b/dev-java/tomcat-servlet-api/tomcat-servlet-api-8.5.30.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" +JAVA_PKG_IUSE="source" + +inherit eutils java-pkg-2 java-ant-2 + +MY_A="apache-${P}-src" +MY_P="${MY_A/-servlet-api/}" +DESCRIPTION="Tomcat's Servlet API 3.1/JSP API 2.3/EL API 3.0 implementation" +HOMEPAGE="https://tomcat.apache.org/" +SRC_URI="mirror://apache/tomcat/tomcat-8/v${PV}/src/${MY_P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="3.1" +KEYWORDS="amd64 ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris" +IUSE="" + +DEPEND=">=virtual/jdk-1.7" +RDEPEND=">=virtual/jre-1.7" + +S="${WORKDIR}/${MY_P}/" + +src_prepare() { + default + + cp "${FILESDIR}/${SLOT}-build.xml" build.xml || die "Could not replace build.xml" + rm -fR */*/build.xml + einfo "Removing bundled jars and classes" + find "${S}" '(' -name '*.class' -o -name '*.jar' ')' -exec rm -frv {} + + + java-pkg-2_src_prepare +} + +src_install() { + java-pkg_dojar "${S}"/output/build/lib/*.jar + use source && java-pkg_dosrc java/javax/servlet/ +} diff --git a/dev-java/tomcat-servlet-api/tomcat-servlet-api-8.5.31.ebuild b/dev-java/tomcat-servlet-api/tomcat-servlet-api-8.5.31.ebuild new file mode 100644 index 000000000000..c543bdd19c25 --- /dev/null +++ b/dev-java/tomcat-servlet-api/tomcat-servlet-api-8.5.31.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" +JAVA_PKG_IUSE="source" + +inherit eutils java-pkg-2 java-ant-2 + +MY_A="apache-${P}-src" +MY_P="${MY_A/-servlet-api/}" +DESCRIPTION="Tomcat's Servlet API 3.1/JSP API 2.3/EL API 3.0 implementation" +HOMEPAGE="https://tomcat.apache.org/" +SRC_URI="mirror://apache/tomcat/tomcat-8/v${PV}/src/${MY_P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="3.1" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris" +IUSE="" + +DEPEND=">=virtual/jdk-1.7" +RDEPEND=">=virtual/jre-1.7" + +S="${WORKDIR}/${MY_P}/" + +src_prepare() { + default + + cp "${FILESDIR}/${SLOT}-build.xml" build.xml || die "Could not replace build.xml" + rm -fR */*/build.xml + einfo "Removing bundled jars and classes" + find "${S}" '(' -name '*.class' -o -name '*.jar' ')' -exec rm -frv {} + + + java-pkg-2_src_prepare +} + +src_install() { + java-pkg_dojar "${S}"/output/build/lib/*.jar + use source && java-pkg_dosrc java/javax/servlet/ +} diff --git a/dev-java/tomcat-servlet-api/tomcat-servlet-api-9.0.7.ebuild b/dev-java/tomcat-servlet-api/tomcat-servlet-api-9.0.7.ebuild new file mode 100644 index 000000000000..a0340d723de1 --- /dev/null +++ b/dev-java/tomcat-servlet-api/tomcat-servlet-api-9.0.7.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" +JAVA_PKG_IUSE="source" + +inherit eutils java-pkg-2 java-ant-2 + +MY_A="apache-${PN}-${PV}-src" +MY_P="${MY_A/-servlet-api/}" +DESCRIPTION="Tomcat's Servlet API 4.0/JSP API 2.4?/EL API 3.1? implementation" +HOMEPAGE="https://tomcat.apache.org/" +SRC_URI="mirror://apache/tomcat/tomcat-9/v${PV}/src/${MY_P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="4.0" +KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris" +IUSE="" + +DEPEND=">=virtual/jdk-1.8" +RDEPEND=">=virtual/jre-1.8" + +S="${WORKDIR}/${MY_P}/" + +src_prepare() { + default + + cp "${FILESDIR}/${SLOT}-build.xml" build.xml || die "Could not replace build.xml" + rm -fR */*/build.xml + einfo "Removing bundled jars and classes" + find "${S}" '(' -name '*.class' -o -name '*.jar' ')' -exec rm -frv {} + + + java-pkg-2_src_prepare +} + +src_install() { + java-pkg_dojar "${S}"/output/build/lib/*.jar + use source && java-pkg_dosrc java/javax/servlet/ +} diff --git a/dev-java/tomcat-servlet-api/tomcat-servlet-api-9.0.8.ebuild b/dev-java/tomcat-servlet-api/tomcat-servlet-api-9.0.8.ebuild new file mode 100644 index 000000000000..f00a9f12c2d2 --- /dev/null +++ b/dev-java/tomcat-servlet-api/tomcat-servlet-api-9.0.8.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" +JAVA_PKG_IUSE="source" + +inherit eutils java-pkg-2 java-ant-2 + +MY_A="apache-${PN}-${PV}-src" +MY_P="${MY_A/-servlet-api/}" +DESCRIPTION="Tomcat's Servlet API 4.0/JSP API 2.4?/EL API 3.1? implementation" +HOMEPAGE="https://tomcat.apache.org/" +SRC_URI="mirror://apache/tomcat/tomcat-9/v${PV}/src/${MY_P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="4.0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris" +IUSE="" + +DEPEND=">=virtual/jdk-1.8" +RDEPEND=">=virtual/jre-1.8" + +S="${WORKDIR}/${MY_P}/" + +src_prepare() { + default + + cp "${FILESDIR}/${SLOT}-build.xml" build.xml || die "Could not replace build.xml" + rm -fR */*/build.xml + einfo "Removing bundled jars and classes" + find "${S}" '(' -name '*.class' -o -name '*.jar' ')' -exec rm -frv {} + + + java-pkg-2_src_prepare +} + +src_install() { + java-pkg_dojar "${S}"/output/build/lib/*.jar + use source && java-pkg_dosrc java/javax/servlet/ +} |