Name libkeyutils1
Description Linux Key Management Utilities (library)
Version 1.6.3-3build1
Package Base keyutils
Homepage https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/keyutils.git
Maintainers ['Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>']
Contributors []
Distro-repo https://git.launchpad.net/ubuntu/+source/keyutils/tree/?h=ubuntu/noble
Sources ['https://git.launchpad.net/ubuntu/+source/keyutils/plain/debian/patches/../?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/keyutils/plain/debian/patches/Debian-specific-kernel-feature-tests.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/keyutils/plain/debian/patches/Make-build-reproducible.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/keyutils/plain/debian/patches/Mark-test-requiring-root-as-such.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/keyutils/plain/debian/patches/Tests-for-KEYCTL_MOVE-require-kernel-5.3-or-above.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/keyutils/plain/debian/patches/cflags.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/keyutils/plain/debian/patches/hardening.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/keyutils/plain/debian/patches/man-page-fixes.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/keyutils/plain/debian/patches/pkg-config-install-tweaks.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/keyutils/plain/debian/patches/series?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/libkeyutils1/plain/debian/watch?h=ubuntu/noble']
Dependencies ['libc6']
Optional-Dependencies []
Build-Dependencies ['debhelper-compat', 'lsb-release']
Provides []
Builddate
Architecture amd64
Distro-Version noble
Licenses []
Hash 0679f198b0128179e46cdf956fb2022c23c758664c00bc8efa0382d509683a8a
#!/usr/bin/make -f


export DEB_BUILD_MAINT_OPTIONS = hardening=+all

# DEB_HOST_*, DEB_BUILD* and $SOURCE_DATE_EPOCH are provided by debhelper
CHANGEDATE = $(shell date -u -d @$(SOURCE_DATE_EPOCH) +%F)

%:
	dh $@

override_dh_auto_build:
ifneq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE))
	dh_auto_build -- BUILDDATE=$(CHANGEDATE) CC=$(DEB_HOST_GNU_TYPE)-gcc AR=$(DEB_HOST_GNU_TYPE)-ar
else
	dh_auto_build -- BUILDDATE=$(CHANGEDATE)
endif

override_dh_auto_install:
	dh_auto_install -- BINDIR=/usr/bin LIBDIR=/usr/lib/$(DEB_HOST_MULTIARCH) USRLIBDIR=/usr/lib/$(DEB_HOST_MULTIARCH) SBINDIR=/usr/sbin

override_dh_auto_test:
	# Use  the library and executable we just built;
	# skip tests requiring root
	dh_auto_test -- \
		PATH=$(CURDIR):$(PATH) \
		LD_LIBRARY_PATH=$(CURDIR) \
		SKIPROOTREQ=yes \
		SKIPINSTALLREQ=yes