aboutsummaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2011-06-28 18:57:18 +0000
committerRene Ladan <rene@FreeBSD.org>2011-06-28 18:57:18 +0000
commitd69e3c8bb506067d3d6ecf24a027f6fe4cd717f6 (patch)
tree02088f3100ed899b3da6ad840f7e59aa27b9e7d5 /java
parent0a6f135ee04aa84b89f209794a67c4b55f8f5f57 (diff)
downloadports-d69e3c8bb506067d3d6ecf24a027f6fe4cd717f6.tar.gz
ports-d69e3c8bb506067d3d6ecf24a027f6fe4cd717f6.zip
Notes
Diffstat (limited to 'java')
-rw-r--r--java/Makefile1
-rw-r--r--java/jdk14/Makefile373
-rw-r--r--java/jdk14/distinfo10
-rw-r--r--java/jdk14/files/cacertsbin21653 -> 0 bytes
-rw-r--r--java/jdk14/files/disable-ipv6.patch15
-rw-r--r--java/jdk14/files/patch-common::Defs-bsd.gmk41
-rw-r--r--java/jdk14/files/patch-control::common::Defs-bsd.gmk13
-rw-r--r--java/jdk14/files/patch-deploy::common::Defs-bsd.gmk13
-rw-r--r--java/jdk14/files/patch-ipv6only131
-rw-r--r--java/jdk14/files/patch-j2se::awt::awt_motif21.c13
-rw-r--r--java/jdk14/files/patch-j2se::awt::fontpath.c19
-rw-r--r--java/jdk14/files/patch-j2se::net::Inet4AddressImpl.c110
-rw-r--r--java/jdk14/files/patch-j2se::zip::FILES_c.gmk18
-rw-r--r--java/jdk14/files/patch-j2se::zip::Makefile31
-rw-r--r--java/jdk14/files/patch-java_Makefile11
-rw-r--r--java/jdk14/files/patch-plugin::common::config.gmk21
-rw-r--r--java/jdk14/files/patch-plugin::ns6::Makefile13
-rw-r--r--java/jdk14/files/patch-vm::os_bsd.cpp13
-rw-r--r--java/jdk14/files/pkg-deinstall.in31
-rw-r--r--java/jdk14/files/pkg-install.in57
-rw-r--r--java/jdk14/files/testos.c81
-rw-r--r--java/jdk14/pkg-descr11
-rw-r--r--java/jdk14/pkg-message1142
23 files changed, 0 insertions, 2168 deletions
diff --git a/java/Makefile b/java/Makefile
index bdf0682b2880..9b52ff769392 100644
--- a/java/Makefile
+++ b/java/Makefile
@@ -101,7 +101,6 @@
SUBDIR += jde
SUBDIR += jdk13
SUBDIR += jdk13-doc
- SUBDIR += jdk14
SUBDIR += jdk14-doc
SUBDIR += jdk15
SUBDIR += jdk15-doc
diff --git a/java/jdk14/Makefile b/java/jdk14/Makefile
deleted file mode 100644
index bd5db4cdd483..000000000000
--- a/java/jdk14/Makefile
+++ /dev/null
@@ -1,373 +0,0 @@
-# New ports collection makefile for: jdk14
-# Date created: 6 March 2003
-# Whom: Alexey Zelkin <phantom@FreeBSD.org>
-#
-# $FreeBSD$
-#
-
-PORTNAME= jdk
-PORTVERSION= ${JDK_VERSION}p${JDK_PATCHSET_VERSION}
-PORTREVISION= 19
-CATEGORIES= java devel
-MASTER_SITES= # http://www.sun.com/software/java2/download.html
-# http://www.eyesbeyond.com/freebsddom/java/jdk14.html
-SCSL_SRCFILE= j2sdk-${JDK_VERSION:S/./_/g}-src-scsl.zip
-SCSL_BINFILE= j2sdk-${JDK_VERSION:S/./_/g}-bin-scsl.zip
-PATCHSETFILE= bsd-jdk14-patches-${JDK_PATCHSET_VERSION}.tar.gz
-POLICYFILE= jce_policy-${JDK_VERSION:S/./_/g}.zip
-TZUPDATEFILE= tzupdater-${TZUPDATE_VERSION}-${TZUPDATE_TZVERSION}.zip
-DISTFILES= ${SCSL_SRCFILE} ${SCSL_BINFILE} ${PATCHSETFILE}
-
-MAINTAINER= glewis@FreeBSD.org
-COMMENT= Java Development Kit 1.4.2
-
-EXTRACT_DEPENDS=zip:${PORTSDIR}/archivers/zip
-BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4 \
- zip:${PORTSDIR}/archivers/zip \
- ${LOCALBASE}/include/nspr/prtypes.h:${PORTSDIR}/devel/nspr
-RUN_DEPENDS= javavm:${PORTSDIR}/java/javavmwrapper
-
-BROKEN= Does not compile with GCC 4.2
-DEPRECATED= does not build on FreeBSD 7.x or newer
-EXPIRATION_DATE=2011-04-17
-
-OPTIONS= DEBUG "Enable debugging support" off \
- IPV6 "Enable IPv6 support" off \
- POLICY "Install the Unlimited Strength Policy Files" off \
- TZUPDATE "Update the time zone data" on \
- WEB "Enable the browser plugin and Java Web Start" on \
- JAIL "Port is being built within a jail" off
-
-.if defined(WITH_OPENMOTIF_JDK)
-BUILD_DEPENDS+= ${NONEXISTENT}:${PORTSDIR}/x11-toolkits/open-motif-jdk:extract
-.else
-BUILD_DEPENDS+= ${LOCALBASE}/lib/libXm.so:${PORTSDIR}/x11-toolkits/open-motif
-.endif
-
-PKGINSTALL= ${WRKDIR}/pkg-install
-PKGDEINSTALL= ${WRKDIR}/pkg-deinstall
-SUB_FILES+= pkg-install \
- pkg-deinstall
-SUB_LIST+= JRE_HOME=${PREFIX}/jdk${JDK_VERSION}/jre \
- ARCH=${MACHINE_ARCH}
-
-WRKSRC= ${WRKDIR}/control/make
-
-JDK_VERSION= 1.4.2
-JDK_PATCHSET_VERSION= 8
-LATEST_LINK= jdk14
-
-TZUPDATE_VERSION= 1_3_25
-TZUPDATE_TZVERSION= 2009u
-
-SUN_LINUX_JDK_VERSION= 1.4.2
-
-.if !defined(WITH_LINUX_BOOTSTRAP)
-NATIVE_BOOTSTRAP_JDKS= ${LOCALBASE}/jdk1.4.2
-.endif
-
-LINUX_BOOTSTRAP_JDKS= ${LOCALBASE}/linux-sun-jdk1.4.2
-
-.include <bsd.port.pre.mk>
-
-.if defined(WITH_IPV6)
-CATEGORIES+= ipv6
-.endif
-
-.if defined(WITH_POLICY)
-DISTFILES+= ${POLICYFILE}
-EXTRACT_ONLY+= ${POLICYFILE}
-.endif
-
-.if defined(WITH_TZUPDATE)
-DISTFILES+= ${TZUPDATEFILE}
-EXTRACT_ONLY+= ${TZUPDATEFILE}
-.endif
-
-.if defined(WITH_WEB)
-RUN_DEPENDS+= ${LOCALBASE}/lib/X11/fonts/URW/fonts.dir:${PORTSDIR}/x11-fonts/urwfonts
-.endif
-
-.if defined(WITH_OPENMOTIF_JDK)
-OPENMOTIF_DIR= ${WRKDIR}/jdkmotif
-.else
-OPENMOTIF_DIR= ${LOCALBASE}
-.endif
-
-# do we have valid native jdk installed?
-.if !defined(WITH_LINUX_BOOTSTRAP)
-.for CJDK in ${NATIVE_BOOTSTRAP_JDKS}
-. if !defined(JDK14DIR) && exists(${CJDK}/bin/javac)
-JDK14DIR= ${CJDK}
-. endif
-.endfor
-.endif
-
-# do we have valid linux jdk installed?
-.if !defined(JDK14DIR)
-.for CJDK in ${LINUX_BOOTSTRAP_JDKS}
-. if !defined(JDK14DIR) && exists(${CJDK}/bin/javac)
-JDK14DIR= ${CJDK}
-WITH_LINUX_BOOTSTRAP= YES
-. endif
-.endfor
-.endif
-
-# if no valid jdk found, set dependency
-.if !defined(JDK14DIR)
-JDK14DIR?= ${LOCALBASE}/linux-sun-jdk${SUN_LINUX_JDK_VERSION}
-.endif
-
-BUILD_DEPENDS+= ${JDK14DIR}/bin/javac:${PORTSDIR}/java/linux-sun-jdk14
-
-# workaround to handle both 'zip' and 'tar.gz' distfiles
-USE_ZIP= YES
-EXTRACT_ONLY+= ${SCSL_SRCFILE} ${SCSL_BINFILE}
-
-ONLY_FOR_ARCHS= i386
-USE_GMAKE= YES
-USE_XORG+= x11 xext xi xmu xp xt xtst
-RESTRICTED= "Redistribution of pre-compiled binaries is not permitted"
-NO_CDROM= "Redistribution of pre-compiled binaries is not permitted"
-MAKE_ENV= ALT_BOOTDIR="${JDK14DIR}" \
- ALT_MOTIF_DIR="${OPENMOTIF_DIR}" \
- SYS_CFLAGS="${CFLAGS}" \
- DEV_ONLY="YES" \
- LANG="C" \
- JAVA_HOME="" \
- CLASSPATH="" \
- LD_LIBRARY_PATH="" \
- MAKEFLAGS=""
-.if defined(WITHOUT_WEB)
-MAKE_ENV+= NO_PLUGIN="YES" \
- NO_JAVAWS="YES"
-.endif
-ALL_TARGET= all
-
-PLIST_FILES= jdk${JDK_VERSION}/jre/.systemPrefs/.system.lock \
- jdk${JDK_VERSION}/jre/.systemPrefs/.systemRootModFile
-PLIST_DIRS= jdk${JDK_VERSION}/jre/.systemPrefs
-
-JDKIMAGEDIR= ${WRKSRC}/../build/bsd-i586/j2sdk-image
-JDKIMAGEDIR_G= ${WRKSRC}/../build/bsd-i586/j2sdk-debug-image
-
-.if defined(WITHOUT_IPV6)
-EXTRA_PATCHES+= ${PATCHDIR}/disable-ipv6.patch
-.endif
-
-.if defined(WITHOUT_WEB)
-PKGNAMESUFFIX= -minimal
-.endif
-
-LOCAL_FILES= ../../hotspot/src/os/bsd/vm/os_bsd.cpp
-PTHREAD_FILES= ../../hotspot/build/bsd/makefiles/vm.make \
- ../../j2se/make/common/Defs.gmk \
- ../../j2se/make/common/Program.gmk \
- ../../j2se/make/common/Defs-bsd.gmk \
- ../../j2se/make/java/hpi/hpi_common.gmk \
- ../../j2se/make/java/hpi/native/Makefile \
- ../../j2se/make/java/net/Makefile \
- ../../deploy/make/common/Defs-bsd.gmk \
- ../../deploy/make/plugin/common/config.gmk
-X11_FILES= ../../j2se/src/solaris/native/sun/awt/fontpath.c
-
-# Check for JDK sources and patch file
-.if !defined(PACKAGE_BUILDING) && (!exists(${DISTDIR}/${SCSL_SRCFILE}) || !exists(${DISTDIR}/${SCSL_BINFILE}) || (defined(WITH_POLICY) && !exists(${DISTDIR}/${POLICYFILE})) || (defined(WITH_TZUPDATE) && !exists(${DISTDIR}/${TZUPDATEFILE})) || !exists(${DISTDIR}/${PATCHSETFILE}))#{
-ECHO_MSG=/usr/bin/printf
-IGNORE= :\n\
-Due to licensing restrictions, certain files must be fetched manually.\n\n
-.if !exists(${DISTDIR}/${SCSL_SRCFILE}) || !exists(${DISTDIR}/${SCSL_BINFILE})#{
-IGNORE += Please open http://www.sun.com/software/java2/download.html\n\
-in a web browser and follow the \"Download\" link for the\n\
-\"Java 2 SDK ${JDK_VERSION}\". You will be required to log in and register,\n\
-but you can create an account on this page. After registration and\n\
-accepting the Sun Community Source License, download the\n
-.if !exists(${DISTDIR}/${SCSL_SRCFILE})#{
-IGNORE += SCSL Source file, ${SCSL_SRCFILE}
-.endif#}
-.if !exists(${DISTDIR}/${SCSL_BINFILE})#{
-.if !exists(${DISTDIR}/${SCSL_SRCFILE})#{
-IGNORE += and the\n
-.endif#}
-IGNORE += SCSL Binaries file, ${SCSL_BINFILE}
-.endif#}
-IGNORE += .\n\n
-.endif#}
-.if defined(WITH_POLICY) && !exists(${DISTDIR}/${POLICYFILE})#{
-IGNORE += Please open http://java.sun.com/products/jce/index-14.html\n\
-in a web browser and follow the \"Download JCE Unlimited Strength\n\
-Jurisdiction Policy Files\" link for \"Other Downloads\" to obtain the\n\
-JCE policy file, ${POLICYFILE}.\n\n
-.endif#}
-.if defined(WITH_TZUPDATE) && !exists(${DISTDIR}/${TZUPDATEFILE})#{
-IGNORE += Please open http://java.sun.com/javase/downloads/index.jsp\n\
-in a web browser and follow the \"Download\" link for\n\
-\"JDK US DST Timezone Update Tool - ${TZUPDATE_VERSION}\" to obtain the\n\
-time zone update file, ${TZUPDATEFILE}.\n\n
-.endif#}
-.if !exists(${DISTDIR}/${PATCHSETFILE})#{
-IGNORE += Please download the patchset, ${PATCHSETFILE}, from\n\
-http://www.eyesbeyond.com/freebsddom/java/jdk14.html.\n\n
-.endif#}
-IGNORE += Please place the downloaded file(s) in ${DISTDIR}
-IGNORE += \n and restart the build.\n\n
-.endif#}
-
-# JDK 1.4.2 require recent version of FreeBSD due to recent libc_r updates.
-# Make check for reqiuired primities as early as possible
-
-TESTPROG=testos
-
-check-os:
-.if !defined(SKIP_OS_TEST)
- -@mkdir -p ${WRKDIR} ; \
- rm -f ${WRKDIR}/${TESTPROG} ; \
- gcc ${PTHREAD_LIBS} -o ${WRKDIR}/${TESTPROG} \
- ${FILESDIR}/${TESTPROG}.c > /dev/null 2>&1
- @if [ ! -f ${WRKDIR}/${TESTPROG} ] ; \
- then \
- /usr/bin/printf "\n\
-You must have a version of FreeBSD later than 4.7-STABLE\n\
-February 2003 or 5-CURRENT February 2003 to compile and\n\
-use JDK 1.4.2.\n\n" ; \
- exit 1 ; \
- fi
- @${WRKDIR}/${TESTPROG} 2>/dev/null
-.endif
-
-pre-fetch: check-os
- @${ECHO_MSG}
- @${ECHO_MSG} "IMPORTANT: To build JDK 1.4.2 port, you should have at least"
- @${ECHO_MSG} "1.7Gb of free disk space in build area!"
- @${ECHO_MSG}
-.if defined(WITH_LINUX_BOOTSTRAP)
- @${ECHO_MSG} "IMPORTANT: To build JDK 1.4.2 port, you should have linux emulation"
- @${ECHO_MSG} "enabled in the kernel and linux procfs (linprocfs) filesystem"
- @${ECHO_MSG} "mounted."
- @${ECHO_MSG}
-.endif
-
-pre-patch:
- @cd ${WRKDIR} && \
- ${GZIP_CMD} -dc ${DISTDIR}/${PATCHSETFILE} | ${TAR} -xf - && \
- ${CHMOD} -R u+w * && \
- ${PATCH} -p0 < ${WRKDIR}/jdk14.patches
-
-post-patch:
- @for file in ${LOCAL_FILES}; do \
- ${REINPLACE_CMD} -e "s:%%LOCALBASE%%:${LOCALBASE}:" \
- ${WRKSRC}/$${file}; \
- done
- @for file in ${PTHREAD_FILES}; do \
- ${REINPLACE_CMD} -e "s:-lkse:${PTHREAD_LIBS}:g" \
- ${WRKSRC}/$${file}; \
- done
- @for file in ${X11_FILES}; do \
- ${REINPLACE_CMD} -e "s:%%LOCALBASE%%:${LOCALBASE}:" \
- ${WRKSRC}/$${file}; \
- done
-
-pre-build-linuxcheck:
-.if defined(WITH_LINUX_BOOTSTRAP)
- @if [ "$${WRKDIRPREFIX}" -a \
- -L "/compat/linux/$${WRKDIRPREFIX}" -a \
- x`${LS} -ld "/compat/linux/$${WRKDIRPREFIX}" 2>/dev/null | awk '/->/{print $$NF;exit 0}END{exit 1}'` = x"$${WRKDIRPREFIX}" ]; \
- then \
- ${ECHO_MSG} "Please set WRKDIRPREFIX to something which doesn't"; \
- ${ECHO_MSG} "have a matching symbolic link in /compat/linux."; \
- ${ECHO_MSG} "This is known to cause problems during bootstrapping."; \
- exit 1; \
- fi
- @if [ `/sbin/sysctl -n compat.linux.osname` != "Linux" ]; \
- then \
- ${ECHO_MSG} "Please set the value of the sysctl compat.linux.osname"; \
- ${ECHO_MSG} "to 'Linux' with the command:"; \
- ${ECHO_MSG} " /sbin/sysctl compat.linux.osname=Linux"; \
- ${ECHO_MSG} "Having it set to other values, such as 'FreeBSD',"; \
- ${ECHO_MSG} "is known to cause problems during bootstrapping."; \
- exit 1; \
- fi
-.if !defined(WITH_JAIL)
- @if [ "`/sbin/mount | grep ^linprocfs`" = "" ]; \
- then \
- ${ECHO_MSG} "ERROR: You have to have LINPROCFS mounted before" ; \
- ${ECHO_MSG} "starting to build of native JDK 1.4.2." ; \
- ${ECHO_MSG} "" ; \
- ${ECHO_MSG} "You may do it by following set of commands:" ; \
- ${ECHO_MSG} "" ; \
- ${ECHO_MSG} "# kldload linprocfs" ; \
- ${ECHO_MSG} "" ; \
- ${ECHO_MSG} "and" ; \
- ${ECHO_MSG} "" ; \
- ${ECHO_MSG} "# mount -t linprocfs linprocfs /compat/linux/proc" ; \
- ${ECHO_MSG} "" ; \
- exit 1 ; \
- fi
-.endif
-.endif
-
-pre-build: pre-build-linuxcheck
-.if defined(WITH_OPENMOTIF_JDK)
- cd ${PORTSDIR}/x11-toolkits/open-motif-jdk && \
- ${MAKE} WITH_JDK_PATCH=${WRKDIR}/patch-java-dnd-fix \
- PREFIX=${OPENMOTIF_DIR} \
- NO_PKG_REGISTER=YES install
-.endif
-
-do-build:
- # Start of jdk build
- @(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET})
-
-post-build:
- @# make sure that SwingSet2/resources does not exists
- @${RM} -rf ${JDKIMAGEDIR}/demo/jfc/SwingSet2/resources
- @${RM} -rf ${JDKIMAGEDIR}/demo/plugin/jfc/SwingSet2/resources
- @# XXX don't install japanese manpages
- @${RM} -rf ${JDKIMAGEDIR}/man/ja
- @${RM} -rf ${JDKIMAGEDIR}/man/ja_JP.eucJP
-.if defined(WITH_TZUPDATE)
- @# Update time zones
- @-${JDKIMAGEDIR}/bin/java -jar \
- ${WRKDIR}/tzupdater-${TZUPDATE_VERSION:S/_/./g}-${TZUPDATE_TZVERSION}/tzupdater.jar -u -bc
- @-${RM} -rf ${JDKIMAGEDIR}/jre/lib/zi.tzdata*
-.endif
-
-pre-install:
-.if defined(WITHOUT_WEB)
- @${RM} -rf ${JDKIMAGEDIR}/demo
-.endif
-
-do-install:
- ${MKDIR} ${PREFIX}/jdk${JDK_VERSION}
- cd ${JDKIMAGEDIR} && ${FIND} . \
- | ${CPIO} -pdmu -R ${LIBOWN}:${LIBGRP} ${PREFIX}/jdk${JDK_VERSION}
- @${ECHO_MSG} "@unexec ${LOCALBASE}/bin/unregistervm ${PREFIX}/jdk${JDK_VERSION}/bin/java" >> ${TMPPLIST}
- ${FIND} -s ${JDKIMAGEDIR} -not -type d | \
- ${SED} -ne 's#${JDKIMAGEDIR}#jdk${JDK_VERSION}#p' >> ${TMPPLIST}
-.if defined(WITH_DEBUG)
- cd ${JDKIMAGEDIR_G} && ${FIND} . \
- | ${CPIO} -pdmu -R ${LIBOWN}:${LIBGRP} ${PREFIX}/jdk${JDK_VERSION}
- ${FIND} -s ${JDKIMAGEDIR_G} -not -type d | \
- ${SED} -ne 's#${JDKIMAGEDIR_G}#jdk${JDK_VERSION}#p' >> ${TMPPLIST}
-.endif
- ${INSTALL_DATA} ${FILESDIR}/cacerts \
- ${PREFIX}/jdk${JDK_VERSION}/jre/lib/security/cacerts
-.if defined(WITH_POLICY)
- ${INSTALL_DATA} ${WRKDIR}/jce/*.jar ${PREFIX}/jdk${JDK_VERSION}/jre/lib/security
-.endif
-.if defined(WITH_WEB)
- ${INSTALL_DATA} ${FILESDIR}/cacerts \
- ${PREFIX}/jdk${JDK_VERSION}/jre/javaws/cacerts
-.endif
- @${FIND} -s -d ${PREFIX}/jdk${JDK_VERSION} -type d | \
- ${SED} -ne 's#^${PREFIX}/#@dirrm #p' >> ${TMPPLIST}
- @${ECHO_MSG} "@exec ${LOCALBASE}/bin/registervm ${PREFIX}/jdk${JDK_VERSION}/bin/java # FREEBSD-JDK${JDK_VERSION}" >> ${TMPPLIST}
-
-post-install:
-.if defined(WITH_WEB)
- ${FIND} "${PREFIX}/jdk${JDK_VERSION}/jre/plugin" -type d | ${XARGS} ${CHMOD} a+rx
-.endif
- @${LOCALBASE}/bin/registervm "${PREFIX}/jdk${JDK_VERSION}/bin/java # FREEBSD-JDK${JDK_VERSION}"
- @${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
-
-.include <bsd.port.post.mk>
diff --git a/java/jdk14/distinfo b/java/jdk14/distinfo
deleted file mode 100644
index 995e7e479104..000000000000
--- a/java/jdk14/distinfo
+++ /dev/null
@@ -1,10 +0,0 @@
-SHA256 (j2sdk-1_4_2-src-scsl.zip) = 385be651498992858f02fa6f02db2b97eb8f7090222ab47e1ad984fd48937eb8
-SIZE (j2sdk-1_4_2-src-scsl.zip) = 49269919
-SHA256 (j2sdk-1_4_2-bin-scsl.zip) = 033a7babe989176890760cffa03d6c1dd595d93d47637032c4314bf6a96008d0
-SIZE (j2sdk-1_4_2-bin-scsl.zip) = 2513462
-SHA256 (bsd-jdk14-patches-8.tar.gz) = 71e9891f5457b73f3ee055688053bb2cee209749f0ea9da596df6eef929bbbc3
-SIZE (bsd-jdk14-patches-8.tar.gz) = 1148395
-SHA256 (jce_policy-1_4_2.zip) = 7bf6d683602686321affc0071ad2fc3890c19cf5bb5cc16a963052e17588c097
-SIZE (jce_policy-1_4_2.zip) = 12195
-SHA256 (tzupdater-1_3_25-2009u.zip) = b2440ceffc322496546be0384a29bfc6322b290cdc1ef82ce363d742bcc357cc
-SIZE (tzupdater-1_3_25-2009u.zip) = 485247
diff --git a/java/jdk14/files/cacerts b/java/jdk14/files/cacerts
deleted file mode 100644
index 23c0c87b2859..000000000000
--- a/java/jdk14/files/cacerts
+++ /dev/null
Binary files differ
diff --git a/java/jdk14/files/disable-ipv6.patch b/java/jdk14/files/disable-ipv6.patch
deleted file mode 100644
index 00ecbef516f5..000000000000
--- a/java/jdk14/files/disable-ipv6.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-$FreeBSD$
-
---- ../../j2se/src/solaris/native/java/net/net_util_md.c.orig Tue Jan 27 17:31:03 2004
-+++ ../../j2se/src/solaris/native/java/net/net_util_md.c Tue Jan 27 17:31:38 2004
-@@ -166,6 +166,10 @@
- int fd;
- void *ipv6_fn;
-
-+#ifdef __FreeBSD__
-+ return JNI_FALSE;
-+#endif
-+
- fd = JVM_Socket(AF_INET6, SOCK_STREAM, 0) ;
- if (fd < 0) {
- /*
diff --git a/java/jdk14/files/patch-common::Defs-bsd.gmk b/java/jdk14/files/patch-common::Defs-bsd.gmk
deleted file mode 100644
index 9961a41e5476..000000000000
--- a/java/jdk14/files/patch-common::Defs-bsd.gmk
+++ /dev/null
@@ -1,41 +0,0 @@
-$FreeBSD$
---- ../../j2se/make/common/Defs-bsd.gmk.orig Sun Jun 3 10:46:29 2007
-+++ ../../j2se/make/common/Defs-bsd.gmk Sun Jun 3 11:04:08 2007
-@@ -40,15 +40,15 @@
- BASENAME = $(USRBIN_PATH)basename
- CAT = $(UNIXCOMMAND_PATH)cat
- ifneq ($(TRUE_PLATFORM), OpenBSD)
--CC = $(COMPILER_PATH)gcc
--CPP = $(COMPILER_PATH)gcc -E
-+CC ?= $(COMPILER_PATH)gcc
-+CPP ?= $(COMPILER_PATH)gcc -E
- ifeq ($(STATIC_CXX),true)
- # g++ always dynamically links libstdc++, even we use "-Wl,-Bstatic -lstdc++"
- # We need to use gcc to statically link the C++ runtime. gcc and g++ use
- # the same subprocess to compile C++ files, so it is OK to build using gcc.
--CXX = $(COMPILER_PATH)gcc
-+CXX ?= $(COMPILER_PATH)gcc
- else
--CXX = $(COMPILER_PATH)g++
-+CXX ?= $(COMPILER_PATH)g++
- endif
- else
- # Allow ports/pkgsrc infrastructure to override CC, CPP and CXX.
-@@ -192,7 +192,7 @@
- ifeq ($(TRUE_PLATFORM), NetBSD)
- DEVTOOLS_PATH = /usr/pkg/bin/
- else
--DEVTOOLS_PATH = /usr/local/bin/
-+DEVTOOLS_PATH = ${LOCALBASE}/bin/
- endif
- # Allow the user to override the default value...
- ifdef ALT_DEVTOOLS_PATH
-@@ -443,7 +443,7 @@
- override LIBTHREAD =
- override MOOT_PRIORITIES = true
- override NO_INTERRUPTIBLE_IO = false
--override OPENWIN_HOME = /usr/X11R6
-+override OPENWIN_HOME = $(LOCALBASE)
- override OPENWIN_LIB = $(OPENWIN_HOME)/lib
- override OTHER_M4FLAGS = -DGNU_ASSEMBLER
- override SUN_CMM_SUBDIR =
diff --git a/java/jdk14/files/patch-control::common::Defs-bsd.gmk b/java/jdk14/files/patch-control::common::Defs-bsd.gmk
deleted file mode 100644
index f9e45f642fa1..000000000000
--- a/java/jdk14/files/patch-control::common::Defs-bsd.gmk
+++ /dev/null
@@ -1,13 +0,0 @@
-$FreeBSD$
-
---- ../../control/make/common/Defs-bsd.gmk.orig Wed Nov 12 16:52:22 2003
-+++ ../../control/make/common/Defs-bsd.gmk Wed Nov 12 16:51:41 2003
-@@ -212,7 +212,7 @@
- ifeq ($(TRUE_PLATFORM), NetBSD)
- DEVTOOLS_PATH = /usr/pkg/bin/
- else
--DEVTOOLS_PATH = /usr/local/bin/
-+DEVTOOLS_PATH = ${LOCALBASE}/bin/
- endif
- # Allow the user to override the default value...
- ifdef ALT_DEVTOOLS_PATH
diff --git a/java/jdk14/files/patch-deploy::common::Defs-bsd.gmk b/java/jdk14/files/patch-deploy::common::Defs-bsd.gmk
deleted file mode 100644
index 6d002d730646..000000000000
--- a/java/jdk14/files/patch-deploy::common::Defs-bsd.gmk
+++ /dev/null
@@ -1,13 +0,0 @@
-$FreeBSD$
-
---- ../../deploy/make/common/Defs-bsd.gmk.orig Fri Dec 8 11:55:05 2006
-+++ ../../deploy/make/common/Defs-bsd.gmk Fri Dec 8 11:55:28 2006
-@@ -14,7 +14,7 @@
- JUMP_EXE = $(PROTO_DIR)/javawsbin$(SUFFIX)
- CLASSPATH_SEP = $(CLASSPATH_SEPARATOR)
- PATH_SEP = /
--X11DIR = /usr/X11R6
-+X11DIR = $(LOCALBASE)
- ifneq (,$(filter-out NetBSD DragonFly,$(TRUE_PLATFORM)))
- LIBS = -L$(X11DIR)/lib -lX11
- else
diff --git a/java/jdk14/files/patch-ipv6only b/java/jdk14/files/patch-ipv6only
deleted file mode 100644
index 2be94884d76e..000000000000
--- a/java/jdk14/files/patch-ipv6only
+++ /dev/null
@@ -1,131 +0,0 @@
-$FreeBSD$
-
---- ../../j2se/src/solaris/native/java/net/PlainDatagramSocketImpl.c.orig Mon Oct 31 21:54:39 2005
-+++ ../../j2se/src/solaris/native/java/net/PlainDatagramSocketImpl.c Tue Nov 1 13:13:05 2005
-@@ -226,8 +226,15 @@ Java_java_net_PlainDatagramSocketImpl_bi
-
- NET_InetAddressToSockaddr(env, iaObj, localport, (struct sockaddr *)&him, &len);
- #if defined(_ALLBSD_SOURCE)
-- if (cannotMap4to6(env, iaObj))
-- return;
-+#if defined(IPV6_V6ONLY)
-+ if (((struct sockaddr *)&him)->sa_family == AF_INET6) {
-+ int t = 0;
-+ JVM_SetSockOpt(fd, IPPROTO_IPV6, IPV6_V6ONLY, (void *)&t, sizeof(t));
-+ }
-+#else
-+ if (cannotMap4to6(env, iaObj))
-+ return;
-+#endif /* IPV6_V6ONLY */
- #endif /* _ALLBSD_SOURCE */
-
-
-@@ -292,8 +299,15 @@ Java_java_net_PlainDatagramSocketImpl_co
-
- NET_InetAddressToSockaddr(env, address, port, (struct sockaddr *)&rmtaddr, &len);
- #if defined(_ALLBSD_SOURCE)
-- if (cannotMap4to6(env, address))
-- return;
-+#if defined(IPV6_V6ONLY)
-+ if (((struct sockaddr *)&rmtaddr)->sa_family == AF_INET6) {
-+ int t = 0;
-+ JVM_SetSockOpt(fd, IPPROTO_IPV6, IPV6_V6ONLY, (void *)&t, sizeof(t));
-+ }
-+#else
-+ if (cannotMap4to6(env, address))
-+ return;
-+#endif /* IPV6_V6ONLY */
- #endif /* _ALLBSD_SOURCE */
-
-
-@@ -2191,11 +2205,18 @@ static void mcast_join_leave(JNIEnv *env
- jbyte caddr[16];
- jint family;
- jint address;
-+#if defined(_ALLBSD_SOURCE) && defined(IPV6_V6ONLY)
-+ int t = 0;
-+#endif
- family = (*env)->GetIntField(env, iaObj, ia_familyID) == IPv4? AF_INET : AF_INET6;
-
- #if defined(_ALLBSD_SOURCE)
-- if (cannotMap4to6(env, iaObj))
-- return;
-+#if defined(IPV6_V6ONLY)
-+ JVM_SetSockOpt(fd, IPPROTO_IPV6, IPV6_V6ONLY, (void *)&t, sizeof(t));
-+#else
-+ if (cannotMap4to6(env, iaObj))
-+ return;
-+#endif /* IPV6_V6ONLY */
- #endif /* _ALLBSD_SOURCE */
-
- if (family == AF_INET) { /* will convert to IPv4-mapped address */
---- ../../j2se/src/solaris/native/java/net/PlainSocketImpl.c.orig Mon Oct 31 21:54:39 2005
-+++ ../../j2se/src/solaris/native/java/net/PlainSocketImpl.c Tue Nov 1 13:11:57 2005
-@@ -323,8 +323,15 @@ Java_java_net_PlainSocketImpl_socketConn
- /* connect */
- NET_InetAddressToSockaddr(env, iaObj, port, (struct sockaddr *)&him, &len);
- #if defined(_ALLBSD_SOURCE)
-- if (cannotMap4to6(env, iaObj))
-- return;
-+#if defined(IPV6_V6ONLY)
-+ if (((struct sockaddr *)&him)->sa_family == AF_INET6) {
-+ int t = 0;
-+ JVM_SetSockOpt(fd, IPPROTO_IPV6, IPV6_V6ONLY, (void *)&t, sizeof(t));
-+ }
-+#else
-+ if (cannotMap4to6(env, iaObj))
-+ return;
-+#endif /* IPV6_V6ONLY */
- #endif /* _ALLBSD_SOURCE */
-
- #ifdef AF_INET6
-@@ -579,8 +586,15 @@ Java_java_net_PlainSocketImpl_socketBind
- /* bind */
- NET_InetAddressToSockaddr(env, iaObj, localport, (struct sockaddr *)&him, &len);
- #if defined(_ALLBSD_SOURCE)
-- if (cannotMap4to6(env, iaObj))
-- return;
-+#if defined(IPV6_V6ONLY)
-+ if (((struct sockaddr *)&him)->sa_family == AF_INET6) {
-+ int t = 0;
-+ JVM_SetSockOpt(fd, IPPROTO_IPV6, IPV6_V6ONLY, (void *)&t, sizeof(t));
-+ }
-+#else
-+ if (cannotMap4to6(env, iaObj))
-+ return;
-+#endif /* IPV6_V6ONLY */
- #endif /* _ALLBSD_SOURCE */
-
- if (NET_Bind(fd, (struct sockaddr *)&him, len) < 0) {
---- ../../j2se/src/solaris/native/java/net/net_util_md.c.orig Mon Oct 31 21:54:39 2005
-+++ ../../j2se/src/solaris/native/java/net/net_util_md.c Tue Nov 1 13:14:35 2005
-@@ -1129,7 +1129,7 @@ NET_Bind(int fd, struct sockaddr *him, i
- return rv;
- }
-
--#if defined(_ALLBSD_SOURCE)
-+#if defined(_ALLBSD_SOURCE) && !defined(IPV6_V6ONLY)
-
- /*
- * If net.inet6.ip6.v6only is set to 1, then IPv4 mapped addresses usage
---- ../../j2se/src/solaris/native/java/net/net_util_md.h.orig Mon Oct 31 21:54:39 2005
-+++ ../../j2se/src/solaris/native/java/net/net_util_md.h Tue Nov 1 13:15:39 2005
-@@ -24,6 +24,9 @@
- #endif
- #endif /* !_ALLBSD_SOURCE */
-
-+#if defined(IPV6_V6ONLY) && defined(__OpenBSD__)
-+#undef IPV6_V6ONLY
-+#endif
- /*
- * Linux header files define sockaddr_in6 incorrectly (missing the
- * sin6_scope_id field) so we use our own definition.
-@@ -144,7 +147,7 @@
- /*
- * Check for disabled IPv4 mapped addresses.
- */
--#if defined(_ALLBSD_SOURCE)
-+#if defined(_ALLBSD_SOURCE) && !defined(IPV6_V6ONLY)
- int cannotMap4to6(JNIEnv *env, jobject iaObj);
- #endif
-
diff --git a/java/jdk14/files/patch-j2se::awt::awt_motif21.c b/java/jdk14/files/patch-j2se::awt::awt_motif21.c
deleted file mode 100644
index 9dfe145b32d4..000000000000
--- a/java/jdk14/files/patch-j2se::awt::awt_motif21.c
+++ /dev/null
@@ -1,13 +0,0 @@
-$FreeBSD$
-
---- ../../j2se/src/solaris/native/sun/awt/awt_motif21.c 14 Jan 2005 10:35:32 -0000 1.6
-+++ ../../j2se/src/solaris/native/sun/awt/awt_motif21.c 8 May 2007 22:05:37 -0000
-@@ -15,7 +15,7 @@
- #include "awt_p.h"
- #include "awt_Component.h"
-
--#if (XmVersion == 2001)
-+#if (XmVersion >= 2001)
- #include <Xm/XmIm.h>
- #else
- #define XmPER_SHELL 0
diff --git a/java/jdk14/files/patch-j2se::awt::fontpath.c b/java/jdk14/files/patch-j2se::awt::fontpath.c
deleted file mode 100644
index 502c7a751375..000000000000
--- a/java/jdk14/files/patch-j2se::awt::fontpath.c
+++ /dev/null
@@ -1,19 +0,0 @@
-$FreeBSD$
-
---- ../../j2se/src/solaris/native/sun/awt/fontpath.c.orig Fri Dec 8 11:59:25 2006
-+++ ../../j2se/src/solaris/native/sun/awt/fontpath.c Fri Dec 8 12:00:06 2006
-@@ -495,10 +495,10 @@
- char *ptr;
-
- #if defined(__linux__) || defined(_ALLBSD_SOURCE)
-- ptr = "/usr/X11R6/lib/X11/fonts/Type1:"
-- "/usr/X11R6/lib/X11/fonts/TrueType:"
-- "/usr/X11R6/lib/X11/fonts/tt:"
-- "/usr/share/fonts/ja/TrueType";
-+ ptr = "%%LOCALBASE%%/lib/X11/fonts/Type1:"
-+ "%%LOCALBASE%%/lib/X11/fonts/TrueType:"
-+ "%%LOCALBASE%%/lib/X11/fonts/tt:"
-+ "%%LOCALBASE%%/fonts/ja/TrueType";
- #elif defined( HEADLESS )
- ptr = getSolarisFontLocations(env, (int) (noType1==JNI_TRUE));
- #elif SCAN_FONT_DIRS
diff --git a/java/jdk14/files/patch-j2se::net::Inet4AddressImpl.c b/java/jdk14/files/patch-j2se::net::Inet4AddressImpl.c
deleted file mode 100644
index e51ce9259bb9..000000000000
--- a/java/jdk14/files/patch-j2se::net::Inet4AddressImpl.c
+++ /dev/null
@@ -1,110 +0,0 @@
-$FreeBSD$
-
---- ../../j2se/src/solaris/native/java/net/Inet4AddressImpl.c.old Tue Jun 27 02:55:32 2006
-+++ ../../j2se/src/solaris/native/java/net/Inet4AddressImpl.c Tue Jun 27 02:55:35 2006
-@@ -13,6 +13,7 @@
- #include <string.h>
- #include <stdlib.h>
- #include <ctype.h>
-+#include <pthread.h>
- #if defined(_ALLBSD_SOURCE)
- #include <unistd.h>
- #if defined(__FreeBSD__) && __FreeBSD__ > 4
-@@ -312,6 +313,34 @@
- struct hostent *hptr,
- HOST_R_ARGS);
-
-+/*
-+ * BSDNOTE: Since we are emulating thread-safe functions, we need to
-+ * ensure they're not running in parallel. So, setup mutexes
-+ *
-+ * XXXBSD: make sure it works as expected
-+ * XXXBSD: move initialization to somethere earlier
-+ */
-+
-+pthread_mutex_t _net_mutex = PTHREAD_MUTEX_INITIALIZER;
-+static int _net_mutex_inited = 0;
-+
-+static int
-+_acquire_net_mutex()
-+{
-+ if (_net_mutex_inited == 0) {
-+ if (pthread_mutex_init(&_net_mutex, NULL))
-+ return (EINVAL);
-+ _net_mutex_inited = 1;
-+ }
-+ return (pthread_mutex_lock(&_net_mutex));
-+}
-+
-+static int
-+_release_net_mutex()
-+{
-+ return (pthread_mutex_unlock(&_net_mutex));
-+}
-+
- #endif
-
- /************************************************************************
-@@ -355,15 +384,19 @@
- #ifdef __GLIBC__
- gethostbyname_r(hostname, &res, buf, sizeof(buf), &hp, &h_error);
- #else
-+ _acquire_net_mutex();
- hp = JDK_gethostbyname_r(hostname, &res, buf, sizeof(buf), &h_error);
-+ _release_net_mutex();
- #endif
- if (hp) {
- #ifdef __GLIBC__
- gethostbyaddr_r(hp->h_addr, hp->h_length, AF_INET,
- &res2, buf2, sizeof(buf2), &hp, &h_error);
- #else
-+ _acquire_net_mutex();
- hp = JDK_gethostbyaddr_r(hp->h_addr, hp->h_length, AF_INET,
- &res2, buf2, sizeof(buf2), &h_error);
-+ _release_net_mutex();
- #endif
- if (hp) {
- /*
-@@ -428,7 +461,9 @@
- #ifdef __GLIBC__
- gethostbyname_r(hostname, &res, buf, sizeof(buf), &hp, &h_error);
- #else
-+ _acquire_net_mutex();
- hp = JDK_gethostbyname_r(hostname, &res, buf, sizeof(buf), &h_error);
-+ _release_net_mutex();
- #endif
-
- /* With the re-entrant system calls, it's possible that the buffer
-@@ -442,8 +477,10 @@
- gethostbyname_r(hostname, &res, tmp, BIG_HENT_BUF_SIZE,
- &hp, &h_error);
- #else
-+ _acquire_net_mutex();
- hp = JDK_gethostbyname_r(hostname, &res, tmp, BIG_HENT_BUF_SIZE,
- &h_error);
-+ _release_net_mutex();
- #endif
- }
- }
-@@ -531,8 +568,10 @@
- gethostbyaddr_r((char *)&addr, sizeof(addr), AF_INET, &hent,
- buf, sizeof(buf), &hp, &h_error);
- #else
-+ _acquire_net_mutex();
- hp = JDK_gethostbyaddr_r((char *)&addr, sizeof(addr), AF_INET, &hent,
- buf, sizeof(buf), &h_error);
-+ _release_net_mutex();
- #endif
- /* With the re-entrant system calls, it's possible that the buffer
- * we pass to it is not large enough to hold an exceptionally
-@@ -545,8 +584,10 @@
- gethostbyaddr_r((char *)&addr, sizeof(addr), AF_INET,
- &hent, tmp, BIG_HENT_BUF_SIZE, &hp, &h_error);
- #else
-+ _acquire_net_mutex();
- hp = JDK_gethostbyaddr_r((char *)&addr, sizeof(addr), AF_INET,
- &hent, tmp, BIG_HENT_BUF_SIZE, &h_error);
-+ _release_net_mutex();
- #endif
- } else {
- JNU_ThrowOutOfMemoryError(env, "getHostByAddr");
diff --git a/java/jdk14/files/patch-j2se::zip::FILES_c.gmk b/java/jdk14/files/patch-j2se::zip::FILES_c.gmk
deleted file mode 100644
index dfe676c5b80a..000000000000
--- a/java/jdk14/files/patch-j2se::zip::FILES_c.gmk
+++ /dev/null
@@ -1,18 +0,0 @@
---- ../../j2se/make/java/zip/FILES_c.gmk.orig Wed Sep 10 19:43:01 2003
-+++ ../../j2se/make/java/zip/FILES_c.gmk Sat Feb 11 00:55:54 2006
-@@ -8,15 +8,4 @@
- $(CTARGDIR)Inflater.c \
- $(CTARGDIR)ZipFile.c \
- $(CTARGDIR)ZipEntry.c \
-- $(CTARGDIR)zadler32.c \
-- $(CTARGDIR)zcrc32.c \
-- $(CTARGDIR)deflate.c \
-- $(CTARGDIR)trees.c \
-- $(CTARGDIR)zutil.c \
-- $(CTARGDIR)inflate.c \
-- $(CTARGDIR)infblock.c \
-- $(CTARGDIR)inftrees.c \
-- $(CTARGDIR)infcodes.c \
-- $(CTARGDIR)infutil.c \
-- $(CTARGDIR)inffast.c \
- $(CTARGDIR)zip_util.c
diff --git a/java/jdk14/files/patch-j2se::zip::Makefile b/java/jdk14/files/patch-j2se::zip::Makefile
deleted file mode 100644
index ed15182c29cc..000000000000
--- a/java/jdk14/files/patch-j2se::zip::Makefile
+++ /dev/null
@@ -1,31 +0,0 @@
---- ../../j2se/make/java/zip/Makefile.orig Wed Sep 10 19:43:01 2003
-+++ ../../j2se/make/java/zip/Makefile Sat Feb 11 00:55:54 2006
-@@ -12,8 +12,6 @@
- PRODUCT = sun
- include $(BUILDDIR)/common/Defs.gmk
-
--ZLIB_VERSION = 1.1.3
--
- #
- # Files to compile.
- #
-@@ -58,13 +56,6 @@
- CPPFLAGS += -UDEBUG
- endif
-
--CPPFLAGS += -I$(SHARE_SRC)/native/java/util/zip/zlib-$(ZLIB_VERSION)
--
--#
--# Add to ambient vpath so we pick up the library files
--#
--vpath %.c $(SHARE_SRC)/native/$(PKGDIR)/zlib-$(ZLIB_VERSION)
--
- #
- # Has been converted to the JNI: generate JNI-style header files
- #
-@@ -73,4 +64,4 @@
- #
- # Link to JVM library for JVM_Zip* functions
- #
--OTHER_LDLIBS = $(JVMLIB)
-+OTHER_LDLIBS = -lz
diff --git a/java/jdk14/files/patch-java_Makefile b/java/jdk14/files/patch-java_Makefile
deleted file mode 100644
index 60585c522db4..000000000000
--- a/java/jdk14/files/patch-java_Makefile
+++ /dev/null
@@ -1,11 +0,0 @@
---- ../../j2se/make/java/java/Makefile.orig Mon Dec 13 12:38:14 2004
-+++ ../../j2se/make/java/java/Makefile Mon Dec 13 12:42:00 2004
-@@ -284,7 +284,7 @@
- $(RM) -r $(TMPDIR)/GenerateCurrencyData
- $(MKDIR) -p $(TMPDIR)/GenerateCurrencyData
- $(JAVAC_BOOT) -d $(TMPDIR)/GenerateCurrencyData $(BUILDDIR)/tools/GenerateCurrencyData/GenerateCurrencyData.java
-- $(JAVA_BOOT) -classpath $(TMPDIR)/GenerateCurrencyData GenerateCurrencyData < $(SHARE_SRC)/classes/java/util/CurrencyData.properties > $@
-+ $(JAVA_BOOT) -classpath $(TMPDIR)/GenerateCurrencyData GenerateCurrencyData < $(SHARE_SRC)/classes/java/util/CurrencyData.properties | egrep -v '^Java HotSpot' > $@
-
- clean::
- $(RM) $(GENSRCDIR)/java/util/CurrencyData.java
diff --git a/java/jdk14/files/patch-plugin::common::config.gmk b/java/jdk14/files/patch-plugin::common::config.gmk
deleted file mode 100644
index 853ddbcd8ba1..000000000000
--- a/java/jdk14/files/patch-plugin::common::config.gmk
+++ /dev/null
@@ -1,21 +0,0 @@
---- ../../deploy/make/plugin/common/config.gmk.orig 2008-04-26 01:00:47.000000000 +0200
-+++ ../../deploy/make/plugin/common/config.gmk 2008-04-26 01:11:03.000000000 +0200
-@@ -52,16 +52,15 @@
-
- ifeq ($(PLATFORM), bsd)
- PLUGIN_PLATFORM_SRC := $(PLUGIN_TOP)/src/plugin/src/solaris
-- X11BASE = /usr/X11R6
- OTHER_LDFLAGS = -L$(X11BASE)/lib
- ifeq (,$(filter-out DragonFly NetBSD,$(TRUE_PLATFORM)))
-- OTHER_LDFLAGS += -Wl,-R$(X11BASE)/lib
-+ OTHER_LDFLAGS += -Wl,-R$(LOCALBASE)/lib
- endif
- DEF_SVR4 =
-
- # include search paths
- # XXXBSD: these should be defined in other place
-- CPPFLAGS1 += -I$(X11BASE)/include -I/usr/local/include
-+ CPPFLAGS1 += -I${LOCALBASE}/include
-
- ifeq ($(TRUE_PLATFORM), FreeBSD)
- LDFLAGS_COMMON += -pthread
diff --git a/java/jdk14/files/patch-plugin::ns6::Makefile b/java/jdk14/files/patch-plugin::ns6::Makefile
deleted file mode 100644
index ad15676d1b7d..000000000000
--- a/java/jdk14/files/patch-plugin::ns6::Makefile
+++ /dev/null
@@ -1,13 +0,0 @@
-$FreeBSD$
-
---- ../../deploy/make/plugin/ns6/Makefile.orig Wed Jan 14 11:10:30 2004
-+++ ../../deploy/make/plugin/ns6/Makefile Wed Jan 14 11:12:11 2004
-@@ -46,7 +46,7 @@
- ifeq ($(TRUE_PLATFORM), FreeBSD)
- # XXXBSD: is there any differences between nspr for ns610 and ns4
- # XXXBSD: direct /usr/local/include/nspr path is used!!!
--EXTRA_CPPFLAGS += -I/usr/local/include/nspr
-+EXTRA_CPPFLAGS += -I${LOCALBASE}/include/nspr
- endif
- ifeq ($(TRUE_PLATFORM), NetBSD)
- EXTRA_CPPFLAGS += -I/usr/pkg/include/mozilla/nspr
diff --git a/java/jdk14/files/patch-vm::os_bsd.cpp b/java/jdk14/files/patch-vm::os_bsd.cpp
deleted file mode 100644
index 25bd71db866c..000000000000
--- a/java/jdk14/files/patch-vm::os_bsd.cpp
+++ /dev/null
@@ -1,13 +0,0 @@
-$FreeBSD$
-
---- ../../hotspot/src/os/bsd/vm/os_bsd.cpp.orig Tue Jan 27 17:54:28 2004
-+++ ../../hotspot/src/os/bsd/vm/os_bsd.cpp Tue Jan 27 17:55:21 2004
-@@ -333,7 +333,7 @@
- #define malloc(n) (char*)NEW_C_HEAP_ARRAY(char, (n))
- #define getenv(n) ::getenv(n)
-
--#define DEFAULT_LD_LIBRARY_PATH "/usr/lib" /* See ld.so.1(1) */
-+#define DEFAULT_LD_LIBRARY_PATH "/usr/lib:%%LOCALBASE%%/lib" /* See ld.so.1(1) */
- #define EXTENSIONS_DIR "/lib/ext"
- #define ENDORSED_DIR "/lib/endorsed"
-
diff --git a/java/jdk14/files/pkg-deinstall.in b/java/jdk14/files/pkg-deinstall.in
deleted file mode 100644
index 94214557e4d9..000000000000
--- a/java/jdk14/files/pkg-deinstall.in
+++ /dev/null
@@ -1,31 +0,0 @@
-#!/bin/sh
-# $FreeBSD$
-
-# Set up a standard path
-PATH=/usr/bin:/bin
-
-# Don't do anything during post-deinstall
-if [ "$2" = "POST-DEINSTALL" ]; then
- exit 0
-fi
-
-# Remove the plugin
-
-# Plugin location variables
-BROWSERPLUGINDIR="%%LOCALBASE%%/lib/browser_plugins"
-JAVAPLUGINDIR="%%JRE_HOME%%/plugin/%%ARCH%%/ns610"
-PLUGIN=libjavaplugin_oji.so
-
-# Check if the package includes the plugin
-if [ ! -e "${JAVAPLUGINDIR}/${PLUGIN}" ]; then
- exit 0
-fi
-
-# See if the browser plugin is a link to the package plugin and remove it if so.
-if [ -e "${BROWSERPLUGINDIR}/${PLUGIN}" -a \
- -L "${BROWSERPLUGINDIR}/${PLUGIN}" -a \
- x`ls -l "${BROWSERPLUGINDIR}/${PLUGIN}" 2>/dev/null | awk '/->/{print $NF;exit 0}END{exit 1}'` = x"${JAVAPLUGINDIR}/${PLUGIN}" ]; then
- rm -f "${BROWSERPLUGINDIR}/${PLUGIN}"
-fi
-
-exit 0
diff --git a/java/jdk14/files/pkg-install.in b/java/jdk14/files/pkg-install.in
deleted file mode 100644
index a57551b91504..000000000000
--- a/java/jdk14/files/pkg-install.in
+++ /dev/null
@@ -1,57 +0,0 @@
-#!/bin/sh
-# $FreeBSD$
-
-# System preference location
-JRE_HOME=%%JRE_HOME%%
-
-# Post-install actions
-if [ "$2" = "POST-INSTALL" ]; then
- # Set up system preferences
- if [ ! -d "${JRE_HOME}/.systemPrefs" ] ; then
- mkdir -m 755 "${JRE_HOME}/.systemPrefs"
- fi
- if [ ! -f "${JRE_HOME}/.systemPrefs/.system.lock" ] ; then
- touch "${JRE_HOME}/.systemPrefs/.system.lock"
- chmod 644 "${JRE_HOME}/.systemPrefs/.system.lock"
- fi
- if [ ! -f "${JRE_HOME}/.systemPrefs/.systemRootModFile" ] ; then
- touch "${JRE_HOME}/.systemPrefs/.systemRootModFile"
- chmod 644 "${JRE_HOME}/.systemPrefs/.systemRootModFile"
- fi
-
- # Install the plugin
- BROWSERPLUGINDIR="%%LOCALBASE%%/lib/browser_plugins"
- JAVAPLUGINDIR="${JRE_HOME}/plugin/%%ARCH%%/ns610"
- PLUGIN=libjavaplugin_oji.so
-
- # Check if the browser plugin exists
- if [ ! -e "${JAVAPLUGINDIR}/${PLUGIN}" ]; then
- exit 0
- fi
-
- # Check if the plugin directory exists.
- if [ ! -d "${BROWSERPLUGINDIR}" ]; then
- exit 0
- fi
-
- # Check if the browser plugin currently exists
- if [ ! -e "${BROWSERPLUGINDIR}/${PLUGIN}" ]; then
- # Create symbolic link
- ln -sf "${JAVAPLUGINDIR}/${PLUGIN}" \
- "${BROWSERPLUGINDIR}/${PLUGIN}"
- exit 0
- fi
-
- # If the browser plugin exists and is a symlink, but the link
- # doesn't exist, then overwrite with our plugin.
- if [ -L "${BROWSERPLUGINDIR}/${PLUGIN}" ]; then
- # Check if the linked to file exists.
- if [ ! -e `ls -l "${BROWSERPLUGINDIR}/${PLUGIN}" 2>/dev/null | awk '/->/{print $NF;exit 0}END{exit 1}'` ]; then
- ln -sf "${JAVAPLUGINDIR}/${PLUGIN}" \
- "${BROWSERPLUGINDIR}/${PLUGIN}"
- exit 0
- fi
- fi
-
- exit 0
-fi
diff --git a/java/jdk14/files/testos.c b/java/jdk14/files/testos.c
deleted file mode 100644
index d1e77573e86b..000000000000
--- a/java/jdk14/files/testos.c
+++ /dev/null
@@ -1,81 +0,0 @@
-/*-
- * Copyright (c) 2003 Alexey Zelkin <phantom@FreeBSD.org>
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
- * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
- * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- *
- * Test pthreads primitives for required functionality in order to run
- * native FreeBSD JDK1.4.2 port.
- *
- * Returns:
- * 0 - test passed
- * 1 - general failure
- * 200 - tests failed
- *
- * $FreeBSD$
- */
-
-#include <stdio.h>
-#include <pthread.h>
-#include <pthread_np.h>
-
-#define TRY(call) { \
- if ((call) != 0) { \
- printf("LIBC_R TEST: Unexpected error. Report to MAINTAINER\n"); \
- exit(200); \
- } \
-}
-
-void *
-doit(void *data)
-{
- pthread_attr_t attr;
- void *mystack = NULL;
-
- TRY(pthread_attr_init(&attr));
- TRY(pthread_attr_get_np(pthread_self(), &attr));
- TRY(pthread_attr_getstackaddr(&attr, &mystack));
-
- if (mystack == NULL) {
- printf("LIBC_R TEST FAILED: libc_r update required\n");
- exit(1);
- }
-
- printf("LIBC_R TEST PASSED: All Ok\n");
- return(NULL);
-}
-
-int
-main()
-{
- pthread_t tid;
- pthread_attr_t attr;
-
- int sz = 128*1024;
-
- TRY(pthread_attr_init(&attr));
- TRY(pthread_attr_setstacksize(&attr, sz));
- TRY(pthread_create(&tid, &attr, doit, NULL));
- TRY(pthread_join(tid, NULL));
-
- exit(0);
-}
diff --git a/java/jdk14/pkg-descr b/java/jdk14/pkg-descr
deleted file mode 100644
index b80bb46b3141..000000000000
--- a/java/jdk14/pkg-descr
+++ /dev/null
@@ -1,11 +0,0 @@
-This is the latest patchset from the Java 2 FreeBSD porting project. This
-port allows you to easily build a native JDK1.4.2 for FreeBSD.
-
-Please note that due to the current Sun licensing policy the resulting binaries
-can't be distributed and you are only permitted to use/hack it personally.
-Due to the same reasons you have to manually fetch the source code and patchset
-for FreeBSD.
-
-WWW: http://www.freebsd.org/java/
- http://www.eyesbeyond.com/freebsddom/java/index.html
- http://www.sun.com/software/communitysource/java2/
diff --git a/java/jdk14/pkg-message b/java/jdk14/pkg-message
deleted file mode 100644
index 506cc7cb56d0..000000000000
--- a/java/jdk14/pkg-message
+++ /dev/null
@@ -1,1142 +0,0 @@
-SUN COMMUNITY SOURCE LICENSE Version 2.3 (Rev. Date Feb.
-23, 1999)
-
-RECITALS
-
-Original Contributor has developed Specifications and Source
-Code implementations of certain Technology; and
-
-Original Contributor desires to license the Technology to a
-large community to facilitate research, innovation and
-product development while maintaining compatibility of such
-products with the Technology as delivered by Original
-Contributor; and
-
-Original Contributor desires to license certain Sun
-Trademarks for the purpose of branding products that are
-compatible with the relevant Technology delivered by
-Original Contributor; and
-
-You desire to license the Technology and possibly certain
-Sun Trademarks from Original Contributor on the terms and
-conditions specified in this License.
-
-In consideration for the mutual covenants contained herein,
-You and Original Contributor agree as follows:
-
-AGREEMENT
-1. Introduction. The Sun Community Source License and
-effective attachments ("License") may include five distinct
-licenses: Research Use, TCK, Internal Deployment Use,
-Commercial Use and Trademark License. The Research Use
-license is effective when You click and accept this License.
-The TCK and Internal Deployment Use licenses are effective
-when You click and accept this License, unless otherwise
-specified in the TCK and Internal Deployment Use
-attachments. The Commercial Use and Trademark licenses must
-be signed by You and Original Contributor in order to become
-effective. Once effective, these licenses and the
-associated requirements and responsibilities are cumulative.
-Capitalized terms used in this License are defined in the
-Glossary.
-
-2. License Grants.
-
-2.1 Original Contributor Grant. Subject to Your compliance
-with Sections 3, 8.10 and Attachment A of this License,
-Original Contributor grants to You a worldwide,
-royalty-free, non-exclusive license, to the extent of
-Original Contributor's Intellectual Property Rights covering
-the Original Code, Upgraded Code and Specifications, to do
-the following:
-
-a) Research Use License:
-
-(i) use, reproduce and modify the Original Code, Upgraded
-Code and Specifications to create Modifications and
-Reformatted Specifications for Research Use by You,
-
-(ii) publish and display Original Code, Upgraded Code and
-Specifications with, or as part of Modifications, as
-permitted under Section 3.1 b) below,
-
-(iii) reproduce and distribute copies of Original Code and
-Upgraded Code to Licensees and students for Research Use by
-You,
-
-(iv) compile, reproduce and distribute Original Code and
-Upgraded Code in Executable form, and Reformatted
-Specifications to anyone for Research Use by You.
-
-b) Other than the licenses expressly granted in this
-License, Original Contributor retains all right, title, and
-interest in Original Code and Upgraded Code and
-Specifications.
-
-2.2 Your Grants.
-
-a) To Other Licensees. You hereby grant to each Licensee a
-license to Your Error Corrections and Shared Modifications,
-of the same scope and extent as Original Contributor's
-licenses under Section 2.1 a) above relative to Research
-Use, Attachment C relative to Internal Deployment Use, and
-Attachment D relative to Commercial Use.
-
-b) To Original Contributor. You hereby grant to Original
-Contributor a worldwide, royalty-free, non-exclusive,
-perpetual and irrevocable license, to the extent of Your
-Intellectual Property Rights covering Your Error
-Corrections, Shared Modifications and Reformatted
-Specifications, to use, reproduce, modify, display and
-distribute Your Error Corrections, Shared Modifications and
-Reformatted Specifications, in any form, including the right
-to sublicense such rights through multiple tiers of
-distribution.
-
-c) Other than the licenses expressly granted in Sections 2.2
-a) and b) above, and the restriction set forth in Section
-3.1 d)(iv) below, You retain all right, title, and interest
-in Your Error Corrections, Shared Modifications and
-Reformatted Specifications.
-
-2.3 Contributor Modifications. You may use, reproduce,
-modify, display and distribute Contributor Error
-Corrections, Shared Modifications and Reformatted
-Specifications, obtained by You under this License, to the
-same scope and extent as with Original Code, Upgraded Code
-and Specifications.
-
-2.4 Subcontracting. You may deliver the Source Code of
-Covered Code to other Licensees having at least a Research
-Use license, for the sole purpose of furnishing development
-services to You in connection with Your rights granted in
-this License. All such Licensees must execute appropriate
-documents with respect to such work consistent with the
-terms of this License, and acknowledging their
-work-made-for-hire status or assigning exclusive right to
-the work product and associated Intellectual Property Rights
-to You.
-
-3.Requirements and Responsibilities.
-
-3.1 Research Use License. As a condition of exercising
-the rights granted under Section 2.1 a) above, You agree to
-comply with the following:
-
-a) Your Contribution to the Community. All Error
-Corrections and Shared Modifications which You create or
-contribute to are automatically subject to the licenses
-granted under Section 2.2 above. You are encouraged to
-license all of Your other Modifications under Section 2.2 as
-Shared Modifications, but are not required to do so. You
-agree to notify Original Contributor of any errors in the
-Specification.
-
-b) Source Code Availability. You agree to provide all Your
-Error Corrections to Original Contributor as soon as
-reasonably practicable and, in any event, prior to Internal
-Deployment Use or Commercial Use, if applicable. Original
-Contributor may, at its discretion, post Source Code for
-Your Error Corrections and Shared Modifications on the
-Community Webserver. You may also post Error Corrections
-and Shared Modifications on a web-server of Your choice;
-provided, that You must take reasonable precautions to
-ensure that only Licensees have access to such Error
-Corrections and Shared Modifications. Such precautions
-shall include, without limitation, a password protection
-scheme limited to Licensees and a click-on, download
-certification of Licensee status required of those
-attempting to download from the server. An example of an
-acceptable certification is attached as Attachment A-2.
-
-c) Notices. All Error Corrections and Shared Modifications
-You create or contribute to must include a file documenting
-the additions and changes You made and the date of such
-additions and changes. You must also include the notice set
-forth in Attachment A-1 in the file header. If it is not
-possible to put the notice in a particular Source Code file
-due to its structure, then You must include the notice in a
-location (such as a relevant directory file), where a
-recipient would be most likely to look for such a notice.
-
-d) Redistribution.
-
-(i) Source. Covered Code may be distributed in Source Code
-form only to another Licensee (except for students as
-provided below). You may not offer or impose any terms on
-any Covered Code that alter the rights, requirements, or
-responsibilities of such Licensee. You may distribute
-Covered Code to students for use in connection with their
-course work and research projects undertaken at accredited
-educational institutions. Such students need not be
-Licensees, but must be given a copy of the notice set forth
-in Attachment A-3 and such notice must also be included in a
-file header or prominent location in the Source Code made
-available to such students.
-
-(ii) Executable. You may distribute Executable version(s)
-of Covered Code to Licensees and other third parties only
-for the purpose of evaluation and comment in connection with
-Research Use by You and under a license of Your choice, but
-which limits use of such Executable version(s) of Covered
-Code only to that purpose.
-
-(iii) Modified Class,Interface and Package Naming. In
-connection with Research Use by You only, You may use
-Original Contributor's class, interface and package names
-only to accurately reference or invoke the Source Code files
-You modify. Original Contributor grants to You a limited
-license to the extent necessary for such purposes.
-
-(iv) You expressly agree that any distribution, in whole or
-in part, of Modifications developed by You shall only be
-done pursuant to the term and conditions of this License.
-
-e) Extensions.
-
-(i) Covered Code. You may not include any Source Code of
-Community Code in any Extensions;
-
-(ii) Publication. No later than the date on which You first
-distribute such Extension for Commercial Use, You must
-publish to the industry, on a non-confidential basis and
-free of all copyright restrictions with respect to
-reproduction and use, an accurate and current specification
-for any Extension. In addition, You must make available an
-appropriate test suite, pursuant to the same rights as the
-specification, sufficiently detailed to allow any third
-party reasonably skilled in the technology to produce
-implementations of the Extension compatible with the
-specification. Such test suites must be made available as
-soon as reasonably practicable but, in no event, later than
-ninety (90) days after Your first Commercial Use of the
-Extension. You must use reasonable efforts to promptly
-clarify and correct the specification and the test suite
-upon written request by Original Contributor.
-
-(iii) Open. You agree to refrain from enforcing any
-Intellectual Property Rights You may have covering any
-interface(s) of Your Extension, which would prevent the
-implementation of such interface(s) by Original Contributor
-or any Licensee. This obligation does not prevent You from
-enforcing any Intellectual Property Right You have that
-would otherwise be infringed by an implementation of Your
-Extension.
-
-(iv) Class, Interface and Package Naming. You may not add
-any packages, or any public or protected classes or
-interfaces with names that originate or might appear to
-originate from Original Contributor including, without
-limitation, package or class names which begin with "sun",
-"java", "javax", "jini", "net.jini", "com.sun" or their
-equivalents in any subsequent class, interface and/ or
-package naming convention adopted by Original Contributor.
-It is specifically suggested that You name any new packages
-using the "Unique Package Naming Convention" as described in
-"The Java Language Specification" by James Gosling, Bill
-Joy, and Guy Steele, ISBN 0-201-63451-1, August 1996.
-Section 7.7 "Unique Package Names", on page 125 of this
-specification which states, in part:
-
-"You form a unique package name by first having (or
-belonging to an organization that has) an Internet domain
-name, such as "sun.com". You then reverse the name,
-component by component, to obtain, in this example,
-"Com.sun", and use this as a prefix for Your package names,
-using a convention developed within Your organization to
-further administer package names."
-
-3.2 Additional Requirements and Responsibilities. Any
-additional requirements and responsibilities relating to the
-Technology are listed in Attachment F (Additional
-Requirements and Responsibilities), if applicable, and are
-hereby incorporated into this Section 3.
-
-4. Versions of the License.
-
-4.1 License Versions. Original Contributor may publish
-revised versions of the License from time to time. Each
-version will be given a distinguishing version number.
-
-4.2 Effect. Once a particular version of Covered Code has
-been provided under a version of the License, You may always
-continue to use such Covered Code under the terms of that
-version of the License. You may also choose to use such
-Covered Code under the terms of any subsequent version of
-the License. No one other than Original Contributor has the
-right to promulgate License versions.
-
-5. Disclaimer of Warranty.
-
-5.1 COVERED CODE IS PROVIDED UNDER THIS LICENSE "AS IS,"
-WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED,
-INCLUDING, WITHOUT LIMITATION, WARRANTIES THAT THE COVERED
-CODE IS FREE OF DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR
-PURPOSE OR NON-INFRINGING. YOU AGREE TO BEAR THE ENTIRE
-RISK IN CONNECTION WITH YOUR USE AND DISTRIBUTION OF COVERED
-CODE UNDER THIS LICENSE. THIS DISCLAIMER OF WARRANTY
-CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF
-ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT SUBJECT TO
-THIS DISCLAIMER.
-
-5.2 You acknowledge that Original Code, Upgraded Code and
-Specifications are not designed or intended for use in (i)
-on-line control of aircraft, air traffic, aircraft
-navigation or aircraft communications; or (ii) in the
-design, construction, operation or maintenance of any
-nuclear facility. Original Contributor disclaims any
-express or implied warranty of fitness for such uses.
-
-6. Termination.
-
-6.1 By You. You may terminate this Research Use license at
-anytime by providing written notice to Original Contributor.
-
-6.2 By Original Contributor. This License and the rights
-granted hereunder will terminate:
-
-(i) automatically if You fail to comply with the terms of
-this License and fail to cure such breach within 30 days of
-receipt of written notice of the breach;
-
-(ii) immediately in the event of circumstances specified in
-Sections 7.1 and 8.4; or
-
-(iii) at Original Contributor's discretion upon any action
-initiated in the first instance by You alleging that use or
-distribution by Original Contributor or any Licensee, of
-Original Code, Upgraded Code, Error Corrections or Shared
-Modifications contributed by You, or Specifications,
-infringe a patent owned or controlled by You.
-
-6.3 Effective of Termination. Upon termination, You agree
-to discontinue use and return or destroy all copies of
-Covered Code in your possession. All sublicenses to the
-Covered Code which you have properly granted shall survive
-any termination of this License. Provisions which, by their
-nature, should remain in effect beyond the termination of
-this License shall survive including, without limitation,
-Sections 2.2, 3, 5, 7 and 8.
-
-6.4 Each party waives and releases the other from any claim
-to compensation or indemnity for permitted or lawful
-termination of the business relationship established by this
-License.
-
-7. Liability.
-
-7.1 Infringement. Should any of the Original Code, Upgraded
-Code, TCK or Specifications ("Materials") become the subject
-of a claim of infringement, Original Contributor may, at its
-sole option, (i) attempt to procure the rights necessary for
-You to continue using the Materials, (ii) modify the
-Materials so that they are no longer infringing, or (iii)
-terminate Your right to use the Materials, immediately upon
-written notice, and refund to You the amount, if any, having
-then actually been paid by You to Original Contributor for
-the Original Code, Upgraded Code and TCK, depreciated on a
-straight line, five year basis.
-
-7.2 LIMITATION OF LIABILITY. TO THE FULL EXTENT ALLOWED BY
-APPLICABLE LAW, ORIGINAL CONTRIBUTOR's LIABILITY TO YOU FOR
-CLAIMS RELATING TO THIS LICENSE, WHETHER FOR BREACH OR IN
-TORT, SHALL BE LIMITED TO ONE HUNDRED PERCENT (100%) OF THE
-AMOUNT HAVING THEN ACTUALLY BEEN PAID BY YOU TO ORIGINAL
-CONTRIBUTOR FOR ALL COPIES LICENSED HEREUNDER OF THE
-PARTICULAR ITEMS GIVING RISE TO SUCH CLAIM, IF ANY. IN NO
-EVENT WILL YOU (RELATIVE TO YOUR SHARED MODIFICATIONS OR
-ERROR CORRECTIONS) OR SUN BE LIABLE FOR ANY INDIRECT,
-PUNITIVE, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES IN
-CONNECTION WITH OR ARISING OUT OF THIS LICENSE (INCLUDING,
-WITHOUT LIMITATION, LOSS OF PROFITS, USE, DATA, OR OTHER
-ECONOMIC ADVANTAGE), HOWEVER IT ARISES AND ON ANY THEORY OF
-LIABILITY, WHETHER IN AN ACTION FOR CONTRACT, STRICT
-LIABILITY OR TORT (INCLUDING NEGLIGENCE) OR OTHERWISE,
-WHETHER OR NOT YOU OR ORIGINAL CONTRIBUTOR HAS BEEN ADVISED
-OF THE POSSIBILITY OF SUCH DAMAGE AND NOTWITHSTANDING THE
-FAILURE OF ESSENTIAL PURPOSE OF ANY REMEDY.
-
-8. Miscellaneous.
-
-8.1 Trademark. You agree to comply with the then current
-Sun Trademark & Logo Usage Requirements accessible through
-the SCSL Webpage. Except as expressly provided in the
-License, You are granted no right, title or license to, or
-interest in, any Sun Trademarks. You agree not to (i)
-challenge Original Contributor's ownership or use of Sun
-Trademarks; (ii) attempt to register any Sun Trademarks, or
-any mark or logo substantially similar thereto; or (iii)
-incorporate any Sun Trademarks into your own trademarks,
-product names, service marks, company names, or domain
-names.
-
-8.2 Integration. This License represents the complete
-agreement concerning the subject matter hereof.
-
-8.3 Assignment. Original Contributor may assign this
-License, and its rights and obligations hereunder, in its
-sole discretion. You may assign the Research Use portions
-of this License to a third party upon prior written notice
-to Original Contributor (which may be provided via the
-Community Web-Server). You may not assign the Commercial
-Use license or TCK license, including by way of merger
-(regardless of whether You are the surviving entity) or
-acquisition, without Original Contributor's prior written
-consent.
-
-8.4 Severability. If any provision of this License is held
-to be unenforceable, such provision shall be reformed only
-to the extent necessary to make it enforceable.
-Notwithstanding the foregoing, if You are prohibited by law
-from fully and specifically complying with Sections 2.2 or
-3, this License will immediately terminate and You must
-immediately discontinue any use of Covered Code.
-
-8.5 Governing Law. This License shall be governed by the
-laws of the United States and the State of California, as
-applied to contracts entered into and to be performed in
-California between California residents. The application of
-the United Nations Convention on Contracts for the
-International Sale of Goods is expressly excluded.
-
-8.6 Dispute Resolution.
-
-a) Any dispute arising out of or relating to this License
-shall be finally settled by arbitration as set out herein,
-except that either party may bring any action, in a court of
-competent jurisdiction (which jurisdiction shall be
-exclusive), with respect to any dispute relating to such
-party's Intellectual Property Rights or with respect to Your
-compliance with the TCK license. Arbitration shall be
-administered: (i) by the American Arbitration Association
-(AAA), (ii) in accordance with the rules of the United
-Nations Commission on International Trade Law (UNCITRAL)
-(the "Rules") in effect at the time of arbitration as
-modified herein; and (iii) the arbitrator will apply the
-substantive laws of California and United States. Judgment
-upon the award rendered by the arbitrator may be entered in
-any court having jurisdiction to enforce such award.
-
-b) All arbitration proceedings shall be conducted in English
- by a single arbitrator selected in accordance with the
- Rules, who must be fluent in English and be either a
- retired judge or practicing attorney having at least ten
- (10) years litigation experience and be reasonably familiar
- with the technology matters relative to the dispute.
- Unless otherwise agreed, arbitration venue shall be in
- London, Tokyo, or San Francisco, whichever is closest to
- defendant's principal business office. The arbitrator may
- award monetary damages only and nothing shall preclude
- either party from seeking provisional or emergency relief
- from a court of competent jurisdiction. The arbitrator
- shall have no authority to award damages in excess of those
- permitted in this License and any such award in excess is
- void. All awards will be payable in U.S. dollars and may
- include, for the prevailing party (i) pre-judgment award
- interest, (ii) reasonable attorneys' fees incurred in
- connection with the arbitration, and (iii) reasonable costs
- and expenses incurred in enforcing the award. The
- arbitrator will order each party to produce identified
- documents and respond to no more than twenty-five single
- question interrogatories.
-
-8.7 Construction. Any law or regulation which provides that
-the language of a contract shall be construed against the
-drafter shall not apply to this License.
-
-8.8 U.S. Government End Users. The Covered Code is a
-"commercial item," as that term is defined in 48 C.F.R.
-2.101 (Oct. 1995), consisting of "commercial computer
-software" and "commercial computer software documentation,"
-as such terms are used in 48 C.F.R. 12.212 (Sept. 1995).
-Consistent with 48 C.F.R. 12.212 and 48 C.F.R. 227.7202-1
-through 227.7202-4 (June 1995), all U.S. Government End
-Users acquire Covered Code with only those rights set forth
-herein. You agree to pass this notice to Your licensees.
-
-8.9 Press Announcements. All press announcements relative
-to the execution of this License must be reviewed and
-approved by Original Contributor and You prior to release.
-
-8.10 International Use.
-
-a) Export/Import laws. Covered Code is subject to U.S.
-export control laws and may be subject to export or import
-regulations in other countries. Each party agrees to comply
-strictly with all such laws and regulations and acknowledges
-their responsibility to obtain such licenses to export,
-re-export, or import as may be required. You agree to pass
-these obligations to Your licensees.
-
-b) Intellectual Property Protection. Due to limited
-intellectual property protection and enforcement in certain
-countries, You agree not to redistribute the Original Code,
-Upgraded Code, TCK and Specifications to any country other
-than the list of restricted countries on the SCSL Webpage.
-
-8.11 Language. This License is in the English language
-only, which language shall be controlling in all respects,
-and all versions of this License in any other language shall
-be for accommodation only and shall not be binding on the
-parties to this License. All communications and notices
-made or given pursuant to this License, and all
-documentation and support to be provided, unless otherwise
-noted, shall be in the English language.
-
-PLEASE READ THE TERMS OF THIS LICENSE CAREFULLY. BY
-CLICKING ON THE "ACCEPT" BUTTON BELOW YOU ARE ACCEPTING AND
-AGREEING TO THE TERMS AND CONDITIONS OF THIS LICENSE WITH
-SUN MICROSYSTEMS, INC. IF YOU ARE AGREEING TO THIS LICENSE
-ON BEHALF OF A COMPANY, YOU REPRESENT THAT YOU ARE
-AUTHORIZED TO BIND THE COMPANY TO SUCH A LICENSE. WHETHER
-YOU ARE ACTING ON YOUR OWN BEHALF, OR REPRESENTING A
-COMPANY, YOU MUST BE OF MAJORITY AGE AND BE OTHERWISE
-COMPETENT TO ENTER INTO CONTRACTS. IF YOU DO NOT MEET THIS
-CRITERIA OR YOU DO NOT AGREE TO ANY OF THE TERMS AND
-CONDITIONS OF THIS LICENSE, CLICK ON THE REJECT BUTTON TO
-EXIT.
-
-ACCEPT REJECT
-
-GLOSSARY
-
-1. "Commercial Use" means any use (excluding Internal
-Deployment Use) or distribution, directly or indirectly of
-Compliant Covered Code by You to any third party, alone or
-bundled with any other software or hardware, for direct or
-indirect commercial or strategic gain or advantage, subject
-to execution of Attachment D by You and Original
-Contributor.
-
-2. "Community Code" means the Original Code, Upgraded Code,
-Error Corrections, Shared Modifications, or any combination
-thereof.
-
-3. "Community Webserver(s)" means the webservers designated
-by Original Contributor for posting Error Corrections and
-Shared Modifications.
-
-4. "Compliant Covered Code" means Covered Code that
-complies with the requirements of the TCK.
-
-5. "Contributor" means each Licensee that creates or
-contributes to the creation of any Error Correction or
-Shared Modification.
-
-6. "Covered Code" means the Original Code, Upgraded Code,
-Modifications, or any combination thereof.
-
-7. "Error Correction" means any change made to Community
-Code which conforms to the Specification and corrects the
-adverse effect of a failure of Community Code to perform any
-function set forth in or required by the Specifications.
-
-7. "Executable" means Covered Code that has been converted
-to a form other than Source Code.
-
-9. "Extension(s)" means any additional classes or other
-programming code and/or interfaces developed by or for You
-which: (i) are designed for use with the Technology; (ii)
-constitute an API for a library of computing functions or
-services; and (iii) are disclosed to third party software
-developers for the purpose of developing software which
-invokes such additional classes or other programming code
-and/or interfaces. The foregoing shall not apply to
-software development by Your subcontractors to be
-exclusively used by You.
-
-10. "Intellectual Property Rights" means worldwide
-statutory and common law rights associated solely with (i)
-patents and patent applications; (ii) works of authorship
-including copyrights, copyright applications, copyright
-registrations and "moral rights"; (iii) the protection of
-trade and industrial secrets and confidential information;
-and (iv) divisions, continuations, renewals, and
-re-issuances of the foregoing now existing or acquired in
-the future.
-
-11. "Internal Deployment Use" means use of Compliant
-Covered Code (excluding Research Use) within Your business
-or organization only by Your employees and/or agents,
-subject to execution of Attachment C by You and Original
-Contributor, if required.
-
-12. "Licensee" means any party that has entered into and
-has in effect a version of this License with Original
-Contributor.
-
-13. "Modification(s)" means (i) any change to Covered Code;
-(ii) any new file or other representation of computer
-program statements that contains any portion of Covered
-Code; and/or (iii) any new Source Code implementing any
-portion of the Specifications.
-
-14. "Original Code" means the initial Source Code for the
-Technology as described on the Technology Download Site.
-
-15. "Original Contributor" means Sun Microsystems, Inc.,
-its affiliates and its successors and assigns.
-
-16. "Reformatted Specifications" means any revision to the
-Specifications which translates or reformats the
-Specifications (as for example in connection with Your
-documentation) but which does not alter, subset or superset
-the functional or operational aspects of the Specifications.
-
-17. "Research Use" means use and distribution of Covered
-Code only for Your research, development, educational or
-personal and individual use, and expressly excludes Internal
-Deployment Use and Commercial Use.
-
-18. "SCSL Webpage" means the Sun Community Source license
-webpage located at http://sun.com/software/communitysource,
-or such other url that Sun may designate from time to time.
-
-19. "Shared Modifications" means Modifications provided by
-You, at Your option, pursuant to Section 2.2, or received by
-You from a Contributor pursuant to Section 2.3.
-
-20. "Source Code" means computer program statements written
-in any high-level, readable form suitable for modification
-and development.
-
-21. "Specifications" means the specifications for the
-Technology and other documentation, as designated on the
-Technology Download Site, as may be revised by Original
-Contributor from time to time.
-
-22. "Sun Trademarks" means Original Contributor's SUN,
-JAVA, and JINI trademarks and logos, whether now used or
-adopted in the future.
-
-23. "Technology" means the
-technology described in Attachment B, and Upgrades.
-
-24. "Technology Compatibility Kit" or "TCK" means the test
-programs, procedures and/or other requirements, designated
-by Original Contributor for use in verifying compliance of
-Covered Code with the Specifications, in conjunction with
-the Original Code and Upgraded Code. Original Contributor
-may, in its sole discretion and from time to time, revise a
-TCK to correct errors and/or omissions and in connection
-with Upgrades.
-
-25. "Technology Download Site" means the site(s) designated
-by Original Contributor for access to the Original Code,
-Upgraded Code, TCK and Specifications.
-
-26. "Upgrade(s)" means new versions of Technology
-designated exclusively by Original Contributor as an
-"Upgrade" and released by Original Contributor from time to
-time.
-
-27. "Upgraded Code" means the Source Code for Upgrades,
-possibly including Modifications made by Contributors.
-
-28. "You(r)" means an individual, or a legal entity acting
-by and through an individual or individuals, exercising
-rights either under this License or under a future version
-of this License issued pursuant to Section 4.1. For legal
-entities, "You(r)" includes any entity that by majority
-voting interest controls, is controlled by, or is under
-common control with You.
-
-ATTACHMENT A
-
-REQUIRED NOTICES
-
-ATTACHMENT A-1
-
-REQUIRED IN ALL CASES
-
-"The contents of this file, or the files included with this
-file, are subject to the current version of Sun Community
-Source License for [fill in name of applicable Technology]
-(the "License"); You may not use this file except in
-compliance with the License. You may obtain a copy of the
-License at http://sun.com/software/communitysource. See the
-License for the rights, obligations and limitations
-governing use of the contents of the file.
-
-The Original and Upgraded Code is [fill in name and version
-of applicable Technology]. The developer of the Original
-and Upgraded Code is Sun Microsystems, Inc. Sun
-Microsystems, Inc. owns the copyrights in the portions it
-created. All Rights Reserved.
-
-Contributor(s):
-_______________________________________________
-
-Associated Test Suite(s) Location:
-________________________________
-
-ATTACHMENT A-2
-
-SAMPLE LICENSEE CERTIFICATION
-
-"By clicking the `Agree' button below, You certify that You
-are a Licensee in good standing under the Sun Community
-Source License, [fill in applicable Technology and Version]
-("License") and that Your access, use and distribution of
-code and information You may obtain at this site is subject
-to the License."
-
-ATTACHMENT A-3
-
-REQUIRED STUDENT NOTIFICATION
-
-"This software and related documentation has been obtained
-by your educational institution subject to the Sun Community
-Source License, [fill in applicable Technology]. You have
-been provided access to the software and related
-documentation for use only in connection with your course
-work and research activities as a matriculated student of
-your educational institution. Any other use is expressly
-prohibited.
-
-THIS SOFTWARE AND RELATED DOCUMENTATION CONTAINS PROPRIETARY
-MATERIAL OF SUN MICROSYSTEMS, INC, WHICH ARE PROTECTED BY
-VARIOUS INTELLECTUAL PROPERTY RIGHTS.
-
-You may not use this file except in compliance with the
-License. You may obtain a copy of the License on the web at
-http://sun.com/software/communitysource."
-
-ATTACHMENT B
-
-Java(tm) 2 SDK Technology
-
-Description of "Technology"
-
-Java(tm) 2 SDK Technology v.1.4.2 as described on the
-Technology Download Site.
-
-ATTACHMENT C
-
-INTERNAL DEPLOYMENT USE
-
-This Attachment C is only effective for the Technology
-specified in Attachment B, upon execution of Attachment D
-(Commercial Use License) including the requirement to pay
-royalties. In the event of a conflict between the terms of
-this Attachment C and Attachment D, the terms of Attachment
-D shall govern.
-
-1. Internal Deployment License Grant. Subject to Your
-compliance with Section 2 below, and Section 8.10 of the
-Research Use license; in addition to the Research Use
-license and the TCK license, Original Contributor grants to
-You a worldwide, non-exclusive license, to the extent of
-Original Contributor's Intellectual Property Rights covering
-the Original Code, Upgraded Code and Specifications, to do
-the following:
-
-a) reproduce and distribute internally, Original Code and
-Upgraded Code as part of Compliant Covered Code, and
-Specifications, for Internal Deployment Use,
-
-b) compile such Original Code and Upgraded Code, as part of
-Compliant Covered Code, and reproduce and distribute
-internally the same in Executable form for Internal
-Deployment Use, and
-
-c) reproduce and distribute internally, Reformatted
-Specifications for use in connection with Internal
-Deployment Use.
-
-2. Additional Requirements and Responsibilities. In
-addition to the requirements and responsibilities described
-under Section 3.1 of the Research Use license, and as a
-condition to exercising the rights granted under Section 3
-above, You agree to the following additional requirements
-and responsibilities:
-
-2.1 Compatibility. All Covered Code must be Compliant
-Covered Code prior to any Internal Deployment Use or
-Commercial Use, whether originating with You or acquired
-from a third party. Successful compatibility testing must
-be completed in accordance with the TCK License. If You
-make any further Modifications to any Covered Code
-previously determined to be Compliant Covered Code, you must
-ensure that it continues to be Compliant Covered Code.
-
-ATTACHMENT D COMMERCIAL USE LICENSE
-
-1. Effect. This Attachment D is effective only if signed
-below by You and Original Contributor, and applies to Your
-Commercial Use of Original Code and Upgraded Code.
-
-2. Term. Upon execution of this Attachment D by You and
-Original Contributor, this Commercial Use license shall have
-an initial term of 3 years and shall automatically renew for
-additional one year terms unless either party provides
-notice to the other no less than 60 days prior to an
-anniversary date.
-
-3. Commercial Use License Grant. Subject to Your
-compliance with Section 4 below, Section 8.10 of the
-Research Use license, and the TCK license; in addition to
-the Research Use license, the TCK license, and the Internal
-Deployment Use license, Original Contributor grants to You a
-worldwide, non-exclusive, non-transferable license, to the
-extent of Original Contributor's Intellectual Property
-Rights covering the Original Code, Upgraded Code and
-Specifications, to do the following:
-
-a) reproduce and distribute Compliant Covered Code;
-
-b) compile Compliant Covered Code and reproduce and
-distribute the same in Executable form through multiple
-tiers of distribution; and
-
-c) reproduce and distribute Reformatted Specifications in
-association with Compliant Covered Code.
-
-4. Additional Requirements and Responsibilities. In
-addition to the requirements and responsibilities specified
-in the Research Use license, the TCK license and the
-Internal Deployment license, and as a condition to
-exercising the rights granted in Section 3 above, You agree
-to the following additional requirements and
-responsibilities:
-
-a) Distribution of Source Code. Source Code of Compliant
-Covered Code may be distributed only to another Licensee of
-the same Technology.
-
-b) Distribution of Executable Code. You may distribute the
-Executable version(s) of Compliant Covered Code under a
-license of Your choice, which may contain terms different
-from this License, provided (i) that You are in compliance
-with the terms of this License, and (ii) You must make it
-absolutely clear that any terms which differ from this
-License are offered by You alone, not by Original
-Contributor or any other Contributor.
-
-c) Branding. Products integrating Compliant Covered Code
-used for Commercial Use must be branded with the Technology
-compliance logo under a separate trademark license required
-to be executed by You and Original Contributor concurrent
-with execution of this Attachment D.
-
-5. Indemnity/Limitation of Liability. The provisions of
-Section 7.1 of the Research Use license are superseded by
-the following:
-
-a) Your Indemnity Obligation. You hereby agree to defend,
-at Your expense, any legal proceeding brought against
-Original Contributor or any Licensee to the extent it is
-based on a claim: (i) that the use, reproduction or
-distribution of any of Your Error Corrections or Shared
-Modifications is an infringement of a third party trade
-secret or a copyright in a country that is a signatory to
-the Berne Convention; (ii) arising in connection with any
-representation, warranty, support, indemnity, liability or
-other license terms You may offer in connection with any
-Covered Code; or (iii) arising from Your Commercial Use of
-Covered Code, other than a claim covered by Section 5.b)
-below, or a patent claim based solely on Covered Code not
-provided by You. You will pay all damages costs and fees
-awarded by a court of competent jurisdiction, or such
-settlement amount negotiated by You, attributable to such
-claim.
-
-b) Original Contributor's Indemnity Obligation. Original
-Contributor will defend, at its expense, any legal
-proceeding brought against You, to the extent it is based on
-a claim that Your authorized Commercial Use of Original Code
-and Upgraded Code is an infringement of a third party trade
-secret or a copyright in a country that is a signatory to
-the Berne Convention, and will pay all damages costs and
-fees awarded by a court of competent jurisdiction, or such
-settlement amount negotiated by Original Contributor,
-attributable to such claim. The foregoing shall not apply
-to any claims of intellectual property infringement based
-upon the combination of code or documentation supplied by
-Original Contributor with code, technology or documentation
-from other sources.
-
-c) Right of Intervention. Original Contributor will have
-the right, but not the obligation, to defend You, at
-Original Contributor's expense, in connection with a claim
-that Your Commercial Use of Original Code and Upgraded Code
-is an infringement of a third party patent and will, if
-Original Contributor chooses to defend You, pay all damages
-costs and fees awarded by a court of competent jurisdiction,
-or such settlement amount negotiated by Original
-Contributor, attributable to such claim.
-
-d) Prerequisites. Under Sections 5.b) and c) above, You
-must, and under Section 5.a) above, Original Contributor or
-any Licensee must: (i) provide notice of the claim promptly
-to the party providing an indemnity; (ii) give the
-indemnifying party sole control of the defense and
-settlement of the claim; (iii) provide the indemnifying
-party, at indemnifying party's expense, all available
-information, assistance and authority to defend; and (iv)
-not have compromised or settled such claim or proceeding
-without the indemnifying party's prior written consent.
-
-e) Additional Remedies. Should any Original Code, Upgraded
-Code, TCK, Specifications, or Modifications become, or in
-the indemnifying party's opinion be likely to become, the
-subject of a claim of infringement for which indemnity is
-provided above, the indemnifying party may, at its sole
-option, attempt to procure on reasonable terms the rights
-necessary for the indemnified party to exercise its license
-rights under this License with respect to the infringing
-items, or to modify the infringing items so that they are no
-longer infringing without substantially impairing their
-function or performance. If the indemnifying party is
-unable to do the foregoing after reasonable efforts, then
-the indemnifying party may send a notice of such inability
-to the indemnified party together with a refund of any
-license fees received by the indemnifying party from the
-indemnified party for the infringing items applicable to the
-indemnified party's future use or distribution of such
-infringing items, in which case the indemnifying party will
-not be liable for any damages resulting from infringing
-activity with respect to the infringing items occurring
-after such notice and refund.
-
-6. Support Programs.
-
-Support to You. Technical support is not provided to You by
-Original Contributor under this License. You may contract
-for one or more support programs from Original Contributor
-relating to the Technology which are described on the SCSL
-Webpage.
-
-Customer Support. You are responsible for providing
-technical and maintenance support services to Your customers
-for Your products and services incorporating the Compliant
-Covered code.
-
-7. Royalties and Payments.
-
-Technology specified in Attachment B.
-
-Field of Use:____________________
-
-Royalty per Unit $_____________
-
-b) Royalty Payments. Payment of royalties shall be made
-quarterly, shall be due thirty (30) days following the end
-of the calendar quarter to which they relate and shall be
-submitted with a written statement documenting the basis for
-the royalty calculation.
-
-c) Taxes. All payments required by this License shall be
-made in United States dollars, are exclusive of taxes, and
-Licensee agrees to bear and be responsible for the payment
-of all such taxes, including, but not limited to, all sales,
-use, rental receipt, personal property or other taxes and
-their equivalents which may be levied or assessed in
-connection with this License (excluding only taxes based on
-Original Contributor's net income). To the extent Licensee
-is required to withhold taxes based upon Original
-Contributor's income in any country, You agree to provide
-Original Contributor with written evidence of such
-withholding, suitable for Original Contributor to obtain a
-tax credit in the United States.
-
-d) Records. You agree to maintain account books and records
-consistent with Generally Accepted Accounting Principles
-appropriate to Your domicile, as may be in effect from time
-to time, sufficient to allow the correctness of the
-royalties required to be paid pursuant to this License to be
-determined.
-
-e) Audit Rights. Original Contributor shall have the right
-to audit such accounts upon reasonable prior notice using an
-independent auditor of Original Contributor's choice (the
-"Auditor"). The Auditor shall be bound to keep confidential
-the details of Your business affairs and to limit disclosure
-of the results of any audit to the sufficiency of the
-accounts and the amount, if any, of a payment adjustment
-that should be made. Such audits shall not occur more than
-once each year (unless discrepancies are discovered in
-excess of the five percent (5%) threshold set forth in
-Section 7.f) below, in which case two consecutive quarters
-per year may be audited). Except as set forth in Section
-7.f) below, Original Contributor shall bear all costs and
-expenses associated with the exercise of its rights to
-audit.
-
-f) Payment Errors. In the event that any errors in payments
-shall be determined, such errors shall be corrected by
-appropriate adjustment in payment for the quarterly period
-during which the error is discovered. In the event of an
-underpayment of more than five percent (5%) of the proper
-amount owed, upon such underpayment being properly
-determined by the Auditor, You agree to reimburse Original
-Contributor the amount of the underpayment and all
-reasonable costs and expenses associated with the exercise
-of its rights to audit, and interest on the overdue amount
-at the maximum allowable interest rate from the date of
-accrual of such obligation.
-
-8. Notice of Breach or Infringement. Each party shall
-notify the other immediately in writing when it becomes
-aware of any breach or violation of the terms of this
-License, or when You become aware of any potential or actual
-infringement by a third party of the Technology or Sun's
-Intellectual Property Rights therein.
-
-9. Proprietary Rights Notices. You may not remove any
-copyright notices, trademark notices or other proprietary
-legends of Original Contributor or its suppliers contained
-on or in the Original Code, Upgraded Code and
-Specifications.
-
-10. Notices. All written notices required by this License
-must be delivered in person or by means evidenced by a
-delivery receipt and will be effective upon receipt by the
-persons at the addresses specified below.
-
-Original Contributor: You:
-
-Sun Microsystems, Inc. _____________________________
-
-4150 Network Circle ______________________________
-
-Santa Clara, California 95054 ______________________________
-
-Attn.: VP, Sun Software and
-Technology Sales ______________________________
-cc: Legal (Software Sales)
-
-11. Disclaimer of Agency. The relationship created hereby
-is that of licensor and licensee and the parties hereby
-acknowledge and agree that nothing herein shall be deemed to
-constitute You as a franchisee of Original Contributor. You
-hereby waive the benefit of any state or federal statutes
-dealing with the establishment and regulation of franchises.
-
-Agreed:
-
-You: Original Contributor:
-
-_____________________________ Sun Microsystems, Inc.
-(Your Name)
-
-By:_________________________ By:_____________________
-
-Title:_______________________ Title:____________________
-
-Date:______________________ Date:____________________
-
-ATTACHMENT E TECHNOLOGY COMPATIBILITY KIT
-
-The following license is effective for the Java(tm)2 SDK
-Technology Compatibility Kit only upon execution
-of a separate support agreement between You and Original
-Contributor (subject to an annual fee) as described on the
-SCSL Webpage. The Technology Compatibility Kit for the
-Technology specified in Attachment B may be accessed at the
-Technology Download Site only upon execution of the support
-agreement.
-
-1. TCK License.
-
-a) Subject to the restrictions set forth in Section 1.b
-below and Section 8.10 of the Research Use license, in
-addition to the Research Use license, Original Contributor
-grants to You a worldwide, non-exclusive, non-transferable
-license, to the extent of Original Contributor's
-Intellectual Property Rights in the TCK (without the right
-to sublicense), to use the TCK to develop and test Covered
-Code.
-
-b) TCK Use Restrictions. You are not authorized to create
-derivative works of the TCK or use the TCK to test any
-implementation of the Specification that is not Covered
-Code. You may not publish your test results or make claims
-of comparative compatibility with respect to other
-implementations of the Specification. In consideration for
-the license grant in Section 1.a above you agree not to
-develop your own tests which are intended to validate
-conformation with the Specification.
-
-2. Requirements for Determining Compliance.
-
-2.1 Definitions.
-
-a) "Added Value" means code which:
-
-(i) has a principal purpose which is substantially different
-from that of the stand-alone Technology;
-
-(ii) represents a significant functional and value
-enhancement to the Technology;
-
-(iii) operates in conjunction with the Technology; and
-
-(iv) is not marketed as a technology which replaces or
-substitutes for the Technology.
-
-b) "Java Classes" means the specific class libraries
-associated with each Technology defined in Attachment B.
-
-c) "Java Runtime Interpreter" means the program(s) which
-implement the Java virtual machine for the Technology as
-defined in the Specification.
-
-d) "Platform Dependent Part" means those Original Code and
-Upgraded Code files of the Technology which are not in a
-"share" directory or subdirectory thereof.
-
-e) "Shared Part" means those Original Code and Upgraded Code
-files of the Technology which are identified as "shared" (or
-words of similar meaning) or which are in any "share"
-directory or subdirectory thereof, except those files
-specifically designated by Original Contributor as
-modifiable.
-
-f) "User's Guide" means the users guide for the TCK which
-Sun makes available to You to provide direction in how to
-run the TCK and properly interpret the results, as may be
-revised by Sun from time to time.
-
-2.2 Development Restrictions. Compliant Covered Code:
-
-a) must include Added Value;
-
-b) must fully comply with the Specifications for the
-Technology specified in Attachment B;
-
-c) must include the Shared Part, complete and unmodified;
-
-d) may not modify the functional behavior of the Java
-Runtime Interpreter or the Java Classes;
-
-e) may not modify, subset or superset the interfaces of the
-Java Runtime Interpreter or the Java Classes;
-
-f) may not subset or superset the Java Classes; and
-
-g) may not modify or extend the required public class or
-public interface declarations whose names begin with "java",
-"javax", "jini", "net.jini", "sun.hotjava", "COM.sun" or
-their equivalents in any subsequent naming convention.
-
-2.3 Compatibility Testing. Successful compatibility testing
-must be completed by You, or at Original Contributor's
-option, a third party designated by Original Contributor, to
-conduct such tests, in accordance with the User's Guide, and
-using the most current version of the applicable TCK
-available from Original Contributor one hundred twenty (120)
-days (two hundred forty [240] days in the case of silicon
-implementations) prior to: (i) Your Internal Deployment
-Use; and (ii) each release of Compliant Covered Code by You
-for Commercial Use. In the event that You elect to use a
-version of Upgraded Code that is newer than that which is
-required under this Section 2.3, then You agree to pass the
-version of the TCK that corresponds to such newer version of
-Upgraded Code.
-
-2.4 Test Results. You agree to provide to Original
-Contributor or the third party test facility if applicable,
-Your test results that demonstrate that Covered Code is
-Compliant Covered Code and that Original Contributor may
-publish or otherwise distribute such test results.