summaryrefslogtreecommitdiff
path: root/dev-java/bcmail
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java/bcmail')
-rw-r--r--dev-java/bcmail/Manifest4
-rw-r--r--dev-java/bcmail/bcmail-1.76.ebuild58
-rw-r--r--dev-java/bcmail/metadata.xml3
3 files changed, 64 insertions, 1 deletions
diff --git a/dev-java/bcmail/Manifest b/dev-java/bcmail/Manifest
index 941428f4a841..95811dc8326e 100644
--- a/dev-java/bcmail/Manifest
+++ b/dev-java/bcmail/Manifest
@@ -1,3 +1,5 @@
DIST bc-java-r1rv72.tar.gz 380374879 BLAKE2B 53c593c1d97e9ee56388479dce7386d254f74a8bab9612e802ebe963df84d1a397fe0c5a7a0d0db2ac2cd3252ae43e79c67b9d3ba1b5ffc20cc8727c7e1a6994 SHA512 dbfdd9e4f30ab713584830a0fd0d7e4f89904366bf4953a9e722656cc4cd92c9d29238649efa7b4cdab64e2c08f4b3b3c96667d1ade569ade5a5a2c9ad9d5b5c
+DIST bc-java-r1rv76.tar.gz 31256952 BLAKE2B b791ef3da7189bc6990935aaad7c331c1bf6a45af0cdfc72056ae0cf1723e57ce15a76060251f6de630b0729ffe22ba4718255c103a8ab66db61f2e46f1201c8 SHA512 7d408821408bbabd209d9507b061f3113822878c12b12a040c829f5a8c6bdf8450719aef60c423025824bec1fcb6c63d8478d1f84f3cb1d692fdbacde6d9ce6e
EBUILD bcmail-1.72.ebuild 1303 BLAKE2B 15892bcd79007401e55ac7bc13ffd7b9af379a34a8592dffcdf0c2f42a6de8065348ddd52710fb90a236e388ef7ddec5f2d381c51dddee5b6a1b2c03055d3f49 SHA512 17790ead9edae08354618eb059603946183e6c477dc76e93a39580cc494de0cdf07d95f691572491118bc00cb8f23f1b7bbe0b5af3f2e8ea5537bcccdd513953
-MISC metadata.xml 593 BLAKE2B 03a8a1bc9096f606d9e934b05910a5052df992a0e9f6412177aad141bae2bef648e4208e1b967e318f11e3e9a227d5783d0ce6880ef44952e238ff3831ca4200 SHA512 42de422b76ba5667882f973abfb9b482e9c0b9ac07c803be0ee9fc322c568d2cfa29e3fa56e0b57a4ed143a3645a484447dd981385b2ce49c5667f734d40c979
+EBUILD bcmail-1.76.ebuild 1391 BLAKE2B 1ffc6abb3087b0f787c8973710731792967a672d5606e3d963db5ecb8e68bb98a662797494cdaccbd2db51319a9362c7df5e921ccd61bb1f38fc6ac14a1eea4f SHA512 249b88c552301dd5a2f8c89e7b48ef48df05273d61d150b50058660f5eb475e6414bdc46f3d0a5693c1f3bcc407d3a917feea7eb81819a35e8c74bee863c2a38
+MISC metadata.xml 671 BLAKE2B 9bc7968fa569c698c7ac0f7af9a5301f55075db2ff416e55654ddca268b9ae1e63f4270d3fa7a99b06737b998c223db592f5fb570cee172a17cd3f7034b7d431 SHA512 b555d8d679fd4685aef9660023a12036d6459d8e88dfa4e5d7f84f47939574c2ded1bbf487c876435370382e2c06502d61189e79e61be49fa65aef9bb39f8ab9
diff --git a/dev-java/bcmail/bcmail-1.76.ebuild b/dev-java/bcmail/bcmail-1.76.ebuild
new file mode 100644
index 000000000000..84786985c3ee
--- /dev/null
+++ b/dev-java/bcmail/bcmail-1.76.ebuild
@@ -0,0 +1,58 @@
+# 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.bouncycastle:bcmail-jdk18on:1.76"
+JAVA_TESTING_FRAMEWORKS="junit-4"
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="The Bouncy Castle Java S/MIME APIs for handling S/MIME protocols"
+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"
+
+CP_DEPEND="
+ ~dev-java/bcpkix-${PV}:0
+ ~dev-java/bcprov-${PV}:0
+ ~dev-java/bcutil-${PV}:0
+ dev-java/jakarta-activation:1
+ dev-java/javax-mail:0
+ "
+DEPEND="${CP_DEPEND}
+ >=virtual/jdk-11:*"
+RDEPEND="${CP_DEPEND}
+ >=virtual/jre-1.8:*"
+
+DOCS=( ../{README,SECURITY}.md )
+HTML_DOCS=( ../{CONTRIBUTORS,index}.html )
+
+S="${WORKDIR}/bc-java-r${PV/./rv}/mail"
+
+JAVA_AUTOMATIC_MODULE_NAME="org.bouncycastle.mail"
+JAVA_RESOURCE_DIRS="src/main/resources"
+JAVA_SRC_DIR=(
+ "src/main/java"
+ "src/main/jdk1.9"
+)
+
+JAVA_TEST_GENTOO_CLASSPATH="junit-4"
+JAVA_TEST_RESOURCE_DIRS=( "src/test/resources" "../pkix/src/main/resources" )
+JAVA_TEST_RUN_ONLY="org.bouncycastle.mail.smime.test.AllTests"
+JAVA_TEST_SRC_DIR="src/test/java"
+
+src_prepare() {
+ default
+ java-pkg_clean ..
+}
+
+src_install() {
+ docinto html
+ dodoc -r ../docs
+ java-pkg-simple_src_install
+}
diff --git a/dev-java/bcmail/metadata.xml b/dev-java/bcmail/metadata.xml
index 97fff009c2d8..d958ec9b5fa0 100644
--- a/dev-java/bcmail/metadata.xml
+++ b/dev-java/bcmail/metadata.xml
@@ -5,6 +5,9 @@
<email>java@gentoo.org</email>
<name>Java</name>
</maintainer>
+ <upstream>
+ <remote-id type="github">bcgit/bc-java</remote-id>
+ </upstream>
<longdescription>
The Bouncy Castle Java S/MIME APIs for handling S/MIME protocols. This jar contains S/MIME APIs 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. The JavaMail API and the Java activation framework will also be needed.
</longdescription>