From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8AD38158090 for ; Sun, 22 May 2022 17:57:19 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C27C9E08BD; Sun, 22 May 2022 17:57:18 +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 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A834AE08BD for ; Sun, 22 May 2022 17:57:18 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 364A0341B99 for ; Sun, 22 May 2022 17:57:17 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 96FE247E for ; Sun, 22 May 2022 17:57:15 +0000 (UTC) From: "Florian Schmaus" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Florian Schmaus" Message-ID: <1653240586.8fae3471f5ae66b0e4bcd6c694dad48a30185a90.flow@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/bcpg/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-java/bcpg/Manifest dev-java/bcpg/bcpg-1.71.ebuild dev-java/bcpg/metadata.xml X-VCS-Directories: dev-java/bcpg/ X-VCS-Committer: flow X-VCS-Committer-Name: Florian Schmaus X-VCS-Revision: 8fae3471f5ae66b0e4bcd6c694dad48a30185a90 X-VCS-Branch: master Date: Sun, 22 May 2022 17:57:15 +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: bc6ab676-41d6-4294-9581-605f2d0fc5c5 X-Archives-Hash: a66a18c2530e0a373b75762966141ce5 commit: 8fae3471f5ae66b0e4bcd6c694dad48a30185a90 Author: Volkmar W. Pogatzki pogatzki net> AuthorDate: Sun May 15 06:23:28 2022 +0000 Commit: Florian Schmaus gentoo org> CommitDate: Sun May 22 17:29:46 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8fae3471 dev-java/bcpg: add 1.71 Signed-off-by: Volkmar W. Pogatzki pogatzki.net> Signed-off-by: Florian Schmaus gentoo.org> dev-java/bcpg/Manifest | 1 + dev-java/bcpg/bcpg-1.71.ebuild | 58 ++++++++++++++++++++++++++++++++++++++++++ dev-java/bcpg/metadata.xml | 3 +++ 3 files changed, 62 insertions(+) diff --git a/dev-java/bcpg/Manifest b/dev-java/bcpg/Manifest index b7586bb46675..ead2869d65a6 100644 --- a/dev-java/bcpg/Manifest +++ b/dev-java/bcpg/Manifest @@ -1 +1,2 @@ DIST bc-java-r1rv69.tar.gz 56587177 BLAKE2B be5321f48911840de70d3201c0436cf4147a25999abb605dc4c176ea9292796ca25633635d66dccab685a4bb162258c4495ccc764782119a0750ec1b7456a7db SHA512 5224f424faf549e8e3f2db1134e74647b09bebb654ed23bb0bcd493f065fdb3f2b4f2815be0137ebcc9d62b25a6725b7a26b76d55eb3ad014ad0ce92961126de +DIST bc-java-r1rv71.tar.gz 117684695 BLAKE2B db0a1b2576a55592e0447aa8734e8ecb6fe8452d08dabf010070f3c6b5a3b4caa7a5929baaa52796fed0ef397e18fe58fdb91dfef6da75af8f28efb627d2b808 SHA512 c9a095a034863a46027e28754ae96d9750162120bc1af124fa700ad05d23716a606633b674e2e8490bda658d30d30e93f42ba00dcc1ac13596a24f8aa43a666d diff --git a/dev-java/bcpg/bcpg-1.71.ebuild b/dev-java/bcpg/bcpg-1.71.ebuild new file mode 100644 index 000000000000..7854003f175f --- /dev/null +++ b/dev-java/bcpg/bcpg-1.71.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +JAVA_PKG_IUSE="doc source test" +MAVEN_ID="org.bouncycastle:bcpg-jdk18on:1.71" +JAVA_TESTING_FRAMEWORKS="junit-4" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="Java cryptography APIs" +HOMEPAGE="https://www.bouncycastle.org/java.html" +SRC_URI="https://github.com/bcgit/bc-java/archive/r${PV/./rv}.tar.gz -> bc-java-r${PV/./rv}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + +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 ) + +S="${WORKDIR}/bc-java-r${PV/./rv}/pg" + +JAVA_GENTOO_CLASSPATH="bcprov" +JAVA_SRC_DIR=( + "src/main/java" + "src/main/jdk1.9" # https://bugs.gentoo.org/797634 +) + +JAVA_TEST_GENTOO_CLASSPATH="junit-4" +JAVA_TEST_SRC_DIR="src/test/java" +JAVA_TEST_RESOURCE_DIRS="src/test/resources" + +JAVA_TEST_RUN_ONLY=( + "org.bouncycastle.openpgp.test.AllTests" + "org.bouncycastle.openpgp.examples.test.AllTests" + "org.bouncycastle.gpg.test.AllTests" +) + +src_prepare() { + default + java-pkg_clean .. +} + +src_install() { + default + einstalldocs + docinto html + dodoc -r ../docs + java-pkg-simple_src_install +} diff --git a/dev-java/bcpg/metadata.xml b/dev-java/bcpg/metadata.xml index 4221e170cbc0..3cbf364f100a 100644 --- a/dev-java/bcpg/metadata.xml +++ b/dev-java/bcpg/metadata.xml @@ -5,4 +5,7 @@ java@gentoo.org Java + + The Bouncy Castle Java API for handling the OpenPGP protocol. This jar contains the OpenPGP API for JDK 1.8 and up. The APIs can be used in conjunction with a JCE/JCA provider such as the one provided with the Bouncy Castle Cryptography APIs. +