[stunnel-users] stunnel-5.06 fails to build against systemd 215

Anthony G. Basile basile at opensource.dyc.edu
Sat Oct 18 04:04:50 CEST 2014


On 10/16/14 00:46, Michal Trojnara wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Anthony G. Basile wrote:
>> We hit a bug in stunnel-5.05 and it continues in 5.06.  The
>> problem comes from systemd which moved sd_listen_fds() form
>> libsystemd-daemon.so to libsystemd.so.
>
> Not really a bug, but rather missing support for systemd 209 or later:
> http://lists.freedesktop.org/archives/systemd-devel/2014-February/017146.html
>> We merged libsystemd-journal.so, libsystemd-id128.so,
>> libsystemd-login and libsystemd-daemon into a a single
>> libsystemd.so to reduce code duplication and avoid cyclic
>> dependencies (see below).
>
> Please try:
> https://www.stunnel.org/downloads/beta/stunnel-5.07b2.tar.gz
>
> Mike
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1
>
> iEYEARECAAYFAlQ/TcMACgkQ/NU+nXTHMtE0oACeNbCPKzPZ7T5RiL6d8Cyff/u0
> hqsAn1w2GEGxEv39NZEUTf6ZKltRx9Ls
> =AM7Z
> -----END PGP SIGNATURE-----
> _______________________________________________
> stunnel-users mailing list
> stunnel-users at stunnel.org
> https://www.stunnel.org/cgi-bin/mailman/listinfo/stunnel-users
>

Hi Michal,

That patch works, but we prefer in Gentoo to have a configuration switch 
to avoid automatic dependencies [1].  I've attached a patch against 
configure.ac that would --enable/disable-systemd socket activation.  It 
applies against 5.07b2.

Ref.
[1] 
https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Automagic_dependencies

-- 
Anthony G. Basile, Ph. D.
Chair of Information Technology
D'Youville College
Buffalo, NY 14201
(716) 829-8197
-------------- next part --------------
A non-text attachment was scrubbed...
Name: stunnel-enable-systemd.patch
Type: text/x-patch
Size: 2218 bytes
Desc: not available
URL: <http://www.stunnel.org/pipermail/stunnel-users/attachments/20141017/7d1c3ef0/attachment.bin>


More information about the stunnel-users mailing list