Your message dated Wed, 06 Jan 2016 15:51:13 +0000
with message-id <[email protected]>
and subject line Bug#767923: fixed in davfs2 1.5.2-1.1
has caused the Debian Bug report #767923,
regarding files with the same name installed in / and /usr
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.)


-- 
767923: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=767923
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: davfs2
Version: 1.5.2-1
Severity: normal
Tags: patch
User: [email protected]
Usertags: usrmerge

The package installs a symbolic link and a file with the same name in
both /sbin/ and /usr/sbin/, so it makes impossible to convert a system
to the everything-in-usr directories scheme.

The attached patch solves this problem by creating the link in postinst
and only if it is needed.

For more information about everything-in-usr please read
http://anonscm.debian.org/cgit/users/md/usrmerge.git/tree/debian/README.Debian

-- 
ciao,
Marco
diff -urpN a/debian/postinst b/debian/postinst
--- a/debian/postinst	2012-07-14 08:22:58.000000000 +0200
+++ b/debian/postinst	2014-11-02 15:34:40.000000000 +0100
@@ -31,6 +31,12 @@ case "$1" in
         chown root:davfs2 /var/run/mount.davfs > /dev/null 2>&1 || true
         chmod 775 /var/cache/davfs2 > /dev/null 2>&1 || true
         chmod 1775 /var/run/mount.davfs > /dev/null 2>&1 || true
+
+        for file in mount.davfs umount.davfs; do
+            if [ ! -e /sbin/$file ]; then
+        	ln -s /usr/sbin/$file /sbin/$file
+            fi
+        done
     ;;
 esac
 #DEBHELPER#
diff -urpN a/debian/postrm b/debian/postrm
--- a/debian/postrm	2014-05-29 13:15:35.000000000 +0200
+++ b/debian/postrm	2014-11-02 15:35:30.000000000 +0100
@@ -48,5 +48,12 @@ if [ "$1" = "purge" ]; then
          fi
        fi
 fi
+if [ "$1" = "remove" ]; then
+    for file in mount.davfs umount.davfs; do
+        if [ -L /sbin/$file ]; then
+            rm /sbin/$file
+        fi
+    done
+fi
 #DEBHELPER#
 exit 0
diff -urpN a/debian/rules b/debian/rules
--- a/debian/rules	2014-05-29 15:35:05.000000000 +0200
+++ b/debian/rules	2014-11-02 15:32:40.000000000 +0100
@@ -58,7 +58,6 @@ binary-arch: install build install6 buil
 	dh_installchangelogs ChangeLog
 	dh_installdocs
 	dh_installman
-	dh_link usr/sbin/mount.davfs sbin/mount.davfs usr/sbin/umount.davfs sbin/umount.davfs
 	dh_strip
 	dh_compress
 	dh_fixperms -X etc/davfs2/secrets -X var/run/mount.davfs -X etc/davfs2/certs/private

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
Source: davfs2
Source-Version: 1.5.2-1.1

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

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.
Marco d'Itri <[email protected]> (supplier of updated davfs2 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: Wed, 06 Jan 2016 16:42:09 +0100
Source: davfs2
Binary: davfs2
Architecture: source i386
Version: 1.5.2-1.1
Distribution: unstable
Urgency: medium
Maintainer: Luciano Bello <[email protected]>
Changed-By: Marco d'Itri <[email protected]>
Description:
 davfs2     - mount a WebDAV resource as a regular file system
Closes: 767923
Changes:
 davfs2 (1.5.2-1.1) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Create in postinst the /sbin/*mount.davfs compatibility symlinks.
     This is needed to support merged /usr systems. Closes: #767923.
   * debian/control: add the Vcs-* headers.
   * New Standards-Version: 3.9.6.
Checksums-Sha1:
 c16ab17cbc72d322b271403df22675e8700b5641 1722 davfs2_1.5.2-1.1.dsc
 0a0f5a8a6bec73175bc07eebf28e8ccadd668760 54376 davfs2_1.5.2-1.1.debian.tar.xz
 e98ffd2141ab3dd3ef33cb025832029b2755fa98 110738 
davfs2-dbgsym_1.5.2-1.1_i386.deb
 76bee4d4d8c1f92961bbf055004b9e791ca66e55 151336 davfs2_1.5.2-1.1_i386.deb
Checksums-Sha256:
 678897eaaeae2e80c706a6f8a6875797d91d6a5cee6e4be417d7932c53571d8f 1722 
davfs2_1.5.2-1.1.dsc
 0f63c83636aebad07103b36b0bba4c661fd2d44521b6f4c09a385ffc6f00292f 54376 
davfs2_1.5.2-1.1.debian.tar.xz
 a40512c1f781b90abf82e41aad0040314c5684e313155107873c5e843d2a7ac3 110738 
davfs2-dbgsym_1.5.2-1.1_i386.deb
 b1c45557e4cfdd4d4f2d3e2b3cfa7a2b8a39c456ca524ea3d9f243444ff00e36 151336 
davfs2_1.5.2-1.1_i386.deb
Files:
 e80a620e1abbbaac2571d51354275422 1722 utils extra davfs2_1.5.2-1.1.dsc
 b799eac83ddbc80ba143dfa28c1cb700 54376 utils extra 
davfs2_1.5.2-1.1.debian.tar.xz
 eb02d26301ae242df608dafcfd7b37ea 110738 debug extra 
davfs2-dbgsym_1.5.2-1.1_i386.deb
 0e62a0e7a9deb7adfc0f717604eb3c33 151336 utils extra davfs2_1.5.2-1.1_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQGcBAEBAgAGBQJWjTX+AAoJECv1pcEixPekgcUL/jNEeTWflvFHwVB0zvePN83n
o/9/Emjm3Pd+L40txevw46ff0GD89XHATtaC/Tb/2jLbfEqg53SBdPU4afa1ofO4
62j+VqawmUICvJDaX3JkmuGuTdIdaEWQILqxBAWT49XiNBy0/X8R5wHx+Tg6SoAm
YPW2uej5JcjF5YKXAIFOGh4D4U+I69HNCkFlU7Bp7Tua6vIYm4sc3j8tCXIMdOf+
B4AVoEIVq5IbeTmUqX4B2x997D+vaxS4RsmdWS4V2VuOUjFXA963eoDhxlz8pSwG
elLjgG4VcRmYrdNECtJKRHtmZOq0nLiQfHEF3olF9LoAkOoRu/qBmoRFxGnsThw0
5zLgp6bATcHdui1BoPk+7gfEqnDUttiP7j1E1wT6+sx2wmSGPdlCzZzO7e0N8GWg
pwi2BhK23s5RQ84W0ryPvseOBvGX/07ucnEtzLYx5GCw0vrD9O8KLA1t15rdVfdZ
9PKPgAlPnW00ZCJPfQ8dT9CF2iwsCPu9Pto1AS9okg==
=YVcq
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to