[Pkg-utopia-commits] r2962 - in /packages/unstable/consolekit/debian: changelog control libpam-ck-connector.install libpam-ck-connector.pam-auth-update libpam-ck-connector.postinst libpam-ck-connector.prerm rules

biebl at users.alioth.debian.org biebl at users.alioth.debian.org
Tue Mar 10 11:48:39 UTC 2009


Author: biebl
Date: Tue Mar 10 11:48:39 2009
New Revision: 2962

URL: http://svn.debian.org/wsvn/pkg-utopia/?sc=1&rev=2962
Log:
* debian/libpam-ck-connector.{pam-auth-update,install,postinst,prerm},
  debian/rules: enable pam_ck_connector by default using the new
  pam-auth-update support.
* debian/control: depend on libpam-runtime (>= 1.0.1-6) for the above.

Added:
    packages/unstable/consolekit/debian/libpam-ck-connector.pam-auth-update
    packages/unstable/consolekit/debian/libpam-ck-connector.postinst
    packages/unstable/consolekit/debian/libpam-ck-connector.prerm
Modified:
    packages/unstable/consolekit/debian/changelog
    packages/unstable/consolekit/debian/control
    packages/unstable/consolekit/debian/libpam-ck-connector.install
    packages/unstable/consolekit/debian/rules

Modified: packages/unstable/consolekit/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-utopia/packages/unstable/consolekit/debian/changelog?rev=2962&op=diff
==============================================================================
--- packages/unstable/consolekit/debian/changelog (original)
+++ packages/unstable/consolekit/debian/changelog Tue Mar 10 11:48:39 2009
@@ -33,6 +33,10 @@
     - debian/control
       + Add libkvm-dev to Build-Depends on kfreebsd ports.
     Patch by Luca Favatella, thanks.
+  * debian/libpam-ck-connector.{pam-auth-update,install,postinst,prerm},
+    debian/rules: enable pam_ck_connector by default using the new
+    pam-auth-update support.
+  * debian/control: depend on libpam-runtime (>= 1.0.1-6) for the above.
 
  -- Michael Biebl <biebl at debian.org>  Tue, 03 Mar 2009 01:37:02 +0100
 

Modified: packages/unstable/consolekit/debian/control
URL: http://svn.debian.org/wsvn/pkg-utopia/packages/unstable/consolekit/debian/control?rev=2962&op=diff
==============================================================================
--- packages/unstable/consolekit/debian/control (original)
+++ packages/unstable/consolekit/debian/control Tue Mar 10 11:48:39 2009
@@ -60,7 +60,7 @@
 Package: libpam-ck-connector
 Section: admin
 Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}
+Depends: ${shlibs:Depends}, ${misc:Depends}, libpam-runtime (>= 1.0.1-6)
 Description: ConsoleKit PAM module 
  ConsoleKit is a system daemon for tracking what users are logged
  into the system and how they interact with the computer (e.g.

Modified: packages/unstable/consolekit/debian/libpam-ck-connector.install
URL: http://svn.debian.org/wsvn/pkg-utopia/packages/unstable/consolekit/debian/libpam-ck-connector.install?rev=2962&op=diff
==============================================================================
--- packages/unstable/consolekit/debian/libpam-ck-connector.install (original)
+++ packages/unstable/consolekit/debian/libpam-ck-connector.install Tue Mar 10 11:48:39 2009
@@ -1,2 +1,3 @@
 debian/tmp/lib/security/pam_ck_connector.so
 debian/tmp/usr/share/man/man8/pam_ck_connector.8
+debian/tmp/usr/share/pam-configs/consolekit

Added: packages/unstable/consolekit/debian/libpam-ck-connector.pam-auth-update
URL: http://svn.debian.org/wsvn/pkg-utopia/packages/unstable/consolekit/debian/libpam-ck-connector.pam-auth-update?rev=2962&op=file
==============================================================================
--- packages/unstable/consolekit/debian/libpam-ck-connector.pam-auth-update (added)
+++ packages/unstable/consolekit/debian/libpam-ck-connector.pam-auth-update Tue Mar 10 11:48:39 2009
@@ -1,0 +1,6 @@
+Name: ConsoleKit Session Management
+Default: yes
+Priority: 0
+Session-Type: Additional
+Session-Final:
+	optional			pam_ck_connector.so nox11

Added: packages/unstable/consolekit/debian/libpam-ck-connector.postinst
URL: http://svn.debian.org/wsvn/pkg-utopia/packages/unstable/consolekit/debian/libpam-ck-connector.postinst?rev=2962&op=file
==============================================================================
--- packages/unstable/consolekit/debian/libpam-ck-connector.postinst (added)
+++ packages/unstable/consolekit/debian/libpam-ck-connector.postinst Tue Mar 10 11:48:39 2009
@@ -1,0 +1,7 @@
+#!/bin/sh
+
+set -e
+
+pam-auth-update --package
+
+#DEBHELPER#

Added: packages/unstable/consolekit/debian/libpam-ck-connector.prerm
URL: http://svn.debian.org/wsvn/pkg-utopia/packages/unstable/consolekit/debian/libpam-ck-connector.prerm?rev=2962&op=file
==============================================================================
--- packages/unstable/consolekit/debian/libpam-ck-connector.prerm (added)
+++ packages/unstable/consolekit/debian/libpam-ck-connector.prerm Tue Mar 10 11:48:39 2009
@@ -1,0 +1,11 @@
+#!/bin/sh
+
+set -e
+
+if [ "$1" = remove ]; then
+	pam-auth-update --package --remove consolekit
+fi
+
+#DEBHELPER#
+
+exit 0

Modified: packages/unstable/consolekit/debian/rules
URL: http://svn.debian.org/wsvn/pkg-utopia/packages/unstable/consolekit/debian/rules?rev=2962&op=diff
==============================================================================
--- packages/unstable/consolekit/debian/rules (original)
+++ packages/unstable/consolekit/debian/rules Tue Mar 10 11:48:39 2009
@@ -13,3 +13,4 @@
 
 install/consolekit::
 	install -m 755 debian/pam-foreground-compat.ck debian/tmp/usr/lib/ConsoleKit/run-session.d/
+	install -D -m 644 debian/libpam-ck-connector.pam-auth-update debian/tmp/usr/share/pam-configs/consolekit




More information about the Pkg-utopia-commits mailing list