Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 353090 - sys-power/nut-2.6: Version bump
Summary: sys-power/nut-2.6: Version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement with 1 vote (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
: 354469 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-01-28 19:28 UTC by Mehmet Giritli
Modified: 2011-03-13 21:09 UTC (History)
2 users (show)

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


Attachments
sys-power/nut-2.6.0.ebuild (nut-2.6.0.ebuild,7.33 KB, text/plain)
2011-02-09 23:05 UTC, Sergey Kondakov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mehmet Giritli 2011-01-28 19:28:20 UTC
the new version is 2.6 and it supposedly supports my ups, which the older versions dont

http://www.networkupstools.org/

Reproducible: Always
Comment 1 Sergey Kondakov 2011-02-09 23:05:30 UTC
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
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2011-02-12 23:10:10 UTC
*** Bug 354469 has been marked as a duplicate of this bug. ***
Comment 3 Douglas Beach 2011-03-06 19:54:33 UTC
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"
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2011-03-13 21:09:44 UTC
2.6.0 in portage