From 65a36438d5b824f80023c282dadc3fcd5736b526 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 11 Sep 2024 12:30:55 +0100 Subject: gentoo auto-resync : 11:09:2024 - 12:30:54 --- dev-java/commons-net/Manifest | 3 ++ dev-java/commons-net/commons-net-3.11.1.ebuild | 54 ++++++++++++++++++++++++++ 2 files changed, 57 insertions(+) create mode 100644 dev-java/commons-net/commons-net-3.11.1.ebuild (limited to 'dev-java/commons-net') diff --git a/dev-java/commons-net/Manifest b/dev-java/commons-net/Manifest index dcd776162786..5b61f322fdf8 100644 --- a/dev-java/commons-net/Manifest +++ b/dev-java/commons-net/Manifest @@ -1,4 +1,7 @@ DIST commons-net-3.10.0-src.tar.gz 450082 BLAKE2B 0df46b21ca298393500494e41d918b3fc6e700485c4d9dfb2bab61d8f834a4f44dd881c464c4008731deec9fc82ca36e0442022f0942b3e59e384a2b44329660 SHA512 d9d80255feddfb434d3baa629aa9e6d8feffd530c5e3172106fec55bbc986f6423a46dc9e737a1bb7020c62447229e6b83d0b7f9582d041e1def423536cc92dd DIST commons-net-3.10.0-src.tar.gz.asc 488 BLAKE2B 31a15e952c55079e595f33be1730126b85c669b481c649e401cb4617a5489fc3e3025e8c172f8193b190b16fe55d9c78c171d16d4adf7fa1a8e71648e295bc77 SHA512 ab27b1fa2c02d79eff26f93697fafc54f22a7368db631bb6f7173b8702cda10836ac8b656df987135fe5c1d39a557840fefb0355d8d52f0e4815808d4938de18 +DIST commons-net-3.11.1-src.tar.gz 460104 BLAKE2B 5542a7d9d3d8f2f07a90b3ab21e4e8a66bceecfef8f1ae8ec378003e4c3906414435b095cc0c0016f24d3e174a5e16da52cf4c5503209c08d5e550ef25a7bbdc SHA512 0999067cc73cb0e0ab4940302180a0afa998b37c51f93c1c744bf1d346d14c89283166a665283d98200e98f0b8c39854f17493890d49ddad5769c4deb49de37e +DIST commons-net-3.11.1-src.tar.gz.asc 488 BLAKE2B ea6ba15b7b6800b1c249cb82d784057f701fb13775fc9838e5247e1e8ead9360a7c5381083fa0c0e2b783e339b6e4ebb8ff66cb8c8924b3c00c9b28ee696e7a3 SHA512 c9e4c896d2f514996aa50c8af20bab6564d574db4fef69832fe2391beefabfed74a727faf7fe9227b037e943cdba5b2ac143164d5c0df3140b9b7c44ca316e53 EBUILD commons-net-3.10.0.ebuild 1190 BLAKE2B e8834b035b2178ec880c79502cbd9606e851a131dd25cd030b2df82181e1e3ab90009179f94db532529110a99b45a64ebadc7c555f3faee21c3c736e17517137 SHA512 ee3d68e1bb51983f05884c93c479df4308da171ae295846475731c26bc970e563046d63f80b1abf78746747b6ade2d29cfb632ca496c8e2a9ce36133b99ddc61 +EBUILD commons-net-3.11.1.ebuild 1521 BLAKE2B 95ad59e7d5c8ad9766a117a5138f209fe3ce803a921d588c91d94a4d9269d3f8f2cef785ecb0c22968146f9dd228d7781535db7349950c17c8bb6669924058b0 SHA512 823e4ce119339a70ca458ca6e2997d47d0214bc7910a9c30707cfdedaa87e5f971919a166d670f3ca0bb642d67027588dc5d746b2d32ee8cb8c8d0cf0d5c9cf7 MISC metadata.xml 393 BLAKE2B 344ccb7c8387f2d977c30219cefde70b31255c859898f243ecfde94643641474047299f2438a4067f70cd77ace99fb754ff6dfc2ccdedd2772081870f1444d8f SHA512 75b957e0f6a08377b402e23f49b081ed9add10ff7b3a5d9f52009d48ef4f8d49bb78f48310b93a579b29857562af2d5261f5b4fe4405edd566c1f320ec729046 diff --git a/dev-java/commons-net/commons-net-3.11.1.ebuild b/dev-java/commons-net/commons-net-3.11.1.ebuild new file mode 100644 index 000000000000..2563be67f5d0 --- /dev/null +++ b/dev-java/commons-net/commons-net-3.11.1.ebuild @@ -0,0 +1,54 @@ +# 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 examples source" +MAVEN_ID="commons-net:commons-net:${PV}" + +inherit java-pkg-2 java-pkg-simple verify-sig + +DESCRIPTION="Client-oriented Java library to implement many Internet protocols" +HOMEPAGE="https://commons.apache.org/proper/commons-net/" +SRC_URI="mirror://apache/commons/net/source/${P}-src.tar.gz + verify-sig? ( https://downloads.apache.org/commons/net/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 ~ppc-macos ~x64-macos ~x64-solaris" + +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:*" + +DOCS=( + CONTRIBUTING.md + NOTICE.txt + README.md + RELEASE-NOTES.txt +) + +JAVA_RESOURCE_DIRS="src/main/resources" +JAVA_SRC_DIR="src/main/java" + +src_prepare() { + java-pkg-2_src_prepare + rm -r src/main/{java,resources}/org/apache/commons/net/examples || die +} + +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 + +} -- cgit v1.2.3