aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog3
-rwxr-xr-xdebian/rules2
2 files changed, 4 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index 0edc3f2d..a94ca710 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -12,6 +12,9 @@ pam (1.0.1-4) UNRELEASED; urgency=low
_unix_blankpasswd when we can detect that null passwords are disallowed,
to avoid causing spammy logs on successful authentications.
Closes: #496620.
+ * debian/rules: call chgrp *before* calling chmod, lest the sgid bit
+ on unix_chkpwd be cleared during the build when using -rsudo.
+ Closes: #496983.
-- Julien Cristau <jcristau@debian.org> Thu, 21 Aug 2008 00:03:56 +0200
diff --git a/debian/rules b/debian/rules
index dade1a29..edac90c2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -135,8 +135,8 @@ binary-arch: install
dh_strip -a
dh_compress -a
dh_fixperms -a
- chmod 02755 $(d)/libpam-modules/sbin/unix_chkpwd
chgrp shadow $(d)/libpam-modules/sbin/unix_chkpwd
+ chmod 02755 $(d)/libpam-modules/sbin/unix_chkpwd
dh_makeshlibs -plibpam0g -V "libpam0g (>= 0.99.10.0)"
dh_installdeb -a
dh_shlibdeps -a -L libpam0g -l$(CURDIR)/debian/libpam0g/lib