From 8b8fde00d0df73eb6d9ce4c2d3ff2d66315236b5 Mon Sep 17 00:00:00 2001 From: Rmys Date: Thu, 15 Jun 2023 18:21:33 +0000 Subject: [PATCH] pam-1.5.3 --- .../pam/files/gentoo/pam-1.5.3-termios.patch | 34 +++++++++++++++++++ system/base/pam/pspec.xml | 16 ++++++--- 2 files changed, 45 insertions(+), 5 deletions(-) create mode 100644 system/base/pam/files/gentoo/pam-1.5.3-termios.patch diff --git a/system/base/pam/files/gentoo/pam-1.5.3-termios.patch b/system/base/pam/files/gentoo/pam-1.5.3-termios.patch new file mode 100644 index 00000000..8f7baf76 --- /dev/null +++ b/system/base/pam/files/gentoo/pam-1.5.3-termios.patch @@ -0,0 +1,34 @@ +Replace System V termio.h with POSIX termios.h for musl +Upstream: https://github.com/linux-pam/linux-pam/pull/576 +Bug: https://bugs.gentoo.org/906137 + +From 5658105b04ad4df212baf302898ee2cca99516a6 Mon Sep 17 00:00:00 2001 +From: Violet Purcell +Date: Thu, 11 May 2023 10:27:53 -0400 +Subject: [PATCH] fix build on musl + +--- a/examples/tty_conv.c ++++ b/examples/tty_conv.c +@@ -6,8 +6,9 @@ + #include + #include + #include +-#include ++#include + #include ++#include + + /*************************************** + * @brief echo off/on +@@ -16,7 +17,7 @@ + ***************************************/ + static void echoOff(int fd, int off) + { +- struct termio tty; ++ struct termios tty; + if (ioctl(fd, TCGETA, &tty) < 0) + { + fprintf(stderr, "TCGETA failed: %s\n", strerror(errno)); +-- +2.40.1 + diff --git a/system/base/pam/pspec.xml b/system/base/pam/pspec.xml index c9437ccf..686ff01f 100644 --- a/system/base/pam/pspec.xml +++ b/system/base/pam/pspec.xml @@ -12,7 +12,7 @@ library Pluggable Authentication Modules PAM (Pluggable Authentication Modules) is a system security tool that allows system administrators to set authentication policy without having to recompile programs that handle authentication. - https://github.com/linux-pam/linux-pam/archive/v1.5.2.tar.gz + https://github.com/linux-pam/linux-pam/archive/v1.5.3.tar.gz pisi-pambase.sh + + gentoo/pam-1.5.3-termios.patch + @@ -70,6 +69,13 @@ + + 2023-06-13 + 1.5.3 + Version bump. + Mustafa Cinasal + muscnsl@gmail.com + 2022-12-31 1.5.2