1 |
On Sun, Oct 15, 2017 at 11:47 AM, Alan McKinnon <alan.mckinnon@×××××.com> wrote: |
2 |
> On 15/10/2017 16:31, Michael Orlitzky wrote: |
3 |
>> On 10/14/2017 09:30 PM, Dale wrote: |
4 |
>>> |
5 |
>>> While at it. Is there a tool that tells when USE flags in make.conf is |
6 |
>>> either no longer used or doesn't even exist anymore? |
7 |
>> |
8 |
>> I don't know of one. It doesn't *sound* hard, but you would have to |
9 |
>> consider local use flags, flags from overlays, USE_EXPAND flags, |
10 |
>> wildcards, USE_ORDER, etc. -- so maybe it's actually hard/slow to do it. |
11 |
>> |
12 |
>> I found this feature request, |
13 |
>> |
14 |
>> https://github.com/vaeth/eix/issues/38 |
15 |
>> |
16 |
>> and I guess that confirms that it's harder than it looks. Checking for |
17 |
>> nonexistent flags would be easier than checking for redundant flags |
18 |
>> because the latter depends on your package manager configuration. |
19 |
>> |
20 |
> |
21 |
> There is a suitable tool. It's called grep, copious use of. |
22 |
> A suitably complex solution for the complexity of the problem! |
23 |
> |
24 |
|
25 |
Or you could just use portpeek... |
26 |
|
27 |
-- |
28 |
Rich |