summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-java/bcmail/ChangeLog8
-rw-r--r--dev-java/bcmail/Manifest16
-rw-r--r--dev-java/bcmail/bcmail-1.36.ebuild52
-rw-r--r--dev-java/bcmail/files/digest-bcmail-1.363
-rw-r--r--dev-java/bcmail/metadata.xml17
5 files changed, 96 insertions, 0 deletions
diff --git a/dev-java/bcmail/ChangeLog b/dev-java/bcmail/ChangeLog
new file mode 100644
index 000000000000..984269a1f2ea
--- /dev/null
+++ b/dev-java/bcmail/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for dev-java/bcmail
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/bcmail/ChangeLog,v 1.1 2007/03/25 17:26:43 wltjr Exp $
+
+ 25 Mar 2007; William L. Thomson Jr. <wltjr@gentoo.org> ChangeLog:
+ Initial ebuild, should be pretty identical to bcprov ebuild. Ideal to keep
+ both in sync. Still to do, junit/test stuff, optional dep/compile test run
+
diff --git a/dev-java/bcmail/Manifest b/dev-java/bcmail/Manifest
new file mode 100644
index 000000000000..d38a86bad4a9
--- /dev/null
+++ b/dev-java/bcmail/Manifest
@@ -0,0 +1,16 @@
+DIST bcmail-jdk14-136.tar.gz 366624 RMD160 750e0ec71e46dcae19b7c5785e48bf5945cdf274 SHA1 12303303c3d4632e8a2e8c64e5d42e97bfa0a21a SHA256 832bc096dfe4e5dcb9c1c8256bffa8de249130b3d4f85ab3a2ffbada3d88a0ea
+EBUILD bcmail-1.36.ebuild 1168 RMD160 5bcb440458863f89db0720ae2b098069540704c4 SHA1 49e41fc56d20da416af11427a9a0a719e3c1a08f SHA256 31d0dc637ccb57f164082eefa9eeca5f8e91dd198967abeeea57bcab2d37f05d
+MD5 d2d76f2d76a09044bd22a72ba43eccb5 bcmail-1.36.ebuild 1168
+RMD160 5bcb440458863f89db0720ae2b098069540704c4 bcmail-1.36.ebuild 1168
+SHA256 31d0dc637ccb57f164082eefa9eeca5f8e91dd198967abeeea57bcab2d37f05d bcmail-1.36.ebuild 1168
+MISC ChangeLog 339 RMD160 f93d734e8e4da9727e90da99a0d7c9bd0cff097a SHA1 3beb7b73f6604502ebad9aeef06034db7810e723 SHA256 c2a143be609766d22de89e8afe61cebd4aa4947f279e9e08fa181d8d1a21e132
+MD5 53df3f892e461d97b52914e64a4f50da ChangeLog 339
+RMD160 f93d734e8e4da9727e90da99a0d7c9bd0cff097a ChangeLog 339
+SHA256 c2a143be609766d22de89e8afe61cebd4aa4947f279e9e08fa181d8d1a21e132 ChangeLog 339
+MISC metadata.xml 397 RMD160 66a49cc71f9ec786c0e93ae4c4a4eaea8712f6d6 SHA1 0636674b59ec0ea55bd79ec694553958c678bf59 SHA256 9af22e5e76d888769afb48e2958caeb0b589a53e6f6475c45e5064194bd8287f
+MD5 a2329cf812b2d7d56bd474ea91543c9c metadata.xml 397
+RMD160 66a49cc71f9ec786c0e93ae4c4a4eaea8712f6d6 metadata.xml 397
+SHA256 9af22e5e76d888769afb48e2958caeb0b589a53e6f6475c45e5064194bd8287f metadata.xml 397
+MD5 fcb1aa98423931f8820c3253c06bec0f files/digest-bcmail-1.36 250
+RMD160 18e792a42fbc9460cf00858f7bf4a55d9b90ac42 files/digest-bcmail-1.36 250
+SHA256 639e1c3d3c2cc87f1780a1f71509812a758ca6517bb345adeaddab5674a18eca files/digest-bcmail-1.36 250
diff --git a/dev-java/bcmail/bcmail-1.36.ebuild b/dev-java/bcmail/bcmail-1.36.ebuild
new file mode 100644
index 000000000000..effbe13ea49e
--- /dev/null
+++ b/dev-java/bcmail/bcmail-1.36.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/bcmail/bcmail-1.36.ebuild,v 1.1 2007/03/25 17:26:43 wltjr Exp $
+
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 java-ant-2
+
+MY_P="${PN}-jdk14-${PV/./}"
+DESCRIPTION="Java cryptography APIs"
+HOMEPAGE="http://www.bouncycastle.org/java.html"
+SRC_URI="http://www.bouncycastle.org/download/${MY_P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+COMMON_DEPEND="~dev-java/bcprov-${PV}
+ dev-java/junit
+ dev-java/sun-javamail"
+DEPEND=">=virtual/jdk-1.4
+ app-arch/unzip
+ ${COMMON_DEPEND}"
+RDEPEND=">=virtual/jre-1.4
+ ${COMMON_DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ unpack ./src.zip
+}
+
+src_compile() {
+ mkdir "${S}/classes"
+
+ find org -name "*.java" > "${T}/src.list"
+ ejavac -d "${S}/classes" \
+ -classpath $(java-pkg_getjars bcprov,junit,sun-javamail) \
+ "@${T}/src.list"
+
+ cd "${S}/classes"
+ jar -cf "${S}/${PN}.jar" * || die "failed to create jar"
+}
+
+src_install() {
+ java-pkg_dojar "${S}/${PN}.jar"
+
+ use source && java-pkg_dosrc org
+ use doc && java-pkg_dojavadoc docs
+}
diff --git a/dev-java/bcmail/files/digest-bcmail-1.36 b/dev-java/bcmail/files/digest-bcmail-1.36
new file mode 100644
index 000000000000..b9e805de511b
--- /dev/null
+++ b/dev-java/bcmail/files/digest-bcmail-1.36
@@ -0,0 +1,3 @@
+MD5 98d3cb5335f43dd31d28d0a0d96dcb10 bcmail-jdk14-136.tar.gz 366624
+RMD160 750e0ec71e46dcae19b7c5785e48bf5945cdf274 bcmail-jdk14-136.tar.gz 366624
+SHA256 832bc096dfe4e5dcb9c1c8256bffa8de249130b3d4f85ab3a2ffbada3d88a0ea bcmail-jdk14-136.tar.gz 366624
diff --git a/dev-java/bcmail/metadata.xml b/dev-java/bcmail/metadata.xml
new file mode 100644
index 000000000000..c7cddcf32e6f
--- /dev/null
+++ b/dev-java/bcmail/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+
+ <herd>java</herd>
+
+ <maintainer>
+ <email>wltjr@gentoo.org</email>
+ <name>William L. Thomson Jr.</name>
+ </maintainer>
+
+ <longdescription>
+ Lightweight Java cryptography APIs that work with everything
+ from the J2ME to the JDK 1.6
+ </longdescription>
+
+</pkgmetadata>