From owner-freebsd-java@FreeBSD.ORG Sun Feb 22 00:26:27 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 9011A16A4CE for ; Sun, 22 Feb 2004 00:26:27 -0800 (PST) Received: from mgr2.xmission.com (mgr2.xmission.com [198.60.22.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 71B9043D1D for ; Sun, 22 Feb 2004 00:26:27 -0800 (PST) (envelope-from glewis@eyesbeyond.com) Received: from [198.60.22.209] (helo=mgr9.xmission.com) by mgr2.xmission.com with esmtp (Exim 3.35 #1) id 1AuowV-0004Df-02; Sun, 22 Feb 2004 01:26:27 -0700 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr9.xmission.com with esmtp (Exim 4.30) id 1AuowT-00041z-QX; Sun, 22 Feb 2004 01:26:25 -0700 Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) i1M8QMN2093226; Sun, 22 Feb 2004 01:26:23 -0700 (MST) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.12.10/8.12.10/Submit) id i1M8QKUO093191; Sun, 22 Feb 2004 01:26:20 -0700 (MST) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Sun, 22 Feb 2004 01:26:20 -0700 From: Greg Lewis To: Kris Kennaway Message-ID: <20040222082620.GA93094@misty.eyesbeyond.com> References: <20040222004847.GA57661@xor.obsecurity.org> <20040222062539.GA50119@misty.eyesbeyond.com> <20040222073554.GA71568@xor.obsecurity.org> <20040222073907.GA95266@misty.eyesbeyond.com> <20040222074600.GA71722@xor.obsecurity.org> <20040222081026.GA68300@misty.eyesbeyond.com> <20040222081350.GA72227@xor.obsecurity.org> Mime-Version: 1.0 Content-Disposition: inline In-Reply-To: <20040222081350.GA72227@xor.obsecurity.org> User-Agent: Mutt/1.4.2.1i Content-Type: text/plain; charset=us-ascii X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on mgr9.xmission.com X-Spam-Level: X-Spam-Status: No, hits=0.5 required=8.0 tests=XMSubMetaS_00 autolearn=no version=2.63 X-SA-Exim-Mail-From: glewis@eyesbeyond.com X-SA-Exim-Version: 3.1 (built Mon Jan 26 13:00:24 MST 2004) X-SA-Exim-Scanned: Yes cc: java@freebsd.org Subject: Re: Packages with diablo dependencies 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: Sun, 22 Feb 2004 08:26:27 -0000 On Sun, Feb 22, 2004 at 12:13:50AM -0800, Kris Kennaway wrote: > On Sun, Feb 22, 2004 at 01:10:26AM -0700, Greg Lewis wrote: > > > > > Are there _any_ special environment variables that bento sets when its > > > > installing the packages for a build? All we need is something which > > > > the package install script and test for and say "Ok, this is bento". > > > > > > I mentioned above that bento now sets PACKAGE_BUILDING in the build > > > environment. > > > > My bad. But obviously this isn't passed to the package install script > > as it would exit before the licensing agreement if that environment setting > > was passed on. Maybe pkg_add runs the scripts with a different > > environment? > > When I ran this without the change in place it gave the previous > (different) behaviour of looping infinitely repeating the prompt, so > something is definitely different. Weird. This piece of the script is very simple. I'll do some more testing. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org