Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FTY remerge from master as of 2024-06-15 #2472

Merged
merged 121 commits into from
Jun 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
121 commits
Select commit Hold shift + click to select a range
a56281b
bicker_ser: Bicker UPSes based on PSZ-1063
ntd May 16, 2024
021472d
bicker_ser: add shutdown support
ntd May 17, 2024
3ae6b50
data/driver.list.in: add bicker_ser based UPSes
ntd May 17, 2024
0b53475
bicker_ser: add big-endian platform support
ntd May 17, 2024
6538f2f
bicker_ser: use length macros to increase expressiveness
ntd May 17, 2024
67ffe25
bicker_ser: add manpage
ntd May 17, 2024
ffd42d1
NEWS.adoc: announce bicker_ser driver [#2318]
ntd May 18, 2024
d5e7ce5
bicker_ser: update protocol documentation
ntd May 21, 2024
162e39e
bicker_ser: explicitly pass the command index
ntd May 21, 2024
8abde1a
bicker_ser: refactor to allow more complex packet handling
ntd May 21, 2024
eaddb34
bicker_ser: add more state variables
ntd May 21, 2024
c659e31
bicker_ser: use variable for low battery limit
ntd May 21, 2024
a4c3767
bicker_ser: add parameter support
ntd May 21, 2024
ee71353
bicker_ser: differentiate between error and unsupported
ntd May 22, 2024
c9fed62
bicker_ser: fix string dstate setting
ntd May 22, 2024
c9ba796
bicker_ser: fix alignment and endianness problems
ntd May 22, 2024
beb26a6
bicker_ser: cosmetic fixes
ntd May 22, 2024
0c80ece
bicker_ser: use uint8_t for bytes instead of char
ntd May 22, 2024
4a33b3a
bicker_ser: use proper format modifiers in logs
ntd May 22, 2024
c78524c
bicker_ser: refactor to clarify packet manipulation
ntd May 22, 2024
27bdc87
bicker_ser: make parameter handling less error prone
ntd May 23, 2024
fca9957
bicker_ser: add sanity checks to bicker_set
ntd May 23, 2024
4cbe12d
bicker_ser: expose mappable parameters
ntd May 23, 2024
9fad1df
Merge pull request #2448 from ntd/bicker
jimklimov May 24, 2024
d4962f2
docs/man/nut.exe.txt: mention `net start/stop` to manage Windows serv…
jimklimov May 24, 2024
29b7e7a
scripts/Windows/wininit.c: clarify that this is what becomes "nut.exe…
jimklimov May 24, 2024
8541d6a
scripts/Windows/wininit.c: introduce an SvcExists() method [#2455]
jimklimov May 24, 2024
1eb7a61
scripts/Windows/wininit.c, docs/man/nut.exe.txt: introduce "nut.exe s…
jimklimov May 24, 2024
9f06f46
docs/man/nut.exe.txt, docs/nut.dict: suggest some PowerShell magic to…
jimklimov May 24, 2024
0d2fd43
Merge pull request #2456 from jimklimov/issue-2455
jimklimov May 27, 2024
eac5a52
bicker_ser: rename `parameter` to `dst`
ntd May 27, 2024
86d4d0e
bicker_ser: make `dst` optional in bicker_write
ntd May 27, 2024
1964a2f
bicker_ser: add id validation to bicker_get()
ntd May 27, 2024
c602b9d
bicker_ser: allow NULL dst in parameter handling
ntd May 27, 2024
2241b25
bicker_ser: ensure battery.charge.low is defined
ntd May 27, 2024
afee54f
bicker_ser: allow writing to Bicker parameters
ntd May 28, 2024
1678f20
bicker_ser: add variables info to manpage
ntd May 28, 2024
e8203b1
bicker_ser: bump driver version
ntd May 28, 2024
7279695
bicker_ser: enforce expected data size
ntd May 30, 2024
0f0c4dc
bicker_ser: avoid GCC warnings
ntd May 28, 2024
7e5bc6f
bicker_ser: register the shutdown.return instcmd
ntd May 30, 2024
804323e
bicker_ser: move unofficial variables into "experimental" namespace
ntd May 30, 2024
9c3dedf
bicker_ser: improve styling of relay modes doc
ntd May 30, 2024
905a10f
Merge pull request #2459 from ntd/bicker
jimklimov May 30, 2024
45ac7f1
docs/documentation.txt: update URL for Configuration Examples to dire…
jimklimov Jun 3, 2024
a6053d5
docs/documentation.txt: update links for Roger Price original page an…
jimklimov Jun 3, 2024
4f66f94
docs/documentation.txt: update URL for Configuration Examples to dire…
jimklimov Jun 3, 2024
ed74bc5
Introduce a `NUT_DEBUG_SYSLOG` environment variable [#2394]
jimklimov Jun 4, 2024
60f1828
tests/NIT/nit.sh: make use of NUT_DEBUG_SYSLOG tweak setting
jimklimov Jun 4, 2024
fd68a56
clients/upsmon: restore handling of comm failure while on battery
avg-I Jun 5, 2024
35f5156
Merge pull request #2461 from jimklimov/nit-syslog
jimklimov Jun 6, 2024
a9f734f
data/driver.list.in: shorten HCL title for Cyber Energy devices
jimklimov Jun 6, 2024
0bea73b
NEWS.adoc: rearrange entries
jimklimov Jun 7, 2024
7b51a59
Introduce getprocname() and checkprocname() for suspicious PID values…
jimklimov Jun 7, 2024
eaf783f
common/common.c: sendsignalpid(): comment about not-signaling PID<2
jimklimov Jun 8, 2024
879fa48
Pass "progname" through sendsignal*() methods to verify that we sends…
jimklimov Jun 8, 2024
829dca2
common/common.c: getprocname(): implement support for /proc/NNN/cmdli…
jimklimov Jun 8, 2024
9fcfcbe
common/common.c: getprocname(): implement support for /proc/NNN/stat …
jimklimov Jun 8, 2024
684a0da
common/common.c: getprocname(): implement support for (Open)BSD parsi…
jimklimov Jun 8, 2024
2126ce2
common/common.c: getprocname(): revise printed messages [#2463]
jimklimov Jun 9, 2024
4707e11
common/common.c: getprocname(): implement support for /proc/NNN/psinf…
jimklimov Jun 9, 2024
2229880
common/common.c: getprocname(): implement support for WIN32 parsing w…
jimklimov Jun 9, 2024
2ebc284
common/common.c: checkprocname(): case #5 is not "exact", fix the mes…
jimklimov Jun 10, 2024
16ff315
NEWS.adoc: explain the fix for #2454 via #2462
jimklimov Jun 10, 2024
ad19e07
Merge pull request #2462 from avg-I/issue-2454
jimklimov Jun 10, 2024
82e5932
clients/upsmon.c: for OB UPS and communications failure, leave just t…
jimklimov Jun 10, 2024
55ae3e1
UPGRADING.adoc: warn that packaged program name mismatches can be a p…
jimklimov Jun 13, 2024
0904b93
Introduce NUT_IGNORE_CHECKPROCNAME=true support to skip PID process n…
jimklimov Jun 13, 2024
b08dcce
Extend sendsignal*() API some more to optionally fall back to checkpr…
jimklimov Jun 13, 2024
fd4c549
Merge pull request #2471 from jimklimov/issue-2463
jimklimov Jun 15, 2024
dc099e8
README.adoc: add a Star History Chart badge/image
jimklimov Jun 15, 2024
d7412cb
Merge remote-tracking branch 'upstream/master' as of 2024-06-15 into FTY
jimklimov Jun 15, 2024
34552fe
root Makefile.am : clone "make distcheck-light" in a new target "make…
jimklimov May 18, 2016
699fcd2
Makefile.am: `make distcheck-light-man` should test installability of…
jimklimov Jun 15, 2024
1eed5fa
Makefile.am: use job-server for DMF-related targets with sub-makes: c…
jimklimov Jun 15, 2024
4cf8e92
configure.ac : add support for --with-doc=man=dist-auto to prefer pre…
jimklimov Dec 31, 2017
ef84877
Fix wording that breaks some syntax highlighting systems
aquette Feb 1, 2019
d456aa6
configure.ac : Avoid rebuilding existing man=dist build products due …
jimklimov Dec 31, 2017
4e68fcb
configure.ac: apply comment for nut_with_libltdl=no vs. nut_with_nut_…
jimklimov Jun 15, 2024
e878367
NEWS.adoc, docs/configure.txt: document `--with-doc=dist-auto` option…
jimklimov Jun 15, 2024
daea337
configure.ac, scripts/augeas/Makefile.am: Define an `auglenstestsdir`…
jimklimov Jan 3, 2018
b218e1e
clients/upsclient.h: include sys/types.h
ffontaine Jun 15, 2024
2dbabcb
m4/ax_c_pragmas.m4: add HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_PEDANTIC
jimklimov Dec 4, 2021
31bcd00
m4/ax_c_pragmas.m4: introduce HAVE_PRAGMA_GCC_DIAGNOSTIC_IGNORED_ADDRESS
jimklimov Feb 29, 2024
944cb0e
drivers/Makefile.am: snmp and netxml UPSes should have SSL flags/libs…
jimklimov May 13, 2016
c594c7a
common/Makefile.am, tools/nut-scanner/Makefile.am: Introduce private …
jimklimov Jun 15, 2024
70a5405
common/Makefile.am: libcommonstr_la_LIBADD += @BSDKVMPROCLIBS@ [#2463…
jimklimov Jun 17, 2024
d628723
common/Makefile.am: libcommonstr_la_LIBADD += @BSDKVMPROCLIBS@ [#2463…
jimklimov Jun 17, 2024
ea7fb7e
Merge branch 'issue-1316-m4' into issue-1316
jimklimov Jun 18, 2024
8ba17e0
Merge branch 'issue-1316-libcommonstr' into issue-1316
jimklimov Jun 18, 2024
2664966
NEWS.adoc: mention libcommonstr.la [#2478]
jimklimov Jun 18, 2024
f8df12f
Merge branch 'issue-1316-snmp-netxml-ssl' into issue-1316
jimklimov Jun 18, 2024
4f4574d
NEWS.adoc: mention use of SSL linker deps for `snmp-ups` and `netxml-…
jimklimov Jun 18, 2024
84f5863
docs/nut.dict: update for recent changes in NEWS.adoc [#2478]
jimklimov Jun 18, 2024
8c0a7f5
tests/NIT/nit.sh: document a typical test sandbox preparation
jimklimov Jun 20, 2024
d2e3cda
tests/NIT/nit.sh: when we DEBUG_SLEEP, report practical steps after d…
jimklimov Jun 20, 2024
eaa6880
tests/NIT/nit.sh: report PID_* set by this script for NUT daemons it …
jimklimov Jun 20, 2024
2c2addd
drivers/dstate.c, NEWS.adoc: a read() returning 0 after a select with…
jimklimov Jun 20, 2024
650ac9c
drivers/dstate.c: indent ifdef-fenced includes
jimklimov Jun 20, 2024
6ec0641
Numerous headers: define include-guard to a number value; revise name…
jimklimov Jun 20, 2024
411a577
drivers/dstate.{c,h}: introduce conn_t->readzero field and throttles …
jimklimov Jun 20, 2024
17ae811
Merge pull request #2486 from jimklimov/issue-2484
jimklimov Jun 24, 2024
1d79d6e
Merge pull request #2481 from jimklimov/issue-1316
jimklimov Jun 24, 2024
3e31b39
Merge pull request #2474 from jimklimov/issue-1316-auglenstest
jimklimov Jun 24, 2024
54d7ada
drivers/Makefile.am, tools/nut-scanner/Makefile.am: introduce libseri…
jimklimov Jun 24, 2024
e307cc9
tools/nut-scanner/Makefile.am: append to common make variables instea…
jimklimov Jun 24, 2024
6bdae4f
tools/nut-scanner/Makefile.am: drop LINKED_SOURCE_FILES now that we h…
jimklimov Jun 24, 2024
048ecbf
tools/nut-scanner/Makefile.am: fix libnutscan_la_LIBADD vs. libnutsca…
jimklimov Feb 26, 2024
4e39906
tools/nut-scanner/Makefile.am: bump libnutscan version-info just in c…
jimklimov Jun 24, 2024
4474431
drivers/netxml-ups.c: drop remnants of "do_convert_deci" as a variabl…
jimklimov Jun 25, 2024
6c1da46
tools/nut-scanner/Makefile.am: use libnutwincompat.la where appropriate
jimklimov Feb 26, 2024
48b3f0c
common/Makefile.am: do not embed libnutwincompat.la pieces into libco…
jimklimov Jun 25, 2024
0c61906
Merge pull request #2490 from jimklimov/issue-1316-libserial-nutscan
jimklimov Jun 25, 2024
5a34cbe
Merge pull request #2491 from jimklimov/issue-1316-libwincompat-nutscan
jimklimov Jun 25, 2024
7856ca4
Merge pull request #2475 from ffontaine/master
jimklimov Jun 25, 2024
c1e4046
Makefile.am: move distcheck-light-man up to distcheck-light [#2473]
jimklimov Jun 25, 2024
575b124
Merge remote-tracking branch 'master' as of 2024-06-25 into FTY-remer…
jimklimov Jun 25, 2024
227e89c
configure.ac: fix indentations for recently changed --with-docs code …
jimklimov Jun 25, 2024
d683bc1
NEWS.adoc: update for libserial-nutscan.la [#2490]
jimklimov Jun 25, 2024
dfc5446
Merge remote-tracking branch 'master' as of 2024-06-25 into FTY-remer…
jimklimov Jun 25, 2024
ac4208d
drivers/snmp-ups.c: bump Eaton (C) as in master branch
jimklimov Jun 25, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
70 changes: 60 additions & 10 deletions NEWS.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,17 @@ https://github.com/networkupstools/nut/milestone/11
* Addition of "NUT Simulated devices" support to `nut-scanner` in v2.8.2
broke detection of (in-)ability to find and query "Old NUT" servers via
`libupsclient.so` (internal flag got always enabled). [#2246]
- drivers, upsd, upsmon: reduce "scary noise" about failure to `fopen()`
* A fix for `upsmon` v2.8.1 setting of `OFFDURATION` [PR #2108, issue #2104,
revisiting PR #2055, issue #2044] was overly zealous and impacted also
the `OB` state in cases where communications to the data server were
severed and `DEADTIME` setting was not honored. [PR #2462, issue #2454]
* Using `drivername -c reload` (e.g. facilitated by `nut-driver-enumerator`
script and service when editing `ups.conf`) led to disconnected Unix
sockets and a tight polling loop that hogged CPU. While the underlying
bug is ancient, it took recent development to hit it as a practical
regression. [issue #1904, issue #2484]
- drivers, `upsd`, `upsmon`: reduce "scary noise" about failure to `fopen()`
the PID file (which most of the time means that no previous instance of
the daemon was running to potentially conflict with), especially useless
since in recent NUT releases the verdicts from `sendsignal*()` methods
Expand Down Expand Up @@ -87,6 +96,10 @@ https://github.com/networkupstools/nut/milestone/11
string values reported by devices via USB are welcome), so these devices
would now report `battery.voltage` and `battery.voltage.nominal`. [#2380]
- bicker_ser: added new driver for Bicker 12/24Vdc UPS via RS-232 serial
communication protocol, which supports any UPS shipped with the PSZ-1053
extension module. [PR #2448]
- USB drivers could log `(nut_)libusb_get_string: Success` due to either
reading an empty string or getting a success code `0` from libusb.
This difference should now be better logged, and not into syslog. [#2399]
Expand Down Expand Up @@ -116,10 +129,33 @@ https://github.com/networkupstools/nut/milestone/11
exiting (and/or start-up has aborted due to configuration or run-time
issues). Warning about "world readable" files clarified. [#2417]
- common code: root-owned daemons now use not the hard-coded `PIDPATH` value
set by the `configure` script during build, but can override it with a
`NUT_PIDPATH` environment variable in certain use-cases (such as tests).
[#2407]
- common code:
* introduced a `NUT_DEBUG_SYSLOG` environment variable to tweak activation
of syslog message emission (and related detachment of `stderr` when
backgrounding), primarily useful for NIT and perhaps systemd. Most
methods relied on logging bits being set, so this change aims to be
minimally invasive to impact setting of those bits (or not) in the
first place. [#2394]
* `root`-owned daemons now use not the hard-coded `PIDPATH` value set
by the `configure` script during build, but can override it with a
`NUT_PIDPATH` environment variable in certain use-cases (such as
tests). [#2407]
* introduced a check for daemons working with PID files to double-check
that if they can resolve the program name of a running process with
this identifier, that such name matches the current program (avoid
failures to start NUT daemons if PID files are on persistent storage,
and some unrelated program got that PID after a reboot). This might
introduce regressions for heavily customized NUT builds (e.g. those
embedded in NAS or similar devices) where binary file names differ
significantly from a `progname` string defined in the respective NUT
source file, so a boolean `NUT_IGNORE_CHECKPROCNAME` environment
variable support was added to optionally disable this verification.
Also the NUT daemons should request to double-check against their
run-time process name (if it can be detected). [issue #2463]
- various recipe, documentation and source files were revised to address
respective warnings issued by the new generations of analysis tools.
[#823, #2437, link:https://github.com/networkupstools/nut-website/issues/52[nut-website issue #52]]
- revised `nut.exe` (the NUT for Windows wrapper for all-in-one service)
to be more helpful with command-line use (report that it failed to start
Expand All @@ -133,6 +169,24 @@ https://github.com/networkupstools/nut/milestone/11
+
NOTE: The `html-chunked` documents are currently still not installed.
- added support to `./configure --with-doc=man=dist-auto` to use distributed
manual page files if present; only fall back to build them if we can. [#2473]
- added a `make distcheck-light-man` recipe to require verification that the
manual page files can be built using the prepared "tarball" archive. [#2473]
- added a `common/Makefile.am` build product for a new internal library
`libcommonstr.la` which allows a smaller selection of helper methods
for tools like `nut-scanner` which do not need the full `libcommon.la`
nor `libcommonclient.la`. [#2478, #2491]
- added a `drivers/Makefile.am` build product for a new internal library
`libserial-nutscan.la` to simplify `tools/nut-scanner/Makefile.am` recipes.
[#2490]
- build of `snmp-ups` and `netxml-ups` drivers now explicitly brings linker
dependency on chosen SSL libraries. [#2479]
- 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 All @@ -142,10 +196,6 @@ https://github.com/networkupstools/nut/milestone/11
of more complex configurations (e.g. some line patterns that involve too
many double-quote characters) which are valid for NUT proper. [#657]
- various recipe, documentation and source files were revised to address
respective warnings issued by the new generations of analysis tools.
[#823, #2437, link:https://github.com/networkupstools/nut-website/issues/52[nut-website issue #52]]
Release notes for NUT 2.8.2 - what's new since 2.8.1
----------------------------------------------------
Expand Down
2 changes: 2 additions & 0 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,8 @@ which the larger potential sponsors consider when choosing how to help
FOSS projects. Keeping the lights shining in such a large non-regression
build matrix is a big undertaking!
image:https://api.star-history.com/svg?repos=networkupstools/nut&type=Date[link="https://star-history.com/#networkupstools/nut&Date" alt="Star History Chart"]
See <<acknowledgements-ci-ops,acknowledgements of organizations which help
with NUT CI and other daily operations>> for an overview of the shared effort.
=====
Expand Down
16 changes: 16 additions & 0 deletions UPGRADING.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,22 @@ Changes from 2.8.2 to 2.8.3
pages which are delivered automatically. Packaging recipes can likely
be simplified now. [#2445]
- Internal API change for `sendsignalpid()` and `sendsignalfn()` methods,
which can impact NUT forks which build using `libcommon.la` and similar
libraries. Added new last argument with `const char *progname` (may be
`NULL`) to check that we are signalling an expected program name when we
work with a PID. With the same effort, NUT programs which deal with PID
files to send signals (`upsd`, `upsmon`, drivers and `upsdrvctl`) would
now default to a safety precaution -- checking that the running process
with that PID has the expected program name (on platforms where we can
determine one). This might introduce regressions for heavily customized
NUT builds (e.g. embedded in NAS or similar devices) whose binary file
names differ significantly from a `progname` defined in the respective
NUT source file, so a boolean `NUT_IGNORE_CHECKPROCNAME` environment
variable support was added to optionally disable this verification.
Also the NUT daemons should request to double-check against their
run-time process name (if it can be detected). [issue #2463]
Changes from 2.8.1 to 2.8.2
---------------------------
Expand Down
2 changes: 1 addition & 1 deletion clients/nutclient.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
*/

#ifndef NUTCLIENT_HPP_SEEN
#define NUTCLIENT_HPP_SEEN
#define NUTCLIENT_HPP_SEEN 1

/* Begin of C++ nutclient library declaration */
#ifdef __cplusplus
Expand Down
4 changes: 2 additions & 2 deletions clients/nutclientmem.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
*/

#ifndef NUTCLIENTMEM_HPP_SEEN
#define NUTCLIENTMEM_HPP_SEEN
#define NUTCLIENTMEM_HPP_SEEN 1

/* Begin of C++ nutclient library declaration */
#ifdef __cplusplus
Expand Down Expand Up @@ -117,4 +117,4 @@ NUTCLIENT_MEM_t nutclient_mem_create_client();
#endif /* __cplusplus */
/* End of C nutclient library declaration */

#endif /* NUTCLIENTMOCK_HPP_SEEN */
#endif /* NUTCLIENTMEM_HPP_SEEN */
6 changes: 5 additions & 1 deletion clients/upsclient.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
*/

#ifndef UPSCLIENT_H_SEEN
#define UPSCLIENT_H_SEEN
#define UPSCLIENT_H_SEEN 1

#ifdef WITH_OPENSSL
#include <openssl/err.h>
Expand Down Expand Up @@ -53,6 +53,10 @@
# endif
#endif

#if defined HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif

#ifdef __cplusplus
/* *INDENT-OFF* */
extern "C" {
Expand Down
18 changes: 12 additions & 6 deletions clients/upsmon.c
Original file line number Diff line number Diff line change
Expand Up @@ -1113,11 +1113,17 @@ static int is_ups_critical(utype_t *ups)
}

if (ups->linestate == 0) {
upslogx(LOG_WARNING,
/* Just a message for post-mortem troubleshooting:
* no flag flips, no return values issued just here
* (note the message is likely to appear on every
* cycle when the communications are down, to help
* track when this was the case; no log throttling).
*/
upsdebugx(1,
"UPS [%s] was last known to be not fully online "
"and currently is not communicating, assuming dead",
"and currently is not communicating, just so you "
"know (waiting for DEADTIME to elapse)",
ups->sys);
return 1;
}
}

Expand Down Expand Up @@ -3016,15 +3022,15 @@ int main(int argc, char *argv[])
* is running by sending signal '0' (i.e. 'kill <pid> 0' equivalent)
*/
if (oldpid < 0) {
cmdret = sendsignal(prog, cmd);
cmdret = sendsignal(prog, cmd, 1);
} else {
cmdret = sendsignalpid(oldpid, cmd);
cmdret = sendsignalpid(oldpid, cmd, prog, 1);
}

#else /* WIN32 */
if (cmd) {
/* Command the running daemon, it should be there */
cmdret = sendsignal(UPSMON_PIPE_NAME, cmd);
cmdret = sendsignal(UPSMON_PIPE_NAME, cmd, 1);
} else {
/* Starting new daemon, check for competition */
mutex = CreateMutex(NULL, TRUE, UPSMON_PIPE_NAME);
Expand Down
6 changes: 3 additions & 3 deletions common/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ libcommonclient_la_SOURCES = state.c str.c
noinst_LTLIBRARIES += libcommonstr.la
libcommonstr_la_SOURCES = str.c
libcommonstr_la_CFLAGS = $(AM_CFLAGS) -DWITHOUT_LIBSYSTEMD=1
libcommonstr_la_LIBADD = @LTLIBOBJS@
libcommonstr_la_LIBADD = @LTLIBOBJS@ @BSDKVMPROCLIBS@

if BUILDING_IN_TREE
libcommon_la_SOURCES += common.c
Expand Down Expand Up @@ -111,8 +111,8 @@ endif HAVE_WINDOWS

# ensure inclusion of local implementation of missing systems functions
# using LTLIBOBJS. Refer to configure.in/.ac -> AC_REPLACE_FUNCS
libcommon_la_LIBADD = libparseconf.la @LTLIBOBJS@ @NETLIBS@
libcommonclient_la_LIBADD = libparseconf.la @LTLIBOBJS@ @NETLIBS@
libcommon_la_LIBADD = libparseconf.la @LTLIBOBJS@ @NETLIBS@ @BSDKVMPROCLIBS@
libcommonclient_la_LIBADD = libparseconf.la @LTLIBOBJS@ @NETLIBS@ @BSDKVMPROCLIBS@

libcommon_la_CFLAGS = $(AM_CFLAGS)
libcommonclient_la_CFLAGS = $(AM_CFLAGS)
Expand Down
Loading