Your message dated Sun, 24 Jan 2016 18:33:52 +0000
with message-id <[email protected]>
and subject line Bug#767923: fixed in davfs2 1.5.2-1.2
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.2

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: Sun, 24 Jan 2016 19:17:12 +0100
Source: davfs2
Binary: davfs2
Architecture: source i386
Version: 1.5.2-1.2
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.2) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Make sure to not install the /sbin/*mount.davfs symlinks, for real
     this time. Closes: #767923.
Checksums-Sha1:
 2f22587c3e47c55d4b4b05d72cb0c54ab3abcd0d 1722 davfs2_1.5.2-1.2.dsc
 a864064d9847d4263757b75b7f8ac1dc40c23608 54420 davfs2_1.5.2-1.2.debian.tar.xz
 ffd2f341e82041c1acda97e3e4c2c896038e50f4 110648 
davfs2-dbgsym_1.5.2-1.2_i386.deb
 0792f0e54033525ed9bb9201c91071a71f5a5dfb 151194 davfs2_1.5.2-1.2_i386.deb
Checksums-Sha256:
 26708ad3b0a228db4a7bc0759e7681d738be0ede563d533b944d2edc6a66dc71 1722 
davfs2_1.5.2-1.2.dsc
 49544c516352835c90cb0737c2aaab04b44eba80433d4119bdc8aba0914c7bdf 54420 
davfs2_1.5.2-1.2.debian.tar.xz
 889e445ab2ed3cf2e96276dcc02be7427e2b24b1336b9463c4299349adffb76d 110648 
davfs2-dbgsym_1.5.2-1.2_i386.deb
 b60c61a0c89f3e7c80475915eb65c8090acef904f8456b19691b705ab4158e87 151194 
davfs2_1.5.2-1.2_i386.deb
Files:
 8949f34d93040eb457c8908f4bb21366 1722 utils extra davfs2_1.5.2-1.2.dsc
 a47ace1e1b2d134cb7f70c8377cc0649 54420 utils extra 
davfs2_1.5.2-1.2.debian.tar.xz
 8799b6fdfc37616ccc199f7bb6c593cb 110648 debug extra 
davfs2-dbgsym_1.5.2-1.2_i386.deb
 837d07e781ca9bd8754c605388240db4 151194 utils extra davfs2_1.5.2-1.2_i386.deb

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

iQGcBAEBAgAGBQJWpRVWAAoJECv1pcEixPekIccMAJV4qZTU+xEEcSfFbqkJCRTp
RYo85kgPRH3bQKMP1jkx+buGPaztYVr5VL+vsoIDlwVvCSPVDtQFEmb7sPqlRhoQ
Bssc+nTw7XxanoAWxBPhry3+GbOcB2TwncERHKZPPMkUSMIIZZQyGyH30A9TLUJx
rjP1xgG2veuBohJp2nAKW1QxD1Ov88kmMOyLDJEqoeXyxac0UKOTk/om3DIgzw73
IWP+MCaxaSwdF+Ecv5v6HEU25wHPRD9vkg3jfD2hYdUHLWZIJWgAM8JWIECFInwi
/lsiA3LAdH73FIYs06LKBk74gaDGAtBAU/bo8YU7veoOyhj65wAnlFx+TttvU9iF
dyioCCvfIKAFPa9vNiQQvtyz2ucQxr08AKK3dlLqLUdmL7L4M2H/NZXi9PJrGFfr
7c5QoF2htXhiFs5MosZ+IOkQXRKdCSjL1QPv3OFwlTGORQyRXXb8EvmcuUZyDBXJ
nyV6CZ+HsvSqZUUCAy7HhPzb4f0HjKwVD5b9+fV7Rg==
=a48j
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to