summaryrefslogtreecommitdiff
path: root/java/linux-oracle-serverjre10
diff options
context:
space:
mode:
authorLev A. Serebryakov <lev@FreeBSD.org>2018-06-18 18:00:28 +0000
committerLev A. Serebryakov <lev@FreeBSD.org>2018-06-18 18:00:28 +0000
commit83bea81d123f0bd3dc753011520adde2167a4fdd (patch)
treebfab83b0037e0ea1ff6a16a69e6b4482477badbf /java/linux-oracle-serverjre10
parent Update to latest version 0.30.2, which should support OpenSSL 1.1.x (diff)
Add Oracle Linux Java 10 JDK/JRE/Server JRE.
This version need linux-c7 and crashes with linux-c6. Works only on amd64. PR: 228848
Notes
Notes: svn path=/head/; revision=472705
Diffstat (limited to 'java/linux-oracle-serverjre10')
-rw-r--r--java/linux-oracle-serverjre10/Makefile55
-rw-r--r--java/linux-oracle-serverjre10/distinfo3
-rw-r--r--java/linux-oracle-serverjre10/pkg-descr3
-rw-r--r--java/linux-oracle-serverjre10/pkg-message19
-rw-r--r--java/linux-oracle-serverjre10/pkg-plist277
5 files changed, 357 insertions, 0 deletions
diff --git a/java/linux-oracle-serverjre10/Makefile b/java/linux-oracle-serverjre10/Makefile
new file mode 100644
index 000000000000..1c6807c3bf67
--- /dev/null
+++ b/java/linux-oracle-serverjre10/Makefile
@@ -0,0 +1,55 @@
+# $FreeBSD$
+
+PORTNAME= serverjre
+PORTVERSION= ${JRE_VERSION}.${JRE_UPDATE_VERSION}.${JRE_PATCH_VERSION}
+CATEGORIES= java
+MASTER_SITES= #
+PKGNAMEPREFIX= linux-${JRE_VENDOR}-
+PKGNAMESUFFIX= ${JRE_VERSION}
+DISTNAME= serverjre-${JRE_VERSION}.${JRE_UPDATE_VERSION}.${JRE_PATCH_VERSION}_linux-x64_bin
+
+MAINTAINER= java@FreeBSD.org
+COMMENT= Oracle Java ${JRE_VERSION} Server Runtime Environment for Linux
+
+ONLY_FOR_ARCHS= amd64
+RUN_DEPENDS= javavm:java/javavmwrapper
+
+RESTRICTED= Redistribution of repackaged binaries not permitted
+
+WRKSRC= ${WRKDIR}/jdk-${DL_JRE_VERSION}
+PLIST_SUB= T=${APP_HOME:S/^${PREFIX}\///} PORTVERSION=${PORTVERSION}
+
+NO_BUILD= yes
+USES= linux:c7
+
+JRE_VENDOR= oracle
+JRE_VERSION= 10
+JRE_UPDATE_VERSION= 0
+JRE_PATCH_VERSION= 1
+.if ${JRE_PATCH_VERSION} == 0
+.if ${JRE_UPDATE_VERSION} == 0
+DL_JRE_VERSION= ${JRE_VERSION}
+.else
+DL_JRE_VERSION= ${JRE_VERSION}.${JRE_UPDATE_VERSION}
+.endif
+.else
+DL_JRE_VERSION= ${JRE_VERSION}.${JRE_UPDATE_VERSION}.${JRE_PATCH_VERSION}
+.endif
+DOWNLOAD_URL= http://www.oracle.com/technetwork/java/javase/downloads/index.html
+
+APP_HOME= ${PREFIX}/${PKGNAMEPREFIX}${PORTNAME}${JRE_VERSION}
+BIN_DIRS= bin
+LIB_DIRS= ${BIN_DIRS:S|bin$|lib|}
+bash_CMD= ${SH}
+
+.include <bsd.port.pre.mk>
+
+.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
+IGNORE?=You must manually fetch the J2SE RE download for the Linux platform (${DISTNAME}${EXTRACT_SUFX}) from ${DOWNLOAD_URL}, place it in ${DISTDIR} and then run make again
+.endif
+
+do-install:
+ @${MKDIR} ${STAGEDIR}${APP_HOME}
+ @cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${APP_HOME}
+
+.include <bsd.port.post.mk>
diff --git a/java/linux-oracle-serverjre10/distinfo b/java/linux-oracle-serverjre10/distinfo
new file mode 100644
index 000000000000..9532728b153d
--- /dev/null
+++ b/java/linux-oracle-serverjre10/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1528568409
+SHA256 (serverjre-10.0.1_linux-x64_bin.tar.gz) = 9c22d2f232c8a298c6fdea12356042814655dec3db24c2b0ff096b21f2c36e43
+SIZE (serverjre-10.0.1_linux-x64_bin.tar.gz) = 59943775
diff --git a/java/linux-oracle-serverjre10/pkg-descr b/java/linux-oracle-serverjre10/pkg-descr
new file mode 100644
index 000000000000..6652fd68e8db
--- /dev/null
+++ b/java/linux-oracle-serverjre10/pkg-descr
@@ -0,0 +1,3 @@
+The Oracle Java 10 Server Runtime Environment for Linux.
+
+WWW: http://www.oracle.com/us/technologies/java/index.html
diff --git a/java/linux-oracle-serverjre10/pkg-message b/java/linux-oracle-serverjre10/pkg-message
new file mode 100644
index 000000000000..3fb23658a588
--- /dev/null
+++ b/java/linux-oracle-serverjre10/pkg-message
@@ -0,0 +1,19 @@
+======================================================================
+
+Warning: This JRE may be unstable. You are advised to use the native
+FreeBSD JDK 8, in ports/java/openjdk8.
+
+This Java VM will attempt to obtain some system information by
+accessing files in linux's procfs. You must install the Linux
+emulation procfs filesystem for this to work correctly. The JVM
+will exhibit various problems otherwise. This can be accomplished
+by adding the following line to your /etc/fstab file:
+
+ linprocfs /compat/linux/proc linprocfs rw 0 0
+
+and then, as root, executing the commands:
+
+kldload linprocfs
+mount /compat/linux/proc
+
+======================================================================
diff --git a/java/linux-oracle-serverjre10/pkg-plist b/java/linux-oracle-serverjre10/pkg-plist
new file mode 100644
index 000000000000..b26b00f5d43c
--- /dev/null
+++ b/java/linux-oracle-serverjre10/pkg-plist
@@ -0,0 +1,277 @@
+%%T%%/README.html
+@mode 555
+%%T%%/bin/jar
+%%T%%/bin/jarsigner
+%%T%%/bin/java
+@javavm %%RESETPREFIX%%/%%T%%/bin/java
+%%T%%/bin/javac
+%%T%%/bin/jcmd
+%%T%%/bin/jdb
+%%T%%/bin/jinfo
+%%T%%/bin/jmap
+%%T%%/bin/jps
+%%T%%/bin/jrunscript
+%%T%%/bin/jstack
+%%T%%/bin/jstat
+%%T%%/bin/jstatd
+%%T%%/bin/keytool
+%%T%%/bin/rmid
+%%T%%/bin/rmiregistry
+%%T%%/bin/schemagen
+%%T%%/bin/serialver
+%%T%%/bin/wsgen
+%%T%%/bin/wsimport
+%%T%%/bin/xjc
+@mode
+%%T%%/conf/logging.properties
+%%T%%/conf/management/jmxremote.access
+%%T%%/conf/management/jmxremote.password.template
+%%T%%/conf/management/management.properties
+%%T%%/conf/net.properties
+%%T%%/conf/security/java.policy
+%%T%%/conf/security/java.security
+%%T%%/conf/security/policy/README.txt
+%%T%%/conf/security/policy/limited/default_US_export.policy
+%%T%%/conf/security/policy/limited/default_local.policy
+%%T%%/conf/security/policy/limited/exempt_local.policy
+%%T%%/conf/security/policy/unlimited/default_US_export.policy
+%%T%%/conf/security/policy/unlimited/default_local.policy
+%%T%%/conf/sound.properties
+%%T%%/include/classfile_constants.h
+%%T%%/include/jawt.h
+%%T%%/include/jdwpTransport.h
+%%T%%/include/jni.h
+%%T%%/include/jvmti.h
+%%T%%/include/jvmticmlr.h
+%%T%%/include/linux/jawt_md.h
+%%T%%/include/linux/jni_md.h
+%%T%%/legal/java.activation/COPYRIGHT
+%%T%%/legal/java.activation/LICENSE
+%%T%%/legal/java.base/aes.md
+%%T%%/legal/java.base/asm.md
+%%T%%/legal/java.base/cldr.md
+%%T%%/legal/java.base/COPYRIGHT
+%%T%%/legal/java.base/icu.md
+%%T%%/legal/java.base/LICENSE
+%%T%%/legal/java.base/public_suffix.md
+%%T%%/legal/java.base/zlib.md
+%%T%%/legal/java.compiler/COPYRIGHT
+%%T%%/legal/java.compiler/LICENSE
+%%T%%/legal/java.datatransfer/COPYRIGHT
+%%T%%/legal/java.datatransfer/LICENSE
+%%T%%/legal/java.desktop/colorimaging.md
+%%T%%/legal/java.desktop/COPYRIGHT
+%%T%%/legal/java.desktop/giflib.md
+%%T%%/legal/java.desktop/harfbuzz.md
+%%T%%/legal/java.desktop/jpeg.md
+%%T%%/legal/java.desktop/lcms.md
+%%T%%/legal/java.desktop/libpng.md
+%%T%%/legal/java.desktop/LICENSE
+%%T%%/legal/java.desktop/mesa3d.md
+%%T%%/legal/java.desktop/opengl.md
+%%T%%/legal/java.desktop/xwindows.md
+%%T%%/legal/java.instrument/COPYRIGHT
+%%T%%/legal/java.instrument/LICENSE
+%%T%%/legal/java.logging/COPYRIGHT
+%%T%%/legal/java.logging/LICENSE
+%%T%%/legal/java.management.rmi/COPYRIGHT
+%%T%%/legal/java.management.rmi/LICENSE
+%%T%%/legal/java.management/COPYRIGHT
+%%T%%/legal/java.management/LICENSE
+%%T%%/legal/java.naming/COPYRIGHT
+%%T%%/legal/java.naming/LICENSE
+%%T%%/legal/java.prefs/COPYRIGHT
+%%T%%/legal/java.prefs/LICENSE
+%%T%%/legal/java.rmi/COPYRIGHT
+%%T%%/legal/java.rmi/LICENSE
+%%T%%/legal/java.scripting/COPYRIGHT
+%%T%%/legal/java.scripting/LICENSE
+%%T%%/legal/java.se/COPYRIGHT
+%%T%%/legal/java.se/LICENSE
+%%T%%/legal/java.security.jgss/COPYRIGHT
+%%T%%/legal/java.security.jgss/LICENSE
+%%T%%/legal/java.security.sasl/COPYRIGHT
+%%T%%/legal/java.security.sasl/LICENSE
+%%T%%/legal/java.smartcardio/COPYRIGHT
+%%T%%/legal/java.smartcardio/LICENSE
+%%T%%/legal/java.smartcardio/pcsclite.md
+%%T%%/legal/java.sql.rowset/COPYRIGHT
+%%T%%/legal/java.sql.rowset/LICENSE
+%%T%%/legal/java.sql/COPYRIGHT
+%%T%%/legal/java.sql/LICENSE
+%%T%%/legal/java.transaction/COPYRIGHT
+%%T%%/legal/java.transaction/LICENSE
+%%T%%/legal/java.xml.bind/COPYRIGHT
+%%T%%/legal/java.xml.bind/LICENSE
+%%T%%/legal/java.xml.crypto/COPYRIGHT
+%%T%%/legal/java.xml.crypto/LICENSE
+%%T%%/legal/java.xml.crypto/santuario.md
+%%T%%/legal/java.xml.ws.annotation/COPYRIGHT
+%%T%%/legal/java.xml.ws.annotation/LICENSE
+%%T%%/legal/java.xml.ws/COPYRIGHT
+%%T%%/legal/java.xml.ws/LICENSE
+%%T%%/legal/java.xml/bcel.md
+%%T%%/legal/java.xml/COPYRIGHT
+%%T%%/legal/java.xml/dom.md
+%%T%%/legal/java.xml/jcup.md
+%%T%%/legal/java.xml/LICENSE
+%%T%%/legal/java.xml/xalan.md
+%%T%%/legal/java.xml/xerces.md
+%%T%%/legal/jdk.attach/COPYRIGHT
+%%T%%/legal/jdk.attach/LICENSE
+%%T%%/legal/jdk.charsets/COPYRIGHT
+%%T%%/legal/jdk.charsets/LICENSE
+%%T%%/legal/jdk.compiler/COPYRIGHT
+%%T%%/legal/jdk.compiler/LICENSE
+%%T%%/legal/jdk.crypto.cryptoki/COPYRIGHT
+%%T%%/legal/jdk.crypto.cryptoki/LICENSE
+%%T%%/legal/jdk.crypto.cryptoki/pkcs11cryptotoken.md
+%%T%%/legal/jdk.crypto.cryptoki/pkcs11wrapper.md
+%%T%%/legal/jdk.crypto.ec/COPYRIGHT
+%%T%%/legal/jdk.crypto.ec/ecc.md
+%%T%%/legal/jdk.crypto.ec/LICENSE
+%%T%%/legal/jdk.dynalink/COPYRIGHT
+%%T%%/legal/jdk.dynalink/dynalink.md
+%%T%%/legal/jdk.dynalink/LICENSE
+%%T%%/legal/jdk.httpserver/COPYRIGHT
+%%T%%/legal/jdk.httpserver/LICENSE
+%%T%%/legal/jdk.internal.jvmstat/COPYRIGHT
+%%T%%/legal/jdk.internal.jvmstat/LICENSE
+%%T%%/legal/jdk.internal.le/COPYRIGHT
+%%T%%/legal/jdk.internal.le/jline.md
+%%T%%/legal/jdk.internal.le/LICENSE
+%%T%%/legal/jdk.internal.opt/COPYRIGHT
+%%T%%/legal/jdk.internal.opt/jopt-simple.md
+%%T%%/legal/jdk.internal.opt/LICENSE
+%%T%%/legal/jdk.internal.vm.ci/COPYRIGHT
+%%T%%/legal/jdk.internal.vm.ci/LICENSE
+%%T%%/legal/jdk.internal.vm.compiler.management/COPYRIGHT
+%%T%%/legal/jdk.internal.vm.compiler.management/LICENSE
+%%T%%/legal/jdk.internal.vm.compiler/COPYRIGHT
+%%T%%/legal/jdk.internal.vm.compiler/LICENSE
+%%T%%/legal/jdk.jartool/COPYRIGHT
+%%T%%/legal/jdk.jartool/LICENSE
+%%T%%/legal/jdk.jcmd/COPYRIGHT
+%%T%%/legal/jdk.jcmd/LICENSE
+%%T%%/legal/jdk.jdi/COPYRIGHT
+%%T%%/legal/jdk.jdi/LICENSE
+%%T%%/legal/jdk.jdwp.agent/COPYRIGHT
+%%T%%/legal/jdk.jdwp.agent/LICENSE
+%%T%%/legal/jdk.jsobject/COPYRIGHT
+%%T%%/legal/jdk.jsobject/LICENSE
+%%T%%/legal/jdk.jstatd/COPYRIGHT
+%%T%%/legal/jdk.jstatd/LICENSE
+%%T%%/legal/jdk.localedata/cldr.md
+%%T%%/legal/jdk.localedata/COPYRIGHT
+%%T%%/legal/jdk.localedata/LICENSE
+%%T%%/legal/jdk.localedata/thaidict.md
+%%T%%/legal/jdk.management.agent/COPYRIGHT
+%%T%%/legal/jdk.management.agent/LICENSE
+%%T%%/legal/jdk.management/COPYRIGHT
+%%T%%/legal/jdk.management/LICENSE
+%%T%%/legal/jdk.naming.dns/COPYRIGHT
+%%T%%/legal/jdk.naming.dns/LICENSE
+%%T%%/legal/jdk.naming.rmi/COPYRIGHT
+%%T%%/legal/jdk.naming.rmi/LICENSE
+%%T%%/legal/jdk.net/COPYRIGHT
+%%T%%/legal/jdk.net/LICENSE
+%%T%%/legal/jdk.scripting.nashorn/COPYRIGHT
+%%T%%/legal/jdk.scripting.nashorn/double-conversion.md
+%%T%%/legal/jdk.scripting.nashorn/joni.md
+%%T%%/legal/jdk.scripting.nashorn/LICENSE
+%%T%%/legal/jdk.sctp/COPYRIGHT
+%%T%%/legal/jdk.sctp/LICENSE
+%%T%%/legal/jdk.security.auth/COPYRIGHT
+%%T%%/legal/jdk.security.auth/LICENSE
+%%T%%/legal/jdk.security.jgss/COPYRIGHT
+%%T%%/legal/jdk.security.jgss/LICENSE
+%%T%%/legal/jdk.unsupported/COPYRIGHT
+%%T%%/legal/jdk.unsupported/LICENSE
+%%T%%/legal/jdk.xml.bind/COPYRIGHT
+%%T%%/legal/jdk.xml.bind/freebxml.md
+%%T%%/legal/jdk.xml.bind/LICENSE
+%%T%%/legal/jdk.xml.bind/relaxngdatatype.md
+%%T%%/legal/jdk.xml.bind/rngom.md
+%%T%%/legal/jdk.xml.bind/xmlresolver.md
+%%T%%/legal/jdk.xml.dom/COPYRIGHT
+%%T%%/legal/jdk.xml.dom/LICENSE
+%%T%%/legal/jdk.xml.ws/COPYRIGHT
+%%T%%/legal/jdk.xml.ws/LICENSE
+%%T%%/legal/jdk.zipfs/COPYRIGHT
+%%T%%/legal/jdk.zipfs/LICENSE
+%%T%%/lib/classlist
+%%T%%/lib/ct.sym
+%%T%%/lib/fontconfig.RedHat.6.bfc
+%%T%%/lib/fontconfig.RedHat.6.properties.src
+%%T%%/lib/fontconfig.SuSE.11.bfc
+%%T%%/lib/fontconfig.SuSE.11.properties.src
+%%T%%/lib/fontconfig.bfc
+%%T%%/lib/fontconfig.properties.src
+%%T%%/lib/fonts/LucidaBrightDemiBold.ttf
+%%T%%/lib/fonts/LucidaBrightDemiItalic.ttf
+%%T%%/lib/fonts/LucidaBrightItalic.ttf
+%%T%%/lib/fonts/LucidaBrightRegular.ttf
+%%T%%/lib/fonts/LucidaSansDemiBold.ttf
+%%T%%/lib/fonts/LucidaSansRegular.ttf
+%%T%%/lib/fonts/LucidaTypewriterBold.ttf
+%%T%%/lib/fonts/LucidaTypewriterRegular.ttf
+%%T%%/lib/fonts/fonts.dir
+@(,,555) %%T%%/lib/jexec
+%%T%%/lib/jli/libjli.so
+%%T%%/lib/jrt-fs.jar
+%%T%%/lib/jvm.cfg
+%%T%%/lib/libattach.so
+%%T%%/lib/libawt.so
+%%T%%/lib/libawt_headless.so
+%%T%%/lib/libawt_xawt.so
+%%T%%/lib/libbci.so
+%%T%%/lib/libdt_socket.so
+%%T%%/lib/libextnet.so
+%%T%%/lib/libfontmanager.so
+%%T%%/lib/libinstrument.so
+%%T%%/lib/libj2gss.so
+%%T%%/lib/libj2pcsc.so
+%%T%%/lib/libj2pkcs11.so
+%%T%%/lib/libjaas_unix.so
+%%T%%/lib/libjava.so
+%%T%%/lib/libjavajpeg.so
+%%T%%/lib/libjawt.so
+%%T%%/lib/libjdwp.so
+%%T%%/lib/libjimage.so
+%%T%%/lib/libjsig.so
+%%T%%/lib/libjsound.so
+%%T%%/lib/libjsoundalsa.so
+%%T%%/lib/liblcms.so
+%%T%%/lib/libmanagement.so
+%%T%%/lib/libmanagement_agent.so
+%%T%%/lib/libmanagement_ext.so
+%%T%%/lib/libmlib_image.so
+%%T%%/lib/libnet.so
+%%T%%/lib/libnio.so
+%%T%%/lib/libprefs.so
+%%T%%/lib/librmi.so
+%%T%%/lib/libsctp.so
+%%T%%/lib/libsplashscreen.so
+%%T%%/lib/libsunec.so
+%%T%%/lib/libt2k.so
+%%T%%/lib/libverify.so
+%%T%%/lib/libzip.so
+%%T%%/lib/modules
+%%T%%/lib/oblique-fonts/LucidaSansDemiOblique.ttf
+%%T%%/lib/oblique-fonts/LucidaSansOblique.ttf
+%%T%%/lib/oblique-fonts/LucidaTypewriterBoldOblique.ttf
+%%T%%/lib/oblique-fonts/LucidaTypewriterOblique.ttf
+%%T%%/lib/oblique-fonts/fonts.dir
+%%T%%/lib/psfont.properties.ja
+%%T%%/lib/psfontj2d.properties
+%%T%%/lib/security/blacklist
+%%T%%/lib/security/blacklisted.certs
+%%T%%/lib/security/cacerts
+%%T%%/lib/security/default.policy
+%%T%%/lib/security/public_suffix_list.dat
+%%T%%/lib/security/trusted.libraries
+%%T%%/lib/server/Xusage.txt
+%%T%%/lib/server/libjsig.so
+%%T%%/lib/server/libjvm.so
+%%T%%/lib/tzdb.dat
+%%T%%/release