Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Feb 2004 01:26:20 -0700
From:      Greg Lewis <glewis@eyesbeyond.com>
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        java@freebsd.org
Subject:   Re: Packages with diablo dependencies
Message-ID:  <20040222082620.GA93094@misty.eyesbeyond.com>
In-Reply-To: <20040222081350.GA72227@xor.obsecurity.org>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040222082620.GA93094>