summaryrefslogtreecommitdiffstats
path: root/remote/modules/consolekit
diff options
context:
space:
mode:
authorSimon Rettberg2013-09-03 17:42:51 +0200
committerJonathan Bauer2013-09-30 13:22:03 +0200
commitbae5ec1ed4ca07b552d6523e424a0ace5fa86933 (patch)
treed5d6446821a19aa4e553b4a9de9fd5145d4e27d8 /remote/modules/consolekit
parent[vbox] Readme file with notes on pathced scripts (diff)
downloadtm-scripts-bae5ec1ed4ca07b552d6523e424a0ace5fa86933.tar.gz
tm-scripts-bae5ec1ed4ca07b552d6523e424a0ace5fa86933.tar.xz
tm-scripts-bae5ec1ed4ca07b552d6523e424a0ace5fa86933.zip
Add consolekit and polkit
Diffstat (limited to 'remote/modules/consolekit')
-rw-r--r--remote/modules/consolekit/consolekit.conf23
-rw-r--r--remote/modules/consolekit/consolekit.conf.opensuse2
-rw-r--r--remote/modules/consolekit/consolekit.conf.ubuntu2
-rw-r--r--remote/modules/consolekit/consolekit.conf.zypper11
l---------remote/modules/consolekit/data/etc/systemd/system/basic.target.wants/console-kit-daemon.service1
-rw-r--r--remote/modules/consolekit/data/etc/systemd/system/console-kit-daemon.service8
-rw-r--r--remote/modules/consolekit/data/usr/share/dbus-1/system-services/org.freedesktop.ConsoleKit.service6
7 files changed, 31 insertions, 22 deletions
diff --git a/remote/modules/consolekit/consolekit.conf b/remote/modules/consolekit/consolekit.conf
index afb573ce..4f128c62 100644
--- a/remote/modules/consolekit/consolekit.conf
+++ b/remote/modules/consolekit/consolekit.conf
@@ -1,11 +1,12 @@
-REQUIRED_CONTENT_PACKAGES="consolekit"
-REQUIRED_BINARIES=" ck-history
- ck-launch-session
- ck-list-sessions
- ck-log-system-start
- ck-log-system-restart
- ck-log-system-stop
- console-kit-daemon"
-REQUIRED_DIRECTORIES=" /usr/lib/ConsoleKit /etc /lib/systemd/system"
-REQUIRED_FILES=" /usr/share/dbus-1/system-services/org.freedesktop.ConsoleKit.service
- /usr/share/polkit-1/actions/org.freedesktop.consolekit.policy"
+REQUIRED_BINARIES="
+ console-kit-daemon
+"
+REQUIRED_DIRECTORIES="
+ /usr
+ /etc
+ /lib
+"
+REQUIRED_LIBRARIES="
+ pam_ck_connector
+"
+
diff --git a/remote/modules/consolekit/consolekit.conf.opensuse b/remote/modules/consolekit/consolekit.conf.opensuse
new file mode 100644
index 00000000..74c694a1
--- /dev/null
+++ b/remote/modules/consolekit/consolekit.conf.opensuse
@@ -0,0 +1,2 @@
+REQUIRED_CONTENT_PACKAGES="ConsoleKit"
+
diff --git a/remote/modules/consolekit/consolekit.conf.ubuntu b/remote/modules/consolekit/consolekit.conf.ubuntu
new file mode 100644
index 00000000..c0fffffa
--- /dev/null
+++ b/remote/modules/consolekit/consolekit.conf.ubuntu
@@ -0,0 +1,2 @@
+REQUIRED_CONTENT_PACKAGES="consolekit"
+
diff --git a/remote/modules/consolekit/consolekit.conf.zypper b/remote/modules/consolekit/consolekit.conf.zypper
deleted file mode 100644
index 394ee0da..00000000
--- a/remote/modules/consolekit/consolekit.conf.zypper
+++ /dev/null
@@ -1,11 +0,0 @@
-REQUIRED_CONTENT_PACKAGES="ConsoleKit"
-REQUIRED_BINARIES=" ck-history
- ck-launch-session
- ck-list-sessions
- ck-log-system-start
- ck-log-system-restart
- ck-log-system-stop
- console-kit-daemon"
-REQUIRED_DIRECTORIES=" /usr/lib/ConsoleKit /etc /lib/systemd/system"
-REQUIRED_FILES=" /usr/share/dbus-1/system-services/org.freedesktop.ConsoleKit.service
- /usr/share/polkit-1/actions/org.freedesktop.consolekit.policy"
diff --git a/remote/modules/consolekit/data/etc/systemd/system/basic.target.wants/console-kit-daemon.service b/remote/modules/consolekit/data/etc/systemd/system/basic.target.wants/console-kit-daemon.service
new file mode 120000
index 00000000..2b34a3f6
--- /dev/null
+++ b/remote/modules/consolekit/data/etc/systemd/system/basic.target.wants/console-kit-daemon.service
@@ -0,0 +1 @@
+../console-kit-daemon.service \ No newline at end of file
diff --git a/remote/modules/consolekit/data/etc/systemd/system/console-kit-daemon.service b/remote/modules/consolekit/data/etc/systemd/system/console-kit-daemon.service
new file mode 100644
index 00000000..bc2a0de9
--- /dev/null
+++ b/remote/modules/consolekit/data/etc/systemd/system/console-kit-daemon.service
@@ -0,0 +1,8 @@
+[Unit]
+Description=ConsoleKit
+
+[Service]
+Type=dbus
+BusName=org.freedesktop.ConsoleKit
+ExecStart=/usr/sbin/console-kit-daemon --no-daemon
+
diff --git a/remote/modules/consolekit/data/usr/share/dbus-1/system-services/org.freedesktop.ConsoleKit.service b/remote/modules/consolekit/data/usr/share/dbus-1/system-services/org.freedesktop.ConsoleKit.service
new file mode 100644
index 00000000..cbefc9a4
--- /dev/null
+++ b/remote/modules/consolekit/data/usr/share/dbus-1/system-services/org.freedesktop.ConsoleKit.service
@@ -0,0 +1,6 @@
+[D-BUS Service]
+Name=org.freedesktop.ConsoleKit
+Exec=/usr/sbin/console-kit-daemon --no-daemon
+User=root
+SystemdService=console-kit-daemon.service
+