Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 595478 - Bump sys-power/apcupsd to 3.14.14
Summary: Bump sys-power/apcupsd to 3.14.14
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-28 22:08 UTC by Jernej Simončič
Modified: 2016-09-28 22:33 UTC (History)
0 users

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 Jernej Simončič 2016-09-28 22:08:27 UTC
apcupsd 3.14.14 has been out for a few months, it'd be nice to have it in portage.

In addition, the following changes should be made to the ebuild to support modbus-usb (these are probably missing from the 3.14.13 ebuild as well):

--- /usr/portage/sys-power/apcupsd/apcupsd-3.14.13.ebuild       2016-07-06 11:18:01.000000000 +0200
+++ /usr/local/portage/sys-power/apcupsd/apcupsd-3.14.14.ebuild 2016-09-28 23:59:55.241393661 +0200
@@ -25,7 +25,8 @@
        snmp? ( >=net-analyzer/net-snmp-5.7.2 )
        gnome? ( >=x11-libs/gtk+-2.4.0:2
                dev-libs/glib:2
-               >=gnome-base/gconf-2.0 )"
+               >=gnome-base/gconf-2.0 )
+       usb? ( dev-libs/libusb-compat )"
 RDEPEND="${DEPEND}
        sys-apps/openrc
        virtual/mailx"
@@ -48,7 +49,7 @@
        local myconf
        use cgi && myconf="${myconf} --enable-cgi --with-cgi-bin=/usr/libexec/${PN}/cgi-bin"
        if use usb; then
-               myconf="${myconf} --with-upstype=usb --with-upscable=usb --enable-usb --with-dev= "
+               myconf="${myconf} --with-upstype=usb --with-upscable=usb --enable-usb --enable-modbus-usb --with-dev= "
        else
                myconf="${myconf} --with-upstype=apcsmart --with-upscable=smart --disable-usb"
Comment 1 Coacher 2016-09-28 22:33:16 UTC
Already fixed in
commit bbe4e2bfb714636cb9d721042f423845a341b1a7
Author:     Kristian Fiskerstrand <k_f@gentoo.org>
AuthorDate: Wed Sep 28 23:09:27 2016 +0200
Commit:     Kristian Fiskerstrand <k_f@gentoo.org>
CommitDate: Wed Sep 28 23:11:07 2016 +0200

    sys-power/apcupsd: Version bump 3.14.14

    Package-Manager: portage-2.3.1