aboutsummaryrefslogtreecommitdiffstats
path: root/java/linux-sun-jdk14
diff options
context:
space:
mode:
authorglewis <glewis@FreeBSD.org>2003-03-06 01:37:17 +0800
committerglewis <glewis@FreeBSD.org>2003-03-06 01:37:17 +0800
commit8e167940d474e314d4225be1d5985f04d176001e (patch)
tree8ff8194a37acedaa7df6e83ca56fe98677609fb0 /java/linux-sun-jdk14
parent94ba193be45f1efb5d74815aac91035a7b814143 (diff)
downloadfreebsd-ports-gnome-8e167940d474e314d4225be1d5985f04d176001e.tar.gz
freebsd-ports-gnome-8e167940d474e314d4225be1d5985f04d176001e.tar.zst
freebsd-ports-gnome-8e167940d474e314d4225be1d5985f04d176001e.zip
. Update to 1.4.1_02
. find -> ${FIND} . Make install owner/group safe. (*) PR: 36411 (*) Approved by: znerd
Diffstat (limited to 'java/linux-sun-jdk14')
-rw-r--r--java/linux-sun-jdk14/Makefile10
-rw-r--r--java/linux-sun-jdk14/distinfo2
-rw-r--r--java/linux-sun-jdk14/pkg-plist12
3 files changed, 18 insertions, 6 deletions
diff --git a/java/linux-sun-jdk14/Makefile b/java/linux-sun-jdk14/Makefile
index 9e0d86bc6179..3a6cc7fab876 100644
--- a/java/linux-sun-jdk14/Makefile
+++ b/java/linux-sun-jdk14/Makefile
@@ -7,7 +7,7 @@
PORTNAME= jdk
PORTVERSION= ${INSTALL_JDK_VERSION}
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= java devel
MASTER_SITES= #
PKGNAMEPREFIX= linux-sun-
@@ -31,12 +31,13 @@ PLIST_SUB+= T=${APP_HOME:S/^${PREFIX}\///} PORTVERSION=${PORTVERSION}
NO_BUILD= yes
USE_LINUX= yes
-DL_JDK_VERSION= 1.4.1_01
+DL_JDK_VERSION= 1.4.1_02
INSTALL_JDK_VERSION= 1.4.1
ONLY_FOR_ARCHS= i386
DOWNLOAD_URL?= http://java.sun.com/webapps/download/Display?BundleId=7143
PORTTITLE= Java 2 Development Kit ${INSTALL_JDK_VERSION} for Linux
APP_HOME= ${PREFIX}/${PKGNAMEPREFIX}${PORTNAME}${INSTALL_JDK_VERSION}
+CPIO?= /usr/bin/cpio
.include <bsd.port.pre.mk>
@@ -51,11 +52,12 @@ post-fetch:
@${CHMOD} +x ${DISTDIR}/${DISTFILES}
post-patch:
- find ${WRKSRC} -name '*.orig' -print | xargs ${RM} -f
+ ${FIND} ${WRKSRC} -name '*.orig' -print | xargs ${RM} -f
do-install:
${MKDIR} ${APP_HOME}
- ${TAR} -C ${WRKSRC} -cf- . | ${TAR} -C ${APP_HOME} -xpf-
+ cd ${WRKSRC} && ${FIND} . -name '*' -print \
+ | ${CPIO} -pdmu -R ${LIBOWN}:${LIBGRP} ${APP_HOME}
${LOCALBASE}/bin/registervm "${APP_HOME}/bin/java # Linux-Sun-JDK${PORTVERSION}"
.include <bsd.port.post.mk>
diff --git a/java/linux-sun-jdk14/distinfo b/java/linux-sun-jdk14/distinfo
index 32dbcd53f897..c19ffe23311e 100644
--- a/java/linux-sun-jdk14/distinfo
+++ b/java/linux-sun-jdk14/distinfo
@@ -1 +1 @@
-MD5 (j2sdk-1_4_1_01-linux-i586.bin) = 107f0a7990d1f12713fe6fe968132989
+MD5 (j2sdk-1_4_1_02-linux-i586.bin) = fc84332015e32f6ac8615b0ef84dd9c4
diff --git a/java/linux-sun-jdk14/pkg-plist b/java/linux-sun-jdk14/pkg-plist
index 5a7b1455707d..9547b6e266e9 100644
--- a/java/linux-sun-jdk14/pkg-plist
+++ b/java/linux-sun-jdk14/pkg-plist
@@ -1,3 +1,13 @@
+%%T%%/jre/LICENSE_de
+%%T%%/jre/LICENSE_en
+%%T%%/jre/LICENSE_es
+%%T%%/jre/LICENSE_fr
+%%T%%/jre/LICENSE_it
+%%T%%/jre/LICENSE_ja
+%%T%%/jre/LICENSE_ko
+%%T%%/jre/LICENSE_sv
+%%T%%/jre/LICENSE_zh_CN
+%%T%%/jre/LICENSE_zh_TW
%%T%%/jre/bin/java
%%T%%/jre/bin/keytool
%%T%%/jre/bin/policytool
@@ -523,7 +533,7 @@
%%T%%/jre/plugin/i386/ns600/libjavaplugin_oji.so
%%T%%/jre/plugin/i386/ns610/libjavaplugin_oji.so
%%T%%/jre/ControlPanel.html
-%%T%%/jre/javaws-1_2_0_01-linux-i586-i.zip
+%%T%%/jre/javaws-1_2_0_02-linux-i586-i.zip
%%T%%/lib/htmlconverter.jar
%%T%%/lib/tools.jar
%%T%%/lib/orb.idl