| Name |
libssh-4 |
| Description |
tiny C SSH library (OpenSSL flavor) |
| Version |
0.10.6-2build2 |
| Package Base |
libssh |
| Homepage |
https://www.libssh.org/ |
| Maintainers |
['Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>'] |
| Contributors |
['Martin Pitt <mpitt@debian.org>', 'Mike Gabriel <sunweaver@debian.org>'] |
| Distro-repo |
https://git.launchpad.net/ubuntu/+source/libssh/tree/?h=ubuntu/noble |
| Sources |
['https://git.launchpad.net/ubuntu/+source/libssh-4/plain/debian/watch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/libssh/plain/debian/patches/../?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/libssh/plain/debian/patches/0001-Fix-regression-in-IPv6-addresses-in-hostname-parsing.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/libssh/plain/debian/patches/0002-tests-Increase-test-coverage-for-IPv6-address-parsin.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/libssh/plain/debian/patches/1003-custom-lib-names.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/libssh/plain/debian/patches/2003-disable-expand_tilde_unix-test.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/libssh/plain/debian/patches/2004-install-static-lib.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/libssh/plain/debian/patches/README?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/libssh/plain/debian/patches/series?h=ubuntu/noble'] |
| Dependencies |
['libc6', 'libgssapi-krb5-2', 'libssl3', 'zlib1g'] |
| Optional-Dependencies |
[] |
| Build-Dependencies |
['cmake', 'debhelper-compat', 'libcmocka-dev <!nocheck>', 'libgcrypt-dev', 'libkrb5-dev | heimdal-dev', 'libssl-dev', 'zlib1g-dev | libz-dev', 'openssh-client <!nocheck>', 'openssh-server <!nocheck>', 'pkg-config', 'python3'] |
| Provides |
[] |
| Builddate |
|
| Architecture |
amd64 |
| Distro-Version |
noble |
| Licenses |
[] |
| Hash |
c0867b203887064777d677e18d4006f9b068a9ff98d361189cb941ab409326dd |
#!/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
export DEB_LDFLAGS_MAINT_APPEND = -Wl,-z,defs -Wl,-O1
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
%:
dh $@
override_dh_clean:
rm -rf debian/tmp-gcrypt
rm -rf debian/home-openssl
rm -rf debian/home-gcrypt
dh_clean
override_dh_auto_clean:
dh_auto_clean -Bbuild-openssl
dh_auto_clean -Bbuild-gcrypt
override_dh_auto_configure:
dh_auto_configure -Bbuild-openssl -- \
$(DEB_CMAKE_EXTRA_FLAGS)
dh_auto_configure -Bbuild-gcrypt -- \
$(DEB_CMAKE_EXTRA_FLAGS) \
-DWITH_GCRYPT=ON \
-DLIBSSH_LIBRARY_NAME=ssh-gcrypt
override_dh_auto_build:
dh_auto_build -Bbuild-openssl
dh_auto_build -Bbuild-gcrypt
# only build documentation if doxygen is installed and the nodoc profile is not set
ifeq ($(filter nodoc,$(DEB_BUILD_PROFILES)),)
ifneq ($(shell which doxygen),)
$(MAKE) -Cbuild-openssl docs
endif
endif
override_dh_auto_install:
dh_auto_install -Bbuild-openssl
dh_auto_install -Bbuild-gcrypt --destdir=debian/tmp-gcrypt
override_dh_auto_test:
mkdir debian/home-openssl
mkdir debian/home-gcrypt
HOME=debian/home-openssl dh_auto_test -Bbuild-openssl --no-parallel
HOME=debian/home-gcrypt dh_auto_test -Bbuild-gcrypt --no-parallel
override_dh_install:
find debian/tmp-gcrypt -name libssh-gcrypt.a -execdir mv '{}' libssh.a \;
find debian/tmp-gcrypt -name libssh-gcrypt.so -execdir mv '{}' libssh.so \;
dh_install -plibssh-gcrypt-4 -plibssh-gcrypt-dev --sourcedir=debian/tmp-gcrypt
dh_install --remaining-packages