Name libssh2-1t64
Description SSH2 client-side library
Version 1.11.1-1
Package Base libssh2
Homepage https://libssh2.org/
Maintainers ['Nicolas Mora <babelouest@debian.org>']
Contributors []
Distro-repo https://salsa.debian.org/debian/libssh2
Sources ['https://sources.debian.org/data/main/libs/libssh2/1.11.1-1/debian/watch', 'https://sources.debian.org/src/libssh2/1.11.1-1/debian/patches/0001-Add-lgpg-error-to-.pc-to-facilitate-static-linking.patch', 'https://sources.debian.org/src/libssh2/1.11.1-1/debian/patches/0001-Do-not-expose-private-libraries-nor-link-flags-to-us.patch', 'https://sources.debian.org/src/libssh2/1.11.1-1/debian/patches/CVE-2023-48795.patch', 'https://sources.debian.org/src/libssh2/1.11.1-1/debian/patches/PR-1241.patch', 'https://sources.debian.org/src/libssh2/1.11.1-1/debian/patches/manpage.patch', 'https://sources.debian.org/src/libssh2/1.11.1-1/debian/patches/maxpathlen.patch', 'https://sources.debian.org/src/libssh2/1.11.1-1/debian/patches/openssh-9.8.patch', 'https://sources.debian.org/src/libssh2/1.11.1-1/debian/patches/series', 'https://sources.debian.org/src/libssh2/1.11.1-1/debian/patches/ssh2-sh.patch']
Dependencies ['libc6', 'libssl3t64', 'zlib1g']
Optional-Dependencies []
Build-Dependencies ['dpkg-dev', 'debhelper-compat', 'libssl-dev', 'zlib1g-dev', 'openssh-server <!nocheck>']
Provides []
Builddate
Architecture amd64
Distro-Version trixie
Licenses []
Hash 7cd32dd28148c672f156d1d4ae56d6129bf776980bc6abb4f27c5714c190b958
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export OPENSSH_NO_DOCKER = true

DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)

# openssl license issue has been fixed: #668271, #924937
#CONFIGURE_EXTRA_FLAGS += --with-libgcrypt --without-openssl
CONFIGURE_EXTRA_FLAGS += --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH)
CONFIGURE_EXTRA_FLAGS += --disable-rpath

%:
	dh $@ --with autoreconf

override_dh_auto_configure:
	dh_auto_configure -- --disable-docker-tests \
											 $(CONFIGURE_EXTRA_FLAGS)

override_dh_installexamples:
	dh_installexamples -a -X .deps -X Makefile -X .gitignore

override_dh_installchangelogs:
	dh_installchangelogs NEWS

#
# mansyntax.sh test duplicates functionality of debhelper and requires presence
# of en_US.utf8 locale. Ensure it is not run by providing a fake man(1) tool.
#
override_dh_auto_test:
	PATH=$(CURDIR)/debian:$$PATH dh_auto_test -a