Skip to content

Commit c8f40b4

Browse files
authored
Merge 7c25cb2 into 66af085
2 parents 66af085 + 7c25cb2 commit c8f40b4

12 files changed

Lines changed: 999 additions & 3 deletions

NEWS.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,8 @@ https://github.com/networkupstools/nut/milestone/13
9999
allows to pass the `certfile` argument needed for OpenSSL builds. [#3331]
100100
* The `libupsclient` (C) and `libnutclient` (C++) API were updated to
101101
report the ability to check `CERTIDENT` information. [#3331]
102+
* Introduced support for "authconf" files to store and convey NUT client
103+
authentication details. [issue #3329]
102104

103105
- `upsmon` client updates:
104106
* Introduced support for `CERTFILE` option, so the client can identify

clients/Makefile.am

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ endif HAVE_CXX11
110110

111111
# Optionally deliverable as part of NUT public API:
112112
if WITH_DEV
113-
include_HEADERS = upsclient.h
113+
include_HEADERS = upsclient.h authconf.h
114114
if HAVE_CXX11
115115
include_HEADERS += nutclient.h nutclientmem.h
116116
else !HAVE_CXX11
@@ -170,7 +170,7 @@ upsstats_cgi_LDADD = $(LDADD_CLIENT) $(top_builddir)/common/libcommonstrjson.la
170170
# but it needs nut_version.h made before the rest of build,
171171
# to include it into upsclient.c (without an explicit link,
172172
# this target is sometimes missed in parallel builds):
173-
libupsclient_la_SOURCES = upsclient.c upsclient.h
173+
libupsclient_la_SOURCES = upsclient.c upsclient.h authconf.c authconf.h
174174

175175
# See comments for similar trick in common/Makefile.am for common-nut_version.c
176176
if BUILDING_IN_TREE

0 commit comments

Comments
 (0)