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.
This commit is contained in:
Érico Rolim 2020-11-25 18:28:06 -03:00 committed by Érico Nogueira Rolim
parent a5ed5f551c
commit e065ac229d
3 changed files with 9 additions and 7 deletions

View file

@ -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.

View file

@ -1,6 +1,5 @@
#%PAM-1.0 #%PAM-1.0
auth required pam_tally.so onerr=succeed file=/var/log/faillog
auth required pam_shells.so auth required pam_shells.so
auth requisite pam_nologin.so auth requisite pam_nologin.so
auth include system-auth auth include system-auth
@ -16,6 +15,4 @@ session include system-auth
session optional pam_motd.so motd=/etc/motd session optional pam_motd.so motd=/etc/motd
session optional pam_mail.so dir=/var/mail standard quiet session optional pam_mail.so dir=/var/mail standard quiet
-session optional pam_elogind.so -session optional pam_elogind.so
-session optional pam_ck_connector.so nox11
session required pam_env.so session required pam_env.so
session required pam_lastlog.so silent

View file

@ -1,10 +1,10 @@
# Template file for 'pam-base' # Template file for 'pam-base'
pkgname=pam-base pkgname=pam-base
version=0.3 version=0.4
revision=6 revision=1
short_desc="PAM base configuration files" short_desc="PAM base configuration files"
maintainer="Orphaned <orphan@voidlinux.org>" maintainer="Érico Nogueira <ericonr@disroot.org>"
license="custom:Public Domain" license="Public Domain"
homepage="http://www.voidlinux.org" homepage="http://www.voidlinux.org"
conf_files=" conf_files="