diff options
author | Steve Langasek <vorlon@debian.org> | 2010-07-29 20:16:39 -0700 |
---|---|---|
committer | Steve Langasek <vorlon@debian.org> | 2019-01-08 21:32:38 -0800 |
commit | 655c7a8843261079fecf0b6e15de77972a0eb708 (patch) | |
tree | 167aeb717538bdc9f685a652009038d586530779 /debian/rules | |
parent | 6ce511785e4b9751ef184236c2cf8f63bc25f512 (diff) | |
parent | 8645d4f5131d25692dfd78d3e1c46b03f33febf3 (diff) | |
download | pam-655c7a8843261079fecf0b6e15de77972a0eb708.tar.gz pam-655c7a8843261079fecf0b6e15de77972a0eb708.tar.bz2 pam-655c7a8843261079fecf0b6e15de77972a0eb708.zip |
merge from trunk
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/debian/rules b/debian/rules index c70cbc42..7f4ed318 100755 --- a/debian/rules +++ b/debian/rules @@ -35,7 +35,9 @@ override_dh_compress: # .install files don't have "except for" handling, so we need to exclude # our module that doesn't match right here override_dh_install: +ifneq (,$(findstring libpam-modules, $(shell dh_listpackages))) dh_install -plibpam-modules -Xpam_cracklib +endif dh_install -Nlibpam-modules # again, excluding files by hand; also, build our local manpage for pam_getenv @@ -56,13 +58,7 @@ override_dh_link: # dh_fixperms doesn't want override_dh_fixperms: dh_fixperms -ifeq (,$(findstring -i, $(DH_INTERNAL_OPTIONS))) +ifneq (,$(findstring libpam-modules, $(shell dh_listpackages))) chgrp shadow $(d)/libpam-modules-bin/sbin/unix_chkpwd chmod 02755 $(d)/libpam-modules-bin/sbin/unix_chkpwd endif - -# ideally, dh_makeshlibs could compute this from the symbols file; or we -# could drop it since anyone building against this package should have a -# dpkg-shlibdeps available that knows about symbols files? -override_dh_makeshlibs: - dh_makeshlibs -V "libpam0g (>= 1.1.0)" |