Add a patch to fix a missing header include in pam_console

Signed-off-by: Björn Esser <besser82@fedoraproject.org>
This commit is contained in:
Björn Esser 2021-09-13 10:57:06 +02:00
parent 7c7dec2bc1
commit c5ec6f9ed9
No known key found for this signature in database
GPG Key ID: F52E98007594C21D
2 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,12 @@
Index: Linux-PAM-1.5.2/modules/pam_console/handlers.c
===================================================================
--- Linux-PAM-1.5.2.orig/modules/pam_console/handlers.c
+++ Linux-PAM-1.5.2/modules/pam_console/handlers.c
@@ -28,6 +28,7 @@
#include <sys/types.h>
#include <pwd.h>
#include <syslog.h>
+#include <grp.h>
#include "handlers.h"
#include "pam_console.h"

View File

@ -29,6 +29,7 @@ Source18: https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
Patch1: pam-1.5.0-redhat-modules.patch
Patch2: pam-1.5.0-noflex.patch
Patch3: pam-1.3.0-unix-nomsg.patch
Patch4: pam-1.5.2-pam_console-fix_setgroups_not_defined.patch
%{load:%{SOURCE3}}
@ -108,6 +109,7 @@ cp %{SOURCE18} .
%patch1 -p1 -b .redhat-modules
%patch2 -p1 -b .noflex
%patch3 -p1 -b .nomsg
%patch4 -p1 -b .setgroups_not_defined
autoreconf -i
@ -389,6 +391,7 @@ exit 0
- Rebase to release 1.5.2
Resolves: #2001208
- Add so_ver macro to avoid accidental soname bumps
- Add a patch to fix a missing header include in pam_console
* Thu Jul 22 2021 Iker Pedrosa <ipedrosa@redhat.com> - 1.5.1-9
- Add macros file to allow other packages to stop hardcoding directory names