summaryrefslogtreecommitdiff
path: root/dev-java/bcmail
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java/bcmail')
-rw-r--r--dev-java/bcmail/Manifest2
-rw-r--r--dev-java/bcmail/bcmail-1.72.ebuild57
2 files changed, 59 insertions, 0 deletions
diff --git a/dev-java/bcmail/Manifest b/dev-java/bcmail/Manifest
index 085eee5f16f2..68c79ec3b37d 100644
--- a/dev-java/bcmail/Manifest
+++ b/dev-java/bcmail/Manifest
@@ -1,3 +1,5 @@
DIST bc-java-r1rv71.tar.gz 117684695 BLAKE2B db0a1b2576a55592e0447aa8734e8ecb6fe8452d08dabf010070f3c6b5a3b4caa7a5929baaa52796fed0ef397e18fe58fdb91dfef6da75af8f28efb627d2b808 SHA512 c9a095a034863a46027e28754ae96d9750162120bc1af124fa700ad05d23716a606633b674e2e8490bda658d30d30e93f42ba00dcc1ac13596a24f8aa43a666d
+DIST bc-java-r1rv72.tar.gz 380374879 BLAKE2B 53c593c1d97e9ee56388479dce7386d254f74a8bab9612e802ebe963df84d1a397fe0c5a7a0d0db2ac2cd3252ae43e79c67b9d3ba1b5ffc20cc8727c7e1a6994 SHA512 dbfdd9e4f30ab713584830a0fd0d7e4f89904366bf4953a9e722656cc4cd92c9d29238649efa7b4cdab64e2c08f4b3b3c96667d1ade569ade5a5a2c9ad9d5b5c
EBUILD bcmail-1.71.ebuild 1430 BLAKE2B 19683850f07233ce075895df1c658e487d2c06e72f987edbc6a639a1eb36b6a62b218e7d7c2b39acd1d2da186f4d4e334a776ecff0192296003e02b3db5121c3 SHA512 9466d5acecbe4710a20fac17bc625221195c370b7e1e09c9eec6a0e1bebbca293a10a6d16ed714ba02df30bf1f73fee36723c550db9d63c78984f6afc2e13fee
+EBUILD bcmail-1.72.ebuild 1307 BLAKE2B 7c5841306476dc896e8cad2d32e02e0ed1c392426b3a45c7cab27aa00964557b8b7fd339027ac298edd2d1d3bd8964ea09de969b57af27b910592e0433f796fb SHA512 9d0ea516bc43658c4af571cbeab68a27507debc09ded484eb26363e55224b8ca8a576ab0b177405c8271116ffe3c0dcefdfb54313f305127746e1e2cd32478bc
MISC metadata.xml 593 BLAKE2B 03a8a1bc9096f606d9e934b05910a5052df992a0e9f6412177aad141bae2bef648e4208e1b967e318f11e3e9a227d5783d0ce6880ef44952e238ff3831ca4200 SHA512 42de422b76ba5667882f973abfb9b482e9c0b9ac07c803be0ee9fc322c568d2cfa29e3fa56e0b57a4ed143a3645a484447dd981385b2ce49c5667f734d40c979
diff --git a/dev-java/bcmail/bcmail-1.72.ebuild b/dev-java/bcmail/bcmail-1.72.ebuild
new file mode 100644
index 000000000000..09cfa8ab86b2
--- /dev/null
+++ b/dev-java/bcmail/bcmail-1.72.ebuild
@@ -0,0 +1,57 @@
+# 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:bcmail-jdk18on:1.72"
+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_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"
+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
+}