aboutsummaryrefslogtreecommitdiffstats
path: root/main/consolekit
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2017-08-23 00:46:46 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2017-08-30 16:34:57 +0000
commitd7f4c260d1287526e7030413504fef9e52c5b9a3 (patch)
tree4bac9494d56be94c074748c2af4a97c44d8b56ec /main/consolekit
parent24e6b26f69a01184a93003a97f816c6452ae46b3 (diff)
downloadaports-d7f4c260d1287526e7030413504fef9e52c5b9a3.tar.bz2
aports-d7f4c260d1287526e7030413504fef9e52c5b9a3.tar.xz
main/consolekit: replaced by consolekit2
Diffstat (limited to 'main/consolekit')
-rw-r--r--main/consolekit/0001-busybox-reboot-and-poweroff-support.patch41
-rw-r--r--main/consolekit/APKBUILD58
-rw-r--r--main/consolekit/pam-foreground-compat.ck17
3 files changed, 0 insertions, 116 deletions
diff --git a/main/consolekit/0001-busybox-reboot-and-poweroff-support.patch b/main/consolekit/0001-busybox-reboot-and-poweroff-support.patch
deleted file mode 100644
index 7fa0e35759..0000000000
--- a/main/consolekit/0001-busybox-reboot-and-poweroff-support.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-From 5e557dd212657f7e75a0c4bd70d11ca06ccb3f84 Mon Sep 17 00:00:00 2001
-From: Natanael Copa <ncopa@alpinelinux.org>
-Date: Mon, 4 Apr 2011 18:46:25 +0000
-Subject: [PATCH] busybox reboot and poweroff support
-
----
- tools/linux/ck-system-restart | 3 +++
- tools/linux/ck-system-stop | 3 +++
- 2 files changed, 6 insertions(+), 0 deletions(-)
-
-diff --git a/tools/linux/ck-system-restart b/tools/linux/ck-system-restart
-index 8e0664e..5cabb3d 100755
---- a/tools/linux/ck-system-restart
-+++ b/tools/linux/ck-system-restart
-@@ -7,6 +7,9 @@ if [ -x "/sbin/shutdown" ] ; then
- elif [ -x "/usr/sbin/shutdown" ] ; then
- /usr/sbin/shutdown -r now
- exit $?
-+elif [ -x "/sbin/reboot" ]; then
-+ /sbin/reboot
-+ exit $?
- else
- exit 1
- fi
-diff --git a/tools/linux/ck-system-stop b/tools/linux/ck-system-stop
-index e26bca3..a0be3ac 100755
---- a/tools/linux/ck-system-stop
-+++ b/tools/linux/ck-system-stop
-@@ -7,6 +7,9 @@ if [ -x "/sbin/shutdown" ] ; then
- elif [ -x "/usr/sbin/shutdown" ] ; then
- /usr/sbin/shutdown -h now
- exit $?
-+elif [ -x "/sbin/poweroff" ] ; then
-+ /sbin/poweroff
-+ exit $?
- else
- exit 1
- fi
---
-1.7.4.2
-
diff --git a/main/consolekit/APKBUILD b/main/consolekit/APKBUILD
deleted file mode 100644
index 2a55f647d6..0000000000
--- a/main/consolekit/APKBUILD
+++ /dev/null
@@ -1,58 +0,0 @@
-# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
-pkgname=consolekit
-pkgver=0.4.6
-pkgrel=2
-pkgdesc="Framework for defining and tracking users, login sessions, and seats"
-url="http://www.freedesktop.org/wiki/Software/ConsoleKit"
-arch="all"
-license="GPL2+"
-depends=""
-makedepends="polkit-dev zlib-dev libx11-dev dbus-glib-dev linux-headers"
-depends_dev="dbus-dev"
-install=""
-subpackages="$pkgname-dev"
-source="http://www.freedesktop.org/software/ConsoleKit/dist/ConsoleKit-$pkgver.tar.xz
- 0001-busybox-reboot-and-poweroff-support.patch
- pam-foreground-compat.ck
- "
-
-_builddir="$srcdir"/ConsoleKit-$pkgver
-prepare() {
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
-}
-
-build() {
- cd "$_builddir"
- ./configure \
- --build=$CBUILD \
- --host=$CHOST \
- --prefix=/usr \
- --sysconfdir=/etc \
- --mandir=/usr/share/man \
- --infodir=/usr/share/info \
- --localstatedir=/var \
- || return 1
- make || return 1
-}
-
-package() {
- cd "$_builddir"
- make DESTDIR="$pkgdir" install || return 1
- install -m 755 "$srcdir"/pam-foreground-compat.ck \
- "$pkgdir"/usr/lib/ConsoleKit/run-session.d/
-}
-
-md5sums="611792b4d616253a5bdec9175f8b7678 ConsoleKit-0.4.6.tar.xz
-acc4f44190cd677f95fd529d528c9cef 0001-busybox-reboot-and-poweroff-support.patch
-d75ed3438dab01552304c06fd9a967b1 pam-foreground-compat.ck"
-sha256sums="b41d17e06f80059589fbeefe96ad07bcc564c49e65516da1caf975146475565c ConsoleKit-0.4.6.tar.xz
-acbc1e1fa9530404b89f4eb57ebea8a55fb574724af5c635593b16d50ae55e56 0001-busybox-reboot-and-poweroff-support.patch
-8e197a732d676e12e8fa918c0587522d432b7756987273de2e940a625a38ee8a pam-foreground-compat.ck"
-sha512sums="54955e3e83778a9216846104da8762fd50a37190e209127dd5d211e2227da617e14f6f5c1359905396d299656e526d14e1187b28eaff7d0ae1d7563dc8d9b46d ConsoleKit-0.4.6.tar.xz
-d6ee14662ffc64407cddef95d0c4d22189b8879fc03e6583ffa5201fe65f73fa928cb33d3f9dfd7ba942113fdd39cb816f1c7b4c6500ea5f0cfcc2e35b2e248f 0001-busybox-reboot-and-poweroff-support.patch
-46e98e356e4e4f2f792147dce940fc2310b71bede28e58bc2d2ee74f4fcca20fa74dc4fef17ed6cb8c2e4c8d0f38710594fd394302b3fd469bbdf7d44ab4caae pam-foreground-compat.ck"
diff --git a/main/consolekit/pam-foreground-compat.ck b/main/consolekit/pam-foreground-compat.ck
deleted file mode 100644
index ce221c9749..0000000000
--- a/main/consolekit/pam-foreground-compat.ck
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/bin/sh
-TAGDIR=/var/run/console
-
-[ -n "$CK_SESSION_USER_UID" ] || exit 1
-[ "$CK_SESSION_IS_LOCAL" = "true" ] || exit 0
-
-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