Open jimklimov opened 2 years ago
Any updates on this?
Not on my side, hope @hadfl would say more :\
I did bump OpenIndiana recipes which were then iterated a few times by other OI community members - this can be a helpful starting point IMHO, whether regarding build arguments or possible OS-adaptation patches, or the recommended split into numerous packages based on the role of a set of programs or grouped by non-ubiquitous dependencies (e.g. stuff that depends on net-snmp has a different installation footprint than USB drivers).
Speaking of which, probably gotta bump for NUT v2.8.2 :)
One important note: there is a new apc_modbus
NUT driver in recent releases that can use Serial and TCP RTU with stock libmodbus, but for USB it would require a custom build from a branch that AFAIK was not yet merged into upstream - stalled on no reply for SLA submission from patch author. This library can be built and linked statically into the driver program, to avoid conflicts with stock implementation - see https://github.com/networkupstools/nut/wiki/APC-UPS-with-Modbus-protocol for details.
Thanks for your reply. I've found NUT in the pkgsrc repository for illumos, so I'll give that version a try.
Thanks for the link, forgot about that. https://github.com/TritonDataCenter/pkgsrc/tree/trunk/sysutils/ups-nut currently refers to 2.8.1, so not as old as some other OSes out there (given that 2.8.2 is out for just a month).
All that said, building your own should not be prohibitively hard; docs/config-prereqs.txt
lists the build (some might be also runtime) prerequisites for many platforms used in NUT CI, including OmniOS.
@hadfl on #omnios IRC channel said he would take a look at this (needs to provide libusb first). NUT and dependencies are expected to appear in
omnios-extra
repository.