diff options
author | Steve Langasek <vorlon@debian.org> | 2010-06-07 10:57:06 -0700 |
---|---|---|
committer | Steve Langasek <vorlon@debian.org> | 2019-01-08 21:26:03 -0800 |
commit | 2757399bb70319f2d62294ab01277841ee2cf72f (patch) | |
tree | a78da45d835db58b21ee63d9dfe958b999bfa190 /debian/patches-applied/conditional_module,_conditional_man | |
parent | bf574a76debe2cbc8a3de6b3b826abc026fd42cd (diff) |
debian/patches/conditional_module,_conditional_man: if we don't have the
libraries required for building pam_tty_audit, we shouldn't install the
manpage either. LP: #588547.
Diffstat (limited to 'debian/patches-applied/conditional_module,_conditional_man')
-rw-r--r-- | debian/patches-applied/conditional_module,_conditional_man | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/debian/patches-applied/conditional_module,_conditional_man b/debian/patches-applied/conditional_module,_conditional_man new file mode 100644 index 00000000..607aa144 --- /dev/null +++ b/debian/patches-applied/conditional_module,_conditional_man @@ -0,0 +1,24 @@ +Description: don't install manpage for pam_tty_audit if the module isn't built + If we don't have the libraries required for building pam_tty_audit, we + shouldn't install the manpage either. +Author: Steve Langasek <steve.langasek@canonical.com> +Bug-Ubuntu: https://bugs.launchpad.net/bugs/588547 + +Index: pam.deb/modules/pam_tty_audit/Makefile.am +=================================================================== +--- pam.deb.orig/modules/pam_tty_audit/Makefile.am ++++ pam.deb/modules/pam_tty_audit/Makefile.am +@@ -5,9 +5,11 @@ + CLEANFILES = *~ + MAINTAINERCLEANFILES = $(MANS) README + +-EXTRA_DIST = README $(MANS) $(XMLS) ++EXTRA_DIST = README pam_tty_audit.8 $(XMLS) + +-man_MANS = pam_tty_audit.8 ++if HAVE_AUDIT_TTY_STATUS ++ man_MANS = pam_tty_audit.8 ++endif + XMLS = README.xml pam_tty_audit.8.xml + + securelibdir = $(SECUREDIR) |