summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Thomson <wltjr@gentoo.org>2007-11-29 16:16:36 +0000
committerWilliam Thomson <wltjr@gentoo.org>2007-11-29 16:16:36 +0000
commit5b13497512576c4d75dfe997f4453e67f31089c5 (patch)
tree41dc4ad77e1a6a0c4ef986769993f4b3b8749941 /dev-java/bcprov
parentVersion cleanup (diff)
downloadgentoo-2-5b13497512576c4d75dfe997f4453e67f31089c5.tar.gz
gentoo-2-5b13497512576c4d75dfe997f4453e67f31089c5.tar.bz2
gentoo-2-5b13497512576c4d75dfe997f4453e67f31089c5.zip
Bumped to latest release
(Portage version: 2.1.4_rc3)
Diffstat (limited to 'dev-java/bcprov')
-rw-r--r--dev-java/bcprov/ChangeLog8
-rw-r--r--dev-java/bcprov/bcprov-1.38.ebuild57
-rw-r--r--dev-java/bcprov/files/digest-bcprov-1.383
3 files changed, 67 insertions, 1 deletions
diff --git a/dev-java/bcprov/ChangeLog b/dev-java/bcprov/ChangeLog
index 6a727beae245..4c201dd89f5e 100644
--- a/dev-java/bcprov/ChangeLog
+++ b/dev-java/bcprov/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-java/bcprov
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/bcprov/ChangeLog,v 1.25 2007/10/15 14:08:05 corsair Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/bcprov/ChangeLog,v 1.26 2007/11/29 16:16:35 wltjr Exp $
+
+*bcprov-1.38 (29 Nov 2007)
+
+ 29 Nov 2007; William L. Thomson Jr. <wltjr@gentoo.org>
+ +bcprov-1.38.ebuild:
+ Bumped to latest release
15 Oct 2007; Markus Rothe <corsair@gentoo.org> bcprov-1.37.ebuild:
Stable on ppc64
diff --git a/dev-java/bcprov/bcprov-1.38.ebuild b/dev-java/bcprov/bcprov-1.38.ebuild
new file mode 100644
index 000000000000..4f7def9ca3a4
--- /dev/null
+++ b/dev-java/bcprov/bcprov-1.38.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/bcprov/bcprov-1.38.ebuild,v 1.1 2007/11/29 16:16:35 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 ~ppc ~ppc64 ~x86 ~x86-fbsd"
+
+# The src_unpack find needs a new find
+# https://bugs.gentoo.org/show_bug.cgi?id=182276
+DEPEND=">=virtual/jdk-1.4
+ userland_GNU? ( >=sys-apps/findutils-4.3 )
+ app-arch/unzip"
+RDEPEND=">=virtual/jre-1.4"
+
+IUSE="userland_GNU"
+
+S="${WORKDIR}/${MY_P}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ unpack ./src.zip
+
+ # so that we don't need junit
+ echo "Removing testcases' sources:"
+ find . -path '*test/*.java' -print -delete \
+ || die "Failed to delete testcases."
+ find . -name '*Test*.java' -print -delete \
+ || die "Failed to delete testcases."
+}
+
+src_compile() {
+ mkdir "${S}/classes"
+
+ find . -name "*.java" > "${T}/src.list"
+ ejavac -encoding ISO-8859-1 -d "${S}/classes" "@${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/bcprov/files/digest-bcprov-1.38 b/dev-java/bcprov/files/digest-bcprov-1.38
new file mode 100644
index 000000000000..65d9754ae862
--- /dev/null
+++ b/dev-java/bcprov/files/digest-bcprov-1.38
@@ -0,0 +1,3 @@
+MD5 d8e4ce15cda7b081a4b18752770ca02f bcprov-jdk14-138.tar.gz 3374082
+RMD160 f35145febd1bd32cd6d49d7bd4dcff898e1d54f3 bcprov-jdk14-138.tar.gz 3374082
+SHA256 15a8099fca68fde937cdfc87ae486498a7c12c7d1ebaca9f26aa31b7ad11d413 bcprov-jdk14-138.tar.gz 3374082