On 2019/10/21 10:19, Masato Asou wrote:
> From: "Nelson H. F. Beebe" <[email protected]>
> Date: Fri, 18 Oct 2019 07:39:26 -0600
> 
> > Has anyone looked into the problem of enumerating packages that are
> > installed in the /usr/local tree that actually NEED simultaneous write
> > and execute access?
> 
> You can find that as below:
> 
> $ grep -rHI USE_WXNEEDED /usr/ports/ | wc
>       64     201    3827

This ignores ports where USE_WXNEEDED is set by a module, this is a better
number:

$ sqlite3 /usr/local/share/sqlports "select count(fullpkgpath) from ports where 
use_wxneeded='1'"
130

However it includes things like Python, which are marked USE_WXNEEDED because
they *might* load an extension which requires W+X (like the webkit-based 
extensions),
but don't need it in other cases.

Reply via email to