commit:     8ddf13d2893a90d774e9693f8f810662f664cfe4
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat Aug  1 17:48:34 2020 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat Aug  1 17:48:34 2020 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=8ddf13d2

kde-plasma/kscreenlocker: Disable seccomp sandboxing in 5.19 too

If upstream dropped it in master for being problematic and ineffective,
then there's no reason to keep it in stable branch either.

Upstream commit f53b9b3275abd935fc81a60adcc38699f3ccec46

Package-Manager: Portage-3.0.1, Repoman-2.3.23
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 kde-plasma/kscreenlocker/kscreenlocker-5.19.49.9999.ebuild | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/kde-plasma/kscreenlocker/kscreenlocker-5.19.49.9999.ebuild 
b/kde-plasma/kscreenlocker/kscreenlocker-5.19.49.9999.ebuild
index f78e062b13..adac48392d 100644
--- a/kde-plasma/kscreenlocker/kscreenlocker-5.19.49.9999.ebuild
+++ b/kde-plasma/kscreenlocker/kscreenlocker-5.19.49.9999.ebuild
@@ -15,9 +15,7 @@ DESCRIPTION="Library and components for secure lock screen 
architecture"
 LICENSE="GPL-2" # TODO: CHECK
 SLOT="5"
 KEYWORDS=""
-IUSE="consolekit +pam seccomp"
-
-REQUIRED_USE="seccomp? ( pam )"
+IUSE="consolekit +pam"
 
 RDEPEND="
        dev-libs/wayland
@@ -49,7 +47,6 @@ RDEPEND="
        x11-libs/xcb-util-keysyms
        consolekit? ( sys-auth/consolekit )
        pam? ( sys-libs/pam )
-       seccomp? ( sys-libs/libseccomp )
 "
 DEPEND="${RDEPEND}
        x11-base/xorg-proto
@@ -79,10 +76,10 @@ src_test() {
 
 src_configure() {
        local mycmakeargs=(
+               -DCMAKE_DISABLE_FIND_PACKAGE_Seccomp=ON
                $(cmake_use_find_package consolekit loginctl)
                -DPAM_REQUIRED=$(usex pam)
                $(cmake_use_find_package pam PAM)
-               $(cmake_use_find_package seccomp Seccomp)
        )
        ecm_src_configure
 }

Reply via email to