From owner-freebsd-java@FreeBSD.ORG Wed Jan 28 06:06:13 2004 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5FA6C16A4CF for ; Wed, 28 Jan 2004 06:06:10 -0800 (PST) Received: from phantom.cris.net (phantom.cris.net [212.110.130.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0744643D3F for ; Wed, 28 Jan 2004 06:05:54 -0800 (PST) (envelope-from phantom@FreeBSD.org.ua) Received: from phantom.cris.net (phantom@localhost [127.0.0.1]) by phantom.cris.net (8.12.10/8.12.10) with ESMTP id i0SE62em007758; Wed, 28 Jan 2004 16:06:06 +0200 (EET) (envelope-from phantom@FreeBSD.org.ua) Received: (from phantom@localhost) by phantom.cris.net (8.12.10/8.12.10/Submit) id i0SE5v4J007757; Wed, 28 Jan 2004 16:05:57 +0200 (EET) (envelope-from phantom) Date: Wed, 28 Jan 2004 16:05:52 +0200 From: Alexey Zelkin To: java@FreeBSD.org Message-ID: <20040128140552.GA7600@phantom.cris.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Operating-System: FreeBSD 4.9-STABLE i386 User-Agent: Mutt/1.5.5.1i Subject: [phantom@FreeBSD.org: cvs commit: ports/java/jdk14 Makefile pkg-plist ports/java/jdk14/files disable-ipv6.patch patch-deploy::Makefile patch-vm::os_bsd.cpp] X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Jan 2004 14:06:15 -0000 hi, JFYI. Error/problem reports are welcome! ----- Forwarded message from Alexey Zelkin ----- From: Alexey Zelkin Date: Wed, 28 Jan 2004 06:00:27 -0800 (PST) To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: ports/java/jdk14 Makefile pkg-plist ports/java/jdk14/files disable-ipv6.patch patch-deploy::Makefile patch-vm::os_bsd.cpp phantom 2004/01/28 06:00:27 PST FreeBSD ports repository Modified files: java/jdk14 Makefile pkg-plist Added files: java/jdk14/files disable-ipv6.patch patch-deploy::Makefile patch-vm::os_bsd.cpp Log: 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] Revision Changes Path 1.76 +60 -13 ports/java/jdk14/Makefile 1.1 +15 -0 ports/java/jdk14/files/disable-ipv6.patch (new) 1.1 +46 -0 ports/java/jdk14/files/patch-deploy::Makefile (new) 1.1 +13 -0 ports/java/jdk14/files/patch-vm::os_bsd.cpp (new) 1.21 +1086 -1086 ports/java/jdk14/pkg-plist ----- End forwarded message -----