mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 08:52:56 +02:00
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:
parent
81471bc82d
commit
c8387ba7e8
1 changed files with 5 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'i3lock-color'
|
# Template file for 'i3lock-color'
|
||||||
pkgname=i3lock-color
|
pkgname=i3lock-color
|
||||||
version=2.12
|
version=2.12
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc="${pkgname}-${version}.c"
|
wrksrc="${pkgname}-${version}.c"
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
hostmakedepends="pkg-config automake"
|
hostmakedepends="pkg-config automake"
|
||||||
|
@ -20,6 +20,10 @@ pre_configure() {
|
||||||
autoreconf -i
|
autoreconf -i
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pre_build() {
|
||||||
|
vsed -i 's:login:system-auth:' pam/i3lock
|
||||||
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue