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:
parent
7c7dec2bc1
commit
c5ec6f9ed9
12
pam-1.5.2-pam_console-fix_setgroups_not_defined.patch
Normal file
12
pam-1.5.2-pam_console-fix_setgroups_not_defined.patch
Normal 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"
|
3
pam.spec
3
pam.spec
@ -29,6 +29,7 @@ Source18: https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
|
|||||||
Patch1: pam-1.5.0-redhat-modules.patch
|
Patch1: pam-1.5.0-redhat-modules.patch
|
||||||
Patch2: pam-1.5.0-noflex.patch
|
Patch2: pam-1.5.0-noflex.patch
|
||||||
Patch3: pam-1.3.0-unix-nomsg.patch
|
Patch3: pam-1.3.0-unix-nomsg.patch
|
||||||
|
Patch4: pam-1.5.2-pam_console-fix_setgroups_not_defined.patch
|
||||||
|
|
||||||
%{load:%{SOURCE3}}
|
%{load:%{SOURCE3}}
|
||||||
|
|
||||||
@ -108,6 +109,7 @@ cp %{SOURCE18} .
|
|||||||
%patch1 -p1 -b .redhat-modules
|
%patch1 -p1 -b .redhat-modules
|
||||||
%patch2 -p1 -b .noflex
|
%patch2 -p1 -b .noflex
|
||||||
%patch3 -p1 -b .nomsg
|
%patch3 -p1 -b .nomsg
|
||||||
|
%patch4 -p1 -b .setgroups_not_defined
|
||||||
|
|
||||||
autoreconf -i
|
autoreconf -i
|
||||||
|
|
||||||
@ -389,6 +391,7 @@ exit 0
|
|||||||
- Rebase to release 1.5.2
|
- Rebase to release 1.5.2
|
||||||
Resolves: #2001208
|
Resolves: #2001208
|
||||||
- Add so_ver macro to avoid accidental soname bumps
|
- 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
|
* 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
|
- Add macros file to allow other packages to stop hardcoding directory names
|
||||||
|
Loading…
Reference in New Issue
Block a user