Name libssh2
Description
Version
Package Base
Homepage
Maintainers ['Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>']
Contributors []
Distro-repo https://git.launchpad.net/ubuntu/+source/libssh2/tree/?h=ubuntu/noble
Sources ['https://git.launchpad.net/ubuntu/+source/libssh2/plain/debian/patches/../?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/libssh2/plain/debian/patches/0001-Add-lgpg-error-to-.pc-to-facilitate-static-linking.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/libssh2/plain/debian/patches/0001-Do-not-expose-private-libraries-nor-link-flags-to-us.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/libssh2/plain/debian/patches/CVE-2023-48795.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/libssh2/plain/debian/patches/PR-1241.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/libssh2/plain/debian/patches/manpage.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/libssh2/plain/debian/patches/series?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/libssh2/plain/debian/patches/ssh2-sh.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/libssh2/plain/debian/watch?h=ubuntu/noble']
Dependencies []
Optional-Dependencies []
Build-Dependencies ['dpkg-dev', 'debhelper-compat', 'libssl-dev', 'zlib1g-dev', 'chrpath', 'openssh-server']
Provides []
Builddate
Architecture amd64
Distro-Version noble
Licenses []
Hash
#!/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