From ae179afb91bbf9f75eab5cd25946d4f5aa324fed Mon Sep 17 00:00:00 2001 From: Alexey Zelkin Date: Wed, 28 Jan 2004 14:00:27 +0000 Subject: 1. Switch 5.x version of jdk14 back to libc_r as default threading library. We switched FreeBSD-5.x port to libkse as default threading library before releasing of patchset 6, but users who has most of stuff linked against libc_r and attempted to use jdk linked against libkse got into local hell of threading libraries mix. So, rollback to libc_r by default and add PTHREAD_LIBS support for this port. IMPORTANT: In order to use libkse as threading library for jdk14 you have to use rtld's libmap feature or recompile your ports stuff (like mozilla) with libkse. NOTE: libkse still has issues with java debug support, so if you're going to use debuging (JVMDI) stuff - leave with libc_r for now. 2. Disable IPv6 support by default. Unfortunatelly due to security reasons IPv4-to-IPv6 addresses mapping is disabled by default in FreeBSD-5.x, so those who would like to use Java Networking stuff had to manually enable it. To make jdk14 port more user-friendly IPv6 is disabled now on compile time. Those who need this stuff enabled have to use WITH_IPV6 compile time option. 3. Add MINIMAL compile option. If this option is used to build jdk14 port then plugin, javaws and demos stuff will not be installed and/or packaged. Also (as noted in [5]) X11 runtime dependancy will not be registered into built package. 4. Strip runtime depends of jdk14 port. There's no need to require open-motif to be runtime depends since libXm is staticly linked into libawt.so. 5. Make X11 runtime dependancy conditional (via urwfonts) in !WITHOUT_PLUGIN case only. This should affect only prebuilt package users: there's no need to install X11 libraries if you're going to use non-GUI stuff only (i.e. tomcat or jboss) 6. Add ${LOCALBASE}/lib to the deafult search path for JNI libraries. 7. Bump PORTVERSION Reported by: many [1] Submitted by: glewis [6] Requested by: marcus [6] --- java/jdk16/files/disable-ipv6.patch | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 java/jdk16/files/disable-ipv6.patch (limited to 'java/jdk16/files/disable-ipv6.patch') diff --git a/java/jdk16/files/disable-ipv6.patch b/java/jdk16/files/disable-ipv6.patch new file mode 100644 index 000000000000..00ecbef516f5 --- /dev/null +++ b/java/jdk16/files/disable-ipv6.patch @@ -0,0 +1,15 @@ +$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) { + /* -- cgit v1.2.3