diff options
-rw-r--r-- | changelog | 6 | ||||
-rwxr-xr-x | rules | 13 |
2 files changed, 6 insertions, 13 deletions
@@ -74,12 +74,14 @@ pam (0.99.7.1-2) UNRELEASED; urgency=low - kill off references to unused variables - make binary-arch also depend on the install target, and streamline the rules + - fix up the clean target to not ignore errors; thanks to Roger Leigh + - drop the local module_check target in favor of using -Wl,-z,defs + in LDFLAGS to enforce correct linkage of all objects at build time * Drop debian/local/unix_chkpwd.8 in favor of the upstream manpage. * libpam-modules.files: /usr/sbin/pam_tally has moved to /sbin/pam_tally for consistency. - * Fix up the clean target to not ignore errors; thanks to Roger Leigh. - -- Steve Langasek <vorlon@debian.org> Mon, 20 Aug 2007 00:35:35 -0700 + -- Steve Langasek <vorlon@debian.org> Mon, 20 Aug 2007 01:02:17 -0700 pam (0.79-4) unstable; urgency=medium @@ -9,6 +9,7 @@ DH_COMPAT = 3 export DH_COMPAT CFLAGS := -g -D_GNU_SOURCE -D_REENTRANT -fPIC +LDFLAGS := -Wl,-z,defs ifeq (,$(findstring noopt, ${DEB_BUILD_OPTIONS})) CFLAGS += -O2 @@ -98,7 +99,7 @@ binary-indep: install dh_md5sums -i dh_builddeb -i -binary-arch: install module_check +binary-arch: install dh_testdir -a dh_testroot -a @@ -128,15 +129,5 @@ binary-arch: install module_check dh_md5sums -a dh_builddeb -a -module_check: - for module in `ls build-tree/Linux-PAM-*/modules/pam_*/pam_*.so`; \ - do \ - test=`ldd $$module | grep libpam.so.0`; \ - if [ "x$$test" = "x" ]; then \ - echo $$module is not linked to libpam; \ - exit 1; \ - fi; \ - done - binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary patch unpatch install configure |