diff options
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/Manifest.gz | bin | 55347 -> 55339 bytes | |||
-rw-r--r-- | dev-java/commons-codec/Manifest | 3 | ||||
-rw-r--r-- | dev-java/commons-codec/commons-codec-1.17.1.ebuild | 58 | ||||
-rw-r--r-- | dev-java/commons-compress/Manifest | 3 | ||||
-rw-r--r-- | dev-java/commons-compress/commons-compress-1.27.1.ebuild | 73 | ||||
-rw-r--r-- | dev-java/commons-io/Manifest | 3 | ||||
-rw-r--r-- | dev-java/commons-io/commons-io-2.17.0.ebuild | 40 |
7 files changed, 180 insertions, 0 deletions
diff --git a/dev-java/Manifest.gz b/dev-java/Manifest.gz Binary files differindex 07593cfdf06d..6be1ad71e5d2 100644 --- a/dev-java/Manifest.gz +++ b/dev-java/Manifest.gz diff --git a/dev-java/commons-codec/Manifest b/dev-java/commons-codec/Manifest index f9a577b315bc..dac71bfd5856 100644 --- a/dev-java/commons-codec/Manifest +++ b/dev-java/commons-codec/Manifest @@ -1,4 +1,7 @@ DIST commons-codec-1.16.1-src.tar.gz 450009 BLAKE2B da06c823fae5e106c27b10274fb159e3de62827fe1bb1ace8d65377da26d012534636a8ac58a558b653ba3a7e868bb2f7d94b2ea820b5ddc6400fd4d288c6ba9 SHA512 8e2d40ae625c04e61b0dd7473dea0b32fdd13a6d3aad47b8b052952ca46f57d3df4917133f523ea147305a1c7ed9267cce7c4fa34d901496e36e9d5de9856e61 DIST commons-codec-1.16.1-src.tar.gz.asc 488 BLAKE2B d3f193b602339714728875189ae90a49f70f9efb70076e73bdc460ccca99aea832a7cf0b18ecd212b016787f8cc96a1e30f9cb0af7b83f05db2dfba00d71c144 SHA512 a0716601374f17add25698eb5abd111c560c258f4ab18278b6bd857b2bf32916b5e4e590ce8c39a0bdef3b83e16e9330ce84268dec810db7dfab1679cace85af +DIST commons-codec-1.17.1-src.tar.gz 456746 BLAKE2B 9bf33c183d4344bdccdffa1c573f9b2cfe34db227cbcffa66a7baed85778a516339a736ddade637859989055e2ab86abb5464ab9bc57782e3c972cc8ed2c4dbd SHA512 c98456664396d4d9cb794c185a479e6bb4a5055ed1f526a8e358fe3a59409c057dbb16f59c251bb52976995dbca14d8f15857074c9d19fbc7bdfed625a13abf0 +DIST commons-codec-1.17.1-src.tar.gz.asc 488 BLAKE2B 63bd00bcf69ab41e58e1eb2b2e56749211aa044e769a16fe2eea6acdeeac85d59c7465597aaec671b6efe22c68b05cd64c2e7a4bd2dc2f7f2b235dd27a125153 SHA512 6e9475773162193ce005635a5af926e0c7bfbaaca4c801a66bdabe73de0a2d17ec489a77d904d7d69e5749bc2af07d5b0b97d5aef2a319c614a3f1db632d424c EBUILD commons-codec-1.16.1.ebuild 1277 BLAKE2B fd813ce6a6526624ea17689178c24acfbdff557a98de71f1a5ef2995dba57aa77060eea8f8a5b5704ece723fe3c96e53e313eea40885ee3fe2e028a3fa2abc92 SHA512 888b364b3b8866e4a45535a7851839af4b9b979f6202ae73217ff35b07e07703d05690a77e27ca805fa60120da25a148765547d31048e933f747c9f8e4211055 +EBUILD commons-codec-1.17.1.ebuild 1582 BLAKE2B d801583526ae97eb2c4ab246175e3a851c1e3e09a935bf4a3e43c20c9c6c036d143678405d7b079dabb39b54abc672cc1877386e5ee05c680f4b4f0cfd66b7bd SHA512 5c61a3260dac3f6109f4a1475b787115b3570a0d11277f99c725ee5b002aa7f350d04a660a3a799cf9e4018135a73f21e183a7fc9eb233a00aa10cc532ba92a6 MISC metadata.xml 1443 BLAKE2B 9dc72c216ed78422e21ce8c25aab0ca901fe2947ab3d26076379701c7ed585def08c49d258e30d035ffb8e7f618540578cc34ca4246a30e21e1ebbab13c706bd SHA512 1ae390b599a1b817f1d7bc54e8d73dfe596de6a6829ef65554f4a27d16e79e1c99645302d1d761caefb48e46f54ba930cf0991985beedc93e7fb416b7146a920 diff --git a/dev-java/commons-codec/commons-codec-1.17.1.ebuild b/dev-java/commons-codec/commons-codec-1.17.1.ebuild new file mode 100644 index 000000000000..fe0b70801518 --- /dev/null +++ b/dev-java/commons-codec/commons-codec-1.17.1.ebuild @@ -0,0 +1,58 @@ +# 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="commons-codec:commons-codec:${PV}" +JAVA_TESTING_FRAMEWORKS="junit-4" + +inherit java-pkg-2 java-pkg-simple verify-sig + +DESCRIPTION="Implementations of common encoders and decoders in Java" +HOMEPAGE="https://commons.apache.org/proper/commons-codec/" +SRC_URI="mirror://apache/commons/codec/source/${P}-src.tar.gz + verify-sig? ( https://downloads.apache.org/commons/codec/source/${P}-src.tar.gz.asc )" +S="${WORKDIR}/${P}-src" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux" +RESTRICT="test" #839681 + +VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/openpgp-keys/commons.apache.org.asc" +BDEPEND="verify-sig? ( sec-keys/openpgp-keys-apache-commons )" +DEPEND=" + >=virtual/jdk-1.8:* + test? ( + dev-java/commons-lang:3.6 + dev-java/hamcrest:0 + dev-java/junit:5[migration-support] + ) +" +RDEPEND=">=virtual/jre-1.8:*" + +JAVA_RESOURCE_DIRS="src/main/resources" +JAVA_SRC_DIR="src/main/java" + +JAVA_TEST_GENTOO_CLASSPATH=" + junit-4 + junit-5 + commons-lang-3.6 + hamcrest +" +JAVA_TEST_RESOURCE_DIRS="src/test/resources" +JAVA_TEST_SRC_DIR="src/test/java" + +src_compile() { + JAVA_JAR_FILENAME="org.apache.${PN}.jar" + java-pkg-simple_src_compile # creates a legacy jar file without module-info + + jdeps --generate-module-info \ + src/main/java \ + --multi-release 9 \ + "${JAVA_JAR_FILENAME}" || die + + JAVA_JAR_FILENAME="${PN}.jar" + java-pkg-simple_src_compile # creates the final jar file including module-info +} diff --git a/dev-java/commons-compress/Manifest b/dev-java/commons-compress/Manifest index bafcce7ee3f0..3afe9a5c04a0 100644 --- a/dev-java/commons-compress/Manifest +++ b/dev-java/commons-compress/Manifest @@ -1,4 +1,7 @@ DIST commons-compress-1.26.1-src.tar.gz 54843710 BLAKE2B 84c4c1363a4396a06773a8c120f5f32d98fceaa139e33a2a27df79a9aea41b8084a93a5735b0c4cd17fa88c404060af2336ab20f127acceb0da948ff170164c3 SHA512 096c94344a9bbcd021a3cce0869456cf6d22ca5136b63de017922d7c3de5d94b591961fe550201b654f9dc90b2cd8f32ef9bf1e507fddfb2e2f7c33bddc790c4 DIST commons-compress-1.26.1-src.tar.gz.asc 488 BLAKE2B 4df27d6d7ab226eb87ca6b7691c677b95d59c2d37f44ced6a5c0586aefa2506c9a635d869fd181526149416c228a8859a961386ca98519dc080709a55d9264c9 SHA512 b9533d63f961022ca42e79f8aed91a6c4b8a91cb0f3aa095a4ffa2202ed87d171f6c0d32babfbd730eb0c250be2331da4bd12e5251f7e7076f78536d20d96ced +DIST commons-compress-1.27.1-src.tar.gz 61131529 BLAKE2B d6109c33d833548228e2bdcb2a5563526a7adede825de7422108d9e0890942e875b28032527bdc7c329306973c2ddc0da1995f028999c66b1ccefe5830a4a741 SHA512 c7a2cef26959e687ad19b96b5ba8393d7514095e13bf0f29bd41e6b3c3cb2260d8ff23283ff3d5fd137b2522b843e7f0f50ab46bcf0f66df5383674f35f223ab +DIST commons-compress-1.27.1-src.tar.gz.asc 488 BLAKE2B d7ed8dfae26b41a8884deecfb8b09e827388749f9f2c1f762947dae61635c64a76e4f86171bf893eb4d6ca53e270332a2487afbab3664f33d6618837417e979c SHA512 a7e12ee2470eae3f76540115dfb7817c3ce6142e2ac23bbd42150c32d9b615e889d3c52122b253fa9e56408c99ae5415b4987b6d8b97ff52090f676a2087b2f5 EBUILD commons-compress-1.26.1.ebuild 1307 BLAKE2B 65146a3dec16edfe680b003199565da76945b8b2481103e03f99220641ed5270e27cb0ee14b3e64969b6c47501f68640ca6df1a48a912e9259110b0492420349 SHA512 3c5a9ea89a8b1997e4053cc89150a6334bbfa32ad4e7bf985395efb98f34a64835d47115d4cf5b67a7bdce939a8eca6ba43b8bb72fc24c5a71e875a1a227203a +EBUILD commons-compress-1.27.1.ebuild 2007 BLAKE2B ca1cfda501304d924e9f20223ad9a1cafb8bdbcda3f69ec562fedcad0d4f294f92f8a5df1849ded46f83aeb9126dce6bc3f673ed6ceaca2cd913de4d64f10ad1 SHA512 4bcf6ce10a496abe78afdeef6ea5b6f93279f6b93e602f4bc2dce18ab8a00e07b1ae351e24d753a219bf842630196ac48f6df46fdc9410bcff47510b88c1f5f1 MISC metadata.xml 325 BLAKE2B 9edddb431124415fe343c5fcfbef16627943a28d12f4bba89559a577e1a2b2eed63a866521f47c504c102c1f5f01cd014c6e453940347ae0bd8e3ebfc5cae68f SHA512 54562f74ac55704a1f09b8dc4d78c5620ba61197e71350d770bddbeafe53c2faaad6d900d284cc265be555d378022b228c6a14b0606f540e2faa16b3df27e939 diff --git a/dev-java/commons-compress/commons-compress-1.27.1.ebuild b/dev-java/commons-compress/commons-compress-1.27.1.ebuild new file mode 100644 index 000000000000..b2adfc0cc3c8 --- /dev/null +++ b/dev-java/commons-compress/commons-compress-1.27.1.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Not ready for running tests, https://bugs.gentoo.org/839681 +JAVA_PKG_IUSE="doc source" +MAVEN_ID="org.apache.commons:commons-compress:${PV}" + +inherit java-pkg-2 java-pkg-simple verify-sig + +DESCRIPTION="Java API for working with archive files" +HOMEPAGE="https://commons.apache.org/proper/commons-compress/" +SRC_URI="mirror://apache/commons/compress/source/${P}-src.tar.gz + verify-sig? ( https://downloads.apache.org/commons/compress/source/${P}-src.tar.gz.asc )" +S="${WORKDIR}/${P}-src" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" + +VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/openpgp-keys/commons.apache.org.asc" +BDEPEND="verify-sig? ( sec-keys/openpgp-keys-apache-commons )" +CP_DEPEND=" + dev-java/asm:9 + dev-java/brotli-dec:0 + dev-java/commons-codec:0 + >=dev-java/commons-io-2.17.0:1 + dev-java/commons-lang:3.6 + dev-java/xz-java:0 + dev-java/zstd-jni:0 +" +DEPEND="${CP_DEPEND} + >=virtual/jdk-11:* + dev-java/osgi-core:0" +RDEPEND="${CP_DEPEND} + >=virtual/jre-1.8:*" + +JAVA_CLASSPATH_EXTRA="osgi-core" +JAVA_ENCODING="iso-8859-1" # unmappable character for utf-8 +JAVA_MAIN_CLASS="org.apache.commons.compress.archivers.Lister" +JAVA_SRC_DIR="src/main/java" + +src_compile() { + # getting dependencies into the modulepath + DEPENDENCIES=( + asm-9 + brotli-dec + commons-codec + commons-io-1 + commons-lang-3.6 + xz-java + zstd-jni + ) + local modulepath + for dependency in ${DEPENDENCIES[@]}; do + modulepath="${modulepath}:$(java-pkg_getjars --build-only ${dependency})" + done + + JAVA_JAR_FILENAME="org.apache.${PN}.jar" + java-pkg-simple_src_compile # creates a legacy jar file without module-info + + # generate module-info.java + jdeps \ + --module-path "${modulepath}" \ + --generate-module-info \ + src/main/java \ + --multi-release 9 \ + "${JAVA_JAR_FILENAME}" || die + + JAVA_JAR_FILENAME="${PN}.jar" + java-pkg-simple_src_compile # creates the final jar file including module-info +} diff --git a/dev-java/commons-io/Manifest b/dev-java/commons-io/Manifest index 4363ed6417b8..2c30de5bed2b 100644 --- a/dev-java/commons-io/Manifest +++ b/dev-java/commons-io/Manifest @@ -2,6 +2,9 @@ DIST commons-io-2.15.1-src.tar.gz 618534 BLAKE2B 6fc539f28ce610e9947bf529154c79f DIST commons-io-2.15.1-src.tar.gz.asc 488 BLAKE2B 5fb3128a63d2fbc74cd96bf00919cca0fbf7b0a2cbd48287c8495c0fdb78c9df53dcc06a443b626b52ff3f9c32c55425ba619a4f61de542f3dd912916f3b2469 SHA512 1d358d3acd88816fb4d95746d8e4bd4351062cf35caad8c6f4d2da42c7974a4a583db4f7d98d8768ca7fcb4900172b869c6d6f714b8df71bb214634f83c7a55a DIST commons-io-2.16.1-src.tar.gz 634766 BLAKE2B 5bdc09ec07666ae513944040aae730a8bd5fe4fe65f05aa1f8295b6687f99c588ac4071113b5fa3bdc8f2e4fe0d8b40677c3afba18f332e283f28b5270d5f41c SHA512 07298e3af85726f2ec07a660fbb743f82cd88f8043a57e2e1063b758c81429dfafd77a024e2cdd48efe5d403299c20e898f5b3dd729f52bd55b8a6fb50c9a13a DIST commons-io-2.16.1-src.tar.gz.asc 488 BLAKE2B e42af1fe9cbb50371c981737e7899b30d99b8e7045485562614a72307068942b433614e4a1c3cdb17261917a1a5382c5828e290e50f3f3a12a3ed297be53cace SHA512 74e22fd7bf5daf58611537f6c21bd41e10942e3051785e13d771e5fd50e5403144a8d2ed9472de13263da5cbf579911a1aafaa7e43dea9f99fe6ad4011ecb74a +DIST commons-io-2.17.0-src.tar.gz 652908 BLAKE2B c87f10584d7933215aa24e8bde1037eced0738098149e9423371a1fef0255e36e38a6c92cdafd75eecbf56d13c4c38d479fe2706afc86224900fcaf7cae5e5f5 SHA512 5681b7bab9e34e9051e4f7a48925ecdf5d8814894c2626298dfca7aa0566c2dc46c15843850e3e14a3e05613ae9ef9fd08077042931e2fe552057f9c1bee6b69 +DIST commons-io-2.17.0-src.tar.gz.asc 488 BLAKE2B 451dcfbc952994a2402a7657fb0702572c8873c977681236c26326eec15316d543a39a48530760cf8a7c8b8469c7d18b1a7f88a80ab096d1604c33ec050c9b27 SHA512 8708d9cd17a2805c385006fbd5d0db883b593c67ff4afaaac507ca2dbe9f4b2e51cc1c492577b2e2cc6151a766264f1b3cd7c4b526fe16afa814d7ae29d2722c EBUILD commons-io-2.15.1.ebuild 994 BLAKE2B 9c3204eaa65b369b7a7529222e648f44437fbf915a7f6a62114c7f93372fef9deac75536962e06023b8297484fb60247db8923acf162efd704c4c5fa44b41bb8 SHA512 76f4bc4dd5baff6bfac14d9425bc9e27dbdbbbbf26393279bd5fdd3791927fba9c666f86d2c21c4851b038e80eb7cda1f73103917afb8cb3cb2dd920d808497d EBUILD commons-io-2.16.1.ebuild 1292 BLAKE2B b9fe8c18daa8331dff639e87877aaa1788cfc97bdd33817c1517d66c9a53034c5a21b53e0d281eb40ceadec99928f1b2b20b94ed8836a3b0f8f39ae7d44cdb2d SHA512 dfb396a0584319fff1dc7386689aa6e744b6b5e92df3a6ec8970319b4262bc30cc41989d0b66009f66b96c48a7e54a1b054336326c7204dbaaf756dcd2092a92 +EBUILD commons-io-2.17.0.ebuild 1264 BLAKE2B d77ba02cb9ea366ef445c950ff2ee57d1ade99d21844d9017649eccf29f0cb7d720dc2e0e79ffa034eab3efbb0d1b2fe62d64a9ad6b79ad9af61c4109ee67806 SHA512 bf38225aeca175d40d6fee4616d02ef10f320ec8e54e7d44fbbc481a2d2f537d0bb017865a3542073edf4d500daf47b2405ee3c069aa13e9427f3ddaae46adb1 MISC metadata.xml 319 BLAKE2B 0cf0293595d7916fd34cf3a108f6f79e8ce3fc32d4bc02bcb093578e02c5386ed80b50487fb8e663cbcfa98873ab0a5a3763b3b002ff89323617b30c4a1b4143 SHA512 acbe501db8b7fe74845d68c3c288231b2140473652c12b04d4b4edac4a6031be67c470d4b59a170e743023e1f931a7daae647be0a23bf5d227d1fbd9c4927cfa diff --git a/dev-java/commons-io/commons-io-2.17.0.ebuild b/dev-java/commons-io/commons-io-2.17.0.ebuild new file mode 100644 index 000000000000..76e4f661e617 --- /dev/null +++ b/dev-java/commons-io/commons-io-2.17.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# No tests, #839681 +JAVA_PKG_IUSE="doc source" +MAVEN_ID="commons-io:commons-io:${PV}" + +inherit java-pkg-2 java-pkg-simple verify-sig + +DESCRIPTION="Utility classes, stream implementations, file filters, and much more" +HOMEPAGE="https://commons.apache.org/proper/commons-io/" +SRC_URI="mirror://apache/commons/io/source/${P}-src.tar.gz + verify-sig? ( https://archive.apache.org/dist/commons/io/source/${P}-src.tar.gz.asc )" +S="${WORKDIR}/${P}-src" + +LICENSE="Apache-2.0" +SLOT="1" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos" + +VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/openpgp-keys/commons.apache.org.asc" +BDEPEND="verify-sig? ( sec-keys/openpgp-keys-apache-commons )" +DEPEND=">=virtual/jdk-11:*" # module-info +RDEPEND=">=virtual/jre-1.8:*" + +JAVA_SRC_DIR="src/main/java" + +src_compile() { + JAVA_JAR_FILENAME="org.apache.${PN}.jar" + java-pkg-simple_src_compile # creates a legacy jar file without module-info + + jdeps --generate-module-info \ + src/main/java \ + --multi-release 9 \ + "${JAVA_JAR_FILENAME}" || die + + JAVA_JAR_FILENAME="${PN}.jar" + java-pkg-simple_src_compile # creates the final jar file including module-info +} |