Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 522562

Summary: net-misc/minissdpd: stop relying on ifconfig (and USE=old-output)
Product: Gentoo Linux Reporter: SpanKY <vapier>
Component: Current packagesAssignee: Anthony Basile <blueness>
Status: RESOLVED FIXED    
Severity: normal CC: base-system
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description SpanKY gentoo-dev 2014-09-11 07:55:55 UTC
the USE=old-output flag needs to die.  can we convert minissdpd over to iproute2 which has easier machine parsing ?  or at least fix the code base to not rely on the old format anymore ?  this is the last package in the tree.
Comment 1 Anthony Basile gentoo-dev 2014-09-14 12:25:31 UTC
(In reply to SpanKY from comment #0)
> the USE=old-output flag needs to die.  can we convert minissdpd over to
> iproute2 which has easier machine parsing ?  or at least fix the code base
> to not rely on the old format anymore ?  this is the last package in the
> tree.

The only place where ifconfig is needed is in the init script, to parse out the ipv4 address, so this is a trivial fix.  In fact, I could even add intelligence to the init script to check for the existance of ifconfig or ip.  I haven't done so yet, but in case we start moving away from net-tools to iproute2, this package should not pose a problem.

minissdpd-1.2.20140906-r1 has the fix,  minissdpd-1.2.20140906 doesn't, just in case.  Next bump and old-format will be gone.