ports/contrib (3.7): sway: enable cap_sys_nice if the kernel supports it
commit 01336b48c732e0b7948191c17ff3c75230fb51ec Author: Tim Biermann <tbier@posteo.de> Date: Tue Jan 3 12:09:48 2023 +0000 sway: enable cap_sys_nice if the kernel supports it diff --git a/sway/.signature b/sway/.signature index 65ab62fdd..546bf49e3 100644 --- a/sway/.signature +++ b/sway/.signature @@ -1,6 +1,6 @@ untrusted comment: verify with /etc/ports/contrib.pub -RWSagIOpLGJF330DOcTlfEV+ZBazs/NHWabP/OZsdOdIravWXYDtmqUhWDmSNo8WaBtyG4DBbfF277JDNWs8JbJ8eq8bfZuDowg= -SHA256 (Pkgfile) = 9ddb3a635a8755b59b0081158665703e37312d212c2a4fc2759e669d31efb76b +RWSagIOpLGJF3+IKXGN4OP7zwsU0yRE2h9krqyHd57bVt+YCO+1TvOASWyNH3cdXOZPhucW0sfEtYC5rBDHSziA93bnCNOBLvgs= +SHA256 (Pkgfile) = adda552a197cf7dfb3f4586606ed334c79ede62cffc3e36e097611643b19dcf6 SHA256 (.footprint) = 76cf242dac27363a8a964536eda5e54f00953e79380ee493090ca249bd688920 SHA256 (sway-1.8.tar.gz) = fae0422bca8f528027f77e3a7bbea2be0498bba2ad3f0d22554ff8827e37f04e SHA256 (6249.patch) = c32823efff2406c5cdd583310aa22a80020397df294231e509cf1b4dc6a45265 diff --git a/sway/Pkgfile b/sway/Pkgfile index c1b2d3301..e5f139192 100644 --- a/sway/Pkgfile +++ b/sway/Pkgfile @@ -6,7 +6,7 @@ name=sway version=1.8 -release=1 +release=2 source=(https://github.com/swaywm/sway/archive/$version/$name-$version.tar.gz 6249.patch) @@ -29,4 +29,8 @@ build() { -D werror=false meson compile -C build DESTDIR=$PKG meson install -C build + + # needs CONFIG_*_FS_SECURITY to work + # https://github.com/swaywm/sway/pull/6994 + setcap 'cap_sys_nice=eip' $PKG/usr/bin/sway || true }
participants (1)
-
crux@crux.nu