diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-09-03 12:28:20 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-09-03 12:28:20 +0100 |
commit | 3f559ef486314f9b3b48d48eb303d6be68463af9 (patch) | |
tree | 3b70212f31ce4d000911c001ce13363d0909dfd1 /dev-java | |
parent | 20b6ab983b55b022c6e4af317154089e18ad41cb (diff) |
gentoo auto-resync : 03:09:2024 - 12:28:20
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/Manifest.gz | bin | 55159 -> 55162 bytes | |||
-rw-r--r-- | dev-java/owasp-java-encoder/Manifest | 6 | ||||
-rw-r--r-- | dev-java/owasp-java-encoder/owasp-java-encoder-1.3.0.ebuild | 2 | ||||
-rw-r--r-- | dev-java/owasp-java-encoder/owasp-java-encoder-1.3.1.ebuild (renamed from dev-java/owasp-java-encoder/owasp-java-encoder-1.2.3.ebuild) | 20 | ||||
-rw-r--r-- | dev-java/poi/Manifest | 3 | ||||
-rw-r--r-- | dev-java/poi/poi-5.2.5.ebuild | 60 | ||||
-rw-r--r-- | dev-java/sparsebitset/Manifest | 2 | ||||
-rw-r--r-- | dev-java/sparsebitset/sparsebitset-1.3.ebuild | 28 |
8 files changed, 107 insertions, 14 deletions
diff --git a/dev-java/Manifest.gz b/dev-java/Manifest.gz Binary files differindex cc5155463962..7e2acb45d3da 100644 --- a/dev-java/Manifest.gz +++ b/dev-java/Manifest.gz diff --git a/dev-java/owasp-java-encoder/Manifest b/dev-java/owasp-java-encoder/Manifest index 557236fdd886..56fa569ba601 100644 --- a/dev-java/owasp-java-encoder/Manifest +++ b/dev-java/owasp-java-encoder/Manifest @@ -1,6 +1,6 @@ AUX owasp-java-encoder-1.2.3-BenchmarkTest.patch 1971 BLAKE2B 1a4d60fb1b16b98878f1c9bd056d1600327768613a9df9017395f40f8d249b7034bb44b5573638307398ab5296c01f618f0e5348023e84aa526ca0d76ab41113 SHA512 376c5cad6e7cb4ebc3fe6998d90155c71bdfa793ecb132ea49e018169f6fe150485cd0b79984e5f88c96afb3ceb80cfdb68f49fe9aea4cabffc29ec3a7fc40e0 -DIST owasp-java-encoder-1.2.3.tar.gz 134303 BLAKE2B 76b9652863fcdfdce82bd26062fa500bb92b21ba6edff7b3f409a1375e135176f826dca4bb02b4dd48905112ae20a0af0a1f09cb4e21ea41c672a44c52fea209 SHA512 19c13894ce68325553bdbee41190cb113d698c79ec74885604fd9db4f083efe0fcdc4313b7191014bfd972d0ee52f0fbe0621d7bb407745bd1feeb2ac9e49783 DIST owasp-java-encoder-1.3.0.tar.gz 150029 BLAKE2B 31e350f02a7374f809e435d90ee9b4b1424cd9cb2da7d4062dfe0fc5898e02623496e464483bafd550b82b926260ab4df918f9be776e47f66587c6bc3829ebba SHA512 0ccdd6ae63e657ee28a4d9de7664269eff57802bddb03c7163fdb27326668256573d995b0111dc83cc1e5a6acc247e03da443f4b34c08cf99b085ec0a383a439 -EBUILD owasp-java-encoder-1.2.3.ebuild 837 BLAKE2B d80fffeab535d7de8a4c227cd29b2afe74861e7fe8a4df5fc8c21053dfb2bf0503fe8091c62c4bfb62dd00e14a6feee6cac9027704b51da32c18c7b8a6d4b256 SHA512 f8c2275ad2397108a07be95d4cd028d18ae896068bf153fcc4c5819cd556a381e90540116a544ef26a811f0aa47032d6e6e72d354076ecf0818060f2fd4de7dc -EBUILD owasp-java-encoder-1.3.0.ebuild 1244 BLAKE2B 3c78a5ff087f17578b40c66bf7ac9b320eedb3e7b41dbc8851571241513ca587d8d1782c5aa5ff9623e067751b45b2da4874d194e4f8b3934e38872c3682b472 SHA512 cf37a0865cd38f85ae39d291bc15765ae28260b3ffb26da4b4cd7f95b6b0158975e6751c8be83e6d6af610ea64b51dfaf9e08dbe2677abb1a4c21af3ae381ec5 +DIST owasp-java-encoder-1.3.1.tar.gz 150103 BLAKE2B 6fc372364a13df497b1f5380d1d9b1c90e0981bfa059c31f2d138a3d0db3210105d0055b2a39a341cb3374b8149c5d61e1f967677e1159e843bb0143713e58b2 SHA512 9a75dea53e2859a4a213e2a511440c1bcbaea6c7a13fece674d155bc859f049fd45bbbd83fd6869a792af3b0e3f447e90ab450545684aa5ccc5b88a051114cdc +EBUILD owasp-java-encoder-1.3.0.ebuild 1243 BLAKE2B 0d6c11e5bc38fe119d0be612698890767c1a6b81f47ce4da37d4a45785e33c458da02e8a431c89d0ca5c8a6da9ae8a4d0a34b30ab3eee6f4be9f7be79fe49fd7 SHA512 88b9aa0c1b6474d3dd12264d699026e68586763b759471dae7dcb1cf27481cd378c3294d6c6e5ae38ebe5c2ca7007d72ed09d71a01eb85223b81d51190ff8f0a +EBUILD owasp-java-encoder-1.3.1.ebuild 1244 BLAKE2B 3c78a5ff087f17578b40c66bf7ac9b320eedb3e7b41dbc8851571241513ca587d8d1782c5aa5ff9623e067751b45b2da4874d194e4f8b3934e38872c3682b472 SHA512 cf37a0865cd38f85ae39d291bc15765ae28260b3ffb26da4b4cd7f95b6b0158975e6751c8be83e6d6af610ea64b51dfaf9e08dbe2677abb1a4c21af3ae381ec5 MISC metadata.xml 306 BLAKE2B 8dfe8c2f01f21e1e865973e9865f3a9439a7a378d2acc52a6e148dcf70e3ef0f0fcce4efff20d89c0e2872e5d23fb0795b2d669eb18c278abf3ae6406db8f84a SHA512 c696a3c2763ff1868b3b80ee7c4b47fc697679a0539c2b9b300f0a969ad3bcd168e75f5d0275c10bac5b1ba7052e2e498c2c7daf3290f593cd0be8c9f35940fd diff --git a/dev-java/owasp-java-encoder/owasp-java-encoder-1.3.0.ebuild b/dev-java/owasp-java-encoder/owasp-java-encoder-1.3.0.ebuild index 84640fdb1e59..d97245755a5f 100644 --- a/dev-java/owasp-java-encoder/owasp-java-encoder-1.3.0.ebuild +++ b/dev-java/owasp-java-encoder/owasp-java-encoder-1.3.0.ebuild @@ -16,7 +16,7 @@ S="${WORKDIR}/${P}/core" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="amd64" DEPEND=">=virtual/jdk-1.8:*" RDEPEND=">=virtual/jre-1.8:*" diff --git a/dev-java/owasp-java-encoder/owasp-java-encoder-1.2.3.ebuild b/dev-java/owasp-java-encoder/owasp-java-encoder-1.3.1.ebuild index 482d2d258e37..84640fdb1e59 100644 --- a/dev-java/owasp-java-encoder/owasp-java-encoder-1.2.3.ebuild +++ b/dev-java/owasp-java-encoder/owasp-java-encoder-1.3.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 2023 Gentoo Authors +# Copyright 2023-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -16,19 +16,19 @@ S="${WORKDIR}/${P}/core" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64" +KEYWORDS="~amd64" -RDEPEND=">=virtual/jre-1.8:*" DEPEND=">=virtual/jdk-1.8:*" +RDEPEND=">=virtual/jre-1.8:*" -PATCHES=( "${FILESDIR}/owasp-java-encoder-1.2.3-BenchmarkTest.patch" ) - +# skipping 10 tests because they seem to be unreliable depending on hardware used +# as some of them fail on some setups because the benchmark results don't align +# with the hardcoded value 200 for the expected results. here are some examples: +# Benchmarked Encode.forJavaScript: 442,382250 ns/op (+253,85% on baseline) +# Benchmarked Encode.forCssString: 446,929231 ns/op (+257,49% on baseline) +# Benchmarked Encode.forJava: 409,038065 ns/op (+227,18% on baseline) +JAVA_RM_FILES=( src/test/java/org/owasp/encoder/BenchmarkTest.java ) JAVA_SRC_DIR="src/main/java" JAVA_TEST_GENTOO_CLASSPATH="junit-4" JAVA_TEST_RESOURCE_DIRS="src/test/resources" JAVA_TEST_SRC_DIR="src/test/java" - -src_prepare() { - default #780585 - java-pkg-2_src_prepare -} diff --git a/dev-java/poi/Manifest b/dev-java/poi/Manifest index 216cc3e963f2..5fa7aedd61de 100644 --- a/dev-java/poi/Manifest +++ b/dev-java/poi/Manifest @@ -1,3 +1,6 @@ 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 1644 BLAKE2B 4c94a3db0d700838da77b67572df54b0761935122fcd2ab581707bc922975e985a397e84a0d7905cca08df8d565103763e15cf1349dc9356eb9922b632599de6 SHA512 e261c124a17779a1aa5c1abc5ee7ed1ef491d5c227dc6aa59a03477d73910573c2e896e5516b70a962d97c29c0342f7cc417ec6c73f2490925e908fbc3b55921 MISC metadata.xml 429 BLAKE2B 5de897522625a2c4ff05fcbd8f1ffc1e58bf734febe26f28a23e9f1a3a93d3acb1d099d9cc50d329c14bf9c586e15b74bfe061ccab493ce1627161ebce46a845 SHA512 a8b3da8273c10239b9bde465b67dd818d74910bb9303462b68df5ee9487aaeefbfec324bd0492601c75adb4e9fa163bf99ca7ececf2684f4778a61041a98e75c diff --git a/dev-java/poi/poi-5.2.5.ebuild b/dev-java/poi/poi-5.2.5.ebuild new file mode 100644 index 000000000000..7320886dbe8a --- /dev/null +++ b/dev-java/poi/poi-5.2.5.ebuild @@ -0,0 +1,60 @@ +# 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="org.apache.poi:poi-main:${PV}" + +inherit java-pkg-2 java-pkg-simple verify-sig + +DESCRIPTION="Maven build of Apache POI for Sonar checks" +HOMEPAGE="https://poi.apache.org/" +RELEASE_DATE="20231118" +SRC_URI="https://archive.apache.org/dist/poi/release/src/poi-src-${PV}-${RELEASE_DATE}.tgz + verify-sig? ( https://archive.apache.org/dist/poi/release/src/poi-src-${PV}-${RELEASE_DATE}.tgz.asc )" +S="${WORKDIR}/poi-src-${PV}-${RELEASE_DATE}" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" + +VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/openpgp-keys/poi.apache.org.asc" +BDEPEND="verify-sig? ( sec-keys/openpgp-keys-apache-poi )" +DEPEND=" + dev-java/commons-codec:0 + dev-java/commons-collections:4 + dev-java/commons-io:1 + dev-java/commons-math:3 + dev-java/log4j-api:2 + >=dev-java/sparsebitset-1.3:0 + >=virtual/jdk-11:* +" + +RDEPEND=">=virtual/jre-1.8:*" + +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() { + java-pkg-2_src_prepare + 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 + # log4j-api does not provide Automatic-Module + sed \ + -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 3e6655098e98..0d9035f89ad4 100644 --- a/dev-java/sparsebitset/Manifest +++ b/dev-java/sparsebitset/Manifest @@ -1,3 +1,5 @@ +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 833 BLAKE2B 084ef3671caba40c6600fc68250bf1617d656b55b6d6875efb7b44ec823ee3a0cbe0def7a450f3d87773e7572388049182f2c341e42d025a4657cdae79e6e2cd SHA512 9ef32f2a21d0be3285674aaea315451d95649068cd641995f4d6090cc05bf8d1d8bf116424092469780cbb86e6176588d38eaa0cf471ad4e30341bf1051ad5ba MISC metadata.xml 386 BLAKE2B 96a18d38d4e85f0a567be644b6253a71abb11a301ca97bd2d40149586582c29844b3ad8ba2102c1959371661fc1ce1ab45767da3ba1b70a63032e1c1417db748 SHA512 6b79374b8bc3b7b69198c03cc65d954316e05efb1d5b93afcaea2bfddc371da3725272034b0893f648dd7607550ca1c7f20913de155f0c17c7b67766e472907b diff --git a/dev-java/sparsebitset/sparsebitset-1.3.ebuild b/dev-java/sparsebitset/sparsebitset-1.3.ebuild new file mode 100644 index 000000000000..06c06a825139 --- /dev/null +++ b/dev-java/sparsebitset/sparsebitset-1.3.ebuild @@ -0,0 +1,28 @@ +# 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="com.zaxxer:SparseBitSet:1.3" +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/SparseBitSet-${PV}.tar.gz" +S="${WORKDIR}/SparseBitSet-SparseBitSet-${PV}" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" + +DEPEND=">=virtual/jdk-1.8:* + test? ( dev-java/junit:4 )" +RDEPEND=">=virtual/jre-1.8:*" + +JAVA_AUTOMATIC_MODULE_NAME="com.zaxxer.sparsebitset" +JAVA_SRC_DIR="src/main/java" +JAVA_TEST_GENTOO_CLASSPATH="junit-4" +JAVA_TEST_SRC_DIR="src/test/java" |