Name keyutils
Description Linux Key Management Utilities
Version 1.6.3-6
Package Base
Homepage https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/keyutils.git
Maintainers ['Christian Kastner <ckk@debian.org>']
Contributors []
Distro-repo https://salsa.debian.org/debian/keyutils
Sources ['https://sources.debian.org/data/main/k/keyutils/1.6.3-6/debian/watch', 'https://sources.debian.org/src/keyutils/1.6.3-6/debian/patches/Debian-specific-kernel-feature-tests.patch', 'https://sources.debian.org/src/keyutils/1.6.3-6/debian/patches/Ensure-maxsquota-is-set-correctly.patch', 'https://sources.debian.org/src/keyutils/1.6.3-6/debian/patches/Fix-format-specifier-for-pointer-subtraction.patch', 'https://sources.debian.org/src/keyutils/1.6.3-6/debian/patches/Make-build-reproducible.patch', 'https://sources.debian.org/src/keyutils/1.6.3-6/debian/patches/Mark-test-requiring-root-as-such.patch', 'https://sources.debian.org/src/keyutils/1.6.3-6/debian/patches/Tests-for-KEYCTL_MOVE-require-kernel-5.3-or-above.patch', 'https://sources.debian.org/src/keyutils/1.6.3-6/debian/patches/cflags.patch', 'https://sources.debian.org/src/keyutils/1.6.3-6/debian/patches/hardening.patch', 'https://sources.debian.org/src/keyutils/1.6.3-6/debian/patches/man-fix-a-formatting-on-the-keyctl.1-man-page.patch', 'https://sources.debian.org/src/keyutils/1.6.3-6/debian/patches/man-page-fixes.patch', 'https://sources.debian.org/src/keyutils/1.6.3-6/debian/patches/pkg-config-install-tweaks.patch', 'https://sources.debian.org/src/keyutils/1.6.3-6/debian/patches/series', 'https://sources.debian.org/src/keyutils/1.6.3-6/debian/patches/test-Don-t-rely-on-PAGE_SIZE-for-maxdesc-length.patch', 'https://sources.debian.org/src/keyutils/1.6.3-6/debian/patches/test-Fix-test-expectation-based-on-kernel-config.patch']
Dependencies ['libc6', 'libkeyutils1']
Optional-Dependencies []
Build-Dependencies ['debhelper-compat', 'lsb-release']
Provides []
Builddate
Architecture amd64
Distro-Version trixie
Licenses []
Hash 1ea627932e5ea824b208b8426a918dec7fbf3073a369d19e82e994fbc5f9f151
#!/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