summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSerkan Kaba <serkan@gentoo.org>2008-06-15 20:50:15 +0000
committerSerkan Kaba <serkan@gentoo.org>2008-06-15 20:50:15 +0000
commit5129792b26cb9c2092f9c9fd8c3ef997a2907e10 (patch)
treefdd1937eb7abe1f89be6cf7608b68b1530408962 /dev-java/sun-jce-bin
parentforce stable for pointless rev bump. (diff)
downloadgentoo-2-5129792b26cb9c2092f9c9fd8c3ef997a2907e10.tar.gz
gentoo-2-5129792b26cb9c2092f9c9fd8c3ef997a2907e10.tar.bz2
gentoo-2-5129792b26cb9c2092f9c9fd8c3ef997a2907e10.zip
Fixed download URLs and quoting. Reported by Thomas <thomasa88@gmail.com> in bug #227251.
(Portage version: 2.1.4.4)
Diffstat (limited to 'dev-java/sun-jce-bin')
-rw-r--r--dev-java/sun-jce-bin/ChangeLog9
-rw-r--r--dev-java/sun-jce-bin/sun-jce-bin-1.5.0.ebuild10
-rw-r--r--dev-java/sun-jce-bin/sun-jce-bin-1.6.0.ebuild8
3 files changed, 16 insertions, 11 deletions
diff --git a/dev-java/sun-jce-bin/ChangeLog b/dev-java/sun-jce-bin/ChangeLog
index 8c9088790cf4..e6b33f7ce467 100644
--- a/dev-java/sun-jce-bin/ChangeLog
+++ b/dev-java/sun-jce-bin/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-java/sun-jce-bin
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jce-bin/ChangeLog,v 1.8 2007/10/12 00:32:21 wltjr Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jce-bin/ChangeLog,v 1.9 2008/06/15 20:50:15 serkan Exp $
+
+ 15 Jun 2008; Serkan Kaba <serkan@gentoo.org> sun-jce-bin-1.5.0.ebuild,
+ sun-jce-bin-1.6.0.ebuild:
+ Fixed download URLs and quoting. Reported by Thomas <thomasa88@gmail.com>
+ in bug #227251.
12 Oct 2007; William L. Thomson Jr. <wltjr@gentoo.org>
sun-jce-bin-1.5.0.ebuild, sun-jce-bin-1.6.0.ebuild:
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
index 8c2b66d176ab..a8e76ef0b856 100644
--- 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
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 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.6 2007/10/12 00:32:21 wltjr Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jce-bin/sun-jce-bin-1.5.0.ebuild,v 1.7 2008/06/15 20:50:15 serkan Exp $
jcefile="jce_policy-1_5_0.zip"
@@ -17,7 +17,7 @@ IUSE=""
DEPEND="app-arch/unzip"
RDEPEND=""
-FETCH_JCE="http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&PartDetailId=jce_policy-1.5.0-oth-JPR&SiteId=JSC&TransactionId=noreg"
+FETCH_JCE="https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/ViewProductDetail-Start?ProductRef=jce_policy-1.5.0-oth-JPR@CDS-CDS_Developer"
pkg_nofetch() {
einfo "Please download ${jcefile} from:"
@@ -27,7 +27,7 @@ pkg_nofetch() {
}
src_unpack() {
- if [ ! -r ${DISTDIR}/${jcefile} ]; then
+ if [ ! -r "${DISTDIR}"/${jcefile} ]; then
die "cannot read ${jcefile}. Please check the permission and try again."
fi
}
@@ -37,7 +37,7 @@ src_install() {
dodir /opt/${P}/jre/lib/security
cd "${D}"/opt/${P}/jre/lib/security
- unzip ${DISTDIR}/${jcefile} || die "failed to unzip jce"
+ unzip "${DISTDIR}"/${jcefile} || die "failed to unzip jce"
mv jce unlimited-jce
dodir /opt/${P}/jre/lib/security/strong-jce
}
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
index ee2b55d15f84..e89e73106fd5 100644
--- 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
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 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.3 2007/10/12 00:32:21 wltjr Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jce-bin/sun-jce-bin-1.6.0.ebuild,v 1.4 2008/06/15 20:50:15 serkan Exp $
jcefile="jce_policy-6.zip"
@@ -18,7 +18,7 @@ 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"
+FETCH_JCE="https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/ViewProductDetail-Start?ProductRef=jce_policy-6-oth-JPR@CDS-CDS_Developer"
pkg_nofetch() {
einfo "Please download ${jcefile} from:"
@@ -28,7 +28,7 @@ pkg_nofetch() {
}
src_unpack() {
- if [ ! -r ${DISTDIR}/${jcefile} ]; then
+ if [ ! -r "${DISTDIR}"/${jcefile} ]; then
die "cannot read ${jcefile}. Please check the permission and try again."
fi