From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 989CA158088 for ; Sun, 26 Oct 2025 20:37:03 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 80710341E5E for ; Sun, 26 Oct 2025 20:37:03 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 6A2AC110561; Sun, 26 Oct 2025 20:37:02 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 5FCA91102F2 for ; Sun, 26 Oct 2025 20:37:02 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 12EBB341E5E for ; Sun, 26 Oct 2025 20:37:02 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6B49B3A73 for ; Sun, 26 Oct 2025 20:37:00 +0000 (UTC) From: "Miroslav Šulc" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Miroslav Šulc" Message-ID: <1761511017.8c10f5f37bf0e99f86e8221093549b0490cf7fad.fordfrog@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/bcutil/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-java/bcutil/Manifest dev-java/bcutil/bcutil-1.82.ebuild X-VCS-Directories: dev-java/bcutil/ X-VCS-Committer: fordfrog X-VCS-Committer-Name: Miroslav Šulc X-VCS-Revision: 8c10f5f37bf0e99f86e8221093549b0490cf7fad X-VCS-Branch: master Date: Sun, 26 Oct 2025 20:37:00 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 466892b6-71a6-4535-8cb4-3eadcca519ca X-Archives-Hash: b39a087b7cf4d0f3d3c8cb6cc9f05719 commit: 8c10f5f37bf0e99f86e8221093549b0490cf7fad Author: Volkmar W. Pogatzki pogatzki net> AuthorDate: Tue Oct 21 17:57:26 2025 +0000 Commit: Miroslav Šulc gentoo org> CommitDate: Sun Oct 26 20:36:57 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c10f5f3 dev-java/bcutil: add 1.82 Signed-off-by: Volkmar W. Pogatzki pogatzki.net> Part-of: https://github.com/gentoo/gentoo/pull/44302 Signed-off-by: Miroslav Šulc gentoo.org> dev-java/bcutil/Manifest | 1 + dev-java/bcutil/bcutil-1.82.ebuild | 60 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 61 insertions(+) diff --git a/dev-java/bcutil/Manifest b/dev-java/bcutil/Manifest index 94a6d2f80d97..f41b77d2ca35 100644 --- a/dev-java/bcutil/Manifest +++ b/dev-java/bcutil/Manifest @@ -1 +1,2 @@ DIST bc-java-r1rv80.tar.gz 47815270 BLAKE2B 791a81cdcc101caf6a03b96aa00313ee74f3d9fde18fed0f88b2ad4a41ebf3bf539d6fed65c88328023ac8201f2e4299d284e49a17bfce65cf6a5791126c7db7 SHA512 3ae49559a922c650a4024e99db23117db04119a504f1c947175548ab30bebd03d68f9b5f09c4f900851a405ab48a8b3609ae2f7c66aca810354dc0d446620db5 +DIST bc-java-r1rv82.tar.gz 47632447 BLAKE2B 5ff178d2ad7dbd13d830656d4c430e3178a63af3691f9b0ec75af57cc55ed278f2f7513e3677b662e418b5de15bb93d4094797d7583860ee667b3019d96d7860 SHA512 754815ae3d1bf2c4b4789db832e1c8ebf752f06349e43c13d9472ba4ff91160d1075ad229a8f24e12fbc2f55cb2efa3765e50e533d95b742e07718fcb1c92123 diff --git a/dev-java/bcutil/bcutil-1.82.ebuild b/dev-java/bcutil/bcutil-1.82.ebuild new file mode 100644 index 000000000000..8ea42e5e2690 --- /dev/null +++ b/dev-java/bcutil/bcutil-1.82.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +JAVA_PKG_IUSE="doc source test" +JAVA_TESTING_FRAMEWORKS="junit-4" +MAVEN_ID="org.bouncycastle:bcutil-jdk18on:${PV}" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="Java APIs for ASN.1 extension and utility APIs used to support bcpkix and bctls" +HOMEPAGE="https://www.bouncycastle.org/download/bouncy-castle-java/" +MY_PV="r$(ver_rs 1 'rv' 2 'v')" +SRC_URI="https://github.com/bcgit/bc-java/archive/${MY_PV}.tar.gz -> bc-java-${MY_PV}.tar.gz" +S="${WORKDIR}/bc-java-${MY_PV}/util" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64" + +CDEPEND="~dev-java/bcprov-${PV}:0" + +DEPEND=" + ${CDEPEND} + >=virtual/jdk-11:* +" + +RDEPEND=" + ${CDEPEND} + >=virtual/jre-1.8:* +" + +DOCS=( ../{README,SECURITY}.md ) +HTML_DOCS=( ../{CONTRIBUTORS,index}.html ) + +JAVA_AUTOMATIC_MODULE_NAME="org.bouncycastle.util" +JAVA_GENTOO_CLASSPATH="bcprov" +JAVA_SRC_DIR=( src/main/{java,jdk1.9} ) +JAVA_TEST_GENTOO_CLASSPATH="junit-4" +JAVA_TEST_RESOURCE_DIRS="src/test/resources" +JAVA_TEST_SRC_DIR="src/test/java" + +src_prepare() { + java-pkg-2_src_prepare + java-pkg_clean .. +} + +src_test() { + local TESTS=$(find src/test/java -name 'AllTests.java' -printf '%P\n' ) + TESTS="${TESTS//.java}" + JAVA_TEST_RUN_ONLY="${TESTS//\//.}" + java-pkg-simple_src_test +} + +src_install() { + docinto html + dodoc -r ../docs + java-pkg-simple_src_install +}