Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Feb 2004 01:10:26 -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:  <20040222081026.GA68300@misty.eyesbeyond.com>
In-Reply-To: <20040222074600.GA71722@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>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Feb 21, 2004 at 11:46:00PM -0800, Kris Kennaway wrote:
> On Sun, Feb 22, 2004 at 12:39:07AM -0700, Greg Lewis wrote:
> > On Sat, Feb 21, 2004 at 11:35:54PM -0800, Kris Kennaway wrote:
> > > On Sat, Feb 21, 2004 at 11:25:39PM -0700, Greg Lewis wrote:
> > > > On Sat, Feb 21, 2004 at 04:48:47PM -0800, Kris Kennaway wrote:
> > > > > It looks like 51 ports now depend on the diablo ports to build; this
> > > > > means the packages cannot be built on bento, since the diablo packages
> > > > > are interactive and impossible to build there.  Can you please do
> > > > > something about this?
> > > > 
> > > > Last time this came up I volunteered the attached patch.  Does it fix the
> > > > problem or not?  I didn't hear whether it did or didn't.  If it does fix
> > > > the problem I'll commit it.  If not, can you suggest a variable the package
> > > > install script can test for to workaround things on bento?
> > > 
> > > Well, I modified bento to set that variable in the build environment,
> > > and now it just hangs:
> > > 
> > > [...]
> > > this Agreement which, in Foundation's opinion, reasonably preserves
> > > the intent of this Agreement.  This Agreement is binding upon and
> > > shall inure to the benefit of Foundation and its successors and
> > > assigns.  This Agreement represents the entire understanding of the
> > > parties, and superceded all previous communications, written or
> > > oral, relating to the subject of this Agreement.
> > > 
> > > 
> > > Do you agree to the above license terms? [yes or no]
> > 
> > If it gets here its gotten too far.  The idea of the patch was to bypass
> > this for bento.
> > 
> > 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?

-- 
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?20040222081026.GA68300>