mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
cage: disable SUID
This commit is contained in:
parent
6704aae176
commit
e2498233f1
2 changed files with 9 additions and 7 deletions
6
srcpkgs/cage/INSTALL.msg
Normal file
6
srcpkgs/cage/INSTALL.msg
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
Setting the SUID bit after install has been retired for all Wayland
|
||||||
|
compositors. It is recommended that users use a session management daemon
|
||||||
|
such as elogind or seatd and do not rely on compositors dropping privileges.
|
||||||
|
|
||||||
|
All users who require this functionality will need to set the SUID bit manually
|
||||||
|
after each update going forward.
|
|
@ -1,12 +1,12 @@
|
||||||
# Template file for 'cage'
|
# Template file for 'cage'
|
||||||
pkgname=cage
|
pkgname=cage
|
||||||
version=0.1.2.1
|
version=0.1.2.1
|
||||||
revision=2
|
revision=3
|
||||||
build_style=meson
|
build_style=meson
|
||||||
configure_args="$(vopt_bool xwayland xwayland)"
|
configure_args="$(vopt_bool xwayland xwayland)"
|
||||||
hostmakedepends="pkg-config wayland-devel scdoc"
|
hostmakedepends="pkg-config wayland-devel scdoc"
|
||||||
makedepends="wlroots-devel"
|
makedepends="wlroots-devel"
|
||||||
depends="$(vopt_if xwayland xorg-server-xwayland) $(vopt_if elogind elogind)"
|
depends="$(vopt_if xwayland xorg-server-xwayland)"
|
||||||
short_desc="Kiosk compositor for Wayland"
|
short_desc="Kiosk compositor for Wayland"
|
||||||
maintainer="Illia Shestakov <ishestakov@airmail.cc>"
|
maintainer="Illia Shestakov <ishestakov@airmail.cc>"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
|
@ -14,14 +14,10 @@ homepage="https://www.hjdskes.nl/projects/cage/"
|
||||||
distfiles="https://github.com/Hjdskes/cage/archive/v${version}.tar.gz"
|
distfiles="https://github.com/Hjdskes/cage/archive/v${version}.tar.gz"
|
||||||
checksum=38a3e3968f00cc58fe1d9448e972cfac7d1efa30c48699f09032f264101a55ac
|
checksum=38a3e3968f00cc58fe1d9448e972cfac7d1efa30c48699f09032f264101a55ac
|
||||||
|
|
||||||
build_options="elogind xwayland"
|
build_options="xwayland"
|
||||||
build_options_default="xwayland"
|
build_options_default="xwayland"
|
||||||
desc_option_xwayland="Enable Xwayland support in cage"
|
desc_option_xwayland="Enable Xwayland support in cage"
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
if [ -z "$build_option_elogind" ]; then
|
|
||||||
# must be setuid without logind!
|
|
||||||
chmod u+s ${DESTDIR}/usr/bin/cage
|
|
||||||
fi
|
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue