summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Nichols <nichoj@gentoo.org>2006-07-29 05:45:43 +0000
committerJoshua Nichols <nichoj@gentoo.org>2006-07-29 05:45:43 +0000
commit6c64891a7f6b9268d73e09f83c466c2e5e44a266 (patch)
tree5f42135689f773e341fba9894b91fb3740075438 /dev-java/sun-jce-bin
parentNew upstream version. (diff)
downloadhistorical-6c64891a7f6b9268d73e09f83c466c2e5e44a266.tar.gz
historical-6c64891a7f6b9268d73e09f83c466c2e5e44a266.tar.bz2
historical-6c64891a7f6b9268d73e09f83c466c2e5e44a266.zip
Initial commit. Taken from java-experimental-overlay.
Package-Manager: portage-2.1.1_pre3-r5
Diffstat (limited to 'dev-java/sun-jce-bin')
-rw-r--r--dev-java/sun-jce-bin/ChangeLog10
-rw-r--r--dev-java/sun-jce-bin/Manifest16
-rw-r--r--dev-java/sun-jce-bin/files/digest-sun-jce-bin-1.5.03
-rw-r--r--dev-java/sun-jce-bin/metadata.xml5
-rw-r--r--dev-java/sun-jce-bin/sun-jce-bin-1.5.0.ebuild44
5 files changed, 78 insertions, 0 deletions
diff --git a/dev-java/sun-jce-bin/ChangeLog b/dev-java/sun-jce-bin/ChangeLog
new file mode 100644
index 000000000000..4fd29fba92c3
--- /dev/null
+++ b/dev-java/sun-jce-bin/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-java/sun-jce-bin
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jce-bin/ChangeLog,v 1.1 2006/07/29 05:45:43 nichoj Exp $
+
+*sun-jce-bin-1.5.0 (29 Jul 2006)
+
+ 29 Jul 2006; Joshua Nichols <nichoj@gentoo.org> +metadata.xml,
+ +sun-jce-bin-1.5.0.ebuild:
+ Initial commit.
+
diff --git a/dev-java/sun-jce-bin/Manifest b/dev-java/sun-jce-bin/Manifest
new file mode 100644
index 000000000000..a397f43c22fe
--- /dev/null
+++ b/dev-java/sun-jce-bin/Manifest
@@ -0,0 +1,16 @@
+DIST jce_policy-1_5_0.zip 8826 RMD160 eb12d0333c3ddbbba57a0e825a6891a75ec485c0 SHA1 f0e887b91b4499142285633e65c5710c3a133a16 SHA256 4de78da737c6d66b74eb6caebf6bdb0648825a95e2909e815678a0d306bf6d8b
+EBUILD sun-jce-bin-1.5.0.ebuild 1257 RMD160 b95c53af9f738a22a1f918b05d90a0ed9a11abd6 SHA1 676ce48ac6f6d89a020567023be9afcae0f65ed1 SHA256 9862974d0539f1b4f520feec991672c6ee3f0ac71f2dfc63f1c96ed08537960a
+MD5 68c93521e9c8117555028ef516c1e474 sun-jce-bin-1.5.0.ebuild 1257
+RMD160 b95c53af9f738a22a1f918b05d90a0ed9a11abd6 sun-jce-bin-1.5.0.ebuild 1257
+SHA256 9862974d0539f1b4f520feec991672c6ee3f0ac71f2dfc63f1c96ed08537960a sun-jce-bin-1.5.0.ebuild 1257
+MISC ChangeLog 360 RMD160 dd13bf53c3894c42cf8571f642b5ad29824069a4 SHA1 b54c821e55bd594060e6832802fb69e9c9595264 SHA256 9c71f5accf971a2ecfdc8e66615e0faaa64fa2670cb1d9be27665a1013c08cc1
+MD5 d904533c5e4b7885b06efa5a4cb76874 ChangeLog 360
+RMD160 dd13bf53c3894c42cf8571f642b5ad29824069a4 ChangeLog 360
+SHA256 9c71f5accf971a2ecfdc8e66615e0faaa64fa2670cb1d9be27665a1013c08cc1 ChangeLog 360
+MISC metadata.xml 159 RMD160 7da5c733c224383ffe350605bc36721a3ff2536f SHA1 99c2655c7bbee2cbc8c79edb2d00d481d62faf95 SHA256 a4ced33e98b00e3a3f725c4c40ef8e76c338db53389465ef871105fbe6e8cbbb
+MD5 9f455923f62e1ecb14ebb7f29636850a metadata.xml 159
+RMD160 7da5c733c224383ffe350605bc36721a3ff2536f metadata.xml 159
+SHA256 a4ced33e98b00e3a3f725c4c40ef8e76c338db53389465ef871105fbe6e8cbbb metadata.xml 159
+MD5 bd90ff5fbfe953dc158f7678da22b596 files/digest-sun-jce-bin-1.5.0 235
+RMD160 2bf7c8b49f43714fd190c122d4e970be5c6e5c4e files/digest-sun-jce-bin-1.5.0 235
+SHA256 8b7a5f0347361a86ace6ce52f874f2304a04d763c7c3a8ac121c2263ea30d279 files/digest-sun-jce-bin-1.5.0 235
diff --git a/dev-java/sun-jce-bin/files/digest-sun-jce-bin-1.5.0 b/dev-java/sun-jce-bin/files/digest-sun-jce-bin-1.5.0
new file mode 100644
index 000000000000..ea4af36f8ddd
--- /dev/null
+++ b/dev-java/sun-jce-bin/files/digest-sun-jce-bin-1.5.0
@@ -0,0 +1,3 @@
+MD5 169441bba1ca95e84e030e116f258d79 jce_policy-1_5_0.zip 8826
+RMD160 eb12d0333c3ddbbba57a0e825a6891a75ec485c0 jce_policy-1_5_0.zip 8826
+SHA256 4de78da737c6d66b74eb6caebf6bdb0648825a95e2909e815678a0d306bf6d8b jce_policy-1_5_0.zip 8826
diff --git a/dev-java/sun-jce-bin/metadata.xml b/dev-java/sun-jce-bin/metadata.xml
new file mode 100644
index 000000000000..250f2d1940ea
--- /dev/null
+++ b/dev-java/sun-jce-bin/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>java</herd>
+</pkgmetadata>
diff --git a/dev-java/sun-jce-bin/sun-jce-bin-1.5.0.ebuild b/dev-java/sun-jce-bin/sun-jce-bin-1.5.0.ebuild
new file mode 100644
index 000000000000..46131b0b83e5
--- /dev/null
+++ b/dev-java/sun-jce-bin/sun-jce-bin-1.5.0.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jce-bin/sun-jce-bin-1.5.0.ebuild,v 1.1 2006/07/29 05:45:43 nichoj Exp $
+
+inherit java-pkg-2 eutils
+
+jcefile="jce_policy-1_5_0.zip"
+
+S="${WORKDIR}/jdk${MY_PVL}"
+DESCRIPTION="Sun's J2SE Cryptographic extensions, version ${PV}"
+HOMEPAGE="http://java.sun.com/j2se/1.5.0/"
+SRC_URI="${jcefile}"
+SLOT="1.5"
+LICENSE="sun-bcla-java-vm"
+KEYWORDS="~x86 ~amd64"
+RESTRICT="fetch"
+IUSE=""
+
+DEPEND="app-arch/unzip"
+
+FETCH_JCE="http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&PartDetailId=jce_policy-1.5.0-oth-JPR&SiteId=JSC&TransactionId=noreg"
+
+pkg_nofetch() {
+ einfo "Please download ${jcefile} from:"
+ einfo ${FETCH_JCE}
+ einfo "Java(TM) Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files"
+ einfo "and move it to ${DISTDIR}"
+}
+
+src_unpack() {
+ if [ ! -r ${DISTDIR}/${jcefile} ]; then
+ die "cannot read ${jcefile}. Please check the permission and try again."
+ fi
+}
+
+src_install() {
+
+ dodir /opt/${P}/jre/lib/security
+
+ cd ${D}/opt/${P}/jre/lib/security
+ unzip ${DISTDIR}/${jcefile} || die "failed to unzip jce"
+ mv jce unlimited-jce
+ dodir /opt/${P}/jre/lib/security/strong-jce
+}