- do not build some auxiliary tools that are not installed that require

flex-static to build
This commit is contained in:
Tomas Mraz 2010-09-20 12:16:26 +02:00
parent b1302cff9c
commit acc35880d3
2 changed files with 32 additions and 1 deletions

27
pam-1.1.2-noflex.patch Normal file
View File

@ -0,0 +1,27 @@
diff -up Linux-PAM-1.1.2/doc/Makefile.am.noflex Linux-PAM-1.1.2/doc/Makefile.am
--- Linux-PAM-1.1.2/doc/Makefile.am.noflex 2008-02-04 16:05:51.000000000 +0100
+++ Linux-PAM-1.1.2/doc/Makefile.am 2010-09-20 10:40:59.000000000 +0200
@@ -2,7 +2,7 @@
# Copyright (c) 2005, 2006 Thorsten Kukuk <kukuk@suse.de>
#
-SUBDIRS = man specs sag adg mwg
+SUBDIRS = man sag adg mwg
CLEANFILES = *~
diff -up Linux-PAM-1.1.2/Makefile.am.noflex Linux-PAM-1.1.2/Makefile.am
--- Linux-PAM-1.1.2/Makefile.am.noflex 2010-07-08 14:04:19.000000000 +0200
+++ Linux-PAM-1.1.2/Makefile.am 2010-09-20 10:04:56.000000000 +0200
@@ -5,9 +5,9 @@
AUTOMAKE_OPTIONS = 1.9 gnu dist-bzip2 check-news
if STATIC_MODULES
-SUBDIRS = modules libpam libpamc libpam_misc tests po conf doc examples xtests
+SUBDIRS = modules libpam libpamc libpam_misc tests po doc examples xtests
else
-SUBDIRS = libpam tests libpamc libpam_misc modules po conf doc examples xtests
+SUBDIRS = libpam tests libpamc libpam_misc modules po doc examples xtests
endif
CLEANFILES = *~

View File

@ -27,6 +27,7 @@ Patch4: pam-1.1.0-console-nochmod.patch
Patch5: pam-1.1.0-notally.patch
Patch7: pam-1.1.0-console-fixes.patch
Patch8: pam-1.1.1-faillock.patch
Patch9: pam-1.1.2-noflex.patch
%define _sbindir /sbin
%define _moduledir /%{_lib}/security
@ -93,6 +94,7 @@ mv pam-redhat-%{pam_redhat_version}/* modules
%patch5 -p1 -b .notally
%patch7 -p1 -b .console-fixes
%patch8 -p1 -b .faillock
%patch9 -p1 -b .noflex
libtoolize -f
autoreconf
@ -337,9 +339,11 @@ fi
%doc doc/adg/*.txt doc/adg/html
%changelog
* Fri Sep 17 2010 Tomas Mraz <tmraz@redhat.com> 1.1.2-1
* Mon Sep 20 2010 Tomas Mraz <tmraz@redhat.com> 1.1.2-1
- add pam_faillock module implementing temporary account lock out based
on authentication failures during a specified interval
- do not build some auxiliary tools that are not installed that require
flex-static to build
- upgrade to new upstream release
* Thu Jul 15 2010 Tomas Mraz <tmraz@redhat.com> 1.1.1-5