. 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]
This commit is contained in:
Greg Lewis 2017-10-22 19:13:32 +00:00
parent 6a59b2a3ed
commit ca87bf78df
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=452679
3 changed files with 14 additions and 11 deletions

View file

@ -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

View file

@ -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

View file

@ -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