aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorglewis <glewis@FreeBSD.org>2003-10-07 01:09:27 +0800
committerglewis <glewis@FreeBSD.org>2003-10-07 01:09:27 +0800
commitc88ac8d5d3bf95a54ef5b97a7eb9ef7965ca4119 (patch)
treea7ba6d56e6a5fc34c1497f81849c44bd156446f5 /java
parent9d60880b1cde34f198236b0faab6c2d7cf1d5649 (diff)
downloadfreebsd-ports-graphics-c88ac8d5d3bf95a54ef5b97a7eb9ef7965ca4119.tar.gz
freebsd-ports-graphics-c88ac8d5d3bf95a54ef5b97a7eb9ef7965ca4119.tar.zst
freebsd-ports-graphics-c88ac8d5d3bf95a54ef5b97a7eb9ef7965ca4119.zip
. Update to 1.2.2.017.
. Some minor syncing with the linux-sun-jdk13 port while I'm here.
Diffstat (limited to 'java')
-rw-r--r--java/linux-sun-jdk12/Makefile7
-rw-r--r--java/linux-sun-jdk12/distinfo2
-rw-r--r--java/linux-sun-jdk12/pkg-plist3
3 files changed, 7 insertions, 5 deletions
diff --git a/java/linux-sun-jdk12/Makefile b/java/linux-sun-jdk12/Makefile
index fafa6b45af3..634c198be57 100644
--- a/java/linux-sun-jdk12/Makefile
+++ b/java/linux-sun-jdk12/Makefile
@@ -24,14 +24,15 @@ PLIST_SUB+= T=${APP_HOME:S/^${PREFIX}\///}
NO_BUILD= yes
USE_LINUX= yes
-JDK_VERSION= 1.2.2.015
+JDK_VERSION= 1.2.2.017
ONLY_FOR_ARCHS= i386
NO_CDROM= "License does not allow distribution with fee"
RESTRICTED= "Redistribution of repackaged binaries not permitted"
APP_HOME= ${PREFIX}/${PKGNAMEPREFIX}jdk1.2.2
-DOWNLOAD_URL= http://java.sun.com/Download5?config-file=${PORTNAME}-${JDK_VERSION:S/./_/g}.config&platform=linux-i586
+SUN_BUNDLE_ID?= 9153
+DOWNLOAD_URL?= http://java.sun.com/webapps/download/Display?BundleId=${SUN_BUNDLE_ID}
.include <bsd.port.pre.mk>
@@ -53,7 +54,7 @@ do-install:
@${ECHO_CMD} " [ DONE ]"
@${ECHO_CMD} -n ">> Registering with javavm..."
- @${LOCALBASE}/bin/registervm "${APP_HOME}/bin/java # Sun-JDK${PORTVERSION}_${PORTREVISION}"
+ @${LOCALBASE}/bin/registervm "${APP_HOME}/bin/java # Linux-Sun-JDK${PORTVERSION}_${PORTREVISION}"
@${ECHO_CMD} " [ DONE ]"
.include <bsd.port.post.mk>
diff --git a/java/linux-sun-jdk12/distinfo b/java/linux-sun-jdk12/distinfo
index 066e42534f2..499c268cef7 100644
--- a/java/linux-sun-jdk12/distinfo
+++ b/java/linux-sun-jdk12/distinfo
@@ -1 +1 @@
-MD5 (jdk-1_2_2_015-linux-i586.tar.gz) = e321a6fe2267fee665f6bf7c1122f4f5
+MD5 (jdk-1_2_2_017-linux-i586.tar.gz) = 31b43e0da46d0d7f2b04d2d78f21a8cc
diff --git a/java/linux-sun-jdk12/pkg-plist b/java/linux-sun-jdk12/pkg-plist
index 5c6989d3cad..79487d3adff 100644
--- a/java/linux-sun-jdk12/pkg-plist
+++ b/java/linux-sun-jdk12/pkg-plist
@@ -1,4 +1,5 @@
-@unexec %%LOCALBASE%%/bin/unregistervm "%D/%%T%%/bin/java"
+@exec %D/bin/registervm "%D/%%T%%/bin/java # Linux-JDK%%JDK_VERSION%%"
+@unexec %D/bin/unregistervm "%D/%%T%%/bin/java"
%%T%%/CHANGES
%%T%%/COPYRIGHT
%%T%%/LICENSE