From: "Miroslav Šulc" <fordfrog@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/commons-net/
Date: Wed, 11 Sep 2024 07:56:14 +0000 (UTC) [thread overview]
Message-ID: <1726041313.1c262a696bf0477a468b9f2d88f82a05137bc075.fordfrog@gentoo> (raw)
commit: 1c262a696bf0477a468b9f2d88f82a05137bc075
Author: Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Tue Sep 10 05:48:30 2024 +0000
Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Wed Sep 11 07:55:13 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c262a69
dev-java/commons-net: add 3.11.1
Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/38534/commits/c0aa1a9a7bfff66f5b8afd78fbb0a47915fe5371
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
dev-java/commons-net/Manifest | 2 +
dev-java/commons-net/commons-net-3.11.1.ebuild | 54 ++++++++++++++++++++++++++
2 files changed, 56 insertions(+)
diff --git a/dev-java/commons-net/Manifest b/dev-java/commons-net/Manifest
index ff3a88cde8b6..06cd5df4828f 100644
--- a/dev-java/commons-net/Manifest
+++ b/dev-java/commons-net/Manifest
@@ -1,2 +1,4 @@
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
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
+
+}
next reply other threads:[~2024-09-11 7:56 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-11 7:56 Miroslav Šulc [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-10-14 9:26 [gentoo-commits] repo/gentoo:master commit in: dev-java/commons-net/ Miroslav Šulc
2024-10-12 7:28 Michał Górny
2024-10-11 9:56 Arthur Zamarin
2024-10-11 9:56 Arthur Zamarin
2024-10-11 9:56 Arthur Zamarin
2024-04-14 20:25 Miroslav Šulc
2024-04-14 18:56 Arthur Zamarin
2024-04-14 17:41 Arthur Zamarin
2024-04-14 13:39 Arthur Zamarin
2024-04-14 13:39 Arthur Zamarin
2024-03-15 10:12 Miroslav Šulc
2022-12-09 8:19 Miroslav Šulc
2022-12-08 16:28 Sam James
2022-12-08 16:25 Sam James
2022-12-08 16:25 Sam James
2022-12-08 16:25 Sam James
2022-12-05 10:54 Florian Schmaus
2022-02-11 20:05 Arthur Zamarin
2022-01-07 20:42 Arthur Zamarin
2022-01-07 20:40 Arthur Zamarin
2021-04-25 21:03 Sam James
2021-04-22 3:01 Sam James
2021-04-21 13:40 Miroslav Šulc
2021-04-15 15:40 Miroslav Šulc
2021-04-15 15:40 Miroslav Šulc
2021-04-15 15:40 Miroslav Šulc
2018-10-10 6:40 Patrice Clement
2016-04-23 15:26 Patrice Clement
2016-04-23 15:26 Patrice Clement
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1726041313.1c262a696bf0477a468b9f2d88f82a05137bc075.fordfrog@gentoo \
--to=fordfrog@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox