One of the 3.14.13 release highlights is MODBUS USB support. Also there is no longer --enable-powerflute configure flag. libusb-devel is needed for modbus-usb support. The spec diff: --- apcupsd.spec.orig 2015-02-03 17:33:27.000000000 +0200 +++ apcupsd.spec 2015-02-22 19:41:00.375011675 +0200 @@ -21,7 +21,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: glibc-devel >= 2.3, gd-devel > 2.0 -BuildRequires: net-snmp-devel, tcp_wrappers-devel +BuildRequires: net-snmp-devel, tcp_wrappers-devel, libusb-devel BuildRequires: gtk2-devel, gnome-vfs2-devel, desktop-file-utils Requires: /bin/mail Requires(post): systemd-units @@ -85,7 +85,7 @@ --enable-net-snmp \ --enable-snmp \ --enable-usb \ - --enable-powerflute \ + --enable-modbus-usb \ --enable-nls \ --enable-gapcmon \ --enable-pcnet \
When building package, I get: configure: WARNING: unrecognized options: --disable-dependency-tracking, --enable-pthreads, --enable-nls So --enable-pthreads and --enable-nls should be removed too.
Are there any plan to include this patch to the package? I would like to use modbus over usb as soon as possible.
apcupsd-3.14.13-2.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2015-482e23724e
apcupsd-3.14.13-4.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2015-d09886fa52
apcupsd-3.14.13-2.fc21 has been submitted as an update to Fedora 21. https://bodhi.fedoraproject.org/updates/FEDORA-2015-e8eded3b5a
Thanks for the update! It would be nice to release update for epel too.
apcupsd-3.14.13-2.fc21 has been pushed to the Fedora 21 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with $ su -c 'dnf --enablerepo=updates-testing update apcupsd' You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-e8eded3b5a
apcupsd-3.14.13-2.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with $ su -c 'dnf --enablerepo=updates-testing update apcupsd' You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-482e23724e
apcupsd-3.14.13-4.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with $ su -c 'dnf --enablerepo=updates-testing update apcupsd' You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-d09886fa52
apcupsd-3.14.13-4.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.
apcupsd-3.14.13-2.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.
Is it possible to release updated apcupsd packages with modbus support for epel7 too?
It would have been nicer to file a new bug asking for the version in EPEL7 to be updated… In any case, I suppose we could just keep EPEL7 and Fedora in sync, which from a package maintenance standpoint is far preferable to me. I don't think there are any breaking changes between 3.14.12 and 3.14.14, but I'm not 100% certain. I could just let it soak in testing for a while; I doubt that would upset anyone. Eric, what do you think?
I have no concrete reason to object. Does this require libmodbus?
libmodbus isn't in the set of build dependencies, just libusb-devel.
I added a couple of spec bits so that the current spec builds on both EPEL7 and Fedora, and pulled that down from Rawhide to EL7 and did a build: https://koji.fedoraproject.org/koji/taskinfo?taskID=18579443 I can push it to updates and step on the existing update that's there (which I didn't even know about until the ticket was reassigned) but now I have to worry about regressing that fix.
apcupsd-3.14.14-4.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-4b5002cd01
apcupsd-3.14.14-4.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-4b5002cd01
apcupsd-3.14.14-4.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.