summaryrefslogtreecommitdiff
path: root/user/sddm/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2017-10-22 12:54:17 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2017-10-22 12:54:17 -0500
commit62f5d63b980c7902d5001010df9f6df58c7bff60 (patch)
treee9b0120a8de81b0ff53f7432f7e2c22447e8ca3b /user/sddm/APKBUILD
parentdb285f8be67f2222c91d30300dba0100964a70a6 (diff)
downloadpackages-62f5d63b980c7902d5001010df9f6df58c7bff60.tar.gz
packages-62f5d63b980c7902d5001010df9f6df58c7bff60.tar.bz2
packages-62f5d63b980c7902d5001010df9f6df58c7bff60.tar.xz
packages-62f5d63b980c7902d5001010df9f6df58c7bff60.zip
Grant SUID to packages that need it
Diffstat (limited to 'user/sddm/APKBUILD')
-rw-r--r--user/sddm/APKBUILD2
1 files changed, 2 insertions, 0 deletions
diff --git a/user/sddm/APKBUILD b/user/sddm/APKBUILD
index 37eb099a8..c60b77411 100644
--- a/user/sddm/APKBUILD
+++ b/user/sddm/APKBUILD
@@ -7,6 +7,7 @@ pkgdesc="Simple Desktop Display Manager"
url="https://github.com/sddm/sddm/"
arch="all"
license="GPL-2.0"
+options="suid" # needed to drop from sddm user to logged in user
depends=""
makedepends="cmake extra-cmake-modules qt5-qtbase-dev libxcb-dev upower-dev
consolekit2-dev linux-pam-dev qt5-qtdeclarative-dev qt5-qttools-dev"
@@ -45,6 +46,7 @@ check() {
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
+ chmod u+s "$pkgdir"/usr/libexec/sddm-helper
}
xdm() {