[pam] new upstream release

Tomáš Mráz tmraz at fedoraproject.org
Mon Oct 14 12:52:01 UTC 2013


commit b99d0d52680333c3473f87be8c4a95e819230457
Author: Tomas Mraz <tmraz at fedoraproject.org>
Date:   Mon Oct 14 14:51:50 2013 +0200

    new upstream release
    
    - pam_tty_audit: allow the module to work with old kernels

 pam-1.1.7-tty-audit-init.patch |    2 +-
 pam-1.1.7-unix-build.patch     |   52 ----------------------------------------
 pam.spec                       |   10 ++++---
 sources                        |    2 +-
 4 files changed, 8 insertions(+), 58 deletions(-)
---
diff --git a/pam-1.1.7-tty-audit-init.patch b/pam-1.1.7-tty-audit-init.patch
index 065a650..5ddaebb 100644
--- a/pam-1.1.7-tty-audit-init.patch
+++ b/pam-1.1.7-tty-audit-init.patch
@@ -32,7 +32,7 @@ diff -up Linux-PAM-1.1.7/modules/pam_tty_audit/pam_tty_audit.c.tty-audit-init Li
      }
 +  else if (resdiff > 0)
 +    {
-+      memset((char *)buf + res, 0, resdiff);
++      memset((char *)buf + size - resdiff, 0, resdiff);
 +    }
    return 0;
  }
diff --git a/pam.spec b/pam.spec
index 940c998..ec8f4ff 100644
--- a/pam.spec
+++ b/pam.spec
@@ -2,8 +2,8 @@
 
 Summary: An extensible library which provides authentication for applications
 Name: pam
-Version: 1.1.7
-Release: 3%{?dist}
+Version: 1.1.8
+Release: 1%{?dist}
 # The library is BSD licensed with option to relicense as GPLv2+
 # - this option is redundant as the BSD license allows that anyway.
 # pam_timestamp, pam_loginuid, and pam_console modules are GPLv2+.
@@ -42,7 +42,6 @@ Patch15: pam-1.1.6-full-relro.patch
 # FIPS related - non upstreamable
 Patch20: pam-1.1.5-unix-no-fallback.patch
 # Upstreamed partially
-Patch22: pam-1.1.7-unix-build.patch
 Patch29: pam-1.1.6-pwhistory-helper.patch
 Patch31: pam-1.1.6-use-links.patch
 Patch32: pam-1.1.7-tty-audit-init.patch
@@ -120,7 +119,6 @@ mv pam-redhat-%{pam_redhat_version}/* modules
 %patch13 -p1 -b .limits
 %patch15 -p1 -b .relro
 %patch20 -p1 -b .no-fallback
-%patch22 -p1 -b .build
 %patch29 -p1 -b .pwhhelper
 %patch31 -p1 -b .links
 %patch32 -p1 -b .tty-audit-init
@@ -371,6 +369,10 @@ fi
 %doc doc/adg/*.txt doc/adg/html
 
 %changelog
+* Mon Oct 14 2013 Tomáš Mráz <tmraz at redhat.com> 1.1.8-1
+- new upstream release
+- pam_tty_audit: allow the module to work with old kernels
+
 * Fri Oct  4 2013 Tomáš Mráz <tmraz at redhat.com> 1.1.7-3
 - pam_tty_audit: proper initialization of the tty_audit_status struct
 
diff --git a/sources b/sources
index f081d23..7a742ae 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
 c115640346a987356f6b76ec1d425185  pam-redhat-0.99.10-1.tar.bz2
-9f90888cd22212a6b5af2920f4eaaf1b  Linux-PAM-1.1.7.tar.bz2
+35b6091af95981b1b2cd60d813b5e4ee  Linux-PAM-1.1.8.tar.bz2


More information about the scm-commits mailing list