1 |
commit: 39ece3ff2467f0c1a3dc946767f3896d31055198 |
2 |
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Oct 4 14:33:57 2020 +0000 |
4 |
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Oct 4 14:39:06 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39ece3ff |
7 |
|
8 |
sys-auth/consolekit: remove last-rited pkg |
9 |
|
10 |
Bug: https://bugs.gentoo.org/727730 |
11 |
Closes: https://bugs.gentoo.org/644550 |
12 |
Closes: https://bugs.gentoo.org/667912 |
13 |
Closes: https://bugs.gentoo.org/644548 |
14 |
Closes: https://bugs.gentoo.org/601878 |
15 |
Closes: https://bugs.gentoo.org/699592 |
16 |
Closes: https://bugs.gentoo.org/651788 |
17 |
Closes: https://bugs.gentoo.org/614658 |
18 |
Closes: https://bugs.gentoo.org/593306 |
19 |
|
20 |
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org> |
21 |
|
22 |
sys-auth/consolekit/Manifest | 6 - |
23 |
sys-auth/consolekit/consolekit-0.4.6.ebuild | 125 ------------------- |
24 |
sys-auth/consolekit/consolekit-1.1.0-r1.ebuild | 120 ------------------- |
25 |
sys-auth/consolekit/consolekit-1.1.2.ebuild | 131 -------------------- |
26 |
sys-auth/consolekit/consolekit-1.2.0.ebuild | 132 --------------------- |
27 |
sys-auth/consolekit/consolekit-1.2.1.ebuild | 132 --------------------- |
28 |
sys-auth/consolekit/consolekit-9999.ebuild | 128 -------------------- |
29 |
sys-auth/consolekit/files/90-consolekit-3 | 32 ----- |
30 |
sys-auth/consolekit/files/consolekit-0.2.rc | 25 ---- |
31 |
.../files/consolekit-0.4.5-polkit-automagic.patch | 30 ----- |
32 |
sys-auth/consolekit/files/consolekit-1.0.0.initd | 16 --- |
33 |
...ove-the-root-restriction-for-runtime-dirs.patch | 57 --------- |
34 |
.../files/consolekit-cleanup_console_tags.patch | 67 ----------- |
35 |
...nsolekit-shutdown-reboot-without-policies.patch | 26 ---- |
36 |
.../files/consolekit-udev-acl-install_to_usr.patch | 28 ----- |
37 |
sys-auth/consolekit/files/pam-foreground-compat.ck | 17 --- |
38 |
sys-auth/consolekit/metadata.xml | 22 ---- |
39 |
17 files changed, 1094 deletions(-) |
40 |
|
41 |
diff --git a/sys-auth/consolekit/Manifest b/sys-auth/consolekit/Manifest |
42 |
deleted file mode 100644 |
43 |
index 06205e253cd..00000000000 |
44 |
--- a/sys-auth/consolekit/Manifest |
45 |
+++ /dev/null |
46 |
@@ -1,6 +0,0 @@ |
47 |
-DIST ConsoleKit-0.4.6.tar.xz 366572 BLAKE2B ab4c277fd47b8f99ce8c5a67de86e89b1bdd8d6a5a8682dd436feefec76f7902e71c05d9d22d52c297d3294a945f057d53f18c9c9b7d29c84aa7c26665b05fee SHA512 54955e3e83778a9216846104da8762fd50a37190e209127dd5d211e2227da617e14f6f5c1359905396d299656e526d14e1187b28eaff7d0ae1d7563dc8d9b46d |
48 |
-DIST ConsoleKit2-1.1.0.tar.bz2 630178 BLAKE2B 20d1994a19fbe03d411ac5437f77b75571fbdc19478100676e51e2a1232c643f4b0c86125b5bf1d42aeb5cfb7c8b34601221d674ac27d9bf3112fcd8a83afacb SHA512 14ded07d4140e7a31132de21e84c2878475676b8c98f72b42340708972ed384abb9ba9380d74719718fc220c001387c788cf709cd15f8b19d598467dfe8a57df |
49 |
-DIST ConsoleKit2-1.1.2.tar.bz2 1125567 BLAKE2B 1b7c60d224ea4197687c566d324a302aa2f5ed92ed0cfc563ba4d42f78af2999d1693e4587208e5412d042fb0cff99919dfa02ca5b5a43bda3310c17b39ca5d6 SHA512 fadca85e05c176b06ead40fba5c068d497bf69bcc322287363d0c27cdd6627b758295db1ef534b908c0e6240486430d8cb36660b4d71216a60d19a52d6d0db39 |
50 |
-DIST ConsoleKit2-1.2.0.tar.bz2 1125402 BLAKE2B c2119287ff173783c377a1353f8ce59432f8aa3e64f654716c895fadb5d07462069e457aae7925a6c44bc48bfd4147fc10e9f488a39714386fb6c14bced09f36 SHA512 c0f6e629b7229c2ffaafe8da899970b48c8372402447af18560fffd8804d9ab91a4ad2eb82c8f648a14807f8ccc5fb1ab4366de14faa8a2d5fb3767a6a4253f7 |
51 |
-DIST ConsoleKit2-1.2.1.tar.bz2 1182946 BLAKE2B f76f99008c78bd3a318c918776129072944e4c3ac18348960e3a725179d3ce4dc2cfb4d04ec5c143bb998f23f63cf36c0f88d8296dc3d0a382a138f3a0a2fecc SHA512 31befe89f7fa604138bfb0722fc6cf12f0934bac004f98fc331004eb5a7f466ed7bd0dc9adc9869da739974208f9a3bc125068ff8a60d4b2badb58ef70a3eb10 |
52 |
-DIST consolekit_0.4.6-4.debian.tar.gz 12192 BLAKE2B e88ed907ea3ceecb9ac399618614b1aa5d7eb2c46a706451d78e4ec1598dee5a02d6c5a1b0dd678f6bed4c25277884ec6969a23f8181ef3d8ede94452b6570db SHA512 f7fc5965b1f495d16a8ca167940431bc2569e9bde9e4a356b9c9ed00c2825db61da7b6db3d434d977fff72b3aaef30c455a365b9eba282a887a523753613b58f |
53 |
|
54 |
diff --git a/sys-auth/consolekit/consolekit-0.4.6.ebuild b/sys-auth/consolekit/consolekit-0.4.6.ebuild |
55 |
deleted file mode 100644 |
56 |
index e190382dadf..00000000000 |
57 |
--- a/sys-auth/consolekit/consolekit-0.4.6.ebuild |
58 |
+++ /dev/null |
59 |
@@ -1,125 +0,0 @@ |
60 |
-# Copyright 1999-2020 Gentoo Authors |
61 |
-# Distributed under the terms of the GNU General Public License v2 |
62 |
- |
63 |
-EAPI=5 |
64 |
-inherit autotools eutils linux-info ltprune pam systemd |
65 |
- |
66 |
-MY_PN=ConsoleKit |
67 |
-MY_P=${MY_PN}-${PV} |
68 |
- |
69 |
-DESCRIPTION="Framework for defining and tracking users, login sessions and seats" |
70 |
-HOMEPAGE="https://www.freedesktop.org/wiki/Software/ConsoleKit" |
71 |
-SRC_URI="https://www.freedesktop.org/software/${MY_PN}/dist/${MY_P}.tar.xz |
72 |
- https://launchpad.net/debian/+archive/primary/+files/${PN}_${PV}-4.debian.tar.gz" # for logrotate file |
73 |
- |
74 |
-LICENSE="GPL-2" |
75 |
-SLOT="0" |
76 |
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux" |
77 |
-IUSE="acl debug doc kernel_linux pam policykit selinux systemd-units test" |
78 |
-RESTRICT="!test? ( test )" |
79 |
- |
80 |
-COMMON_DEPEND=">=dev-libs/dbus-glib-0.100:= |
81 |
- >=dev-libs/glib-2.38.2-r1:2= |
82 |
- sys-libs/zlib:= |
83 |
- x11-libs/libX11:= |
84 |
- acl? ( |
85 |
- sys-apps/acl:= |
86 |
- >=virtual/udev-200 |
87 |
- ) |
88 |
- pam? ( sys-libs/pam ) |
89 |
- policykit? ( >=sys-auth/polkit-0.110 )" |
90 |
-RDEPEND="${COMMON_DEPEND} |
91 |
- kernel_linux? ( sys-apps/coreutils[acl?] ) |
92 |
- selinux? ( sec-policy/selinux-consolekit )" |
93 |
-DEPEND="${COMMON_DEPEND} |
94 |
- dev-libs/libxslt |
95 |
- virtual/pkgconfig |
96 |
- doc? ( app-text/xmlto ) |
97 |
- test? ( |
98 |
- app-text/docbook-xml-dtd:4.1.2 |
99 |
- app-text/xmlto |
100 |
- )" |
101 |
- |
102 |
-S=${WORKDIR}/${MY_P} |
103 |
- |
104 |
-QA_MULTILIB_PATHS="usr/lib/ConsoleKit/.*" |
105 |
- |
106 |
-pkg_setup() { |
107 |
- if use kernel_linux; then |
108 |
- # This is from https://bugs.gentoo.org/376939 |
109 |
- use acl && CONFIG_CHECK="~TMPFS_POSIX_ACL" |
110 |
- # This is required to get login-session-id string with pam_ck_connector.so |
111 |
- use pam && CONFIG_CHECK+=" ~AUDITSYSCALL" |
112 |
- linux-info_pkg_setup |
113 |
- fi |
114 |
-} |
115 |
- |
116 |
-src_prepare() { |
117 |
- epatch \ |
118 |
- "${FILESDIR}"/${PN}-cleanup_console_tags.patch \ |
119 |
- "${FILESDIR}"/${PN}-shutdown-reboot-without-policies.patch \ |
120 |
- "${FILESDIR}"/${PN}-udev-acl-install_to_usr.patch \ |
121 |
- "${FILESDIR}"/${PN}-0.4.5-polkit-automagic.patch |
122 |
- |
123 |
- if ! use systemd-units; then |
124 |
- sed -i -e '/SystemdService/d' data/org.freedesktop.ConsoleKit.service.in || die |
125 |
- fi |
126 |
- |
127 |
- eautoreconf |
128 |
-} |
129 |
- |
130 |
-src_configure() { |
131 |
- local myconf |
132 |
- if use systemd-units; then |
133 |
- myconf="$(systemd_with_unitdir)" |
134 |
- else |
135 |
- myconf="--with-systemdsystemunitdir=/tmp" |
136 |
- fi |
137 |
- |
138 |
- econf \ |
139 |
- XMLTO_FLAGS='--skip-validation' \ |
140 |
- --libexecdir="${EPREFIX}"/usr/lib/${MY_PN} \ |
141 |
- --localstatedir="${EPREFIX}"/var \ |
142 |
- $(use_enable pam pam-module) \ |
143 |
- $(use_enable doc docbook-docs) \ |
144 |
- $(use_enable test docbook-docs) \ |
145 |
- $(use_enable debug) \ |
146 |
- $(use_enable policykit polkit) \ |
147 |
- $(use_enable acl udev-acl) \ |
148 |
- --with-dbus-services="${EPREFIX}"/usr/share/dbus-1/services \ |
149 |
- --with-pam-module-dir="$(getpam_mod_dir)" \ |
150 |
- ${myconf} |
151 |
-} |
152 |
- |
153 |
-src_install() { |
154 |
- emake \ |
155 |
- DESTDIR="${D}" \ |
156 |
- htmldocdir="${EPREFIX}"/usr/share/doc/${PF}/html \ |
157 |
- install |
158 |
- |
159 |
- dosym /usr/lib/${MY_PN} /usr/lib/${PN} |
160 |
- |
161 |
- dodoc AUTHORS HACKING NEWS README TODO |
162 |
- |
163 |
- newinitd "${FILESDIR}"/${PN}-0.2.rc consolekit |
164 |
- |
165 |
- keepdir /usr/lib/ConsoleKit/run-seat.d |
166 |
- keepdir /usr/lib/ConsoleKit/run-session.d |
167 |
- keepdir /etc/ConsoleKit/run-session.d |
168 |
- keepdir /var/log/ConsoleKit |
169 |
- |
170 |
- exeinto /etc/X11/xinit/xinitrc.d |
171 |
- newexe "${FILESDIR}"/90-consolekit-3 90-consolekit |
172 |
- |
173 |
- exeinto /usr/lib/ConsoleKit/run-session.d |
174 |
- doexe "${FILESDIR}"/pam-foreground-compat.ck |
175 |
- |
176 |
- prune_libtool_files --all # --all for pam_ck_connector.la |
177 |
- |
178 |
- use systemd-units || rm -rf "${ED}"/tmp |
179 |
- |
180 |
- rm -rf "${ED}"/var/run # let the init script create the directory |
181 |
- |
182 |
- insinto /etc/logrotate.d |
183 |
- newins "${WORKDIR}"/debian/${PN}.logrotate ${PN} #374513 |
184 |
-} |
185 |
|
186 |
diff --git a/sys-auth/consolekit/consolekit-1.1.0-r1.ebuild b/sys-auth/consolekit/consolekit-1.1.0-r1.ebuild |
187 |
deleted file mode 100644 |
188 |
index 6cfe969c795..00000000000 |
189 |
--- a/sys-auth/consolekit/consolekit-1.1.0-r1.ebuild |
190 |
+++ /dev/null |
191 |
@@ -1,120 +0,0 @@ |
192 |
-# Copyright 1999-2020 Gentoo Authors |
193 |
-# Distributed under the terms of the GNU General Public License v2 |
194 |
- |
195 |
-EAPI=6 |
196 |
-inherit libtool linux-info ltprune pam |
197 |
- |
198 |
-MY_PN=ConsoleKit2 |
199 |
-MY_P=${MY_PN}-${PV} |
200 |
- |
201 |
-DESCRIPTION="Framework for defining and tracking users, login sessions and seats" |
202 |
-HOMEPAGE="https://github.com/ConsoleKit2/ConsoleKit2 https://www.freedesktop.org/wiki/Software/ConsoleKit" |
203 |
-SRC_URI="https://github.com/${MY_PN}/${MY_PN}/releases/download/${PV}/${MY_P}.tar.bz2" |
204 |
- |
205 |
-LICENSE="GPL-2" |
206 |
-SLOT="0" |
207 |
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux" |
208 |
-IUSE="acl cgroups debug doc kernel_linux pam pm-utils policykit selinux test" |
209 |
-RESTRICT="!test? ( test )" |
210 |
- |
211 |
-COMMON_DEPEND=">=dev-libs/glib-2.40:2=[dbus] |
212 |
- >=sys-devel/gettext-0.19 |
213 |
- sys-apps/dbus |
214 |
- sys-libs/zlib:= |
215 |
- x11-libs/libX11:= |
216 |
- acl? ( |
217 |
- sys-apps/acl:= |
218 |
- >=virtual/udev-200 |
219 |
- ) |
220 |
- cgroups? ( |
221 |
- app-admin/cgmanager |
222 |
- >=sys-libs/libnih-1.0.2[dbus] |
223 |
- ) |
224 |
- pam? ( sys-libs/pam ) |
225 |
- policykit? ( >=sys-auth/polkit-0.110 )" |
226 |
-# pm-utils: bug 557432 |
227 |
-RDEPEND="${COMMON_DEPEND} |
228 |
- kernel_linux? ( sys-apps/coreutils[acl?] ) |
229 |
- pm-utils? ( sys-power/pm-utils ) |
230 |
- selinux? ( sec-policy/selinux-consolekit )" |
231 |
-DEPEND="${COMMON_DEPEND} |
232 |
- dev-libs/libxslt |
233 |
- virtual/pkgconfig |
234 |
- doc? ( app-text/xmlto ) |
235 |
- test? ( |
236 |
- app-text/docbook-xml-dtd:4.1.2 |
237 |
- app-text/xmlto |
238 |
- )" |
239 |
- |
240 |
-S=${WORKDIR}/${MY_P} |
241 |
- |
242 |
-QA_MULTILIB_PATHS="usr/lib/ConsoleKit/.*" |
243 |
- |
244 |
-PATCHES=( "${FILESDIR}/${P}-Remove-the-root-restriction-for-runtime-dirs.patch" ) |
245 |
- |
246 |
-pkg_setup() { |
247 |
- if use kernel_linux; then |
248 |
- # This is from https://bugs.gentoo.org/376939 |
249 |
- use acl && CONFIG_CHECK="~TMPFS_POSIX_ACL" |
250 |
- # This is required to get login-session-id string with pam_ck_connector.so |
251 |
- use pam && CONFIG_CHECK+=" ~AUDITSYSCALL" |
252 |
- linux-info_pkg_setup |
253 |
- fi |
254 |
-} |
255 |
- |
256 |
-src_prepare() { |
257 |
- sed -i -e '/SystemdService/d' data/org.freedesktop.ConsoleKit.service.in || die |
258 |
- |
259 |
- default |
260 |
- elibtoolize # bug 593314 |
261 |
-} |
262 |
- |
263 |
-src_configure() { |
264 |
- econf \ |
265 |
- XMLTO_FLAGS='--skip-validation' \ |
266 |
- --libexecdir="${EPREFIX}"/usr/lib/ConsoleKit \ |
267 |
- --localstatedir="${EPREFIX}"/var \ |
268 |
- $(use_enable pam pam-module) \ |
269 |
- $(use_enable doc docbook-docs) \ |
270 |
- $(use_enable test docbook-docs) \ |
271 |
- $(use_enable debug) \ |
272 |
- $(use_enable policykit polkit) \ |
273 |
- $(use_enable acl udev-acl) \ |
274 |
- $(use_enable cgroups) \ |
275 |
- $(use_enable test tests) \ |
276 |
- --with-dbus-services="${EPREFIX}"/usr/share/dbus-1/services \ |
277 |
- --with-pam-module-dir="$(getpam_mod_dir)" \ |
278 |
- --with-xinitrc-dir="${EPREFIX}"/etc/X11/xinit/xinitrc.d \ |
279 |
- --without-systemdsystemunitdir |
280 |
-} |
281 |
- |
282 |
-src_install() { |
283 |
- emake \ |
284 |
- DESTDIR="${D}" \ |
285 |
- htmldocdir="${EPREFIX}"/usr/share/doc/${PF}/html \ |
286 |
- install |
287 |
- |
288 |
- dosym /usr/lib/ConsoleKit /usr/lib/${PN} |
289 |
- |
290 |
- dodoc AUTHORS HACKING NEWS README TODO |
291 |
- |
292 |
- newinitd "${FILESDIR}"/${PN}-1.0.0.initd consolekit |
293 |
- |
294 |
- keepdir /usr/lib/ConsoleKit/run-seat.d |
295 |
- keepdir /usr/lib/ConsoleKit/run-session.d |
296 |
- keepdir /etc/ConsoleKit/run-session.d |
297 |
- keepdir /var/log/ConsoleKit |
298 |
- |
299 |
- exeinto /etc/X11/xinit/xinitrc.d |
300 |
- newexe "${FILESDIR}"/90-consolekit-3 90-consolekit |
301 |
- |
302 |
- if use kernel_linux; then |
303 |
- # bug 571524 |
304 |
- exeinto /usr/lib/ConsoleKit/run-session.d |
305 |
- doexe "${FILESDIR}"/pam-foreground-compat.ck |
306 |
- fi |
307 |
- |
308 |
- prune_libtool_files --all # --all for pam_ck_connector.la |
309 |
- |
310 |
- rm -rf "${ED}"/var/run || die # let the init script create the directory |
311 |
-} |
312 |
|
313 |
diff --git a/sys-auth/consolekit/consolekit-1.1.2.ebuild b/sys-auth/consolekit/consolekit-1.1.2.ebuild |
314 |
deleted file mode 100644 |
315 |
index 9eb051c9c37..00000000000 |
316 |
--- a/sys-auth/consolekit/consolekit-1.1.2.ebuild |
317 |
+++ /dev/null |
318 |
@@ -1,131 +0,0 @@ |
319 |
-# Copyright 1999-2020 Gentoo Authors |
320 |
-# Distributed under the terms of the GNU General Public License v2 |
321 |
- |
322 |
-EAPI=6 |
323 |
-inherit autotools libtool linux-info ltprune pam xdg-utils |
324 |
- |
325 |
-MY_PN=ConsoleKit2 |
326 |
-MY_P=${MY_PN}-${PV} |
327 |
- |
328 |
-DESCRIPTION="Framework for defining and tracking users, login sessions and seats" |
329 |
-HOMEPAGE="https://github.com/ConsoleKit2/ConsoleKit2 https://www.freedesktop.org/wiki/Software/ConsoleKit" |
330 |
-SRC_URI="https://github.com/${MY_PN}/${MY_PN}/releases/download/${PV}/${MY_P}.tar.bz2" |
331 |
- |
332 |
-LICENSE="GPL-2" |
333 |
-SLOT="0" |
334 |
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux" |
335 |
-IUSE="acl cgroups debug doc evdev kernel_linux pam pm-utils policykit selinux test udev" |
336 |
-RESTRICT="!test? ( test )" |
337 |
- |
338 |
-COMMON_DEPEND=">=dev-libs/glib-2.40:2=[dbus] |
339 |
- >=sys-devel/gettext-0.19 |
340 |
- sys-apps/dbus |
341 |
- sys-libs/zlib:= |
342 |
- x11-libs/libX11:= |
343 |
- acl? ( |
344 |
- sys-apps/acl:= |
345 |
- >=virtual/udev-200 |
346 |
- ) |
347 |
- cgroups? ( |
348 |
- app-admin/cgmanager |
349 |
- >=sys-libs/libnih-1.0.2[dbus] |
350 |
- ) |
351 |
- evdev? ( dev-libs/libevdev:= ) |
352 |
- udev? ( |
353 |
- virtual/libudev |
354 |
- x11-libs/libdrm:= |
355 |
- ) |
356 |
- pam? ( sys-libs/pam ) |
357 |
- policykit? ( >=sys-auth/polkit-0.110 ) |
358 |
- selinux? ( sys-libs/libselinux )" |
359 |
-# pm-utils: bug 557432 |
360 |
-RDEPEND="${COMMON_DEPEND} |
361 |
- kernel_linux? ( sys-apps/coreutils[acl?] ) |
362 |
- pm-utils? ( sys-power/pm-utils ) |
363 |
- selinux? ( sec-policy/selinux-consolekit )" |
364 |
-DEPEND="${COMMON_DEPEND} |
365 |
- dev-libs/libxslt |
366 |
- virtual/pkgconfig |
367 |
- doc? ( app-text/xmlto ) |
368 |
- test? ( |
369 |
- app-text/docbook-xml-dtd:4.1.2 |
370 |
- app-text/xmlto |
371 |
- )" |
372 |
- |
373 |
-S=${WORKDIR}/${MY_P} |
374 |
- |
375 |
-QA_MULTILIB_PATHS="usr/lib/ConsoleKit/.*" |
376 |
- |
377 |
-pkg_setup() { |
378 |
- if use kernel_linux; then |
379 |
- # This is from https://bugs.gentoo.org/376939 |
380 |
- use acl && CONFIG_CHECK="~TMPFS_POSIX_ACL" |
381 |
- # This is required to get login-session-id string with pam_ck_connector.so |
382 |
- use pam && CONFIG_CHECK+=" ~AUDITSYSCALL" |
383 |
- linux-info_pkg_setup |
384 |
- fi |
385 |
-} |
386 |
- |
387 |
-src_prepare() { |
388 |
- xdg_environment_reset |
389 |
- |
390 |
- sed -i -e '/SystemdService/d' data/org.freedesktop.ConsoleKit.service.in || die |
391 |
- |
392 |
- default |
393 |
- # patch needs autoreconf, so dont need libtoolize |
394 |
- eautoreconf |
395 |
- #elibtoolize # bug 593314 |
396 |
-} |
397 |
- |
398 |
-src_configure() { |
399 |
- econf \ |
400 |
- XMLTO_FLAGS='--skip-validation' \ |
401 |
- --libexecdir="${EPREFIX}"/usr/lib/ConsoleKit \ |
402 |
- --localstatedir="${EPREFIX}"/var \ |
403 |
- $(use_enable pam pam-module) \ |
404 |
- $(use_enable doc docbook-docs) \ |
405 |
- $(use_enable test docbook-docs) \ |
406 |
- $(use_enable debug) \ |
407 |
- $(use_enable policykit polkit) \ |
408 |
- $(use_enable evdev libevdev) \ |
409 |
- $(use_enable acl udev-acl) \ |
410 |
- $(use_enable cgroups libcgmanager) \ |
411 |
- $(use_enable selinux libselinux) \ |
412 |
- $(use_enable udev libudev) \ |
413 |
- $(use_enable test tests) \ |
414 |
- --with-dbus-services="${EPREFIX}"/usr/share/dbus-1/services \ |
415 |
- --with-pam-module-dir="$(getpam_mod_dir)" \ |
416 |
- --with-xinitrc-dir="${EPREFIX}"/etc/X11/xinit/xinitrc.d \ |
417 |
- --without-systemdsystemunitdir |
418 |
-} |
419 |
- |
420 |
-src_install() { |
421 |
- emake \ |
422 |
- DESTDIR="${D}" \ |
423 |
- htmldocdir="${EPREFIX}"/usr/share/doc/${PF}/html \ |
424 |
- install |
425 |
- |
426 |
- dosym /usr/lib/ConsoleKit /usr/lib/${PN} |
427 |
- |
428 |
- dodoc AUTHORS HACKING NEWS README TODO |
429 |
- |
430 |
- newinitd "${FILESDIR}"/${PN}-1.0.0.initd consolekit |
431 |
- |
432 |
- keepdir /usr/lib/ConsoleKit/run-seat.d |
433 |
- keepdir /usr/lib/ConsoleKit/run-session.d |
434 |
- keepdir /etc/ConsoleKit/run-session.d |
435 |
- keepdir /var/log/ConsoleKit |
436 |
- |
437 |
- exeinto /etc/X11/xinit/xinitrc.d |
438 |
- newexe "${FILESDIR}"/90-consolekit-3 90-consolekit |
439 |
- |
440 |
- if use kernel_linux; then |
441 |
- # bug 571524 |
442 |
- exeinto /usr/lib/ConsoleKit/run-session.d |
443 |
- doexe "${FILESDIR}"/pam-foreground-compat.ck |
444 |
- fi |
445 |
- |
446 |
- prune_libtool_files --all # --all for pam_ck_connector.la |
447 |
- |
448 |
- rm -rf "${ED}"/var/run || die # let the init script create the directory |
449 |
-} |
450 |
|
451 |
diff --git a/sys-auth/consolekit/consolekit-1.2.0.ebuild b/sys-auth/consolekit/consolekit-1.2.0.ebuild |
452 |
deleted file mode 100644 |
453 |
index 853ffde3539..00000000000 |
454 |
--- a/sys-auth/consolekit/consolekit-1.2.0.ebuild |
455 |
+++ /dev/null |
456 |
@@ -1,132 +0,0 @@ |
457 |
-# Copyright 1999-2020 Gentoo Authors |
458 |
-# Distributed under the terms of the GNU General Public License v2 |
459 |
- |
460 |
-EAPI=6 |
461 |
-inherit autotools libtool linux-info ltprune pam xdg-utils |
462 |
- |
463 |
-MY_PN=ConsoleKit2 |
464 |
-MY_P=${MY_PN}-${PV} |
465 |
- |
466 |
-DESCRIPTION="Framework for defining and tracking users, login sessions and seats" |
467 |
-HOMEPAGE="https://github.com/ConsoleKit2/ConsoleKit2 https://www.freedesktop.org/wiki/Software/ConsoleKit" |
468 |
-SRC_URI="https://github.com/${MY_PN}/${MY_PN}/releases/download/${PV}/${MY_P}.tar.bz2" |
469 |
- |
470 |
-LICENSE="GPL-2" |
471 |
-SLOT="0" |
472 |
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ppc ppc64 s390 ~sparc x86 ~amd64-linux ~x86-linux" |
473 |
-IUSE="acl cgroups debug doc evdev kernel_linux pam pm-utils policykit selinux test udev" |
474 |
-RESTRICT="!test? ( test )" |
475 |
- |
476 |
-COMMON_DEPEND=">=dev-libs/glib-2.40:2=[dbus] |
477 |
- >=sys-devel/gettext-0.19 |
478 |
- sys-apps/dbus |
479 |
- sys-libs/zlib:= |
480 |
- x11-libs/libX11:= |
481 |
- acl? ( |
482 |
- sys-apps/acl:= |
483 |
- >=virtual/udev-200 |
484 |
- ) |
485 |
- cgroups? ( |
486 |
- app-admin/cgmanager |
487 |
- >=sys-libs/libnih-1.0.2[dbus] |
488 |
- ) |
489 |
- evdev? ( dev-libs/libevdev:= ) |
490 |
- udev? ( |
491 |
- virtual/libudev |
492 |
- x11-libs/libdrm:= |
493 |
- ) |
494 |
- pam? ( sys-libs/pam ) |
495 |
- policykit? ( >=sys-auth/polkit-0.110 ) |
496 |
- selinux? ( sys-libs/libselinux )" |
497 |
-# pm-utils: bug 557432 |
498 |
-RDEPEND="${COMMON_DEPEND} |
499 |
- kernel_linux? ( sys-apps/coreutils[acl?] ) |
500 |
- pm-utils? ( sys-power/pm-utils ) |
501 |
- selinux? ( sec-policy/selinux-consolekit )" |
502 |
-DEPEND="${COMMON_DEPEND} |
503 |
- dev-libs/libxslt |
504 |
- virtual/pkgconfig |
505 |
- doc? ( app-text/xmlto ) |
506 |
- test? ( |
507 |
- app-text/docbook-xml-dtd:4.1.2 |
508 |
- app-text/xmlto |
509 |
- )" |
510 |
- |
511 |
-S=${WORKDIR}/${MY_P} |
512 |
- |
513 |
-QA_MULTILIB_PATHS="usr/lib/ConsoleKit/.*" |
514 |
- |
515 |
-pkg_setup() { |
516 |
- if use kernel_linux; then |
517 |
- # This is from https://bugs.gentoo.org/376939 |
518 |
- use acl && CONFIG_CHECK="~TMPFS_POSIX_ACL" |
519 |
- # This is required to get login-session-id string with pam_ck_connector.so |
520 |
- use pam && CONFIG_CHECK+=" ~AUDITSYSCALL" |
521 |
- linux-info_pkg_setup |
522 |
- fi |
523 |
-} |
524 |
- |
525 |
-src_prepare() { |
526 |
- xdg_environment_reset |
527 |
- |
528 |
- sed -i -e '/SystemdService/d' data/org.freedesktop.ConsoleKit.service.in || die |
529 |
- |
530 |
- default |
531 |
- # patch needs autoreconf, so dont need libtoolize |
532 |
- eautoreconf |
533 |
- #elibtoolize # bug 593314 |
534 |
-} |
535 |
- |
536 |
-src_configure() { |
537 |
- econf \ |
538 |
- XMLTO_FLAGS='--skip-validation' \ |
539 |
- --libexecdir="${EPREFIX}"/usr/lib/ConsoleKit \ |
540 |
- --localstatedir="${EPREFIX}"/var \ |
541 |
- $(use_enable pam pam-module) \ |
542 |
- $(use_enable doc docbook-docs) \ |
543 |
- $(use_enable test docbook-docs) \ |
544 |
- $(use_enable debug) \ |
545 |
- $(use_enable policykit polkit) \ |
546 |
- $(use_enable evdev libevdev) \ |
547 |
- $(use_enable acl udev-acl) \ |
548 |
- $(use_enable cgroups libcgmanager) \ |
549 |
- $(use_enable selinux libselinux) \ |
550 |
- $(use_enable udev libdrm) \ |
551 |
- $(use_enable udev libudev) \ |
552 |
- $(use_enable test tests) \ |
553 |
- --with-dbus-services="${EPREFIX}"/usr/share/dbus-1/services \ |
554 |
- --with-pam-module-dir="$(getpam_mod_dir)" \ |
555 |
- --with-xinitrc-dir="${EPREFIX}"/etc/X11/xinit/xinitrc.d \ |
556 |
- --without-systemdsystemunitdir |
557 |
-} |
558 |
- |
559 |
-src_install() { |
560 |
- emake \ |
561 |
- DESTDIR="${D}" \ |
562 |
- htmldocdir="${EPREFIX}"/usr/share/doc/${PF}/html \ |
563 |
- install |
564 |
- |
565 |
- dosym /usr/lib/ConsoleKit /usr/lib/${PN} |
566 |
- |
567 |
- dodoc AUTHORS HACKING NEWS README TODO |
568 |
- |
569 |
- newinitd "${FILESDIR}"/${PN}-1.0.0.initd consolekit |
570 |
- |
571 |
- keepdir /usr/lib/ConsoleKit/run-seat.d |
572 |
- keepdir /usr/lib/ConsoleKit/run-session.d |
573 |
- keepdir /etc/ConsoleKit/run-session.d |
574 |
- keepdir /var/log/ConsoleKit |
575 |
- |
576 |
- exeinto /etc/X11/xinit/xinitrc.d |
577 |
- newexe "${FILESDIR}"/90-consolekit-3 90-consolekit |
578 |
- |
579 |
- if use kernel_linux; then |
580 |
- # bug 571524 |
581 |
- exeinto /usr/lib/ConsoleKit/run-session.d |
582 |
- doexe "${FILESDIR}"/pam-foreground-compat.ck |
583 |
- fi |
584 |
- |
585 |
- prune_libtool_files --all # --all for pam_ck_connector.la |
586 |
- |
587 |
- rm -rf "${ED}"/var/run || die # let the init script create the directory |
588 |
-} |
589 |
|
590 |
diff --git a/sys-auth/consolekit/consolekit-1.2.1.ebuild b/sys-auth/consolekit/consolekit-1.2.1.ebuild |
591 |
deleted file mode 100644 |
592 |
index cc3e4dc331d..00000000000 |
593 |
--- a/sys-auth/consolekit/consolekit-1.2.1.ebuild |
594 |
+++ /dev/null |
595 |
@@ -1,132 +0,0 @@ |
596 |
-# Copyright 1999-2020 Gentoo Authors |
597 |
-# Distributed under the terms of the GNU General Public License v2 |
598 |
- |
599 |
-EAPI=6 |
600 |
-inherit autotools libtool linux-info ltprune pam xdg-utils |
601 |
- |
602 |
-MY_PN=ConsoleKit2 |
603 |
-MY_P=${MY_PN}-${PV} |
604 |
- |
605 |
-DESCRIPTION="Framework for defining and tracking users, login sessions and seats" |
606 |
-HOMEPAGE="https://github.com/ConsoleKit2/ConsoleKit2 https://www.freedesktop.org/wiki/Software/ConsoleKit" |
607 |
-SRC_URI="https://github.com/${MY_PN}/${MY_PN}/releases/download/${PV}/${MY_P}.tar.bz2" |
608 |
- |
609 |
-LICENSE="GPL-2" |
610 |
-SLOT="0" |
611 |
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux" |
612 |
-IUSE="acl cgroups debug doc evdev kernel_linux pam pm-utils policykit selinux test udev" |
613 |
-RESTRICT="!test? ( test )" |
614 |
- |
615 |
-COMMON_DEPEND=">=dev-libs/glib-2.40:2=[dbus] |
616 |
- >=sys-devel/gettext-0.19 |
617 |
- sys-apps/dbus |
618 |
- sys-libs/zlib:= |
619 |
- x11-libs/libX11:= |
620 |
- acl? ( |
621 |
- sys-apps/acl:= |
622 |
- >=virtual/udev-200 |
623 |
- ) |
624 |
- cgroups? ( |
625 |
- app-admin/cgmanager |
626 |
- >=sys-libs/libnih-1.0.2[dbus] |
627 |
- ) |
628 |
- evdev? ( dev-libs/libevdev:= ) |
629 |
- udev? ( |
630 |
- virtual/libudev |
631 |
- x11-libs/libdrm:= |
632 |
- ) |
633 |
- pam? ( sys-libs/pam ) |
634 |
- policykit? ( >=sys-auth/polkit-0.110 ) |
635 |
- selinux? ( sys-libs/libselinux )" |
636 |
-# pm-utils: bug 557432 |
637 |
-RDEPEND="${COMMON_DEPEND} |
638 |
- kernel_linux? ( sys-apps/coreutils[acl?] ) |
639 |
- pm-utils? ( sys-power/pm-utils ) |
640 |
- selinux? ( sec-policy/selinux-consolekit )" |
641 |
-DEPEND="${COMMON_DEPEND} |
642 |
- dev-libs/libxslt |
643 |
- virtual/pkgconfig |
644 |
- doc? ( app-text/xmlto ) |
645 |
- test? ( |
646 |
- app-text/docbook-xml-dtd:4.1.2 |
647 |
- app-text/xmlto |
648 |
- )" |
649 |
- |
650 |
-S=${WORKDIR}/${MY_P} |
651 |
- |
652 |
-QA_MULTILIB_PATHS="usr/lib/ConsoleKit/.*" |
653 |
- |
654 |
-pkg_setup() { |
655 |
- if use kernel_linux; then |
656 |
- # This is from https://bugs.gentoo.org/376939 |
657 |
- use acl && CONFIG_CHECK="~TMPFS_POSIX_ACL" |
658 |
- # This is required to get login-session-id string with pam_ck_connector.so |
659 |
- use pam && CONFIG_CHECK+=" ~AUDITSYSCALL" |
660 |
- linux-info_pkg_setup |
661 |
- fi |
662 |
-} |
663 |
- |
664 |
-src_prepare() { |
665 |
- xdg_environment_reset |
666 |
- |
667 |
- sed -i -e '/SystemdService/d' data/org.freedesktop.ConsoleKit.service.in || die |
668 |
- |
669 |
- default |
670 |
- # patch needs autoreconf, so dont need libtoolize |
671 |
- eautoreconf |
672 |
- #elibtoolize # bug 593314 |
673 |
-} |
674 |
- |
675 |
-src_configure() { |
676 |
- econf \ |
677 |
- XMLTO_FLAGS='--skip-validation' \ |
678 |
- --libexecdir="${EPREFIX}"/usr/lib/ConsoleKit \ |
679 |
- --localstatedir="${EPREFIX}"/var \ |
680 |
- $(use_enable pam pam-module) \ |
681 |
- $(use_enable doc docbook-docs) \ |
682 |
- $(use_enable test docbook-docs) \ |
683 |
- $(use_enable debug) \ |
684 |
- $(use_enable policykit polkit) \ |
685 |
- $(use_enable evdev libevdev) \ |
686 |
- $(use_enable acl udev-acl) \ |
687 |
- $(use_enable cgroups libcgmanager) \ |
688 |
- $(use_enable selinux libselinux) \ |
689 |
- $(use_enable udev libdrm) \ |
690 |
- $(use_enable udev libudev) \ |
691 |
- $(use_enable test tests) \ |
692 |
- --with-dbus-services="${EPREFIX}"/usr/share/dbus-1/services \ |
693 |
- --with-pam-module-dir="$(getpam_mod_dir)" \ |
694 |
- --with-xinitrc-dir="${EPREFIX}"/etc/X11/xinit/xinitrc.d \ |
695 |
- --without-systemdsystemunitdir |
696 |
-} |
697 |
- |
698 |
-src_install() { |
699 |
- emake \ |
700 |
- DESTDIR="${D}" \ |
701 |
- htmldocdir="${EPREFIX}"/usr/share/doc/${PF}/html \ |
702 |
- install |
703 |
- |
704 |
- dosym /usr/lib/ConsoleKit /usr/lib/${PN} |
705 |
- |
706 |
- dodoc AUTHORS HACKING NEWS README TODO |
707 |
- |
708 |
- newinitd "${FILESDIR}"/${PN}-1.0.0.initd consolekit |
709 |
- |
710 |
- keepdir /usr/lib/ConsoleKit/run-seat.d |
711 |
- keepdir /usr/lib/ConsoleKit/run-session.d |
712 |
- keepdir /etc/ConsoleKit/run-session.d |
713 |
- keepdir /var/log/ConsoleKit |
714 |
- |
715 |
- exeinto /etc/X11/xinit/xinitrc.d |
716 |
- newexe "${FILESDIR}"/90-consolekit-3 90-consolekit |
717 |
- |
718 |
- if use kernel_linux; then |
719 |
- # bug 571524 |
720 |
- exeinto /usr/lib/ConsoleKit/run-session.d |
721 |
- doexe "${FILESDIR}"/pam-foreground-compat.ck |
722 |
- fi |
723 |
- |
724 |
- prune_libtool_files --all # --all for pam_ck_connector.la |
725 |
- |
726 |
- rm -rf "${ED}"/var/run || die # let the init script create the directory |
727 |
-} |
728 |
|
729 |
diff --git a/sys-auth/consolekit/consolekit-9999.ebuild b/sys-auth/consolekit/consolekit-9999.ebuild |
730 |
deleted file mode 100644 |
731 |
index cec91280e66..00000000000 |
732 |
--- a/sys-auth/consolekit/consolekit-9999.ebuild |
733 |
+++ /dev/null |
734 |
@@ -1,128 +0,0 @@ |
735 |
-# Copyright 1999-2020 Gentoo Authors |
736 |
-# Distributed under the terms of the GNU General Public License v2 |
737 |
- |
738 |
-EAPI=6 |
739 |
-inherit autotools libtool git-r3 linux-info ltprune pam xdg-utils |
740 |
- |
741 |
-MY_PN=ConsoleKit2 |
742 |
-MY_P=${MY_PN}-${PV} |
743 |
- |
744 |
-DESCRIPTION="Framework for defining and tracking users, login sessions and seats" |
745 |
-HOMEPAGE="https://github.com/ConsoleKit2/ConsoleKit2 https://www.freedesktop.org/wiki/Software/ConsoleKit" |
746 |
-EGIT_REPO_URI="https://github.com/${MY_PN}/${MY_PN}.git" |
747 |
- |
748 |
-LICENSE="GPL-2" |
749 |
-SLOT="0" |
750 |
-KEYWORDS="" |
751 |
-IUSE="acl cgroups debug doc evdev kernel_linux pam pm-utils policykit selinux test udev" |
752 |
-RESTRICT="!test? ( test )" |
753 |
- |
754 |
-COMMON_DEPEND=">=dev-libs/glib-2.40:2=[dbus] |
755 |
- >=sys-devel/gettext-0.19 |
756 |
- sys-apps/dbus |
757 |
- sys-libs/zlib:= |
758 |
- x11-libs/libX11:= |
759 |
- acl? ( |
760 |
- sys-apps/acl:= |
761 |
- >=virtual/udev-200 |
762 |
- ) |
763 |
- cgroups? ( |
764 |
- app-admin/cgmanager |
765 |
- >=sys-libs/libnih-1.0.2[dbus] |
766 |
- ) |
767 |
- evdev? ( dev-libs/libevdev:= ) |
768 |
- udev? ( |
769 |
- virtual/libudev |
770 |
- x11-libs/libdrm:= |
771 |
- ) |
772 |
- pam? ( sys-libs/pam ) |
773 |
- policykit? ( >=sys-auth/polkit-0.110 ) |
774 |
- selinux? ( sys-libs/libselinux )" |
775 |
-# pm-utils: bug 557432 |
776 |
-RDEPEND="${COMMON_DEPEND} |
777 |
- kernel_linux? ( sys-apps/coreutils[acl?] ) |
778 |
- pm-utils? ( sys-power/pm-utils ) |
779 |
- selinux? ( sec-policy/selinux-consolekit )" |
780 |
-DEPEND="${COMMON_DEPEND} |
781 |
- dev-libs/libxslt |
782 |
- virtual/pkgconfig |
783 |
- doc? ( app-text/xmlto ) |
784 |
- test? ( |
785 |
- app-text/docbook-xml-dtd:4.1.2 |
786 |
- app-text/xmlto |
787 |
- )" |
788 |
- |
789 |
-QA_MULTILIB_PATHS="usr/lib/ConsoleKit/.*" |
790 |
- |
791 |
-pkg_setup() { |
792 |
- if use kernel_linux; then |
793 |
- # This is from https://bugs.gentoo.org/376939 |
794 |
- use acl && CONFIG_CHECK="~TMPFS_POSIX_ACL" |
795 |
- # This is required to get login-session-id string with pam_ck_connector.so |
796 |
- use pam && CONFIG_CHECK+=" ~AUDITSYSCALL" |
797 |
- linux-info_pkg_setup |
798 |
- fi |
799 |
-} |
800 |
- |
801 |
-src_prepare() { |
802 |
- xdg_environment_reset |
803 |
- |
804 |
- sed -i -e '/SystemdService/d' data/org.freedesktop.ConsoleKit.service.in || die |
805 |
- |
806 |
- default |
807 |
- eautoreconf |
808 |
- #elibtoolize # bug 593314 |
809 |
-} |
810 |
- |
811 |
-src_configure() { |
812 |
- econf \ |
813 |
- XMLTO_FLAGS='--skip-validation' \ |
814 |
- --libexecdir="${EPREFIX}"/usr/lib/ConsoleKit \ |
815 |
- --localstatedir="${EPREFIX}"/var \ |
816 |
- $(use_enable pam pam-module) \ |
817 |
- $(use_enable doc docbook-docs) \ |
818 |
- $(use_enable test docbook-docs) \ |
819 |
- $(use_enable debug) \ |
820 |
- $(use_enable policykit polkit) \ |
821 |
- $(use_enable evdev libevdev) \ |
822 |
- $(use_enable acl udev-acl) \ |
823 |
- $(use_enable cgroups libcgmanager) \ |
824 |
- $(use_enable selinux libselinux) \ |
825 |
- $(use_enable udev libudev) \ |
826 |
- $(use_enable test tests) \ |
827 |
- --with-dbus-services="${EPREFIX}"/usr/share/dbus-1/services \ |
828 |
- --with-pam-module-dir="$(getpam_mod_dir)" \ |
829 |
- --with-xinitrc-dir="${EPREFIX}"/etc/X11/xinit/xinitrc.d \ |
830 |
- --without-systemdsystemunitdir |
831 |
-} |
832 |
- |
833 |
-src_install() { |
834 |
- emake \ |
835 |
- DESTDIR="${D}" \ |
836 |
- htmldocdir="${EPREFIX}"/usr/share/doc/${PF}/html \ |
837 |
- install |
838 |
- |
839 |
- dosym /usr/lib/ConsoleKit /usr/lib/${PN} |
840 |
- |
841 |
- dodoc AUTHORS HACKING NEWS README TODO |
842 |
- |
843 |
- newinitd "${FILESDIR}"/${PN}-1.0.0.initd consolekit |
844 |
- |
845 |
- keepdir /usr/lib/ConsoleKit/run-seat.d |
846 |
- keepdir /usr/lib/ConsoleKit/run-session.d |
847 |
- keepdir /etc/ConsoleKit/run-session.d |
848 |
- keepdir /var/log/ConsoleKit |
849 |
- |
850 |
- exeinto /etc/X11/xinit/xinitrc.d |
851 |
- newexe "${FILESDIR}"/90-consolekit-3 90-consolekit |
852 |
- |
853 |
- if use kernel_linux; then |
854 |
- # bug 571524 |
855 |
- exeinto /usr/lib/ConsoleKit/run-session.d |
856 |
- doexe "${FILESDIR}"/pam-foreground-compat.ck |
857 |
- fi |
858 |
- |
859 |
- prune_libtool_files --all # --all for pam_ck_connector.la |
860 |
- |
861 |
- rm -rf "${ED}"/var/run || die # let the init script create the directory |
862 |
-} |
863 |
|
864 |
diff --git a/sys-auth/consolekit/files/90-consolekit-3 b/sys-auth/consolekit/files/90-consolekit-3 |
865 |
deleted file mode 100644 |
866 |
index 358fc24f1a7..00000000000 |
867 |
--- a/sys-auth/consolekit/files/90-consolekit-3 |
868 |
+++ /dev/null |
869 |
@@ -1,32 +0,0 @@ |
870 |
-# -*- sh -*- |
871 |
-# Xsession.d script for ck-launch-session. |
872 |
-# |
873 |
-# |
874 |
-# This file is sourced by Xsession(5), not executed. |
875 |
- |
876 |
-CK_LAUNCH_SESSION=/usr/bin/ck-launch-session |
877 |
- |
878 |
-is_on_console() { |
879 |
- session=$(dbus-send --system --dest=org.freedesktop.ConsoleKit \ |
880 |
- --type=method_call --print-reply --reply-timeout=2000 \ |
881 |
- /org/freedesktop/ConsoleKit/Manager \ |
882 |
- org.freedesktop.ConsoleKit.Manager.GetCurrentSession \ |
883 |
- | grep path | awk '{print $3}' | sed s/\"//g) |
884 |
- x11_display=$(dbus-send --system --dest=org.freedesktop.ConsoleKit \ |
885 |
- --type=method_call --print-reply --reply-timeout=2000 \ |
886 |
- $session org.freedesktop.ConsoleKit.Session.GetX11Display \ |
887 |
- | grep string | awk '{print $2}' | sed s/\"//g) |
888 |
- |
889 |
- if [ -z "$x11_display" ] ; then |
890 |
- return 0 |
891 |
- else |
892 |
- return 1 |
893 |
- fi |
894 |
-} |
895 |
- |
896 |
-# gdm already creates a CK session for us, so do not run the expensive D-Bus |
897 |
-# calls if we have $GDMSESSION |
898 |
-if [ -z "$GDMSESSION" ] && [ -x "$CK_LAUNCH_SESSION" ] && \ |
899 |
- ( [ -z "$XDG_SESSION_COOKIE" ] || is_on_console ) ; then |
900 |
- command="$CK_LAUNCH_SESSION $command" |
901 |
-fi |
902 |
|
903 |
diff --git a/sys-auth/consolekit/files/consolekit-0.2.rc b/sys-auth/consolekit/files/consolekit-0.2.rc |
904 |
deleted file mode 100644 |
905 |
index e2be0de6e1a..00000000000 |
906 |
--- a/sys-auth/consolekit/files/consolekit-0.2.rc |
907 |
+++ /dev/null |
908 |
@@ -1,25 +0,0 @@ |
909 |
-#!/sbin/openrc-run |
910 |
-# Copyright 1999-2016 Gentoo Foundation |
911 |
-# Distributed under the terms of the GNU General Public License, v2 or later |
912 |
- |
913 |
-depend() { |
914 |
- need dbus |
915 |
- use logger |
916 |
-} |
917 |
- |
918 |
-start() { |
919 |
- ebegin "Starting ConsoleKit daemon" |
920 |
- |
921 |
- checkpath -q -d -m 0755 /var/run/ConsoleKit |
922 |
- |
923 |
- start-stop-daemon --start -q \ |
924 |
- --pidfile /var/run/ConsoleKit/pid \ |
925 |
- --exec /usr/sbin/console-kit-daemon -- |
926 |
- eend $? |
927 |
-} |
928 |
- |
929 |
-stop() { |
930 |
- ebegin "Stopping ConsoleKit daemon" |
931 |
- start-stop-daemon --stop -q --pidfile /var/run/ConsoleKit/pid |
932 |
- eend $? |
933 |
-} |
934 |
|
935 |
diff --git a/sys-auth/consolekit/files/consolekit-0.4.5-polkit-automagic.patch b/sys-auth/consolekit/files/consolekit-0.4.5-polkit-automagic.patch |
936 |
deleted file mode 100644 |
937 |
index b896089d448..00000000000 |
938 |
--- a/sys-auth/consolekit/files/consolekit-0.4.5-polkit-automagic.patch |
939 |
+++ /dev/null |
940 |
@@ -1,30 +0,0 @@ |
941 |
-http://bugs.freedesktop.org/show_bug.cgi?id=47587 |
942 |
- |
943 |
---- configure.ac |
944 |
-+++ configure.ac |
945 |
-@@ -56,10 +56,21 @@ |
946 |
- gthread-2.0 >= $GLIB_REQUIRED_VERSION |
947 |
- ) |
948 |
- |
949 |
--PKG_CHECK_MODULES(POLKIT, |
950 |
-- polkit-gobject-1 >= $POLKIT_REQUIRED_VERSION, |
951 |
-- have_polkit=yes, |
952 |
-- have_polkit=no) |
953 |
-+AC_ARG_ENABLE([polkit], |
954 |
-+ AC_HELP_STRING([--enable-polkit], [Enable PolicyKit support (default auto)]), |
955 |
-+ enable_polkit=$enableval, |
956 |
-+ enable_polkit=auto) |
957 |
-+ |
958 |
-+if test "x$enable_polkit" != "xno"; then |
959 |
-+ PKG_CHECK_MODULES(POLKIT, |
960 |
-+ polkit-gobject-1 >= $POLKIT_REQUIRED_VERSION, |
961 |
-+ have_polkit=yes, |
962 |
-+ have_polkit=no) |
963 |
-+ if test "x$enable_polkit" = "xyes" -a "x$have_polkit" = "xno"; then |
964 |
-+ AC_MSG_ERROR([PolicyKit support explicitly requested but dependencies not found]) |
965 |
-+ fi |
966 |
-+fi |
967 |
-+ |
968 |
- if test "x$have_polkit" = "xyes" ; then |
969 |
- AC_DEFINE(HAVE_POLKIT, [], [Define if we have polkit]) |
970 |
- fi |
971 |
|
972 |
diff --git a/sys-auth/consolekit/files/consolekit-1.0.0.initd b/sys-auth/consolekit/files/consolekit-1.0.0.initd |
973 |
deleted file mode 100644 |
974 |
index 4fd1140fe20..00000000000 |
975 |
--- a/sys-auth/consolekit/files/consolekit-1.0.0.initd |
976 |
+++ /dev/null |
977 |
@@ -1,16 +0,0 @@ |
978 |
-#!/sbin/openrc-run |
979 |
-# Copyright 1999-2017 Gentoo Foundation |
980 |
-# Distributed under the terms of the GNU General Public License, v2 or later |
981 |
- |
982 |
-description="consolekit - tracks login sessions and seats" |
983 |
-pidfile="/run/ConsoleKit/pid" |
984 |
-command="/usr/sbin/console-kit-daemon" |
985 |
- |
986 |
-depend() { |
987 |
- need dbus |
988 |
- use logger |
989 |
-} |
990 |
- |
991 |
-start_pre() { |
992 |
- checkpath -q -d -m 0755 /run/ConsoleKit |
993 |
-} |
994 |
|
995 |
diff --git a/sys-auth/consolekit/files/consolekit-1.1.0-Remove-the-root-restriction-for-runtime-dirs.patch b/sys-auth/consolekit/files/consolekit-1.1.0-Remove-the-root-restriction-for-runtime-dirs.patch |
996 |
deleted file mode 100644 |
997 |
index 301c68f5d90..00000000000 |
998 |
--- a/sys-auth/consolekit/files/consolekit-1.1.0-Remove-the-root-restriction-for-runtime-dirs.patch |
999 |
+++ /dev/null |
1000 |
@@ -1,57 +0,0 @@ |
1001 |
-From 664d2fdbd966764836b1f4da2dbc5750c7f01f0f Mon Sep 17 00:00:00 2001 |
1002 |
-From: Eric Koegel <eric.koegel@×××××.com> |
1003 |
-Date: Sun, 10 Apr 2016 11:20:24 +0300 |
1004 |
-Subject: [PATCH] Remove the root restriction for runtime dirs |
1005 |
- |
1006 |
---- |
1007 |
- src/ck-sysdeps-unix.c | 5 ----- |
1008 |
- tools/ck-remove-directory.c | 10 ---------- |
1009 |
- 2 files changed, 15 deletions(-) |
1010 |
- |
1011 |
-diff --git a/src/ck-sysdeps-unix.c b/src/ck-sysdeps-unix.c |
1012 |
-index 67d8eac..ecd176a 100644 |
1013 |
---- a/src/ck-sysdeps-unix.c |
1014 |
-+++ b/src/ck-sysdeps-unix.c |
1015 |
-@@ -409,11 +409,6 @@ ck_generate_runtime_dir_for_user (guint uid) |
1016 |
- |
1017 |
- TRACE (); |
1018 |
- |
1019 |
-- if (uid < 1) { |
1020 |
-- g_debug ("We do not create runtime dirs for root"); |
1021 |
-- return NULL; |
1022 |
-- } |
1023 |
-- |
1024 |
- errno = 0; |
1025 |
- pwent = getpwuid (uid); |
1026 |
- if (pwent == NULL) { |
1027 |
-diff --git a/tools/ck-remove-directory.c b/tools/ck-remove-directory.c |
1028 |
-index cf44fd6..b1a5722 100644 |
1029 |
---- a/tools/ck-remove-directory.c |
1030 |
-+++ b/tools/ck-remove-directory.c |
1031 |
-@@ -51,11 +51,6 @@ become_user (uid_t uid, const gchar* dest) |
1032 |
- int res; |
1033 |
- struct passwd *pwent; |
1034 |
- |
1035 |
-- if (uid < 1) { |
1036 |
-- g_critical ("invalid UID"); |
1037 |
-- exit (1); |
1038 |
-- } |
1039 |
-- |
1040 |
- if (dest == NULL) { |
1041 |
- g_critical ("invalid dest"); |
1042 |
- exit (1); |
1043 |
-@@ -148,11 +143,6 @@ main (int argc, |
1044 |
- exit (1); |
1045 |
- } |
1046 |
- |
1047 |
-- if (user_id < 1) { |
1048 |
-- g_warning ("Invalid UID"); |
1049 |
-- exit (1); |
1050 |
-- } |
1051 |
-- |
1052 |
- /* Ensure we have a dest and that it starts with the correct prefix |
1053 |
- * so we don't remove something important. |
1054 |
- */ |
1055 |
--- |
1056 |
-2.7.3 |
1057 |
- |
1058 |
|
1059 |
diff --git a/sys-auth/consolekit/files/consolekit-cleanup_console_tags.patch b/sys-auth/consolekit/files/consolekit-cleanup_console_tags.patch |
1060 |
deleted file mode 100644 |
1061 |
index c02411ebded..00000000000 |
1062 |
--- a/sys-auth/consolekit/files/consolekit-cleanup_console_tags.patch |
1063 |
+++ /dev/null |
1064 |
@@ -1,67 +0,0 @@ |
1065 |
-http://bugs.gentoo.org/257761 |
1066 |
-http://patches.ubuntu.com/by-release/extracted/ubuntu/c/consolekit/ |
1067 |
- |
1068 |
---- src/main.c |
1069 |
-+++ src/main.c |
1070 |
-@@ -148,6 +148,43 @@ |
1071 |
- unlink (CONSOLE_KIT_PID_FILE); |
1072 |
- } |
1073 |
- |
1074 |
-+#define CONSOLE_TAGS_DIR "/var/run/console" |
1075 |
-+ |
1076 |
-+static void |
1077 |
-+delete_console_tags (void) |
1078 |
-+{ |
1079 |
-+ GDir *dir; |
1080 |
-+ GError *error = NULL; |
1081 |
-+ const gchar *name; |
1082 |
-+ |
1083 |
-+ g_debug ("Cleaning up %s", CONSOLE_TAGS_DIR); |
1084 |
-+ |
1085 |
-+ dir = g_dir_open (CONSOLE_TAGS_DIR, 0, &error); |
1086 |
-+ if (dir == NULL) { |
1087 |
-+ g_debug ("Couldn't open directory %s: %s", CONSOLE_TAGS_DIR, |
1088 |
-+ error->message); |
1089 |
-+ g_error_free (error); |
1090 |
-+ return; |
1091 |
-+ } |
1092 |
-+ while ((name = g_dir_read_name (dir)) != NULL) { |
1093 |
-+ gchar *file; |
1094 |
-+ file = g_build_filename (CONSOLE_TAGS_DIR, name, NULL); |
1095 |
-+ |
1096 |
-+ g_debug ("Removing tag file: %s", file); |
1097 |
-+ if (unlink (file) == -1) { |
1098 |
-+ g_warning ("Couldn't delete tag file: %s", file); |
1099 |
-+ } |
1100 |
-+ g_free (file); |
1101 |
-+ } |
1102 |
-+} |
1103 |
-+ |
1104 |
-+static void |
1105 |
-+cleanup (void) |
1106 |
-+{ |
1107 |
-+ delete_console_tags (); |
1108 |
-+ delete_pid (); |
1109 |
-+} |
1110 |
-+ |
1111 |
- /* copied from nautilus */ |
1112 |
- static int debug_log_pipes[2]; |
1113 |
- |
1114 |
-@@ -228,7 +265,7 @@ |
1115 |
- snprintf (pid, sizeof (pid), "%lu\n", (long unsigned) getpid ()); |
1116 |
- written = write (pf, pid, strlen (pid)); |
1117 |
- close (pf); |
1118 |
-- g_atexit (delete_pid); |
1119 |
-+ g_atexit (cleanup); |
1120 |
- } else { |
1121 |
- g_warning ("Unable to write pid file %s: %s", |
1122 |
- CONSOLE_KIT_PID_FILE, |
1123 |
-@@ -317,6 +354,8 @@ |
1124 |
- goto out; |
1125 |
- } |
1126 |
- |
1127 |
-+ delete_console_tags (); |
1128 |
-+ |
1129 |
- create_pid_file (); |
1130 |
- |
1131 |
- loop = g_main_loop_new (NULL, FALSE); |
1132 |
|
1133 |
diff --git a/sys-auth/consolekit/files/consolekit-shutdown-reboot-without-policies.patch b/sys-auth/consolekit/files/consolekit-shutdown-reboot-without-policies.patch |
1134 |
deleted file mode 100644 |
1135 |
index 6a46649f758..00000000000 |
1136 |
--- a/sys-auth/consolekit/files/consolekit-shutdown-reboot-without-policies.patch |
1137 |
+++ /dev/null |
1138 |
@@ -1,26 +0,0 @@ |
1139 |
-From: Romain Perier <mrpouet@g.o> |
1140 |
-Date: Sat, 24 Oct 2009 18:43:43 +0200 |
1141 |
-Subject: [PATCH] Be able to shutdown or reboot even without polkit or RBAC supports |
1142 |
- |
1143 |
-Ck does NOTHING at the origin if its built without polkit or RBAC supports, except |
1144 |
-display a warning using g_warning() (which does not make sense). |
1145 |
-The trick is to to call do_stop()/do_restart() in the #else directive :) |
1146 |
- |
1147 |
---- src/ck-manager.c |
1148 |
-+++ src/ck-manager.c |
1149 |
-@@ -1131,6 +1131,7 @@ |
1150 |
- check_rbac_permissions (manager, context, RBAC_SHUTDOWN_KEY, do_restart); |
1151 |
- #else |
1152 |
- g_warning ("Compiled without PolicyKit or RBAC support!"); |
1153 |
-+ do_restart(manager, context); |
1154 |
- #endif |
1155 |
- |
1156 |
- return TRUE; |
1157 |
-@@ -1207,6 +1208,7 @@ |
1158 |
- check_rbac_permissions (manager, context, RBAC_SHUTDOWN_KEY, do_stop); |
1159 |
- #else |
1160 |
- g_warning ("Compiled without PolicyKit or RBAC support!"); |
1161 |
-+ do_stop(manager, context); |
1162 |
- #endif |
1163 |
- |
1164 |
- return TRUE; |
1165 |
|
1166 |
diff --git a/sys-auth/consolekit/files/consolekit-udev-acl-install_to_usr.patch b/sys-auth/consolekit/files/consolekit-udev-acl-install_to_usr.patch |
1167 |
deleted file mode 100644 |
1168 |
index 3ef39873dbd..00000000000 |
1169 |
--- a/sys-auth/consolekit/files/consolekit-udev-acl-install_to_usr.patch |
1170 |
+++ /dev/null |
1171 |
@@ -1,28 +0,0 @@ |
1172 |
-http://bugs.gentoo.org/398049 |
1173 |
- |
1174 |
---- tools/Makefile.am |
1175 |
-+++ tools/Makefile.am |
1176 |
-@@ -144,11 +144,10 @@ |
1177 |
- $(NULL) |
1178 |
- |
1179 |
- if ENABLE_UDEV_ACL |
1180 |
--udevdir = $(UDEVDIR) |
1181 |
- udevrulesdir = $(UDEVDIR)/rules.d |
1182 |
- |
1183 |
- dist_udevrules_DATA = 70-udev-acl.rules |
1184 |
--udev_PROGRAMS = udev-acl |
1185 |
-+libexec_PROGRAMS = udev-acl |
1186 |
- |
1187 |
- udev_acl_SOURCES = udev-acl.c |
1188 |
- udev_acl_LDADD = $(UDEV_ACL_LIBS) |
1189 |
-@@ -156,7 +155,9 @@ |
1190 |
- |
1191 |
- install-exec-hook: |
1192 |
- mkdir -p $(DESTDIR)$(prefix)/lib/ConsoleKit/run-seat.d |
1193 |
-- ln -sf $(UDEVDIR)/udev-acl $(DESTDIR)$(prefix)/lib/ConsoleKit/run-seat.d/udev-acl.ck |
1194 |
-+ mkdir -p $(DESTDIR)$(UDEVDIR) |
1195 |
-+ ln -sf $(libexecdir)/udev-acl $(DESTDIR)$(prefix)/lib/ConsoleKit/run-seat.d/udev-acl.ck |
1196 |
-+ ln -sf $(libexecdir)/udev-acl $(DESTDIR)$(UDEVDIR)/udev-acl |
1197 |
- endif |
1198 |
- |
1199 |
- EXTRA_DIST = \ |
1200 |
|
1201 |
diff --git a/sys-auth/consolekit/files/pam-foreground-compat.ck b/sys-auth/consolekit/files/pam-foreground-compat.ck |
1202 |
deleted file mode 100644 |
1203 |
index 0697ca81ba4..00000000000 |
1204 |
--- a/sys-auth/consolekit/files/pam-foreground-compat.ck |
1205 |
+++ /dev/null |
1206 |
@@ -1,17 +0,0 @@ |
1207 |
-#!/bin/sh |
1208 |
-TAGDIR=/var/run/console |
1209 |
- |
1210 |
-[ -n "$CK_SESSION_USER_UID" ] || exit 1 |
1211 |
- |
1212 |
-TAGFILE="$TAGDIR/`getent passwd $CK_SESSION_USER_UID | cut -f 1 -d:`" |
1213 |
- |
1214 |
-if [ "$1" = "session_added" ]; then |
1215 |
- mkdir -p "$TAGDIR" |
1216 |
- echo "$CK_SESSION_ID" >> "$TAGFILE" |
1217 |
-fi |
1218 |
- |
1219 |
-if [ "$1" = "session_removed" ] && [ -e "$TAGFILE" ]; then |
1220 |
- sed -i "\%^$CK_SESSION_ID\$%d" "$TAGFILE" |
1221 |
- [ -s "$TAGFILE" ] || rm -f "$TAGFILE" |
1222 |
-fi |
1223 |
- |
1224 |
|
1225 |
diff --git a/sys-auth/consolekit/metadata.xml b/sys-auth/consolekit/metadata.xml |
1226 |
deleted file mode 100644 |
1227 |
index 3aa5069e61c..00000000000 |
1228 |
--- a/sys-auth/consolekit/metadata.xml |
1229 |
+++ /dev/null |
1230 |
@@ -1,22 +0,0 @@ |
1231 |
-<?xml version='1.0' encoding='UTF-8'?> |
1232 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
1233 |
-<pkgmetadata> |
1234 |
- <maintainer type="person"> |
1235 |
- <email>perfinion@g.o</email> |
1236 |
- <name>Jason Zaman</name> |
1237 |
- </maintainer> |
1238 |
- <maintainer type="project"> |
1239 |
- <email>freedesktop-bugs@g.o</email> |
1240 |
- </maintainer> |
1241 |
- <use> |
1242 |
- <flag name="cgroups">Use the kernel to track processes instead of the session cookie.</flag> |
1243 |
- <flag name="evdev">For handling VT switching with a session controller.</flag> |
1244 |
- <flag name="pm-utils">Adds support for suspend/resume using <pkg>sys-power/pm-utils</pkg></flag> |
1245 |
- <flag name="policykit">Use the PolicyKit framework (<pkg>sys-auth/polkit</pkg>) to get authorization for suspend/shutdown.</flag> |
1246 |
- <flag name="systemd-units">Install systemd unit files to replace the modern functionality of logind in <pkg>sys-apps/systemd</pkg>. Not recommended.</flag> |
1247 |
- </use> |
1248 |
- <upstream> |
1249 |
- <remote-id type="github">ConsoleKit2/ConsoleKit2</remote-id> |
1250 |
- <remote-id type="launchpad">debian</remote-id> |
1251 |
- </upstream> |
1252 |
-</pkgmetadata> |