Bug#997035: openssh: Please build-depend on libsystemd-dev | libelogind-dev

Svante Signell <[email protected]>
Newsgroups gmane.linux.debian.devel.ssh
Message-ID <35c61920e04c3011fb5ba4ad78c52b50da2670ac.camel__15436.5549724147$1634925617$gmane$org@gmail.com>
Source: openssh
Version: 8.4p1-6
Severity: important
Tags: patch
Usertags: linux

Hi,

Currently openssh FTBFS on GNU/Linux due to a build dependency on
libsystemd-dev.

The attached patch, debian_control.diff fixes this problem by build-
depending on libsystemd-dev | libelogind-dev for linux-any.

This patch has been used to successfully build openssh on GNU/Linux
with libelogind-dev (and libelogind0) installed (on a Debian box not
using systemd)

Thanks!
debian_control.diff (text/x-patch, 478 B)
--- a/debian/control	2021-08-19 12:04:01.000000000 +0200
+++ b/debian/control	2021-10-22 19:08:32.214710620 +0200
@@ -17,7 +17,7 @@
                libpam0g-dev | libpam-dev,
                libselinux1-dev [linux-any],
                libssl-dev (>= 1.1.0g),
-               libsystemd-dev [linux-any],
+               libsystemd-dev | libelogind-dev [linux-any],
                libwrap0-dev | libwrap-dev,
                pkg-config,
                zlib1g-dev (>= 1:1.2.3),
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.