summaryrefslogtreecommitdiffstats
path: root/consolekit
diff options
context:
space:
mode:
Diffstat (limited to 'consolekit')
-rwxr-xr-xconsolekit/.footprint.i68669
-rwxr-xr-xconsolekit/.footprint.x86_6469
-rwxr-xr-xconsolekit/.md5sum.i6863
-rwxr-xr-xconsolekit/.md5sum.x86_643
-rwxr-xr-xconsolekit/Pkgfile30
-rw-r--r--consolekit/consolekit.logrotate5
-rw-r--r--consolekit/pam-foreground-compat.ck16
7 files changed, 195 insertions, 0 deletions
diff --git a/consolekit/.footprint.i686 b/consolekit/.footprint.i686
new file mode 100755
index 000000000..414e9f95b
--- /dev/null
+++ b/consolekit/.footprint.i686
@@ -0,0 +1,69 @@
+drwxr-xr-x root/root etc/
+drwxr-xr-x root/root etc/ConsoleKit/
+drwxr-xr-x root/root etc/ConsoleKit/run-seat.d/
+drwxr-xr-x root/root etc/ConsoleKit/run-session.d/
+drwxr-xr-x root/root etc/ConsoleKit/seats.d/
+-rw-r--r-- root/root etc/ConsoleKit/seats.d/00-primary.seat
+drwxr-xr-x root/root etc/dbus-1/
+drwxr-xr-x root/root etc/dbus-1/system.d/
+-rw-r--r-- root/root etc/dbus-1/system.d/ConsoleKit.conf
+drwxr-xr-x root/root etc/logrotate.d/
+-rw-r--r-- root/root etc/logrotate.d/consolekit
+drwxr-xr-x root/root lib/
+drwxr-xr-x root/root lib/security/
+-rwxr-xr-x root/root lib/security/pam_ck_connector.la
+-rwxr-xr-x root/root lib/security/pam_ck_connector.so
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-rwxr-xr-x root/root usr/bin/ck-history
+-rwxr-xr-x root/root usr/bin/ck-launch-session
+-rwxr-xr-x root/root usr/bin/ck-list-sessions
+drwxr-xr-x root/root usr/include/
+drwxr-xr-x root/root usr/include/ConsoleKit/
+drwxr-xr-x root/root usr/include/ConsoleKit/ck-connector/
+-rw-r--r-- root/root usr/include/ConsoleKit/ck-connector/ck-connector.h
+drwxr-xr-x root/root usr/lib/
+drwxr-xr-x root/root usr/lib/ConsoleKit/
+-rwxr-xr-x root/root usr/lib/ConsoleKit/ck-collect-session-info
+-rwxr-xr-x root/root usr/lib/ConsoleKit/ck-get-x11-display-device
+-rwxr-xr-x root/root usr/lib/ConsoleKit/ck-get-x11-server-pid
+drwxr-xr-x root/root usr/lib/ConsoleKit/run-seat.d/
+drwxr-xr-x root/root usr/lib/ConsoleKit/run-session.d/
+-rwxr-xr-x root/root usr/lib/ConsoleKit/run-session.d/pam-foreground-compat.ck
+drwxr-xr-x root/root usr/lib/ConsoleKit/scripts/
+-rwxr-xr-x root/root usr/lib/ConsoleKit/scripts/ck-system-restart
+-rwxr-xr-x root/root usr/lib/ConsoleKit/scripts/ck-system-stop
+-rwxr-xr-x root/root usr/lib/libck-connector.la
+lrwxrwxrwx root/root usr/lib/libck-connector.so -> libck-connector.so.0.0.0
+lrwxrwxrwx root/root usr/lib/libck-connector.so.0 -> libck-connector.so.0.0.0
+-rwxr-xr-x root/root usr/lib/libck-connector.so.0.0.0
+drwxr-xr-x root/root usr/lib/pkgconfig/
+-rw-r--r-- root/root usr/lib/pkgconfig/ck-connector.pc
+drwxr-xr-x root/root usr/sbin/
+-rwxr-xr-x root/root usr/sbin/ck-log-system-restart
+-rwxr-xr-x root/root usr/sbin/ck-log-system-start
+-rwxr-xr-x root/root usr/sbin/ck-log-system-stop
+-rwxr-xr-x root/root usr/sbin/console-kit-daemon
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/dbus-1/
+drwxr-xr-x root/root usr/share/dbus-1/interfaces/
+-rw-r--r-- root/root usr/share/dbus-1/interfaces/org.freedesktop.ConsoleKit.Manager.xml
+-rw-r--r-- root/root usr/share/dbus-1/interfaces/org.freedesktop.ConsoleKit.Seat.xml
+-rw-r--r-- root/root usr/share/dbus-1/interfaces/org.freedesktop.ConsoleKit.Session.xml
+drwxr-xr-x root/root usr/share/dbus-1/system-services/
+-rw-r--r-- root/root usr/share/dbus-1/system-services/org.freedesktop.ConsoleKit.service
+drwxr-xr-x root/root usr/share/doc/
+drwxr-xr-x root/root usr/share/doc/ConsoleKit/
+drwxr-xr-x root/root usr/share/doc/ConsoleKit/spec/
+-rw-r--r-- root/root usr/share/doc/ConsoleKit/spec/ConsoleKit.html
+drwxr-xr-x root/root usr/share/man/
+drwxr-xr-x root/root usr/share/man/man8/
+-rw-r--r-- root/root usr/share/man/man8/pam_ck_connector.8.gz
+drwxr-xr-x root/root usr/share/polkit-1/
+drwxr-xr-x root/root usr/share/polkit-1/actions/
+-rw-r--r-- root/root usr/share/polkit-1/actions/org.freedesktop.consolekit.policy
+drwxr-xr-x root/root var/
+drwxr-xr-x root/root var/log/
+drwxr-xr-x root/root var/log/ConsoleKit/
+drwxr-xr-x root/root var/run/
+drwxr-xr-x root/root var/run/ConsoleKit/
diff --git a/consolekit/.footprint.x86_64 b/consolekit/.footprint.x86_64
new file mode 100755
index 000000000..414e9f95b
--- /dev/null
+++ b/consolekit/.footprint.x86_64
@@ -0,0 +1,69 @@
+drwxr-xr-x root/root etc/
+drwxr-xr-x root/root etc/ConsoleKit/
+drwxr-xr-x root/root etc/ConsoleKit/run-seat.d/
+drwxr-xr-x root/root etc/ConsoleKit/run-session.d/
+drwxr-xr-x root/root etc/ConsoleKit/seats.d/
+-rw-r--r-- root/root etc/ConsoleKit/seats.d/00-primary.seat
+drwxr-xr-x root/root etc/dbus-1/
+drwxr-xr-x root/root etc/dbus-1/system.d/
+-rw-r--r-- root/root etc/dbus-1/system.d/ConsoleKit.conf
+drwxr-xr-x root/root etc/logrotate.d/
+-rw-r--r-- root/root etc/logrotate.d/consolekit
+drwxr-xr-x root/root lib/
+drwxr-xr-x root/root lib/security/
+-rwxr-xr-x root/root lib/security/pam_ck_connector.la
+-rwxr-xr-x root/root lib/security/pam_ck_connector.so
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-rwxr-xr-x root/root usr/bin/ck-history
+-rwxr-xr-x root/root usr/bin/ck-launch-session
+-rwxr-xr-x root/root usr/bin/ck-list-sessions
+drwxr-xr-x root/root usr/include/
+drwxr-xr-x root/root usr/include/ConsoleKit/
+drwxr-xr-x root/root usr/include/ConsoleKit/ck-connector/
+-rw-r--r-- root/root usr/include/ConsoleKit/ck-connector/ck-connector.h
+drwxr-xr-x root/root usr/lib/
+drwxr-xr-x root/root usr/lib/ConsoleKit/
+-rwxr-xr-x root/root usr/lib/ConsoleKit/ck-collect-session-info
+-rwxr-xr-x root/root usr/lib/ConsoleKit/ck-get-x11-display-device
+-rwxr-xr-x root/root usr/lib/ConsoleKit/ck-get-x11-server-pid
+drwxr-xr-x root/root usr/lib/ConsoleKit/run-seat.d/
+drwxr-xr-x root/root usr/lib/ConsoleKit/run-session.d/
+-rwxr-xr-x root/root usr/lib/ConsoleKit/run-session.d/pam-foreground-compat.ck
+drwxr-xr-x root/root usr/lib/ConsoleKit/scripts/
+-rwxr-xr-x root/root usr/lib/ConsoleKit/scripts/ck-system-restart
+-rwxr-xr-x root/root usr/lib/ConsoleKit/scripts/ck-system-stop
+-rwxr-xr-x root/root usr/lib/libck-connector.la
+lrwxrwxrwx root/root usr/lib/libck-connector.so -> libck-connector.so.0.0.0
+lrwxrwxrwx root/root usr/lib/libck-connector.so.0 -> libck-connector.so.0.0.0
+-rwxr-xr-x root/root usr/lib/libck-connector.so.0.0.0
+drwxr-xr-x root/root usr/lib/pkgconfig/
+-rw-r--r-- root/root usr/lib/pkgconfig/ck-connector.pc
+drwxr-xr-x root/root usr/sbin/
+-rwxr-xr-x root/root usr/sbin/ck-log-system-restart
+-rwxr-xr-x root/root usr/sbin/ck-log-system-start
+-rwxr-xr-x root/root usr/sbin/ck-log-system-stop
+-rwxr-xr-x root/root usr/sbin/console-kit-daemon
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/dbus-1/
+drwxr-xr-x root/root usr/share/dbus-1/interfaces/
+-rw-r--r-- root/root usr/share/dbus-1/interfaces/org.freedesktop.ConsoleKit.Manager.xml
+-rw-r--r-- root/root usr/share/dbus-1/interfaces/org.freedesktop.ConsoleKit.Seat.xml
+-rw-r--r-- root/root usr/share/dbus-1/interfaces/org.freedesktop.ConsoleKit.Session.xml
+drwxr-xr-x root/root usr/share/dbus-1/system-services/
+-rw-r--r-- root/root usr/share/dbus-1/system-services/org.freedesktop.ConsoleKit.service
+drwxr-xr-x root/root usr/share/doc/
+drwxr-xr-x root/root usr/share/doc/ConsoleKit/
+drwxr-xr-x root/root usr/share/doc/ConsoleKit/spec/
+-rw-r--r-- root/root usr/share/doc/ConsoleKit/spec/ConsoleKit.html
+drwxr-xr-x root/root usr/share/man/
+drwxr-xr-x root/root usr/share/man/man8/
+-rw-r--r-- root/root usr/share/man/man8/pam_ck_connector.8.gz
+drwxr-xr-x root/root usr/share/polkit-1/
+drwxr-xr-x root/root usr/share/polkit-1/actions/
+-rw-r--r-- root/root usr/share/polkit-1/actions/org.freedesktop.consolekit.policy
+drwxr-xr-x root/root var/
+drwxr-xr-x root/root var/log/
+drwxr-xr-x root/root var/log/ConsoleKit/
+drwxr-xr-x root/root var/run/
+drwxr-xr-x root/root var/run/ConsoleKit/
diff --git a/consolekit/.md5sum.i686 b/consolekit/.md5sum.i686
new file mode 100755
index 000000000..31954858c
--- /dev/null
+++ b/consolekit/.md5sum.i686
@@ -0,0 +1,3 @@
+f2657f93761206922d558471a936fbc3 ConsoleKit-0.4.5.tar.bz2
+6fefa451d9fe2fc6d6269629d3529793 consolekit.logrotate
+a8a4de71d9b0549b8143e5f6c2a36fc7 pam-foreground-compat.ck
diff --git a/consolekit/.md5sum.x86_64 b/consolekit/.md5sum.x86_64
new file mode 100755
index 000000000..31954858c
--- /dev/null
+++ b/consolekit/.md5sum.x86_64
@@ -0,0 +1,3 @@
+f2657f93761206922d558471a936fbc3 ConsoleKit-0.4.5.tar.bz2
+6fefa451d9fe2fc6d6269629d3529793 consolekit.logrotate
+a8a4de71d9b0549b8143e5f6c2a36fc7 pam-foreground-compat.ck
diff --git a/consolekit/Pkgfile b/consolekit/Pkgfile
new file mode 100755
index 000000000..32a7cc2b9
--- /dev/null
+++ b/consolekit/Pkgfile
@@ -0,0 +1,30 @@
+# Description: framework for defining and tracking users, login sessions, and seats
+# URL: http://www.freedesktop.org/wiki/Software/ConsoleKit
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed do ch
+# Depends on: dbus-glib, xorg-libx11, polkit, xmlto, docbook-xsl
+# Run on: dbus-glib,xorg-libx11,policykit,polkit,xmlto,docbook-xsl
+
+name=consolekit
+version=0.4.5
+release=2
+source=(http://www.freedesktop.org/software/ConsoleKit/dist/ConsoleKit-$version.tar.bz2
+ pam-foreground-compat.ck
+ consolekit.logrotate)
+
+build() {
+ cd ConsoleKit-$version
+
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --libexecdir=/usr/lib/ConsoleKit \
+ --enable-pam-module \
+ --enable-docbook-docs \
+ --with-dbus-services=$PKG/usr/share/dbus-1/services
+
+ make
+ make DESTDIR=$PKG install
+ install -m755 $SRC/pam-foreground-compat.ck $PKG/usr/lib/ConsoleKit/run-session.d/
+ install -D -m644 $SRC/consolekit.logrotate $PKG/etc/logrotate.d/consolekit
+}
diff --git a/consolekit/consolekit.logrotate b/consolekit/consolekit.logrotate
new file mode 100644
index 000000000..7c5346ef8
--- /dev/null
+++ b/consolekit/consolekit.logrotate
@@ -0,0 +1,5 @@
+/var/log/ConsoleKit/history {
+ missingok
+ notifempty
+ delaycompress
+}
diff --git a/consolekit/pam-foreground-compat.ck b/consolekit/pam-foreground-compat.ck
new file mode 100644
index 000000000..7f6b122d5
--- /dev/null
+++ b/consolekit/pam-foreground-compat.ck
@@ -0,0 +1,16 @@
+#!/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