1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

Add a port to use as a bootstrap for jdk11 ports.

This commit is contained in:
Greg Lewis 2019-03-16 17:58:48 +00:00
parent e407f05205
commit c599836021
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=495931
6 changed files with 279 additions and 0 deletions

View File

@ -9,6 +9,7 @@
SUBDIR += bluej
SUBDIR += bootstrap-openjdk6
SUBDIR += bootstrap-openjdk8
SUBDIR += bootstrap-openjdk11
SUBDIR += bouncycastle
SUBDIR += bouncycastle15
SUBDIR += castor

View File

@ -0,0 +1,33 @@
# $FreeBSD$
PORTNAME= openjdk11
PORTVERSION= 11.0.2
CATEGORIES= java devel
MASTER_SITES= LOCAL/glewis/bootstrap-openjdk11
PKGNAMEPREFIX= bootstrap-
DISTNAME= ${JDK_PORT}-${JDK_ARCH}-${PORTVERSION}
MAINTAINER= java@FreeBSD.org
COMMENT= Java Development Kit 11
LICENSE= GPLv2
ONLY_FOR_ARCHS= amd64
USES= tar:xz
NO_BUILD= yes
PLIST_SUB= JDK_ROOT=${JDK_ROOT}
WRKSRC= ${WRKDIR}/${JDK_ROOT}
JDK_PORT= ${PKGNAMEPREFIX}${PORTNAME}
JDK_ROOT= ${PKGNAMEPREFIX}${PORTNAME}
JDK_ARCH= ${ARCH}
INSTALLDIR= ${STAGEDIR}${PREFIX}/${JDK_ROOT}
do-install:
@cd ${WRKSRC} && ${COPYTREE_SHARE} . ${INSTALLDIR}
@cd ${WRKSRC} && ${COPYTREE_BIN} bin ${INSTALLDIR}
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1552326905
SHA256 (bootstrap-openjdk11-amd64-11.0.2.tar.xz) = 75c4eddc660919bbebf287749b1d1b1eebcd0f75a1455a9657a5c4669da5e9b9
SIZE (bootstrap-openjdk11-amd64-11.0.2.tar.xz) = 106228032

View File

@ -0,0 +1,7 @@
OpenJDK is an open-source implementation of the Java Platform, Standard Edition.
Much of the OpenJDK code is licensed under the GPL version 2 with the
Classpath exception. The Java Hotspot virtual machine source code is
licensed under the GPL version 2 only.
WWW: https://openjdk.java.net/

View File

@ -0,0 +1,19 @@
======================================================================
WARNING: This port only exists for bootstrapping java/openjdk11.
You are advised to remove this port as soon as a stable JDK is built.
This OpenJDK implementation requires fdescfs(5) mounted on /dev/fd and
procfs(5) mounted on /proc.
If you have not done it yet, please do the following:
mount -t fdescfs fdesc /dev/fd
mount -t procfs proc /proc
To make it permanent, you need the following lines in /etc/fstab:
fdesc /dev/fd fdescfs rw 0 0
proc /proc procfs rw 0 0
======================================================================

View File

@ -0,0 +1,216 @@
%%JDK_ROOT%%/bin/jaotc
%%JDK_ROOT%%/bin/jar
%%JDK_ROOT%%/bin/jarsigner
%%JDK_ROOT%%/bin/java
%%JDK_ROOT%%/bin/javac
%%JDK_ROOT%%/bin/javadoc
%%JDK_ROOT%%/bin/javap
%%JDK_ROOT%%/bin/jcmd
%%JDK_ROOT%%/bin/jconsole
%%JDK_ROOT%%/bin/jdb
%%JDK_ROOT%%/bin/jdeprscan
%%JDK_ROOT%%/bin/jdeps
%%JDK_ROOT%%/bin/jimage
%%JDK_ROOT%%/bin/jinfo
%%JDK_ROOT%%/bin/jjs
%%JDK_ROOT%%/bin/jlink
%%JDK_ROOT%%/bin/jmap
%%JDK_ROOT%%/bin/jmod
%%JDK_ROOT%%/bin/jps
%%JDK_ROOT%%/bin/jrunscript
%%JDK_ROOT%%/bin/jshell
%%JDK_ROOT%%/bin/jstack
%%JDK_ROOT%%/bin/jstat
%%JDK_ROOT%%/bin/jstatd
%%JDK_ROOT%%/bin/keytool
%%JDK_ROOT%%/bin/pack200
%%JDK_ROOT%%/bin/rmic
%%JDK_ROOT%%/bin/rmid
%%JDK_ROOT%%/bin/rmiregistry
%%JDK_ROOT%%/bin/serialver
%%JDK_ROOT%%/bin/unpack200
%%JDK_ROOT%%/conf/logging.properties
%%JDK_ROOT%%/conf/management/jmxremote.access
%%JDK_ROOT%%/conf/management/jmxremote.password.template
%%JDK_ROOT%%/conf/management/management.properties
%%JDK_ROOT%%/conf/net.properties
%%JDK_ROOT%%/conf/security/java.policy
%%JDK_ROOT%%/conf/security/java.security
%%JDK_ROOT%%/conf/security/policy/limited/default_local.policy
%%JDK_ROOT%%/conf/security/policy/limited/default_US_export.policy
%%JDK_ROOT%%/conf/security/policy/limited/exempt_local.policy
%%JDK_ROOT%%/conf/security/policy/README.txt
%%JDK_ROOT%%/conf/security/policy/unlimited/default_local.policy
%%JDK_ROOT%%/conf/security/policy/unlimited/default_US_export.policy
%%JDK_ROOT%%/conf/sound.properties
%%JDK_ROOT%%/include/bsd/jawt_md.h
%%JDK_ROOT%%/include/bsd/jni_md.h
%%JDK_ROOT%%/include/classfile_constants.h
%%JDK_ROOT%%/include/jawt.h
%%JDK_ROOT%%/include/jdwpTransport.h
%%JDK_ROOT%%/include/jni.h
%%JDK_ROOT%%/include/jvmti.h
%%JDK_ROOT%%/include/jvmticmlr.h
%%JDK_ROOT%%/jmods/java.base.jmod
%%JDK_ROOT%%/jmods/java.compiler.jmod
%%JDK_ROOT%%/jmods/java.datatransfer.jmod
%%JDK_ROOT%%/jmods/java.desktop.jmod
%%JDK_ROOT%%/jmods/java.instrument.jmod
%%JDK_ROOT%%/jmods/java.logging.jmod
%%JDK_ROOT%%/jmods/java.management.jmod
%%JDK_ROOT%%/jmods/java.management.rmi.jmod
%%JDK_ROOT%%/jmods/java.naming.jmod
%%JDK_ROOT%%/jmods/java.net.http.jmod
%%JDK_ROOT%%/jmods/java.prefs.jmod
%%JDK_ROOT%%/jmods/java.rmi.jmod
%%JDK_ROOT%%/jmods/java.scripting.jmod
%%JDK_ROOT%%/jmods/java.se.jmod
%%JDK_ROOT%%/jmods/java.security.jgss.jmod
%%JDK_ROOT%%/jmods/java.security.sasl.jmod
%%JDK_ROOT%%/jmods/java.smartcardio.jmod
%%JDK_ROOT%%/jmods/java.sql.jmod
%%JDK_ROOT%%/jmods/java.sql.rowset.jmod
%%JDK_ROOT%%/jmods/java.transaction.xa.jmod
%%JDK_ROOT%%/jmods/java.xml.crypto.jmod
%%JDK_ROOT%%/jmods/java.xml.jmod
%%JDK_ROOT%%/jmods/jdk.accessibility.jmod
%%JDK_ROOT%%/jmods/jdk.aot.jmod
%%JDK_ROOT%%/jmods/jdk.attach.jmod
%%JDK_ROOT%%/jmods/jdk.charsets.jmod
%%JDK_ROOT%%/jmods/jdk.compiler.jmod
%%JDK_ROOT%%/jmods/jdk.crypto.cryptoki.jmod
%%JDK_ROOT%%/jmods/jdk.crypto.ec.jmod
%%JDK_ROOT%%/jmods/jdk.dynalink.jmod
%%JDK_ROOT%%/jmods/jdk.editpad.jmod
%%JDK_ROOT%%/jmods/jdk.httpserver.jmod
%%JDK_ROOT%%/jmods/jdk.internal.ed.jmod
%%JDK_ROOT%%/jmods/jdk.internal.jvmstat.jmod
%%JDK_ROOT%%/jmods/jdk.internal.le.jmod
%%JDK_ROOT%%/jmods/jdk.internal.opt.jmod
%%JDK_ROOT%%/jmods/jdk.internal.vm.ci.jmod
%%JDK_ROOT%%/jmods/jdk.internal.vm.compiler.jmod
%%JDK_ROOT%%/jmods/jdk.internal.vm.compiler.management.jmod
%%JDK_ROOT%%/jmods/jdk.jartool.jmod
%%JDK_ROOT%%/jmods/jdk.javadoc.jmod
%%JDK_ROOT%%/jmods/jdk.jcmd.jmod
%%JDK_ROOT%%/jmods/jdk.jconsole.jmod
%%JDK_ROOT%%/jmods/jdk.jdeps.jmod
%%JDK_ROOT%%/jmods/jdk.jdi.jmod
%%JDK_ROOT%%/jmods/jdk.jdwp.agent.jmod
%%JDK_ROOT%%/jmods/jdk.jfr.jmod
%%JDK_ROOT%%/jmods/jdk.jlink.jmod
%%JDK_ROOT%%/jmods/jdk.jshell.jmod
%%JDK_ROOT%%/jmods/jdk.jsobject.jmod
%%JDK_ROOT%%/jmods/jdk.jstatd.jmod
%%JDK_ROOT%%/jmods/jdk.localedata.jmod
%%JDK_ROOT%%/jmods/jdk.management.agent.jmod
%%JDK_ROOT%%/jmods/jdk.management.jfr.jmod
%%JDK_ROOT%%/jmods/jdk.management.jmod
%%JDK_ROOT%%/jmods/jdk.naming.dns.jmod
%%JDK_ROOT%%/jmods/jdk.naming.rmi.jmod
%%JDK_ROOT%%/jmods/jdk.net.jmod
%%JDK_ROOT%%/jmods/jdk.pack.jmod
%%JDK_ROOT%%/jmods/jdk.rmic.jmod
%%JDK_ROOT%%/jmods/jdk.scripting.nashorn.jmod
%%JDK_ROOT%%/jmods/jdk.scripting.nashorn.shell.jmod
%%JDK_ROOT%%/jmods/jdk.sctp.jmod
%%JDK_ROOT%%/jmods/jdk.security.auth.jmod
%%JDK_ROOT%%/jmods/jdk.security.jgss.jmod
%%JDK_ROOT%%/jmods/jdk.unsupported.desktop.jmod
%%JDK_ROOT%%/jmods/jdk.unsupported.jmod
%%JDK_ROOT%%/jmods/jdk.xml.dom.jmod
%%JDK_ROOT%%/jmods/jdk.zipfs.jmod
%%JDK_ROOT%%/legal/java.base/ADDITIONAL_LICENSE_INFO
%%JDK_ROOT%%/legal/java.base/aes.md
%%JDK_ROOT%%/legal/java.base/asm.md
%%JDK_ROOT%%/legal/java.base/ASSEMBLY_EXCEPTION
%%JDK_ROOT%%/legal/java.base/c-libutl.md
%%JDK_ROOT%%/legal/java.base/cldr.md
%%JDK_ROOT%%/legal/java.base/icu.md
%%JDK_ROOT%%/legal/java.base/LICENSE
%%JDK_ROOT%%/legal/java.base/public_suffix.md
%%JDK_ROOT%%/legal/java.base/unicode.md
%%JDK_ROOT%%/legal/java.desktop/colorimaging.md
%%JDK_ROOT%%/legal/java.desktop/harfbuzz.md
%%JDK_ROOT%%/legal/java.desktop/jpeg.md
%%JDK_ROOT%%/legal/java.desktop/lcms.md
%%JDK_ROOT%%/legal/java.desktop/libpng.md
%%JDK_ROOT%%/legal/java.desktop/mesa3d.md
%%JDK_ROOT%%/legal/java.desktop/opengl.md
%%JDK_ROOT%%/legal/java.desktop/xwindows.md
%%JDK_ROOT%%/legal/java.smartcardio/pcsclite.md
%%JDK_ROOT%%/legal/java.xml.crypto/santuario.md
%%JDK_ROOT%%/legal/java.xml/bcel.md
%%JDK_ROOT%%/legal/java.xml/dom.md
%%JDK_ROOT%%/legal/java.xml/jcup.md
%%JDK_ROOT%%/legal/java.xml/xalan.md
%%JDK_ROOT%%/legal/java.xml/xerces.md
%%JDK_ROOT%%/legal/jdk.crypto.cryptoki/pkcs11cryptotoken.md
%%JDK_ROOT%%/legal/jdk.crypto.cryptoki/pkcs11wrapper.md
%%JDK_ROOT%%/legal/jdk.crypto.ec/ecc.md
%%JDK_ROOT%%/legal/jdk.dynalink/dynalink.md
%%JDK_ROOT%%/legal/jdk.internal.le/jline.md
%%JDK_ROOT%%/legal/jdk.internal.opt/jopt-simple.md
%%JDK_ROOT%%/legal/jdk.javadoc/jquery-migrate.md
%%JDK_ROOT%%/legal/jdk.javadoc/jquery.md
%%JDK_ROOT%%/legal/jdk.javadoc/jqueryUI.md
%%JDK_ROOT%%/legal/jdk.javadoc/jszip.md
%%JDK_ROOT%%/legal/jdk.javadoc/pako.md
%%JDK_ROOT%%/legal/jdk.localedata/thaidict.md
%%JDK_ROOT%%/legal/jdk.scripting.nashorn/double-conversion.md
%%JDK_ROOT%%/legal/jdk.scripting.nashorn/joni.md
%%JDK_ROOT%%/lib/classlist
%%JDK_ROOT%%/lib/ct.sym
%%JDK_ROOT%%/lib/fontconfig.bfc
%%JDK_ROOT%%/lib/fontconfig.properties.src
%%JDK_ROOT%%/lib/jfr/default.jfc
%%JDK_ROOT%%/lib/jfr/profile.jfc
%%JDK_ROOT%%/lib/jli/libjli.so
%%JDK_ROOT%%/lib/jrt-fs.jar
%%JDK_ROOT%%/lib/jspawnhelper
%%JDK_ROOT%%/lib/jvm.cfg
%%JDK_ROOT%%/lib/libattach.so
%%JDK_ROOT%%/lib/libawt_headless.so
%%JDK_ROOT%%/lib/libawt_xawt.so
%%JDK_ROOT%%/lib/libawt.so
%%JDK_ROOT%%/lib/libdt_socket.so
%%JDK_ROOT%%/lib/libextnet.so
%%JDK_ROOT%%/lib/libfontmanager.so
%%JDK_ROOT%%/lib/libinstrument.so
%%JDK_ROOT%%/lib/libj2gss.so
%%JDK_ROOT%%/lib/libj2pcsc.so
%%JDK_ROOT%%/lib/libj2pkcs11.so
%%JDK_ROOT%%/lib/libjaas.so
%%JDK_ROOT%%/lib/libjava.so
%%JDK_ROOT%%/lib/libjavajpeg.so
%%JDK_ROOT%%/lib/libjawt.so
%%JDK_ROOT%%/lib/libjdwp.so
%%JDK_ROOT%%/lib/libjimage.so
%%JDK_ROOT%%/lib/libjsig.so
%%JDK_ROOT%%/lib/libjsound.so
%%JDK_ROOT%%/lib/liblcms.so
%%JDK_ROOT%%/lib/libmanagement_agent.so
%%JDK_ROOT%%/lib/libmanagement_ext.so
%%JDK_ROOT%%/lib/libmanagement.so
%%JDK_ROOT%%/lib/libmlib_image.so
%%JDK_ROOT%%/lib/libnet.so
%%JDK_ROOT%%/lib/libnio.so
%%JDK_ROOT%%/lib/libprefs.so
%%JDK_ROOT%%/lib/librmi.so
%%JDK_ROOT%%/lib/libsplashscreen.so
%%JDK_ROOT%%/lib/libsunec.so
%%JDK_ROOT%%/lib/libunpack.so
%%JDK_ROOT%%/lib/libverify.so
%%JDK_ROOT%%/lib/libzip.so
%%JDK_ROOT%%/lib/modules
%%JDK_ROOT%%/lib/psfont.properties.ja
%%JDK_ROOT%%/lib/psfontj2d.properties
%%JDK_ROOT%%/lib/security/blacklisted.certs
%%JDK_ROOT%%/lib/security/cacerts
%%JDK_ROOT%%/lib/security/default.policy
%%JDK_ROOT%%/lib/security/public_suffix_list.dat
%%JDK_ROOT%%/lib/server/libjsig.so
%%JDK_ROOT%%/lib/server/libjvm.so
%%JDK_ROOT%%/lib/server/Xusage.txt
%%JDK_ROOT%%/lib/tzdb.dat
%%JDK_ROOT%%/release