summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMykyta Holubakha <hilobakho@gmail.com>2016-12-31 04:09:16 +0200
committerPatrice Clement <monsieurp@gentoo.org>2017-01-04 00:08:05 +0100
commit768744de39c5ec4b86c5d0213372f844e40841b8 (patch)
tree3a24b2b52d2de0f7a6eb67ca752ebf4f6a454fe6 /dev-libs/sway
parentmedia-video/subliminal: support both HTTPS and git URIs in 9999. (diff)
downloadgentoo-768744de39c5ec4b86c5d0213372f844e40841b8.tar.gz
gentoo-768744de39c5ec4b86c5d0213372f844e40841b8.tar.bz2
gentoo-768744de39c5ec4b86c5d0213372f844e40841b8.zip
dev-libs/sway: revbump to 0.11-r2.
* preserve SUID bit. * add cap_sys_tty_config to sway binary. Gentoo-Bug: https://bugs.gentoo.org/604098 Closes: https://github.com/gentoo/gentoo/pull/3292
Diffstat (limited to 'dev-libs/sway')
-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.ebuild8
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