diff options
author | Joshua Nichols <nichoj@gentoo.org> | 2006-07-29 05:45:43 +0000 |
---|---|---|
committer | Joshua Nichols <nichoj@gentoo.org> | 2006-07-29 05:45:43 +0000 |
commit | ba5443532088c3d90612732e06617b2d8596b14e (patch) | |
tree | c99855527953d46dfde138b0a956c6d1b694fdaf /dev-java/sun-jce-bin | |
parent | New upstream version. (diff) | |
download | gentoo-2-ba5443532088c3d90612732e06617b2d8596b14e.tar.gz gentoo-2-ba5443532088c3d90612732e06617b2d8596b14e.tar.bz2 gentoo-2-ba5443532088c3d90612732e06617b2d8596b14e.zip |
Initial commit. Taken from java-experimental-overlay.
(Portage version: 2.1.1_pre3-r5)
Diffstat (limited to 'dev-java/sun-jce-bin')
-rw-r--r-- | dev-java/sun-jce-bin/ChangeLog | 10 | ||||
-rw-r--r-- | dev-java/sun-jce-bin/Manifest | 16 | ||||
-rw-r--r-- | dev-java/sun-jce-bin/files/digest-sun-jce-bin-1.5.0 | 3 | ||||
-rw-r--r-- | dev-java/sun-jce-bin/metadata.xml | 5 | ||||
-rw-r--r-- | dev-java/sun-jce-bin/sun-jce-bin-1.5.0.ebuild | 44 |
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..77a0c212ea74 --- /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 1259 RMD160 8f1bfb2f947e77b5e21d25fd13418868b89082f9 SHA1 c1d6bfa01aa1e2993e647909d0ededb74413aee9 SHA256 11716231a37ec172cb352190d2efa4fab1c54a11a11b88df0082a8192be1975b +MD5 bbdf22482f79a6f81b22999d78fd1705 sun-jce-bin-1.5.0.ebuild 1259 +RMD160 8f1bfb2f947e77b5e21d25fd13418868b89082f9 sun-jce-bin-1.5.0.ebuild 1259 +SHA256 11716231a37ec172cb352190d2efa4fab1c54a11a11b88df0082a8192be1975b sun-jce-bin-1.5.0.ebuild 1259 +MISC ChangeLog 268 RMD160 c1867a53db81cf43572d8f7a2dba92503bdf9935 SHA1 b3681740243e39c53089d94aaa1bd46cfa712a9d SHA256 445f0d10f6953cac0b40c37c9d1ef26ea05840ac6cc229dd3f980836660a41ce +MD5 d96a5fa1a01e47815d3f029e76aee71e ChangeLog 268 +RMD160 c1867a53db81cf43572d8f7a2dba92503bdf9935 ChangeLog 268 +SHA256 445f0d10f6953cac0b40c37c9d1ef26ea05840ac6cc229dd3f980836660a41ce ChangeLog 268 +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 +} |