diff --git a/pam-1.5.2-pam_console-fix_setgroups_not_defined.patch b/pam-1.5.2-pam_console-fix_setgroups_not_defined.patch new file mode 100644 index 0000000..5655a54 --- /dev/null +++ b/pam-1.5.2-pam_console-fix_setgroups_not_defined.patch @@ -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 + #include + #include ++#include + + #include "handlers.h" + #include "pam_console.h" diff --git a/pam.spec b/pam.spec index 9db0a90..4921628 100644 --- a/pam.spec +++ b/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 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 - 1.5.1-9 - Add macros file to allow other packages to stop hardcoding directory names