aboutsummaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorSteve Langasek <steve.langasek@canonical.com>2022-08-18 02:56:17 +0000
committerSteve Langasek <steve.langasek@canonical.com>2022-08-18 02:56:17 +0000
commit1b314705680a1660386678273571cf306b09ead9 (patch)
treeac58ee126cbac356bf70e3562f10e6f718c549c2 /debian/rules
parent6b25469cd26d79e424e1e58aa0a4e3bfa9855982 (diff)
downloadpam-1b314705680a1660386678273571cf306b09ead9.tar.gz
pam-1b314705680a1660386678273571cf306b09ead9.tar.bz2
pam-1b314705680a1660386678273571cf306b09ead9.zip
Drop libpam-cracklib which has been obsoleted upstream.
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules7
1 files changed, 1 insertions, 6 deletions
diff --git a/debian/rules b/debian/rules
index aab52a3a..73b3ffea 100755
--- a/debian/rules
+++ b/debian/rules
@@ -30,7 +30,6 @@ override_dh_auto_configure:
dh_auto_configure -- --enable-static --enable-shared \
--libdir=/lib/$(DEB_HOST_MULTIARCH) \
--enable-isadir=/lib/security \
- --enable-cracklib \
--disable-nis \
$(CONFIGURE_OPTS)
@@ -38,10 +37,7 @@ override_dh_auto_configure:
# our module that doesn't match right here
override_dh_install:
sed -e"s/@DEB_HOST_MULTIARCH@/$(DEB_HOST_MULTIARCH)/g" $(d)/libpam0g-dev.install.in > $(d)/libpam0g-dev.install
-ifneq (,$(findstring libpam-modules, $(shell dh_listpackages)))
- dh_install -plibpam-modules -Xpam_cracklib
-endif
- dh_install -Nlibpam-modules
+ 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 \
@@ -62,7 +58,6 @@ 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_cracklib.8
rm -f $(d)/libpam-modules/usr/share/man/man8/pam_timestamp_check.8
# dh_link doesn't do wildcards, so we can't auto-link to the right per-arch