diff options
Diffstat (limited to 'dev-java')
24 files changed, 526 insertions, 154 deletions
diff --git a/dev-java/Manifest.gz b/dev-java/Manifest.gz Binary files differindex 759e0070016c..16ff88884dab 100644 --- a/dev-java/Manifest.gz +++ b/dev-java/Manifest.gz diff --git a/dev-java/asm/Manifest b/dev-java/asm/Manifest index 05f5f0dd5300..5b35a99e1c44 100644 --- a/dev-java/asm/Manifest +++ b/dev-java/asm/Manifest @@ -1,5 +1,7 @@ DIST asm-ASM_9_6.tar.bz2 1374579 BLAKE2B 621b19f1818ffdd451037af210ec7c3286e3dabdb1d6192157c2e6e8c101f599691cd4de57adf500f5413b4aaf4f808d6ac791e84626223a7be5672a17137670 SHA512 86b2db3e81c29c465d4128736f88ae3b73af8f312915921549d0acdb50a8d2c2c2beed5162af164b6e75278702af0c6f0a8d84b4133516eb4ac419520b7c764d DIST asm-ASM_9_7.tar.bz2 1376322 BLAKE2B 397a884b257edfd61f67909390c8fe07880d5a295b51dd3982ebbe9b6f8fbac200c46913e6c18e4efdcc80f0e1f0b8463ca9d912484b466ca174b55919a1c259 SHA512 9b7f2d4895f105f75e2c42d8882b176dba32defb17d8da4bdedb2bfe4e5413b03c05a9694114d171aa9623e86a65a677a24ab16a47aef774342d56224400274f +DIST asm-ASM_9_7_1.tar.bz2 1378103 BLAKE2B f7da3a9c1bcf76398c9e9b9b86d60f8854e5248632a8b2d76605851e29ee1807713fb28c9e76012ec8f9444c44e3a151ed409cd120c34ab8d3495fdc9c84edcb SHA512 77ae76464eec97dbc8129c4a746d13f0d286d2033f909b65e0e34858e1785616b7bee22faa92128b91eb39cbd849e262efe574b73ed2859920add457d6422dd0 EBUILD asm-9.6.ebuild 2443 BLAKE2B 324fbe45ac823e70b8827c6ce6bd7fe9f89d0713050a9884d9f12444b07e57735a8ee042ef73974c7e5791b7f6b6a83ce272dd841658ce2f5e70fafa40dd592b SHA512 9e423e980744892a16bafee114a48b376978b492574b93f6915eeda2db2c885603cb5a5cbb8bf9cb082a38e4fc35b1abf038ae51cfa91271e74fac43ebb92fbd -EBUILD asm-9.7.ebuild 2504 BLAKE2B 011175045fbfeff565208f511f6caf9f570503464f66d863770149e0e563fe83f80e7ee72640dc5fc67610bdbc1a3d6582f165e29cada76d0742f4bee30e3b94 SHA512 618dc561d13c190ea647dce8bef7155b4411fc3e903ea0229e82e90b5b53a9378ee19f25ad74764685bbd175a3f8a722c65eda0ae2ebfa0ac4d4cf0e0ae4a5d0 +EBUILD asm-9.7.1.ebuild 2507 BLAKE2B 630d61129c94c80db003a9c83561d0d363be43535920055d5cc499f70c71faf02053915895704f65d70b8c2f7dea8f85c883782ed498f8c405b44386091415a1 SHA512 9278a37cbb3051cb1c9133e939e4c89f3c66d352f5a203ba2fdbe31513bbc4b4936b538cccae69e5e77a5559fd1a6cde6efa07b2754e4725d3cbc5da2aedf25b +EBUILD asm-9.7.ebuild 2503 BLAKE2B 3d3564248617d006664119a06a52b9fbc730abb69723b3f7660005a0cad37bf909c39df4ac9b5935a23e130b316edf1df6869c4230eddf763ae539279b209285 SHA512 3ba7ed8f580a40d06f5aa2c00385dc93af2bcb0cf4e165429cf3b7590ef2722b8867ad560304d7b5fe7e0efc7ee5551b333b1c3775306262a15084bcfe8823c5 MISC metadata.xml 1233 BLAKE2B 13faf251d3d40ed558c83262972ea106892cc3be0f7a1b95a0b484123d93473bd867b2f7b53c3e5ccc2f1fe249ebe66cb9e757e19ad36c8d3e3eac6a7a981d98 SHA512 59a292291ac757818e41d009e2cdbb73b6d914c1f552c34e9360635cb468f1ebfdf9c58d6642710d5218689d08797320102c8ccb6d5f4bc9478883feb9b9b397 diff --git a/dev-java/asm/asm-9.7.1.ebuild b/dev-java/asm/asm-9.7.1.ebuild new file mode 100644 index 000000000000..eb1994183f55 --- /dev/null +++ b/dev-java/asm/asm-9.7.1.ebuild @@ -0,0 +1,97 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# tests not enabled because of missing eclass support of junit-jupiter +JAVA_PKG_IUSE="doc source" +MAVEN_PROVIDES=" + org.ow2.asm:asm-bom:${PV} + org.ow2.asm:asm:${PV} + org.ow2.asm:asm-analysis:${PV} + org.ow2.asm:asm-commons:${PV} + org.ow2.asm:asm-tree:${PV} + org.ow2.asm:asm-util:${PV} +" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="Bytecode manipulation framework for Java" +HOMEPAGE="https://asm.ow2.io" +MY_P="ASM_${PV//./_}" +SRC_URI="https://gitlab.ow2.org/asm/asm/-/archive/${MY_P}/asm-${MY_P}.tar.bz2" +S="${WORKDIR}/asm-${MY_P}" + +LICENSE="BSD" +SLOT="9" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~x64-macos" + +DEPEND=">=virtual/jdk-11:*" +RDEPEND=">=virtual/jre-1.8:*" + +ASM_MODULES=( "asm" "asm-tree" "asm-analysis" "asm-commons" "asm-util" ) +JAVADOC_SRC_DIRS=( + asm/src/main/java + asm-tree/src/main/java + asm-analysis/src/main/java + asm-commons/src/main/java + asm-util/src/main/java +) + +src_prepare() { + default + local module + touch asm.module || die + for module in "${ASM_MODULES[@]}"; do + module=${module/-/.} + cat > ${module/./-}/src/main/java/module-info.java <<-EOF || die + open module org.objectweb.${module/analysis/tree.analysis} { + $(cat asm.module) + requires java.base; + exports org.objectweb.${module/analysis/tree.analysis}; + } + EOF + echo "requires transitive org.objectweb.${module/analysis/tree.analysis};" \ + >> asm.module || die + done + sed -e '/^$/d' \ + -e '/asm;/p;s:\(asm\)\(;\):\1.signature\2:' \ + -i asm/src/main/java/module-info.java || die + sed -e '/analysis/d' \ + -i asm-commons/src/main/java/module-info.java || die + sed -e '/commons/d' \ + -i asm-util/src/main/java/module-info.java || die +} + +src_compile() { + local module + for module in "${ASM_MODULES[@]}"; do + einfo "Compiling ${module}" + JAVA_JAR_FILENAME="${module}.jar" + JAVA_SRC_DIR="${module}/src/main/java" + java-pkg-simple_src_compile + JAVA_GENTOO_CLASSPATH_EXTRA+=":${module}.jar" + rm -r target || die + done + + if use doc; then + einfo "Compiling javadocs" + for module in "${ASM_MODULES[@]}"; do + rm "${module}/src/main/java/module-info.java" || die + JAVA_SRC_DIR+=("${module}/src/main/java") + done + ejavadoc + fi +} + +src_install() { + JAVA_JAR_FILENAME="asm.jar" + java-pkg-simple_src_install + local module + for module in asm-{analysis,commons,tree,util}; do + java-pkg_dojar ${module}.jar + if use source; then + java-pkg_dosrc "${module}/src/main/java/*" + fi + done +} diff --git a/dev-java/asm/asm-9.7.ebuild b/dev-java/asm/asm-9.7.ebuild index 4eeede15217a..258cfd738067 100644 --- a/dev-java/asm/asm-9.7.ebuild +++ b/dev-java/asm/asm-9.7.ebuild @@ -24,7 +24,7 @@ S="${WORKDIR}/asm-${MY_P}" LICENSE="BSD" SLOT="9" -KEYWORDS="amd64 ~arm ~arm64 ppc64 x86 ~x64-macos" +KEYWORDS="amd64 ~arm arm64 ppc64 x86 ~x64-macos" DEPEND=">=virtual/jdk-11:*" RDEPEND=">=virtual/jre-1.8:*" diff --git a/dev-java/bcmail/Manifest b/dev-java/bcmail/Manifest index a9a86f3816d9..5e2770b007c9 100644 --- a/dev-java/bcmail/Manifest +++ b/dev-java/bcmail/Manifest @@ -1,3 +1,5 @@ DIST bc-java-r1rv77.tar.gz 31402744 BLAKE2B 1ca1e1dac1ed3d613ae66f08cd8a954e63d43a49ed402f5bd7c30cf1f0830ad29104aa91a9a0a3cbbb5ea750392bc285172a1ab38f2aba1600fa3ca4c469b4f5 SHA512 d75a0ce94bd006499eef9393491347ae70544643c93c2f7591df3ff0179bd477a5066891c7c3bdeb09bd693093c9dc7d29c48462a1d539e464cbf2ee9c1dfce4 +DIST bc-java-r1rv78v1.tar.gz 47211344 BLAKE2B 6d28e69db8ad0043a5cd6c0a4f6901ff40884be4baf60ee40d4cb5487d799e6ac5ef4282b5d6e7f873e45607394890dd26e3150c9c1729bd5346d9cc8f30f240 SHA512 87e6ecd6fea47877d9d7a196f58c5b45a7f026f18f17b71d4155061fad024194c30ce0fc44ea3e879b17f310a6626407f345a8e8970781afec4551f2aa688223 EBUILD bcmail-1.77-r1.ebuild 1457 BLAKE2B f9a66db03d2a49379c792b289b03e2f6a8045e775bc371b21bdacf03381c107319edc85f2ebf2808ff74e91fa50893933ed2977344c4ef9233c013ea40dd3987 SHA512 cca708a10d89cff27bca469ee557c0b90285bd0529e51028b61da58de647781c91465eb5cc83ff34916a036893d5e54dcc4d1bb27b53f06dbe6c73ec7c75a780 +EBUILD bcmail-1.78.1.ebuild 1480 BLAKE2B b3a2beec6b856514362cbc0df783594385050b8949d702d259dc7de318acb6d1f343de28879f71bc3e4b7ff157a51ef223d22b47ee30b170873daeff3326e9c7 SHA512 12d414c69c6cced4fb57df29f20640aeed6582cbc19274df769f04a4d754c2f7e6fdb9b8f88805c1b632aebf100bd813790f792f585c726977598d4647bf444b MISC metadata.xml 671 BLAKE2B 9bc7968fa569c698c7ac0f7af9a5301f55075db2ff416e55654ddca268b9ae1e63f4270d3fa7a99b06737b998c223db592f5fb570cee172a17cd3f7034b7d431 SHA512 b555d8d679fd4685aef9660023a12036d6459d8e88dfa4e5d7f84f47939574c2ded1bbf487c876435370382e2c06502d61189e79e61be49fa65aef9bb39f8ab9 diff --git a/dev-java/bcmail/bcmail-1.78.1.ebuild b/dev-java/bcmail/bcmail-1.78.1.ebuild new file mode 100644 index 000000000000..98998b58cd38 --- /dev/null +++ b/dev-java/bcmail/bcmail-1.78.1.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +JAVA_PKG_IUSE="doc source test" +MAVEN_ID="org.bouncycastle:bcmail-jdk18on:${PV}" +JAVA_TESTING_FRAMEWORKS="junit-4" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="The Bouncy Castle Java S/MIME APIs for handling S/MIME protocols" +HOMEPAGE="https://www.bouncycastle.org/java.html" +MY_PV="r$(ver_rs 1 'rv' 2 'v')" +SRC_URI="https://github.com/bcgit/bc-java/archive/${MY_PV}.tar.gz -> bc-java-${MY_PV}.tar.gz" +S="${WORKDIR}/bc-java-${MY_PV}/mail" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + +CP_DEPEND=" + ~dev-java/bcpkix-${PV}:0 + ~dev-java/bcprov-${PV}:0 + ~dev-java/bcutil-${PV}:0 + dev-java/javax-mail:0 +" + +DEPEND=" + ${CP_DEPEND} + dev-java/jakarta-activation:1 + >=virtual/jdk-11:* +" + +RDEPEND=" + ${CP_DEPEND} + >=virtual/jre-1.8:* +" + +DOCS=( ../{README,SECURITY}.md ) +HTML_DOCS=( ../{CONTRIBUTORS,index}.html ) + +JAVA_AUTOMATIC_MODULE_NAME="org.bouncycastle.mail" +JAVA_CLASSPATH_EXTRA="jakarta-activation-1" +JAVA_RESOURCE_DIRS="src/main/resources" +JAVA_SRC_DIR=( + "src/main/java" + "src/main/jdk1.9" +) + +JAVA_TEST_GENTOO_CLASSPATH="junit-4" +JAVA_TEST_RESOURCE_DIRS=( "src/test/resources" "../pkix/src/main/resources" ) +JAVA_TEST_RUN_ONLY="org.bouncycastle.mail.smime.test.AllTests" +JAVA_TEST_SRC_DIR="src/test/java" + +src_prepare() { + java-pkg-2_src_prepare + java-pkg_clean .. +} + +src_install() { + docinto html + dodoc -r ../docs + java-pkg-simple_src_install +} diff --git a/dev-java/bcpg/Manifest b/dev-java/bcpg/Manifest index ae8b40272f26..a8af9a963adc 100644 --- a/dev-java/bcpg/Manifest +++ b/dev-java/bcpg/Manifest @@ -1,3 +1,5 @@ DIST bc-java-r1rv77.tar.gz 31402744 BLAKE2B 1ca1e1dac1ed3d613ae66f08cd8a954e63d43a49ed402f5bd7c30cf1f0830ad29104aa91a9a0a3cbbb5ea750392bc285172a1ab38f2aba1600fa3ca4c469b4f5 SHA512 d75a0ce94bd006499eef9393491347ae70544643c93c2f7591df3ff0179bd477a5066891c7c3bdeb09bd693093c9dc7d29c48462a1d539e464cbf2ee9c1dfce4 +DIST bc-java-r1rv78v1.tar.gz 47211344 BLAKE2B 6d28e69db8ad0043a5cd6c0a4f6901ff40884be4baf60ee40d4cb5487d799e6ac5ef4282b5d6e7f873e45607394890dd26e3150c9c1729bd5346d9cc8f30f240 SHA512 87e6ecd6fea47877d9d7a196f58c5b45a7f026f18f17b71d4155061fad024194c30ce0fc44ea3e879b17f310a6626407f345a8e8970781afec4551f2aa688223 EBUILD bcpg-1.77.ebuild 1368 BLAKE2B 168cfc3b13bba83fc1e34daddddcd0b5215a9dbb7ad452593b1ba8afc705f6c80fff499f2a8f7576ac6b61f10b5f06ce9f3182a448f00a9819dec85abd14e46b SHA512 5e2c7edb94de02b7fde234539dab39c0cf88f810cc77e28523cc288751cb5d27c68aa7032a49efa9d536f8c0571c7b744e82f7208590d1dd4e6bb3719e9dde1a +EBUILD bcpg-1.78.1.ebuild 1421 BLAKE2B 60edf0d9429094871867012bba8f07102d3627af790a1989a45908a245ef18e693106ef2a7de6a222d97605add8dd543f8a5b73015dec3231ef1f8a587e814d9 SHA512 0dbaff2f1be84a94fc4eec8547fdfeea9d73c9651a81527f6de95b31dcde64649a87b94e0be5cbf9bc25c8c25420038f64f1a06f27f89f3c58182232ff16135e MISC metadata.xml 599 BLAKE2B 08d5304a26fb1a93dde104bbde8a26dd8850f9ed914f241baebc20c98a944c8d055f36071d114a07676c89fa87be261a4cfbf3fdc23d45d0e313a2e68f5723ac SHA512 f36347e51f6574d1feac4af8e18bdebfb536820305c3d136db51047c5799d767a84cf6885ac0982a6c4d61ce4aab76ccf00ca975f92f4150127b8fd57c781282 diff --git a/dev-java/bcpg/bcpg-1.78.1.ebuild b/dev-java/bcpg/bcpg-1.78.1.ebuild new file mode 100644 index 000000000000..982f3b13e17e --- /dev/null +++ b/dev-java/bcpg/bcpg-1.78.1.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +JAVA_PKG_IUSE="doc source test" +MAVEN_ID="org.bouncycastle:bcpg-jdk18on:${PV}" +JAVA_TESTING_FRAMEWORKS="junit-4" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="Java cryptography APIs" +HOMEPAGE="https://www.bouncycastle.org/java.html" +MY_PV="r$(ver_rs 1 'rv' 2 'v')" +SRC_URI="https://github.com/bcgit/bc-java/archive/${MY_PV}.tar.gz -> bc-java-${MY_PV}.tar.gz" +S="${WORKDIR}/bc-java-${MY_PV}/pg" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + +CP_DEPEND=" + ~dev-java/bcprov-${PV}:0 + ~dev-java/bcutil-${PV}:0 +" + +DEPEND=" + ${CP_DEPEND} + >=virtual/jdk-11:* +" + +RDEPEND=" + ${CP_DEPEND} + >=virtual/jre-1.8:* +" + +DOCS=( ../{README,SECURITY}.md ) +HTML_DOCS=( ../{CONTRIBUTORS,index}.html ) + +JAVA_SRC_DIR=( + "src/main/java" + "src/main/jdk1.9" +) + +JAVA_AUTOMATIC_MODULE_NAME="org.bouncycastle.pg" +JAVA_TEST_GENTOO_CLASSPATH="junit-4" +JAVA_TEST_RESOURCE_DIRS="src/test/resources" +JAVA_TEST_SRC_DIR="src/test/java" + +src_prepare() { + java-pkg-2_src_prepare + java-pkg_clean .. +} + +src_test() { + pushd src/test/java || die + local JAVA_TEST_RUN_ONLY=$(find * \ + -name "AllTests.java" ) + popd || die + JAVA_TEST_RUN_ONLY="${JAVA_TEST_RUN_ONLY//.java}" + JAVA_TEST_RUN_ONLY="${JAVA_TEST_RUN_ONLY//\//.}" + java-pkg-simple_src_test +} + +src_install() { + docinto html + dodoc -r ../docs + java-pkg-simple_src_install +} diff --git a/dev-java/bcpkix/Manifest b/dev-java/bcpkix/Manifest index 98c0d706eae5..20e37f021a11 100644 --- a/dev-java/bcpkix/Manifest +++ b/dev-java/bcpkix/Manifest @@ -1,4 +1,7 @@ DIST bc-java-r1rv77.tar.gz 31402744 BLAKE2B 1ca1e1dac1ed3d613ae66f08cd8a954e63d43a49ed402f5bd7c30cf1f0830ad29104aa91a9a0a3cbbb5ea750392bc285172a1ab38f2aba1600fa3ca4c469b4f5 SHA512 d75a0ce94bd006499eef9393491347ae70544643c93c2f7591df3ff0179bd477a5066891c7c3bdeb09bd693093c9dc7d29c48462a1d539e464cbf2ee9c1dfce4 +DIST bc-java-r1rv78v1.tar.gz 47211344 BLAKE2B 6d28e69db8ad0043a5cd6c0a4f6901ff40884be4baf60ee40d4cb5487d799e6ac5ef4282b5d6e7f873e45607394890dd26e3150c9c1729bd5346d9cc8f30f240 SHA512 87e6ecd6fea47877d9d7a196f58c5b45a7f026f18f17b71d4155061fad024194c30ce0fc44ea3e879b17f310a6626407f345a8e8970781afec4551f2aa688223 DIST bc-test-data-r1rv77.tar.gz 2074825965 BLAKE2B b797821719ba0dcdd091e0fd4f14c79058a15702973978a055bcc998ff541a8c5e96feb757647a9696e4bbfa28bf80a317066a51fd4daac7b2508111d0d217b1 SHA512 c8701a270ddcfde353b480caa62e2237776b50b0937ac015ee3e5221a74d0817de9bc67f1fa9f53f5e48d861dbf94339cb45a08cb4dad37f1340f754cb1d910e +DIST bc-test-data-r1rv78v1.tar.gz 2084599485 BLAKE2B a4f67d4ab35321aba52696345cf1ac605866fede41d3b99aa42194f37b587fe7bdebd3ac264379b37416bf5f5c456cd78126126799257c28183e4b71a98b4225 SHA512 cc35260189f2100eb883c30f7a15b7c10f564e7e44e02c61373e7f56a03ab9971350c6798bcbb7a4c4508f5022a0a986fdcd8862449b937765dbf567e2f370ed EBUILD bcpkix-1.77.ebuild 2496 BLAKE2B 61df670ebf0475610bf0455803fa09756807dabe639168cb1df545db9ec99f4a716938d2d56d98d126da4801666090437ba67622f2ecff241b918673c1c57cc4 SHA512 7e64088b89b7d2e63a08697984b2f07bd65f5a666179e535e76885ddc0d4c13634b0d6687a06e5aff6a504da1df33dbd298f427da437329bb904fc932de329ec +EBUILD bcpkix-1.78.1.ebuild 2519 BLAKE2B 6199696693a3c7567f88afae7bac6b54df2b35f758cbfc338da8de98d82d7832c3df6d4be54f8d80ad34091344cc766ac33ef5a713ae55a339bf19e985d3409d SHA512 c3d7a8a2d8cf64ea9b304f3bb7fbec511d34eea6f077298e4b1d7af2e6969e94d2dc2bc526471ca60d7fb0573b9bdaa38b553689323f7435bfada1fedce1593f MISC metadata.xml 624 BLAKE2B cda1cc55ddf61bb2da753103b4cf95c8a7ab69d0f452195ff07439c7d0929c4ccbcd5fa55ca4dd5f66d3ddb6b1a9c3967fd0fa5fb9f494044f774435b98d49dc SHA512 714978225f45f67740cca5bcacac5b7089ae12bd074ef3d1392f9c48fc680e2db344f3ca70b9f1b83d16d9c85ea72f9869e4cf0e750889fc0164fa5c504d804b diff --git a/dev-java/bcpkix/bcpkix-1.78.1.ebuild b/dev-java/bcpkix/bcpkix-1.78.1.ebuild new file mode 100644 index 000000000000..3f035f67cbb8 --- /dev/null +++ b/dev-java/bcpkix/bcpkix-1.78.1.ebuild @@ -0,0 +1,108 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +JAVA_PKG_IUSE="doc source test" +MAVEN_ID="org.bouncycastle:bcpkix-jdk18on:${PV}" +JAVA_TESTING_FRAMEWORKS="junit-4" + +inherit java-pkg-2 java-pkg-simple check-reqs + +DESCRIPTION="Java APIs for CMS, PKCS, EAC, TSP, CMP, CRMF, OCSP, and certificate generation" +HOMEPAGE="https://www.bouncycastle.org/java.html" +MY_PV="r$(ver_rs 1 'rv' 2 'v')" +SRC_URI="https://github.com/bcgit/bc-java/archive/${MY_PV}.tar.gz -> bc-java-${MY_PV}.tar.gz + test? ( https://github.com/bcgit/bc-test-data/archive/${MY_PV}.tar.gz -> bc-test-data-${MY_PV}.tar.gz )" +S="${WORKDIR}/bc-java-${MY_PV}/pkix" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + +# 1) testSANMismatchIP(org.bouncycastle.est.test.TestHostNameAuthorizer) +# org.bouncycastle.est.ESTException: localhost.me: Temporary failure in name resolution HTTP Status Code: 0 +PROPERTIES="test_network" +RESTRICT="test" + +CDEPEND=" + ~dev-java/bcprov-${PV}:0 + ~dev-java/bcutil-${PV}:0 +" + +DEPEND=" + ${CDEPEND} + >=virtual/jdk-11:* +" + +RDEPEND=" + ${CDEPEND} + >=virtual/jre-1.8:* +" + +DOCS=( ../{README,SECURITY}.md ) +HTML_DOCS=( ../{CONTRIBUTORS,index}.html ) + +JAVA_AUTOMATIC_MODULE_NAME="org.bouncycastle.pkix" +JAVA_GENTOO_CLASSPATH="bcprov,bcutil" +JAVA_SRC_DIR=( + "src/main/java" + "src/main/jdk1.9" +) + +JAVA_TEST_EXTRA_ARGS="-Dbc.test.data.home=${S}/../core/src/test/data" +JAVA_TEST_GENTOO_CLASSPATH="junit-4" +JAVA_TEST_RESOURCE_DIRS="src/test/resources" +JAVA_TEST_SRC_DIR="src/test/java" + +# https://bugs.gentoo.org/823347 +check_env() { + if use test; then + # this is needed only for tests + CHECKREQS_MEMORY="2048M" + check-reqs_pkg_pretend + fi +} + +# https://bugs.gentoo.org/823347 +pkg_pretend() { + check_env +} + +# https://bugs.gentoo.org/823347 +pkg_setup() { + check_env + java-pkg-2_pkg_setup +} + +src_unpack() { + unpack bc-java-${MY_PV}.tar.gz + use test && unpack bc-test-data-${MY_PV}.tar.gz +} + +src_prepare() { + java-pkg-2_src_prepare + java-pkg_clean .. +} + +# https://bugs.gentoo.org/823347 +src_test() { + mv ../../bc-test-data-${MY_PV} bc-test-data || die "cannot move bc-test-data" + + JAVA_TEST_EXTRA_ARGS+=" -Xmx${CHECKREQS_MEMORY}" + pushd src/test/java || die + local JAVA_TEST_RUN_ONLY=$(find * \ + -name "AllTests.java" \ + ) + popd + einfo "${JAVA_TEST_RUN_ONLY}" + JAVA_TEST_RUN_ONLY="${JAVA_TEST_RUN_ONLY//.java}" + JAVA_TEST_RUN_ONLY="${JAVA_TEST_RUN_ONLY//\//.}" + java-pkg-simple_src_test +} + +src_install() { + docinto html + dodoc -r ../docs + java-pkg-simple_src_install +} diff --git a/dev-java/bcprov/Manifest b/dev-java/bcprov/Manifest index 5313715af411..ff96d18f4d30 100644 --- a/dev-java/bcprov/Manifest +++ b/dev-java/bcprov/Manifest @@ -1,4 +1,7 @@ DIST bc-java-r1rv77.tar.gz 31402744 BLAKE2B 1ca1e1dac1ed3d613ae66f08cd8a954e63d43a49ed402f5bd7c30cf1f0830ad29104aa91a9a0a3cbbb5ea750392bc285172a1ab38f2aba1600fa3ca4c469b4f5 SHA512 d75a0ce94bd006499eef9393491347ae70544643c93c2f7591df3ff0179bd477a5066891c7c3bdeb09bd693093c9dc7d29c48462a1d539e464cbf2ee9c1dfce4 +DIST bc-java-r1rv78v1.tar.gz 47211344 BLAKE2B 6d28e69db8ad0043a5cd6c0a4f6901ff40884be4baf60ee40d4cb5487d799e6ac5ef4282b5d6e7f873e45607394890dd26e3150c9c1729bd5346d9cc8f30f240 SHA512 87e6ecd6fea47877d9d7a196f58c5b45a7f026f18f17b71d4155061fad024194c30ce0fc44ea3e879b17f310a6626407f345a8e8970781afec4551f2aa688223 DIST bc-test-data-r1rv77.tar.gz 2074825965 BLAKE2B b797821719ba0dcdd091e0fd4f14c79058a15702973978a055bcc998ff541a8c5e96feb757647a9696e4bbfa28bf80a317066a51fd4daac7b2508111d0d217b1 SHA512 c8701a270ddcfde353b480caa62e2237776b50b0937ac015ee3e5221a74d0817de9bc67f1fa9f53f5e48d861dbf94339cb45a08cb4dad37f1340f754cb1d910e +DIST bc-test-data-r1rv78v1.tar.gz 2084599485 BLAKE2B a4f67d4ab35321aba52696345cf1ac605866fede41d3b99aa42194f37b587fe7bdebd3ac264379b37416bf5f5c456cd78126126799257c28183e4b71a98b4225 SHA512 cc35260189f2100eb883c30f7a15b7c10f564e7e44e02c61373e7f56a03ab9971350c6798bcbb7a4c4508f5022a0a986fdcd8862449b937765dbf567e2f370ed EBUILD bcprov-1.77.ebuild 2625 BLAKE2B dc3e93b312dc8ed439a603c21d140e9233579094dedb195faad5cd1814ebdde2b8cfc970f6007bfad4b1235a53cf830f9924d0cc97c74b3557e952294931d002 SHA512 ea240a92b4b0a5aa22bfd40ba6b5aaa4a8ad6709f1c367572308277cfbab296dbd4c76792546ce946623b4a4940e74d1555a8327ed547a53b633c47887889b39 +EBUILD bcprov-1.78.1.ebuild 2706 BLAKE2B 468948046876e307ead560702098b5e28fa23b16ab2293ca413c138f3fc4f068b44297ad8061456af30b0550da6f781771d204b4511007cbf3785f53cbed56bc SHA512 cf1091e0d7510bf8fb65e2a598aa73b42257663a6144801d491f6a7521f7a4ceea6d546756d6622376ceb4fd037f0b1d85f2dcb0cb278b227e0d269941e6443c MISC metadata.xml 554 BLAKE2B 585fb4da68796af220ac254cdd97d2ac988824c58b1eadde6cf59a50ca197fe8729418c948dd550e544eeb50702d0c96b8ff6f580368dc21a28a66f5d898bf4c SHA512 f78848b4c65b3d1373931bb00971c60688ea86b5bb7555f4a9889c4d560bfb505bffa3671dceb7dfb66f40ea21723d88e7c36191c91a203abf47c500fc0866df diff --git a/dev-java/bcprov/bcprov-1.78.1.ebuild b/dev-java/bcprov/bcprov-1.78.1.ebuild new file mode 100644 index 000000000000..e6e6b7e23c65 --- /dev/null +++ b/dev-java/bcprov/bcprov-1.78.1.ebuild @@ -0,0 +1,106 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +JAVA_PKG_IUSE="doc source test" +MAVEN_ID="org.bouncycastle:bcprov-jdk18on:${PV}" +JAVA_TESTING_FRAMEWORKS="junit-4" + +inherit java-pkg-2 java-pkg-simple check-reqs + +DESCRIPTION="Java cryptography APIs" +HOMEPAGE="https://www.bouncycastle.org/java.html" +MY_PV="r$(ver_rs 1 'rv' 2 'v')" +SRC_URI="https://github.com/bcgit/bc-java/archive/${MY_PV}.tar.gz -> bc-java-${MY_PV}.tar.gz + test? ( https://github.com/bcgit/bc-test-data/archive/${MY_PV}.tar.gz -> bc-test-data-${MY_PV}.tar.gz )" +S="${WORKDIR}/bc-java-${MY_PV}" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" + +DEPEND=">=virtual/jdk-11:*" +RDEPEND=">=virtual/jre-1.8:*" + +DOCS=( {README,SECURITY}.md ) +HTML_DOCS=( {CONTRIBUTORS,index}.html ) + +check_env() { + if use test; then + # this is needed only for tests + CHECKREQS_MEMORY="2048M" + check-reqs_pkg_pretend + fi +} + +pkg_pretend() { + check_env +} + +pkg_setup() { + check_env + java-pkg-2_pkg_setup +} + +src_unpack() { + unpack bc-java-${MY_PV}.tar.gz + use test && unpack bc-test-data-${MY_PV}.tar.gz +} + +src_prepare() { + java-pkg-2_src_prepare + # TBD: unboundid-ldapsdk should be packaged from source. + java-pkg_clean ! -path "./libs/unboundid-ldapsdk-6.0.8.jar" +} + +src_compile() { + JAVA_RESOURCE_DIRS=( + "core/src/main/resources" + "prov/src/main/resources" + ) + JAVA_SRC_DIR=( + "core/src/main/java" + "prov/src/main/java" + "prov/src/main/jdk1.9" + ) + java-pkg-simple_src_compile +} + +src_test() { + mv ../bc-test-data-${MY_PV} bc-test-data || die "cannot move bc-test-data" + + JAVA_TEST_EXTRA_ARGS="-Dtest.java.version.prefix=$(java-config -g PROVIDES_VERSION)" + JAVA_TEST_EXTRA_ARGS+=" -Dbc.test.data.home=${S}/core/src/test/data" + JAVA_TEST_EXTRA_ARGS+=" -Xmx${CHECKREQS_MEMORY}" + JAVA_TEST_GENTOO_CLASSPATH="junit-4" + + einfo "Testing \"core\"" + JAVA_TEST_RESOURCE_DIRS="core/src/test/resources" + JAVA_TEST_SRC_DIR="core/src/test/java" + pushd core/src/test/java || die + local JAVA_TEST_RUN_ONLY=$(find * \ + -name "AllTests.java" ) + popd || die + JAVA_TEST_RUN_ONLY="${JAVA_TEST_RUN_ONLY//.java}" + JAVA_TEST_RUN_ONLY="${JAVA_TEST_RUN_ONLY//\//.}" + java-pkg-simple_src_test + + einfo "Testing bcprov" + JAVA_GENTOO_CLASSPATH_EXTRA=":core.jar:libs/unboundid-ldapsdk-6.0.8.jar" + JAVA_TEST_RESOURCE_DIRS="prov/src/test/resources" + JAVA_TEST_SRC_DIR="prov/src/test/java" + pushd prov/src/test/java || die + local JAVA_TEST_RUN_ONLY=$(find * \ + -name "AllTests.java" ) + popd || die + JAVA_TEST_RUN_ONLY="${JAVA_TEST_RUN_ONLY//.java}" + JAVA_TEST_RUN_ONLY="${JAVA_TEST_RUN_ONLY//\//.}" + java-pkg-simple_src_test +} + +src_install() { + docinto html + dodoc -r docs + java-pkg-simple_src_install +} diff --git a/dev-java/bcutil/Manifest b/dev-java/bcutil/Manifest index 568a52ebf690..6a544453cdd0 100644 --- a/dev-java/bcutil/Manifest +++ b/dev-java/bcutil/Manifest @@ -1,3 +1,5 @@ DIST bc-java-r1rv77.tar.gz 31402744 BLAKE2B 1ca1e1dac1ed3d613ae66f08cd8a954e63d43a49ed402f5bd7c30cf1f0830ad29104aa91a9a0a3cbbb5ea750392bc285172a1ab38f2aba1600fa3ca4c469b4f5 SHA512 d75a0ce94bd006499eef9393491347ae70544643c93c2f7591df3ff0179bd477a5066891c7c3bdeb09bd693093c9dc7d29c48462a1d539e464cbf2ee9c1dfce4 +DIST bc-java-r1rv78v1.tar.gz 47211344 BLAKE2B 6d28e69db8ad0043a5cd6c0a4f6901ff40884be4baf60ee40d4cb5487d799e6ac5ef4282b5d6e7f873e45607394890dd26e3150c9c1729bd5346d9cc8f30f240 SHA512 87e6ecd6fea47877d9d7a196f58c5b45a7f026f18f17b71d4155061fad024194c30ce0fc44ea3e879b17f310a6626407f345a8e8970781afec4551f2aa688223 EBUILD bcutil-1.77.ebuild 1312 BLAKE2B 578a5a08d632e07c81ec71564387a72249ddd624be0530db7c4f112daf326d70e30d2b2a509b792448134f74343cf2142a4b93ffd7cc086d047b11203e658c30 SHA512 1fd6658801233c6e8ccdeaf0fdbd639353774be27f252f2cccdb7df06fb5b6fcdd829a71a8d851b9121c7589c3e08fba1c47e5662c7d360357c1cc146fa50e60 +EBUILD bcutil-1.78.1.ebuild 1336 BLAKE2B 27f6b26e567a09ea72308a74821e3ec3e7b5fb12998c1cffeb80382b8869f85f30ec8e94491c5f5d49c793610151c8ccd64d974529c6e823719a0a2985c4e9a9 SHA512 b83d65d7a5f3672dab56127021a16c77eeed9b4acc3f7953c4625ebe3c55f639e311b1bb7fa57ec01384a120fa1be0ce790858e384d137f0d13aebcbe281e4d5 MISC metadata.xml 478 BLAKE2B 877e4909a1a5f6903a5832348ba2cbbfd071eec425a576b8eb7af8b5c28b9a7d0efbc603e0a8b281607351a52ba130b3121f658b5beea1d7a618d5f0921f9a64 SHA512 12a308175f5b05b9b42f5ffcc03221615609d67670abfe211ee4b3b0c6f178516dab89a13f6539d26c4c4d15b1a83fc3ecd6b6872be14f1d3a30176404c43f12 diff --git a/dev-java/bcutil/bcutil-1.78.1.ebuild b/dev-java/bcutil/bcutil-1.78.1.ebuild new file mode 100644 index 000000000000..da54f4b38484 --- /dev/null +++ b/dev-java/bcutil/bcutil-1.78.1.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +JAVA_PKG_IUSE="doc source test" +MAVEN_ID="org.bouncycastle:bcutil-jdk18on:${PV}" +JAVA_TESTING_FRAMEWORKS="junit-4" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="Java APIs for ASN.1 extension and utility APIs used to support bcpkix and bctls" +HOMEPAGE="https://www.bouncycastle.org/java.html" +MY_PV="r$(ver_rs 1 'rv' 2 'v')" +SRC_URI="https://github.com/bcgit/bc-java/archive/${MY_PV}.tar.gz -> bc-java-${MY_PV}.tar.gz" +S="${WORKDIR}/bc-java-${MY_PV}/util" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + +CDEPEND="~dev-java/bcprov-${PV}:0" + +DEPEND=" + ${CDEPEND} + >=virtual/jdk-11:* +" + +RDEPEND=" + ${CDEPEND} + >=virtual/jre-1.8:* +" + +DOCS=( ../{README,SECURITY}.md ) +HTML_DOCS=( ../{CONTRIBUTORS,index}.html ) + +JAVA_AUTOMATIC_MODULE_NAME="org.bouncycastle.util" +JAVA_GENTOO_CLASSPATH="bcprov" +JAVA_SRC_DIR=( + "src/main/java" + "src/main/jdk1.9" +) + +JAVA_TEST_GENTOO_CLASSPATH="junit-4" +JAVA_TEST_RESOURCE_DIRS="src/test/resources" +JAVA_TEST_RUN_ONLY=( + "org.bouncycastle.asn1.util.test.AllTests" + "org.bouncycastle.oer.test.AllTests" +) +JAVA_TEST_SRC_DIR="src/test/java" + +src_prepare() { + java-pkg-2_src_prepare + java-pkg_clean .. +} + +src_install() { + docinto html + dodoc -r ../docs + java-pkg-simple_src_install +} diff --git a/dev-java/hamcrest/Manifest b/dev-java/hamcrest/Manifest index e2e2d45f2cb2..e063b4570826 100644 --- a/dev-java/hamcrest/Manifest +++ b/dev-java/hamcrest/Manifest @@ -2,5 +2,5 @@ AUX hamcrest-2.2-java-11.patch 6356 BLAKE2B 4950e452b7e785e575db862902c2deda6fd4 DIST hamcrest-2.2.tar.gz 603615 BLAKE2B b367fcb13be3314655e29e9196f3ae202200335801ea5bd8f97b5cd845bf7ecb39c4910b10e49938a373aa7897b62bc0935780490386bde1993add5b943b1eaf SHA512 8120e4f4ad83ff41b8b8ede1fe0817eb8fce6f13072e932aff7fc8c9f64689698753ae47b9f024922d5ab0a5bf7bb88b9e1998064d69a58b8c418ab89200e66a DIST hamcrest-3.0.tar.gz 880513 BLAKE2B f2240a08d6d54e14a8e5441311127fc09f78c8a38a7dcf56d888827f716090cbf15e4a4a563ee56d5afc22574ca1d081276d0173e9361effd20ea3f5389e37a7 SHA512 7997afbc414d7ace3f150eb3ce775c10de4beb595deba02dd41f195e3d885e11dec9af1df4b92d36140217503aebb8c4b97192ed6f925f92287f72b0c2b1b6f5 EBUILD hamcrest-2.2-r1.ebuild 912 BLAKE2B c4efa76a1c6b935fd6abdc4bdcec98e1f5bde829aa6316b8fca97c7898f28d05acc22cb34f5affec327fcc5410551c3ef196f0fb6280f028f4adf7df400ed9ae SHA512 81a189bab441d2593cfa2091acdbc4a905ed080f5b86fb505b58c4f565be157c3b124e6b73c9804cf0c47887301a75ee5b1738e077accfec62af94bbe41efef5 -EBUILD hamcrest-3.0.ebuild 800 BLAKE2B 2ee7ef7995cf0274c5064a603c9508e1637adcf716957da4f36b699e869855148be1ef2ebaa27eb21c6a50acacbb001387c45a2b2f8e80d718365adc6bbf98a6 SHA512 216d31eead2cc46c2a7bd918fc2091be15ae44daf335994a5e40372f66e020d94244f9c3d7840739b43daadcb7879625b7fd381f5b9749068f5a08cf8497a0b9 +EBUILD hamcrest-3.0.ebuild 799 BLAKE2B 006ac976260fe42dd698a450d9e2bfef862966aaf254fe8dcdfc5730cffdc1aff885d141ddb6ca2edd5767abdc813539dade17b791df81596b689b73797c58db SHA512 731dfa621d9c1de2d85933f6b9820d65749f1a594a0e5ad0a92704d8308a7f47f2ea7e47b89e5e677830d39ddf780f435fb927a2793b937b581b6df5364a387b MISC metadata.xml 303 BLAKE2B b415b83e9cd87ea6d0c58b8096930a08d4f3732068be492e201820cfef6599045327972bdc36d5936fc2f04c49b5c82c16b64b808edc882f863047989c94256e SHA512 97de5ee8a7aa583829434d5768522c3d73cebbc70a44874cafc87f0827d595d01b6b545b9709ec24f034e3c62527627828c6c0b0ac158cc6a7c4a633bb26748f diff --git a/dev-java/hamcrest/hamcrest-3.0.ebuild b/dev-java/hamcrest/hamcrest-3.0.ebuild index c6e5292340d7..2d7537667676 100644 --- a/dev-java/hamcrest/hamcrest-3.0.ebuild +++ b/dev-java/hamcrest/hamcrest-3.0.ebuild @@ -16,7 +16,7 @@ S="${WORKDIR}/JavaHamcrest-${PV}" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ppc64 x86" +KEYWORDS="amd64 ~arm arm64 ppc64 x86" DEPEND=">=virtual/jdk-1.8:*" RDEPEND=">=virtual/jre-1.8:*" diff --git a/dev-java/junit/Manifest b/dev-java/junit/Manifest index b89f16db188c..4cac458eb29f 100644 --- a/dev-java/junit/Manifest +++ b/dev-java/junit/Manifest @@ -8,5 +8,5 @@ DIST junit5-java18-compatibility.patch 742 BLAKE2B 89bfa36330278cdee2f7f66ed5527 EBUILD junit-3.8.2-r2.ebuild 802 BLAKE2B dd3ad766b9070457499af970d037ed6c5e96208a609d68149c37f348e4d678d950b963e62f54e655a4930b77c09048394da85821d0de2886f28a6693cab23486 SHA512 0e21cbde4dd60723044e9fcfd01ef5991fc62bdcc186e05e86c4fe4a0e04ddb038aaa16b130eeacf1d23b37e4ef3e16e0051e6bb1d40748c66b69ce3ad335755 EBUILD junit-4.13.2_p20240222.ebuild 1557 BLAKE2B f6353fe928daace6973a1870f4f894cc7ae64a2337087f702c92fc57fd569fb4e71de8c5de4c399a3376f541ba2af737605bcb2d7313c0912ef2411348a79e3e SHA512 f4d37e27b67271137e0a9406ba42681afe89ceee5da4be9f80c9e03d99a6fb6abfaea8bdeaac9cb39db9f5dc9f72383b663c247f27afe8c90c437a9f9baf5cac EBUILD junit-5.10.2.ebuild 12395 BLAKE2B 5f03a73ee3bce0d40d685490377374fc6c4ed8a9794d85d94a12619dda6b1f9cab59b59edbc05e2b1e0cdbeb80930ba9d0a98b403d05a185cae4c3ecb50137d9 SHA512 74080cc8c15d15a253974e85b05a9537112690c120d935b770afd902ac783651eaace85117d8af3400ef5608b8dfa62b9c3517ca8206cff63f6b26dae6fae7e5 -EBUILD junit-5.10.3.ebuild 12260 BLAKE2B d23c5dc5cf8deeec185489cf7ba7839891752725b9985602fdd9d7a6011210f5510157519949654b7f4103ebb0d24f734f0e5be79e14d0028a3be88c665f1e50 SHA512 0cd13e898f9745dc277f9fc39795567826c67f76cd576e5c67f5082a1681d56ed319c77101caf520d57a8f881aafe641d1225063c8eb4a4ffdb7128dced4b2a7 +EBUILD junit-5.10.3.ebuild 12259 BLAKE2B b7178323dfacb694840d85354ddd9473d622516ecd41e5b9b246a14d1034d69d457311b78999acb16c57945cb587bd6efa39056fea9a8d770b548094ef179ee8 SHA512 e1bd4805c02caa8d733c082f6e960482110eb3dd521bc4fc3f65ab22da71c1635b9b18e8744a795196da4e1c4ceeb75490cbe3ba54e8f0e5fd39e031fe54163f MISC metadata.xml 894 BLAKE2B d0f5c989f8a49dc923dfaf51a7d42d6fdc79a9c2cccd48cd31e687bcc5b7d7f25b15f1e7f91ebfe8f87cc15ce11b37c95e06dcf17611b03066f2b079efc6624b SHA512 7d40683565d1e4ff8ceb183fa26d8d6e3ae77dc1f7335a6ea452589f0f794bae8479a9e97c257a7d2332f3fa83b6721b334557944a4f0d6d064b66e0bcda9bd1 diff --git a/dev-java/junit/junit-5.10.3.ebuild b/dev-java/junit/junit-5.10.3.ebuild index 0ef2463d340f..e2e7db0d398a 100644 --- a/dev-java/junit/junit-5.10.3.ebuild +++ b/dev-java/junit/junit-5.10.3.ebuild @@ -22,7 +22,7 @@ S="${WORKDIR}/junit5-r${PV}" LICENSE="EPL-2.0" SLOT="5" -KEYWORDS="amd64 ~arm ~arm64 ppc64 x86" +KEYWORDS="amd64 ~arm arm64 ppc64 x86" IUSE="doc migration-support suite vintage" CP_DEPEND=" diff --git a/dev-java/owasp-java-encoder/Manifest b/dev-java/owasp-java-encoder/Manifest index 9e1cc2de8f47..0459430bec41 100644 --- a/dev-java/owasp-java-encoder/Manifest +++ b/dev-java/owasp-java-encoder/Manifest @@ -1,4 +1,3 @@ -AUX owasp-java-encoder-1.2.3-BenchmarkTest.patch 1971 BLAKE2B 1a4d60fb1b16b98878f1c9bd056d1600327768613a9df9017395f40f8d249b7034bb44b5573638307398ab5296c01f618f0e5348023e84aa526ca0d76ab41113 SHA512 376c5cad6e7cb4ebc3fe6998d90155c71bdfa793ecb132ea49e018169f6fe150485cd0b79984e5f88c96afb3ceb80cfdb68f49fe9aea4cabffc29ec3a7fc40e0 DIST owasp-java-encoder-1.3.1.tar.gz 150103 BLAKE2B 6fc372364a13df497b1f5380d1d9b1c90e0981bfa059c31f2d138a3d0db3210105d0055b2a39a341cb3374b8149c5d61e1f967677e1159e843bb0143713e58b2 SHA512 9a75dea53e2859a4a213e2a511440c1bcbaea6c7a13fece674d155bc859f049fd45bbbd83fd6869a792af3b0e3f447e90ab450545684aa5ccc5b88a051114cdc EBUILD owasp-java-encoder-1.3.1.ebuild 1243 BLAKE2B 0d6c11e5bc38fe119d0be612698890767c1a6b81f47ce4da37d4a45785e33c458da02e8a431c89d0ca5c8a6da9ae8a4d0a34b30ab3eee6f4be9f7be79fe49fd7 SHA512 88b9aa0c1b6474d3dd12264d699026e68586763b759471dae7dcb1cf27481cd378c3294d6c6e5ae38ebe5c2ca7007d72ed09d71a01eb85223b81d51190ff8f0a MISC metadata.xml 306 BLAKE2B 8dfe8c2f01f21e1e865973e9865f3a9439a7a378d2acc52a6e148dcf70e3ef0f0fcce4efff20d89c0e2872e5d23fb0795b2d669eb18c278abf3ae6406db8f84a SHA512 c696a3c2763ff1868b3b80ee7c4b47fc697679a0539c2b9b300f0a969ad3bcd168e75f5d0275c10bac5b1ba7052e2e498c2c7daf3290f593cd0be8c9f35940fd diff --git a/dev-java/owasp-java-encoder/files/owasp-java-encoder-1.2.3-BenchmarkTest.patch b/dev-java/owasp-java-encoder/files/owasp-java-encoder-1.2.3-BenchmarkTest.patch deleted file mode 100644 index de988462ede7..000000000000 --- a/dev-java/owasp-java-encoder/files/owasp-java-encoder-1.2.3-BenchmarkTest.patch +++ /dev/null @@ -1,46 +0,0 @@ -There were 2 failures: -1) Encode.forHtmlUnquotedAttribute(org.owasp.encoder.BenchmarkTest$1$3) -junit.framework.AssertionFailedError - at junit.framework.Assert.fail(Assert.java:55) - at junit.framework.Assert.assertTrue(Assert.java:22) - at junit.framework.Assert.assertTrue(Assert.java:31) - at junit.framework.TestCase.assertTrue(TestCase.java:200) - at org.owasp.encoder.BenchmarkTest$1$3.runTest(BenchmarkTest.java:115) -2) Encode.forUriComponent(org.owasp.encoder.BenchmarkTest$1$3) -junit.framework.AssertionFailedError - at junit.framework.Assert.fail(Assert.java:55) - at junit.framework.Assert.assertTrue(Assert.java:22) - at junit.framework.Assert.assertTrue(Assert.java:31) - at junit.framework.TestCase.assertTrue(TestCase.java:200) - at org.owasp.encoder.BenchmarkTest$1$3.runTest(BenchmarkTest.java:115) - -FAILURES!!! -Tests run: 962, Failures: 2 ---- a/src/test/java/org/owasp/encoder/BenchmarkTest.java -+++ b/src/test/java/org/owasp/encoder/BenchmarkTest.java -@@ -209,12 +209,6 @@ public class BenchmarkTest extends TestCase { - return Encode.forXml(input); - } - }, -- new Bench("Encode.forHtmlUnquotedAttribute") { -- @Override -- public String encode(String input) { -- return Encode.forHtmlUnquotedAttribute(input); -- } -- }, - new Bench("Encode.forJavaScript") { - @Override - public String encode(String input) { -@@ -227,12 +221,6 @@ public class BenchmarkTest extends TestCase { - return Encode.forCssString(input); - } - }, -- new Bench("Encode.forUriComponent") { -- @Override -- public String encode(String input) { -- return Encode.forUriComponent(input); -- } -- }, - new Bench("Encode.forCDATA") { - @Override - public String encode(String input) { diff --git a/dev-java/poi/Manifest b/dev-java/poi/Manifest index 8b9a4c1624c9..959213f2bfd5 100644 --- a/dev-java/poi/Manifest +++ b/dev-java/poi/Manifest @@ -1,6 +1,4 @@ -DIST poi-src-5.2.3-20220909.tgz 117839114 BLAKE2B 8b62f212dbbb6c7c20900dad97eaee20d416129d1529f42d3f3d15c42dd737af389f3d46c0891f733ba6ce143fa30c73aa921a2f007e68ecbfcd2a61da27baec SHA512 15d1d9387a3003fa30dc77cb42721daefb07a0f8ef1a69873107fd2266d66ae5c0138f47f2867d49154bbde4f28939ac1aa1b49e367230408e67c05099addc1c DIST poi-src-5.2.5-20231118.tgz 120325373 BLAKE2B a998b874040ac2fb136b9ffa59d30cf5939434efe59d51fc2e79c63f6fd1f3ad1679b532840f0e1975aa0fe79368951ecf2ddc0259e3dfce9fc2c34d95cb7216 SHA512 d46e94cfadc3a843d8e06033a618098dde738830f20146c6e39abd8f467aa88987719363ee2b91ecf6812e604cdc72a5c0a799676e264a6f9d3799aa4639a6c9 DIST poi-src-5.2.5-20231118.tgz.asc 488 BLAKE2B 634ed5e3bacd71213a96b9da147348deb3dd2837f6cf47f4d76c254442504815e41b1d9a3facfaa27c927f11f1ba552acf4dc94c4ffbfd11cc70eefd054a1523 SHA512 3588d60ad1c5e59540f19e345f2cfd6600a592fda313ab53bfd280599906e9d3c44aedae8fb72409ebae67c0285b257290bdca9128a632379db894143585dd1e -EBUILD poi-5.2.3.ebuild 1556 BLAKE2B 37fbff909c5dd7dddb27bcd15c68ebdb532f47ded30a074f8dd3a3aed1e9c210dfd3beeac35ed9323d71369e74e41630bd237f2d8de139808336d16b64ced8b3 SHA512 44e6d1c826a9b9decbd1f79668c7166f5e5f4e727bdb123810744e579964acf0d81531c2ca71a811c25cbc1083659c4404e4b704574389cc58a61a3a9f0a4e17 EBUILD poi-5.2.5.ebuild 1640 BLAKE2B 8698d5904263ad2c9e64b62cc08f0d651a972434b3b29fd4357bc7b705a10417fee485c313b2d217bb2328eb9f7550df5b48e9718204dbd1e239bf8282082d73 SHA512 4bc781a73727b15a65505d5c43fafdca52ac30a3571ac94798da4fccab11c7c994187030c49b662ca0636f3da15028b97c80c8a6dc2d9b1f4fe1cc83546e23f3 MISC metadata.xml 429 BLAKE2B 5de897522625a2c4ff05fcbd8f1ffc1e58bf734febe26f28a23e9f1a3a93d3acb1d099d9cc50d329c14bf9c586e15b74bfe061ccab493ce1627161ebce46a845 SHA512 a8b3da8273c10239b9bde465b67dd818d74910bb9303462b68df5ee9487aaeefbfec324bd0492601c75adb4e9fa163bf99ca7ececf2684f4778a61041a98e75c diff --git a/dev-java/poi/poi-5.2.3.ebuild b/dev-java/poi/poi-5.2.3.ebuild deleted file mode 100644 index 4628e037f386..000000000000 --- a/dev-java/poi/poi-5.2.3.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# tests depend on junit-jupiter which is not packaged -# https://github.com/apache/poi/blob/REL_5_2_2/poi/build.gradle#L51-L56 -JAVA_PKG_IUSE="doc source" -MAVEN_ID="org.apache.poi:poi-main:5.2.2" - -inherit java-pkg-2 java-pkg-simple - -DESCRIPTION="Maven build of Apache POI for Sonar checks" -HOMEPAGE="https://poi.apache.org/" -RELEASE_DATE="20220909" -SRC_URI="mirror://apache/poi/release/src/poi-src-${PV}-${RELEASE_DATE}.tgz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ppc64 x86" - -DEPEND=" - >=dev-java/commons-codec-1.15-r1:0 - >=dev-java/commons-collections-4.4-r1:4 - >=dev-java/commons-io-2.11.0-r1:1 - >=dev-java/commons-math-3.6.1-r2:3 - dev-java/log4j-api:2 - dev-java/sparsebitset:0 - >=virtual/jdk-11:* -" - -RDEPEND=" - >=virtual/jre-1.8:*" - -S="${WORKDIR}/poi-src-${PV}-${RELEASE_DATE}-${PV}" - -JAVA_AUTOMATIC_MODULE_NAME="org.apache.poi.poi" -JAVA_CLASSPATH_EXTRA=" - commons-codec - commons-collections-4 - commons-io-1 - commons-math-3 - log4j-api-2 - sparsebitset - " -JAVA_RESOURCE_DIRS="poi/src/main/resources" -JAVA_SRC_DIR=( poi/src/main/java{,9} ) - -src_prepare() { - default - sed \ - -e "s:@VERSION@:${PV}:g" \ - -e "s:@DSTAMP@:${RELEASE_DATE}:g" \ - poi/src/main/version/Version.java.template \ - > poi/src/main/java/org/apache/poi/Version.java || die - # Neither log4j-api nor SparseBitSet provide Automatic-Module - sed \ - -e '/SparseBitSet/d' \ - -e '/org.apache.logging.log4j/d' \ - -i poi/src/main/java9/module-info.java || die -} diff --git a/dev-java/sparsebitset/Manifest b/dev-java/sparsebitset/Manifest index 39ea1c6a1263..9005945d6c81 100644 --- a/dev-java/sparsebitset/Manifest +++ b/dev-java/sparsebitset/Manifest @@ -1,5 +1,3 @@ DIST SparseBitSet-1.3.tar.gz 1670241 BLAKE2B e9d8ff537b65e4c2be68d66f02595048381c4a2574e3bdc5d05602d440a57a6c7a96edb23581741a6800516e3d571dce8e016e0ce477300ce7ad08c3e81bcad2 SHA512 6851613df21bcdccb28c24535fac886d6ad74d6feb37dea477dff1711218ecf30093d90ff78becb1159c6bd570a7afbd8c86482d72a5af8f0864d6e443cd603b -DIST sparsebitset-1.2.tar.gz 1669439 BLAKE2B abfd88fb21f72d22bbb1f7bff11bd2a9b4e2af84689cbe8013f27f1f138512ecf843a60b8c5c196b622d024614e7f197b349a6cd510eb1c17bd757f7c1a0d90d SHA512 0c7c182556240886e0732626561401aa8695fd46ba90e5e95c5b28c90abaf5f6fd4c3b791171cdde71f61111c6b08ae8f56de105779f71d0448635cbe3b0b247 -EBUILD sparsebitset-1.2.ebuild 1049 BLAKE2B 5c5bc9eed6e197ef91af2c7f6ae4d268efe8506316663996ab4ef8b26bd4e0fce7006f61d7c806abf08287e20c545e47af19ec443e8476a35863f7e7387adf0e SHA512 37a458745a49af8d0d002c8c2043c640667550a4f6d48dc284db8bdfcde0e5bd5a5a1e8c89b9084be4bae81273ddcada01fbb3060883ffdb753493831a594b23 EBUILD sparsebitset-1.3.ebuild 829 BLAKE2B 299fa6c275eb0089343ca4d7c273fbef36aa2caa350c18de87078189ba3efade75c81676c4fe2f27a1f90ccfac74584d8c90b1a3844557995e475ea6a41797f8 SHA512 958a65f5a587967702d1cdb2a5ed9aca991d939623db48ae9ed9953230d6b1b91a8e33357876520d181b8c5037431feca872750a0964413fa58c447457f4491a MISC metadata.xml 386 BLAKE2B 96a18d38d4e85f0a567be644b6253a71abb11a301ca97bd2d40149586582c29844b3ad8ba2102c1959371661fc1ce1ab45767da3ba1b70a63032e1c1417db748 SHA512 6b79374b8bc3b7b69198c03cc65d954316e05efb1d5b93afcaea2bfddc371da3725272034b0893f648dd7607550ca1c7f20913de155f0c17c7b67766e472907b diff --git a/dev-java/sparsebitset/sparsebitset-1.2.ebuild b/dev-java/sparsebitset/sparsebitset-1.2.ebuild deleted file mode 100644 index 76a2d8a55d7a..000000000000 --- a/dev-java/sparsebitset/sparsebitset-1.2.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# Skeleton command: -# java-ebuilder --generate-ebuild --workdir . --pom pom.xml --download-uri https://github.com/brettwooldridge/SparseBitSet/archive/refs/tags/SparseBitSet-1.2.tar.gz --slot 0 --keywords "~amd64 ~arm64 ~ppc64 ~x86" --ebuild sparsebitset-1.2.ebuild - -EAPI=7 - -JAVA_PKG_IUSE="doc source test" -MAVEN_ID="com.zaxxer:SparseBitSet:1.2" -JAVA_TESTING_FRAMEWORKS="junit-4" - -inherit java-pkg-2 java-pkg-simple - -DESCRIPTION="An efficient sparse bitset implementation for Java" -HOMEPAGE="https://github.com/brettwooldridge/SparseBitSet" -SRC_URI="https://github.com/brettwooldridge/SparseBitSet/archive/refs/tags/SparseBitSet-${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ppc64 x86" - -DEPEND=" - >=virtual/jdk-1.8:* -" - -RDEPEND=" - >=virtual/jre-1.8:* -" - -S="${WORKDIR}/SparseBitSet-SparseBitSet-${PV}" - -JAVA_SRC_DIR="src/main/java" - -JAVA_TEST_GENTOO_CLASSPATH="junit-4" -JAVA_TEST_SRC_DIR="src/test/java" |