| Name |
libpam-runtime |
| Description |
Runtime support for the PAM library |
| Version |
1.7.0-5 |
| Package Base |
pam |
| Homepage |
http://www.linux-pam.org/ |
| Maintainers |
['Sam Hartman <hartmans@debian.org>'] |
| Contributors |
[] |
| Distro-repo |
https://salsa.debian.org/vorlon/pam |
| Sources |
['https://sources.debian.org/data/main/p/pam/1.7.0-5/debian/watch', 'https://sources.debian.org/src/pam/1.7.0-5/debian/patches/0001-pam_access-fix-group-name-match-regression.patch', 'https://sources.debian.org/src/pam/1.7.0-5/debian/patches/0003-pam_unix-obscure-checks.patch', 'https://sources.debian.org/src/pam/1.7.0-5/debian/patches/0018-Libpam-is-both-shared-and-static.patch', 'https://sources.debian.org/src/pam/1.7.0-5/debian/patches/0023-Reapply-man-page-section-changes-after-importing-1.7.patch', 'https://sources.debian.org/src/pam/1.7.0-5/debian/patches/008_modules_pam_limits_chroot', 'https://sources.debian.org/src/pam/1.7.0-5/debian/patches/022_pam_unix_group_time_miscfixes', 'https://sources.debian.org/src/pam/1.7.0-5/debian/patches/031_pam_include', 'https://sources.debian.org/src/pam/1.7.0-5/debian/patches/032_pam_limits_EPERM_NOT_FATAL', 'https://sources.debian.org/src/pam/1.7.0-5/debian/patches/036_pam_wheel_getlogin_considered_harmful', 'https://sources.debian.org/src/pam/1.7.0-5/debian/patches/040_pam_limits_log_failure', 'https://sources.debian.org/src/pam/1.7.0-5/debian/patches/045_pam_dispatch_jump_is_ignore', 'https://sources.debian.org/src/pam/1.7.0-5/debian/patches/PAM-manpage-section', 'https://sources.debian.org/src/pam/1.7.0-5/debian/patches/hurd_no_setfsuid', 'https://sources.debian.org/src/pam/1.7.0-5/debian/patches/lib_security_multiarch_compat', 'https://sources.debian.org/src/pam/1.7.0-5/debian/patches/make_documentation_reproducible.patch', 'https://sources.debian.org/src/pam/1.7.0-5/debian/patches/nullok_secure-compat.patch', 'https://sources.debian.org/src/pam/1.7.0-5/debian/patches/pam-limits-nofile-fd-setsize-cap', 'https://sources.debian.org/src/pam/1.7.0-5/debian/patches/pam_limits_explicit_root', 'https://sources.debian.org/src/pam/1.7.0-5/debian/patches/pam_limits_fallback_defaults', 'https://sources.debian.org/src/pam/1.7.0-5/debian/patches/pam_mkhomedir_stat_before_opendir', 'https://sources.debian.org/src/pam/1.7.0-5/debian/patches/series', 'https://sources.debian.org/src/pam/1.7.0-5/debian/patches/update-motd', 'https://sources.debian.org/src/pam/1.7.0-5/debian/patches/upstream'] |
| Dependencies |
['debconf', 'libpam-modules'] |
| Optional-Dependencies |
[] |
| Build-Dependencies |
['debhelper-compat', 'dh-exec', 'flex', 'libcrypt-dev', 'libdb-dev', 'libselinux1-dev [linux-any]', 'libsystemd-dev [linux-any] <!stage1>', 'po-debconf', 'meson', 'libaudit-dev [linux-any] <!stage1>', 'pkgconf', 'libfl-dev', 'libfl-dev'] |
| Provides |
[] |
| Builddate |
|
| Architecture |
amd64 |
| Distro-Version |
trixie |
| Licenses |
[] |
| Hash |
b02792c9ed6174db695a653b95ef3629fdac3a73ba1eff1754ab161b5711bfbf |
#!/usr/bin/make -f
DEB_LDFLAGS_MAINT_APPEND := -Wl,-z,defs
DEB_CFLAGS_MAINT_APPEND := $(shell getconf LFS_CFLAGS)
DEB_BUILD_MAINT_OPTIONS := hardening=+bindnow
export DEB_LDFLAGS_MAINT_APPEND DEB_CFLAGS_MAINT_APPEND DEB_BUILD_MAINT_OPTIONS
ifeq ($(shell dpkg-architecture -qDEB_BUILD_ARCH_OS),hurd)
DEB_LDFLAGS_MAINT_APPEND += -lpthread
endif
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
LC_COLLATE=C
export LC_COLLATE
d = $(CURDIR)/debian
dl = $(d)/local
%:
dh $@
# avoid libaudit-dev and libsystemd-dev when bootstrapping
ifneq (,$(filter stage1,$(DEB_BUILD_PROFILES)))
meson_OPTS += -Daudit=disabled -Dlogind=disabled
endif
packages := $(shell dh_listpackages)
ifneq (,$(filter libpam-doc libpam-runtime,$(packages)))
meson_OPTS += -Ddocs=enabled
endif
override_dh_auto_configure:
# Explicitly set libdir, sbindir to avoid upstream's override logic.
dh_auto_configure -- \
--default-library=both \
--libdir=/usr/lib/$(DEB_HOST_MULTIARCH) \
--sbindir=/usr/sbin \
-Disadir=/usr/lib/security \
-Dsystemdunitdir=/usr/lib/systemd/system \
-Dnis=disabled \
-Dusergroups=true \
$(meson_OPTS)
# .install files don't have "except for" handling, so we need to exclude
# our module that doesn't match right here
override_dh_install:
dh_install
# Make sure the md5sums for the templates we ship are
# recognized by pam-auth-update.
for f in common-auth common-session common-session-noninteractive common-account common-password; do \
if grep -q $$(perl debian/template-md5sum debian/local/$$f ) debian/local/pam-auth-update; then \
echo $$f okay; \
else \
echo md5sum for $$f not registered in debian/local/pam-auth-update; \
echo use debian/template-md5sum to compute; \
exit 2; \
fi; \
done
# again, excluding files by hand; also, build our local manpage for pam_getenv
# from the XML
override_dh_installman:
pod2man --section 8 --release="Debian GNU/Linux" $(dl)/pam_getenv >$(dl)/pam_getenv.8
dh_installman
rm -f $(d)/libpam-modules/usr/share/man/man5/pam.conf.5
rm -f $(d)/libpam-modules/usr/share/man/man8/pam_timestamp_check.8
rm -f $(d)/libpam-modules/usr/share/man/man8/pam_namespace_helper.8
# using perms that differ from upstream (sgid instead of suid) /and/ that
# dh_fixperms doesn't want
override_dh_fixperms:
dh_fixperms
ifneq (,$(findstring libpam-modules, $(shell dh_listpackages)))
chgrp shadow $(d)/libpam-modules-bin/usr/sbin/unix_chkpwd
chmod 02755 $(d)/libpam-modules-bin/usr/sbin/unix_chkpwd
endif
override_dh_installchangelogs:
dh_installchangelogs NEWS