summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2012-02-29 23:00:26 +0100
committerMichael Biebl <biebl@debian.org>2012-02-29 23:00:26 +0100
commite2a148a6dd89b0af30587144b86077f8bf974d12 (patch)
tree21ca3f78264b15a0ecefb0edeba5e1781c1fb240
parentc8dd474d15cced461380e241f23924b09f810053 (diff)
downloadconsolekit-e2a148a6dd89b0af30587144b86077f8bf974d12.tar.gz
Install libck-connector and libpam-ck-connector into multiarch paths and mark them as Multi-Arch: same.
-rw-r--r--debian/changelog2
-rw-r--r--debian/control3
-rw-r--r--debian/libck-connector-dev.install4
-rw-r--r--debian/libck-connector0.install2
-rw-r--r--debian/libpam-ck-connector.install2
-rwxr-xr-xdebian/rules3
6 files changed, 11 insertions, 5 deletions
diff --git a/debian/changelog b/debian/changelog
index a3f70bf..529b52c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,8 @@ consolekit (0.4.5-3) UNRELEASED; urgency=low
there is already one in libck-connector-dev.
* Bump debhelper compatibility level to 9 for hardening build flags via
dpkg-buildflags and multiarch support.
+ * Install libck-connector and libpam-ck-connector into multiarch paths and
+ mark them as Multi-Arch: same.
-- Michael Biebl <biebl@debian.org> Mon, 27 Feb 2012 18:29:01 +0100
diff --git a/debian/control b/debian/control
index b95c183..f3a6ce1 100644
--- a/debian/control
+++ b/debian/control
@@ -38,6 +38,8 @@ Description: framework for defining and tracking users, sessions and seats
Package: libck-connector0
Section: libs
Architecture: any
+Multi-Arch: same
+Pre-Depends: ${misc:Pre-Depends}
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: ConsoleKit libraries
ConsoleKit is a system daemon for tracking what users are logged
@@ -61,6 +63,7 @@ Description: ConsoleKit development files
Package: libpam-ck-connector
Section: admin
Architecture: any
+Multi-Arch: same
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
diff --git a/debian/libck-connector-dev.install b/debian/libck-connector-dev.install
index 480f5cf..cfb930b 100644
--- a/debian/libck-connector-dev.install
+++ b/debian/libck-connector-dev.install
@@ -1,5 +1,5 @@
-usr/lib/libck-connector.so
-usr/lib/pkgconfig/
+usr/lib/*/libck-connector.so
+usr/lib/*/pkgconfig/
usr/include/ConsoleKit/ck-connector/
usr/share/dbus-1/interfaces/org.freedesktop.ConsoleKit.*.xml
usr/share/doc/ConsoleKit/spec/ usr/share/doc/libck-connector-dev/
diff --git a/debian/libck-connector0.install b/debian/libck-connector0.install
index f7954b5..9ef82fc 100644
--- a/debian/libck-connector0.install
+++ b/debian/libck-connector0.install
@@ -1 +1 @@
-usr/lib/libck-connector.so.*
+usr/lib/*/libck-connector.so.*
diff --git a/debian/libpam-ck-connector.install b/debian/libpam-ck-connector.install
index f79680f..5df8e6f 100644
--- a/debian/libpam-ck-connector.install
+++ b/debian/libpam-ck-connector.install
@@ -1,3 +1,3 @@
-lib/security/pam_ck_connector.so
+lib/*/security/pam_ck_connector.so
usr/share/man/man8/pam_ck_connector.8
usr/share/pam-configs/consolekit
diff --git a/debian/rules b/debian/rules
index 3a4c677..2e8d504 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,7 +9,8 @@ override_dh_auto_configure:
--enable-pam-module \
--enable-docbook-docs \
--with-pid-file=/var/run/console-kit-daemon.pid \
- --with-systemdsystemunitdir=/lib/systemd/system
+ --with-systemdsystemunitdir=/lib/systemd/system \
+ --with-pam-module-dir=/lib/$(DEB_HOST_MULTIARCH)/security
override_dh_auto_install:
dh_auto_install