Re: [Request for Comments] Adding a JAILED meta-variable to bsd.port.mk

2011-08-20 Thread Chris Rees
On 20 August 2011 18:46, Jason Helfman wrote: >> On 8/20/11 8:44 AM, Kostik Belousov wrote: One thing I can think of off-hand to fix this in that case is setting a local environment variable to disable a check for security.jail.jailed.  Would this be an ok solution for those cases?

Re: [Request for Comments] Adding a JAILED meta-variable to bsd.port.mk

2011-08-20 Thread Jason Helfman
> On 8/20/11 8:44 AM, Kostik Belousov wrote: >>> One thing I can think of off-hand to fix this in that case is setting a >>> local environment variable to disable a check for security.jail.jailed. >>> Would this be an ok solution for those cases? If not, I happily agree >>> that this change shoul

Re: [Request for Comments] Adding a JAILED meta-variable to bsd.port.mk

2011-08-20 Thread Glen Barber
On 8/20/11 8:44 AM, Kostik Belousov wrote: >> One thing I can think of off-hand to fix this in that case is setting a >> local environment variable to disable a check for security.jail.jailed. >> Would this be an ok solution for those cases? If not, I happily agree >> that this change should not

Re: [Request for Comments] Adding a JAILED meta-variable to bsd.port.mk

2011-08-20 Thread Kostik Belousov
On Sat, Aug 20, 2011 at 08:16:09AM -0400, Glen Barber wrote: > On 8/20/11 7:52 AM, Kostik Belousov wrote: > > On Sat, Aug 20, 2011 at 07:09:49AM -0400, Glen Barber wrote: > >> Hi, > >> > >> I would like to propose a change to bsd.port.mk which, similarly to > >> obtaining the OSVERSION, checks if t

Re: [Request for Comments] Adding a JAILED meta-variable to bsd.port.mk

2011-08-20 Thread Glen Barber
On 8/20/11 7:52 AM, Kostik Belousov wrote: > On Sat, Aug 20, 2011 at 07:09:49AM -0400, Glen Barber wrote: >> Hi, >> >> I would like to propose a change to bsd.port.mk which, similarly to >> obtaining the OSVERSION, checks if the system on which a port is being >> built is a jailed environment. >> >

Re: [Request for Comments] Adding a JAILED meta-variable to bsd.port.mk

2011-08-20 Thread Kostik Belousov
On Sat, Aug 20, 2011 at 07:09:49AM -0400, Glen Barber wrote: > Hi, > > I would like to propose a change to bsd.port.mk which, similarly to > obtaining the OSVERSION, checks if the system on which a port is being > built is a jailed environment. > > This change can allow port maintainers to mark p

[Request for Comments] Adding a JAILED meta-variable to bsd.port.mk

2011-08-20 Thread Glen Barber
Hi, I would like to propose a change to bsd.port.mk which, similarly to obtaining the OSVERSION, checks if the system on which a port is being built is a jailed environment. This change can allow port maintainers to mark ports that do not run in jailed environments as IGNORE, or adjust PKG_MESSAG