Your message dated Fri, 16 Dec 2011 16:18:23 +0000
with message-id <[email protected]>
and subject line Bug#638018: fixed in libsepol 2.1.0-1.2
has caused the Debian Bug report #638018,
regarding please add multi-arch support like in libselinux
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
638018: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=638018
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libsepol
Version: 2.0.42-1
Severity: wishlist
User: [email protected]
Usertags: multiarch
Tags: patch

Hi,

Libselinux was already updated to multi-arch. This patch is almost identical,
except for libsepol. In case you don't have time, I can also NMU it and take
care of any possible fallout. Hence the optimistic "NMU with maintainer 
approval"
changelog entry ;)

Riku
diff -u libsepol-2.0.42/debian/changelog libsepol-2.0.42/debian/changelog
--- libsepol-2.0.42/debian/changelog
+++ libsepol-2.0.42/debian/changelog
@@ -1,3 +1,14 @@
+libsepol (2.0.42-1.1) unstable; urgency=low
+
+  * Non-maintainer upload with permission of the maintainer.
+  * Build for multiarch, setting Pre-Depends multiarch-support in our shared
+    lib package.
+  * Always use -n with gzip, to avoid encoding timestamps in the gzip file;
+    this ensures compressed docs and other files are identical across
+    multiple builds, required for multiarch.
+
+ -- Riku Voipio <[email protected]>  Tue, 16 Aug 2011 17:29:52 +0300
+
 libsepol (2.0.42-1) unstable; urgency=low
 
   * New Upstream ver: Fix compliation under GCC 4.6 by Justin Mattock
diff -u libsepol-2.0.42/debian/local-vars.mk libsepol-2.0.42/debian/local-vars.mk
--- libsepol-2.0.42/debian/local-vars.mk
+++ libsepol-2.0.42/debian/local-vars.mk
@@ -26,7 +26,7 @@
 
 PREFIX  = /usr
 BINDIR  = $(TMPTOP)$(PREFIX)/bin
-LIBDIR  = $(TMPTOP)/lib
+LIBDIR  = $(TMPTOP)/lib/$(DEB_HOST_MULTIARCH)
 INCLUDE = $(TMPTOP)$(PREFIX)/include
 INCDIR  = $(INCLUDE)/sepol
 
diff -u libsepol-2.0.42/debian/control libsepol-2.0.42/debian/control
--- libsepol-2.0.42/debian/control
+++ libsepol-2.0.42/debian/control
@@ -6,12 +6,13 @@
 Maintainer: Manoj Srivastava <[email protected]>
 Uploaders: Russell Coker <[email protected]>
 Standards-Version: 3.8.3.0
-Build-Depends: file
+Build-Depends: file, dpkg-dev (>= 1.16.0)
 
 Package: sepol-utils
 Section: admin
 Architecture: any
 Depends: ${shlibs:Depends}
+Multi-Arch: foreign
 Conflicts: checkpolicy (<= 1.20)
 Description: Security Enhanced Linux policy utility programs
  This package provides a utility for a Security-enhanced
@@ -28,6 +29,8 @@
 Priority: required
 Architecture: any
 Depends: ${shlibs:Depends}
+Pre-Depends: multiarch-support
+Multi-Arch: same
 Description: SELinux library for manipulating binary security policies
  Security-enhanced Linux is a patch of the Linux kernel and a number
  of utilities with enhanced security functionality designed to add
@@ -50,6 +53,7 @@
 Provides: libsepol-dev
 Conflicts: libsepol-dev
 Depends: ${shlibs:Depends},  libsepol1 (= ${binary:Version})
+Multi-Arch: same
 Description: SELinux binary policy maniulation library and development files
  libsepol allows programs to easily modify SELinux binary policies.  This
  means changing the default values for booleans, or reading the policy for
diff -u libsepol-2.0.42/debian/local.mk libsepol-2.0.42/debian/local.mk
--- libsepol-2.0.42/debian/local.mk
+++ libsepol-2.0.42/debian/local.mk
@@ -81,7 +81,7 @@
 	$(make_directory)   $(LIBDIR)
 	$(make_directory)   $(TMPTOP)/DEBIAN
 	$(install_file)	    debian/shlibs	     $(TMPTOP)/DEBIAN
-	$(MAKE)		    DESTDIR=$(TMPTOP) -C src install
+	$(MAKE)		    DESTDIR=$(TMPTOP) SHLIBDIR=$(LIBDIR) -C src install
 	rm -f		    $(LIBDIR)/libsepol.a
 	rm -f		    $(LIBDIR)/libsepol.so
 	test ! -e           $(LIBDIR)/libsepol.pc || rm -f $(LIBDIR)/libsepol.pc
@@ -89,7 +89,7 @@
 	chmod 0644          $(LIBDIR)/libsepol.so.1
 	$(install_file)	    debian/changelog	     $(DOCDIR)/changelog.Debian
 	$(install_file)	    ChangeLog		     $(DOCDIR)/changelog
-	gzip -9fqr	    $(DOCDIR)/
+	gzip -9fnqr	    $(DOCDIR)/
 # Make sure the copyright file is not compressed
 	$(install_file)	     debian/copyright	     $(DOCDIR)/copyright
 	$(strip-lib)
@@ -111,14 +111,14 @@
 	$(MAKE)		    DESTDIR=$(TMPTOP) -C man install
 	rm -rf		    $(MAN8DIR)
 	$(MAKE)		    DESTDIR=$(TMPTOP) -C include install
-	$(MAKE)		    DESTDIR=$(TMPTOP) -C src install
-	rm -rf		    $(LIBDIR)
-	rm -f		    $(TMPTOP)/usr/lib/libsepol.so
-	ln -s               /lib/libsepol.so.1       $(TMPTOP)/usr/lib/libsepol.so
+	$(MAKE)		    DESTDIR=$(TMPTOP) LIBDIR=$(TMPTOP)/usr/lib/$(DEB_HOST_MULTIARCH) SHLIBDIR=$(LIBDIR) -C src install
+	rm -rf		    $(TMPTOP)/lib
+	rm -f		    $(TMPTOP)/usr/lib/$(DEB_HOST_MULTIARCH)/libsepol.so
+	ln -s               /lib/$(DEB_HOST_MULTIARCH)/libsepol.so.1 $(TMPTOP)/usr/lib/$(DEB_HOST_MULTIARCH)/libsepol.so
 	$(install_file)	    debian/changelog	     $(DOCDIR)/changelog.Debian
 	$(install_file)	    ChangeLog		     $(DOCDIR)/changelog
-	gzip -9fqr	    $(DOCDIR)/
-	gzip -9fqr	    $(MANDIR)/
+	gzip -9fqnr	    $(DOCDIR)/
+	gzip -9fqnr	    $(MANDIR)/
 # Make sure the copyright file is not compressed
 	$(install_file)	     debian/copyright	     $(DOCDIR)/copyright
 	$(strip-lib)
@@ -139,8 +139,8 @@
 	$(MAKE) DESTDIR=$(TMPTOP) -C utils install
 	$(install_file)	     debian/changelog	     $(DOCDIR)/changelog.Debian
 	$(install_file)	    ChangeLog		     $(DOCDIR)/changelog
-	gzip -9fqr	    $(DOCDIR)/
-	gzip -9fqr	    $(MANDIR)/
+	gzip -9fnqr	    $(DOCDIR)/
+	gzip -9fnqr	    $(MANDIR)/
 # Make sure the copyright file is not compressed
 	$(install_file)	     debian/copyright	     $(DOCDIR)/copyright
 	$(strip-exec)
diff -u libsepol-2.0.42/debian/common/archvars.mk libsepol-2.0.42/debian/common/archvars.mk
--- libsepol-2.0.42/debian/common/archvars.mk
+++ libsepol-2.0.42/debian/common/archvars.mk
@@ -80,6 +80,7 @@
 export DEB_HOST_GNU_CPU    := $(shell $(DPKG_ARCH) $(ha) -qDEB_HOST_GNU_CPU)
 export DEB_HOST_GNU_SYSTEM := $(shell $(DPKG_ARCH) $(ha) -qDEB_HOST_GNU_SYSTEM)
 export DEB_HOST_GNU_TYPE   := $(shell $(DPKG_ARCH) $(ha) -qDEB_HOST_GNU_TYPE)
+export DEB_HOST_MULTIARCH  := $(shell $(DPKG_ARCH) $(ha) -qDEB_HOST_MULTIARCH)
 
 # arrgh. future proofing
 ifeq ($(DEB_HOST_GNU_SYSTEM), linux)

--- End Message ---
--- Begin Message ---
Source: libsepol
Source-Version: 2.1.0-1.2

We believe that the bug you reported is fixed in the latest version of
libsepol, which is due to be installed in the Debian FTP archive:

libsepol1-dev_2.1.0-1.2_amd64.deb
  to main/libs/libsepol/libsepol1-dev_2.1.0-1.2_amd64.deb
libsepol1_2.1.0-1.2_amd64.deb
  to main/libs/libsepol/libsepol1_2.1.0-1.2_amd64.deb
libsepol_2.1.0-1.2.dsc
  to main/libs/libsepol/libsepol_2.1.0-1.2.dsc
libsepol_2.1.0-1.2.tar.gz
  to main/libs/libsepol/libsepol_2.1.0-1.2.tar.gz
sepol-utils_2.1.0-1.2_amd64.deb
  to main/libs/libsepol/sepol-utils_2.1.0-1.2_amd64.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Riku Voipio <[email protected]> (supplier of updated libsepol package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Fri, 16 Dec 2011 17:43:47 +0200
Source: libsepol
Binary: sepol-utils libsepol1 libsepol1-dev
Architecture: source amd64
Version: 2.1.0-1.2
Distribution: unstable
Urgency: low
Maintainer: Russell Coker <[email protected]>
Changed-By: Riku Voipio <[email protected]>
Description: 
 libsepol1  - SELinux library for manipulating binary security policies
 libsepol1-dev - SELinux binary policy maniulation library and development files
 sepol-utils - Security Enhanced Linux policy utility programs
Closes: 638018
Changes: 
 libsepol (2.1.0-1.2) unstable; urgency=low
 .
   * Non-maintainer upload since maintainer is busy
   * Build for multiarch, setting Pre-Depends multiarch-support in our shared
     lib package, closes: #638018
   * Always use -n with gzip, to avoid encoding timestamps in the gzip file;
     this ensures compressed docs and other files are identical across
     multiple builds, required for multiarch.
Checksums-Sha1: 
 1b0b281fef537104b2f305dbf4d1161be3b2e744 1053 libsepol_2.1.0-1.2.dsc
 cf1c82ad2c9ecfa17a6b4a83b20639af3618b12d 233234 libsepol_2.1.0-1.2.tar.gz
 35f0d89cde6048822c0ea5bf7173806a387d244d 24016 sepol-utils_2.1.0-1.2_amd64.deb
 090ce9fd1c9ce66d0a75a2a31631a94649576d0e 137088 libsepol1_2.1.0-1.2_amd64.deb
 b8528ea876299c60100425fe4e20714aab4545f2 672698 
libsepol1-dev_2.1.0-1.2_amd64.deb
Checksums-Sha256: 
 1515592561e204a11029d378318b421294384ad10b39835ab149b72501645a53 1053 
libsepol_2.1.0-1.2.dsc
 40909460a9f1056f17f9c6486af7fd952a9a6f093d0b56444b482c3a0f20841c 233234 
libsepol_2.1.0-1.2.tar.gz
 596cf5aa26d3cd7dbff94f99803196f2a982894cae110b656443284c09834540 24016 
sepol-utils_2.1.0-1.2_amd64.deb
 0005aea8866109115c881c65d7a0598e633def471a8ef3ea8935a1467da73e94 137088 
libsepol1_2.1.0-1.2_amd64.deb
 65b3efa91ae3d3445c35a59589025c02f6fc15a609a3e08b1259fd7fab489000 672698 
libsepol1-dev_2.1.0-1.2_amd64.deb
Files: 
 08a0e16f3149adb831749285606e6cd3 1053 libs optional libsepol_2.1.0-1.2.dsc
 4ac092bb5399e8a24f00de78f9d13be1 233234 libs optional libsepol_2.1.0-1.2.tar.gz
 5a0de1229ef12391001a301989288df6 24016 admin optional 
sepol-utils_2.1.0-1.2_amd64.deb
 f3909244f7b1388f685d369f5a0e2bff 137088 libs required 
libsepol1_2.1.0-1.2_amd64.deb
 ca2490a9a7af598461dc5628eadeb185 672698 libdevel optional 
libsepol1-dev_2.1.0-1.2_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iD8DBQFO62uZibPvMsrqrwMRAvO1AKDDgMGjargXdwvNoJO17WgOszZU9gCdGHfa
zwRsRJxxXWaWVKC1L0dFtWI=
=mvwo
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to