From 89812cadd9dfe7ee7a8a1fdc843a914d8ac381b5 Mon Sep 17 00:00:00 2001 From: Tomas Mraz Date: Fri, 5 Feb 2016 17:50:26 +0100 Subject: [PATCH] fix console device name in console.handlers (#1270224) --- pam-1.2.1-console-devname.patch | 9 +++++++++ pam.spec | 7 ++++++- 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 pam-1.2.1-console-devname.patch diff --git a/pam-1.2.1-console-devname.patch b/pam-1.2.1-console-devname.patch new file mode 100644 index 0000000..5e03b40 --- /dev/null +++ b/pam-1.2.1-console-devname.patch @@ -0,0 +1,9 @@ +diff -up Linux-PAM-1.2.1/modules/pam_console/console.handlers.devname Linux-PAM-1.2.1/modules/pam_console/console.handlers +--- Linux-PAM-1.2.1/modules/pam_console/console.handlers.devname 2015-10-16 14:15:48.000000000 +0200 ++++ Linux-PAM-1.2.1/modules/pam_console/console.handlers 2016-02-05 17:47:26.056787517 +0100 +@@ -14,4 +14,4 @@ + # echo lock wait Locking console for user on tty + # touch unlock wait /var/run/console-unlocked + +-console consoledevs tty[0-9][0-9]* vc/[0-9][0-9]* :[0-9]+\.[0-9]+ :[0-9]+ ++console consoledevs /dev/tty[0-9][0-9]* tty[0-9][0-9]* vc/[0-9][0-9]* :[0-9]+\.[0-9]+ :[0-9]+ diff --git a/pam.spec b/pam.spec index d2652df..8d35d0e 100644 --- a/pam.spec +++ b/pam.spec @@ -3,7 +3,7 @@ Summary: An extensible library which provides authentication for applications Name: pam Version: 1.2.1 -Release: 4%{?dist} +Release: 5%{?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,6 +42,7 @@ Patch28: pam-1.1.1-console-errmsg.patch Patch29: pam-1.1.8-pwhistory-helper.patch Patch30: pam-1.2.0-use-links.patch Patch31: pam-1.1.8-audit-user-mgmt.patch +Patch32: pam-1.2.1-console-devname.patch %define _pamlibdir %{_libdir} %define _moduledir %{_libdir}/security @@ -120,6 +121,7 @@ cp %{SOURCE18} . %patch29 -p1 -b .pwhhelper %patch30 -p1 -b .links %patch31 -p1 -b .audit-user-mgmt +%patch32 -p1 -b .devname autoreconf -i %build @@ -369,6 +371,9 @@ fi %doc doc/adg/*.txt doc/adg/html %changelog +* Fri Feb 5 2016 Tomáš Mráz 1.2.1-5 +- fix console device name in console.handlers (#1270224) + * Thu Feb 04 2016 Fedora Release Engineering - 1.2.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild