diff options
-rw-r--r-- | dev-libs/sway/sway-0.11-r2.ebuild (renamed from dev-libs/sway/sway-0.11-r1.ebuild) | 8 | ||||
-rw-r--r-- | dev-libs/sway/sway-9999.ebuild | 8 |
2 files changed, 2 insertions, 14 deletions
diff --git a/dev-libs/sway/sway-0.11-r1.ebuild b/dev-libs/sway/sway-0.11-r2.ebuild index 3ca3576b4e4d..dbea8b27f68b 100644 --- a/dev-libs/sway/sway-0.11-r1.ebuild +++ b/dev-libs/sway/sway-0.11-r2.ebuild @@ -59,13 +59,7 @@ src_configure() { cmake-utils_src_configure } -src_install() { - cmake-utils_src_install - - use !systemd && fperms u+s /usr/bin/sway -} - -FILECAPS=( cap_sys_ptrace usr/bin/sway ) +FILECAPS=( -M 4711 cap_sys_ptrace,cap_sys_tty_config usr/bin/sway ) pkg_postinst() { fcaps_pkg_postinst diff --git a/dev-libs/sway/sway-9999.ebuild b/dev-libs/sway/sway-9999.ebuild index 9e9acbcc76d4..56c4b6ee1de9 100644 --- a/dev-libs/sway/sway-9999.ebuild +++ b/dev-libs/sway/sway-9999.ebuild @@ -59,13 +59,7 @@ src_configure() { cmake-utils_src_configure } -src_install() { - cmake-utils_src_install - - use !systemd && fperms u+s /usr/bin/sway -} - -FILECAPS=( cap_sys_ptrace usr/bin/sway ) +FILECAPS=( -M 4711 cap_sys_ptrace,cap_sys_tty_config usr/bin/sway ) pkg_postinst() { fcaps_pkg_postinst |