Package: release.debian.org
Severity: normal
User: release.debian....@packages.debian.org
Usertags: unblock

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Dear Release Team

Cc'in Daniel Baumann <daniel.baum...@progress-technologies.net>
(maintainer of fuse).

fuse package has RC bug #696066 in wheezy. Previously (in Squeeze) the
package shiped /usr/share/doc/fuse-utils as symlink but in Wheezy
fuse-utils is only a transitional package. dpkg overwrites files over
an existing symlink, so if one upgrades to wheezy and removes
afterwards fuse-utils libfuse2 looses files.

Attached ist the proposed debdiff by adding a preinst for fuse-utils
checking for the symlink and removing it.

The changes to the debian/*.install files come due to my build host
beeing on amd64.

fuse also provides a udeb, so this will need also an ack from d-i?

unblock fuse/2.9.0-2+deb7u1

Regards,
Salvatore

- -- System Information:
Debian Release: 7.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/8 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

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

iQIcBAEBCgAGBQJQ2spBAAoJEHidbwV/2GP+BK0QAI1jBMdmtAihBF6jiWCII60O
54kfPlEFiLpU544Lzr+Fr7KPE/nVX8dOf2ffgl0uEIJPa84XSZrC473C8g7iqRwC
W3EnSHqH/Yq6409WrBFnh8D1NUum3G/DvfSeoMwe3Wt77gAPxcJQpU43re8sn3u8
eQy9SP6dTTt5sGTPGPNT1uMtWLlxjA4+Opk3ZbRCNwblR1G4F5uiujxS/oL4wAj9
9khRu6cuv+90y9FrYXKPcBE7c9cUxP0QdEtdrq0xMF6aSHv2txemh0DJe5soE/dW
Hz0As3ZnvX5i56CxKIgzXz6F5sml/WLOdLEs8o5nWlbE5lV3SlYDuOvnjAV0041H
DZW+QKThQirVu1epa+C+NqgnpI6+8wlONro+Iuu1oinxNF37yQvdNi0KYEH3yivw
fZ2+YSpYWVvQfVqiTNrVnuW9S4v0D6GOCYx7U9F6vS+tTQIMXJmxf0F1HZiXh5cx
IJYmXeedomnxNYTjnepCX2JKU203JxavH3MBS49vZq1ib7Dm55fXAe0tC3IOnzoc
qGmtaBkbq6rndS1jlrtrUVs4QEGMRBXv9Qj8NGgfOIby5nXaoxGMkZ5ZMbV70rEj
4V3J43zKR4NI7RzTwISMOW9/bGN1+gkO9w5ITUwBaKg82nLTLnrrQGdC7jtA6WMU
L8GTQ9ImLPqknaoNhMdU
=rK2s
-----END PGP SIGNATURE-----
diffstat for fuse-2.9.0 fuse-2.9.0

 changelog             |   11 +++++++++++
 fuse-utils.preinst    |   33 +++++++++++++++++++++++++++++++++
 libfuse-dev.install   |    6 +++---
 libfuse2-udeb.install |    2 +-
 libfuse2.install      |    2 +-
 5 files changed, 49 insertions(+), 5 deletions(-)

diff -Nru fuse-2.9.0/debian/changelog fuse-2.9.0/debian/changelog
--- fuse-2.9.0/debian/changelog	2012-06-21 13:53:17.000000000 +0200
+++ fuse-2.9.0/debian/changelog	2012-12-26 10:20:36.000000000 +0100
@@ -1,3 +1,14 @@
+fuse (2.9.0-2+deb7u1) testing-proposed-updates; urgency=low
+
+  * Non-maintainer upload.
+  * Fix "directory vs. symlink mess after squeeze => wheezy upgrade:
+    /usr/share/doc/fuse-utils/". dpkg overwrites files over an existing
+    symlink. Thus test in fuse-utils.preinst if a symlink exists and remove
+    it, as in Squeeze fuse-utils had a symlink in /usr/share/doc but not in
+    Wheezy (Closes: #696066).
+
+ -- Salvatore Bonaccorso <car...@debian.org>  Sat, 22 Dec 2012 15:35:33 +0100
+
 fuse (2.9.0-2) unstable; urgency=low
 
   * Correcting debhelper docs file to not include unwanted files
diff -Nru fuse-2.9.0/debian/fuse-utils.preinst fuse-2.9.0/debian/fuse-utils.preinst
--- fuse-2.9.0/debian/fuse-utils.preinst	1970-01-01 01:00:00.000000000 +0100
+++ fuse-2.9.0/debian/fuse-utils.preinst	2012-12-26 10:20:36.000000000 +0100
@@ -0,0 +1,33 @@
+#!/bin/sh
+# preinst script for fuse-utils
+#
+# see: dh_installdeb(1)
+
+set -e
+
+case "$1" in
+    install|upgrade)
+	    # In Squeeze /usr/share/doc/fuse-utils was a symlink but in
+	    # Wheezy fuse-utils is only a transitional package. dpkg 
+	    # installs the files over an existing symlink.
+	    # When removing fuse-utils package afterwards files installed by
+	    # fuse-utils are missing. Thus test first if 
+	    # /usr/share/doc/fuse-utils is a symlink and remove it
+	    test ! -L /usr/share/doc/fuse-utils || rm /usr/share/doc/fuse-utils
+    ;;
+
+    abort-upgrade)
+    ;;
+
+    *)
+        echo "preinst called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
diff -Nru fuse-2.9.0/debian/libfuse-dev.install fuse-2.9.0/debian/libfuse-dev.install
--- fuse-2.9.0/debian/libfuse-dev.install	2012-06-21 13:54:54.000000000 +0200
+++ fuse-2.9.0/debian/libfuse-dev.install	2012-12-26 10:21:14.000000000 +0100
@@ -1,4 +1,4 @@
 usr/include
-usr/lib/i386-linux-gnu/pkgconfig
-usr/lib/i386-linux-gnu/*.a
-usr/lib/i386-linux-gnu/*.so
+usr/lib/x86_64-linux-gnu/pkgconfig
+usr/lib/x86_64-linux-gnu/*.a
+usr/lib/x86_64-linux-gnu/*.so
diff -Nru fuse-2.9.0/debian/libfuse2-udeb.install fuse-2.9.0/debian/libfuse2-udeb.install
--- fuse-2.9.0/debian/libfuse2-udeb.install	2012-06-21 13:54:54.000000000 +0200
+++ fuse-2.9.0/debian/libfuse2-udeb.install	2012-12-26 10:21:14.000000000 +0100
@@ -1 +1 @@
-usr/lib/i386-linux-gnu/*.so.*	lib
+usr/lib/x86_64-linux-gnu/*.so.*	lib
diff -Nru fuse-2.9.0/debian/libfuse2.install fuse-2.9.0/debian/libfuse2.install
--- fuse-2.9.0/debian/libfuse2.install	2012-06-21 13:54:54.000000000 +0200
+++ fuse-2.9.0/debian/libfuse2.install	2012-12-26 10:21:14.000000000 +0100
@@ -1 +1 @@
-usr/lib/i386-linux-gnu/*.so.*	lib
+usr/lib/x86_64-linux-gnu/*.so.*	lib

Reply via email to