NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Banning installation of particular packages



On Sun, May 6, 2012 at 10:53 AM, Ian D. Leroux <idleroux%fastmail.fm@localhost> 
wrote:
> On Sun, May 6, 2012, at 14:55, Andrew Smallshaw wrote:
>> Is there any way I can name particular packages as ones that should
>> never be installed on a particular system under any circumstances?
>
> There's probably a better way, but this seems like the sort of thing
> that should be doable with audit-packages.  You just want to provide
> your own list of undesirable software in addition to the one
> automatically downloaded by fetch-pkg-vulnerabilities.  I don't know
> whether the scripts currently support this.


many packages probably have a cups OPTION, so you could try:
PKG_DEFAULT_OPTIONS+=    -cups

I'm not sure how you could deny build/install of packages if they
explicitly required cups, though.

Maybe a hack in the vulnerability database or something could be a
local hack to deny packages?


Home | Main Index | Thread Index | Old Index