Package: libcryptsetup4
Version: 2:1.6.1-1
Tags: patch
Followup-For: Bug #696008

heres a patch, also makes the -dev package multi-arch: same,
as I am working on getting systemd to multi-arch cross-build

Thanks,

Shawn


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
armhf

Kernel: Linux 3.13.0-rc2-00123-g70839b6 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libcryptsetup4 depends on:
ii  libc6               2.17-97
ii  libdevmapper1.02.1  2:1.02.77-6+b1
ii  libgcrypt11         1.5.3-2
ii  libgpg-error0       1.12-0.2
ii  libuuid1            2.20.1-5.5

libcryptsetup4 recommends no packages.

libcryptsetup4 suggests no packages.

-- no debconf information
>From 5d6e9c301debaa11c364422272b526958dc8add0 Mon Sep 17 00:00:00 2001
From: Shawn Landden <sh...@churchofgit.com>
Date: Tue, 3 Dec 2013 11:30:03 -0800
Subject: [PATCH] multiarchify

---
 debian/control | 2 ++
 debian/rules   | 4 +++-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index 9245342..a02c039 100644
--- a/debian/control
+++ b/debian/control
@@ -46,6 +46,7 @@ Description: disk encryption support - command line tools
 Package: libcryptsetup4
 Section: libs
 Architecture: linux-any
+Multi-arch: same
 Depends: ${shlibs:Depends}, ${misc:Depends}, libgpg-error0 (>= 1.10-0.1), libgcrypt11 (>= 1.4.6-2)
 Description: disk encryption support - shared library
  Cryptsetup provides an interface for configuring encryption on block
@@ -58,6 +59,7 @@ Description: disk encryption support - shared library
 Package: libcryptsetup-dev
 Section: libdevel
 Architecture: linux-any
+Multi-arch: same
 Depends: ${misc:Depends}, libcryptsetup4 (= ${binary:Version})
 Description: disk encryption support - development files
  Cryptsetup provides an interface for configuring encryption on block
diff --git a/debian/rules b/debian/rules
index 25dd2f6..7c7063c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,4 +1,5 @@
 #!/usr/bin/make -f
+include /usr/share/dpkg/architecture.mk
 
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
@@ -87,8 +88,9 @@ install-stamp: build-stamp
 	$(MAKE) DESTDIR=$(CURDIR)/debian/cryptsetup-bin install
 
 	# Copy library files to library packages
+	mkdir -p $(CURDIR)/debian/libcryptsetup4/lib/$(DEB_HOST_MULTIARCH)/
 	cp -a $(CURDIR)/debian/cryptsetup-bin/lib/libcryptsetup.so.* \
-		$(CURDIR)/debian/libcryptsetup4/lib/
+		$(CURDIR)/debian/libcryptsetup4/lib/$(DEB_HOST_MULTIARCH)/
 	#cp -a $(CURDIR)/debian/cryptsetup-bin/lib/libcryptsetup.la \
 	#	$(CURDIR)/debian/libcryptsetup-dev/usr/lib/
 	#cp -a $(CURDIR)/debian/cryptsetup-bin/lib/libcryptsetup.a \
-- 
1.8.5

Reply via email to