[Lunar-commits] ConsoleKit: Replaced the broken init script.

Jannis Pohlmann jannis at xfce.org
Fri Dec 7 21:33:33 CET 2007


commit 7184b61e1a26834033acb8dba84f20b79fce49ee
Author: Jannis Pohlmann <jannis at xfce.org>
Date:   Fri Dec 7 21:21:39 2007 +0100

    ConsoleKit: Replaced the broken init script.
    
    Needed to add a patch for the Makefile as well.
---
 security/ConsoleKit/BUILD             |    7 +++++++
 security/ConsoleKit/DETAILS           |    5 ++++-
 security/ConsoleKit/init.d/ConsoleKit |   24 ++++++++++++++++++++++++
 3 files changed, 35 insertions(+), 1 deletions(-)

diff --git a/security/ConsoleKit/BUILD b/security/ConsoleKit/BUILD
new file mode 100644
index 0000000..ce94b55
--- /dev/null
+++ b/security/ConsoleKit/BUILD
@@ -0,0 +1,7 @@
+(
+
+  patch_it $SOURCE2 0 &&
+
+  default_build
+
+) > $C_FIFO 2>&1
diff --git a/security/ConsoleKit/DETAILS b/security/ConsoleKit/DETAILS
index a96224f..a93c408 100644
--- a/security/ConsoleKit/DETAILS
+++ b/security/ConsoleKit/DETAILS
@@ -1,11 +1,14 @@
           MODULE=ConsoleKit
          VERSION=0.2.3
           SOURCE=$MODULE-$VERSION.tar.gz
+         SOURCE2=$MODULE-Makefile.patch
       SOURCE_URL=http://people.freedesktop.org/~mccann/dist/
+     SOURCE2_URL=$PATCH_URL
       SOURCE_VFY=sha1:009f731aa4331125ef052e587d7b0583e07ee8aa
+     SOURCE2_VFY=sha1:a928e8d949579b6aa72fc84d1abf4586ab804815
         WEB_SITE=http://www.freedesktop.org/wiki/Software/hal
          ENTERED=20071119
-         UPDATED=20071119
+         UPDATED=20071207
            PSAFE=no
            SHORT="a framework for defining and tracking users"
 
diff --git a/security/ConsoleKit/init.d/ConsoleKit b/security/ConsoleKit/init.d/ConsoleKit
new file mode 100755
index 0000000..508523c
--- /dev/null
+++ b/security/ConsoleKit/init.d/ConsoleKit
@@ -0,0 +1,24 @@
+#!/bin/bash
+#
+# ConsoleKit: ConsoleKit daemon
+#
+# chkconfig: 345 90 10
+# short: ConsoleKit
+# description: The ConsoleKit maintains a list of sessions
+# processname: console-kit-daemon
+# pidfile: /var/run/ConsoleKit.pid
+
+stop () {
+  get_data
+
+  echo -n "Stopping $SHORT: "
+  if skill -SIGTERM $PROCESS; then
+    echo -e $RESULT_OK
+    rm -f $PIDFILE
+  else
+    echo -e $RESULT_FAILED
+  fi
+}
+
+. /lib/lsb/init-functions
+


More information about the Lunar-commits mailing list