Name p11-kit-modules
Description p11-glue proxy and trust modules
Version 0.25.5-3
Package Base p11-kit
Homepage https://p11-glue.github.io/p11-glue/p11-kit.html
Maintainers ['Debian GnuTLS Maintainers <pkg-gnutls-maint@lists.alioth.debian.org>']
Contributors ['Andreas Metzler <ametzler@debian.org>,']
Distro-repo https://salsa.debian.org/gnutls-team/p11-kit
Sources ['https://sources.debian.org/data/main/p/p11-kit/0.25.5-3/debian/watch', 'https://sources.debian.org/src/p11-kit/0.25.5-3/debian/patches/36_enable_locale.diff', 'https://sources.debian.org/src/p11-kit/0.25.5-3/debian/patches/series']
Dependencies ['libc6', 'libffi8', 'libp11-kit0', 'libtasn1-6']
Optional-Dependencies []
Build-Dependencies ['debhelper-compat', 'gtk-doc-tools <!nodoc>', 'libbsd-dev [kfreebsd-any hurd-any]', 'libffi-dev', 'libtasn1-6-dev', 'pkgconf', 'python3']
Provides []
Builddate
Architecture amd64
Distro-Version trixie
Licenses []
Hash 9d7c6fd38295115bfbe8ef56bd593a3f50ded285182ab0eeff218d43addb69d8
#!/usr/bin/make -f

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

export DEB_BUILD_MAINT_OPTIONS = hardening=+all optimize=-lto

ifeq ($(filter nodoc,$(DEB_BUILD_PROFILES)),)
	DOC = --enable-doc
endif
override_dh_auto_configure:
	dh_auto_configure --verbose -- \
		--disable-silent-rules \
		--with-trust-paths=/etc/ssl/certs/ca-certificates.crt \
		--with-hash-impl=internal --without-bash-completion $(DOC)

override_dh_makeshlibs:
	# Force keeping symbol file up to date.
	dh_makeshlibs \
		-Xusr/lib/$(DEB_HOST_MULTIARCH)/pkcs11/p11-kit-trust.so -- -c4

override_dh_link:
	rm -rf debian/libp11-kit0-dbg/usr/share/doc/libp11-kit0-dbg \
		debian/p11-kit-modules/usr/share/doc/p11-kit-modules
	dh_link

%:
	dh $@