diff options
author | Vlastimil Babka <caster@gentoo.org> | 2006-12-13 01:32:18 +0000 |
---|---|---|
committer | Vlastimil Babka <caster@gentoo.org> | 2006-12-13 01:32:18 +0000 |
commit | 36f78f9af99c47a997f2a1f1837029943800114b (patch) | |
tree | 6ea5756777d3b0f324b702c41fe1db2428376afb /dev-java/sun-jce-bin/sun-jce-bin-1.6.0.ebuild | |
parent | Backported security fix for CVE-2006-6107 to 0.6x series (diff) | |
download | gentoo-2-36f78f9af99c47a997f2a1f1837029943800114b.tar.gz gentoo-2-36f78f9af99c47a997f2a1f1837029943800114b.tar.bz2 gentoo-2-36f78f9af99c47a997f2a1f1837029943800114b.zip |
Version bump for sun-jdk-1.6.0
(Portage version: 2.1.2_rc3-r4)
Diffstat (limited to 'dev-java/sun-jce-bin/sun-jce-bin-1.6.0.ebuild')
-rw-r--r-- | dev-java/sun-jce-bin/sun-jce-bin-1.6.0.ebuild | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/dev-java/sun-jce-bin/sun-jce-bin-1.6.0.ebuild b/dev-java/sun-jce-bin/sun-jce-bin-1.6.0.ebuild new file mode 100644 index 000000000000..00a3982408f3 --- /dev/null +++ b/dev-java/sun-jce-bin/sun-jce-bin-1.6.0.ebuild @@ -0,0 +1,45 @@ +# 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.6.0.ebuild,v 1.1 2006/12/13 01:32:18 caster Exp $ + +jcefile="jce_policy-6.zip" + +DESCRIPTION="Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files ${PV}" +HOMEPAGE="http://java.sun.com/javase/6/" +SRC_URI="${jcefile}" +SLOT="1.6" +LICENSE="sun-bcla-java-vm" +KEYWORDS="~amd64 ~x86 ~x86-fbsd" +RESTRICT="fetch" +IUSE="" + +DEPEND="app-arch/unzip" +RDEPEND="" + +S="${WORKDIR}/jce" + +FETCH_JCE="http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&PartDetailId=jce_policy-6-oth-JPR&SiteId=JSC&TransactionId=noreg" + +pkg_nofetch() { + einfo "Please download ${jcefile} from:" + einfo ${FETCH_JCE} + einfo "(JCE Unlimited Strength Jurisdiction Policy Files 6)" + 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 + + unpack ${A} +} + +src_install() { + dodir /opt/${P}/jre/lib/security/unlimited-jce + + insinto /opt/${P}/jre/lib/security/unlimited-jce + doins *.jar + dodoc README.txt + dohtml COPYRIGHT.html +} |