Skip to content

Commit

Permalink
NEWS.adoc: document fixes for libmodbus+libusb support [networkupstoo…
Browse files Browse the repository at this point in the history
…ls#2666]

Signed-off-by: Jim Klimov <[email protected]>
  • Loading branch information
jimklimov committed Nov 12, 2024
1 parent 85ad1cb commit 24f8b52
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
10 changes: 10 additions & 0 deletions NEWS.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -395,6 +395,16 @@ during a NUT build.
- build of `snmp-ups` and `netxml-ups` drivers now explicitly brings linker
dependency on chosen SSL libraries. [#2479]
- introduced `configure --with-modbus+usb` option to require an USB-capable
libmodbus, and defaulted a couple of specific situations as if this was
required (implicitly): `configure --with-modbus --with-usb`
and either `--with-drivers=*apc_modbus*`
or `--with-modbus-includes=... --with-modbus-libs=...`
as a way to avoid surprises with custom NUT builds aiming to have an
USB-capable `apc_modbus` driver (currently this requires a custom-built
libmodbus). Also fixed (re-)detection of libmodbus RTU USB support with
static libmodbus builds. [#2666]
- brought keyword dictionaries of `nutconf` and `augeas` NUT configuration
file parsers up to date; restored automated checks for `augeas` lenses.
[issue #657, issue #2294]
Expand Down
10 changes: 10 additions & 0 deletions UPGRADING.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,16 @@ Changes from 2.8.2 to 2.8.3
tool name and NUT version banner from being printed out when programs
start. [issues #1789 vs. #316]
- A `configure` script option to build `--with-modbus+usb` was added to
let the caller insist on the use of USB-capable libmodbus (or fail the
NUT build attempt). Certain build arguments can default this option to
become enabled (implicitly): `configure --with-modbus --with-usb`
and either `--with-drivers=*apc_modbus*`
or `--with-modbus-includes=... --with-modbus-libs=...`
as a way to avoid surprises with custom NUT builds aiming to have an
USB-capable `apc_modbus` driver (currently this requires a custom-built
libmodbus, can be a static build to avoid conflicts with OS). [#2666]
- A `configure` script option to `--enable-NUT_STRARG-always` was added
to enable the `NUT_STRARG` macro (to handle `NULL` string printing)
even if system libraries seem to safely support this behavior natively.
Expand Down

0 comments on commit 24f8b52

Please sign in to comment.