From c5ec6f9ed96d128930c8a11bb4dc49afa926cf0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Esser?= Date: Mon, 13 Sep 2021 10:57:06 +0200 Subject: [PATCH] Add a patch to fix a missing header include in pam_console MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Björn Esser --- ...1.5.2-pam_console-fix_setgroups_not_defined.patch | 12 ++++++++++++ pam.spec | 3 +++ 2 files changed, 15 insertions(+) create mode 100644 pam-1.5.2-pam_console-fix_setgroups_not_defined.patch 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