diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2017-10-22 12:54:17 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2017-10-22 12:54:17 -0500 |
commit | 62f5d63b980c7902d5001010df9f6df58c7bff60 (patch) | |
tree | e9b0120a8de81b0ff53f7432f7e2c22447e8ca3b /user | |
parent | db285f8be67f2222c91d30300dba0100964a70a6 (diff) | |
download | packages-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')
-rw-r--r-- | user/kscreenlocker/APKBUILD | 5 | ||||
-rw-r--r-- | user/sddm/APKBUILD | 2 |
2 files changed, 5 insertions, 2 deletions
diff --git a/user/kscreenlocker/APKBUILD b/user/kscreenlocker/APKBUILD index aaf99ec9b..b72e560e2 100644 --- a/user/kscreenlocker/APKBUILD +++ b/user/kscreenlocker/APKBUILD @@ -2,12 +2,12 @@ # Maintainer: A. Wilcox <awilfox@adelielinux.org> pkgname=kscreenlocker pkgver=5.8.7 -pkgrel=1 +pkgrel=2 pkgdesc="Secure X11 screen locker" url="https://www.kde.org/" arch="all" license="LGPL-2.1" -options="!check" # requires loginctl +options="!check suid" # requires loginctl depends="linux-pam" depends_dev="qt5-qtbase-dev qt5-qtdeclarative-dev kcrash-dev kdeclarative-dev kglobalaccel-dev ki18n-dev kidletime-dev kcmutils-dev solid-dev @@ -49,6 +49,7 @@ package() { make DESTDIR="$pkgdir" install install -D -m644 "$srcdir"/kde.pam "$pkgdir"/etc/pam.d/kde.pam install -m644 "$srcdir"/kde-np.pam "$pkgdir"/etc/pam.d/kde-np.pam + chmod u+s "$pkgdir"/usr/lib/libexec/kcheckpass } sha512sums="cee66e85efaafd5629c9e2b1eea1522cff960d7b9922be7b6d5f767c231fcb762cf80585d5528fdb5fc3684881bf2fa4a59da3136a1d23341ceb218da3f69e11 kscreenlocker-5.8.7.tar.xz 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() { |