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!
--- 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),