From owner-freebsd-java@FreeBSD.ORG Tue Sep 30 18:12:20 2003 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 07D2716A4B3 for ; Tue, 30 Sep 2003 18:12:20 -0700 (PDT) Received: from mgr3.xmission.com (mgr3.xmission.com [198.60.22.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id ED6914400D for ; Tue, 30 Sep 2003 18:12:17 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) Received: from mail by mgr3.xmission.com with spam-scanned (Exim 3.35 #1) id 1A4VXM-0005Bx-03 for java@freebsd.org; Tue, 30 Sep 2003 19:12:17 -0600 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr3.xmission.com with esmtp (Exim 3.35 #1) id 1A4VXG-00058M-03; Tue, 30 Sep 2003 19:12:11 -0600 Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) h911CcjG006575; Tue, 30 Sep 2003 19:12:39 -0600 (MDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.12.9p1/8.12.9/Submit) id h911CUla006574; Tue, 30 Sep 2003 19:12:30 -0600 (MDT) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Tue, 30 Sep 2003 19:12:30 -0600 From: Greg Lewis To: Ernst de Haan Message-ID: <20031001011230.GA6490@misty.eyesbeyond.com> References: <1062193328.1241.23.camel@hunter.muc.eu.mscsoftware.com> <20030904044719.GA35997@misty.eyesbeyond.com> <200309041108.44760.ernst.dehaan@nl.wanadoo.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="/04w6evG8XlLl3ft" Content-Disposition: inline In-Reply-To: <200309041108.44760.ernst.dehaan@nl.wanadoo.com> User-Agent: Mutt/1.4.1i X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on mgr3.xmission.com X-Spam-Status: No, hits=-0.9 required=8.0 tests=BAYES_10 autolearn=no version=2.60 X-Spam-Level: X-Content-Filtered-By: Mailman/MimeDel 2.1.1 cc: java@FreeBSD.org Subject: Re: Native jdk1.4.1 working 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, 01 Oct 2003 01:12:20 -0000 --/04w6evG8XlLl3ft Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Sep 04, 2003 at 11:21:19AM +0200, Ernst de Haan wrote: > > The proper fix is to do this in the port. If you look at the raw > > download for the Linux JDK 1.4.2 (needs upgrading to 1.4.2_01 btw) > > Just committed the update to 1.4.2_01... > > > strip the shell script and unpack, but then don't perform the actions the > > shell script portion of the install does. One of these actions is to > > create the system preference directory and appropriate files. We really > > need to preserve the shell script and run it during post-install or write > > our own stuff to perform an equivalent set of actions. The native 1.4.1 > > port needs to perform similar actions to create its system preference > > stuff. > > I could use a suggested patch for this *hint* *hint* :-) A shell script like the attached (run as root) eliminates the warnings for me. However, it has the obvious problem of installing files outside of the port. The script in front of the install seems to have the option of putting things in ${JAVA_HOME} instead of /etc/.java, but that doesn't seem to work for me. I need to look into this more and in particular look at where the JDK searches for these files. The intent would be to have a similar script that stores files inside of the port run during post-install. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org --/04w6evG8XlLl3ft--