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"
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