From 1ca15343a97e3cf701b405ed92d6db85960333eb Mon Sep 17 00:00:00 2001 From: David P Date: Thu, 19 Apr 2018 22:04:14 -0300 Subject: db-remove: consolekit lxdm-consolekit polkit-consolekit sddm-consolekit consolekit-openrc cgmanager-openrc Signed-off-by: David P --- pcr/consolekit/75-org.freedesktop.consolekit.rules | 11 ---- pcr/consolekit/PKGBUILD | 64 ---------------------- pcr/consolekit/consolekit.tmpfiles.conf | 1 - pcr/consolekit/pam-foreground-compat.ck | 17 ------ 4 files changed, 93 deletions(-) delete mode 100644 pcr/consolekit/75-org.freedesktop.consolekit.rules delete mode 100644 pcr/consolekit/PKGBUILD delete mode 100644 pcr/consolekit/consolekit.tmpfiles.conf delete mode 100644 pcr/consolekit/pam-foreground-compat.ck (limited to 'pcr/consolekit') diff --git a/pcr/consolekit/75-org.freedesktop.consolekit.rules b/pcr/consolekit/75-org.freedesktop.consolekit.rules deleted file mode 100644 index e73e10755..000000000 --- a/pcr/consolekit/75-org.freedesktop.consolekit.rules +++ /dev/null @@ -1,11 +0,0 @@ -polkit.addRule(function(action, subject) { - if (action.id == "org.freedesktop.consolekit.system.stop" || - action.id == "org.freedesktop.consolekit.system.restart" || - action.id == "org.freedesktop.consolekit.system.hibernate" || - action.id == "org.freedesktop.consolekit.system.suspend" || - action.id == "org.freedesktop.consolekit.system.restart-multiple-users" || - action.id == "org.freedesktop.consolekit.system.suspend-multiple-users" || - action.id == "org.freedesktop.consolekit.system.stop-multiple-users") { - return polkit.Result.YES; - } -}); diff --git a/pcr/consolekit/PKGBUILD b/pcr/consolekit/PKGBUILD deleted file mode 100644 index 66ec02f92..000000000 --- a/pcr/consolekit/PKGBUILD +++ /dev/null @@ -1,64 +0,0 @@ -# Maintainer (Manjaro): artoo -# Maintainer: Omar Vega Ramos - -_pkgname=ConsoleKit2 - -pkgname=consolekit -pkgver=1.1.2 -pkgrel=1 -pkgdesc="A framework for defining and tracking users, login sessions, and seats" -arch=('i686' 'x86_64' 'armv7h') -url="https://github.com/ConsoleKit2/ConsoleKit2" -license=('GPL') -depends=('cgmanager' 'dbus' 'glib2' 'libx11' 'polkit-consolekit' 'libudev' 'zlib') -optdepends=('pm-utils: Suspend and hibernate power management' - 'consolekit-openrc: consolekit openrc initscript' - 'cgmanager-openrc: cgmanager openrc initscript') -makedepends=('xmlto' 'docbook-xsl' 'python') -options=('!libtool') -source=("$url/releases/download/$pkgver/$_pkgname-$pkgver.tar.bz2" - 'consolekit.tmpfiles.conf' - '75-org.freedesktop.consolekit.rules' - 'pam-foreground-compat.ck') - -sha256sums=('f4b26b45edf7416ed76052b8f85ea05b7b560c744edee8042575667528bc1f24' - '778552dc12b3c235bde200e476d4262da0c135f3f6f8b3e975a87881d1f154d1' - '9f356df83bcebe10c3c8e9d232c3e59aff49b83b980b61f9b97a5b4e0fa3ba3d' - 'ad9b8d7c92e73c5cff7a883724992008b6a0382b2466fd5f69720f112c1eb0f9') - -build(){ - cd $srcdir/$_pkgname-$pkgver - - ./configure \ - --prefix=/usr \ - --sysconfdir=/etc \ - --sbindir=/usr/bin \ - --with-rundir=/run \ - --libexecdir=/usr/lib/ConsoleKit \ - --localstatedir=/var \ - --enable-polkit \ - --enable-pam-module \ - --enable-udev-acl \ - --enable-docbook-docs \ - --enable-cgroups \ - --with-dbus-services=/usr/share/dbus-1/services \ - --with-xinitrc-dir=/etc/X11/xinit/xinitrc.d \ - --with-pam-module-dir=/usr/lib/security \ - --without-systemdsystemunitdir - - make -} - -package() { - cd $srcdir/$_pkgname-$pkgver - make DESTDIR="$pkgdir" install - - install -Dm644 "$srcdir"/consolekit.tmpfiles.conf "$pkgdir"/usr/lib/tmpfiles.d/consolekit.conf - - rm -rf "${pkgdir}"/run - - install -dm 750 -o polkitd "${pkgdir}"/usr/share/polkit-1/rules.d - install -m 644 ${srcdir}/75-org.freedesktop.consolekit.rules $pkgdir/usr/share/polkit-1/rules.d/ - - install $srcdir/pam-foreground-compat.ck $pkgdir/usr/lib/ConsoleKit/run-session.d -} diff --git a/pcr/consolekit/consolekit.tmpfiles.conf b/pcr/consolekit/consolekit.tmpfiles.conf deleted file mode 100644 index 4ec125110..000000000 --- a/pcr/consolekit/consolekit.tmpfiles.conf +++ /dev/null @@ -1 +0,0 @@ -d /run/ConsoleKit 0755 - - - diff --git a/pcr/consolekit/pam-foreground-compat.ck b/pcr/consolekit/pam-foreground-compat.ck deleted file mode 100644 index 90b8081e4..000000000 --- a/pcr/consolekit/pam-foreground-compat.ck +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/sh -TAGDIR=/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 - -- cgit v1.2.3