diff options
Diffstat (limited to 'dev-java')
22 files changed, 16 insertions, 735 deletions
diff --git a/dev-java/Manifest.gz b/dev-java/Manifest.gz Binary files differindex 963ec98bae02..cd6c33bd1ab4 100644 --- a/dev-java/Manifest.gz +++ b/dev-java/Manifest.gz diff --git a/dev-java/ant-core/Manifest b/dev-java/ant-core/Manifest index a3d1ec57ea1d..fad9932f4c8f 100644 --- a/dev-java/ant-core/Manifest +++ b/dev-java/ant-core/Manifest @@ -1,5 +1,2 @@ -DIST ant-1.10.9-gentoo.tar.bz2 6685 BLAKE2B 2249c7e1628052a2a6896c6995e0c5dd14ea77671ab0ef4402ece9968f41266cdf4411cd669dbb73c4d7043d7c6c5f6e992bfc2705e74899ff1058f0d4942704 SHA512 aade4c5322c29d1b6b4f6b99b229a1a07ff64faed104bdbbff3a82bd482d9cab5596c019dac92eaf4cab875fa9e46e5067ba816f910c2d6c94890ab85c50605b -DIST apache-ant-1.10.9-src.tar.bz2 4593589 BLAKE2B afb73e592dbd4e0082f5890005ce70264ab9c59f1359a91cc83abcfb03938d98ed9d1eb797c9f72bd3d017a41c19635a6246e5b46ddcab660749a2530db1baaa SHA512 7a6c96131462dc0e1bcf41e2daa1b129a45d19302f4ee2915bb51c4cf347996fa5f8140f96653b21952decee16816476b8f258f8ad2c094a8305209cebcee4a4 -EBUILD ant-core-1.10.14.ebuild 500 BLAKE2B 1006ce23dca9634f1ee8a2e4ec6c4d3a6fef843e29df32e53355d6eb81c8948e3aa9866bb049059ab436e1d2c89ddd1267589e90427441a4192c73efbde2a941 SHA512 26ce92cc04b5bf61376ad0bc3444dacfcfe2d5c512d617cf71853ca9362cb44a6cfcc720d0209524aa4fb743ba90a1a671dd5ffca4fa5652506c8cd6434d2630 -EBUILD ant-core-1.10.9-r5.ebuild 4049 BLAKE2B 4bba71206ec27d44129187e60bb36023a7692e43e48a442a0e8ddfc2cf82bba6520ede091484429bf7cf80ad5fb16d4290bd12b6facad18749a387250fd8fa62 SHA512 e6d97d8b3b3147c40840a803e02bfdaf5a7119e4341fbad58a532ef9a14552b54dff10e523925d366329e3c15d723778d04b83313e24bf25423ba53921a5f537 +EBUILD ant-core-1.10.14.ebuild 559 BLAKE2B 0ec8a184f49c69f91cebd1531608584a8c856cfc4dd9373d5a70f1000a75aa41db9fe8fe2b93b62d2103f6f186b520eb35cfc6c6b5e969428af5edef9971b4c0 SHA512 6c144ce0033c618d11410cbef0d649d2ce46a7026e8645413aa484e66a0cfdb0efff216bf39e261a4d33627b31fee65305b5ead74842b169b1bb39c9029811dc MISC metadata.xml 434 BLAKE2B f6e80b35f9e2744a724af5869f1c1ca894e2a5b1732ea39ab3025dff60928612df0a582f958df34402d365f32c14b452be62a07328df6e6b13f4de534936f8a0 SHA512 db54bd8fcf1763471b4fba7bc846f27b1049d85bf242fedf4428be1c1c91eab34c7686f26b7c730e795739e95bedea7174f3579871ecc94f5cae634dfaef68a7 diff --git a/dev-java/ant-core/ant-core-1.10.14.ebuild b/dev-java/ant-core/ant-core-1.10.14.ebuild index b26b93661c3c..c69d378ddc71 100644 --- a/dev-java/ant-core/ant-core-1.10.14.ebuild +++ b/dev-java/ant-core/ant-core-1.10.14.ebuild @@ -11,7 +11,7 @@ S="${WORKDIR}" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="amd64 ~arm arm64 ppc64 x86" +KEYWORDS="amd64 ~arm arm64 ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" DEPEND=" ~dev-java/ant-${PV}:0 diff --git a/dev-java/ant-core/ant-core-1.10.9-r5.ebuild b/dev-java/ant-core/ant-core-1.10.9-r5.ebuild deleted file mode 100644 index 40333bc9a9d1..000000000000 --- a/dev-java/ant-core/ant-core-1.10.9-r5.ebuild +++ /dev/null @@ -1,159 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# Don't depend on itself. -JAVA_ANT_DISABLE_ANT_CORE_DEP="true" - -# Rewriting build.xml files for the testcases has no use at the moment. -JAVA_PKG_BSFIX_ALL="no" -JAVA_PKG_IUSE="doc source" -MAVEN_ID="org.apache.ant:ant:1.10.9" - -inherit java-pkg-2 java-ant-2 prefix - -MY_P="apache-ant-${PV}" - -DESCRIPTION="Java-based build tool similar to 'make' that uses XML configuration files" -HOMEPAGE="https://ant.apache.org/" -SRC_URI="https://archive.apache.org/dist/ant/source/${MY_P}-src.tar.bz2 - https://dev.gentoo.org/~fordfrog/distfiles/ant-${PV}-gentoo.tar.bz2" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" - -CDEPEND=">=virtual/jdk-1.8:*" -DEPEND="${CDEPEND} - doc? ( - dev-java/bcel:0 - dev-java/bsf:2.3 - dev-java/commons-logging:0 - dev-java/commons-net:0 - dev-java/jakarta-activation-api:1 - dev-java/jakarta-regexp:1.4 - dev-java/jakarta-oro:2.0 - dev-java/jdepend:0 - dev-java/jsch:0 - dev-java/log4j-12-api:2 - dev-java/javax-mail:0 - dev-java/sun-jai-bin:0 - dev-java/xalan:0 - dev-java/xml-commons-resolver:0 - dev-java/xz-java:0 - )" -RDEPEND="${CDEPEND}" - -S="${WORKDIR}/${MY_P}" - -RESTRICT="test" - -PATCHES=( - "${WORKDIR}/${PV}-build.patch" - "${WORKDIR}/${PV}-launch.patch" -) - -src_prepare() { - default - - eprefixify "${S}/src/script/ant" - - # Fixes bug 556008. - java-ant_xml-rewrite -f build.xml \ - -c -e javadoc \ - -a failonerror \ - -v "false" - - # See bug #196080 for more details. - java-ant_bsfix_one build.xml - java-pkg-2_src_prepare - - # Remove JDK9+ stuff - einfo "Removing JDK9+ classes (Jmod and Link)" - rm "${S}"/src/main/org/apache/tools/ant/taskdefs/modules/{Jmod,Link}.java -} - -src_compile() { - export ANT_HOME="" - # Avoid error message that package ant-core was not found - export ANT_TASKS="none" - - local bsyscp - - # This ensures that when building ant with bootstrapped ant, - # only the source is used for resolving references, and not - # the classes in bootstrapped ant but jikes in kaffe has issues with this... - if ! java-pkg_current-vm-matches kaffe; then - bsyscp="-Dbuild.sysclasspath=ignore" - fi - - CLASSPATH="$(java-config -t)" ./build.sh ${bsyscp} jars dist-internal || - die "build failed" - - if use doc; then - # All Java packages imported by the source files need to present in - # the classpath, otherwise it would be https://bugs.gentoo.org/780531 - local doc_deps=( - bcel - bsf-2.3 - commons-logging - commons-net - jakarta-activation-api-1 - jakarta-oro-2.0 - jakarta-regexp-1.4 - jdepend - jsch - log4j-12-api-2 - javax-mail - sun-jai-bin - xalan - xml-commons-resolver - xz-java - ) - for dep in "${doc_deps[@]}"; do - java-pkg_jar-from --build-only --into lib/optional/ "${dep}" - done - # This file imports netrexx.lang.Rexx, which is not available - # from ::gentoo. Fortunately, there is not a dev-java/ant-* - # package for it, so even if we could generate documentation - # for it, it would be irrelevant - rm src/main/org/apache/tools/ant/taskdefs/optional/NetRexxC.java || - die "Failed to remove Java source file blocking Javadoc generation" - ./build.sh ${bsyscp} javadocs || die "Javadoc build failed" - fi -} - -src_install() { - dodir /usr/share/ant/lib - - for jar in ant.jar ant-bootstrap.jar ant-launcher.jar ; do - java-pkg_dojar build/lib/${jar} - dosym ../../${PN}/lib/${jar} /usr/share/ant/lib/${jar} - done - - dobin src/script/ant - - dodir /usr/share/${PN}/bin - for each in antRun antRun.pl runant.pl runant.py ; do - dobin "${S}/src/script/${each}" - dosym ../../../bin/${each} /usr/share/${PN}/bin/${each} - done - dosym ../${PN}/bin /usr/share/ant/bin - - insinto /usr/share/${PN} - doins -r dist/etc - dosym ../${PN}/etc /usr/share/ant/etc - - echo "ANT_HOME=\"${EPREFIX}/usr/share/ant\"" > "${T}/20ant" - doenvd "${T}/20ant" - - dodoc NOTICE README WHATSNEW KEYS - - if use doc; then - dodoc -r manual/* - java-pkg_dojavadoc --symlink manual/api build/javadocs - fi - - use source && java-pkg_dosrc src/main/* -} diff --git a/dev-java/ant/Manifest b/dev-java/ant/Manifest index 77c98c4ac071..278ca320c4da 100644 --- a/dev-java/ant/Manifest +++ b/dev-java/ant/Manifest @@ -6,6 +6,5 @@ AUX ant-1.10.14-LinkTest.patch 4329 BLAKE2B d4165d378dd63cab2a9d813c9d26c1ef7404 AUX ant-1.10.14-PathTest.patch 1114 BLAKE2B 870f35f250b4cd31317972c09f4a90eb26b71a8f198d1e96a085f99e0d6e41fd06c0598bcdae35c400aa8ba9b65e52b7dc0d7119308c60c8573a185907f2b7ba SHA512 9847fb3f6f3c2a37ac1e483ca7ac5685cc3d296b92ae35816fc4c58bb4de57d89196c50fabfa546efbec2303ea360066658507be0b4bdaeae3d5ff00e023f498 DIST apache-ant-1.10.14-src.tar.gz 4692736 BLAKE2B b07a2e61fecd4f10056ca2688615ccf02c551bba0f5749f50c2be710e90306e8044b7c557359300654d93971d94520e92f593da44b1c20626db4701d499cddff SHA512 435f97a276d88a86022c5f0680f3c2a16dc36be95adac3d797a2609d96921840a57393c8f5ef8313193146115bd6a87bd4790a4a272c44f7beec892fd6528c10 DIST apache-ant-1.10.14-src.tar.gz.asc 833 BLAKE2B d9a4b4b3cb22762f25b34651dc81c2f13af38e73fdca27bc2de562539cd8f1692744ac5ccf535a2c61d3035a129f30bafac133872f9ba0ed7b259393b0f4cdf6 SHA512 ff2e79c991f68a5c38c0b47556ca5f5301c1a8be219a9eddf8d2e17b09eed7f0426770c2dc18114ea432f0200ac824d71da633ad7881025692ce5ad4baa899ee -EBUILD ant-1.10.14-r2.ebuild 12955 BLAKE2B 89d15461574257fed1a8c5c4e0ebe4551c13b164a61a640c197faf552cae961240530ea65c190dc11f53a9b72fffcee4eaeffc557c9d2f1956f7408f9a136e3a SHA512 d713ff2d38ac8644ab95f7a3d971b5c1fdbcd0828fd567a7fa9d25b08c98014d321790e318f2f44f5db7b3ec5a86e6b6f5ef7bc88ca02b0751a5d46909195de7 -EBUILD ant-1.10.9.ebuild 1586 BLAKE2B d88da0b36e9dfb92586b1701f2535a96c1ec9857db67ed7c8d148f24f609c784dedec1820ee4dd3d69910d37455f82e1dd7eb5f95dc5535c96312d052b9bd77c SHA512 9df6451a03b308dac45fa8d11ea18c5ff842ec6da245f39a2804b9788877cac2af65088d833787bf51406841703bc5f0823bdf037358cdc6f0be21c89df2aec4 -MISC metadata.xml 1871 BLAKE2B 506545257db2a93e15fa3c36105453c6efa3c6505dff98d558bea9434637676df7fbf8a4db6e9a6fe04a54c913ad012226ce5e7eb682a8732f140fd6f676c194 SHA512 807240f5312ffa9c7ae789697c4f2ef481ec8819bd800eaa83639129f5bff16ab7c7e80cbe07a57c171faf5efa439c3d45d8e26514418c32ca1764e2c4163b36 +EBUILD ant-1.10.14-r3.ebuild 13056 BLAKE2B 10d9035afc8e89f418deafede5119eb1942eb40f13b88944ba85455fe0ba861a84b1fbeda703a838f1f7743672a5db9e46911c8f72f00f8f2d3957e8de801960 SHA512 9fdd8664f751c606cffc8836c7ea551a0b397ffe0b043556251ebaa3224b4b3a427095cf3ba53801ef6c4caa89627c89ff9df86816582d7805e08ac764eb748e +MISC metadata.xml 1928 BLAKE2B b48dbca1bf2ab76b0107466c68489722f4ceed5fa53f2a26d983dfd36c74efad96fce9f58d0e6bb5ba1e02d8e44135bcf96bd77b2db7491fd260da907c02fbab SHA512 9313f5e0914d9c64482c4897e659313480630316ca29b57190e976248a63a17b3c293198f82d4143bd25be0766cd4ce9556d2489d76adf74b0203a9dc4998726 diff --git a/dev-java/ant/ant-1.10.14-r2.ebuild b/dev-java/ant/ant-1.10.14-r3.ebuild index 9a6c7aacc165..d1d0486dd712 100644 --- a/dev-java/ant/ant-1.10.14-r2.ebuild +++ b/dev-java/ant/ant-1.10.14-r3.ebuild @@ -20,9 +20,9 @@ S="${WORKDIR}/apache-${P}" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="amd64 ~arm arm64 ppc64 x86" -IUSE="bcel bsf commonslogging commonsnet jai jakartamail javamail jdepend jsch junit junit4 - junitlauncher log4j oro regexp resolver testutil xalan xz" +KEYWORDS="amd64 ~arm arm64 ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="antlr bcel bsf commonslogging commonsnet imageio jai jakartamail javamail jdepend + jmf jsch junit junit4 junitlauncher log4j oro regexp resolver swing testutil xalan xz" # At least 10 test cases would fail without network PROPERTIES="test_network" @@ -71,9 +71,7 @@ DEPEND=" ) xz? ( dev-java/xz-java:0 ) " -PDEPEND="~dev-java/ant-core-${PV}:0" RDEPEND=" - !<dev-java/ant-core-1.10.14 !dev-java/ant-apache-regexp !dev-java/ant-apache-log4j !dev-java/ant-apache-xalan2 @@ -143,7 +141,7 @@ src_prepare() { eprefixify "src/script/ant" ANT_TASKS=( - ant-antlr # no dependencies + $(use antlr && echo ant-antlr) # no dependencies $(use bcel && echo ant-apache-bcel) $(use bsf && echo ant-apache-bsf) # REQUIRED_USE for tests $(use log4j && echo ant-apache-log4j) @@ -153,12 +151,12 @@ src_prepare() { $(use xalan && echo ant-apache-xalan2) $(use commonslogging && echo ant-commons-logging) $(use commonsnet && echo ant-commons-net) - ant-imageio # no dependencies + $(use imageio && echo ant-imageio) # no dependencies $(use jai && echo ant-jai) $(use jakartamail && echo ant-jakartamail) $(use javamail && echo ant-javamail) $(use jdepend && echo ant-jdepend) - ant-jmf # no dependencies + $(use jmf && echo ant-jmf) # no dependencies $(use jsch && echo ant-jsch) $(use junit && echo ant-junit) # REQUIRED_USE for junit4 and for testutil $(use junit4 && echo ant-junit4) @@ -167,7 +165,7 @@ src_prepare() { # available on https://www.netrexx.org/downloads.nsp and states: # "IBM's last NetRexx release, suitable for JVM versions 1.5 and below [...]" # $(use netrexx && echo ant-netrexx) # src/etc/poms/ant-netrexx/pom.xml - ant-swing # no dependencies + $(use swing && echo ant-swing) # no dependencies $(use testutil && echo ant-testutil) $(use xz && echo ant-xz) ) diff --git a/dev-java/ant/ant-1.10.9.ebuild b/dev-java/ant/ant-1.10.9.ebuild deleted file mode 100644 index e68c9948a493..000000000000 --- a/dev-java/ant/ant-1.10.9.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="Java-based build tool similar to 'make' that uses XML configuration files" -HOMEPAGE="https://ant.apache.org/" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" - -IUSE="X +antlr +bcel +bsf +commonslogging +commonsnet jai +javamail +jdepend jmf - +jsch +junit +junit4 +junitlauncher +log4j +oro +regexp +resolver swing testutil xz" - -DEPEND="~dev-java/ant-core-${PV}" - -RDEPEND="${DEPEND} - ~dev-java/ant-core-${PV} - ~dev-java/ant-junit-${PV} - ~dev-java/ant-apache-xalan2-${PV} - antlr? ( ~dev-java/ant-antlr-${PV} ) - bcel? ( ~dev-java/ant-apache-bcel-${PV} ) - bsf? ( ~dev-java/ant-apache-bsf-${PV} ) - commonslogging? ( ~dev-java/ant-commons-logging-${PV} ) - commonsnet? ( ~dev-java/ant-commons-net-${PV} ) - jai? ( ~dev-java/ant-jai-${PV} ) - javamail? ( ~dev-java/ant-javamail-${PV} ) - jdepend? ( ~dev-java/ant-jdepend-${PV} ) - jmf? ( ~dev-java/ant-jmf-${PV} ) - jsch? ( ~dev-java/ant-jsch-${PV} ) - junit? ( ~dev-java/ant-junit-${PV} ) - junit4? ( ~dev-java/ant-junit4-${PV} ) - junitlauncher? ( ~dev-java/ant-junitlauncher-${PV} ) - log4j? ( ~dev-java/ant-apache-log4j-${PV} ) - oro? ( ~dev-java/ant-apache-oro-${PV} ) - regexp? ( ~dev-java/ant-apache-regexp-${PV} ) - resolver? ( ~dev-java/ant-apache-resolver-${PV} ) - swing? ( ~dev-java/ant-swing-${PV} ) - testutil? ( ~dev-java/ant-testutil-${PV} ) - X? ( ~dev-java/ant-swing-${PV} ) - xz? ( ~dev-java/ant-xz-${PV} ) -" - -S="${WORKDIR}" - -src_compile() { :; } diff --git a/dev-java/ant/metadata.xml b/dev-java/ant/metadata.xml index fbae5fba582e..1c03ec86e251 100644 --- a/dev-java/ant/metadata.xml +++ b/dev-java/ant/metadata.xml @@ -12,6 +12,7 @@ (<pkg>dev-java/bsf</pkg>)</flag> <flag name="commonslogging">Enable commons-logging Ant tasks</flag> <flag name="commonsnet">Enable commons-net Ant tasks</flag> + <flag name="imageio">Enable imageio Ant tasks</flag> <flag name="jai">Enable JAI (Java Imaging) Ant task</flag> <flag name="jakartamail">Enable Jakartamail Ant task</flag> <flag name="javamail">Enable JavaMail Ant task</flag> diff --git a/dev-java/apache-rat/Manifest b/dev-java/apache-rat/Manifest index 9d8491cd6cff..63ef4a083f2a 100644 --- a/dev-java/apache-rat/Manifest +++ b/dev-java/apache-rat/Manifest @@ -2,5 +2,4 @@ AUX apache-rat-0.15-fix-tests.patch 1751 BLAKE2B b4c55855c289db6c9f43dc5e5d28fc5 DIST apache-rat-0.15-src.tar.bz2 203040 BLAKE2B 0727fb932cfbab7080eba5115bee69e5c46155a231509109a5c7aecf40ed539d4357f2d9b31342717306221891e4a411e01077ae55a0988abe4926e40f1fafc4 SHA512 7f9fb219a5ce0b95909f006140b20e7621d9f5ce583c42a57e2783ec40fd842e75b546843ab033a99bf5108d0d8369a0ab1aac80e33af9685f651fed3dd603ee DIST apache-rat-0.15-src.tar.bz2.asc 833 BLAKE2B b87e059a5a83d3d728c28c25926129743fdfb6a5c7cf2e258892d86711e7f5890d140ca1cfa5fc1012d56b6321ec2c93903ec30854bd3536216c8f1fd269f504 SHA512 f5abcb3df5d23834deab8c3c1a476100324452cba88e9185fb398dd6118c3c8ff8dc00c4c9f8166245833d6e602c51bc8cdf20361813bbe1e720022766412b8d EBUILD apache-rat-0.15-r1.ebuild 2961 BLAKE2B 8cccc9a85a9d60645c2ce5ac7785267f92425ccaa63f7c2d7993341c06eebea8652caeebfa1648950dc00d771dc84144b47484550b8e036256dcbeb52d5f6854 SHA512 8f9d589aa4a776e45ad9472beac82b63cb5f68af4f40f384aaef16f27f9cac162164cce7f251cdbe53a9772ea7fc4a91df1120df95ed173474a95a159899c78a -EBUILD apache-rat-0.15.ebuild 3348 BLAKE2B ac1deecf106f5fac049b5abf7ea17aee0a472ccbb45e6e39f3bbc8d9ff69d4bd8a6c52515c1653cfc3f6a02751d7b8bf98d8d5aa20e34266f61a053794d969ed SHA512 e881328a8061367fce6fda69b3894513d26cc302283dc8350d8f316962059820c11d2afbaa3ed6fe67f99d54395be9520f2f11d0467325ca6512d0e2c1ef80c5 MISC metadata.xml 320 BLAKE2B 9451f2f8ba85ed8d1fba22da8fa3c905d4079c068d5e6e16af4296b5789b6ea2e2cdcf1d63ec5e275ede7b34ff49ff3bd41680a0bdda238ceb0d56103ef8f5fd SHA512 190d5b038f8962873e882f89d25f7532ad7c6144e6d8ea1337d7daaf1243d140fa98b6cde1604e138637b0eb50ae613097a23e6048291f275e0e6ec894360a50 diff --git a/dev-java/apache-rat/apache-rat-0.15.ebuild b/dev-java/apache-rat/apache-rat-0.15.ebuild deleted file mode 100644 index 278f8ba410cf..000000000000 --- a/dev-java/apache-rat/apache-rat-0.15.ebuild +++ /dev/null @@ -1,116 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# javadoc is broken for java 17, see https://bugs.gentoo.org/914458 -JAVA_PKG_IUSE="doc source test" -MAVEN_PROVIDES=" - org.apache.rat:apache-rat-core:${PV} - org.apache.rat:apache-rat-tasks:${PV} -" -JAVA_TESTING_FRAMEWORKS="junit-4" - -inherit java-pkg-2 java-pkg-simple verify-sig - -DESCRIPTION="Apache Rat is a release audit tool, focused on licenses" -HOMEPAGE="https://creadur.apache.org/rat/" -SRC_URI="mirror://apache//creadur/${P}/${P}-src.tar.bz2 - verify-sig? ( https://archive.apache.org/dist/creadur/${P}/${P}-src.tar.bz2.asc )" -S="${WORKDIR}/${P}" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 x86" - -CP_DEPEND=" - dev-java/ant-core:0 - dev-java/commons-cli:1 - dev-java/commons-collections:4 - dev-java/commons-compress:0 - dev-java/commons-io:1 - dev-java/commons-lang:3.6 -" - -DEPEND="${CP_DEPEND} - >=virtual/jdk-1.8:* - test? ( dev-java/ant-testutil:0 )" -RDEPEND="${CP_DEPEND} - >=virtual/jre-1.8:*" - -BDEPEND="verify-sig? ( sec-keys/openpgp-keys-apache-creadur )" -VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/openpgp-keys/creadur.apache.org.asc" - -DOCS=( NOTICE README.md README.txt RELEASE-NOTES.txt RELEASE_NOTES.txt ) - -PATCHES=( "${FILESDIR}/apache-rat-0.15-fix-tests.patch" ) - -src_prepare() { - default #780585 - java-pkg-2_src_prepare -} - -src_compile() { - einfo "Compiling apache-rat-core.jar" - JAVA_JAR_FILENAME="${PN}-core.jar" - JAVA_RESOURCE_DIRS="${PN}-core/src/main/resources" - JAVA_SRC_DIR="${PN}-core/src/main/java" - java-pkg-simple_src_compile - JAVA_GENTOO_CLASSPATH_EXTRA+=":${PN}-core.jar" - rm -r target || die - - einfo "Compiling apache-rat-tasks.jar" - JAVA_JAR_FILENAME="${PN}-tasks.jar" - JAVA_RESOURCE_DIRS="${PN}-tasks/src/main/resources" - JAVA_SRC_DIR="${PN}-tasks/src/main/java" - java-pkg-simple_src_compile - JAVA_GENTOO_CLASSPATH_EXTRA+=":${PN}-tasks.jar" - rm -r target || die - - # javadoc is broken for java 17, see https://bugs.gentoo.org/914458 - if use doc; then - einfo "Compiling javadocs" - ejavadoc \ - -verbose \ - -classpath "$(java-pkg_getjars \ - --build-only ant-core)":"$(java-pkg_getjars \ - --build-only commons-cli-1)":"$(java-pkg_getjars \ - --build-only commons-collections-4)":"$(java-pkg_getjars \ - --build-only commons-compress):$(java-pkg_getjars \ - --build-only commons-io-1):$(java-pkg_getjars \ - --build-only commons-lang-3.6)" \ - -sourcepath "${PN}-core/src/main/java:${PN}-tasks/src/main/java" \ - -d javadoc -subpackages org.apache.rat org.apache.rat.anttasks - fi -} - -src_test() { - JAVA_TEST_GENTOO_CLASSPATH="ant-testutil,junit-4" - - einfo "Testing apache-rat-core" - cp -r "${PN}"-core/src/{main,test} src || die - JAVA_TEST_RESOURCE_DIRS="src/test/resources" - JAVA_TEST_SRC_DIR="src/test/java" - java-pkg-simple_src_test - rm -r src/{main,test} || die - - einfo "Testing apache-rat-tasks" - cp -r "${PN}"-tasks/src/{main,test} src || die - mkdir -p target/it-sources || die - JAVA_TEST_RESOURCE_DIRS="src/test/resources" - JAVA_TEST_SRC_DIR="src/test/java" - java-pkg-simple_src_test -} - -src_install() { - java-pkg_dojar "${PN}-core.jar" - java-pkg_dojar "${PN}-tasks.jar" - java-pkg_dolauncher "${PN}" --main org.apache.rat.Report - - use doc && java-pkg_dojavadoc javadoc - - if use source; then - java-pkg_dosrc "${PN}-core/src/main/java/*" - java-pkg_dosrc "${PN}-tasks/src/main/java/*" - fi -} diff --git a/dev-java/commons-httpclient/Manifest b/dev-java/commons-httpclient/Manifest index 61b3c49af902..ec3075e4b8b2 100644 --- a/dev-java/commons-httpclient/Manifest +++ b/dev-java/commons-httpclient/Manifest @@ -1,6 +1,5 @@ AUX commons-httpclient-3.1-SSLProtocolSocketFactory.java.patch 12404 BLAKE2B 294ef11924310e2e63865018843faf199521f619e0859cc2c857d8a9fb038fbc44d88b06cf2df44b05cc6891c9e9d1bba5898071a873fc0dd774427afb0a2de2 SHA512 af18eeb48d8da55fc63526a528b88f626d9fad2369a6a8f570fe2dfee76384a5d86a9bab4883e557a1acd0a866859c4bd075476f9cfaff8e8465de6db0f2848d DIST commons-httpclient-3.1-src.tar.gz 1882664 BLAKE2B ccf96bedad09011ee20eae38aae1fdfdd6fea5a8226f4b4d156762080c286c71b34c149035abfd61e70c55a1de84ab3cd38d73c3228f591dd8e16c0a7e79c3a5 SHA512 e73ceeba3f34a35c30b24a3c6cb8dfc2102ff21079a5ff9270935908cb2f707d366c2f31a53fbdafa99673cc2b82e05470a2bf40d96767c72b2ab037c0f55490 DIST commons-httpclient-3.1-src.tar.gz.asc 189 BLAKE2B 44661748db96429682a82d8dba5ad71d0d1fc2aaf03e2f1dda059985757547a78ab04dff38863ca421e65d13100a68c8cb909ed4c34e0a66a837b6fdb91baf63 SHA512 3832c90048de4db1f96efecd2f467153f0bdce1ebd533b848b8fc78a92da0bba3ba8bb3447e6c8d34f4c1c731a5b41ab941754a1509728ff4ea96e238927ab09 -EBUILD commons-httpclient-3.1-r2.ebuild 1709 BLAKE2B 73b08779a549b7f3ba8e5961e9db672aa69ebdd89e7998f389763fe8c70a57f40ec8bd83b343f17670e1934038a4699ae443451071b4b24f21ff6b33118dbbc5 SHA512 9b5a9f39c2e2856e1778cb04db68d12211d1d0bd789f94d7ac3dfb5eeec1803d5ede3b93087a0af092824fea3e916aad5d05b3e606c02e2994318cdac615d4a0 -EBUILD commons-httpclient-3.1-r3.ebuild 1409 BLAKE2B 505ad536271494ab931cde46e76cf6f76bc0fb5dfa69eea004a22706124dbfea73b760d4206d521684b9ff1ffbf4dccb895896a832992230e53c0bd40794b0a0 SHA512 ed84e4b769ef682fcb1b4ac1530cb5819b8b7e243ca624a99e027cd8d6a49b4ad193860715d7c4c0a2a3e039e64f35bd77b470a10523b3a1e2a6bd8eadc958c5 +EBUILD commons-httpclient-3.1-r3.ebuild 1433 BLAKE2B 035dae2cbf5dfa6ae6815e3770f4c8e548b7930835acce6d0a7ba40ea2d9201de02872660c002020188ec85fc10b5bb03576a58d7b0dc60e0ff77f86a5a89226 SHA512 a86d11b7eac91ef6062ed73fa67f4e227891b0600d1bf1e1fdf3f69efd46655bff510ddab006a3fef6aa0a6edc354f64f66a81db921df5b4a2e2c5b36cb1e2df MISC metadata.xml 457 BLAKE2B aa9b78ee94c6ac0cd435c142183612524e588138764dcf4ea6b2474925f5238983ebbcf75ba32d78e42b62f3751e042785291f00cd9a6453c9711b4110ce04a5 SHA512 46da6fef35f122be653de8ff6f87048475dae83e8853a05210e403f239ce3823caafca0e26aa503377ccfd9c5616f4f69d4d3b483b9adb7b512351d85be5f531 diff --git a/dev-java/commons-httpclient/commons-httpclient-3.1-r2.ebuild b/dev-java/commons-httpclient/commons-httpclient-3.1-r2.ebuild deleted file mode 100644 index 6e82213d770d..000000000000 --- a/dev-java/commons-httpclient/commons-httpclient-3.1-r2.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -JAVA_PKG_IUSE="doc examples source test" -MAVEN_ID="commons-httpclient:commons-httpclient:3.1" - -inherit java-pkg-2 java-ant-2 - -DESCRIPTION="The Jakarta Commons HttpClient library" -HOMEPAGE="https://hc.apache.org/httpclient-legacy/" -SRC_URI="mirror://apache/httpcomponents/${PN}/source/${P}-src.tar.gz" -LICENSE="Apache-2.0" -SLOT="3" -KEYWORDS="amd64 ~arm arm64 ppc64 x86 ~amd64-linux ~x86-linux" -IUSE="" - -# doesn't work with IBM JDK, bug #176133 -RESTRICT="test" - -CDEPEND="dev-java/commons-logging:0 - dev-java/commons-codec:0" -RDEPEND=">=virtual/jre-1.8:* - ${CDEPEND}" -DEPEND=">=virtual/jdk-1.8:* - test? ( dev-java/ant-junit:0 ) - ${CDEPEND}" - -JAVA_ANT_ENCODING="ISO-8859-1" -JAVA_ANT_REWRITE_CLASSPATH="true" -EANT_GENTOO_CLASSPATH="commons-logging,commons-codec" -EANT_BUILD_TARGET="dist" -EANT_DOC_TARGET="doc" - -# patch against CVE-2012-{5783,6153}. See bug 442292. -PATCHES=( - "${FILESDIR}/${P}-SSLProtocolSocketFactory.java.patch" -) - -src_prepare() { - default - - # generated docs go into docs/api - rm -rf docs/apidocs - - # remove javadoc task from compile task - sed -i -e 's/depends="compile,doc"/depends="compile"/' build.xml || die - sed -i -e '/link/ d' build.xml || die - - mkdir lib && cd lib - java-pkg_filter-compiler jikes -} - -EANT_TEST_GENTOO_CLASSPATH="${EANT_GENTOO_CLASSPATH},junit" -EANT_TEST_TARGET="test" - -src_install() { - java-pkg_dojar dist/${PN}.jar - - # contains both html docs and javadoc in correct subdir - if use doc ; then - java-pkg_dojavadoc dist/docs/api - java-pkg_dohtml -r dist/docs/* - fi - use source && java-pkg_dosrc src/java/* - use examples && java-pkg_doexamples src/examples -} diff --git a/dev-java/commons-httpclient/commons-httpclient-3.1-r3.ebuild b/dev-java/commons-httpclient/commons-httpclient-3.1-r3.ebuild index f18caf90421b..c0053b42b61e 100644 --- a/dev-java/commons-httpclient/commons-httpclient-3.1-r3.ebuild +++ b/dev-java/commons-httpclient/commons-httpclient-3.1-r3.ebuild @@ -17,7 +17,7 @@ S="${WORKDIR}/${P}" LICENSE="Apache-2.0" SLOT="3" -KEYWORDS="amd64 ~arm arm64 ppc64 x86" +KEYWORDS="amd64 ~arm arm64 ppc64 x86 ~amd64-linux ~x86-linux" # Tests run: 2036, Failures: 91 RESTRICT="test" diff --git a/dev-java/cpptasks/Manifest b/dev-java/cpptasks/Manifest index 5d6cdac5d495..a7d2547b59ca 100644 --- a/dev-java/cpptasks/Manifest +++ b/dev-java/cpptasks/Manifest @@ -1,5 +1,4 @@ AUX cpptasks-1.0_beta5-test-classpath.patch 1070 BLAKE2B eacc916610026d4eb25fe7a217ce23e6ca485400e9f90c8ac37a4fb614fd0ac59d622161f79854b664db0e1cc48d047655479d817fcade448952d4c231d33860 SHA512 4ce1d06f6cb1a32ff8807f9e9ad8deddef26d4ea6ed6b2826d80e3ca16c491ecefb0c850ad9a958fdae3cdbd764852ab3a5f0ad66464b928f4c12061e3cb3e73 DIST cpptasks-1.0b5.tar.gz 902930 BLAKE2B 02cc20ea8e4316f7d0572cd147868219f1cfa326fd87d2edbea8a9b81c88f83173a373a88149bc2da55099bb9a0ac4d1f8927a6c708e6a5640b56220dbdba006 SHA512 620d16e60cdd4d8a09efe6c5889ec1beb20d38df3a7ebf337de546cd60881b4c22a08f24374e7dac02dbbb3b23defbb740a70f1d0ff59212496e631251f0e32c -EBUILD cpptasks-1.0_beta5-r1.ebuild 1302 BLAKE2B ae0c062ef9ccbcb1c9af7ad35cd31a48e5c925d1dc7a2557d3cd2eff4ecabcaf0b052d181ed0f5810a3cd6ed1aa97daa3e273ed9f0212e4477c3b97d0978111e SHA512 e194312ce4f012548907e6d95d65eb261fe2d3a5f92fcaa68cd1bd76ce340ab04d485c156e79bdc59d975ddbdd375c5a3575fa1e9fe85ab0d8505764677d804d EBUILD cpptasks-1.0_beta5-r2.ebuild 1319 BLAKE2B f6bdc7f9c5f83b69c05f2412676c4c8192343b3bf95df3c788a331c7bf8cf0f389c916389da801ad4d8caa5c934b0b8cd568e1ba21dc6fb194b89317c1564b23 SHA512 073e4dfab1b0729b7ee11ce7cd84998b712dfe0881ac9baac1de7403ce9b0b565ac64b5675c4af7b909b85f93b81ae5b278a3913e5fd3a1b3938772b7a3dfb95 MISC metadata.xml 318 BLAKE2B 53f5719585c7a4f0479017c4410975aefadcedd17db45949c351329e28761f05ebd89ef0557505a9a3ae03967b9baefe3e2c5b1edf0116a10434755a8d76fbe3 SHA512 b89f13a465ae0f1cad3352319206dc922badf513f63af878b118577e1f6da322b824dd14ca9220cf10aa5c5463c30399f001395a36c45c3b69228a375be379ee diff --git a/dev-java/cpptasks/cpptasks-1.0_beta5-r1.ebuild b/dev-java/cpptasks/cpptasks-1.0_beta5-r1.ebuild deleted file mode 100644 index 38a0c3f54a50..000000000000 --- a/dev-java/cpptasks/cpptasks-1.0_beta5-r1.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -JAVA_PKG_IUSE="doc examples source test" - -inherit java-pkg-2 java-ant-2 - -DESCRIPTION="Ant-tasks to compile various source languages and produce executables" -HOMEPAGE="http://ant-contrib.sourceforge.net/" -SRC_URI="mirror://sourceforge/ant-contrib/ant-contrib/${P/_/-}/${P/_beta/b}.tar.gz" -S="${WORKDIR}/${P/_beta/b}" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ppc64 x86" - -CP_DEPEND=" - dev-java/ant-core:0 - dev-java/xerces:2 -" - -DEPEND=" - >=virtual/jdk-1.8:* - ${CP_DEPEND} - test? ( - dev-java/ant-junit:0 - dev-java/junit:0 - ) -" - -RDEPEND=" - >=virtual/jre-1.8:* - ${CP_DEPEND} -" - -JAVA_ANT_REWRITE_CLASSPATH="yes" -JAVA_ANT_CLASSPATH_TAGS="javac javadoc" - -EANT_BUILD_TARGET="jars" -EANT_TEST_TARGET="run-tests -Djunit-available=true" -EANT_DOC_TARGET="javadocs -Dbuild.javadocs=build/api" - -src_prepare() { - java-pkg_clean - use test && eapply "${FILESDIR}/${P}-test-classpath.patch" - java-pkg-2_src_prepare -} - -src_test() { - java-pkg-2_src_test -} - -src_install() { - java-pkg_dojar target/lib/${PN}.jar - - java-pkg_register-ant-task - - dodoc NOTICE - use doc && java-pkg_dojavadoc build/api - use examples && java-pkg_doexamples src/samples/* - use source && java-pkg_dosrc src/main/java/* -} diff --git a/dev-java/javacc/Manifest b/dev-java/javacc/Manifest index 355c03eebe60..f7d9ab04492f 100644 --- a/dev-java/javacc/Manifest +++ b/dev-java/javacc/Manifest @@ -1,5 +1,4 @@ AUX javacc-4.0-javadoc.patch 420 BLAKE2B 8f26c37e26f8967cf527a6f7f4b6c5396bffb5cde4cf9aad292217d41e614800cac438b92971e0c942f71ace4f551db30bae873e83ecdcf2ee7940153fca50bf SHA512 e20554696a27137b7f9c086f7d8c4854742fa1e14ad84e2157cecebdc65f2fb6726a0eaaff7bf3f1113a6fade51c5825b86641b61b917a4fcdd96663a8830438 DIST javacc-5.0src.tar.gz 810123 BLAKE2B 6833e79a33c7ae8b28902d1c372162a2f9e326629f0d4c1936a8c3638d3aa3f6bd5713aca8398ba5f1ff963fe585eb683fcd3009602ee592ba79692c8ba0f3d6 SHA512 91896a0affac1c4fd00a093a731dfd02bda548d1a4d83e1077ed36a67f4f9deab0ce9f2d0212fd4c08ab00065d3029533adbafbc026a22ca071285093bd3bba6 -EBUILD javacc-5.0-r4.ebuild 1414 BLAKE2B 71b2f49568204c15af879bbed88c0c887f7c77e2439928e2b337baa35f278ac1ed8a6b88e0c1726220908043d4d50568b9c47d6059659f0a0ed02be4584690cc SHA512 2a9ce39a8d89771dafd05fe269ac64dc868b7069ccfcacf7d8b931d6cca888ae43bbc6c57d1ee7db6509cad96bc8274e8b3026e44bb41731bc0f2cfe472ca49a -EBUILD javacc-5.0-r5.ebuild 1387 BLAKE2B cf54b4f3e7fe529a423e85d66de6c309331bc99b6170784609bb6d8b8d6eda0ff1b44371af0d510dca79bf44f806703a7434e72a19f0837315cd7f1fe82a53fa SHA512 9c8e5d47b8af56f196e6649652195ee2f34ae685f2462ae5c1a358eb07354dbd7108848cbbf7e4a2c13e298e344e48cb2185d9cda21ea9407c504f2f26bd8789 +EBUILD javacc-5.0-r5.ebuild 1433 BLAKE2B 275060ccbf5ac28d7ca810d304461ea387dd6e6698cc178804a6b580d12fc9ddeb105f6d6cf385cd0b968b472cecfbdf800d30147c311bf66122df8e49fdfa60 SHA512 920a971a51aedcbbf34885d89657e3032078d5d61bb329db53b16e80a8ea0a8087ba715238b2c0acabfd8b1bd56aeed4d3a2d28e973db44731548ccf51ae3125 MISC metadata.xml 233 BLAKE2B 2b385ca77219f08b2874b3a4a91a0c836d3cb45ec44b05babb33d590c56ceb5337ecb93a8450a37f8e6bbf4cfc1455892e8142d22e0a1d527d40361e2dce350b SHA512 1acc975a7dc3344bc63282d652ca00d8245970b58353b4fd00f09a4859db3eaba2dcd85e1537d424b7174e4f9c01c2ffb10ec6d107b5c895c9ca20730666de7f diff --git a/dev-java/javacc/javacc-5.0-r4.ebuild b/dev-java/javacc/javacc-5.0-r4.ebuild deleted file mode 100644 index f63c12eccf55..000000000000 --- a/dev-java/javacc/javacc-5.0-r4.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -JAVA_PKG_IUSE="doc examples source test" - -inherit java-pkg-2 java-ant-2 - -DESCRIPTION="Java Compiler Compiler - The Java Parser Generator" -HOMEPAGE="https://javacc.github.io/javacc/" -SRC_URI="http://java.net/projects/${PN}/downloads/download/${P}src.tar.gz" - -LICENSE="BSD" -SLOT="0" - -KEYWORDS="amd64 ~arm arm64 ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" - -CDEPEND="dev-java/junit:0" - -RDEPEND=" - ${CDEPEND} - >=virtual/jre-1.8:*" - -DEPEND=" - ${CDEPEND} - >=virtual/jdk-1.8:* - test? ( dev-java/ant-junit:0 )" - -S="${WORKDIR}/${PN}" - -PATCHES=( - "${FILESDIR}"/${PN}-4.0-javadoc.patch -) - -JAVA_ANT_REWRITE_CLASSPATH="yes" -JAVA_ANT_CLASSPATH_TAGS+=" javadoc" - -EANT_GENTOO_CLASSPATH="junit" - -src_prepare() { - default - - rm -v lib/junit*/*.jar || die -} - -src_test() { - java-pkg-2_src_test -} - -src_install() { - java-pkg_dojar "bin/lib/${PN}.jar" - - if use doc; then - java-pkg_dohtml -r www/* - java-pkg_dojavadoc doc/api - fi - - use examples && java-pkg_doexamples examples - use source && java-pkg_dosrc src/* - - echo "JAVACC_HOME=${EPREFIX}/usr/share/javacc/" > "${T}"/22javacc || die - doenvd "${T}"/22javacc - - echo "export VERSION=${PV}" > "${T}"/pre || die - - local launcher - for launcher in javacc jjdoc jjtree; do - java-pkg_dolauncher ${launcher} -pre "${T}"/pre --main ${launcher} - done - - einstalldocs -} diff --git a/dev-java/javacc/javacc-5.0-r5.ebuild b/dev-java/javacc/javacc-5.0-r5.ebuild index e0d97089ffc3..6df77f9fca66 100644 --- a/dev-java/javacc/javacc-5.0-r5.ebuild +++ b/dev-java/javacc/javacc-5.0-r5.ebuild @@ -14,7 +14,7 @@ SRC_URI="http://java.net/projects/${PN}/downloads/download/${P}src.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 ~arm arm64 ppc64 x86" +KEYWORDS="amd64 ~arm arm64 ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" CDEPEND="dev-java/junit:0" diff --git a/dev-java/snappy/Manifest b/dev-java/snappy/Manifest index b070ff96aae5..0b6a1e7dccd2 100644 --- a/dev-java/snappy/Manifest +++ b/dev-java/snappy/Manifest @@ -7,5 +7,4 @@ AUX snappy-1.1.10.5-SnappyOutputStreamTest.patch 1215 BLAKE2B 34005766546b28012f DIST hadoop-common-3.3.5.jar 4535144 BLAKE2B 66582661a1832cc54493fc9dcea9076eb0e3f4e974a7d24d593e8fff2b9e2a3a82ed6eb4587f23523473aecc35d2a15de2ad81b2617c1bdac50847149cdeb6a8 SHA512 f1fb439a5853b04e9e771ec4e80e1ed078494ecfaa741abe065936fc1c26b5369fdd4e8082f4da59c1a3a7a5c025beaa14a68c38dc772e81499f83a3cb91717b DIST snappy-1.1.10.5.tar.gz 3917442 BLAKE2B 0632fa7ba4d0a863801e88ced22098c3bc228c1f3e188c67cb9ff62807f9454b580b49fff15c7deee1e790db51f4664c50a6546259439eda18597097a5128329 SHA512 f84778f59635eb97c0072489766904a16208be4f41b28151b14eecd0fe84f3f04a44c18d452b9d79e752b22d5e5b9ab5b36064cc8aeec8de655d7635132093ea EBUILD snappy-1.1.10.5-r1.ebuild 2926 BLAKE2B 78c575879bf9a592ee7b77b7590dd763fbc64aa8a14b73f52eca9302b17df9ba60559d71eff5a659cc30d874bd82564e2137f41670e93179d1fa452a2f0cc5df SHA512 5183f238892d1fe9ad8733e7bd0c478ea4732594f46c70af6bc0da04fa4b3b7cf933365989a244a9334f97d1129b3d0c47ba881db0a81b58ce9f2ccc9e17f26b -EBUILD snappy-1.1.10.5.ebuild 2915 BLAKE2B 789ae836022ac3430754a204ed4eba3559bf33f59cd8547b625180f1f24eb73ee1dfa87a324077be4af1d40e0234c3c6a667d7ee9b048ac5a78f9da5978e4bb0 SHA512 b9c0374c40592c2cda78fce8984a7e3b12f9d6f3b564206b7c939805806deb5d54a03db6f47d7159f2f28c491f205d72daacb5537ad1b96b4ab7744d7a66e2dc MISC metadata.xml 320 BLAKE2B 5e3039edeec0b66e6b896158777909fdfed881f06def61b5e3424baeb51ea898cb3cb273e6ddc939b7efea88860a945b5f29da513be22ee6b601551a6e02170a SHA512 c2e9282ce950b419588d080145e85e63e6491500edce141678a4aaae65a43d945694ad992dd4d485c94748e26ac225e58177fcff11db3430035b837741ec45af diff --git a/dev-java/snappy/snappy-1.1.10.5.ebuild b/dev-java/snappy/snappy-1.1.10.5.ebuild deleted file mode 100644 index 9f690d9c4df7..000000000000 --- a/dev-java/snappy/snappy-1.1.10.5.ebuild +++ /dev/null @@ -1,125 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -JAVA_PKG_IUSE="doc source test" -MAVEN_ID="org.xerial.snappy:snappy-java:${PV}" -JAVA_TESTING_FRAMEWORKS="junit-4" - -inherit java-pkg-2 java-pkg-simple toolchain-funcs check-reqs - -DESCRIPTION="Snappy compressor/decompressor for Java" -HOMEPAGE="https://github.com/xerial/snappy-java/" -# ::gentoo does not have hadoop-common packaged. Currently we bundle the binary version. -# It's used for testing only and does not get installed. -HCV="3.3.5" -SRC_URI="https://github.com/xerial/snappy-java/archive/v${PV}.tar.gz -> ${P}.tar.gz - test? ( https://repo1.maven.org/maven2/org/apache/hadoop/hadoop-common/${HCV}/hadoop-common-${HCV}.jar )" -S="${WORKDIR}/snappy-java-${PV}" - -LICENSE="Apache-2.0" -SLOT="1.1" -KEYWORDS="amd64 ~arm arm64 ppc64 x86" - -CP_DEPEND="dev-java/osgi-core:0" - -CDEPEND=" - app-arch/snappy - dev-libs/bitshuffle -" - -DEPEND=">=virtual/jdk-1.8:* - ${CP_DEPEND} - ${CDEPEND} - test? ( - dev-java/ant-junit4:0 - dev-java/commons-io:1 - dev-java/commons-lang:3.6 - dev-java/plexus-classworlds:0 - dev-java/xerial-core:0 - )" - -RDEPEND=">=virtual/jre-1.8:* - ${CP_DEPEND} - ${CDEPEND}" - -PATCHES=( - "${FILESDIR}/1.1.7.8-java-version-target.patch" - "${FILESDIR}/snappy-1.1.10.1-unbundle-snappy.patch" - "${FILESDIR}/1.1.7.8-unbundle-bitshuffle.patch" - "${FILESDIR}/1.1.7.8-gentoo.patch" - "${FILESDIR}/snappy-1.1.10.5-SnappyOutputStreamTest.patch" - "${FILESDIR}/snappy-1.1.10.1-commons-lang3.patch" -) - -JAVA_RESOURCE_DIRS="src/main/resources" -JAVA_SRC_DIR="src/main/java" - -JAVA_TEST_GENTOO_CLASSPATH=" - commons-io-1 - commons-lang-3.6 - junit-4 - plexus-classworlds - xerial-core -" -JAVA_TEST_RESOURCE_DIRS="src/test/resources" -JAVA_TEST_SRC_DIR="src/test/java" - -check_env() { - if use test; then - # this is needed only for tests - CHECKREQS_MEMORY="2560M" - check-reqs_pkg_pretend - fi -} - -pkg_pretend() { - check_env -} - -pkg_setup() { - check_env - java-pkg-2_pkg_setup -} - -src_prepare() { - default - java-pkg-2_src_prepare - # remove pre-compiled sofiles - rm -r src/main/resources/org/xerial/snappy/native || die - rm -r src/test/resources/lib || die -} - -src_compile() { - emake \ - CXX="$(tc-getCXX)" \ - JAVA_SOURCE="$(java-pkg_get-source)" \ - JAVA_TARGET="$(java-pkg_get-target)" - - java-pkg-simple_src_compile -} - -src_test() { - JAVA_GENTOO_CLASSPATH_EXTRA="${DISTDIR}/hadoop-common-${HCV}.jar" - JAVA_TEST_EXTRA_ARGS=( -Xmx${CHECKREQS_MEMORY} ) - local vm_version="$(java-config -g PROVIDES_VERSION)" - if ver_test "${vm_version}" -ge 17; then - java-pkg-simple_src_test - else - einfo "Tests need jdk-17 to pass." - fi -} - -src_install() { - java-pkg-simple_src_install - - local jniext=.so - if [[ ${CHOST} == *-darwin* ]] ; then - jniext=.jnilib - # avoid install_name check failure - install_name_tool -id "@loader_path/libsnappyjava${jniext}" \ - "target/libsnappyjava${jniext}" - fi - java-pkg_doso "target/libsnappyjava${jniext}" -} diff --git a/dev-java/xmlunit/Manifest b/dev-java/xmlunit/Manifest index a868ad5aaa6d..dbbbe6021c0c 100644 --- a/dev-java/xmlunit/Manifest +++ b/dev-java/xmlunit/Manifest @@ -1,4 +1,3 @@ DIST xmlunit-1.6-src.zip 830899 BLAKE2B 74bc5238667444fac0a6780090a76cf9c2a6fa4f0536bdde36858190cbd0528873b14b5ee05e098840be1b01e0ccfa3d2243ef63f92dae6cbfef1d84732f1f33 SHA512 a7d15905d959ab5bfeb1807c80eab3e0aa58d501a2136335961da842b9571b95b4aab18189e9a21e59afac960ea83f9a2d32e3af398f63c0f839587b60b9f96b -EBUILD xmlunit-1.6-r1.ebuild 1254 BLAKE2B eaf9f1ef3a4be14c59193fbae95b2fb88e4be48444c512acff67adfe0d95126a092ce676e9300f5c00657f203182db752912924e60727d471e6e8c8c86d563b1 SHA512 ab660a8f6d0c159b0359f80dbb532bbf83f09b328d141d9745cad3c5df76df6e316dec703be5022b3ca560b7c6df531d3aebb81f2c60469b7fd6f20665006688 EBUILD xmlunit-1.6-r2.ebuild 1055 BLAKE2B 7febbe2208ee6ba0038f6094c413d0202c516fd7bc0cddb51bde23a443b902b1581af9a744539eecaf652498a5ddd50daeeca69b37a5d83ab57cea190ebeef68 SHA512 fffb654c5ac1136745b562cfec1fc2cf41bcaabf0a0ee1258583bb250bd42fb7a28aada0a721c4e3f6b5c683ceaa9eebf5289534c01ea257372a9f50654e021d MISC metadata.xml 314 BLAKE2B 163bb6e09dcedea6c61c6d6c433b282f69bb76d13623e3386d5068be39db821005028b3dc03b44ae4be8966a57a8ab39a5c241b950ef2267f5c5c63b058c3edf SHA512 8041ce046f9cee5f27744e7d8c39aa39aa82e3e37502b4702b50957bab45560c2da3c4af9ba7c7cd1b0ede5ec464f707c1394c7844fd3d46aeaf69ca5714f1b3 diff --git a/dev-java/xmlunit/xmlunit-1.6-r1.ebuild b/dev-java/xmlunit/xmlunit-1.6-r1.ebuild deleted file mode 100644 index 5f464a7ad02a..000000000000 --- a/dev-java/xmlunit/xmlunit-1.6-r1.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -JAVA_PKG_IUSE="doc source test" -MAVEN_ID="xmlunit:xmlunit:1.6" - -inherit java-pkg-2 java-ant-2 - -DESCRIPTION="XMLUnit extends JUnit and NUnit to enable unit testing of XML" -HOMEPAGE="https://sourceforge.net/projects/xmlunit/ https://www.xmlunit.org" -SRC_URI="mirror://sourceforge/project/xmlunit/xmlunit%20for%20Java/XMLUnit%20for%20Java%20${PV}/${P}-src.zip" - -LICENSE="BSD" -SLOT="1" -KEYWORDS="amd64 ~arm64 ppc64 x86" - -CDEPEND="dev-java/junit:0" - -DEPEND=">=virtual/jdk-1.8:* - app-arch/unzip:0 - doc? ( app-text/docbook-xsl-stylesheets:0 ) - test? ( - dev-java/ant-junit:0 - dev-java/ant-core:0 - ) - ${CDEPEND}" - -RDEPEND=">=virtual/jre-1.8:* - ${CDEPEND}" - -JAVA_ANT_REWRITE_CLASSPATH="true" -EANT_GENTOO_CLASSPATH="junit" - -EANT_DOC_TARGET="users-guide-html javadocs" -EANT_ANT_TASKS="ant-core" -EANT_EXTRA_ARGS="-Ddb5.xsl=/usr/share/sgml/docbook/xsl-stylesheets" - -src_test() { - ANT_TASKS="ant-junit ant-core" eant test -} - -src_install() { - java-pkg_newjar "build/lib/${P}.jar" - - dodoc README.txt - - if use doc; then - java-pkg_dojavadoc build/doc/api - docinto html - dodoc -r build/doc/userguide/html/ - fi - - use source && java-pkg_dosrc src/java/org -} |