[Nut-upsuser] Debian Openssl
Greg Troxel
gdt at lexort.com
Thu Jul 3 01:34:02 BST 2025
Vyasa via Nut-upsuser <nut-upsuser at alioth-lists.debian.net> writes:
> I wanted to ask what the default Debian configuration of the NUT
> package is in their repo with regards to openssl. As I have read the
> NUT website, and at times it states to custom compile ./configure
> --with-openssl and in other instances it doesn't reference this. I
> could not determine if I have to custom compile to have openssl
> functionality available, or if this is included by default in some
> versions.
>
> The "./compile --help" shows some functionality as "auto", some "yes"
> and this is why I ask. As also, I would think these days ssl would be
> almost default.
Really you have to ask Debian. While it's a fair question to ask what
happens if you build nut yourself, packagers set options on and off and
make dependencies visible or not, as decisions.
> My questions are:
>
> 1. Is custom compile is required?
> 2. If so, would the default configure settings with exception of
> --with-openssl be the same as Debian repo?
Read the Debian packaging control files.
In the pkgsrc build, there is a choice of openssl or nss. Not really
sure why anybody would want nss. With openssl, the configure args are
CONFIGURE_ARGS+= --with-ssl=openssl --without-nss --with-openssl
and
$ ldd /usr/pkg/bin/upsc
/usr/pkg/bin/upsc:
-lupsclient.7 => /usr/pkg/lib/libupsclient.so.7
-lssl.15 => /usr/lib/libssl.so.15
-lcrypto.15 => /usr/lib/libcrypto.so.15
-lcrypt.1 => /lib/libcrypt.so.1
-lc.12 => /usr/lib/libc.so.12
-lpthread.1 => /usr/lib/libpthread.so.1
also if you ./configure yourself, save the output and read it.
More information about the Nut-upsuser
mailing list