aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorglewis <glewis@FreeBSD.org>2017-10-23 03:13:32 +0800
committerglewis <glewis@FreeBSD.org>2017-10-23 03:13:32 +0800
commit4d41e830e9f513de303aabdf3b3879e1a5f4650a (patch)
treeccaf18728c1e6462d38e9f8bc04b0f4999ddbe11 /java
parent60d9e923c6ed078e9f5d9ed8dcbd737cb7ac58c2 (diff)
downloadfreebsd-ports-gnome-4d41e830e9f513de303aabdf3b3879e1a5f4650a.tar.gz
freebsd-ports-gnome-4d41e830e9f513de303aabdf3b3879e1a5f4650a.tar.zst
freebsd-ports-gnome-4d41e830e9f513de303aabdf3b3879e1a5f4650a.zip
. Update to 9.0.1
. Fix ONLY_FOR_ARCHS to not include i386 [1] . Rework versioning now the update format has been revealed . Add missing symlink to the packing list PR: 222540 [1] Submitted by: Michael Osipov [1]
Diffstat (limited to 'java')
-rw-r--r--java/linux-oracle-jdk9/Makefile15
-rw-r--r--java/linux-oracle-jdk9/distinfo6
-rw-r--r--java/linux-oracle-jdk9/pkg-plist4
3 files changed, 14 insertions, 11 deletions
diff --git a/java/linux-oracle-jdk9/Makefile b/java/linux-oracle-jdk9/Makefile
index 747198202920..243ea3e5c396 100644
--- a/java/linux-oracle-jdk9/Makefile
+++ b/java/linux-oracle-jdk9/Makefile
@@ -1,17 +1,17 @@
# $FreeBSD$
PORTNAME= jdk
-PORTVERSION= ${JDK_VERSION}.${JDK_UPDATE_VERSION}
+PORTVERSION= ${JDK_VERSION}.${JDK_UPDATE_VERSION}.${JDK_PATCH_VERSION}
CATEGORIES= java devel
MASTER_SITES= #
PKGNAMEPREFIX= linux-${JDK_VENDOR}-
PKGNAMESUFFIX= ${JDK_VERSION}
-DISTNAME= jdk-${JDK_VERSION}_linux-x64_bin
+DISTNAME= jdk-${JDK_VERSION}.${JDK_UPDATE_VERSION}.${JDK_PATCH_VERSION}_linux-x64_bin
MAINTAINER= java@FreeBSD.org
COMMENT= Oracle Java ${JDK_VERSION} Development Kit for Linux
-ONLY_FOR_ARCHS= amd64 i386
+ONLY_FOR_ARCHS= amd64
RUN_DEPENDS= javavm:java/javavmwrapper
RESTRICTED= Redistribution of repackaged binaries not permitted
@@ -26,12 +26,15 @@ USE_LINUX= xorglibs
JDK_VENDOR= oracle
JDK_VERSION= 9
JDK_UPDATE_VERSION= 0
+JDK_PATCH_VERSION= 1
+.if ${JDK_PATCH_VERSION} == 0
.if ${JDK_UPDATE_VERSION} == 0
DL_JDK_VERSION= ${JDK_VERSION}
-.elif ${JDK_UPDATE_VERSION} <= 9
-DL_JDK_VERSION= ${JDK_VERSION}_0${JDK_UPDATE_VERSION}
.else
-DL_JDK_VERSION= ${JDK_VERSION}_${JDK_UPDATE_VERSION}
+DL_JDK_VERSION= ${JDK_VERSION}.${JDK_UPDATE_VERSION}
+.endif
+.else
+DL_JDK_VERSION= ${JDK_VERSION}.${JDK_UPDATE_VERSION}.${JDK_PATCH_VERSION}
.endif
DOWNLOAD_URL= http://www.oracle.com/technetwork/java/javase/downloads/index.html
diff --git a/java/linux-oracle-jdk9/distinfo b/java/linux-oracle-jdk9/distinfo
index ac26306f76bf..d25de7174857 100644
--- a/java/linux-oracle-jdk9/distinfo
+++ b/java/linux-oracle-jdk9/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1506198886
-SHA256 (jdk-9_linux-x64_bin.tar.gz) = 1c6d783a54fcc0673ed1f8c5e8650b1d8977ca3e856a03fba0090198e0f16f6d
-SIZE (jdk-9_linux-x64_bin.tar.gz) = 346271941
+TIMESTAMP = 1508698636
+SHA256 (jdk-9.0.1_linux-x64_bin.tar.gz) = 2cdaf0ff92d0829b510edd883a4ac8322c02f2fc1beae95d048b6716076bc014
+SIZE (jdk-9.0.1_linux-x64_bin.tar.gz) = 354531775
diff --git a/java/linux-oracle-jdk9/pkg-plist b/java/linux-oracle-jdk9/pkg-plist
index 9c2f909834c2..3d767ab9b6af 100644
--- a/java/linux-oracle-jdk9/pkg-plist
+++ b/java/linux-oracle-jdk9/pkg-plist
@@ -67,6 +67,7 @@
%%T%%/conf/security/policy/unlimited/default_local.policy
%%T%%/conf/sound.properties
%%T%%/include/classfile_constants.h
+%%T%%/include/freebsd
%%T%%/include/ir.idl
%%T%%/include/jawt.h
%%T%%/include/jdwpTransport.h
@@ -277,7 +278,7 @@
%%T%%/legal/javafx.swing/LICENSE
%%T%%/legal/javafx.web/COPYRIGHT
%%T%%/legal/javafx.web/LICENSE
-%%T%%/legal/javafx.web/icu_v48.md
+%%T%%/legal/javafx.web/icu_v51.md
%%T%%/legal/javafx.web/libxml2.md
%%T%%/legal/javafx.web/libxslt.md
%%T%%/legal/javafx.web/webkit.md
@@ -1217,4 +1218,3 @@
%%T%%/lib/src.zip
%%T%%/lib/tzdb.dat
%%T%%/release
-@dir %%T%%/lib/missioncontrol/p2/org.eclipse.equinox.p2.engine/profileRegistry/JMC.profile/.data