Name wtmpdb
Description utility to display login/logout/reboot information
Version 0.73.0-3+deb13u1
Package Base
Homepage https://github.com/thkukuk/wtmpdb/
Maintainers ['Andrew Bower <andrew@bower.uk>']
Contributors []
Distro-repo https://salsa.debian.org/debian/wtmpdb
Sources ['https://sources.debian.org/data/main/w/wtmpdb/0.73.0-3+deb13u1/debian/watch', 'https://sources.debian.org/src/wtmpdb/0.73.0-3+deb13u1/debian/patches/avoid-noise-if-systemd-not-running.patch', 'https://sources.debian.org/src/wtmpdb/0.73.0-3+deb13u1/debian/patches/db-in-var-log.patch', 'https://sources.debian.org/src/wtmpdb/0.73.0-3+deb13u1/debian/patches/handle-empty-file-reading.patch', 'https://sources.debian.org/src/wtmpdb/0.73.0-3+deb13u1/debian/patches/import-match-login-by-tty-if-non-zero-pid-does-not-match.patch', 'https://sources.debian.org/src/wtmpdb/0.73.0-3+deb13u1/debian/patches/refine-man-page-for-Debian.patch', 'https://sources.debian.org/src/wtmpdb/0.73.0-3+deb13u1/debian/patches/series']
Dependencies ['libaudit1', 'libc6', 'libsystemd0', 'libwtmpdb0']
Optional-Dependencies ['libpam-wtmpdb', 'logrotate']
Build-Dependencies ['debhelper-compat', 'dh-package-notes', 'dh-sequence-zz-debputy-rrr', 'docbook-xml', 'docbook-xsl', 'docbook-xsl-ns', 'libaudit-dev [linux-any]', 'libpam0g-dev', 'libsqlite3-dev', 'libsystemd-dev [linux-any]', 'meson', 'pkgconf', 'systemd-dev [linux-any]', 'xsltproc']
Provides []
Builddate
Architecture amd64
Distro-Version trixie
Licenses []
Hash af96a94ecb02f7595efcf5720588e42ff5bbd3fcd89e8b2f2f5d04f8f77ccdae
#!/usr/bin/make -f

include /usr/share/dpkg/architecture.mk
include /usr/share/dpkg/pkg-info.mk
include /usr/share/debhelper/dh_package_notes/package-notes.mk

CONFOPTS=-Dsplit-usr=false -Dwtmpdbd=disabled

export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- $(CONFOPTS)

# Notes:
#  1. Do not add a boot entry on installation because most likely we are
#     either not running in the target system or we have migrated the wtmp
#     boot entry and in all cases we did not just boot up.
#  2. Do not install the rotation service because log rotation is handled
#     by logrotate(8) and the competing (half) solution would be especially
#     harmful if boith methods were enabled by misconfiguration.
override_dh_installsystemd:
	dh_installsystemd -pwtmpdb --no-start --no-stop-on-upgrade wtmpdb-update-boot.service
	dh_installsystemd -Nwtmpdb

override_dh_installinit:
	dh_installinit --name=wtmpdb-update-boot --no-start --no-stop-on-upgrade

override_dh_installlogrotate:
	dh_installlogrotate --name=wtmpdb