Source: libpam-ldap
Version:184-8.5
Tags: patch
Hi folks,

Please find attached a patch to libpam-ldap to transition it to use of the
multiarch library paths as described at
<http://wiki.debian.org/Multiarch/Implementation>.

--
Benjamin Kerensa
Team Lead, Ubuntu Oregon
http://ubuntu-oregon.org
diff -u libpam-ldap-184/debian/control libpam-ldap-184/debian/control
--- libpam-ldap-184/debian/control
+++ libpam-ldap-184/debian/control
@@ -4,9 +4,10 @@
 XSBC-Original-Maintainer: Richard A Nelson (Rick) <cow...@debian.org>
 Maintainer: Ubuntu Core Developers <ubuntu-devel-disc...@lists.ubuntu.com>
 Standards-Version: 3.7.2
-Build-Depends: cdbs, quilt, patchutils, dh-buildinfo, debhelper (>= 5), autotools-dev, libldap2-dev, libsasl2-dev, libpam0g-dev
+Build-Depends: cdbs, quilt, patchutils, dh-buildinfo, debhelper (>= 8.1.3~), autotools-dev, libldap2-dev, libsasl2-dev, libpam0g-dev
 
 Package: libpam-ldap
+Multi-Arch: same
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}, libpam-runtime (>= 1.0.1-6), ldap-auth-config (>= 0.5.2)
 Suggests: libnss-ldapd | libnss-ldap 
diff -u libpam-ldap-184/debian/libpam-ldap.install libpam-ldap-184/debian/libpam-ldap.install
--- libpam-ldap-184/debian/libpam-ldap.install
+++ libpam-ldap-184/debian/libpam-ldap.install
@@ -8,3 +8,3 @@
 debian/LDAP-Permissions.txt usr/share/doc/libpam-ldap
-debian/tmp/usr/lib/security lib
+debian/tmp/usr/lib/*/security lib
 debian/tmp/usr/share/pam-configs/ldap
diff -u libpam-ldap-184/debian/rules libpam-ldap-184/debian/rules
--- libpam-ldap-184/debian/rules
+++ libpam-ldap-184/debian/rules
@@ -12,6 +12,7 @@
 
 DEB_DESTDIR = $(CURDIR)/debian/tmp
 MY_INSTR_DIR = $(CURDIR)/debian/libpam-ldap
+DEB_CONFIGURE_EXTRA_FLAGS += --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH)
 DEB_CONFIGURE_EXTRA_FLAGS += \
 	--with-ldap-lib=openldap 
 DEB_OPT_FLAG += -fPIC
diff -u libpam-ldap-184/debian/compat libpam-ldap-184/debian/compat
--- libpam-ldap-184/debian/compat
+++ libpam-ldap-184/debian/compat
@@ -1 +1 @@
-5
+9
diff -u libpam-ldap-184/debian/changelog libpam-ldap-184/debian/changelog
--- libpam-ldap-184/debian/changelog
+++ libpam-ldap-184/debian/changelog
@@ -1,3 +1,9 @@
+libpam-ldap (184-8.5ubuntu1.1) oneiric; urgency=low
+
+  * Package transitioned to Multi-Arch
+
+ -- Benjamin Kerensa <bkere...@ubuntu.com>  Sun, 01 Jan 2012 20:14:48 -0800
+
 libpam-ldap (184-8.5ubuntu1) oneiric; urgency=low
 
   * Merge from Debian unstable, remaining changes:

Reply via email to