aboutsummaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
Diffstat (limited to 'java')
-rw-r--r--java/Makefile1
-rw-r--r--java/bootstrap-openjdk/Makefile79
-rw-r--r--java/bootstrap-openjdk/Makefile.update106
-rw-r--r--java/bootstrap-openjdk/distinfo.amd642
-rw-r--r--java/bootstrap-openjdk/distinfo.arm2
-rw-r--r--java/bootstrap-openjdk/distinfo.i3862
-rw-r--r--java/bootstrap-openjdk/distinfo.powerpc643
-rw-r--r--java/bootstrap-openjdk/pkg-descr7
-rw-r--r--java/bootstrap-openjdk/pkg-message19
-rw-r--r--java/bootstrap-openjdk/pkg-plist55
10 files changed, 0 insertions, 276 deletions
diff --git a/java/Makefile b/java/Makefile
index 63fc429f50ad..4e39ee957712 100644
--- a/java/Makefile
+++ b/java/Makefile
@@ -7,7 +7,6 @@
SUBDIR += avis
SUBDIR += berkeley-db
SUBDIR += bluej
- SUBDIR += bootstrap-openjdk
SUBDIR += bootstrap-openjdk6
SUBDIR += bootstrap-openjdk8
SUBDIR += bouncycastle
diff --git a/java/bootstrap-openjdk/Makefile b/java/bootstrap-openjdk/Makefile
deleted file mode 100644
index de6f543a5776..000000000000
--- a/java/bootstrap-openjdk/Makefile
+++ /dev/null
@@ -1,79 +0,0 @@
-# $FreeBSD$
-
-PORTNAME= ${JDK_NAME}
-PORTVERSION= ${DISTVERSION_${JDK_ARCH}}
-PORTREVISION= 1
-CATEGORIES= java devel
-MASTER_SITES= ${JDK_MASTER_SITES}
-PKGNAMEPREFIX= bootstrap-
-DISTNAME= ${JDK_PORT}-${JDK_ARCH}-${PORTVERSION}
-
-MAINTAINER= jkim@FreeBSD.org
-COMMENT= Oracle\'s Java 6 virtual machine release under the GPL v2
-
-LICENSE= GPLv2
-
-DEPRECATED= superseded by java/bootstrap-openjdk[68]
-EXPIRATION_DATE= 2017-11-30
-BROKEN_powerpc64= fails to build: pkg-static: Unable to access file jre/lib/powerpc64/jvm.cfg
-ONLY_FOR_ARCHS= amd64 armv6 i386 powerpc64
-
-RUN_DEPENDS= java-zoneinfo>0:java/java-zoneinfo
-
-BUNDLE_LIBS= yes
-
-DISTINFO_FILE= ${.CURDIR}/distinfo.${JDK_ARCH}
-DISTVERSION_amd64= r351880
-DISTVERSION_arm= r378760
-DISTVERSION_i386= r351880
-DISTVERSION_powerpc64= r407937
-
-JDK_ARCH= ${ARCH:C/armv6.*/arm/}
-JDK_NAME= openjdk
-JDK_ROOT= bootstrap-${JDK_NAME}
-
-NO_BUILD= yes
-PLIST_SUB= JDK_ARCH=${JDK_ARCH} JDK_NAME=${JDK_NAME} JDK_ROOT=${JDK_ROOT}
-USES= tar:xz
-WRKSRC= ${WRKDIR}/${JDK_ROOT}
-
-INSTALLDIR= ${STAGEDIR}${PREFIX}/${JDK_ROOT}
-
-.if !exists(/usr/lib/libstdc++.so.6)
-PLIST_SUB+= LIBSTDCXX=""
-.else
-EXCLUDE_EXP= -not -name libstdc++.so.6
-PLIST_SUB+= LIBSTDCXX="@comment "
-.endif
-
-.include <bsd.port.pre.mk>
-
-JDK_MASTER_SITES= LOCAL/jkim
-
-.if ${ARCH:Marmv6*}
-JDK_PORT= openjdk7
-.else
-JDK_PORT= openjdk6
-.endif
-
-.if ${ARCH} == "i386"
-PLIST_SUB+= CLIENTVM=""
-.else
-PLIST_SUB+= CLIENTVM="@comment "
-.endif
-
-.if ${ARCH} == "powerpc64"
-JDK_PORT= openjdk7
-JDK_NAME= openjdk
-JDK_MASTER_SITES= LOCAL/glewis/bootstrap-openjdk
-.endif
-
-do-install:
- @cd ${WRKSRC} && ${COPYTREE_SHARE} . ${INSTALLDIR} "${EXCLUDE_EXP}"
- @cd ${WRKSRC} && ${COPYTREE_BIN} "bin jre/bin" ${INSTALLDIR}
-
-update:
- @${MAKE} -f ${.CURDIR}/Makefile.update \
- JDK_NAME=${JDK_NAME} JDK_PORT=${JDK_PORT} JDK_ROOT=${JDK_ROOT}
-
-.include <bsd.port.post.mk>
diff --git a/java/bootstrap-openjdk/Makefile.update b/java/bootstrap-openjdk/Makefile.update
deleted file mode 100644
index 1f32b53f32eb..000000000000
--- a/java/bootstrap-openjdk/Makefile.update
+++ /dev/null
@@ -1,106 +0,0 @@
-# $FreeBSD$
-
-JDK_NAME?= openjdk
-JDK_PORT?= openjdk6
-JDK_ROOT?= bootstrap-${JDK_NAME}
-TARGET_OS?= 8
-
-.if !defined(PORTSDIR)
-.if exists(${.CURDIR}/../${JDK_PORT}/Makefile)
-PORTSDIR= ${.CURDIR}/../..
-.else
-PORTSDIR= /usr/ports
-.endif
-.endif
-
-LOCALBASE?= /usr/local
-
-.include "${PORTSDIR}/Mk/bsd.commands.mk"
-
-FT2_PORTDIR!= ${REALPATH} ${PORTSDIR}/print/freetype2
-FT2_IMAGEDIR?= ${FT2_PORTDIR}/work/stage/usr/local
-JDK_PORTDIR!= ${REALPATH} ${PORTSDIR}/java/${JDK_PORT}
-JDK_IMAGEDIR?= ${JDK_PORTDIR}/work/stage/usr/local/${JDK_PORT}
-
-GET_REVISION= ${LOCALBASE}/bin/svnversion ${JDK_PORTDIR}
-TAR?= /usr/bin/tar
-
-.if !defined(ARCH)
-ARCH!= ${UNAME} -p
-.endif
-BUILD_OS!= ${UNAME} -r | ${SED} -e 's/\..*//'
-PORTREVISION!= ${GET_REVISION} 2>/dev/null || ${TRUE}
-
-DISTDIR?= ${.CURDIR}
-DISTFILE= ${JDK_PORT}-${ARCH}-r${PORTREVISION}.tar.xz
-DISTINFO_FILE= ${.CURDIR}/distinfo.${ARCH}
-MAKEFILE= ${.CURDIR}/Makefile
-PLIST?= ${.CURDIR}/pkg-plist
-PLIST_SUB= ARCH="${ARCH}" JDK_ROOT="."
-
-BUILD_ARGS= BATCH=yes PORT_DBDIR=/var/empty
-BUILD_ENV= __MAKE_CONF=/dev/null PATH="${PATH}"
-FT2_BUILD_ARGS= ${BUILD_ARGS}
-FT2_BUILD_ARGS+=CONFIGURE_ARGS="--without-bzip2 --without-png --without-zlib"
-JDK_BUILD_ARGS= ${BUILD_ARGS}
-JDK_BUILD_ARGS+=java_openjdk6_UNSET=ICEDTEA
-JDK_BUILD_ARGS+=ALT_FREETYPE_HEADERS_PATH="${FT2_IMAGEDIR}/include"
-JDK_BUILD_ARGS+=ALT_FREETYPE_LIB_PATH="${FT2_IMAGEDIR}/lib"
-JDK_BUILD_ARGS+=SYSTEM_ZLIB=false ZLIB_LDFLAGS=""
-
-.if ${ARCH} == "i386"
-PLIST_SUB+= CLIENTVM=""
-.else
-PLIST_SUB+= CLIENTVM="@comment "
-.endif
-PLIST_SUB+= LIBSTDCXX=""
-
-all:
- @${ECHO} ""
- @${ECHO} "=============================================================="
- @${ECHO} ""
-.if ${BUILD_OS} > ${TARGET_OS}
- @${ECHO} "We need FreeBSD ${TARGET_OS} but you seem to have ${BUILD_OS}."
- @${ECHO} ""
- @${ECHO} "=============================================================="
- @${ECHO} ""
- @${FALSE}
-.endif
- @${ECHO} "Building ${DISTFILE}...."
- @${ECHO} ""
- @${ECHO} "Started at "`date -u`"."
- @${ECHO} ""
- @${ECHO} "=============================================================="
- @${ECHO} ""
-.if !defined(NO_BUILD)
- @${SETENV} -i ${BUILD_ENV} \
- ${MAKE} -C "${FT2_PORTDIR}" ${FT2_BUILD_ARGS} stage
- @${SETENV} -i ${BUILD_ENV} \
- ${MAKE} -C "${JDK_PORTDIR}" ${JDK_BUILD_ARGS} stage
- @${CP} -p /usr/lib/libstdc++.so.6 "${JDK_IMAGEDIR}/jre/lib/${ARCH}"
- @${CP} -p "${FT2_IMAGEDIR}/lib/libfreetype.so.6" \
- "${JDK_IMAGEDIR}/jre/lib/${ARCH}"
- @${FIND} "${JDK_IMAGEDIR}" -type f \
- -exec ${STRIP_CMD} -s {} \; 2> /dev/null
-.endif
- @cd "${JDK_IMAGEDIR}" && \
- ${SED} ${PLIST_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} ${PLIST} | \
- ${GREP} -v ^@ | ${TAR} -c -f - -T - -s '|^\./|${JDK_ROOT}/|' | \
- ${XZ_CMD} -9 -c > "${DISTDIR}/${DISTFILE}"
- @${SED} -i.bak \
- 's/^DISTVERSION_${ARCH}=.*/DISTVERSION_${ARCH}= r${PORTREVISION}/' \
- "${MAKEFILE}"
- @${MAKE} -f "${MAKEFILE}" makesum DISTDIR="${DISTDIR}" \
- DISTINFO_FILE="${DISTINFO_FILE}"
- @${ECHO} ""
- @${ECHO} "=============================================================="
- @${ECHO} ""
- @${ECHO} "${DISTFILE} was built successfully!"
- @${ECHO} ""
- @${ECHO} "Finished at "`date -u`"."
- @${ECHO} ""
- @${ECHO} "You may clean up the build directory if everything looks okay,"
- @${ECHO} "e.g., 'rm -fr ${FT2_PORTDIR}/work ${JDK_PORTDIR}/work'."
- @${ECHO} ""
- @${ECHO} "=============================================================="
- @${ECHO} ""
diff --git a/java/bootstrap-openjdk/distinfo.amd64 b/java/bootstrap-openjdk/distinfo.amd64
deleted file mode 100644
index eb18df721033..000000000000
--- a/java/bootstrap-openjdk/distinfo.amd64
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (openjdk6-amd64-r351880.tar.xz) = 1e94f633fbf627aefdacb22b0a8509f1711a7aee00b522276cd0696775481c33
-SIZE (openjdk6-amd64-r351880.tar.xz) = 22627688
diff --git a/java/bootstrap-openjdk/distinfo.arm b/java/bootstrap-openjdk/distinfo.arm
deleted file mode 100644
index 6cf9842e6e30..000000000000
--- a/java/bootstrap-openjdk/distinfo.arm
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (openjdk7-arm-r378760.tar.xz) = 4b4ca5f1ae2d4bd32a969fef4163f165538309672ede83e33116fccfea181c8e
-SIZE (openjdk7-arm-r378760.tar.xz) = 25109864
diff --git a/java/bootstrap-openjdk/distinfo.i386 b/java/bootstrap-openjdk/distinfo.i386
deleted file mode 100644
index 3962ce2546fe..000000000000
--- a/java/bootstrap-openjdk/distinfo.i386
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (openjdk6-i386-r351880.tar.xz) = e885716265167100ee70dbf07d9c58760426b56584301699339301b888c8f226
-SIZE (openjdk6-i386-r351880.tar.xz) = 22721876
diff --git a/java/bootstrap-openjdk/distinfo.powerpc64 b/java/bootstrap-openjdk/distinfo.powerpc64
deleted file mode 100644
index b36354faa14b..000000000000
--- a/java/bootstrap-openjdk/distinfo.powerpc64
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1483398184
-SHA256 (openjdk7-powerpc64-r407937.tar.xz) = e0d547f1ed83738fd30bd8382603dbd076b329cd232588e159c4e7c6f728c4fd
-SIZE (openjdk7-powerpc64-r407937.tar.xz) = 32765212
diff --git a/java/bootstrap-openjdk/pkg-descr b/java/bootstrap-openjdk/pkg-descr
deleted file mode 100644
index 74c5ea8d924c..000000000000
--- a/java/bootstrap-openjdk/pkg-descr
+++ /dev/null
@@ -1,7 +0,0 @@
-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: http://openjdk.java.net/
diff --git a/java/bootstrap-openjdk/pkg-message b/java/bootstrap-openjdk/pkg-message
deleted file mode 100644
index 0a651e40752f..000000000000
--- a/java/bootstrap-openjdk/pkg-message
+++ /dev/null
@@ -1,19 +0,0 @@
-======================================================================
-
-WARNING: This port only exists for bootstrapping java/openjdk[67].
-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
-
-======================================================================
diff --git a/java/bootstrap-openjdk/pkg-plist b/java/bootstrap-openjdk/pkg-plist
deleted file mode 100644
index 239fc48684eb..000000000000
--- a/java/bootstrap-openjdk/pkg-plist
+++ /dev/null
@@ -1,55 +0,0 @@
-%%JDK_ROOT%%/ASSEMBLY_EXCEPTION
-%%JDK_ROOT%%/LICENSE
-%%JDK_ROOT%%/THIRD_PARTY_README
-%%JDK_ROOT%%/bin/idlj
-%%JDK_ROOT%%/bin/jar
-%%JDK_ROOT%%/bin/java
-%%JDK_ROOT%%/bin/javac
-%%JDK_ROOT%%/bin/javah
-%%JDK_ROOT%%/bin/javap
-%%JDK_ROOT%%/bin/native2ascii
-%%JDK_ROOT%%/bin/rmic
-%%JDK_ROOT%%/include/jni.h
-%%JDK_ROOT%%/include/freebsd/jni_md.h
-%%JDK_ROOT%%/jre/ASSEMBLY_EXCEPTION
-%%JDK_ROOT%%/jre/LICENSE
-%%JDK_ROOT%%/jre/THIRD_PARTY_README
-%%JDK_ROOT%%/jre/bin/java
-%%JDK_ROOT%%/jre/lib/charsets.jar
-%%JDK_ROOT%%/jre/lib/currency.data
-%%JDK_ROOT%%/jre/lib/fontconfig.bfc
-%%JDK_ROOT%%/jre/lib/jce.jar
-%%JDK_ROOT%%/jre/lib/jsse.jar
-%%JDK_ROOT%%/jre/lib/logging.properties
-%%JDK_ROOT%%/jre/lib/meta-index
-%%JDK_ROOT%%/jre/lib/net.properties
-%%JDK_ROOT%%/jre/lib/resources.jar
-%%JDK_ROOT%%/jre/lib/rt.jar
-%%JDK_ROOT%%/jre/lib/%%JDK_ARCH%%/jvm.cfg
-%%JDK_ROOT%%/jre/lib/%%JDK_ARCH%%/libawt.so
-%%JDK_ROOT%%/jre/lib/%%JDK_ARCH%%/libfontmanager.so
-%%JDK_ROOT%%/jre/lib/%%JDK_ARCH%%/libfreetype.so.6
-%%JDK_ROOT%%/jre/lib/%%JDK_ARCH%%/libjava.so
-%%JDK_ROOT%%/jre/lib/%%JDK_ARCH%%/libjpeg.so
-%%JDK_ROOT%%/jre/lib/%%JDK_ARCH%%/liblcms.so
-%%JDK_ROOT%%/jre/lib/%%JDK_ARCH%%/libnet.so
-%%JDK_ROOT%%/jre/lib/%%JDK_ARCH%%/libnio.so
-%%LIBSTDCXX%%%%JDK_ROOT%%/jre/lib/%%JDK_ARCH%%/libstdc++.so.6
-%%JDK_ROOT%%/jre/lib/%%JDK_ARCH%%/libverify.so
-%%JDK_ROOT%%/jre/lib/%%JDK_ARCH%%/libzip.so
-%%CLIENTVM%%%%JDK_ROOT%%/jre/lib/%%JDK_ARCH%%/client/libjvm.so
-%%JDK_ROOT%%/jre/lib/%%JDK_ARCH%%/headless/libmawt.so
-%%JDK_ROOT%%/jre/lib/%%JDK_ARCH%%/server/libjvm.so
-%%JDK_ROOT%%/jre/lib/%%JDK_ARCH%%/xawt/libmawt.so
-%%JDK_ROOT%%/jre/lib/cmm/GRAY.pf
-%%JDK_ROOT%%/jre/lib/cmm/PYCC.pf
-%%JDK_ROOT%%/jre/lib/cmm/sRGB.pf
-%%JDK_ROOT%%/jre/lib/ext/dnsns.jar
-%%JDK_ROOT%%/jre/lib/ext/localedata.jar
-%%JDK_ROOT%%/jre/lib/ext/meta-index
-%%JDK_ROOT%%/jre/lib/ext/sunjce_provider.jar
-%%JDK_ROOT%%/jre/lib/ext/sunpkcs11.jar
-%%JDK_ROOT%%/jre/lib/security/java.security
-%%JDK_ROOT%%/jre/lib/zi
-%%JDK_ROOT%%/lib/ct.sym
-%%JDK_ROOT%%/lib/tools.jar