Problem with poudriere and 'BATCH'

Trond Endrestøl trond.endrestol at ximalas.info
Mon Feb 10 10:19:13 UTC 2020


On Mon, 10 Feb 2020 10:02+0100, Polytropon wrote:

> On Mon, 10 Feb 2020 08:49:58 +0100 (CET), Trond Endrestøl wrote:
> > On Mon, 10 Feb 2020 07:12+0100, Polytropon wrote:
> > 
> > > On Sun, 9 Feb 2020 16:58:15 -0500, Jerry wrote:
> > > > I am attempting to build the "print/hplip-plugin" port via poudriere.
> > > > When I attempt to do so, I am greeted with this message:
> > > > 
> > > > [00:00:07] Ignoring print/hplip-plugin | hplip-plugin-3.19.12:
> > > > License HPLIP_PLUGIN needs confirmation, but BATCH is defined
> > > > 
> > > > I have never encountered this before.
> > > 
> > > This is only needed for ports where there is a licensing
> > > restriction that requires you to interactively express your
> > > consent with the licensing terms. Regular ports do not
> > > require this and can therefore be built in batch mode.
> > > However, there are a few ports that need this kind of
> > > interaction.
> > > 
> > > > How, other than building it sans poudriere, do I accomplish it.
> > > 
> > > In /usr/local/etc/poudriere.d/make.conf, try the following:
> > > 
> > > 	DISABLE_LICENSES=yes
> > > 
> > > Sadly, I didn't find proper documentation of this option
> > > (not in "man 5 make.conf", not in poudriere's material).
> > > Maybe it can be found in some locally accessible example
> > > file?
> > > 
> > > Please report back if it worked. If it does, I'd say it's
> > > worth being included in official poudriere configuration
> > > (exept it already is, and I just didn't find it). ;-)
> > 
> > In the case of mail/dcc-dccd, as an example, this can be added to 
> > make.conf:
> > 
> > LICENSES_ACCEPTED+=DCC
> 
> Is this officially documented somewhere (not just to be manually
> parsed from some configuration file)?

See Mk/bsd.licenses.mk.

-- 
Trond


More information about the freebsd-questions mailing list