Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 522562 - net-misc/minissdpd: stop relying on ifconfig (and USE=old-output)
Summary: net-misc/minissdpd: stop relying on ifconfig (and USE=old-output)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Anthony Basile
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-11 07:55 UTC by SpanKY
Modified: 2014-09-14 12:25 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.