ifplugd version 0.16 is out. I had to make one small change so that it would compile with gcc-2.95.
Created attachment 17461 [details] ifplugd 0.16 ebuild
Created attachment 17462 [details, diff] patch so that ifplugd 0.16 will compile with gcc 2.95
Created attachment 18181 [details, diff] Patch net rc-script to correctly restart dhcpcd when using ifplugd I'm not sure where this belongs, but I made a small patch to the net.eth0 rc script. When running ifplugd with dhcp, the interface never completely comes down after ifplugd exectutes 'net.eth0 stop'. As a result, after reconnecting a cable, the script sees the interface is up and skips starting dhcpcd.
Created attachment 18599 [details] ebuild for ifplugd 0.17b ifplugd 0.17b has now been released, which incorporates my gcc 2.95 fix. I haven't included the net.eth0 fix in this ebuild, although I agree that it's necessary for ifplugd to work properly. So basically this ebuild is now identical to the one in portage, just with a different version number. But I don't know how to make an old attachment obsolete without including a new one :-o
I upped ifplugd to 0.20. Please test. As for the net.eth0: I run with -a (auto), so that the interface is down when no cable is detected. If that doesn't work for you, you'll have to remove the "up"-if from net.eth0. See also bug #28362