the new version is 2.6 and it supposedly supports my ups, which the older versions dont http://www.networkupstools.org/ Reproducible: Always
Created attachment 261983 [details] sys-power/nut-2.6.0.ebuild ebuild based on sys-power/nut-2.4.3-r2 with addition of tcp-wrappers and pdu(sys-power/powerman) support
*** Bug 354469 has been marked as a duplicate of this bug. ***
The included ebuild fails for me with -cgi, as the econf tries to send "--without-cgipath" and that is not a valid option. The following change fixed it for me, but I did not check to make sure it still works with cgi on. --- /home/dbeach/nut-2.6.0.ebuild 2011-03-06 10:56:53.089038993 -0800 +++ ./nut-2.6.0.ebuild 2011-03-06 11:29:40.994964199 -0800 @@ -96,7 +96,7 @@ $(use_with ssl) \ $(use_with snmp) \ $(use_with cgi) \ - $(use_with cgi cgipath /usr/share/nut/cgi) \ + $(use cgi && echo --with-cgipath=/usr/share/nut/cgi) \ $(use_with pdu powerman) \ $(use_with tcp-wrappers wrap) \ ${myconf} || die "econf failed"
2.6.0 in portage