i3lock-color: fix pam configuration file

pam_tally(i3lock:auth): Error opening /var/log/faillog for update

pam_tally doesn't have the necessary privileges to write to
/var/log/faillog.
Replace 'login' with 'system-auth' to fix the issue.

Fix taken from Gentoo.
This commit is contained in:
Frank Steinborn 2019-08-25 13:52:01 +02:00 committed by Helmut Pozimski
parent 81471bc82d
commit c8387ba7e8

View file

@ -1,7 +1,7 @@
# Template file for 'i3lock-color'
pkgname=i3lock-color
version=2.12
revision=1
revision=2
wrksrc="${pkgname}-${version}.c"
build_style=gnu-configure
hostmakedepends="pkg-config automake"
@ -20,6 +20,10 @@ pre_configure() {
autoreconf -i
}
pre_build() {
vsed -i 's:login:system-auth:' pam/i3lock
}
post_install() {
vlicense LICENSE
}