From d934827bf44b7cfcf6711964418148fa60877668 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 25 Nov 2020 22:39:15 +0000 Subject: gentoo resync : 25.11.2020 --- sys-auth/consolekit/Manifest | 22 ---- sys-auth/consolekit/consolekit-0.4.6.ebuild | 125 ------------------- sys-auth/consolekit/consolekit-1.1.0-r1.ebuild | 120 ------------------- sys-auth/consolekit/consolekit-1.1.2.ebuild | 131 -------------------- sys-auth/consolekit/consolekit-1.2.0.ebuild | 132 --------------------- sys-auth/consolekit/consolekit-1.2.1.ebuild | 132 --------------------- sys-auth/consolekit/consolekit-9999.ebuild | 128 -------------------- sys-auth/consolekit/files/90-consolekit-3 | 32 ----- sys-auth/consolekit/files/consolekit-0.2.rc | 25 ---- .../files/consolekit-0.4.5-polkit-automagic.patch | 30 ----- sys-auth/consolekit/files/consolekit-1.0.0.initd | 16 --- ...ove-the-root-restriction-for-runtime-dirs.patch | 57 --------- .../files/consolekit-cleanup_console_tags.patch | 67 ----------- ...nsolekit-shutdown-reboot-without-policies.patch | 26 ---- .../files/consolekit-udev-acl-install_to_usr.patch | 28 ----- sys-auth/consolekit/files/pam-foreground-compat.ck | 17 --- sys-auth/consolekit/metadata.xml | 22 ---- 17 files changed, 1110 deletions(-) delete mode 100644 sys-auth/consolekit/Manifest delete mode 100644 sys-auth/consolekit/consolekit-0.4.6.ebuild delete mode 100644 sys-auth/consolekit/consolekit-1.1.0-r1.ebuild delete mode 100644 sys-auth/consolekit/consolekit-1.1.2.ebuild delete mode 100644 sys-auth/consolekit/consolekit-1.2.0.ebuild delete mode 100644 sys-auth/consolekit/consolekit-1.2.1.ebuild delete mode 100644 sys-auth/consolekit/consolekit-9999.ebuild delete mode 100644 sys-auth/consolekit/files/90-consolekit-3 delete mode 100644 sys-auth/consolekit/files/consolekit-0.2.rc delete mode 100644 sys-auth/consolekit/files/consolekit-0.4.5-polkit-automagic.patch delete mode 100644 sys-auth/consolekit/files/consolekit-1.0.0.initd delete mode 100644 sys-auth/consolekit/files/consolekit-1.1.0-Remove-the-root-restriction-for-runtime-dirs.patch delete mode 100644 sys-auth/consolekit/files/consolekit-cleanup_console_tags.patch delete mode 100644 sys-auth/consolekit/files/consolekit-shutdown-reboot-without-policies.patch delete mode 100644 sys-auth/consolekit/files/consolekit-udev-acl-install_to_usr.patch delete mode 100644 sys-auth/consolekit/files/pam-foreground-compat.ck delete mode 100644 sys-auth/consolekit/metadata.xml (limited to 'sys-auth/consolekit') diff --git a/sys-auth/consolekit/Manifest b/sys-auth/consolekit/Manifest deleted file mode 100644 index 774251633fef..000000000000 --- a/sys-auth/consolekit/Manifest +++ /dev/null @@ -1,22 +0,0 @@ -AUX 90-consolekit-3 1027 BLAKE2B aa264d21acf56c93b71bc16bdbafca2758a018d08ed7632b63920b2284ec547ce086e3e440a2bddd1b03db0be3c5a124658eabdcfc60013e86fca99229912514 SHA512 2a1273d775aeb69a3e0873d6a82868d909cdbc3d5003b7625ab12e76ef44f115b464514e7890f7e562c44a92383475e698c3679f6c9f1bf42b5199d03d8c604a -AUX consolekit-0.2.rc 513 BLAKE2B 19257e33f95e7ac9008789e2b023e43ac7a5a085ab9f5dc174313346fcf8d5b023cd74a4542de3d5587010cb4039c41a3513748022b6d30f43d293ecfa55a638 SHA512 09263369d9769d34305c716ab107a01227b615d2cca4ff067fbc629d15fa5b478dcb70f505b8b981eaf9baef41ba2de7f09a356efd2ce9cb0924de5154c8fdc7 -AUX consolekit-0.4.5-polkit-automagic.patch 870 BLAKE2B 30a92f26c69d09599a30db606a771ae29411302e344ea8bccccc732c483d0760804ded0e8599307d7fe41b18172bfddc6a2533e8921619e50e690495a9314f68 SHA512 50c2bafe2bf995bd5ef863557a1783211e172d77d819c8001c9007b4833b4e6b3ccfa7c04bf6811086dff6371be488411fdd23a49cecec3f545c388a0bbd61ab -AUX consolekit-1.0.0.initd 360 BLAKE2B a67c6fe5e5fd34db11eba6dd12fbd9dc4d079e76d4e9f6b5f5c94f5d957151c1f7aa1a007b8d5aecf9d399df67e07a365523d933b9f057026c66983c00d06fef SHA512 68cbc15ea711c8cfbd810627912a1fa050b076804013e35a370ded64affe7458db6f89e9f4436a685fa8ccd4840f299790e9e2641ecf474bd029254f7198067b -AUX consolekit-1.1.0-Remove-the-root-restriction-for-runtime-dirs.patch 1640 BLAKE2B e41722a5e6b2a057e867ce13d0cd533e7582b46fa4f62d25f9e80d7645158c36e193560a37bb3c7e6453c09a751e40c798c217e7a69b34c4b05166b6f11bc7e5 SHA512 a56ff368c1a674d4088a68db972bcb15c0107339704063839cf6b024eee000cff36dc9e39886f59ace3f5aefc4807de126225960e90b49b1d53bcd1674fc5d71 -AUX consolekit-cleanup_console_tags.patch 1596 BLAKE2B e3dd7f1c5e34e3bb6c09ceefdb2a5a544bd934907f625c58aef3325337223d8b518834fcb0806e4ea03f2594a635e99bfcff022795a6fb897c6e6e3ec222d792 SHA512 8639c45baefc5fa4751654345225029b455e9a5ee5be5835c69ff0d6bf3532fc1ccf606fdb0cd29849071a26ab3defff8f7e31d19e83117dfe467b6209a37a77 -AUX consolekit-shutdown-reboot-without-policies.patch 924 BLAKE2B ab8c6931b30850e75dc865438370713bad87a635d4a4051a91a4c035f64918fea5bdc9e1a4fa61d8ae2885e65bcc1f915cf14d5b6b04495ab685d98e4f8944bf SHA512 7bca0a448329cabbaa42028e212edc4ae242dcef9947cc2d49e66280cfae1193aedcac9921be90b9dd24265c17c3c53876bbea1ca223906a20252d94c4d65a9c -AUX consolekit-udev-acl-install_to_usr.patch 750 BLAKE2B 61d79d690b7c70ddd8bee68739f1b5b1ff0a1c4598b187da187333730dd7662fdbc8b53e05616a7aea18a889da41cbaa18d27984262f8077417cef83aed5c4d8 SHA512 d2d6fcedea5e72f5a1b387f411ac62a59fd3c9e90a318bd85c35d210b89b18f01511f6b05352c1a4a9508622f0b9242c1b9c15d5ae4f8adf2819b6c3a0ff5ac9 -AUX pam-foreground-compat.ck 389 BLAKE2B 641c972edf4ce3a14e31f4e2f03b58150ce0c6b8e80becc917d057c694a4b202ee418da7a7441a24fc65f6ec1e078e24775b72cbfebc9be0a28a5036bf2f2fff SHA512 3cabd23ff7dc5de0a86284c3a3d3ff923228969cc954a1036290d4f7f6d58646ea6ea1445f472476b6f319df4dcd22f71e5e0f5cc8c845cd7e0b148af689ce5a -DIST ConsoleKit-0.4.6.tar.xz 366572 BLAKE2B ab4c277fd47b8f99ce8c5a67de86e89b1bdd8d6a5a8682dd436feefec76f7902e71c05d9d22d52c297d3294a945f057d53f18c9c9b7d29c84aa7c26665b05fee SHA512 54955e3e83778a9216846104da8762fd50a37190e209127dd5d211e2227da617e14f6f5c1359905396d299656e526d14e1187b28eaff7d0ae1d7563dc8d9b46d -DIST ConsoleKit2-1.1.0.tar.bz2 630178 BLAKE2B 20d1994a19fbe03d411ac5437f77b75571fbdc19478100676e51e2a1232c643f4b0c86125b5bf1d42aeb5cfb7c8b34601221d674ac27d9bf3112fcd8a83afacb SHA512 14ded07d4140e7a31132de21e84c2878475676b8c98f72b42340708972ed384abb9ba9380d74719718fc220c001387c788cf709cd15f8b19d598467dfe8a57df -DIST ConsoleKit2-1.1.2.tar.bz2 1125567 BLAKE2B 1b7c60d224ea4197687c566d324a302aa2f5ed92ed0cfc563ba4d42f78af2999d1693e4587208e5412d042fb0cff99919dfa02ca5b5a43bda3310c17b39ca5d6 SHA512 fadca85e05c176b06ead40fba5c068d497bf69bcc322287363d0c27cdd6627b758295db1ef534b908c0e6240486430d8cb36660b4d71216a60d19a52d6d0db39 -DIST ConsoleKit2-1.2.0.tar.bz2 1125402 BLAKE2B c2119287ff173783c377a1353f8ce59432f8aa3e64f654716c895fadb5d07462069e457aae7925a6c44bc48bfd4147fc10e9f488a39714386fb6c14bced09f36 SHA512 c0f6e629b7229c2ffaafe8da899970b48c8372402447af18560fffd8804d9ab91a4ad2eb82c8f648a14807f8ccc5fb1ab4366de14faa8a2d5fb3767a6a4253f7 -DIST ConsoleKit2-1.2.1.tar.bz2 1182946 BLAKE2B f76f99008c78bd3a318c918776129072944e4c3ac18348960e3a725179d3ce4dc2cfb4d04ec5c143bb998f23f63cf36c0f88d8296dc3d0a382a138f3a0a2fecc SHA512 31befe89f7fa604138bfb0722fc6cf12f0934bac004f98fc331004eb5a7f466ed7bd0dc9adc9869da739974208f9a3bc125068ff8a60d4b2badb58ef70a3eb10 -DIST consolekit_0.4.6-4.debian.tar.gz 12192 BLAKE2B e88ed907ea3ceecb9ac399618614b1aa5d7eb2c46a706451d78e4ec1598dee5a02d6c5a1b0dd678f6bed4c25277884ec6969a23f8181ef3d8ede94452b6570db SHA512 f7fc5965b1f495d16a8ca167940431bc2569e9bde9e4a356b9c9ed00c2825db61da7b6db3d434d977fff72b3aaef30c455a365b9eba282a887a523753613b58f -EBUILD consolekit-0.4.6.ebuild 3406 BLAKE2B 6d49e5357209d35c35f275c4446d1928f305e656a2cc39933d9ffedfd41bfbd080a120cc2baaf59f68f3a75e6e9fa9ada06cc4925f5c515f9c60e045a03d21c3 SHA512 facce2912931d60c4ba905693ef0f7965617ff66062f1fea44d70ca386e370983b8f854be8ae7a9fbed66317041e27bd590d4baf331364b3b1ee2e556f03e737 -EBUILD consolekit-1.1.0-r1.ebuild 3252 BLAKE2B cc8be7fa6e9aad8f28ab3892253c6ace2cb20928361fbe45126f80bcaac87cf286564af16b6e4f62696ebb66aeae65d40495bb2211ee7ff4708234b71758662d SHA512 84aadd15ceed3a78a5058590ec7ff460e2c0836e1c9dea20a8177865b7b26666e12f0e4adea280e0eac1485f2a59c141d7a4fc8236ef6d880c192e2db0712e94 -EBUILD consolekit-1.1.2.ebuild 3519 BLAKE2B d37892a8e0e01736e9fd03c545a4f285b9c4ef7441f26cf5ed9428e6b193ab1257d31b056ff3bcd399cb2f2c9fa4d293ad450619a7be7d1578a347399ede1574 SHA512 4b3b4b32c5f9ddcf548b5b6c892b27be06f3e5ee2a629a55874c41b145bec733cff43fbe38a6d408cdc8532fe3c8cee660be6a66454eec4a8116448e31b60458 -EBUILD consolekit-1.2.0.ebuild 3555 BLAKE2B 38d5ee8742efb528182cc8bb3dc110dc8582015977bd36722eaccb9e17772bc325b9a640672dd0755d5fd86f5f73a21e5e5d662b91242004fbdf395224e4e9a9 SHA512 29d8546c897ac53277db6cddef3c7e57dd0e6d6e3a9496559b409663e4ef5e39ea9622ea00449b609bf6324b7e9e049beec2ed47d8f2ede52fe9a08f36d2fc48 -EBUILD consolekit-1.2.1.ebuild 3553 BLAKE2B b549800c1925f47a3ef1da7defccbcd186a788c627cb17be5b3c699f409bc9941b7ef11661a8e498d7d873f83251db33cb7948e63d5bf5a1177432228415b49b SHA512 062e12668cb0e23758b58e8da95f961d97b67735173e960cf20260074b04bb1e2bdcefaee1010b05d8e808ecf4bbbb4dbfed712ce92afa9864fefe2c528264bb -EBUILD consolekit-9999.ebuild 3344 BLAKE2B b504b18a9d6c07b1c0e737afe23b49a29804bb5db3d9d8ce17e1032a856e9bd6b8723c14f0373560a9099531a2535f8d18aea583823752ae3574114f7f125fa0 SHA512 29b1cf34f1ec36dcc6c1f5772ff33b2fd55d04b6743bf1f4a5e4f7c573a0edc4157fe0028490181f71ae63f5feaac38a83a10c05f069878da9ec892fabf8e5a2 -MISC metadata.xml 1053 BLAKE2B 221df4a94a8c48265cc70ab9fa60a409fdfaa0cf9662a3b89b3851e6aac9664e183e54bf09b957ee5f8f69dd3bdcb9d5c8493071d00dde7daf11378f0bed2fd7 SHA512 866958aa11b4410414886c8de76948212e356bb9784f241238aae0bb1b5cccc39731b660ec7affe88aff1095470c37ff076bd09a7546d202aa7a95acc5748014 diff --git a/sys-auth/consolekit/consolekit-0.4.6.ebuild b/sys-auth/consolekit/consolekit-0.4.6.ebuild deleted file mode 100644 index e190382dadf5..000000000000 --- a/sys-auth/consolekit/consolekit-0.4.6.ebuild +++ /dev/null @@ -1,125 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -inherit autotools eutils linux-info ltprune pam systemd - -MY_PN=ConsoleKit -MY_P=${MY_PN}-${PV} - -DESCRIPTION="Framework for defining and tracking users, login sessions and seats" -HOMEPAGE="https://www.freedesktop.org/wiki/Software/ConsoleKit" -SRC_URI="https://www.freedesktop.org/software/${MY_PN}/dist/${MY_P}.tar.xz - https://launchpad.net/debian/+archive/primary/+files/${PN}_${PV}-4.debian.tar.gz" # for logrotate file - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux" -IUSE="acl debug doc kernel_linux pam policykit selinux systemd-units test" -RESTRICT="!test? ( test )" - -COMMON_DEPEND=">=dev-libs/dbus-glib-0.100:= - >=dev-libs/glib-2.38.2-r1:2= - sys-libs/zlib:= - x11-libs/libX11:= - acl? ( - sys-apps/acl:= - >=virtual/udev-200 - ) - pam? ( sys-libs/pam ) - policykit? ( >=sys-auth/polkit-0.110 )" -RDEPEND="${COMMON_DEPEND} - kernel_linux? ( sys-apps/coreutils[acl?] ) - selinux? ( sec-policy/selinux-consolekit )" -DEPEND="${COMMON_DEPEND} - dev-libs/libxslt - virtual/pkgconfig - doc? ( app-text/xmlto ) - test? ( - app-text/docbook-xml-dtd:4.1.2 - app-text/xmlto - )" - -S=${WORKDIR}/${MY_P} - -QA_MULTILIB_PATHS="usr/lib/ConsoleKit/.*" - -pkg_setup() { - if use kernel_linux; then - # This is from https://bugs.gentoo.org/376939 - use acl && CONFIG_CHECK="~TMPFS_POSIX_ACL" - # This is required to get login-session-id string with pam_ck_connector.so - use pam && CONFIG_CHECK+=" ~AUDITSYSCALL" - linux-info_pkg_setup - fi -} - -src_prepare() { - epatch \ - "${FILESDIR}"/${PN}-cleanup_console_tags.patch \ - "${FILESDIR}"/${PN}-shutdown-reboot-without-policies.patch \ - "${FILESDIR}"/${PN}-udev-acl-install_to_usr.patch \ - "${FILESDIR}"/${PN}-0.4.5-polkit-automagic.patch - - if ! use systemd-units; then - sed -i -e '/SystemdService/d' data/org.freedesktop.ConsoleKit.service.in || die - fi - - eautoreconf -} - -src_configure() { - local myconf - if use systemd-units; then - myconf="$(systemd_with_unitdir)" - else - myconf="--with-systemdsystemunitdir=/tmp" - fi - - econf \ - XMLTO_FLAGS='--skip-validation' \ - --libexecdir="${EPREFIX}"/usr/lib/${MY_PN} \ - --localstatedir="${EPREFIX}"/var \ - $(use_enable pam pam-module) \ - $(use_enable doc docbook-docs) \ - $(use_enable test docbook-docs) \ - $(use_enable debug) \ - $(use_enable policykit polkit) \ - $(use_enable acl udev-acl) \ - --with-dbus-services="${EPREFIX}"/usr/share/dbus-1/services \ - --with-pam-module-dir="$(getpam_mod_dir)" \ - ${myconf} -} - -src_install() { - emake \ - DESTDIR="${D}" \ - htmldocdir="${EPREFIX}"/usr/share/doc/${PF}/html \ - install - - dosym /usr/lib/${MY_PN} /usr/lib/${PN} - - dodoc AUTHORS HACKING NEWS README TODO - - newinitd "${FILESDIR}"/${PN}-0.2.rc consolekit - - keepdir /usr/lib/ConsoleKit/run-seat.d - keepdir /usr/lib/ConsoleKit/run-session.d - keepdir /etc/ConsoleKit/run-session.d - keepdir /var/log/ConsoleKit - - exeinto /etc/X11/xinit/xinitrc.d - newexe "${FILESDIR}"/90-consolekit-3 90-consolekit - - exeinto /usr/lib/ConsoleKit/run-session.d - doexe "${FILESDIR}"/pam-foreground-compat.ck - - prune_libtool_files --all # --all for pam_ck_connector.la - - use systemd-units || rm -rf "${ED}"/tmp - - rm -rf "${ED}"/var/run # let the init script create the directory - - insinto /etc/logrotate.d - newins "${WORKDIR}"/debian/${PN}.logrotate ${PN} #374513 -} diff --git a/sys-auth/consolekit/consolekit-1.1.0-r1.ebuild b/sys-auth/consolekit/consolekit-1.1.0-r1.ebuild deleted file mode 100644 index 6cfe969c7952..000000000000 --- a/sys-auth/consolekit/consolekit-1.1.0-r1.ebuild +++ /dev/null @@ -1,120 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit libtool linux-info ltprune pam - -MY_PN=ConsoleKit2 -MY_P=${MY_PN}-${PV} - -DESCRIPTION="Framework for defining and tracking users, login sessions and seats" -HOMEPAGE="https://github.com/ConsoleKit2/ConsoleKit2 https://www.freedesktop.org/wiki/Software/ConsoleKit" -SRC_URI="https://github.com/${MY_PN}/${MY_PN}/releases/download/${PV}/${MY_P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux" -IUSE="acl cgroups debug doc kernel_linux pam pm-utils policykit selinux test" -RESTRICT="!test? ( test )" - -COMMON_DEPEND=">=dev-libs/glib-2.40:2=[dbus] - >=sys-devel/gettext-0.19 - sys-apps/dbus - sys-libs/zlib:= - x11-libs/libX11:= - acl? ( - sys-apps/acl:= - >=virtual/udev-200 - ) - cgroups? ( - app-admin/cgmanager - >=sys-libs/libnih-1.0.2[dbus] - ) - pam? ( sys-libs/pam ) - policykit? ( >=sys-auth/polkit-0.110 )" -# pm-utils: bug 557432 -RDEPEND="${COMMON_DEPEND} - kernel_linux? ( sys-apps/coreutils[acl?] ) - pm-utils? ( sys-power/pm-utils ) - selinux? ( sec-policy/selinux-consolekit )" -DEPEND="${COMMON_DEPEND} - dev-libs/libxslt - virtual/pkgconfig - doc? ( app-text/xmlto ) - test? ( - app-text/docbook-xml-dtd:4.1.2 - app-text/xmlto - )" - -S=${WORKDIR}/${MY_P} - -QA_MULTILIB_PATHS="usr/lib/ConsoleKit/.*" - -PATCHES=( "${FILESDIR}/${P}-Remove-the-root-restriction-for-runtime-dirs.patch" ) - -pkg_setup() { - if use kernel_linux; then - # This is from https://bugs.gentoo.org/376939 - use acl && CONFIG_CHECK="~TMPFS_POSIX_ACL" - # This is required to get login-session-id string with pam_ck_connector.so - use pam && CONFIG_CHECK+=" ~AUDITSYSCALL" - linux-info_pkg_setup - fi -} - -src_prepare() { - sed -i -e '/SystemdService/d' data/org.freedesktop.ConsoleKit.service.in || die - - default - elibtoolize # bug 593314 -} - -src_configure() { - econf \ - XMLTO_FLAGS='--skip-validation' \ - --libexecdir="${EPREFIX}"/usr/lib/ConsoleKit \ - --localstatedir="${EPREFIX}"/var \ - $(use_enable pam pam-module) \ - $(use_enable doc docbook-docs) \ - $(use_enable test docbook-docs) \ - $(use_enable debug) \ - $(use_enable policykit polkit) \ - $(use_enable acl udev-acl) \ - $(use_enable cgroups) \ - $(use_enable test tests) \ - --with-dbus-services="${EPREFIX}"/usr/share/dbus-1/services \ - --with-pam-module-dir="$(getpam_mod_dir)" \ - --with-xinitrc-dir="${EPREFIX}"/etc/X11/xinit/xinitrc.d \ - --without-systemdsystemunitdir -} - -src_install() { - emake \ - DESTDIR="${D}" \ - htmldocdir="${EPREFIX}"/usr/share/doc/${PF}/html \ - install - - dosym /usr/lib/ConsoleKit /usr/lib/${PN} - - dodoc AUTHORS HACKING NEWS README TODO - - newinitd "${FILESDIR}"/${PN}-1.0.0.initd consolekit - - keepdir /usr/lib/ConsoleKit/run-seat.d - keepdir /usr/lib/ConsoleKit/run-session.d - keepdir /etc/ConsoleKit/run-session.d - keepdir /var/log/ConsoleKit - - exeinto /etc/X11/xinit/xinitrc.d - newexe "${FILESDIR}"/90-consolekit-3 90-consolekit - - if use kernel_linux; then - # bug 571524 - exeinto /usr/lib/ConsoleKit/run-session.d - doexe "${FILESDIR}"/pam-foreground-compat.ck - fi - - prune_libtool_files --all # --all for pam_ck_connector.la - - rm -rf "${ED}"/var/run || die # let the init script create the directory -} diff --git a/sys-auth/consolekit/consolekit-1.1.2.ebuild b/sys-auth/consolekit/consolekit-1.1.2.ebuild deleted file mode 100644 index 9eb051c9c376..000000000000 --- a/sys-auth/consolekit/consolekit-1.1.2.ebuild +++ /dev/null @@ -1,131 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit autotools libtool linux-info ltprune pam xdg-utils - -MY_PN=ConsoleKit2 -MY_P=${MY_PN}-${PV} - -DESCRIPTION="Framework for defining and tracking users, login sessions and seats" -HOMEPAGE="https://github.com/ConsoleKit2/ConsoleKit2 https://www.freedesktop.org/wiki/Software/ConsoleKit" -SRC_URI="https://github.com/${MY_PN}/${MY_PN}/releases/download/${PV}/${MY_P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux" -IUSE="acl cgroups debug doc evdev kernel_linux pam pm-utils policykit selinux test udev" -RESTRICT="!test? ( test )" - -COMMON_DEPEND=">=dev-libs/glib-2.40:2=[dbus] - >=sys-devel/gettext-0.19 - sys-apps/dbus - sys-libs/zlib:= - x11-libs/libX11:= - acl? ( - sys-apps/acl:= - >=virtual/udev-200 - ) - cgroups? ( - app-admin/cgmanager - >=sys-libs/libnih-1.0.2[dbus] - ) - evdev? ( dev-libs/libevdev:= ) - udev? ( - virtual/libudev - x11-libs/libdrm:= - ) - pam? ( sys-libs/pam ) - policykit? ( >=sys-auth/polkit-0.110 ) - selinux? ( sys-libs/libselinux )" -# pm-utils: bug 557432 -RDEPEND="${COMMON_DEPEND} - kernel_linux? ( sys-apps/coreutils[acl?] ) - pm-utils? ( sys-power/pm-utils ) - selinux? ( sec-policy/selinux-consolekit )" -DEPEND="${COMMON_DEPEND} - dev-libs/libxslt - virtual/pkgconfig - doc? ( app-text/xmlto ) - test? ( - app-text/docbook-xml-dtd:4.1.2 - app-text/xmlto - )" - -S=${WORKDIR}/${MY_P} - -QA_MULTILIB_PATHS="usr/lib/ConsoleKit/.*" - -pkg_setup() { - if use kernel_linux; then - # This is from https://bugs.gentoo.org/376939 - use acl && CONFIG_CHECK="~TMPFS_POSIX_ACL" - # This is required to get login-session-id string with pam_ck_connector.so - use pam && CONFIG_CHECK+=" ~AUDITSYSCALL" - linux-info_pkg_setup - fi -} - -src_prepare() { - xdg_environment_reset - - sed -i -e '/SystemdService/d' data/org.freedesktop.ConsoleKit.service.in || die - - default - # patch needs autoreconf, so dont need libtoolize - eautoreconf - #elibtoolize # bug 593314 -} - -src_configure() { - econf \ - XMLTO_FLAGS='--skip-validation' \ - --libexecdir="${EPREFIX}"/usr/lib/ConsoleKit \ - --localstatedir="${EPREFIX}"/var \ - $(use_enable pam pam-module) \ - $(use_enable doc docbook-docs) \ - $(use_enable test docbook-docs) \ - $(use_enable debug) \ - $(use_enable policykit polkit) \ - $(use_enable evdev libevdev) \ - $(use_enable acl udev-acl) \ - $(use_enable cgroups libcgmanager) \ - $(use_enable selinux libselinux) \ - $(use_enable udev libudev) \ - $(use_enable test tests) \ - --with-dbus-services="${EPREFIX}"/usr/share/dbus-1/services \ - --with-pam-module-dir="$(getpam_mod_dir)" \ - --with-xinitrc-dir="${EPREFIX}"/etc/X11/xinit/xinitrc.d \ - --without-systemdsystemunitdir -} - -src_install() { - emake \ - DESTDIR="${D}" \ - htmldocdir="${EPREFIX}"/usr/share/doc/${PF}/html \ - install - - dosym /usr/lib/ConsoleKit /usr/lib/${PN} - - dodoc AUTHORS HACKING NEWS README TODO - - newinitd "${FILESDIR}"/${PN}-1.0.0.initd consolekit - - keepdir /usr/lib/ConsoleKit/run-seat.d - keepdir /usr/lib/ConsoleKit/run-session.d - keepdir /etc/ConsoleKit/run-session.d - keepdir /var/log/ConsoleKit - - exeinto /etc/X11/xinit/xinitrc.d - newexe "${FILESDIR}"/90-consolekit-3 90-consolekit - - if use kernel_linux; then - # bug 571524 - exeinto /usr/lib/ConsoleKit/run-session.d - doexe "${FILESDIR}"/pam-foreground-compat.ck - fi - - prune_libtool_files --all # --all for pam_ck_connector.la - - rm -rf "${ED}"/var/run || die # let the init script create the directory -} diff --git a/sys-auth/consolekit/consolekit-1.2.0.ebuild b/sys-auth/consolekit/consolekit-1.2.0.ebuild deleted file mode 100644 index 853ffde35398..000000000000 --- a/sys-auth/consolekit/consolekit-1.2.0.ebuild +++ /dev/null @@ -1,132 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit autotools libtool linux-info ltprune pam xdg-utils - -MY_PN=ConsoleKit2 -MY_P=${MY_PN}-${PV} - -DESCRIPTION="Framework for defining and tracking users, login sessions and seats" -HOMEPAGE="https://github.com/ConsoleKit2/ConsoleKit2 https://www.freedesktop.org/wiki/Software/ConsoleKit" -SRC_URI="https://github.com/${MY_PN}/${MY_PN}/releases/download/${PV}/${MY_P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ppc ppc64 s390 ~sparc x86 ~amd64-linux ~x86-linux" -IUSE="acl cgroups debug doc evdev kernel_linux pam pm-utils policykit selinux test udev" -RESTRICT="!test? ( test )" - -COMMON_DEPEND=">=dev-libs/glib-2.40:2=[dbus] - >=sys-devel/gettext-0.19 - sys-apps/dbus - sys-libs/zlib:= - x11-libs/libX11:= - acl? ( - sys-apps/acl:= - >=virtual/udev-200 - ) - cgroups? ( - app-admin/cgmanager - >=sys-libs/libnih-1.0.2[dbus] - ) - evdev? ( dev-libs/libevdev:= ) - udev? ( - virtual/libudev - x11-libs/libdrm:= - ) - pam? ( sys-libs/pam ) - policykit? ( >=sys-auth/polkit-0.110 ) - selinux? ( sys-libs/libselinux )" -# pm-utils: bug 557432 -RDEPEND="${COMMON_DEPEND} - kernel_linux? ( sys-apps/coreutils[acl?] ) - pm-utils? ( sys-power/pm-utils ) - selinux? ( sec-policy/selinux-consolekit )" -DEPEND="${COMMON_DEPEND} - dev-libs/libxslt - virtual/pkgconfig - doc? ( app-text/xmlto ) - test? ( - app-text/docbook-xml-dtd:4.1.2 - app-text/xmlto - )" - -S=${WORKDIR}/${MY_P} - -QA_MULTILIB_PATHS="usr/lib/ConsoleKit/.*" - -pkg_setup() { - if use kernel_linux; then - # This is from https://bugs.gentoo.org/376939 - use acl && CONFIG_CHECK="~TMPFS_POSIX_ACL" - # This is required to get login-session-id string with pam_ck_connector.so - use pam && CONFIG_CHECK+=" ~AUDITSYSCALL" - linux-info_pkg_setup - fi -} - -src_prepare() { - xdg_environment_reset - - sed -i -e '/SystemdService/d' data/org.freedesktop.ConsoleKit.service.in || die - - default - # patch needs autoreconf, so dont need libtoolize - eautoreconf - #elibtoolize # bug 593314 -} - -src_configure() { - econf \ - XMLTO_FLAGS='--skip-validation' \ - --libexecdir="${EPREFIX}"/usr/lib/ConsoleKit \ - --localstatedir="${EPREFIX}"/var \ - $(use_enable pam pam-module) \ - $(use_enable doc docbook-docs) \ - $(use_enable test docbook-docs) \ - $(use_enable debug) \ - $(use_enable policykit polkit) \ - $(use_enable evdev libevdev) \ - $(use_enable acl udev-acl) \ - $(use_enable cgroups libcgmanager) \ - $(use_enable selinux libselinux) \ - $(use_enable udev libdrm) \ - $(use_enable udev libudev) \ - $(use_enable test tests) \ - --with-dbus-services="${EPREFIX}"/usr/share/dbus-1/services \ - --with-pam-module-dir="$(getpam_mod_dir)" \ - --with-xinitrc-dir="${EPREFIX}"/etc/X11/xinit/xinitrc.d \ - --without-systemdsystemunitdir -} - -src_install() { - emake \ - DESTDIR="${D}" \ - htmldocdir="${EPREFIX}"/usr/share/doc/${PF}/html \ - install - - dosym /usr/lib/ConsoleKit /usr/lib/${PN} - - dodoc AUTHORS HACKING NEWS README TODO - - newinitd "${FILESDIR}"/${PN}-1.0.0.initd consolekit - - keepdir /usr/lib/ConsoleKit/run-seat.d - keepdir /usr/lib/ConsoleKit/run-session.d - keepdir /etc/ConsoleKit/run-session.d - keepdir /var/log/ConsoleKit - - exeinto /etc/X11/xinit/xinitrc.d - newexe "${FILESDIR}"/90-consolekit-3 90-consolekit - - if use kernel_linux; then - # bug 571524 - exeinto /usr/lib/ConsoleKit/run-session.d - doexe "${FILESDIR}"/pam-foreground-compat.ck - fi - - prune_libtool_files --all # --all for pam_ck_connector.la - - rm -rf "${ED}"/var/run || die # let the init script create the directory -} diff --git a/sys-auth/consolekit/consolekit-1.2.1.ebuild b/sys-auth/consolekit/consolekit-1.2.1.ebuild deleted file mode 100644 index cc3e4dc331d9..000000000000 --- a/sys-auth/consolekit/consolekit-1.2.1.ebuild +++ /dev/null @@ -1,132 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit autotools libtool linux-info ltprune pam xdg-utils - -MY_PN=ConsoleKit2 -MY_P=${MY_PN}-${PV} - -DESCRIPTION="Framework for defining and tracking users, login sessions and seats" -HOMEPAGE="https://github.com/ConsoleKit2/ConsoleKit2 https://www.freedesktop.org/wiki/Software/ConsoleKit" -SRC_URI="https://github.com/${MY_PN}/${MY_PN}/releases/download/${PV}/${MY_P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux" -IUSE="acl cgroups debug doc evdev kernel_linux pam pm-utils policykit selinux test udev" -RESTRICT="!test? ( test )" - -COMMON_DEPEND=">=dev-libs/glib-2.40:2=[dbus] - >=sys-devel/gettext-0.19 - sys-apps/dbus - sys-libs/zlib:= - x11-libs/libX11:= - acl? ( - sys-apps/acl:= - >=virtual/udev-200 - ) - cgroups? ( - app-admin/cgmanager - >=sys-libs/libnih-1.0.2[dbus] - ) - evdev? ( dev-libs/libevdev:= ) - udev? ( - virtual/libudev - x11-libs/libdrm:= - ) - pam? ( sys-libs/pam ) - policykit? ( >=sys-auth/polkit-0.110 ) - selinux? ( sys-libs/libselinux )" -# pm-utils: bug 557432 -RDEPEND="${COMMON_DEPEND} - kernel_linux? ( sys-apps/coreutils[acl?] ) - pm-utils? ( sys-power/pm-utils ) - selinux? ( sec-policy/selinux-consolekit )" -DEPEND="${COMMON_DEPEND} - dev-libs/libxslt - virtual/pkgconfig - doc? ( app-text/xmlto ) - test? ( - app-text/docbook-xml-dtd:4.1.2 - app-text/xmlto - )" - -S=${WORKDIR}/${MY_P} - -QA_MULTILIB_PATHS="usr/lib/ConsoleKit/.*" - -pkg_setup() { - if use kernel_linux; then - # This is from https://bugs.gentoo.org/376939 - use acl && CONFIG_CHECK="~TMPFS_POSIX_ACL" - # This is required to get login-session-id string with pam_ck_connector.so - use pam && CONFIG_CHECK+=" ~AUDITSYSCALL" - linux-info_pkg_setup - fi -} - -src_prepare() { - xdg_environment_reset - - sed -i -e '/SystemdService/d' data/org.freedesktop.ConsoleKit.service.in || die - - default - # patch needs autoreconf, so dont need libtoolize - eautoreconf - #elibtoolize # bug 593314 -} - -src_configure() { - econf \ - XMLTO_FLAGS='--skip-validation' \ - --libexecdir="${EPREFIX}"/usr/lib/ConsoleKit \ - --localstatedir="${EPREFIX}"/var \ - $(use_enable pam pam-module) \ - $(use_enable doc docbook-docs) \ - $(use_enable test docbook-docs) \ - $(use_enable debug) \ - $(use_enable policykit polkit) \ - $(use_enable evdev libevdev) \ - $(use_enable acl udev-acl) \ - $(use_enable cgroups libcgmanager) \ - $(use_enable selinux libselinux) \ - $(use_enable udev libdrm) \ - $(use_enable udev libudev) \ - $(use_enable test tests) \ - --with-dbus-services="${EPREFIX}"/usr/share/dbus-1/services \ - --with-pam-module-dir="$(getpam_mod_dir)" \ - --with-xinitrc-dir="${EPREFIX}"/etc/X11/xinit/xinitrc.d \ - --without-systemdsystemunitdir -} - -src_install() { - emake \ - DESTDIR="${D}" \ - htmldocdir="${EPREFIX}"/usr/share/doc/${PF}/html \ - install - - dosym /usr/lib/ConsoleKit /usr/lib/${PN} - - dodoc AUTHORS HACKING NEWS README TODO - - newinitd "${FILESDIR}"/${PN}-1.0.0.initd consolekit - - keepdir /usr/lib/ConsoleKit/run-seat.d - keepdir /usr/lib/ConsoleKit/run-session.d - keepdir /etc/ConsoleKit/run-session.d - keepdir /var/log/ConsoleKit - - exeinto /etc/X11/xinit/xinitrc.d - newexe "${FILESDIR}"/90-consolekit-3 90-consolekit - - if use kernel_linux; then - # bug 571524 - exeinto /usr/lib/ConsoleKit/run-session.d - doexe "${FILESDIR}"/pam-foreground-compat.ck - fi - - prune_libtool_files --all # --all for pam_ck_connector.la - - rm -rf "${ED}"/var/run || die # let the init script create the directory -} diff --git a/sys-auth/consolekit/consolekit-9999.ebuild b/sys-auth/consolekit/consolekit-9999.ebuild deleted file mode 100644 index cec91280e66d..000000000000 --- a/sys-auth/consolekit/consolekit-9999.ebuild +++ /dev/null @@ -1,128 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit autotools libtool git-r3 linux-info ltprune pam xdg-utils - -MY_PN=ConsoleKit2 -MY_P=${MY_PN}-${PV} - -DESCRIPTION="Framework for defining and tracking users, login sessions and seats" -HOMEPAGE="https://github.com/ConsoleKit2/ConsoleKit2 https://www.freedesktop.org/wiki/Software/ConsoleKit" -EGIT_REPO_URI="https://github.com/${MY_PN}/${MY_PN}.git" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="" -IUSE="acl cgroups debug doc evdev kernel_linux pam pm-utils policykit selinux test udev" -RESTRICT="!test? ( test )" - -COMMON_DEPEND=">=dev-libs/glib-2.40:2=[dbus] - >=sys-devel/gettext-0.19 - sys-apps/dbus - sys-libs/zlib:= - x11-libs/libX11:= - acl? ( - sys-apps/acl:= - >=virtual/udev-200 - ) - cgroups? ( - app-admin/cgmanager - >=sys-libs/libnih-1.0.2[dbus] - ) - evdev? ( dev-libs/libevdev:= ) - udev? ( - virtual/libudev - x11-libs/libdrm:= - ) - pam? ( sys-libs/pam ) - policykit? ( >=sys-auth/polkit-0.110 ) - selinux? ( sys-libs/libselinux )" -# pm-utils: bug 557432 -RDEPEND="${COMMON_DEPEND} - kernel_linux? ( sys-apps/coreutils[acl?] ) - pm-utils? ( sys-power/pm-utils ) - selinux? ( sec-policy/selinux-consolekit )" -DEPEND="${COMMON_DEPEND} - dev-libs/libxslt - virtual/pkgconfig - doc? ( app-text/xmlto ) - test? ( - app-text/docbook-xml-dtd:4.1.2 - app-text/xmlto - )" - -QA_MULTILIB_PATHS="usr/lib/ConsoleKit/.*" - -pkg_setup() { - if use kernel_linux; then - # This is from https://bugs.gentoo.org/376939 - use acl && CONFIG_CHECK="~TMPFS_POSIX_ACL" - # This is required to get login-session-id string with pam_ck_connector.so - use pam && CONFIG_CHECK+=" ~AUDITSYSCALL" - linux-info_pkg_setup - fi -} - -src_prepare() { - xdg_environment_reset - - sed -i -e '/SystemdService/d' data/org.freedesktop.ConsoleKit.service.in || die - - default - eautoreconf - #elibtoolize # bug 593314 -} - -src_configure() { - econf \ - XMLTO_FLAGS='--skip-validation' \ - --libexecdir="${EPREFIX}"/usr/lib/ConsoleKit \ - --localstatedir="${EPREFIX}"/var \ - $(use_enable pam pam-module) \ - $(use_enable doc docbook-docs) \ - $(use_enable test docbook-docs) \ - $(use_enable debug) \ - $(use_enable policykit polkit) \ - $(use_enable evdev libevdev) \ - $(use_enable acl udev-acl) \ - $(use_enable cgroups libcgmanager) \ - $(use_enable selinux libselinux) \ - $(use_enable udev libudev) \ - $(use_enable test tests) \ - --with-dbus-services="${EPREFIX}"/usr/share/dbus-1/services \ - --with-pam-module-dir="$(getpam_mod_dir)" \ - --with-xinitrc-dir="${EPREFIX}"/etc/X11/xinit/xinitrc.d \ - --without-systemdsystemunitdir -} - -src_install() { - emake \ - DESTDIR="${D}" \ - htmldocdir="${EPREFIX}"/usr/share/doc/${PF}/html \ - install - - dosym /usr/lib/ConsoleKit /usr/lib/${PN} - - dodoc AUTHORS HACKING NEWS README TODO - - newinitd "${FILESDIR}"/${PN}-1.0.0.initd consolekit - - keepdir /usr/lib/ConsoleKit/run-seat.d - keepdir /usr/lib/ConsoleKit/run-session.d - keepdir /etc/ConsoleKit/run-session.d - keepdir /var/log/ConsoleKit - - exeinto /etc/X11/xinit/xinitrc.d - newexe "${FILESDIR}"/90-consolekit-3 90-consolekit - - if use kernel_linux; then - # bug 571524 - exeinto /usr/lib/ConsoleKit/run-session.d - doexe "${FILESDIR}"/pam-foreground-compat.ck - fi - - prune_libtool_files --all # --all for pam_ck_connector.la - - rm -rf "${ED}"/var/run || die # let the init script create the directory -} diff --git a/sys-auth/consolekit/files/90-consolekit-3 b/sys-auth/consolekit/files/90-consolekit-3 deleted file mode 100644 index 358fc24f1a72..000000000000 --- a/sys-auth/consolekit/files/90-consolekit-3 +++ /dev/null @@ -1,32 +0,0 @@ -# -*- sh -*- -# Xsession.d script for ck-launch-session. -# -# -# This file is sourced by Xsession(5), not executed. - -CK_LAUNCH_SESSION=/usr/bin/ck-launch-session - -is_on_console() { - session=$(dbus-send --system --dest=org.freedesktop.ConsoleKit \ - --type=method_call --print-reply --reply-timeout=2000 \ - /org/freedesktop/ConsoleKit/Manager \ - org.freedesktop.ConsoleKit.Manager.GetCurrentSession \ - | grep path | awk '{print $3}' | sed s/\"//g) - x11_display=$(dbus-send --system --dest=org.freedesktop.ConsoleKit \ - --type=method_call --print-reply --reply-timeout=2000 \ - $session org.freedesktop.ConsoleKit.Session.GetX11Display \ - | grep string | awk '{print $2}' | sed s/\"//g) - - if [ -z "$x11_display" ] ; then - return 0 - else - return 1 - fi -} - -# gdm already creates a CK session for us, so do not run the expensive D-Bus -# calls if we have $GDMSESSION -if [ -z "$GDMSESSION" ] && [ -x "$CK_LAUNCH_SESSION" ] && \ - ( [ -z "$XDG_SESSION_COOKIE" ] || is_on_console ) ; then - command="$CK_LAUNCH_SESSION $command" -fi diff --git a/sys-auth/consolekit/files/consolekit-0.2.rc b/sys-auth/consolekit/files/consolekit-0.2.rc deleted file mode 100644 index e2be0de6e1aa..000000000000 --- a/sys-auth/consolekit/files/consolekit-0.2.rc +++ /dev/null @@ -1,25 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License, v2 or later - -depend() { - need dbus - use logger -} - -start() { - ebegin "Starting ConsoleKit daemon" - - checkpath -q -d -m 0755 /var/run/ConsoleKit - - start-stop-daemon --start -q \ - --pidfile /var/run/ConsoleKit/pid \ - --exec /usr/sbin/console-kit-daemon -- - eend $? -} - -stop() { - ebegin "Stopping ConsoleKit daemon" - start-stop-daemon --stop -q --pidfile /var/run/ConsoleKit/pid - eend $? -} 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 deleted file mode 100644 index b896089d4485..000000000000 --- a/sys-auth/consolekit/files/consolekit-0.4.5-polkit-automagic.patch +++ /dev/null @@ -1,30 +0,0 @@ -http://bugs.freedesktop.org/show_bug.cgi?id=47587 - ---- configure.ac -+++ configure.ac -@@ -56,10 +56,21 @@ - gthread-2.0 >= $GLIB_REQUIRED_VERSION - ) - --PKG_CHECK_MODULES(POLKIT, -- polkit-gobject-1 >= $POLKIT_REQUIRED_VERSION, -- have_polkit=yes, -- have_polkit=no) -+AC_ARG_ENABLE([polkit], -+ AC_HELP_STRING([--enable-polkit], [Enable PolicyKit support (default auto)]), -+ enable_polkit=$enableval, -+ enable_polkit=auto) -+ -+if test "x$enable_polkit" != "xno"; then -+ PKG_CHECK_MODULES(POLKIT, -+ polkit-gobject-1 >= $POLKIT_REQUIRED_VERSION, -+ have_polkit=yes, -+ have_polkit=no) -+ if test "x$enable_polkit" = "xyes" -a "x$have_polkit" = "xno"; then -+ AC_MSG_ERROR([PolicyKit support explicitly requested but dependencies not found]) -+ fi -+fi -+ - if test "x$have_polkit" = "xyes" ; then - AC_DEFINE(HAVE_POLKIT, [], [Define if we have polkit]) - fi diff --git a/sys-auth/consolekit/files/consolekit-1.0.0.initd b/sys-auth/consolekit/files/consolekit-1.0.0.initd deleted file mode 100644 index 4fd1140fe209..000000000000 --- a/sys-auth/consolekit/files/consolekit-1.0.0.initd +++ /dev/null @@ -1,16 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License, v2 or later - -description="consolekit - tracks login sessions and seats" -pidfile="/run/ConsoleKit/pid" -command="/usr/sbin/console-kit-daemon" - -depend() { - need dbus - use logger -} - -start_pre() { - checkpath -q -d -m 0755 /run/ConsoleKit -} 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 deleted file mode 100644 index 301c68f5d904..000000000000 --- a/sys-auth/consolekit/files/consolekit-1.1.0-Remove-the-root-restriction-for-runtime-dirs.patch +++ /dev/null @@ -1,57 +0,0 @@ -From 664d2fdbd966764836b1f4da2dbc5750c7f01f0f Mon Sep 17 00:00:00 2001 -From: Eric Koegel -Date: Sun, 10 Apr 2016 11:20:24 +0300 -Subject: [PATCH] Remove the root restriction for runtime dirs - ---- - src/ck-sysdeps-unix.c | 5 ----- - tools/ck-remove-directory.c | 10 ---------- - 2 files changed, 15 deletions(-) - -diff --git a/src/ck-sysdeps-unix.c b/src/ck-sysdeps-unix.c -index 67d8eac..ecd176a 100644 ---- a/src/ck-sysdeps-unix.c -+++ b/src/ck-sysdeps-unix.c -@@ -409,11 +409,6 @@ ck_generate_runtime_dir_for_user (guint uid) - - TRACE (); - -- if (uid < 1) { -- g_debug ("We do not create runtime dirs for root"); -- return NULL; -- } -- - errno = 0; - pwent = getpwuid (uid); - if (pwent == NULL) { -diff --git a/tools/ck-remove-directory.c b/tools/ck-remove-directory.c -index cf44fd6..b1a5722 100644 ---- a/tools/ck-remove-directory.c -+++ b/tools/ck-remove-directory.c -@@ -51,11 +51,6 @@ become_user (uid_t uid, const gchar* dest) - int res; - struct passwd *pwent; - -- if (uid < 1) { -- g_critical ("invalid UID"); -- exit (1); -- } -- - if (dest == NULL) { - g_critical ("invalid dest"); - exit (1); -@@ -148,11 +143,6 @@ main (int argc, - exit (1); - } - -- if (user_id < 1) { -- g_warning ("Invalid UID"); -- exit (1); -- } -- - /* Ensure we have a dest and that it starts with the correct prefix - * so we don't remove something important. - */ --- -2.7.3 - diff --git a/sys-auth/consolekit/files/consolekit-cleanup_console_tags.patch b/sys-auth/consolekit/files/consolekit-cleanup_console_tags.patch deleted file mode 100644 index c02411ebded5..000000000000 --- a/sys-auth/consolekit/files/consolekit-cleanup_console_tags.patch +++ /dev/null @@ -1,67 +0,0 @@ -http://bugs.gentoo.org/257761 -http://patches.ubuntu.com/by-release/extracted/ubuntu/c/consolekit/ - ---- src/main.c -+++ src/main.c -@@ -148,6 +148,43 @@ - unlink (CONSOLE_KIT_PID_FILE); - } - -+#define CONSOLE_TAGS_DIR "/var/run/console" -+ -+static void -+delete_console_tags (void) -+{ -+ GDir *dir; -+ GError *error = NULL; -+ const gchar *name; -+ -+ g_debug ("Cleaning up %s", CONSOLE_TAGS_DIR); -+ -+ dir = g_dir_open (CONSOLE_TAGS_DIR, 0, &error); -+ if (dir == NULL) { -+ g_debug ("Couldn't open directory %s: %s", CONSOLE_TAGS_DIR, -+ error->message); -+ g_error_free (error); -+ return; -+ } -+ while ((name = g_dir_read_name (dir)) != NULL) { -+ gchar *file; -+ file = g_build_filename (CONSOLE_TAGS_DIR, name, NULL); -+ -+ g_debug ("Removing tag file: %s", file); -+ if (unlink (file) == -1) { -+ g_warning ("Couldn't delete tag file: %s", file); -+ } -+ g_free (file); -+ } -+} -+ -+static void -+cleanup (void) -+{ -+ delete_console_tags (); -+ delete_pid (); -+} -+ - /* copied from nautilus */ - static int debug_log_pipes[2]; - -@@ -228,7 +265,7 @@ - snprintf (pid, sizeof (pid), "%lu\n", (long unsigned) getpid ()); - written = write (pf, pid, strlen (pid)); - close (pf); -- g_atexit (delete_pid); -+ g_atexit (cleanup); - } else { - g_warning ("Unable to write pid file %s: %s", - CONSOLE_KIT_PID_FILE, -@@ -317,6 +354,8 @@ - goto out; - } - -+ delete_console_tags (); -+ - create_pid_file (); - - loop = g_main_loop_new (NULL, FALSE); diff --git a/sys-auth/consolekit/files/consolekit-shutdown-reboot-without-policies.patch b/sys-auth/consolekit/files/consolekit-shutdown-reboot-without-policies.patch deleted file mode 100644 index 6a46649f7587..000000000000 --- a/sys-auth/consolekit/files/consolekit-shutdown-reboot-without-policies.patch +++ /dev/null @@ -1,26 +0,0 @@ -From: Romain Perier -Date: Sat, 24 Oct 2009 18:43:43 +0200 -Subject: [PATCH] Be able to shutdown or reboot even without polkit or RBAC supports - -Ck does NOTHING at the origin if its built without polkit or RBAC supports, except -display a warning using g_warning() (which does not make sense). -The trick is to to call do_stop()/do_restart() in the #else directive :) - ---- src/ck-manager.c -+++ src/ck-manager.c -@@ -1131,6 +1131,7 @@ - check_rbac_permissions (manager, context, RBAC_SHUTDOWN_KEY, do_restart); - #else - g_warning ("Compiled without PolicyKit or RBAC support!"); -+ do_restart(manager, context); - #endif - - return TRUE; -@@ -1207,6 +1208,7 @@ - check_rbac_permissions (manager, context, RBAC_SHUTDOWN_KEY, do_stop); - #else - g_warning ("Compiled without PolicyKit or RBAC support!"); -+ do_stop(manager, context); - #endif - - return TRUE; 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 deleted file mode 100644 index 3ef39873dbd6..000000000000 --- a/sys-auth/consolekit/files/consolekit-udev-acl-install_to_usr.patch +++ /dev/null @@ -1,28 +0,0 @@ -http://bugs.gentoo.org/398049 - ---- tools/Makefile.am -+++ tools/Makefile.am -@@ -144,11 +144,10 @@ - $(NULL) - - if ENABLE_UDEV_ACL --udevdir = $(UDEVDIR) - udevrulesdir = $(UDEVDIR)/rules.d - - dist_udevrules_DATA = 70-udev-acl.rules --udev_PROGRAMS = udev-acl -+libexec_PROGRAMS = udev-acl - - udev_acl_SOURCES = udev-acl.c - udev_acl_LDADD = $(UDEV_ACL_LIBS) -@@ -156,7 +155,9 @@ - - install-exec-hook: - mkdir -p $(DESTDIR)$(prefix)/lib/ConsoleKit/run-seat.d -- ln -sf $(UDEVDIR)/udev-acl $(DESTDIR)$(prefix)/lib/ConsoleKit/run-seat.d/udev-acl.ck -+ mkdir -p $(DESTDIR)$(UDEVDIR) -+ ln -sf $(libexecdir)/udev-acl $(DESTDIR)$(prefix)/lib/ConsoleKit/run-seat.d/udev-acl.ck -+ ln -sf $(libexecdir)/udev-acl $(DESTDIR)$(UDEVDIR)/udev-acl - endif - - EXTRA_DIST = \ diff --git a/sys-auth/consolekit/files/pam-foreground-compat.ck b/sys-auth/consolekit/files/pam-foreground-compat.ck deleted file mode 100644 index 0697ca81ba45..000000000000 --- a/sys-auth/consolekit/files/pam-foreground-compat.ck +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/sh -TAGDIR=/var/run/console - -[ -n "$CK_SESSION_USER_UID" ] || exit 1 - -TAGFILE="$TAGDIR/`getent passwd $CK_SESSION_USER_UID | cut -f 1 -d:`" - -if [ "$1" = "session_added" ]; then - mkdir -p "$TAGDIR" - echo "$CK_SESSION_ID" >> "$TAGFILE" -fi - -if [ "$1" = "session_removed" ] && [ -e "$TAGFILE" ]; then - sed -i "\%^$CK_SESSION_ID\$%d" "$TAGFILE" - [ -s "$TAGFILE" ] || rm -f "$TAGFILE" -fi - diff --git a/sys-auth/consolekit/metadata.xml b/sys-auth/consolekit/metadata.xml deleted file mode 100644 index 3aa5069e61cb..000000000000 --- a/sys-auth/consolekit/metadata.xml +++ /dev/null @@ -1,22 +0,0 @@ - - - - - perfinion@gentoo.org - Jason Zaman - - - freedesktop-bugs@gentoo.org - - - Use the kernel to track processes instead of the session cookie. - For handling VT switching with a session controller. - Adds support for suspend/resume using sys-power/pm-utils - Use the PolicyKit framework (sys-auth/polkit) to get authorization for suspend/shutdown. - Install systemd unit files to replace the modern functionality of logind in sys-apps/systemd. Not recommended. - - - ConsoleKit2/ConsoleKit2 - debian - - -- cgit v1.2.3