summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2008-05-17 18:06:49 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2008-05-17 18:06:49 +0000
commitf63c06852f9b20c2b0ffdd47451fb044f6a8f3b8 (patch)
tree6d9587abb9a8e2a6cff8f51713585b7929f0b9ec /dev-java/sun-jdk
parentStable on ppc wrt bug 216164 (diff)
downloadgentoo-2-f63c06852f9b20c2b0ffdd47451fb044f6a8f3b8.tar.gz
gentoo-2-f63c06852f9b20c2b0ffdd47451fb044f6a8f3b8.tar.bz2
gentoo-2-f63c06852f9b20c2b0ffdd47451fb044f6a8f3b8.zip
Fix download URLs because of changes in Sun web site. Fixes bug #220375.
(Portage version: 2.1.5_rc10)
Diffstat (limited to 'dev-java/sun-jdk')
-rw-r--r--dev-java/sun-jdk/ChangeLog6
-rw-r--r--dev-java/sun-jdk/sun-jdk-1.4.2.17.ebuild10
2 files changed, 11 insertions, 5 deletions
diff --git a/dev-java/sun-jdk/ChangeLog b/dev-java/sun-jdk/ChangeLog
index 2e3e17c14e25..3aa4f498dea0 100644
--- a/dev-java/sun-jdk/ChangeLog
+++ b/dev-java/sun-jdk/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-java/sun-jdk
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jdk/ChangeLog,v 1.235 2008/04/17 08:48:05 caster Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jdk/ChangeLog,v 1.236 2008/05/17 18:06:49 betelgeuse Exp $
+
+ 17 May 2008; Petteri Räty <betelgeuse@gentoo.org>
+ sun-jdk-1.4.2.17.ebuild:
+ Fix download URLs because of changes in Sun web site. Fixes bug #220375.
17 Apr 2008; Vlastimil Babka <caster@gentoo.org> sun-jdk-1.6.0.06.ebuild:
Add note about reinstalling eclipse-sdk for bug #215150.
diff --git a/dev-java/sun-jdk/sun-jdk-1.4.2.17.ebuild b/dev-java/sun-jdk/sun-jdk-1.4.2.17.ebuild
index 158dcd1ce4cb..0d0431f2092f 100644
--- a/dev-java/sun-jdk/sun-jdk-1.4.2.17.ebuild
+++ b/dev-java/sun-jdk/sun-jdk-1.4.2.17.ebuild
@@ -1,12 +1,13 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jdk/sun-jdk-1.4.2.17.ebuild,v 1.2 2008/03/06 07:54:56 opfer Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jdk/sun-jdk-1.4.2.17.ebuild,v 1.3 2008/05/17 18:06:49 betelgeuse Exp $
JAVA_SUPPORTS_GENERATION_1="true"
inherit pax-utils java-vm-2 eutils
MY_PV=${PV%.*}_${PV##*.}
-MY_P=j2sdk${MY_PV}
+MY_PN=j2sdk
+MY_P=${MY_PN}${MY_PV}
MY_PVB=${PV%.*}
At="j2sdk-${PV//./_}-linux-i586.bin"
@@ -42,8 +43,9 @@ RDEPEND="
JAVA_PROVIDE="jdbc-stdext"
-DOWNLOAD_URL="http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=8&PartDetailId=j2sdk-${MY_PV}-oth-JPR&SiteId=JSC&TransactionId=noreg"
-DOWNLOAD_URL_JCE="http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&PartDetailId=7503-jce-${MY_PVB}-oth-JPR&SiteId=JSC&TransactionId=noreg"
+DL_PREFIX="https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/ViewProductDetail-Start?ProductRef="
+DOWNLOAD_URL="${DL_PREFIX}${MY_PN}-${MY_PV}-oth-JPR@CDS-CDS_Developer"
+DOWNLOAD_URL_JCE="${DL_PREFIX}7503-jce-1.4.2-oth-JPR@CDS-CDS_Developer"
QA_TEXTRELS_x86="opt/${P}/jre/lib/i386/libawt.so
opt/${P}/jre/plugin/i386/ns4/libjavaplugin.so