[ Michael Biebl ]
* Bump to debhelper 9.
+ * Convert to Multi-Arch: same where possible. Closes: #676615
-- Tollef Fog Heen <tfheen@debian.org> Fri, 29 Jun 2012 22:34:16 +0200
Package: libpam-systemd
Architecture: linux-any
+Multi-Arch: same
Section: admin
Priority: extra
+Pre-Depends: ${misc:Pre-Depends}
Depends: systemd (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
Description: system and service manager - PAM module
systemd is a replacement for sysvinit. It is dependency-based and
Package: libsystemd-login0
Architecture: linux-any
+Multi-Arch: same
Section: libs
+Pre-Depends: ${misc:Pre-Depends}
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: systemd login utility library
The libsystemd-login library provides an interface for the
Package: libsystemd-daemon0
Architecture: linux-any
+Multi-Arch: same
Section: libs
+Pre-Depends: ${misc:Pre-Depends}
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: systemd utility library
The sd-daemon library provides a reference implementation of various
Package: libsystemd-journal0
Architecture: linux-any
+Multi-Arch: same
Section: libs
+Pre-Depends: ${misc:Pre-Depends}
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: systemd journal utility library
The libsystemd-journal library provides an interface for the
Package: libsystemd-id128-0
Architecture: linux-any
+Multi-Arch: same
Section: libs
+Pre-Depends: ${misc:Pre-Depends}
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: systemd 128 bit ID utility library
The libsystemd-id128 library provides utility functions for generating
-lib/security/pam_systemd.so
+lib/*/security/pam_systemd.so
usr/share/man/man8/pam_systemd.8
-usr/lib/libsystemd-daemon.so
-usr/lib/pkgconfig/libsystemd-daemon.pc
+usr/lib/*/libsystemd-daemon.so
+usr/lib/*/pkgconfig/libsystemd-daemon.pc
usr/include/systemd/sd-daemon.h
-lib/libsystemd-daemon.so.*
+lib/*/libsystemd-daemon.so.*
-lib/libsystemd-id128.so.*
+lib/*/libsystemd-id128.so.*
-usr/lib/libsystemd-id128.so
-usr/lib/pkgconfig/libsystemd-id128.pc
+usr/lib/*/libsystemd-id128.so
+usr/lib/*/pkgconfig/libsystemd-id128.pc
usr/include/systemd/sd-id128.h
-usr/lib/libsystemd-journal.so
-usr/lib/pkgconfig/libsystemd-journal.pc
+usr/lib/*/libsystemd-journal.so
+usr/lib/*/pkgconfig/libsystemd-journal.pc
usr/include/systemd/sd-journal.h
usr/include/systemd/sd-messages.h
-lib/libsystemd-journal.so.*
+lib/*/libsystemd-journal.so.*
-usr/lib/libsystemd-login.so
-usr/lib/pkgconfig/libsystemd-login.pc
+usr/lib/*/libsystemd-login.so
+usr/lib/*/pkgconfig/libsystemd-login.pc
usr/include/systemd/sd-login.h
-lib/libsystemd-login.so.*
+lib/*/libsystemd-login.so.*
#export DH_VERBOSE=1
#export DEB_BUILD_OPTIONS="nostrip"
+DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+
override_dh_auto_configure:
dh_auto_configure -- \
--with-rootprefix= \
- --with-rootlibdir=/lib \
+ --with-rootlibdir=/lib/$(DEB_HOST_MULTIARCH) \
--with-udevrulesdir=/lib/udev/rules.d \
--enable-gtk \
--enable-libcryptsetup \
override_dh_install:
rm debian/tmp/usr/share/doc/systemd/LICENSE
- rm debian/tmp/lib/security/pam_systemd.la
- rm debian/tmp/usr/lib/*.la
rm debian/tmp/lib/systemd/system/sysinit.target.wants/systemd-vconsole-setup.service
+ find debian/tmp/ -name '*.la' -delete
chmod +x debian/debian-fixup
dh_install -O--parallel --fail-missing
dh_install -plibpam-systemd debian/pam-configs /usr/share
usr/lib/modules-load.d
usr/lib/sysctl.d
usr/lib/systemd
+usr/lib/*/systemd
usr/lib/tmpfiles.d
debian/init-functions lib/lsb
debian/debian-fixup lib/systemd/