diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2025-04-12 06:28:52 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2025-04-12 06:32:36 +0200 |
commit | 1024833342be78c95346fcdeaab6bdd0d2b24e90 (patch) | |
tree | c65dc40b403dec125fa5d77d2a017864394b80c5 /package/pam/patches | |
parent | 2684a75147eb38ec1edd17fd2139d3f1357c9699 (diff) |
pam: update to 1.7.0
Diffstat (limited to 'package/pam/patches')
-rw-r--r-- | package/pam/patches/patch-Makefile_am | 11 | ||||
-rw-r--r-- | package/pam/patches/patch-configure_in | 34 | ||||
-rw-r--r-- | package/pam/patches/patch-modules_Makefile_am | 11 | ||||
-rw-r--r-- | package/pam/patches/patch-modules_pam_group_pam_group_c | 17 | ||||
-rw-r--r-- | package/pam/patches/patch-modules_pam_lastlog_pam_lastlog_c | 21 | ||||
-rw-r--r-- | package/pam/patches/patch-modules_pam_succeed_if_pam_succeed_if_c | 23 | ||||
-rw-r--r-- | package/pam/patches/patch-modules_pam_time_pam_time_c | 14 |
7 files changed, 0 insertions, 131 deletions
diff --git a/package/pam/patches/patch-Makefile_am b/package/pam/patches/patch-Makefile_am deleted file mode 100644 index d43150124..000000000 --- a/package/pam/patches/patch-Makefile_am +++ /dev/null @@ -1,11 +0,0 @@ ---- Linux-PAM-1.1.8.orig/Makefile.am 2013-06-18 16:11:21.000000000 +0200 -+++ Linux-PAM-1.1.8/Makefile.am 2014-05-27 07:49:28.180418627 +0200 -@@ -4,7 +4,7 @@ - - AUTOMAKE_OPTIONS = 1.9 gnu dist-bzip2 check-news - --SUBDIRS = libpam tests libpamc libpam_misc modules po conf doc examples xtests -+SUBDIRS = libpam libpamc libpam_misc modules conf - - CLEANFILES = *~ - diff --git a/package/pam/patches/patch-configure_in b/package/pam/patches/patch-configure_in deleted file mode 100644 index 9f3b68ca2..000000000 --- a/package/pam/patches/patch-configure_in +++ /dev/null @@ -1,34 +0,0 @@ ---- Linux-PAM-1.1.8.orig/configure.in 2013-09-18 14:30:13.000000000 +0200 -+++ Linux-PAM-1.1.8/configure.in 2014-05-27 07:50:43.868499284 +0200 -@@ -28,12 +28,7 @@ dnl If we use /usr as prefix, use /etc f - fi - if test ${libdir} = '${exec_prefix}/lib' - then -- case "`uname -m`" in -- x86_64|ppc64|s390x|sparc64) -- libdir="/lib64" ;; -- *) -- libdir="/lib" ;; -- esac -+ libdir="/lib" - fi - if test ${sbindir} = '${exec_prefix}/sbin' - then -@@ -404,7 +399,7 @@ AS_IF([test "x$ac_cv_header_xcrypt_h" = - [crypt_libs="crypt"]) - - BACKUP_LIBS=$LIBS --AC_SEARCH_LIBS([crypt],[$crypt_libs], LIBCRYPT="-l$ac_lib", LIBCRYPT="") -+AC_SEARCH_LIBS([crypt],[$crypt_libs], LIBCRYPT="-lcrypt", LIBCRYPT="") - AC_CHECK_FUNCS(crypt_r crypt_gensalt_r) - LIBS=$BACKUP_LIBS - AC_SUBST(LIBCRYPT) -@@ -565,8 +560,6 @@ AM_CONDITIONAL(ENABLE_REGENERATE_MAN, te - AM_CONDITIONAL(ENABLE_GENERATE_PDF, test ! -z "$FO2PDF") - - --AM_GNU_GETTEXT_VERSION([0.15]) --AM_GNU_GETTEXT([external]) - AC_CHECK_FUNCS(dngettext) - - AH_BOTTOM([#ifdef ENABLE_NLS diff --git a/package/pam/patches/patch-modules_Makefile_am b/package/pam/patches/patch-modules_Makefile_am deleted file mode 100644 index b70eaef1b..000000000 --- a/package/pam/patches/patch-modules_Makefile_am +++ /dev/null @@ -1,11 +0,0 @@ ---- Linux-PAM-1.1.8.orig/modules/Makefile.am 2013-06-18 16:11:21.000000000 +0200 -+++ Linux-PAM-1.1.8/modules/Makefile.am 2014-05-25 20:13:15.415984289 +0200 -@@ -7,7 +7,7 @@ SUBDIRS = pam_access pam_cracklib pam_de - pam_group pam_issue pam_keyinit pam_lastlog pam_limits \ - pam_listfile pam_localuser pam_loginuid pam_mail \ - pam_mkhomedir pam_motd pam_namespace pam_nologin \ -- pam_permit pam_pwhistory pam_rhosts pam_rootok pam_securetty \ -+ pam_permit pam_pwhistory pam_rootok pam_securetty \ - pam_selinux pam_sepermit pam_shells pam_stress \ - pam_succeed_if pam_tally pam_tally2 pam_time pam_timestamp \ - pam_tty_audit pam_umask \ diff --git a/package/pam/patches/patch-modules_pam_group_pam_group_c b/package/pam/patches/patch-modules_pam_group_pam_group_c deleted file mode 100644 index bbf25bcfd..000000000 --- a/package/pam/patches/patch-modules_pam_group_pam_group_c +++ /dev/null @@ -1,17 +0,0 @@ ---- Linux-PAM-1.1.8.orig/modules/pam_group/pam_group.c 2013-06-18 16:11:21.000000000 +0200 -+++ Linux-PAM-1.1.8/modules/pam_group/pam_group.c 2013-12-21 18:30:19.000000000 +0100 -@@ -655,10 +655,13 @@ static int check_account(pam_handle_t *p - continue; - } - /* If buffer starts with @, we are using netgroups */ -+#ifdef HAVE_INNETGR - if (buffer[0] == '@') - good &= innetgr (&buffer[1], NULL, user, NULL); - /* otherwise, if the buffer starts with %, it's a UNIX group */ -- else if (buffer[0] == '%') -+ else -+#endif -+ if (buffer[0] == '%') - good &= pam_modutil_user_in_group_nam_nam(pamh, user, &buffer[1]); - else - good &= logic_field(pamh,user, buffer, count, is_same); diff --git a/package/pam/patches/patch-modules_pam_lastlog_pam_lastlog_c b/package/pam/patches/patch-modules_pam_lastlog_pam_lastlog_c deleted file mode 100644 index b20bd413d..000000000 --- a/package/pam/patches/patch-modules_pam_lastlog_pam_lastlog_c +++ /dev/null @@ -1,21 +0,0 @@ ---- Linux-PAM-1.1.8.orig/modules/pam_lastlog/pam_lastlog.c 2013-06-18 16:11:21.000000000 +0200 -+++ Linux-PAM-1.1.8/modules/pam_lastlog/pam_lastlog.c 2013-12-21 18:34:07.000000000 +0100 -@@ -10,6 +10,7 @@ - - #include "config.h" - -+#include <paths.h> - #include <fcntl.h> - #include <time.h> - #include <errno.h> -@@ -50,6 +51,10 @@ struct lastlog { - # define _PATH_BTMP "/var/log/btmp" - #endif - -+#ifndef __GLIBC__ -+#define logwtmp(args...) -+#endif -+ - /* XXX - time before ignoring lock. Is 1 sec enough? */ - #define LASTLOG_IGNORE_LOCK_TIME 1 - diff --git a/package/pam/patches/patch-modules_pam_succeed_if_pam_succeed_if_c b/package/pam/patches/patch-modules_pam_succeed_if_pam_succeed_if_c deleted file mode 100644 index 2d51fab3f..000000000 --- a/package/pam/patches/patch-modules_pam_succeed_if_pam_succeed_if_c +++ /dev/null @@ -1,23 +0,0 @@ ---- Linux-PAM-1.1.8.orig/modules/pam_succeed_if/pam_succeed_if.c 2013-06-18 16:11:21.000000000 +0200 -+++ Linux-PAM-1.1.8/modules/pam_succeed_if/pam_succeed_if.c 2014-05-24 10:49:28.000000000 +0200 -@@ -233,16 +233,20 @@ evaluate_notingroup(pam_handle_t *pamh, - static int - evaluate_innetgr(const char *host, const char *user, const char *group) - { -+#ifdef HAVE_INNETGR - if (innetgr(group, host, user, NULL) == 1) - return PAM_SUCCESS; -+#endif - return PAM_AUTH_ERR; - } - /* Return PAM_SUCCESS if the (host,user) is NOT in the netgroup. */ - static int - evaluate_notinnetgr(const char *host, const char *user, const char *group) - { -+#ifdef HAVE_INNETGR - if (innetgr(group, host, user, NULL) == 0) - return PAM_SUCCESS; -+#endif - return PAM_AUTH_ERR; - } - diff --git a/package/pam/patches/patch-modules_pam_time_pam_time_c b/package/pam/patches/patch-modules_pam_time_pam_time_c deleted file mode 100644 index e122cece5..000000000 --- a/package/pam/patches/patch-modules_pam_time_pam_time_c +++ /dev/null @@ -1,14 +0,0 @@ ---- Linux-PAM-1.1.8.orig/modules/pam_time/pam_time.c 2013-06-18 16:11:21.000000000 +0200 -+++ Linux-PAM-1.1.8/modules/pam_time/pam_time.c 2014-05-24 10:49:28.000000000 +0200 -@@ -554,9 +554,11 @@ check_account(pam_handle_t *pamh, const - continue; - } - /* If buffer starts with @, we are using netgroups */ -+#ifdef HAVE_INNETGR - if (buffer[0] == '@') - good &= innetgr (&buffer[1], NULL, user, NULL); - else -+#endif - good &= logic_field(pamh, user, buffer, count, is_same); - D(("with user: %s", good ? "passes":"fails" )); - |