cleanup: Remove expired java/bootstrap-openjdk6 port

This commit is contained in:
Greg Lewis 2022-09-25 16:17:56 -07:00
parent 19899c4999
commit 9402cd04e3
9 changed files with 1 additions and 224 deletions

1
MOVED
View File

@ -17560,3 +17560,4 @@ audio/kid3-kf5|audio/kid3@kf5|2022-09-13|Merged into flavorized version
audio/kid3-qt5|audio/kid3@qt5|2022-09-13|Merged into flavorized version
audio/phaserotate-lv2|audio/x42-plugins-lv2|2022-09-13|phaserotate-lv2 LV2 plugin is included in the x42-plugins-lv2 plugin collection
graphics/darktable40|graphics/darktable|2022-09-22|Obsolete. Use graphics/darktable, which is the same version
java/bootstrap-openjdk6|java/bootstrap-openjdk8|2022-09-25|Was only used to bootstrap the now deleted java/openjdk7 port

View File

@ -18,7 +18,6 @@
SUBDIR += bluej
SUBDIR += bootstrap-openjdk11
SUBDIR += bootstrap-openjdk17
SUBDIR += bootstrap-openjdk6
SUBDIR += bootstrap-openjdk8
SUBDIR += bouncycastle
SUBDIR += bouncycastle15

View File

@ -1,48 +0,0 @@
PORTNAME= openjdk6
PORTVERSION= ${DISTVERSION_${ARCH}}
CATEGORIES= java devel
MASTER_SITES= LOCAL/jkim
PKGNAMEPREFIX= bootstrap-
DISTNAME= ${PORTNAME}-${ARCH}-${PORTVERSION}
MAINTAINER= jkim@FreeBSD.org
COMMENT= Java Development Kit 6
WWW= https://openjdk.java.net/
LICENSE= GPLv2
ONLY_FOR_ARCHS= amd64 i386
RUN_DEPENDS= java-zoneinfo>0:java/java-zoneinfo \
${LOCALBASE}/lib/libfreetype.so.6:print/freetype2
DISTINFO_FILE= ${.CURDIR}/distinfo.${ARCH}
DISTVERSION_amd64= r450701
DISTVERSION_i386= r450701
JDK_ROOT= bootstrap-${PORTNAME}
NO_BUILD= yes
PLIST_SUB= ARCH=${ARCH} JDK_ROOT=${JDK_ROOT}
USES= tar:xz
WRKSRC= ${WRKDIR}/${JDK_ROOT}
INSTALLDIR= ${STAGEDIR}${PREFIX}/${JDK_ROOT}
.include <bsd.port.pre.mk>
.if ${ARCH} == "i386"
PLIST_SUB+= CLIENTVM=""
.else
PLIST_SUB+= CLIENTVM="@comment "
.endif
do-install:
@cd ${WRKSRC} && ${COPYTREE_SHARE} . ${INSTALLDIR}
@cd ${WRKSRC} && ${COPYTREE_BIN} "bin jre/bin" ${INSTALLDIR}
update:
@${MAKE} -f ${.CURDIR}/Makefile.update \
JDK_PORT=${PORTNAME} JDK_ROOT=${JDK_ROOT}
.include <bsd.port.post.mk>

View File

@ -1,90 +0,0 @@
JDK_PORT?= openjdk6
JDK_ROOT?= bootstrap-${JDK_PORT}
TARGET_OS?= 10
.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"
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}"
BUILD_ENV+= java_openjdk6_UNSET_FORCE=ICEDTEA
JDK_BUILD_ARGS= ${BUILD_ARGS}
.if ${ARCH} == "i386"
PLIST_SUB+= CLIENTVM=""
.else
PLIST_SUB+= CLIENTVM="@comment "
.endif
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 "${JDK_PORTDIR}" ${JDK_BUILD_ARGS} stage
@${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 ${JDK_PORTDIR}/work'."
@${ECHO} ""
@${ECHO} "=============================================================="
@${ECHO} ""

View File

@ -1,3 +0,0 @@
TIMESTAMP = 1506476350
SHA256 (openjdk6-amd64-r450701.tar.xz) = efeae4b3d09d92d06182fe79b9a0348fddf4229909db33cbb0aef6d25a2fabf0
SIZE (openjdk6-amd64-r450701.tar.xz) = 22084332

View File

@ -1,3 +0,0 @@
TIMESTAMP = 1506476351
SHA256 (openjdk6-i386-r450701.tar.xz) = ec38b1473e1a7c4118080043cc6458771f3ac8a9b56dc344e10badd6e4abeece
SIZE (openjdk6-i386-r450701.tar.xz) = 22155724

View File

@ -1,5 +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.

View File

@ -1,21 +0,0 @@
[
{ type: install
message: <<EOM
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
EOM
}
]

View File

@ -1,53 +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/%%ARCH%%/jvm.cfg
%%JDK_ROOT%%/jre/lib/%%ARCH%%/libawt.so
%%JDK_ROOT%%/jre/lib/%%ARCH%%/libfontmanager.so
%%JDK_ROOT%%/jre/lib/%%ARCH%%/libjava.so
%%JDK_ROOT%%/jre/lib/%%ARCH%%/libjpeg.so
%%JDK_ROOT%%/jre/lib/%%ARCH%%/liblcms.so
%%JDK_ROOT%%/jre/lib/%%ARCH%%/libnet.so
%%JDK_ROOT%%/jre/lib/%%ARCH%%/libnio.so
%%JDK_ROOT%%/jre/lib/%%ARCH%%/libverify.so
%%JDK_ROOT%%/jre/lib/%%ARCH%%/libzip.so
%%CLIENTVM%%%%JDK_ROOT%%/jre/lib/%%ARCH%%/client/libjvm.so
%%JDK_ROOT%%/jre/lib/%%ARCH%%/headless/libmawt.so
%%JDK_ROOT%%/jre/lib/%%ARCH%%/server/libjvm.so
%%JDK_ROOT%%/jre/lib/%%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