1 |
commit: c58d0a1d310cc2361a9d1cefedf97da3f7c8c6dc |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Aug 1 17:48:34 2020 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Aug 1 22:57:20 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c58d0a1d |
7 |
|
8 |
kde-plasma/kscreenlocker: Disable seccomp sandboxing in 5.19 too |
9 |
|
10 |
If upstream dropped it in master for being problematic and ineffective, |
11 |
then there's no reason to keep it in stable branch either. |
12 |
|
13 |
Upstream commit f53b9b3275abd935fc81a60adcc38699f3ccec46 |
14 |
|
15 |
Package-Manager: Portage-3.0.1, Repoman-2.3.23 |
16 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
17 |
|
18 |
.../kscreenlocker/kscreenlocker-5.19.4-r1.ebuild | 97 ++++++++++++++++++++++ |
19 |
1 file changed, 97 insertions(+) |
20 |
|
21 |
diff --git a/kde-plasma/kscreenlocker/kscreenlocker-5.19.4-r1.ebuild b/kde-plasma/kscreenlocker/kscreenlocker-5.19.4-r1.ebuild |
22 |
new file mode 100644 |
23 |
index 00000000000..06317c83154 |
24 |
--- /dev/null |
25 |
+++ b/kde-plasma/kscreenlocker/kscreenlocker-5.19.4-r1.ebuild |
26 |
@@ -0,0 +1,97 @@ |
27 |
+# Copyright 1999-2020 Gentoo Authors |
28 |
+# Distributed under the terms of the GNU General Public License v2 |
29 |
+ |
30 |
+EAPI=7 |
31 |
+ |
32 |
+ECM_TEST="forceoptional" |
33 |
+KFMIN=5.71.0 |
34 |
+PVCUT=$(ver_cut 1-3) |
35 |
+QTMIN=5.14.2 |
36 |
+VIRTUALX_REQUIRED="test" |
37 |
+inherit ecm kde.org pam |
38 |
+ |
39 |
+DESCRIPTION="Library and components for secure lock screen architecture" |
40 |
+ |
41 |
+LICENSE="GPL-2" # TODO: CHECK |
42 |
+SLOT="5" |
43 |
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" |
44 |
+IUSE="consolekit +pam" |
45 |
+ |
46 |
+RDEPEND=" |
47 |
+ dev-libs/wayland |
48 |
+ >=dev-qt/qtdbus-${QTMIN}:5 |
49 |
+ >=dev-qt/qtdeclarative-${QTMIN}:5[widgets] |
50 |
+ >=dev-qt/qtgui-${QTMIN}:5 |
51 |
+ >=dev-qt/qtnetwork-${QTMIN}:5 |
52 |
+ >=dev-qt/qtwidgets-${QTMIN}:5 |
53 |
+ >=dev-qt/qtx11extras-${QTMIN}:5 |
54 |
+ >=kde-frameworks/kcmutils-${KFMIN}:5 |
55 |
+ >=kde-frameworks/kconfig-${KFMIN}:5 |
56 |
+ >=kde-frameworks/kconfigwidgets-${KFMIN}:5 |
57 |
+ >=kde-frameworks/kcoreaddons-${KFMIN}:5 |
58 |
+ >=kde-frameworks/kcrash-${KFMIN}:5 |
59 |
+ >=kde-frameworks/kdeclarative-${KFMIN}:5 |
60 |
+ >=kde-frameworks/kglobalaccel-${KFMIN}:5 |
61 |
+ >=kde-frameworks/ki18n-${KFMIN}:5 |
62 |
+ >=kde-frameworks/kidletime-${KFMIN}:5 |
63 |
+ >=kde-frameworks/knotifications-${KFMIN}:5 |
64 |
+ >=kde-frameworks/kpackage-${KFMIN}:5 |
65 |
+ >=kde-frameworks/ktextwidgets-${KFMIN}:5 |
66 |
+ >=kde-frameworks/kwayland-${KFMIN}:5 |
67 |
+ >=kde-frameworks/kwindowsystem-${KFMIN}:5 |
68 |
+ >=kde-frameworks/kxmlgui-${KFMIN}:5 |
69 |
+ >=kde-frameworks/solid-${KFMIN}:5 |
70 |
+ x11-libs/libX11 |
71 |
+ x11-libs/libXi |
72 |
+ x11-libs/libxcb |
73 |
+ x11-libs/xcb-util-keysyms |
74 |
+ consolekit? ( sys-auth/consolekit ) |
75 |
+ pam? ( sys-libs/pam ) |
76 |
+" |
77 |
+DEPEND="${RDEPEND} |
78 |
+ x11-base/xorg-proto |
79 |
+" |
80 |
+PDEPEND=" |
81 |
+ >=kde-plasma/kde-cli-tools-${PVCUT}:5 |
82 |
+" |
83 |
+ |
84 |
+RESTRICT+=" test" |
85 |
+ |
86 |
+src_prepare() { |
87 |
+ ecm_src_prepare |
88 |
+ |
89 |
+ if ! use test; then |
90 |
+ sed -e "/add_subdirectory(autotests)/ s/^/#/" \ |
91 |
+ -i greeter/CMakeLists.txt || die |
92 |
+ fi |
93 |
+} |
94 |
+ |
95 |
+src_test() { |
96 |
+ # requires running environment |
97 |
+ local myctestargs=( |
98 |
+ -E x11LockerTest |
99 |
+ ) |
100 |
+ ecm_src_test |
101 |
+} |
102 |
+ |
103 |
+src_configure() { |
104 |
+ local mycmakeargs=( |
105 |
+ -DCMAKE_DISABLE_FIND_PACKAGE_Seccomp=ON |
106 |
+ $(cmake_use_find_package consolekit loginctl) |
107 |
+ -DPAM_REQUIRED=$(usex pam) |
108 |
+ $(cmake_use_find_package pam PAM) |
109 |
+ ) |
110 |
+ ecm_src_configure |
111 |
+} |
112 |
+ |
113 |
+src_install() { |
114 |
+ ecm_src_install |
115 |
+ |
116 |
+ use pam && newpamd "${FILESDIR}/kde.pam" kde |
117 |
+ use pam && newpamd "${FILESDIR}/kde-np.pam" kde-np |
118 |
+ |
119 |
+ if ! use pam; then |
120 |
+ chown root "${ED}"/usr/$(get_libdir)/libexec/kcheckpass || die |
121 |
+ chmod +s "${ED}"/usr/$(get_libdir)/libexec/kcheckpass || die |
122 |
+ fi |
123 |
+} |