From e065ac229d78c4a1819098c7bda45bbd717120ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89rico=20Rolim?= Date: Wed, 25 Nov 2020 18:28:06 -0300 Subject: [PATCH] pam-base: update to 0.4, adopt. Remove pam_tally from system-login. The pam_tally module is deprecated as of PAM 1.4.0 and was removed on PAM 1.5.0. Remove pam_lastlog optional, since it's no longer built on musl and conflicts with the logs recorded by login(1). Remove pam_ck_connector, since it's no longer provided. Fix license name. --- srcpkgs/pam-base/INSTALL.msg | 5 +++++ srcpkgs/pam-base/files/system-login | 3 --- srcpkgs/pam-base/template | 8 ++++---- 3 files changed, 9 insertions(+), 7 deletions(-) create mode 100644 srcpkgs/pam-base/INSTALL.msg diff --git a/srcpkgs/pam-base/INSTALL.msg b/srcpkgs/pam-base/INSTALL.msg new file mode 100644 index 0000000000..da74023b23 --- /dev/null +++ b/srcpkgs/pam-base/INSTALL.msg @@ -0,0 +1,5 @@ +WARNING: the default PAM configuration has changed. PAM 1.5.1 +will remove some deprecated modules, and this can break if you +have custom configs. Please check that your PAM configuration +in /etc/pam.d doesn't use the pam_tally, pam_tally2 or +pam_lastlog (this last one only on musl systems) modules. diff --git a/srcpkgs/pam-base/files/system-login b/srcpkgs/pam-base/files/system-login index ecfe062704..9785271093 100644 --- a/srcpkgs/pam-base/files/system-login +++ b/srcpkgs/pam-base/files/system-login @@ -1,6 +1,5 @@ #%PAM-1.0 -auth required pam_tally.so onerr=succeed file=/var/log/faillog auth required pam_shells.so auth requisite pam_nologin.so auth include system-auth @@ -16,6 +15,4 @@ session include system-auth session optional pam_motd.so motd=/etc/motd session optional pam_mail.so dir=/var/mail standard quiet -session optional pam_elogind.so --session optional pam_ck_connector.so nox11 session required pam_env.so -session required pam_lastlog.so silent diff --git a/srcpkgs/pam-base/template b/srcpkgs/pam-base/template index 883f3d4f46..621b1da441 100644 --- a/srcpkgs/pam-base/template +++ b/srcpkgs/pam-base/template @@ -1,10 +1,10 @@ # Template file for 'pam-base' pkgname=pam-base -version=0.3 -revision=6 +version=0.4 +revision=1 short_desc="PAM base configuration files" -maintainer="Orphaned " -license="custom:Public Domain" +maintainer="Érico Nogueira " +license="Public Domain" homepage="http://www.voidlinux.org" conf_files="