mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-08 00:05:33 +03:00
gui-apps/swaylock: suidctl compat
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
This commit is contained in:
parent
80cfc5cfaa
commit
63a8409cc2
@ -52,6 +52,11 @@ src_configure() {
|
|||||||
meson_src_configure
|
meson_src_configure
|
||||||
}
|
}
|
||||||
|
|
||||||
pkg_postinst() {
|
src_install() {
|
||||||
use !pam && fcaps -m u+s cap_dac_read_search usr/bin/swaylock
|
meson_src_install
|
||||||
|
use pam || fperms u+s /usr/bin/swaylock
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
use pam || fcaps -M u-s cap_dac_read_search usr/bin/swaylock
|
||||||
}
|
}
|
||||||
|
|||||||
@ -52,6 +52,11 @@ src_configure() {
|
|||||||
meson_src_configure
|
meson_src_configure
|
||||||
}
|
}
|
||||||
|
|
||||||
pkg_postinst() {
|
src_install() {
|
||||||
use !pam && fcaps -m u+s cap_dac_read_search usr/bin/swaylock
|
meson_src_install
|
||||||
|
use pam || fperms u+s /usr/bin/swaylock
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
use pam || fcaps -M u-s cap_dac_read_search usr/bin/swaylock
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user