Source: libssh
Version: 0.10.4-2
Severity: important
Tags: patch
X-Debbugs-Cc: Vagrant Cascadian <vagr...@debian.org>
Control: block 1020087 by -1

In libssh 0.10.x versions, DSA support is deprecated and disabled by
default. This causes test suite failures when building guile-ssh which
tests support for DSA keys.

The attached patch enables DSA support, as was supported in previous
versions.

If that is not an option in time for bookworm freeze, please let me know
ASAP so I can patch guile-ssh instead.

Thanks for maintaining libssh!


live well,
  vagrant
From d3963761a4e2666187e4fb5281f5f45c9e8a106f Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagr...@debian.org>
Date: Mon, 5 Dec 2022 00:19:05 +0000
Subject: [PATCH] debian/rules: Enable DSA support.

Upstream 0.10.x disables DSA support by default, and is likely to be
deprecated in future versions.
---
 debian/rules | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index fb55ca2..880aa59 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,6 @@
 #!/usr/bin/make -f
 
-DEB_CMAKE_EXTRA_FLAGS := -DBUILD_STATIC_LIB=ON -DLIB_INSTALL_DIR=/usr/lib/$(DEB_HOST_MULTIARCH) -DUNIT_TESTING=$(if $(filter nocheck,$(DEB_BUILD_OPTIONS)),OFF,ON) -DWITH_GSSAPI=ON
+DEB_CMAKE_EXTRA_FLAGS := -DBUILD_STATIC_LIB=ON -DLIB_INSTALL_DIR=/usr/lib/$(DEB_HOST_MULTIARCH) -DUNIT_TESTING=$(if $(filter nocheck,$(DEB_BUILD_OPTIONS)),OFF,ON) -DWITH_GSSAPI=ON -DWITH_DSA=ON
 
 export DEB_LDFLAGS_MAINT_APPEND = -Wl,-z,defs -Wl,-O1
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
-- 
2.30.2

Attachment: signature.asc
Description: PGP signature

Reply via email to