--- fuse-2.8.4.orig/debian/changelog +++ fuse-2.8.4/debian/changelog @@ -0,0 +1,1250 @@ +fuse (2.8.4-1.4ubuntu1) oneiric; urgency=low + + * Resynchronise with Debian. Remaining changes: + - Add Breaks to ensure right version of udev is used. + - Use udev rules instead of init script. + - Add initramfs support, for booting from ntfs-3g in wubi. + - Install ulockmgr_server. + - Move fusermount and ulockmgr_server to /bin and associated libraries + to /lib. This allows mounting ntfs filesystems in /etc/fstab. + - Install fusermount with 4755 permissions (remaining change from + "Dynamic foreground user access"). + - Don't fail in postinst if udev is running and /dev/fuse does not + exist. + - Remove old modprobe and udev configuration files on upgrade if + unmodified. + - Security updates: arbitrary unprivileged unmount. + - Don't change the ownership or mode of /etc/fuse.conf in postinst + unless we're also adding the fuse group for the first time. + + -- Colin Watson Wed, 18 May 2011 11:02:10 +0100 + +fuse (2.8.4-1.4) unstable; urgency=low + + * Non-maintainer upload. + * Create libfuse2-udeb and fuse-utils-udeb (closes: #505697). + + -- Colin Watson Sat, 23 Apr 2011 14:27:06 +0100 + +fuse (2.8.4-1.3) unstable; urgency=low + + * Non-maintainer upload to fix a regression introduced in the previous + NMU. + * Use "Architecture: linux-any" for fuse-utils instead of a long list + of architectures. This fixes sparc64 support. + + -- Aurelien Jarno Sat, 12 Mar 2011 17:04:33 +0100 + +fuse (2.8.4-1.2) unstable; urgency=low + + * NMU, added armhf in arch list. (Closes: #596952) + + -- Konstantinos Margaritis Thu, 24 Feb 2011 12:42:25 +0000 + +fuse (2.8.4-1.1ubuntu4) natty; urgency=low + + * SECURITY UPDATE: arbitrary unprivileges unmount + - debian/patches/005-CVE-2011-0541.patch: don't follow symlinks when + unmounting in case of a failed mtab update in util/fusermount.c. + - debian/patches/006-CVE-2011-0542.patch: chdir to / before performing + mount/umount in util/fusermount.c. + - debian/patches/007-CVE-2011-0543.patch: remove legacy util-linux + support so symlinks don't get followed upon fallback in + lib/mount_util.c, util/fusermount.c. Remove unneeded + --disable-legacy-umount option in configure.in. + - debian/rules: remove dh_autoreconf and obsolete + --disable-legacy-umount configure option. + - debian/control: Remove dh-autoreconf from Build-Depends. + - CVE-2011-0541 + - CVE-2011-0542 + - CVE-2011-0543 + * Removed unused 003-CVE-2009-3297.dpatch patch. + + -- Marc Deslauriers Thu, 10 Feb 2011 14:55:36 -0500 + +fuse (2.8.4-1.1ubuntu3) natty; urgency=low + + * debian/fuse-utils.postinst: + Respect local modifications to /etc/fuse.conf by not changing the + ownership or mode of /etc/fuse.conf in the postinst file unless we're + also adding the fuse group for the first time. (LP: #697792) + + -- Barry Warsaw Fri, 21 Jan 2011 11:13:06 -0500 + +fuse (2.8.4-1.1ubuntu2) natty; urgency=low + + * SECURITY UPDATE: arbitrary unprivileged unmount (LP: #670622) + - debian/patches/004-CVE-2010-3879.dpatch: Use umount --fake to update + /etc/mtab. + - debian/control: make libfuse2 depend on version of mount that + contains backported --fake support. Add dh-autoreconf to Build-Depends. + - debian/rules: add dh_autoreconf and build with --disable-legacy-umount. + - CVE-2010-3879 + + -- Marc Deslauriers Wed, 19 Jan 2011 14:31:21 -0500 + +fuse (2.8.4-1.1ubuntu1) natty; urgency=low + + * Resynchronise with Debian. Remaining changes: + - debian/control: Add Breaks to ensure right version of udev is used. + - Use udev rules instead of init script: + + Add debian/45-fuse.rules: Put /dev/fuse into group fuse. + + debian/fuse-utils.postinst: Try to load the fuse module only if it's + still a module, remove it from /etc/modules/ anyway. + + debian/rules, debian/fuse-utils.install: Don't install the init + script; install the udev rule. + - initramfs support, for booting from ntfs-3g in wubi: + + debian/fuse-utils.initramfs-hook: Copy /sbin/mount.fuse and the fuse + kernel module into the initramfs. Use manual_add_modules not + force_load; fuse will be loaded automatically if necessary (it's a + built-in in Ubuntu anyway) + + debian/rules: Install above file into fuse-utils. + + debian/fuse-utils.postinst: Call update-initramfs. + + (Forwarded to Debian #505691) + - Create libfuse2-udeb and fuse-utils-udeb. (Forwarded to Debian #505697) + - debian/fuse-utils.install: Install ulockmgr_server. + - debian/{rules,libfuse2.install,fuse-utils.lintian}: Move fusermount and + ulockmgr_server to /bin and associated libraries to /lib. This allows + mounting ntfs filesystems in /etc/fstab. (Debian #452412) + - debian/{rules,fuse-utils.postinst}: Install fusermount with 4755 + permissions (remaining change from "Dynamic foreground user access"). + - debian/fuse-utils.postinst: + + Don't fail if udev is running and /dev/fuse does not exist. + (Forwarded to Debian #505685) + - debian/fuse-utils.preinst: + + Remove the module configuration file on upgrade if unmodified. + + Remove old rules file if unchanged + + -- Colin Watson Wed, 13 Oct 2010 12:20:43 +0100 + +fuse (2.8.4-1.1) unstable; urgency=low + + * Non-maintainer upload. + * Update and re-enenable 001-GNU_kFreeBSD patch to fix FTBFS on + GNU/kFreeBSD. (Closes: #590274) + Updated patch by Petr Salinger, thanks. + + -- Michael Biebl Sat, 18 Sep 2010 22:11:07 +0200 + +fuse (2.8.4-1ubuntu1) maverick; urgency=low + + * Resynchronise with Debian (fixing hang with auditd, LP: #634554). + Remaining changes: + - debian/control: Add Breaks to ensure right version of udev is used. + - Use udev rules instead of init script: + + Add debian/45-fuse.rules: Put /dev/fuse into group fuse. + + debian/fuse-utils.postinst: Try to load the fuse module only if it's + still a module, remove it from /etc/modules/ anyway. + + debian/rules, debian/fuse-utils.install: Don't install the init + script; install the udev rule. + - initramfs support, for booting from ntfs-3g in wubi: + + debian/fuse-utils.initramfs-hook: Copy /sbin/mount.fuse and the fuse + kernel module into the initramfs. Use manual_add_modules not + force_load; fuse will be loaded automatically if necessary (it's a + built-in in Ubuntu anyway) + + debian/rules: Install above file into fuse-utils. + + debian/fuse-utils.postinst: Call update-initramfs. + + (Forwarded to Debian #505691) + - Create libfuse2-udeb and fuse-utils-udeb. (Forwarded to Debian #505697) + - debian/fuse-utils.install: Install ulockmgr_server. + - debian/{rules,libfuse2.install,fuse-utils.lintian}: Move fusermount and + ulockmgr_server to /bin and associated libraries to /lib. This allows + mounting ntfs filesystems in /etc/fstab. (Debian #452412) + - debian/{rules,fuse-utils.postinst}: Install fusermount with 4755 + permissions (remaining change from "Dynamic foreground user access"). + - debian/fuse-utils.postinst: + + Don't fail if udev is running and /dev/fuse does not exist. + (Forwarded to Debian #505685) + - debian/fuse-utils.preinst: + + Remove the module configuration file on upgrade if unmodified. + + Remove old rules file if unchanged + * Re-enable 000-Build_system_do_not_install_init_script patch. + + -- Colin Watson Fri, 24 Sep 2010 12:09:38 +0100 + +fuse (2.8.4-1) unstable; urgency=low + + * New upstream version. + - ACK previous non-maintainer upload (559478) + - fixes problems with gvfs (585648) + * Added sparc64 to supported archs (560987) + + -- Bartosz Fenski Mon, 19 Jul 2010 18:57:27 +0200 + +fuse (2.8.1-1.2) unstable; urgency=high + + * Non-maintainer upload by the Security Team. + * Fixed CVE-2009-3297: race condition in fusermount (Closes: #567633) + + -- Giuseppe Iuculano Sun, 31 Jan 2010 22:23:35 +0100 + +fuse (2.8.1-1.1ubuntu2) lucid; urgency=low + + * SECURITY UPDATE: local attacker can trick fuse into unmounting a + filesystem from the wrong location. + - debian/patches/200-fix_mount_symlink_handling: upstream + fixes. + - CVE-2009-3297 + + -- Kees Cook Mon, 25 Jan 2010 17:10:52 -0800 + +fuse (2.8.1-1.1ubuntu1) lucid; urgency=low + + * Merge with Debian testing (lp: #506958). Remaining changes: + - debian/control: Add Breaks to ensure right version of udev is used. + - Use udev rules instead of init script: + + Add debian/45-fuse.rules: Put /dev/fuse into group fuse. + + debian/fuse-utils.postinst: Try to load the fuse module only if it's + still a module, remove it from /etc/modules/ anyway. + + debian/rules, debian/fuse-utils.install: Don't install the init + script; install the udev rule. + - initramfs support, for booting from ntfs-3g in wubi: + + debian/fuse-utils.initramfs-hook: Copy /sbin/mount.fuse and the fuse + kernel module into the initramfs. Use manual_add_modules not + force_load; fuse will be loaded automatically if necessary (it's a + built-in in Ubuntu anyway) + + debian/rules: Install above file into fuse-utils. + + debian/fuse-utils.postinst: Call update-initramfs. + + (Forwarded to Debian #505691) + - Create libfuse2-udeb and fuse-utils-udeb. (Forwarded to Debian #505697) + - debian/fuse-utils.install: Install ulockmgr_server. + - debian/{rules,libfuse2.install,fuse-utils.lintian}: Move fusermount and + ulockmgr_server to /bin and associated libraries to /lib. This allows + mounting ntfs filesystems in /etc/fstab. (Debian #452412) + - debian/{rules,fuse-utils.postinst}: Install fusermount with 4755 + permissions (remaining change from "Dynamic foreground user access"). + - debian/fuse-utils.postinst: + + Don't fail if udev is running and /dev/fuse does not exist. + (Forwarded to Debian #505685) + - debian/fuse-utils.preinst: + + Remove the module configuration file on upgrade if unmodified. + + Remove old rules file if unchanged + + -- Michael Bienia Wed, 13 Jan 2010 14:48:39 +0100 + +fuse (2.8.1-1.1) unstable; urgency=low + + * Non-maintainer upload. + * Apply patch from Petr Salinger to fix FTBFS on GNU/kFreeBSD (Closes: + #552600) + * Apply patch from Vagrant Cascadian to run MAKEDEV only if found + (Closes: #550334, #553015) + * Invoke dh_makeshlibs with an appropriately strict dependency + (Closes: #557143) + + -- Simon McVittie Fri, 04 Dec 2009 17:24:05 +0000 + +fuse (2.8.1-1) unstable; urgency=low + + * New upstream version (Closes: #543176) + - fixes missing fuse_reply_bmap (Closes: #531329) + * Fixes problem with udev (Closes: #543271, #473545) + * Changed order of dependencies udev/makedev (Closes: #546867) + * Correctly uses MAKEDEV and doesn't mess with udev anymore (Closes: #534572) + * Doesn't use libulockmgr patch anymore, fixed upstream. + * Shipped with README.Source file. + + -- Bartosz Fenski Sun, 25 Oct 2009 17:05:03 +0100 + +fuse (2.7.4-2) unstable; urgency=low + + * Ack previous NMU, thanks. + * Initscript LSB headers now depend on $remote_fs (Closes: #533028). + * Install fusermount with restricted permissions to avoid a race condition + during package installation (Closes: #502300). + * Bump Standards-Version. + * Merge Aurelien Jarno's patch to support GNU/kFreeBSD (Closes: #528537). + * Add missing pthread link for libulockmgr. + + -- Adam Cécile (Le_Vert) Wed, 01 Jul 2009 21:00:52 +0200 + +fuse (2.7.4-1.1ubuntu4.2) lucid; urgency=low + + * debian/fuse-utils.initramfs-hook: + - use manual_add_modules not force_load; fuse will be loaded automatically + if necessary (it's a built-in in Ubuntu anyway) + + -- Scott James Remnant Fri, 18 Dec 2009 02:19:06 +0000 + +fuse (2.7.4-1.1ubuntu4.1) karmic-proposed; urgency=low + + * debian/fuse-utils.postinst: + - do not fail if udev can not be reloaded (LP: #444979) + + -- Michael Vogt Wed, 28 Oct 2009 10:34:02 +0100 + +fuse (2.7.4-1.1ubuntu4) jaunty; urgency=low + + * debian/fuse-utils.modprobe: Drop, we'll build this module into the kernel + and do this with the other kernel filesystems + * debian/fuse-utils.preinst: Remove on upgrade if unmodified + * debian/rules: Update + * debian/fuse-utils.install: Update + * debian/fuse-utils-udeb.install: Update + * debian/fuse-utils.postinst: Only try to load if it's still a module, + remove from /etc/modules anyway + + -- Scott James Remnant Thu, 05 Mar 2009 17:18:15 +0000 + +fuse (2.7.4-1.1ubuntu3) jaunty; urgency=low + + * drop makedev from dependencies, we never used it anyway + + -- Oliver Grawert Wed, 14 Jan 2009 14:27:59 +0100 + +fuse (2.7.4-1.1ubuntu2) jaunty; urgency=low + + * debian/rules: Install udev rules into /lib/udev/rules.d + * debian/fuse-utils.install: Update path + * debian/fuse-utils.preinst: Remove old rules file if unchanged. + * debian/control: Add Breaks to ensure right version of udev is used. + + -- Scott James Remnant Fri, 09 Jan 2009 16:15:56 +0000 + +fuse (2.7.4-1.1ubuntu1) jaunty; urgency=low + + * Merge with Debian unstable. Remaining Ubuntu changes: + - Use udev rules instead of init script: + + Add debian/45-fuse.rules: Put /dev/fuse into group fuse. + + Add debian/fuse-utils.modprobe: Mount/Umount fusectl fs on module + loading/unloading. + + debian/fuse-utils.postinst: Load fuse module and add it to + /etc/modules, so that it is loaded at boot time. + + debian/rules, debian/fuse-utils.install: Don't install the init + script; install the udev rule and the module configuration file instead. + + (Not forwarded to Debian; lots of effort for a questionably small boot + speed improvement, and will be obsolete with proper upstart scripts.) + - debian/fuse-utils.install: Install ulockmgr_server. + - debian/fuse-utils.postinst: Don't fail if udev is running and /dev/fuse + does not exist. (Forwarded to Debian #505685) + - debian/{rules,libfuse2.install,fuse-utils.lintian}: Move fusermount and + ulockmgr_server to /bin and associated libraries to /lib. This allows + mounting ntfs filesystems in /etc/fstab. (Debian #452412) + - Create libfuse2-udeb and fuse-utils-udeb. (Forwarded to Debian #505697) + - initramfs support, for booting from ntfs-3g in wubi: + + debian/fuse-utils.initramfs-hook: Copy /sbin/mount.fuse and the fuse + kernel module into the initramfs. + + debian/rules: Install above file into fuse-utils. + + debian/fuse-utils.postinst: Call update-initramfs. + + (Forwarded to Debian #505691) + - Dynamic foreground user access: (Ubuntu specific until Debian uses + ACL-enabled hal) + + debian/fuse-utils.postinst: Keep /bin/fusermount as world executable. + It already bails out correctly if the user does not have access to + /dev/fuse; no reason to control access to it in two different places, + and the permissions of the binary can't be changed in a flexible way. + + Add debian/10-fuse-permissions.fdi: Enable hal's dynamic ACL + management for /dev/fuse, so that local foreground consoles will have + access to it. + + debian/fuse-utils.install: Install FDI. + + -- Martin Pitt Fri, 14 Nov 2008 13:58:50 +0100 + +fuse (2.7.4-1.1) unstable; urgency=low + + * Non-maintainer upload. + * Only reload udev when /etc/init.d/udev exists. + Closes: #499352 + + -- Thomas Viehmann Thu, 02 Oct 2008 22:54:11 +0200 + +fuse (2.7.4-1) unstable; urgency=low + + * Ack NMU from Thomas Viehmann, thanks. + * New upstream release. + * Really fix /dev/fuse to use fuse group (Closes: #473545). + + -- Adam Cécile (Le_Vert) Tue, 16 Sep 2008 09:43:52 +0200 + +fuse (2.7.3-5.1) unstable; urgency=low + + * Non-maintainer upload coordinated with Bartosz.. + * Unmount filesystems of type fuse and fuseblk in + fuse-utils.fuse.init on stop. Closes: #470512. + Analysis by Yogesh Rananavare, thanks! + + -- Thomas Viehmann Fri, 12 Sep 2008 19:25:07 +0200 + +fuse (2.7.3-5) unstable; urgency=low + + * Drop fuse-source package for the stale release (Closes: #485909). + * Fix lintian 'patch-modifying-debian-files' error. + * Bump Standards-Version to 3.8.0. + + -- Adam Cécile (Le_Vert) Sun, 10 Aug 2008 17:55:28 +0200 + +fuse (2.7.3-4ubuntu2) intrepid; urgency=low + + * debian/fuse-utils.postinst: Install /bin/fusermount as world executable. + it already bails out correctly if the user does not have access to + /dev/fuse; no reason to control access to it in two different places (and + the permissions of the binary can't be changed in a flexible way). + * Add debian/10-fuse-permissions.fdi: Enable hal's dynamic ACL management + for /dev/fuse, so that local foreground consoles will have access to it. + Install it in debian/fuse-utils.install. + * Drop debian/fuse-utils-needs-users-added-to-fuse-group.update-notifier and + its installation in the postinst, it's not really relevant any more. + * See intrepid-device-permissions spec for details. + + -- Martin Pitt Thu, 25 Sep 2008 17:47:10 +0200 + +fuse (2.7.3-4ubuntu1) intrepid; urgency=low + + * Merge from debian unstable, remaining changes: + - Don't install the init script; install the udev rule and the module + configuration file instead. + - debian/45-fuse.rules: set /dev/fuse group to fuse. + - debian/fuse-utils.modprobe: module configuration file that mounts the + control filesystem when fuse is loaded and unmounts it when fuse is + unloaded, along with checking that the control FS is mounting before + unmounting it. + - debian/fuse-utils.install: add the udev rule, the module configuration + file, and ulockmgr_server. + - Load fuse on install, and set it so it gets loaded on reboot. + - Move fusermount and ulockmgr_server to /bin and associated libraries + to /lib. + - Create libfuse2-udeb and fuse-utils-udeb. + - Copy /sbin/mount.fuse and the fuse kernel module into the initramfs. + + -- Oliver Grawert Tue, 06 May 2008 12:42:09 +0100 + +fuse (2.7.3-4) unstable; urgency=low + + * Fix device node group after first-time-install (Closes: #473545). + + -- Adam Cécile (Le_Vert) Tue, 01 Apr 2008 23:00:49 +0200 + +fuse (2.7.3-3) unstable; urgency=low + + * Really fix the fuse-utils.postinst issue (Closes: #470485). + + -- Adam Cécile (Le_Vert) Mon, 17 Mar 2008 20:17:58 +0100 + +fuse (2.7.3-2) unstable; urgency=medium + + * Improve udev detection, sorry for the inconvenience (Closes: #470485). + + -- Adam Cécile (Le_Vert) Sun, 16 Mar 2008 15:29:03 +0100 + +fuse (2.7.3-1) unstable; urgency=low + + * New upstream release. + * Fix postinst script udev detection (Closes: #470485). + + -- Adam Cécile (Le_Vert) Wed, 12 Mar 2008 21:18:46 +0100 + +fuse (2.7.2-1ubuntu2) hardy; urgency=low + + * add update-notifier message about required fuse group membership + * use /bin/sh in fuse-utils.postinst instead of /bin/bash + + -- Oliver Grawert Tue, 26 Feb 2008 16:50:45 +0100 + +fuse (2.7.2-1ubuntu1) hardy; urgency=low + + * Resynchronise with Debian. Remaining changes: + - Don't install the init script; install the udev rule and the module + configuration file instead. + - debian/45-fuse.rules: set /dev/fuse group to fuse. + - debian/fuse-utils.modprobe: module configuration file that mounts the + control filesystem when fuse is loaded and unmounts it when fuse is + unloaded, along with checking that the control FS is mounting before + unmounting it. + - debian/fuse-utils.install: add the udev rule, the module configuration + file, and ulockmgr_server. + - Load fuse on install, and set it so it gets loaded on reboot. + - Move fusermount and ulockmgr_server to /bin and associated libraries + to /lib. + - Create libfuse2-udeb and fuse-utils-udeb. + - Copy /sbin/mount.fuse and the fuse kernel module into the initramfs. + + -- Colin Watson Tue, 29 Jan 2008 10:38:39 +0000 + +fuse (2.7.2-1) unstable; urgency=low + + * New upstream release. + * Bump Standards-Version to 3.7.3. + * Drop 002-Fix_umounting_when_mtab_is_a_symlink patch, fixed upstream. + + -- Adam Cécile (Le_Vert) Sat, 05 Jan 2008 02:35:33 +0100 + +fuse (2.7.1-2ubuntu1) hardy; urgency=low + + * Resynchronise with Debian. Remaining changes: + - Don't install the init script; install the udev rule and the module + configuration file instead. + - debian/45-fuse.rules: set /dev/fuse group to fuse. + - debian/fuse-utils.modprobe: module configuration file that mounts the + control filesystem when fuse is loaded and unmounts it when fuse is + unloaded, along with checking that the control FS is mounting before + unmounting it. + - debian/fuse-utils.install: add the udev rule, the module configuration + file, and ulockmgr_server. + - Load fuse on install, and set it so it gets loaded on reboot. + - Move fusermount and ulockmgr_server to /bin and associated libraries + to /lib. + - Create libfuse2-udeb and fuse-utils-udeb. + - Copy /sbin/mount.fuse and the fuse kernel module into the initramfs. + + -- Colin Watson Fri, 30 Nov 2007 15:43:28 +0000 + +fuse (2.7.1-2) unstable; urgency=low + + * Add 002-Fix_umounting_when_mtab_is_a_symlink patch (Closes: #448855). + + -- Adam Cécile (Le_Vert) Fri, 23 Nov 2007 15:27:17 +0100 + +fuse (2.7.1-1ubuntu1) hardy; urgency=low + + * Resynchronise with Debian. Remaining changes: + - Don't install the init script; install the udev rule and the module + configuration file instead. + - debian/45-fuse.rules: set /dev/fuse group to fuse. + - debian/fuse-utils.modprobe: module configuration file that mounts the + control filesystem when fuse is loaded and unmounts it when fuse is + unloaded, along with checking that the control FS is mounting before + unmounting it. + - debian/fuse-utils.install: add the udev rule, the module configuration + file, and ulockmgr_server. + - Load fuse on install, and set it so it gets loaded on reboot. + - Move fusermount and ulockmgr_server to /bin and associated libraries + to /lib. + - Create libfuse2-udeb and fuse-utils-udeb. + - Copy /sbin/mount.fuse and the fuse kernel module into the initramfs. + + -- Colin Watson Thu, 22 Nov 2007 17:01:50 +0000 + +fuse (2.7.1-1) unstable; urgency=low + + * New upstream release. + * Fix debian/copyright: library is LGPL v2 only. + * Use new dpkg 'homepage' field. + * Do not ignore make distclean error anymore. + + -- Adam Cécile (Le_Vert) Sun, 28 Oct 2007 12:25:18 +0100 + +fuse (2.7.0-3) unstable; urgency=low + + * Really fix issues when upgrading /usr/share/doc/fuse-utils to a symlink (Closes: #445414). + + -- Adam Cécile (Le_Vert) Sat, 13 Oct 2007 21:23:14 +0200 + +fuse (2.7.0-2) unstable; urgency=low + + * Do not include dpatch.make in fuse-source rules (Closes: #443702). + * Drop ucf dependency, useless (Closes: #439079). + + -- Adam Cécile (Le_Vert) Mon, 01 Oct 2007 19:22:53 +0200 + +fuse (2.7.0-1ubuntu5) gutsy; urgency=low + + * Add udeb shlibs entries. + + -- Colin Watson Wed, 19 Sep 2007 00:08:51 +0100 + +fuse (2.7.0-1ubuntu4) gutsy; urgency=low + + * Copy the fuse kernel module into the initramfs. + + -- Colin Watson Thu, 06 Sep 2007 23:07:48 +0100 + +fuse (2.7.0-1ubuntu3) gutsy; urgency=low + + * Copy /sbin/mount.fuse into the initramfs. + + -- Colin Watson Thu, 09 Aug 2007 21:54:47 +0100 + +fuse (2.7.0-1ubuntu2) gutsy; urgency=low + + * Create libfuse2-udeb and fuse-utils-udeb. + + -- Colin Watson Thu, 09 Aug 2007 21:25:33 +0100 + +fuse (2.7.0-1ubuntu1) gutsy; urgency=low + + * Resynchronise with Debian (LP: #128292). Remaining changes: + - Don't install the init script; install the udev rule and the module + configuration file instead. + - debian/45-fuse.rules: set /dev/fuse group to fuse. + - debian/fuse-utils.modprobe: module configuration file that mounts the + control filesystem when fuse is loaded and unmounts it when fuse is + unloaded, along with checking that the control FS is mounting before + unmounting it. + - debian/fuse-utils.install: add the udev rule, the module configuration + file, and ulockmgr_server. + - Load fuse on install, and set it so it gets loaded on reboot. + - Move fusermount and ulockmgr_server to /bin and associated libraries + to /lib. + * Use dpkg-query to fetch conffile md5sums rather than parsing + /var/lib/dpkg/status directly. + + -- Colin Watson Sat, 04 Aug 2007 08:09:00 +0100 + +fuse (2.7.0-1) unstable; urgency=low + + * New upstream release: + - Build against 2.6.22 linux kernel (Closes: #434327). + * Build depends on libselinux1-dev | libselinux-dev, libfuse-dev depends on it too (Closes: #434225). + * Umount all fuse mouted filesystems before unloading kernel module (Closes: #411143), thanks to Javier Merino for his patch. + * Improve NEWS.Debian (Closes: #433927), thanks to Tomas Pospisek for fixing my crap english. + * Capitalize 'Linux' in long description (Closes: #434109). + * Drop 002-Allow_standalone_examples_build and 003-Typo_in_fuse.h_comments, fixed upstream. + * Drop 001-Fix_bashism_in_mount.fuse, mount.fuse is not a bash script anymore. + + -- Adam Cécile (Le_Vert) Tue, 24 Jul 2007 10:26:13 +0200 + +fuse (2.6.5-3) unstable; urgency=low + + * Fix typo in fuse-source package. + + -- Adam Cécile (Le_Vert) Sat, 30 Jun 2007 12:16:19 +0200 + +fuse (2.6.5-2) unstable; urgency=low + + * The 'RE-INTRODUCE FUSE-SOURCE' release. + - Build fuse-source package again (Closes: #414499). + * Fix bashism in mount.fuse (Closes: #424435). + * Improve example Makefile. + * Fixe typo in fuse.h comments (Closes: #424871). + * Remove 'doc' directory of < 2.6.5-1 fuse-utils package (replaced by symlink) (Closes: #429424). + * Install sample fuse.conf in /etc (Closes: #429666). + * Update debian/watch. + + -- Adam Cécile (Le_Vert) Thu, 17 May 2007 12:56:42 +0200 + +fuse (2.6.5-1ubuntu3) gutsy; urgency=low + + [ Phillip Lougher ] + + * WriteSupportForNTFS + + - move install location of fusermount and ulockmgr_server from + /usr/bin to /bin + - move install location of libraries libfuse.so.2.6.5 and + libulockmgr.so.1.0.1 and their lib*.so.* symlinks from /usr/lib + to /lib + - fix up libfuse-dev library symlinks libfuse.so and libulockmgr.so in + /usr/lib to point to new location of libfuse.so.2.6.5 and + libulockmgr.so.1.0.1 libraries in debian/rules + + * Add omitted distclean of example directory in debian/rules + + [ Colin Watson ] + + * Migrate old statoverrides for /usr/bin/fusermount to /bin/fusermount. + + -- Phillip Lougher Fri, 03 Aug 2007 02:41:29 +0100 + +fuse (2.6.5-1ubuntu2) gutsy; urgency=low + + * drop postinst code for MAKEDEV and udevcontrol reload_rules we dont need + either in ubuntu and it most likely fixes the /dev/fuse ownership problems + from launchpad bug 5105. + + -- Oliver Grawert Mon, 18 Jun 2007 17:20:14 +0200 + +fuse (2.6.5-1ubuntu1) gutsy; urgency=low + + * Merge from Debian unstable. + * Remaining Ubuntu changes: + - Don't install the init script, install the udev rule and the + module configuration file instead. + - debian/45-fuse.rules: set /dev/fuse group to fuse. + - debian/fuse-utils.modprobe : module configuration file that mount + the control filesystem when fuse is loaded and unmount it when fuse + is unloaded, along with checking that the control FS is mounting before + unmounting it. + - debian/fuse-utils.install: add the udev rule, the module conf. file and + ulockmgr_server. + - Load fuse on install, and set it so it gets loaded on reboot. + - Munge Maintainer field as per spec. + * Ubuntu changes dropped: + - lib/mount.fuse: fix bashism. + + -- Steve Kowalik Sat, 2 Jun 2007 23:56:06 +1000 + +fuse (2.6.5-1) unstable; urgency=low + + * New upstream release : + - Drop 001-Fix_bashism_in_mount.fuse patch, fixed upstream. + - Drop 002-Handle_spaces_in_paths patch, fixed upstream. + - Drop 003-Mount-fusectl_fs_with_fusectl_type, fixed upstream. + * Make debian/rules more 'human redable'. + * Rewrite docs handling. + * Add all missing files to libfuse-dev's examples. + Write a standalone Makefile (Closes: #382316, #423237). + + -- Adam Cécile (Le_Vert) Wed, 02 May 2007 09:21:21 +0200 + +fuse (2.6.3-4) unstable; urgency=low + + * Update fuse init script to REALLY mount fusectl filesystem with fusectl + type (Closes: #417945). + + -- Adam Cécile (Le_Vert) Fri, 20 Apr 2007 08:53:02 +0200 + +fuse (2.6.3-3) unstable; urgency=low + + * Skip preinst if there's no previous installed version (Closes: #417640). + * Handle spaces in paths (Closes: #417834). + * Mount fusectl filesystem with fusectl type (Closes: #417945). + + -- Adam Cécile (Le_Vert) Tue, 10 Apr 2007 21:06:39 +0200 + +fuse (2.6.3-2) unstable; urgency=low + + * The 'BUGFIX' release. + * Fix preinst script : + - dpkg-statoverride --list is not fatal anymore. + - Use dpkg --compare-version to define if override should be removed. + * Fix postrm script to handle 'abort-upgrade' (Closes: #413799). + * Make debian/rules look better (drop arch-indep stuff). + * Handle patches with a patch system (dpatch). + * Do not remove init_script from source tree (makes re-build fail). + * Fix init script installation, wrong runlevels, wrong name. + * Fix bashism in mount.fuse (Closes: #413403). + * Change fuse node group with chgrp if udev is not present (Closes: #413437). + * Write a new init script, lsb-compliant (Closes: #413394). + * Bump compat to 5. + * Improve control: + - Two space before homepage, + - Drop versionned suggests, + - Switch to ${binary:Version}, + - Add ${misc:Depends}. + * Remove fuse-utils.postrm (noop). + + -- Adam Cécile (Le_Vert) Thu, 8 Mar 2007 22:10:31 +0100 + +fuse (2.6.3-1ubuntu2) feisty; urgency=low + + * debian/fuse-utils.modprobe : don't use the "-w" flag with grep, not + compatible with grep used in the initrd (Closes LP: #87767). + + -- Michael Bienia Mon, 12 Mar 2007 21:31:42 +0100 + +fuse (2.6.3-1ubuntu1) feisty; urgency=low + + * Merge from Debian unstable, remaining changes: + - lib/mount.fuse: fix bashism. + - debian/45-fuse.rules: set /dev/fuse group to fuse. + - debian/fuse-utils.modprobe: + + module configuration file that mount the control filesystem when fuse + is loaded and unmount it when fuse is unloaded. Full replacement of + the init script. (ogra rocks ;) ) + + check that the control fs is mounted before unmounting it. + - debian/rules: don't install the init script, install the udev rule and + the module configuration file instead. + - debian/fuse-utils.install: add the udev rule, the module conf. file and + ulockmgr_server. + - debian/fuse-utils.postinst: load fuse and make sure that fuse is still + loaded at boot time. + * debian/control: Change Maintainer/XSBC-Original-Maintainer field. + * UVF exception: LP: #90919 + + -- Michael Bienia Mon, 12 Mar 2007 16:49:42 +0100 + +fuse (2.6.3-1) unstable; urgency=HIGH + + * Urgency set to HIGH as it fixes a critical and a serious bug. + * Added myself to uploaders in agreement with Bartosz. + * New upstream release (Closes: #409554, #410032). + * Create a versioned shlibs file (Closes: #409644). + * Fix package version in fuse-utils.postinst and do not remove override in + postrm (Closes: #388693). + * Add watch file. + + -- Adam Cécile (Le_Vert) Wed, 7 Feb 2007 10:35:29 +0100 + +fuse (2.6.2-1ubuntu2) feisty; urgency=low + + * debian/fuse-utils.modprobe : check that the control fs is mounted before + unmounting it. + * Move udev rule from 80-fuse.rules to 45-fuse.rules. + + -- Florent Mertens Wed, 7 Feb 2007 17:59:27 +0100 + +fuse (2.6.2-1ubuntu1) feisty; urgency=low + + * Merge from debian unstable, remaining changes: + - lib/mount.fuse : fix bashism. + - debian/80-fuse.rules : set /dev/fuse group to fuse. + - debian/fuse-utils.modprobe : module configuration file that mount + the control filesystem when fuse is loaded and unmount it when fuse + is unloaded. Full replacement of the init script. (ogra rocks ;) ) + - debian/rules : don't install the init script, install the udev rule + and the module configuration file instead. + - debian/fuse-utils.install : add the udev rule, the module conf. file + and ulockmgr_server. + - debian/fuse-utils.postinst : load fuse and make sure that fuse + is still loaded at boot time. + + -- Florent Mertens Wed, 31 Jan 2007 10:21:57 +0000 + +fuse (2.6.2-1) unstable; urgency=low + + * New upstream release. (Closes: #398709, #397364) + - includes init script which hopefully fixes problems with creation + of fuse device. (Closes: #393126) + - works ok on read only root filesystem. (Closes: #393693) + * Contains Sam Morris's patches. Thanks! (Closes: #388693) + * Does not remove fuse group again. (Closes: #388266) + * Makes fusermount world readable. (Closes: #386736) + * ACK NMU thanks! (Closes: #404904) + + -- Bartosz Fenski Tue, 30 Jan 2007 22:32:38 +0100 + +fuse (2.5.3-4.1ubuntu3) feisty; urgency=low + + * Ensure the correct alignment of the ccmsg array in receive_fd() + from lib/mount.c by declaring it as size_t instead of char and + adjusting the size accordingly. This resolves the issue of + sshfs crashing with SIGBUS on sparc. Thanks to Sebastian Fontius + for debugging and testing, and to Miklos Szeredi for the patch. + (closes: #404904) + + -- Fabio M. Di Nitto Tue, 09 Jan 2007 08:11:06 +0100 + +fuse (2.5.3-4.1ubuntu2) feisty; urgency=low + + * Stop the fuse-utils postinst from failing if we can't load the module + (say, if we happen to be installing in a chroot, while building a livefs) + + -- Adam Conrad Thu, 30 Nov 2006 15:47:44 +1100 + +fuse (2.5.3-4.1ubuntu1) feisty; urgency=low + + * Merge from debian unstable. + + -- Oliver Grawert Mon, 30 Oct 2006 12:01:18 +0000 + +fuse (2.5.3-4.1) unstable; urgency=low + + * Non-maintainer upload. + * Run MAKEDEV only if it exists, and do not depend on the symlink in /dev + (closes: #385696). + + -- martin f. krafft Sat, 9 Sep 2006 21:07:01 +0200 + +fuse (2.5.3-4) unstable; urgency=low + + * The 'Getting rid of fuse-source package' release. + * Since Etch will include kernels that support fuse module ot of the box + from this release there won't be fuse-source package, thus I'm closing + bugs related to building/loading modules. + (Closes: #341739, #369993, #306016, #345492) + * libfuse2 conflicts with previous versions of fuse-utils. (Closes: #381880) + * Handling of failed udevcontrol invocation. (Closes: #383076) + * Bumped Standards-Version to 3.7.2 (no changes needed). + + -- Bartosz Fenski Fri, 1 Sep 2006 10:19:58 +0200 + +fuse (2.5.3-3) unstable; urgency=low + + * ACK previous NMU. Thanks to Faidon Liambotis. (Closes: #372142) + * Uses dh_installmodules instead of hand-made script. (Closes: #381766) + * Reloads udev rules during installation. (Closes: #368674) + * Includes notice that fuse is available in recent kernels. (Closes: #369993) + + -- Bartosz Fenski Mon, 14 Aug 2006 13:29:31 +0200 + +fuse (2.5.3-2.1ubuntu4) edgy; urgency=low + + * remove the debian modprobe code and the useless udev reload from + fuse-utils.postinst. it hangs the install if fuse is already + loaded (closes malone #65235) + + -- Oliver Grawert Thu, 12 Oct 2006 10:47:29 +0200 + +fuse (2.5.3-2.1ubuntu3) edgy; urgency=low + + * add a line to fuse-utils postinst to make sure the module gets loaded + even after a reboot + + -- Oliver Grawert Fri, 29 Sep 2006 10:50:43 +0200 + +fuse (2.5.3-2.1ubuntu2) edgy; urgency=low + + * added versioned dependency on makedev (>= 2.3.1-80) closes malone #51456 + + -- Oliver Grawert Mon, 3 Jul 2006 20:07:14 +0200 + +fuse (2.5.3-2.1ubuntu1) edgy; urgency=low + + * Merge from debian unstable. + + -- Oliver Grawert Thu, 29 Jun 2006 11:01:27 +0100 + +fuse (2.5.3-2.1) unstable; urgency=high + + * Non-maintainer upload. + * Don't delete /dev/fuse in postrm. (Closes: #372142) + + -- Faidon Liambotis Wed, 14 Jun 2006 01:51:39 +0300 + +fuse (2.5.3-2) unstable; urgency=low + + * Doesn't fail on install. (Closes: #365117, #364968, #364832, #365016) + + -- Bartosz Fenski Sat, 29 Apr 2006 17:28:18 +0200 + +fuse (2.5.3-1) unstable; urgency=low + + * New upstream release. + * Moved from groupdel to delgroup. (Closes: #360991, #364106) + * Uses dpkg-statoverride to change fusermount owner. (Closes: #361519) + + -- Bartosz Fenski Tue, 11 Apr 2006 15:11:11 +0200 + +fuse (2.5.2-4) unstable; urgency=low + + * Fix for wrong chown line in postinst. (Closes: #358564) + + -- Bartosz Fenski Thu, 23 Mar 2006 12:03:16 +0100 + +fuse (2.5.2-3) unstable; urgency=low + + * Sets suid bit for fusermount binary. (Closes: #354748) + * Creates /dev/fuse or /dev/.static/dev/fuse device. (Closes: #334526) + * Creates fuse group and chowns /dev/fuse for it. (Closes: #353703) + * Removes /etc/default/fuse-utils file. (Closes: #351387) + * Removed po-debconf from build dependencies. + * Removed ucf from fuse-utils dependencies. + * Updated README files. + + -- Bartosz Fenski Wed, 22 Mar 2006 14:27:10 +0100 + +fuse (2.5.2-2) unstable; urgency=low + + * Revert versioned symbol change incorporated in 2.5.x. (Closes: #352631) + + -- Bartosz Fenski Wed, 22 Feb 2006 20:53:39 +0100 + +fuse (2.5.2-1) unstable; urgency=low + + * New upstream version. (Closes: #351172) + * Fixes FTBFS because of mount.fuse installation problems. (Closes: #351214) + * Minor update in fusermount manual. + + -- Bartosz Fenski Fri, 3 Feb 2006 13:54:27 +0100 + +fuse (2.5.1-1) unstable; urgency=low + + * New upstream version. (Closes: #350659) + * The 'Goodbye debconf' release. + - reorganization of all packaging scripts to get rid of debconf stuff. + - doesn't handle creation of group anymore, so + (Closes: #307627, #342826, #310964, #306281, #307624) + * ACK previous NMU. (Closes: #339688, #340398, #298829) + * Handles creation/remove of fuse device. (Closes: #334639, #297505) + * Since now fuse-source depends on either module-assistant + or kernel-package. (Closes: #326742) + * Includes mount.fuse script. (Closes: #343702, #334381) + * Doesn't use debconf templates anymore. (Closes: #337568, #337572, #340796) + + -- Bartosz Fenski Thu, 2 Feb 2006 01:08:40 +0100 + +fuse (2.4.2-0ubuntu4) edgy; urgency=low + + * Write directly to the fuse uevent file, rather than using udevplug + which has gone away. + + -- Scott James Remnant Wed, 7 Jun 2006 22:20:01 +0100 + +fuse (2.4.2-0ubuntu3) dapper; urgency=low + + * debian/fuse-utils.postrm: + - Move group deletion from preinst to postinst (after dpkg-statoverride) + to not break the statoverride. + - Add missing is_true function (copied from preinst). + - Closes: LP#5774 + * Removed now useless debian/fuse-utils.prerm. + * debian/fuse-utils.postinst: + - Reload udev to make the newly created group known to udev. + - Load the fuse module or re-udevplug it if already loaded to ensure + proper permissions. + + -- Martin Pitt Thu, 11 May 2006 18:31:53 +0200 + +fuse (2.4.2-0ubuntu2) dapper; urgency=low + + * Add udev rules file + + -- Dennis Kaarsemaker Thu, 9 Mar 2006 14:33:22 +0100 + +fuse (2.4.2-0ubuntu1) dapper; urgency=low + + * New upstream release: + - [SECURITY]: Don't allow mountpoints with '\n', '\t' or '\\' as + they corrupt /etc/mtab (CVE-2005-3531). + - Optimize buffer reallocation in fill_dir. + - Fix compilation of kernel module for differing source and build + directories. + - Don't use system() to invoke ''fusermount -u'' due to delimiting + of whitespace as arguments. + - Act appropriately after detecting in-kernel (mainline) FUSE code. + + -- Daniel T Chen Wed, 30 Nov 2005 06:47:31 -0800 + +fuse (2.4.1-0.1) unstable; urgency=high + + * Non-maintainer upload (waited long enough to see simple but ugly bugs to + be fixed) + * applied patch from Miklos Szeredi to fix interpretation of special chars + in fusermount (see CVE-2005-3531 for details, closes: #340398) + * New upstream version with minor bugfixes, resolves FTBFS problems with + rlog and encfs (closes: #339688) + * made fuse-utils just Recommend fuse-module and Suggest fuse-source + (because kernel 2.6.14 packages provide FUSE and because this automatism + has never worked as expected and has been PITA instead! closes: #298829) + + -- Eduard Bloch Thu, 29 Dec 2005 12:31:26 +0100 + +fuse (2.4.1-0ubuntu1) dapper; urgency=low + + * New upstream release. + + -- Daniel T Chen Fri, 28 Oct 2005 15:38:22 -0700 + +fuse (2.4.0-1) unstable; urgency=low + + * New upstream version. + * ACK previous NMU. (Closes: #325993) + * Test if ucf is installed before using it. (Closes: #330791) + * Added debconf-2.0 dependency. (Closes: #331828) + * Set fusermount binary permission to 4755 instead of 4754. + + -- Bartosz Fenski Fri, 14 Oct 2005 18:35:12 +0200 + +fuse (2.3.0-4.1) unstable; urgency=low + + * Non-maintainer upload. + * run 'dpkg-statoverride --remove ...' at remove time (closes: + #325993) + + -- Jonas Meurer Mon, 3 Oct 2005 00:40:58 +0200 + +fuse (2.3.0-4) unstable; urgency=low + + * Added info about fuse-source in fuse-utils. (Closes: #322549) + * Fixed building issues with m-a tool. (Closes: #321935, #310764) + * From now we depend on module-assistant. + + -- Bartosz Fenski Mon, 15 Aug 2005 22:32:58 +0200 + +fuse (2.3.0-3) unstable; urgency=low + + * Added is_true function to postrm script (Closes: #316735) + * Added adduser to dependencies (Closes: #320837) + * Bumped Standards-Version (no changes needed). + + -- Bartosz Fenski Sat, 6 Aug 2005 18:18:30 +0200 + +fuse (2.3.0-2) unstable; urgency=high + + * Fixes problems with building as non-root (Closes: #310764) + + -- Bartosz Fenski Sun, 19 Jun 2005 18:43:11 +0200 + +fuse (2.3.0-1ubuntu1) breezy; urgency=low + + * Resynchronise with Debian. + * Sponsored for Sami Haahtinen (Closes Ubuntu #10215) + + -- Stephan Hermann Sun, 24 Jul 2005 15:44:22 +0200 + +fuse (2.3.0-1) unstable; urgency=high + + * New upstream version. + - fixes security bug (Closes: #311634) + * Added Vietnamese debconf translation by Clytie Siddall (Closes: #311750) + + -- Bartosz Fenski Mon, 6 Jun 2005 13:01:12 +0200 + +fuse (2.2.1-5) unstable; urgency=low + + * Now allows to be built as non-root (Closes: #306016) + Thanks for Guido Trotter for spotting this. + * Applied patch provided by Euan MacGregor (Closes: #298825) + Should fix problems with dpkg-statoverride. + + -- Bartosz Fenski Tue, 26 Apr 2005 11:43:18 +0200 + +fuse (2.2.1-4) unstable; urgency=high + + * Urgency high, cause we still need previous fixes in sarge. + Current ones are important too. + * Added debhelper dependency to fuse-source (Closes: #303916) + Thanks to tillo for reporting this. + * Raised priority of debconf questions to avoid silent remove of groups. + Thanks to Tom Verbreyt for reporting this (Closes: #303954) + + -- Bartosz Fenski Sun, 10 Apr 2005 11:43:11 +0200 + +fuse (2.2.1-3) unstable; urgency=high + + * Urgency high, we need this fix in sarge. + * Added 'ucf' dependency for fuse-utils (Closes: #303621) + Thanks to Steve Garcia for spotting this. + + -- Bartosz Fenski Sat, 9 Apr 2005 10:54:12 +0200 + +fuse (2.2.1-2) unstable; urgency=low + + * Added explicit version of sed to fuse-utils dependencies (Closes: #300375) + Thanks to Iisak Kuusela for reporting this. + * Fixed compilation issues without module-assistant (Closes: #300954) + Thanks to Jeff Bonham for reporting this. Also README.Debian file has + been added to fuse-source package to describe this kind of build. + * New debconf translations: + - French (Closes: #299761) + Thanks to Jean-Luc Coulon. + - Czech (Closes: #300364) + Thanks to Miroslav Kure. + - Brazilian Portuguese (Closes: #300826) + Thanks to Felipe Augusto van de Wiel. + + -- Bartosz Fenski Thu, 24 Mar 2005 21:59:11 +0100 + +fuse (2.2.1-1ubuntu1) hoary; urgency=low + + * switch to linux-image. + * thanks, Fabbio, for checking. + + -- Daniel Holbach Fri, 18 Mar 2005 13:08:15 +0100 + +fuse (2.2.1-1) unstable; urgency=high + + * New upstream bugfix release. + Urgency high due to security fix (Closes: #299339) + + -- Bartosz Fenski Sun, 13 Mar 2005 20:02:11 +0100 + +fuse (2.2-3) unstable; urgency=low + + * Added --with-kernel switch to configure call (Closes: #298844) + * Added postinst depmod call (Closes: #298845) + Thanks for Eduard Bloch for above reports. + + -- Bartosz Fenski Thu, 10 Mar 2005 19:23:11 +0100 + +fuse (2.2-2) unstable; urgency=low + + * Added overlooked information about licensing of library. + + -- Bartosz Fenski Mon, 7 Mar 2005 18:22:12 +0100 + +fuse (2.2-1) unstable; urgency=low + + * New upstream release. + + -- Bartosz Fenski Sun, 6 Feb 2005 17:36:34 +0100 + +fuse (2.1-5) unstable; urgency=low + + * Now module works with 2.6.10 kernel (Closes: #291842) + + -- Bartosz Fenski Tue, 25 Jan 2005 14:42:31 +0100 + +fuse (2.1-4) unstable; urgency=low + + * Now building with -v switch to make sure that bugs will be closed + automatically. + * This is still new upstream release so (Closes: #288387) + + -- Bartosz Fenski Tue, 11 Jan 2005 13:28:32 +0100 + +fuse (2.1-3) unstable; urgency=low + + * s/fenio@o2.pl/fenio@debian.org/ + + -- Bartosz Fenski Sat, 1 Jan 2005 23:08:31 +0100 + +fuse (2.1-2) unstable; urgency=low + + * Corrected an upload error, which dumped the polish debconf translation. + Please excuse. + + -- martin f. krafft Sun, 26 Dec 2004 13:09:49 +0100 + +fuse (2.1-1) unstable; urgency=low + + * New upstream version. + - supports shared library (Closes: #147792) + * Added debconf question about setuid (Closes: #280501) + * Totally rewritten debian/* stuff with module-assistant in mind. + - fuse-source doesn't contain util/libs (Closes: #278109) + - repeated building should work fine now (Closes: #273362) + - m-a can detect kernel version properly (Closes: #270843) + - kernel module now only recommends kernel-image (Closes: #281694) + + -- Bartosz Fenski Thu, 11 Nov 2004 18:45:32 +0100 + +fuse (1.3-1) unstable; urgency=low + + * New upstream version. + * debian/*.control: + - added terminal newlines at the end of file + - added missing urls to homepage + - added MJ Ray as an uploader + * debian/rules: + - some ordering changes to remove config.(sub|guess) files from diff.gz + + -- Bartosz Fenski Sat, 17 Jul 2004 21:45:12 +0200 + +fuse (1.2-1) unstable; urgency=low + + * New upstream version. + * debian/control: + - added Section for sources + - changed Section: from devel to libdevel for libfuse0-dev + * Added debian/watch file. + * debian/copyright: + - distinguished copyright from license + * debian/rules: + - some fixes were made to support 2.6 kernels (Closes: #235128) + + -- Bartosz Fenski Thu, 24 Jun 2004 15:29:13 +0200 + +fuse (1.1-2) unstable; urgency=low + + * added original README.Debian file + * debian/copyright: + - added information about previous maintainer + + -- Bartosz Fenski Mon, 29 Mar 2004 07:44:23 +0100 + +fuse (1.1-1) unstable; urgency=low + + * New maintainer. Thanks Roland for your contribution. + * New upstream release (Closes: #235128, #206195) + * Added manual page contributed by Bastian Kleineidam. + Thanks for providing it. (Closes: #235176) + * FUSE 1.1 doesn't include .cvsignore files (Closes: #235091) + * We don't compress examples (Closes: #147791) + * debian/control: + - bumped standards version + - added homepage + * debian/rules: many fixes/additions partially fetched from Bastian's + packages. Thanks goes to him once again. + * debian/docs: added some new files + * debian/*: replaced name of maintainer + + -- Bartosz Fenski Sun, 21 Mar 2004 23:10:33 +0200 + +fuse (1.0-1) unstable; urgency=low + + * New upstream release. + * debian/genchanges.sh: Only run gpg/pgp if available. Closes: #209358. + * debian/fuse-module.control: Fixed typo (fuse-module instead of + fule-module). Closes: #212576. + + -- Roland Bauerschmidt Tue, 7 Oct 2003 18:00:23 +0200 + +fuse (0.95-1) unstable; urgency=low + + * Initial Release. + * Adapted lots of stuff from the pcmcia-cs package to build module + packages properly. + + -- Roland Bauerschmidt Sun, 7 Apr 2002 19:56:20 +0200 + --- fuse-2.8.4.orig/debian/libfuse2-udeb.install +++ fuse-2.8.4/debian/libfuse2-udeb.install @@ -0,0 +1 @@ +usr/lib/lib*.so.* lib --- fuse-2.8.4.orig/debian/fuse-utils-udeb.install +++ fuse-2.8.4/debian/fuse-utils-udeb.install @@ -0,0 +1,3 @@ +bin/fusermount +bin/ulockmgr_server +sbin/mount.fuse --- fuse-2.8.4.orig/debian/preinst.modules.in +++ fuse-2.8.4/debian/preinst.modules.in @@ -0,0 +1,22 @@ +#!/bin/sh + +set -e + +case "${1}" in + install) + dpkg-divert --package fuse-modules-@KERNEL@ --add --rename --divert /lib/modules/@KERNEL@/kernel/fs/fuse/fuse.ko.linux /lib/modules/@KERNEL@/kernel/fs/fuse/fuse.ko + ;; + + upgrade|abort-upgrade) + + ;; + + *) + echo "preinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0 --- fuse-2.8.4.orig/debian/rules +++ fuse-2.8.4/debian/rules @@ -0,0 +1,115 @@ +#!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# Dpatch system +include /usr/share/dpatch/dpatch.make + +# Some variables I'll use below +DESTDIR = $(CURDIR)/debian/tmp +DOCS = Filesystems FAQ NEWS README README.NFS doc/* debian/README.Debian debian/NEWS.Debian + +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) +DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS) + +CFLAGS += -Wall -g +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +config.status: configure patch-stamp + dh_testdir +ifneq "$(wildcard /usr/share/misc/config.sub)" "" + cp -f /usr/share/misc/config.sub config.sub +endif +ifneq "$(wildcard /usr/share/misc/config.guess)" "" + cp -f /usr/share/misc/config.guess config.guess +endif + CFLAGS="$(CFLAGS)" \ + ./configure --host=$(DEB_HOST_GNU_TYPE) \ + --build=$(DEB_BUILD_GNU_TYPE) \ + --prefix=/usr \ + --mandir=\$${prefix}/share/man \ + --infodir=\$${prefix}/share/info \ + --bindir=/bin \ + --disable-kernel-module \ + --disable-example + +build: build-stamp +build-stamp: config.status + $(MAKE) + touch $@ + +clean: unpatch + dh_testdir + dh_testroot + rm -f build-stamp config.log + [ ! -f example/Makefile ] || $(MAKE) distclean -C example + [ ! -f Makefile ] || $(MAKE) distclean + dh_clean config.guess config.sub + +install-arch: + dh_testdir + dh_testroot + dh_clean -k -s + dh_installdirs -s + $(MAKE) install DESTDIR=$(DESTDIR) + dh_installdirs -pfuse-utils usr/share/lintian/overrides + cp $(CURDIR)/debian/fuse-utils.lintian \ + $(CURDIR)/debian/fuse-utils/usr/share/lintian/overrides/fuse-utils + install -D -m0644 debian/45-fuse.rules \ + $(CURDIR)/debian/tmp/lib/udev/rules.d/45-fuse.rules + install -D -m0755 debian/fuse-utils.initramfs-hook \ + $(CURDIR)/debian/fuse-utils/usr/share/initramfs-tools/hooks/fuse_utils + $(RM) $(CURDIR)/debian/tmp/usr/lib/libfuse.so + $(RM) $(CURDIR)/debian/tmp/usr/lib/libulockmgr.so + for i in $(CURDIR)/debian/tmp/usr/lib/lib*.so.*.*.*; do \ + base=$${i##*/}; \ + ln -s /lib/$${base} $(CURDIR)/debian/tmp/usr/lib/$${base%.*.*.*}; \ + done + + dh_install -s --source=debian/tmp +ifeq ($(DEB_HOST_ARCH_OS),linux) + install -D -m0640 $(CURDIR)/debian/fuse.conf \ + $(CURDIR)/debian/fuse-utils/etc/fuse.conf +endif + +binary-arch: build install-arch + dh_testdir -s + dh_testroot -s + dh_installchangelogs -s ChangeLog + dh_installdocs -plibfuse2 $(DOCS) + dh_installdocs -plibfuse-dev $(DOCS) + dh_installexamples -s +ifeq ($(DEB_HOST_ARCH_OS),linux) + for PKG in fuse-utils; do \ + rm -rf debian/$$PKG/usr/share/doc/$$PKG; \ + cd debian/$$PKG/usr/share/doc/ && ln -s libfuse2 $$PKG; \ + done +endif + dh_installman -s + dh_installudev + dh_link -s + dh_strip -s + dh_compress -s -Xusr/share/doc/libfuse-dev/examples/ + dh_fixperms -s + dh_installdebconf -s + #dh_installinit -s --name=fuse -- start 34 S . stop 41 0 6 . + dh_makeshlibs -s -V "libfuse2 (>= 2.8.1)" --add-udeb=libfuse2-udeb + dh_installdeb -s + dh_shlibdeps -s + dh_gencontrol -s + dh_md5sums -s +ifeq ($(DEB_HOST_ARCH_OS),linux) + chmod 4755 debian/fuse-utils/bin/fusermount +endif + dh_builddeb -s + +binary-indep: + +binary: binary-arch binary-indep +.PHONY: build clean binary-indep binary-arch binary install --- fuse-2.8.4.orig/debian/watch +++ fuse-2.8.4/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://sf.net/fuse/fuse-([0-9\.]+)\.tar\.gz --- fuse-2.8.4.orig/debian/NEWS.Debian +++ fuse-2.8.4/debian/NEWS.Debian @@ -0,0 +1,37 @@ +fuse (2.6.5-2) unstable; urgency=low + + The fuse-source package is back. Even though fuse comes with all recent + 2.6 kernels, some software (i.e. ntfs-3g) needs the most recent fuse API + to enable all its features. + + -- Adam Cécile (Le_Vert) Thu, 17 May 2007 12:56:42 +0200 + +fuse (2.5.3-4) unstable; urgency=low + + Since this version there won't be separate fuse-source package. + This module is available in all recent kernels and these kernels are + going to be default for Etch. + + -- Bartosz Fenski Fri, 1 Sep 2006 10:34:32 +0200 + +fuse (2.4.2-1) unstable; urgency=low + + fuse-utils doesn't use debconf questions to handle creation of group + able to use setuid fusermount anymore. Due to some bugs (#307627, #342826, + #310964, #306281, #307624) it's not possible to safety remove previously + created groups and ensure that everything is going to work after that. + + Thus I simply dropped debconf related part of packaging scripts. It's + up to you to clean left mess. + + These files were used previously to handle creation of group and may be + interesting for you: + + /etc/group + + If you used default values then you can simply remove /etc/default/fuse + file and everything should work fine. + + Sorry for inconvieniences. + + -- Bartosz Fenski Thu, 2 Feb 2006 01:28:40 +0100 --- fuse-2.8.4.orig/debian/fuse-utils.preinst +++ fuse-2.8.4/debian/fuse-utils.preinst @@ -0,0 +1,43 @@ +#!/bin/sh -e + +# Skip if there's no previous version +if [ ! -z $2 ]; then + if dpkg --compare-versions $2 lt 2.6.2-1; then + stat=`dpkg-statoverride --list /usr/bin/fusermount || true` + if [ "$stat" = "root fuse 4754 /usr/bin/fusermount" ]; then + dpkg-statoverride --remove /usr/bin/fusermount; + elif [ "$stat" = "root fuse 4750 /usr/bin/fusermount" ]; then + dpkg-statoverride --remove /usr/bin/fusermount; + fi + fi + if dpkg --compare-versions $2 ge 2.6.2-1; then + update-rc.d -f fuse-utils remove >/dev/null 2>&1 || true + rm -f /etc/init.d/fuse-utils + fi + # Remove doc directory, replaced by symlinks (See: #429424, #445414) + if dpkg --compare-versions $2 lt 2.7.0-3; then + test -d /usr/share/doc/fuse-utils && rm -rf /usr/share/doc/fuse-utils + fi + + if [ "$1" = install ] || [ "$1" = upgrade ]; then + if [ -e "/etc/udev/rules.d/45-fuse.rules" ]; then + if [ "`md5sum \"/etc/udev/rules.d/45-fuse.rules\" | sed -e \"s/ .*//\"`" = \ + "`dpkg-query -W -f='${Conffiles}' fuse-utils | sed -n -e \"\\\\' /etc/udev/rules.d/45-fuse.rules's/.* //p\"`" ] + then + rm -f "/etc/udev/rules.d/45-fuse.rules" + fi + fi + + if [ -e "/etc/modprobe.d/fuse" ]; then + if [ "`md5sum \"/etc/modprobe.d/fuse\" | sed -e \"s/ .*//\"`" = \ + "`dpkg-query -W -f='${Conffiles}' fuse-utils | sed -n -e \"\\\\' /etc/modprobe.d/fuse's/.* //p\"`" ] + then + rm -f "/etc/modprobe.d/fuse" + fi + fi + fi +fi + +#DEBHELPER# + +exit 0 --- fuse-2.8.4.orig/debian/README.source +++ fuse-2.8.4/debian/README.source @@ -0,0 +1,38 @@ +This package uses dpatch to manage all modifications to the upstream +source. Changes are stored in the source package as diffs in +debian/patches and applied during the build. + +To get the fully patched source after unpacking the source package, cd +to the root level of the source package and run: + + debian/rules patch + +Removing a patch is as simple as removing its entry from the +debian/patches/00list file, and please also remove the patch file +itself. + +Creating a new patch is done with "dpatch-edit-patch patch XX_patchname" +where you should replace XX with a new number and patchname with a +descriptive shortname of the patch. You can then simply edit all the +files your patch wants to edit, and then simply "exit 0" from the shell +to actually create the patch file. + +To tweak an already existing patch, call "dpatch-edit-patch XX_patchname" +and replace XX_patchname with the actual filename from debian/patches +you want to use. + +To clean up afterwards again, "debian/rules unpatch" will do the +work for you - or you can of course choose to call +"fakeroot debian/rules clean" all together. + + +--- + +this documentation is part of dpatch package, and may be used by +packages using dpatch to comply with policy on README.source. This +documentation is meant to be useful to users who are not proficient in +dpatch in doing work with dpatch-based packages. Please send any +improvements to the BTS of dpatch package. + +original text by Gerfried Fuchs, edited by Junichi Uekawa +10 Aug 2008. --- fuse-2.8.4.orig/debian/compat +++ fuse-2.8.4/debian/compat @@ -0,0 +1 @@ +5 --- fuse-2.8.4.orig/debian/libfuse-dev.examples +++ fuse-2.8.4/debian/libfuse-dev.examples @@ -0,0 +1,2 @@ +example/*.c +debian/pkgfiles/libfuse-dev/Makefile --- fuse-2.8.4.orig/debian/README.Debian +++ fuse-2.8.4/debian/README.Debian @@ -0,0 +1,27 @@ +fuse for Debian +--------------- + +Please note that to be able to mount any filesystems based on FUSE, you +have to load fuse module first. If you're using 2.6.14 or newer kernels, +fuse should be already included and you don't need to build it yourself. + +Simply try `modprobe fuse`. + +To use fusermount, you must be able to execute this command as a root, +so you have to be a member of the group which has proper permissions. +fusermount binary comes with 4750 permission and root:fuse owners, so +to able to use fusermount, you should give access to user fenio like so: + + adduser fenio fuse + +Now fenio would need to log off and on again for the group membership to come +into effect. Then, he can use the fusermount as expected. + +Please avoid working as root just to be able to use fusermount. The above +procedure is not complicated and Just Works (tm), and it's a lot safer! + +If you still want to use it as a root you can remove suid bit from +/usr/bin/fusermount binary. Use dpkg-statoverride for that. Otherwise your +changes will be overwritten every time during upgrade of fuse-utils. + + -- Bartosz Fenski , Fri, 25 Dec 2004 16:56:10 +0200 --- fuse-2.8.4.orig/debian/fuse-utils.manpages +++ fuse-2.8.4/debian/fuse-utils.manpages @@ -0,0 +1 @@ +debian/fusermount.1 --- fuse-2.8.4.orig/debian/fuse-utils.install +++ fuse-2.8.4/debian/fuse-utils.install @@ -0,0 +1,4 @@ +bin/fusermount +bin/ulockmgr_server +sbin/mount.fuse +lib/udev/rules.d/45-fuse.rules --- fuse-2.8.4.orig/debian/control.modules.in +++ fuse-2.8.4/debian/control.modules.in @@ -0,0 +1,27 @@ +Source: fuse +Section: misc +Priority: optional +Maintainer: Bartosz Fenski +Uploaders: Adam Cécile (Le_Vert) +Build-Depends: debhelper (>= 5) +Standards-Version: 3.7.2 + +Package: fuse-modules-_KVERS_ +Architecture: any +Depends: fuse-utils, linux-modules-_KVERS_ | linux-image-_KVERS_ +Provides: fuse-modules +Description: Filesystem in USErspace kernel module (kernel _KVERS_) + Simple interface for userspace programs to export a virtual filesystem to + the linux kernel. + . + This package contains the compiled kernel modules for _KVERS_ + . + If you have compiled your own kernel, you will most likely need to build + your own fuse-modules. The fuse-source package has been provided for use + with the Debian's module-assistant or kernel-package utilities to produce a + version of fuse-modules for your kernel. + . + Please notice thant fuse is already available in current 2.6 Linux kernel. + However you may need a newer version than the one shipped with your kernel. + . + Homepage: http://fuse.sourceforge.net/ --- fuse-2.8.4.orig/debian/libfuse2.install +++ fuse-2.8.4/debian/libfuse2.install @@ -0,0 +1 @@ +usr/lib/lib*.so.* lib --- fuse-2.8.4.orig/debian/postrm.modules.in +++ fuse-2.8.4/debian/postrm.modules.in @@ -0,0 +1,22 @@ +#!/bin/sh + +set -e + +case "${1}" in + remove) + dpkg-divert --package fuse-modules-@KERNEL@ --remove --rename --divert /lib/modules/@KERNEL@/kernel/fs/fuse/fuse.ko.linux /lib/modules/@KERNEL@/kernel/fs/fuse/fuse.ko + ;; + + purge|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + + ;; + + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0 --- fuse-2.8.4.orig/debian/control +++ fuse-2.8.4/debian/control @@ -0,0 +1,63 @@ +Source: fuse +Section: libs +Priority: optional +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Bartosz Fenski +Uploaders: Adam Cécile (Le_Vert) +Build-Depends: debhelper (>= 5.0.37), autotools-dev, dpatch, lsb-base (>= 3.0-6), bzip2, libselinux1-dev [!kfreebsd-amd64 !kfreebsd-i386] | libselinux-dev [!kfreebsd-amd64 !kfreebsd-i386] +Homepage: http://fuse.sourceforge.net/ +Standards-Version: 3.8.2 + +Package: fuse-utils +Section: utils +Depends: ${shlibs:Depends}, ${misc:Depends}, libfuse2 (= ${binary:Version}), sed (>= 4), adduser, udev | makedev (>= 2.3.1-80) +Breaks: udev (<< 136-1) +Architecture: linux-any +Description: Filesystem in USErspace (utilities) + Simple interface for userspace programs to export a virtual + filesystem to the Linux kernel. + . + This package contains the fusermount utility which is necessary to + mount fuse filesystems. + . + This utility is setuid by default. Use dpkg-statoverride if you want + to change that. + +Package: libfuse-dev +Section: libdevel +Architecture: any +Depends: libfuse2 (= ${binary:Version}), ${misc:Depends}, libselinux1-dev [!kfreebsd-amd64 !kfreebsd-i386] | libselinux-dev [!kfreebsd-amd64 !kfreebsd-i386] +Suggests: fuse-utils +Description: Filesystem in USErspace (development files) + Simple interface for userspace programs to export a virtual + filesystem to the Linux kernel. + . + This package contains the files necessary to write applications in C + or C++ using fuse. + +Package: libfuse2 +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, mount (>= 2.17.2-3.3ubuntu3) +Conflicts: fuse-utils (<< ${binary:Version}) +Suggests: fuse-utils +Description: Filesystem in USErspace library + Simple interface for userspace programs to export a virtual + filesystem to the Linux kernel. + . + This package contains the files necessary to write applications in C + or C++ using fuse. + +Package: fuse-utils-udeb +Architecture: any +XC-Package-Type: udeb +Section: debian-installer +Depends: ${shlibs:Depends}, ${misc:Depends}, libfuse2-udeb (= ${binary:Version}) +Description: Filesystem in USErspace (utilities) + +Package: libfuse2-udeb +Architecture: any +XC-Package-Type: udeb +Section: debian-installer +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Filesystem in USErspace library --- fuse-2.8.4.orig/debian/fusermount.1 +++ fuse-2.8.4/debian/fusermount.1 @@ -0,0 +1,32 @@ +.TH FUSERMOUNT 1 "3 February 2006" +.SH NAME +fusermount \- mount FUSE filesystems +.SH SYNOPSIS +\fBfusermount\fP [\fIoptions\fP] \fImountpoint\fP +.SH DESCRIPTION +A virtual FUSE filesystem will be created on the mount point. +.SH OPTIONS +.TP +\fB-h\fP +print help +.TP +\fB-V\fP +print version +.TP +\fB-o opt[,opt...]\fP +mount options +.TP +\fB-u\fP +unmount +.TP +\fB-q\fP +quiet +.TP +\fB-z\fP +lazy unmount (works even if resource is still busy) +.SH AUTHOR +This manpage was originally written by Bastian Kleineidam + for the Debian distribution of fuse-utils. +Updated by Bartosz Fenski . + +The main author of FUSE is Miklos Szeredi . --- fuse-2.8.4.orig/debian/fuse-utils.postinst +++ fuse-2.8.4/debian/fuse-utils.postinst @@ -0,0 +1,85 @@ +#!/bin/sh -e + +test $DEBIAN_SCRIPT_DEBUG && set -v -x + + +case "$1" in + configure|upgrade) + + # Create fuse group. If the group does not exist, then it's also highly + # unlikely that /etc/fuse.conf exists with local modifications, so only in + # this case do we set the ownership of that file. LP: #679792 + if ! getent group fuse >/dev/null; then + echo "creating fuse group and modifying ownership of /etc/fuse.conf..." + addgroup --system fuse + chmod 0640 /etc/fuse.conf + chown root:fuse /etc/fuse.conf + fi + + # Detect if udev is active + udev=0 + if [ -d /dev/.udev/ ]; then + udev=1 + fi + # Create device node with the right perms + if [ ${udev} -eq 0 ]; then + if [ -x /sbin/MAKEDEV ]; then + # Call makedev and fix perms + cd /dev && MAKEDEV fuse + chgrp fuse /dev/fuse + else + echo "MAKEDEV not installed, skipping device node creation." + fi + else + # Udev is active, nothing to do. + echo "udev active, skipping device node creation." + # Debian bug #473545 + # Udev rules says "fuse" group, however this group doesn't exist in + # base system, so the node is root:root. + # Once fuse-utils is installed the group exists and udev will set proper + # group. The bug may come from udev, or base system, which use a group + # that doens't exist. For now, let's workaround this issue here. + # Follow-up for #473545 + # A hack has been added to initscript for the first time installation + # if you don't have fuse kernel module already loaded + # Moreover we need to reload udev before chgrp, otherwise fuse group + # is not known + # only reload udev if the upstart job exists + [ ! -f /etc/init/udev.conf ] || reload udev || true + test -e /dev/fuse && chgrp fuse /dev/fuse || true + fi + + test -f /etc/default/fuse-utils && rm -f /etc/default/fuse-utils + + # LP: #697792 + #chown root:fuse /etc/fuse.conf + #chmod 0640 /etc/fuse.conf + + if ! grep -qw fuse /proc/filesystems; then + # try to load the module + lsmod | grep -q fuse > /dev/null 2>&1 || modprobe fuse > /dev/null 2>&1 || echo "Unable to load fuse module, but continuing anyway; please reboot to enable fuse" + + # and make sure it's there after next reboot + #grep fuse /etc/modules > /dev/null 2>&1 || echo "fuse" >> /etc/modules + fi + + # Remove from /etc/modules + sed -i -e '/^\s*fuse\s*$/d' /etc/modules + + if type update-initramfs >/dev/null 2>&1; then + update-initramfs -u + fi + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0 --- fuse-2.8.4.orig/debian/fuse-utils.postrm +++ fuse-2.8.4/debian/fuse-utils.postrm @@ -0,0 +1,20 @@ +#!/bin/bash -e + +test $DEBIAN_SCRIPT_DEBUG && set -v -x + +case $1 in + purge|remove) + ;; + + failed-upgrade|upgrade|abort-upgrade) + ;; + + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0 --- fuse-2.8.4.orig/debian/fuse-utils.udev +++ fuse-2.8.4/debian/fuse-utils.udev @@ -0,0 +1 @@ +KERNEL=="fuse", GROUP="fuse" --- fuse-2.8.4.orig/debian/copyright +++ fuse-2.8.4/debian/copyright @@ -0,0 +1,36 @@ +This package was debianized by Bartosz Fenski on +Sun, 21 Mar 2004 23:34:32 +0200. + +The previous maintainer was Roland Bauerschmidt . + +It was downloaded from http://fuse.sourceforge.net/ + +Upstream Author: Miklos Szeredi + +Copyright: + +Copyright 2001-2006 Miklos Szeredi + +License: +( beware that the following doesn't apply to library + which license is mentioned at the end of this file ) + +This program is free software; you can redistribute it and/or modify it +under the terms of the GNU General Public License as published by the +Free Software Foundation; either version 2, or (at your option) any +later version. + +On Debian systems, the complete text of the GNU General Public License +can be found in the file `/usr/share/common-licenses/GPL'. + +License of library: + +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU Lesser General Public License as published +by the Free Software Foundation, version 2. + +On Debian systems, the complete text of the GNU General Public License +can be found in the file `/usr/share/common-licenses/LGPL-2'. + +On Debian systems, the complete text of the GNU Library (now Lesser) public +license can be found in the file /usr/share/common-licenses/LGPL --- fuse-2.8.4.orig/debian/fuse-utils.initramfs-hook +++ fuse-2.8.4/debian/fuse-utils.initramfs-hook @@ -0,0 +1,15 @@ +#! /bin/sh -e + +case $1 in +prereqs) + exit 0 + ;; +esac + +. /usr/share/initramfs-tools/hook-functions + +copy_exec /sbin/mount.fuse /sbin + +manual_add_modules fuse + +exit 0 --- fuse-2.8.4.orig/debian/fuse.conf +++ fuse-2.8.4/debian/fuse.conf @@ -0,0 +1,9 @@ +# Set the maximum number of FUSE mounts allowed to non-root users. +# The default is 1000. +# +#mount_max = 1000 + +# Allow non-root users to specify the 'allow_other' or 'allow_root' +# mount options. +# +#user_allow_other --- fuse-2.8.4.orig/debian/fuse-utils.lintian +++ fuse-2.8.4/debian/fuse-utils.lintian @@ -0,0 +1 @@ +fuse-utils: setuid-binary bin/fusermount 4755 root/root --- fuse-2.8.4.orig/debian/fuse-utils.fuse.init +++ fuse-2.8.4/debian/fuse-utils.fuse.init @@ -0,0 +1,112 @@ +#! /bin/sh +### BEGIN INIT INFO +# Provides: fuse +# Required-Start: $remote_fs +# Required-Stop: $remote_fs +# Default-Start: S +# Default-Stop: 0 6 +# Short-Description: Filesystem in userspace +# Description: This file load all what's needed to make fuse work fine +### END INIT INFO + +# Author: Adam Cécile (Le_Vert) + +PATH=/sbin:/usr/sbin:/bin:/usr/bin +DESC="filesystem in userspace" +NAME=fuse +SCRIPTNAME=/etc/init.d/$NAME +MOUNTPOINT=/sys/fs/fuse/connections + +# Gracefully exit if the package has been removed. +test -x `which fusermount` || exit 0 + +# Load the VERBOSE setting and other rcS variables +. /lib/init/vars.sh + +# Define LSB log_* functions. +. /lib/lsb/init-functions + +do_start() +{ + # Return + # 0 if fuse has been started + # 1 if kernel module load failed + # 2 if fusectl filesystem mount failed + if ! grep -qw fuse /proc/filesystems; then + modprobe fuse >/dev/null 2>&1 || return 1 + # Dirty fix for #473545 + # + # In fact the postinst script will fail at the first + # install if you don't have fuse kernel module loaded. + # (module not loaded -> no /dev/fuse -> postinst noop) + # Let's fix it their for now, if someone has a better idea + # please re-open #473545. + test -e /dev/fuse && chgrp fuse /dev/fuse + fi + if grep -qw fusectl /proc/filesystems && \ + ! grep -qw $MOUNTPOINT /proc/mounts; then + mount -t fusectl fusectl $MOUNTPOINT >/dev/null 2>&1 || \ + return 2 + fi +} + +do_stop() +{ + # Return + # 0 if fuse has been stopped + # 1 if fusectl filesystem umount failed + # 2 if kernel module unload failed + # 3 if fuse filesystems unmount failed + if grep -qw $MOUNTPOINT /proc/mounts; then + umount $MOUNTPOINT >/dev/null 2>&1 || \ + return 1 + fi + umount -at fuseblk >/dev/null 2>&1 || return 3 + umount -at fuse >/dev/null 2>&1 || return 3 + if grep -qw "^fuse" /proc/modules; then + rmmod fuse >/dev/null 2>&1 || return 2 + fi +} + +case "$1" in + start) + [ "$VERBOSE" != no ] && log_daemon_msg "Starting $DESC" "$NAME" + do_start + case "$?" in + 0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;; + 2) [ "$VERBOSE" != no ] && log_end_msg 1 ;; + esac + ;; + stop) + [ "$VERBOSE" != no ] && log_daemon_msg "Stopping $DESC" "$NAME" + do_stop + case "$?" in + 0|2|3) [ "$VERBOSE" != no ] && log_end_msg 0 ;; + 1) [ "$VERBOSE" != no ] && log_end_msg 1 ;; + esac + ;; + restart|force-reload) + log_daemon_msg "Restarting $DESC" "$NAME" + do_stop + case "$?" in + 0|2|3) + do_start + case "$?" in + 0) log_end_msg 0 ;; + 1) log_end_msg 1 ;; # Old process is still running + *) log_end_msg 1 ;; # Failed to start + esac + ;; + *) + # Failed to stop + log_end_msg 1 + ;; + esac + ;; + *) + echo "Usage: $SCRIPTNAME {start|stop|restart|force-reload}" >&2 + exit 3 + ;; +esac + +: --- fuse-2.8.4.orig/debian/libfuse-dev.install +++ fuse-2.8.4/debian/libfuse-dev.install @@ -0,0 +1,5 @@ +usr/include/* +usr/lib/pkgconfig/* +usr/lib/lib*.a +usr/lib/lib*.so +usr/lib/lib*.la --- fuse-2.8.4.orig/debian/45-fuse.rules +++ fuse-2.8.4/debian/45-fuse.rules @@ -0,0 +1,2 @@ +KERNEL=="fuse", GROUP="fuse" + --- fuse-2.8.4.orig/debian/patches/004-CVE-2010-3879.dpatch +++ fuse-2.8.4/debian/patches/004-CVE-2010-3879.dpatch @@ -0,0 +1,300 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +# Description: fix arbitrary unprivileged unmount +# Origin: upstream, http://fuse.git.sourceforge.net/git/gitweb.cgi?p=fuse/fuse;a=commit;h=eba226948b +# Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/fuse/+bug/670622 + +@DPATCH@ +diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' fuse-2.8.4~/configure.in fuse-2.8.4/configure.in +--- fuse-2.8.4~/configure.in 2010-04-26 08:20:20.000000000 -0400 ++++ fuse-2.8.4/configure.in 2011-01-19 14:31:16.000000000 -0500 +@@ -32,6 +32,8 @@ + [ --enable-example Compile with examples ]) + AC_ARG_ENABLE(mtab, + [ --disable-mtab Disable and ignore usage of /etc/mtab ]) ++AC_ARG_ENABLE(legacy-umount, ++ [ --disable-legacy-umount If umount(8) is util-linux-ng >= 2.18 ]) + + AC_ARG_WITH(pkgconfigdir, + [ --with-pkgconfigdir=DIR pkgconfig file in DIR @<:@LIBDIR/pkgconfig@:>@], +@@ -53,6 +55,11 @@ + if test "$enable_mtab" = "no"; then + AC_DEFINE(IGNORE_MTAB, 1, [Don't update /etc/mtab]) + fi ++ ++if test "$enable_legacy_umount" != "no"; then ++ AC_DEFINE(LEGACY_UMOUNT, 1, [Enable legacy umount support]) ++fi ++ + AC_CHECK_FUNCS([fork setxattr fdatasync]) + AC_CHECK_MEMBERS([struct stat.st_atim]) + AC_CHECK_MEMBERS([struct stat.st_atimespec]) +diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' fuse-2.8.4~/lib/mount_util.c fuse-2.8.4/lib/mount_util.c +--- fuse-2.8.4~/lib/mount_util.c 2010-03-08 10:18:43.000000000 -0500 ++++ fuse-2.8.4/lib/mount_util.c 2011-01-19 14:31:16.000000000 -0500 +@@ -243,6 +243,55 @@ + return exec_umount(progname, rel_mnt, lazy); + } + ++static int remove_mount(const char *progname, const char *mnt) ++{ ++ int res; ++ int status; ++ sigset_t blockmask; ++ sigset_t oldmask; ++ ++ sigemptyset(&blockmask); ++ sigaddset(&blockmask, SIGCHLD); ++ res = sigprocmask(SIG_BLOCK, &blockmask, &oldmask); ++ if (res == -1) { ++ fprintf(stderr, "%s: sigprocmask: %s\n", progname, strerror(errno)); ++ return -1; ++ } ++ ++ res = fork(); ++ if (res == -1) { ++ fprintf(stderr, "%s: fork: %s\n", progname, strerror(errno)); ++ goto out_restore; ++ } ++ if (res == 0) { ++ sigprocmask(SIG_SETMASK, &oldmask, NULL); ++ setuid(geteuid()); ++ execl("/bin/umount", "/bin/umount", "--no-canonicalize", "-i", ++ "--fake", mnt, NULL); ++ fprintf(stderr, "%s: failed to execute /bin/umount: %s\n", ++ progname, strerror(errno)); ++ exit(1); ++ } ++ res = waitpid(res, &status, 0); ++ if (res == -1) ++ fprintf(stderr, "%s: waitpid: %s\n", progname, strerror(errno)); ++ ++ if (status != 0) ++ res = -1; ++ ++ out_restore: ++ sigprocmask(SIG_SETMASK, &oldmask, NULL); ++ return res; ++} ++ ++int fuse_mnt_remove_mount(const char *progname, const char *mnt) ++{ ++ if (!mtab_needs_update(mnt)) ++ return 0; ++ ++ return remove_mount(progname, mnt); ++} ++ + char *fuse_mnt_resolve_path(const char *progname, const char *orig) + { + char buf[PATH_MAX]; +diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' fuse-2.8.4~/lib/mount_util.h fuse-2.8.4/lib/mount_util.h +--- fuse-2.8.4~/lib/mount_util.h 2010-01-26 13:10:24.000000000 -0500 ++++ fuse-2.8.4/lib/mount_util.h 2011-01-19 14:31:16.000000000 -0500 +@@ -10,6 +10,7 @@ + + int fuse_mnt_add_mount(const char *progname, const char *fsname, + const char *mnt, const char *type, const char *opts); ++int fuse_mnt_remove_mount(const char *progname, const char *mnt); + int fuse_mnt_umount(const char *progname, const char *abs_mnt, + const char *rel_mnt, int lazy); + char *fuse_mnt_resolve_path(const char *progname, const char *orig); +diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' fuse-2.8.4~/util/fusermount.c fuse-2.8.4/util/fusermount.c +--- fuse-2.8.4~/util/fusermount.c 2010-04-26 08:15:36.000000000 -0400 ++++ fuse-2.8.4/util/fusermount.c 2011-01-19 14:31:16.000000000 -0500 +@@ -45,6 +45,16 @@ + #define MS_PRIVATE (1<<18) + #endif + ++#ifndef UMOUNT_DETACH ++#define UMOUNT_DETACH 0x00000002 /* Just detach from the tree */ ++#endif ++#ifndef UMOUNT_NOFOLLOW ++#define UMOUNT_NOFOLLOW 0x00000008 /* Don't follow symlink on umount */ ++#endif ++#ifndef UMOUNT_UNUSED ++#define UMOUNT_UNUSED 0x80000000 /* Flag guaranteed to be unused */ ++#endif ++ + static const char *progname; + + static int user_allow_other = 0; +@@ -380,19 +390,13 @@ + return 0; + } + +-static int unmount_fuse_locked(const char *mnt, int quiet, int lazy) ++static int unmount_fuse_legacy(const char *mnt, int lazy) + { + int currdir_fd = -1; + char *copy; + const char *last; + int res; + +- if (getuid() != 0) { +- res = may_unmount(mnt, quiet); +- if (res == -1) +- return -1; +- } +- + copy = strdup(mnt); + if (copy == NULL) { + fprintf(stderr, "%s: failed to allocate memory\n", progname); +@@ -419,6 +423,140 @@ + return res; + } + ++static int unmount_fuse_nofollow(const char *mnt, int quiet, int lazy) ++{ ++ int res; ++ int umount_flags = UMOUNT_NOFOLLOW; ++ ++ if (lazy) ++ umount_flags |= UMOUNT_DETACH; ++ ++ res = umount2(mnt, umount_flags); ++ if (res == -1) { ++ if (!quiet) { ++ fprintf(stderr, "%s: failed to unmount %s: %s\n", ++ progname, mnt, strerror(errno)); ++ } ++ return -1; ++ } ++ ++ return fuse_mnt_remove_mount(progname, mnt); ++} ++ ++/* Check whether the kernel supports UMOUNT_NOFOLLOW flag */ ++static int umount_nofollow_support(void) ++{ ++ int res = umount2("", UMOUNT_UNUSED); ++ if (res != -1 || errno != EINVAL) ++ return 0; ++ ++ res = umount2("", UMOUNT_NOFOLLOW); ++ if (res != -1 || errno != ENOENT) ++ return 0; ++ ++ return 1; ++} ++ ++#ifdef LEGACY_UMOUNT ++/* Check if umount(8) supports "--fake" and "--no-canonicalize" options */ ++static int umount_fake_support(void) ++{ ++ int res; ++ int status; ++ sigset_t blockmask; ++ sigset_t oldmask; ++ int pip[2]; ++ char buf[1024]; ++ char *s; ++ unsigned majver; ++ unsigned minver; ++ int supported = 0; ++ int pid; ++ ++ res = pipe(pip); ++ if (res == -1) ++ return 0; ++ ++ sigemptyset(&blockmask); ++ sigaddset(&blockmask, SIGCHLD); ++ res = sigprocmask(SIG_BLOCK, &blockmask, &oldmask); ++ if (res == -1) ++ goto out_close; ++ ++ pid = fork(); ++ if (pid == -1) ++ goto out_restore; ++ ++ if (pid == 0) { ++ int nullfd; ++ ++ close(pip[0]); ++ dup2(pip[1], 1); ++ if (pip[1] != 1) ++ close(pip[1]); ++ nullfd = open("/dev/null", O_WRONLY); ++ dup2(nullfd, 2); ++ sigprocmask(SIG_SETMASK, &oldmask, NULL); ++ setuid(getuid()); ++ execl("/bin/umount", "/bin/umount", "--version", NULL); ++ exit(1); ++ } ++ res = read(pip[0], buf, sizeof(buf)); ++ if (res == -1 || res == sizeof(buf)) ++ buf[0] = '\0'; ++ else ++ buf[res] = '\0'; ++ ++ res = waitpid(pid, &status, 0); ++ if (res == -1 || status != 0) ++ goto out_restore; ++ ++ s = strstr(buf, "util-linux-ng "); ++ if (s == NULL) ++ goto out_restore; ++ ++ s += 14; ++ if (sscanf(s, "%u.%u", &majver, &minver) < 2) ++ goto out_restore; ++ ++ if (majver < 2 || (majver == 2 && minver < 18)) ++ goto out_restore; ++ ++ supported = 1; ++ ++out_restore: ++ sigprocmask(SIG_SETMASK, &oldmask, NULL); ++out_close: ++ close(pip[0]); ++ close(pip[1]); ++ ++ return supported; ++} ++#else ++static int umount_fake_support(void) ++{ ++ return 1; ++} ++#endif ++ ++static int unmount_fuse_locked(const char *mnt, int quiet, int lazy) ++{ ++ int res; ++ ++ if (getuid() != 0) { ++ res = may_unmount(mnt, quiet); ++ if (res == -1) ++ return -1; ++ } ++ ++ if (umount_nofollow_support() && umount_fake_support()) ++ res = unmount_fuse_nofollow(mnt, quiet, lazy); ++ else ++ res = unmount_fuse_legacy(mnt, lazy); ++ ++ return res; ++} ++ + static int unmount_fuse(const char *mnt, int quiet, int lazy) + { + int res; +@@ -1059,7 +1197,7 @@ + if (geteuid() == 0) { + res = add_mount(source, mnt, type, mnt_opts); + if (res == -1) { +- umount2(mnt, 2); /* lazy umount */ ++ umount2(mnt, UMOUNT_DETACH); /* lazy umount */ + close(fd); + return -1; + } +@@ -1217,7 +1355,7 @@ + if (geteuid() == 0) + res = unmount_fuse(mnt, quiet, lazy); + else { +- res = umount2(mnt, lazy ? 2 : 0); ++ res = umount2(mnt, lazy ? UMOUNT_DETACH : 0); + if (res == -1 && !quiet) + fprintf(stderr, + "%s: failed to unmount %s: %s\n", --- fuse-2.8.4.orig/debian/patches/005-CVE-2011-0541.dpatch +++ fuse-2.8.4/debian/patches/005-CVE-2011-0541.dpatch @@ -0,0 +1,101 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +# Description: fix cleanup in case of failed mount +# Origin: upstream, http://fuse.git.sourceforge.net/git/gitweb.cgi?p=fuse/fuse;a=commit;h=bf5ffb5fd8558bd799791834def431c0cee5a11f + +@DPATCH@ +diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' fuse-2.8.4~/util/fusermount.c fuse-2.8.4/util/fusermount.c +--- fuse-2.8.4~/util/fusermount.c 2010-12-09 13:24:34.000000000 -0500 ++++ fuse-2.8.4/util/fusermount.c 2011-02-10 13:30:08.000000000 -0500 +@@ -999,7 +999,7 @@ + } + + static int check_perm(const char **mntp, struct stat *stbuf, int *currdir_fd, +- int *mountpoint_fd) ++ int *mountpoint_fd, int *isdir) + { + int res; + const char *mnt = *mntp; +@@ -1017,6 +1017,7 @@ + return 0; + + if (S_ISDIR(stbuf->st_mode)) { ++ *isdir = 1; + *currdir_fd = open(".", O_RDONLY); + if (*currdir_fd == -1) { + fprintf(stderr, +@@ -1024,10 +1025,16 @@ + progname, strerror(errno)); + return -1; + } +- res = chdir(mnt); ++ *mountpoint_fd = open(mnt, O_RDONLY); ++ if (*mountpoint_fd == -1) { ++ fprintf(stderr, "%s: failed to open %s: %s\n", ++ progname, mnt, strerror(errno)); ++ return -1; ++ } ++ res = fchdir(*mountpoint_fd); + if (res == -1) { + fprintf(stderr, +- "%s: failed to chdir to mountpoint: %s\n", ++ "%s: failed to fchdir to mountpoint: %s\n", + progname, strerror(errno)); + return -1; + } +@@ -1153,6 +1160,7 @@ + const char *real_mnt = mnt; + int currdir_fd = -1; + int mountpoint_fd = -1; ++ int isdir = 0; + + fd = open_fuse_device(&dev); + if (fd == -1) +@@ -1173,7 +1181,7 @@ + res = check_version(dev); + if (res != -1) { + res = check_perm(&real_mnt, &stbuf, &currdir_fd, +- &mountpoint_fd); ++ &mountpoint_fd, &isdir); + restore_privs(); + if (res != -1) + res = do_mount(real_mnt, &type, stbuf.st_mode & S_IFMT, +@@ -1187,22 +1195,37 @@ + close(currdir_fd); + } + if (mountpoint_fd != -1) +- close(mountpoint_fd); ++ fcntl(mountpoint_fd, F_SETFD, FD_CLOEXEC); + + if (res == -1) { + close(fd); ++ if (mountpoint_fd != -1) ++ close(mountpoint_fd); + return -1; + } + + if (geteuid() == 0) { + res = add_mount(source, mnt, type, mnt_opts); + if (res == -1) { +- umount2(mnt, UMOUNT_DETACH); /* lazy umount */ ++ if (isdir && mountpoint_fd != -1) { ++ res = fchdir(mountpoint_fd); ++ if (res == -1) { ++ close(mountpoint_fd); ++ close(fd); ++ return -1; ++ } ++ } ++ umount2(real_mnt, UMOUNT_DETACH); /* lazy umount */ ++ if (mountpoint_fd != -1) ++ close(mountpoint_fd); + close(fd); + return -1; + } + } + ++ if (mountpoint_fd != -1) ++ close(mountpoint_fd); ++ + free(source); + free(type); + free(mnt_opts); --- fuse-2.8.4.orig/debian/patches/002-Missing_pthread_link_on_libulockmgr +++ fuse-2.8.4/debian/patches/002-Missing_pthread_link_on_libulockmgr @@ -0,0 +1,30 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 002-Missing_pthread_link_on_libulockmgr +## by Petr Salinger +## +## DP: See patch title + +@DPATCH@ +diff -Nur fuse-2.7.4.orig/lib/Makefile.am fuse-2.7.4/lib/Makefile.am +--- fuse-2.7.4.orig/lib/Makefile.am 2008-07-25 20:17:21.000000000 +0200 ++++ fuse-2.7.4/lib/Makefile.am 2009-07-03 23:43:04.933014527 +0200 +@@ -38,6 +38,6 @@ + -Wl,--version-script,$(srcdir)/fuse_versionscript + + libulockmgr_la_SOURCES = ulockmgr.c +-libulockmgr_la_LDFLAGS = -version-number 1:0:1 ++libulockmgr_la_LDFLAGS = -pthread -version-number 1:0:1 + + EXTRA_DIST = fuse_versionscript +diff -Nur fuse-2.7.4.orig/lib/Makefile.in fuse-2.7.4/lib/Makefile.in +--- fuse-2.7.4.orig/lib/Makefile.in 2008-07-25 20:19:22.000000000 +0200 ++++ fuse-2.7.4/lib/Makefile.in 2009-07-03 23:42:52.247000319 +0200 +@@ -234,7 +234,7 @@ + -Wl,--version-script,$(srcdir)/fuse_versionscript + + libulockmgr_la_SOURCES = ulockmgr.c +-libulockmgr_la_LDFLAGS = -version-number 1:0:1 ++libulockmgr_la_LDFLAGS = -pthread -version-number 1:0:1 + EXTRA_DIST = fuse_versionscript + all: all-am + --- fuse-2.8.4.orig/debian/patches/006-CVE-2011-0542.dpatch +++ fuse-2.8.4/debian/patches/006-CVE-2011-0542.dpatch @@ -0,0 +1,75 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +# Description: chdir to / before performing mount/umount +# Origin: upstream, http://fuse.git.sourceforge.net/git/gitweb.cgi?p=fuse/fuse;a=commit;h=1e7607ff89c65b005f69e27aeb1649d624099873 + +@DPATCH@ +diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' fuse-2.8.4~/util/fusermount.c fuse-2.8.4/util/fusermount.c +--- fuse-2.8.4~/util/fusermount.c 2011-02-10 13:30:08.000000000 -0500 ++++ fuse-2.8.4/util/fusermount.c 2011-02-10 13:30:19.000000000 -0500 +@@ -998,7 +998,7 @@ + return 0; + } + +-static int check_perm(const char **mntp, struct stat *stbuf, int *currdir_fd, ++static int check_perm(const char **mntp, struct stat *stbuf, + int *mountpoint_fd, int *isdir) + { + int res; +@@ -1018,13 +1018,6 @@ + + if (S_ISDIR(stbuf->st_mode)) { + *isdir = 1; +- *currdir_fd = open(".", O_RDONLY); +- if (*currdir_fd == -1) { +- fprintf(stderr, +- "%s: failed to open current directory: %s\n", +- progname, strerror(errno)); +- return -1; +- } + *mountpoint_fd = open(mnt, O_RDONLY); + if (*mountpoint_fd == -1) { + fprintf(stderr, "%s: failed to open %s: %s\n", +@@ -1158,7 +1151,6 @@ + char *source = NULL; + char *mnt_opts = NULL; + const char *real_mnt = mnt; +- int currdir_fd = -1; + int mountpoint_fd = -1; + int isdir = 0; + +@@ -1180,8 +1172,7 @@ + + res = check_version(dev); + if (res != -1) { +- res = check_perm(&real_mnt, &stbuf, &currdir_fd, +- &mountpoint_fd, &isdir); ++ res = check_perm(&real_mnt, &stbuf, &mountpoint_fd, &isdir); + restore_privs(); + if (res != -1) + res = do_mount(real_mnt, &type, stbuf.st_mode & S_IFMT, +@@ -1190,10 +1181,7 @@ + } else + restore_privs(); + +- if (currdir_fd != -1) { +- fchdir(currdir_fd); +- close(currdir_fd); +- } ++ chdir("/"); + if (mountpoint_fd != -1) + fcntl(mountpoint_fd, F_SETFD, FD_CLOEXEC); + +@@ -1369,6 +1357,13 @@ + + drop_privs(); + mnt = fuse_mnt_resolve_path(progname, origmnt); ++ if (mnt != NULL) { ++ res = chdir("/"); ++ if (res == -1) { ++ fprintf(stderr, "%s: failed to chdir to '/'\n", progname); ++ exit(1); ++ } ++ } + restore_privs(); + if (mnt == NULL) + exit(1); --- fuse-2.8.4.orig/debian/patches/001-GNU_kFreeBSD +++ fuse-2.8.4/debian/patches/001-GNU_kFreeBSD @@ -0,0 +1,116 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 001-GNU_kFreeBSD +## by Aurelien Jarno +## +## DP: GNU/kFreeBSD support + +@DPATCH@ + +diff --git a/include/fuse_common.h b/include/fuse_common.h +index c263f6f..2d18346 100644 +--- a/include/fuse_common.h ++++ b/include/fuse_common.h +@@ -261,7 +261,7 @@ void fuse_remove_signal_handlers(struct fuse_session *se); + * ----------------------------------------------------------- */ + + #if FUSE_USE_VERSION < 26 +-# ifdef __FreeBSD__ ++# if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) + # if FUSE_USE_VERSION < 25 + # error On FreeBSD API version 25 or greater must be used + # endif +diff --git a/include/fuse_compat.h b/include/fuse_compat.h +index 225276f..56b6c13 100644 +--- a/include/fuse_compat.h ++++ b/include/fuse_compat.h +@@ -65,7 +65,7 @@ struct fuse *fuse_setup_compat25(int argc, char *argv[], + + void fuse_teardown_compat22(struct fuse *fuse, int fd, char *mountpoint); + +-#ifndef __FreeBSD__ ++#if !defined(__FreeBSD__) && !defined(__FreeBSD_kernel__) + #include + + struct fuse_operations_compat22 { +diff --git a/include/fuse_lowlevel_compat.h b/include/fuse_lowlevel_compat.h +index aba45e6..d8c7108 100644 +--- a/include/fuse_lowlevel_compat.h ++++ b/include/fuse_lowlevel_compat.h +@@ -72,7 +72,7 @@ size_t fuse_dirent_size(size_t namelen); + char *fuse_add_dirent(char *buf, const char *name, const struct stat *stbuf, + off_t off); + +-#ifndef __FreeBSD__ ++#if !defined(__FreeBSD__) && !defined(__FreeBSD_kernel__) + + #include + +diff --git a/lib/fuse.c b/lib/fuse.c +index 95cf50b..83c406c 100644 +--- a/lib/fuse.c ++++ b/lib/fuse.c +@@ -954,7 +954,7 @@ static inline void fuse_prepare_interrupt(struct fuse *f, fuse_req_t req, + fuse_do_prepare_interrupt(req, d); + } + +-#ifndef __FreeBSD__ ++#if !defined(__FreeBSD__) && !defined(__FreeBSD_kernel__) + + static int fuse_compat_open(struct fuse_fs *fs, const char *path, + struct fuse_file_info *fi) +@@ -3721,7 +3721,7 @@ struct fuse *fuse_new_common(struct fuse_chan *ch, struct fuse_args *args, + if (!f->conf.ac_attr_timeout_set) + f->conf.ac_attr_timeout = f->conf.attr_timeout; + +-#ifdef __FreeBSD__ ++#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) + /* + * In FreeBSD, we always use these settings as inode numbers + * are needed to make getcwd(3) work. +@@ -3897,7 +3897,7 @@ void fuse_register_module(struct fuse_module *mod) + fuse_modules = mod; + } + +-#ifndef __FreeBSD__ ++#if !defined(__FreeBSD__) && !defined(__FreeBSD_kernel__) + + static struct fuse *fuse_new_common_compat(int fd, const char *opts, + const struct fuse_operations *op, +diff --git a/lib/fuse_lowlevel.c b/lib/fuse_lowlevel.c +index c519bfb..40d7293 100644 +--- a/lib/fuse_lowlevel.c ++++ b/lib/fuse_lowlevel.c +@@ -1734,7 +1734,7 @@ int fuse_req_getgroups(fuse_req_t req, int size, gid_t list[]) + } + #endif + +-#ifndef __FreeBSD__ ++#if !defined(__FreeBSD__) && !defined(__FreeBSD_kernel__) + + static void fill_open_compat(struct fuse_open_out *arg, + const struct fuse_file_info_compat *f) +diff --git a/lib/fuse_session.c b/lib/fuse_session.c +index 3758627..dd1311f 100644 +--- a/lib/fuse_session.c ++++ b/lib/fuse_session.c +@@ -200,6 +200,6 @@ void fuse_chan_destroy(struct fuse_chan *ch) + free(ch); + } + +-#ifndef __FreeBSD__ ++#if !defined(__FreeBSD__) && !defined(__FreeBSD_kernel__) + FUSE_SYMVER(".symver fuse_chan_new_compat24,fuse_chan_new@FUSE_2.4"); + #endif +diff --git a/lib/helper.c b/lib/helper.c +index 3d0db4a..107174e 100644 +--- a/lib/helper.c ++++ b/lib/helper.c +@@ -357,7 +357,7 @@ int fuse_version(void) + + #include "fuse_compat.h" + +-#ifndef __FreeBSD__ ++#if !defined(__FreeBSD__) && !defined(__FreeBSD_kernel__) + + struct fuse *fuse_setup_compat22(int argc, char *argv[], + const struct fuse_operations_compat22 *op, --- fuse-2.8.4.orig/debian/patches/00patch-opts +++ fuse-2.8.4/debian/patches/00patch-opts @@ -0,0 +1 @@ +patch_opts="-g0 -f -Z --no-backup-if-mismatch" --- fuse-2.8.4.orig/debian/patches/007-CVE-2011-0543.dpatch +++ fuse-2.8.4/debian/patches/007-CVE-2011-0543.dpatch @@ -0,0 +1,345 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +# Description: only allow mount and umount if util-linux suppports --no-canonicalize +# Origin: upstream, http://fuse.git.sourceforge.net/git/gitweb.cgi?p=fuse/fuse;a=commit;h=2fcbc2a5a94983813c533c015134c6974f8ee636 +# Origin: upstream, http://fuse.git.sourceforge.net/git/gitweb.cgi?p=fuse/fuse;a=commit;h=cbd3a2a84068aae6e3fe32939d88470d712dbf47 + +@DPATCH@ +diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' fuse-2.8.4~/configure.in fuse-2.8.4/configure.in +--- fuse-2.8.4~/configure.in 2010-12-09 13:24:34.000000000 -0500 ++++ fuse-2.8.4/configure.in 2011-02-10 14:01:18.000000000 -0500 +@@ -32,8 +32,6 @@ + [ --enable-example Compile with examples ]) + AC_ARG_ENABLE(mtab, + [ --disable-mtab Disable and ignore usage of /etc/mtab ]) +-AC_ARG_ENABLE(legacy-umount, +- [ --disable-legacy-umount If umount(8) is util-linux-ng >= 2.18 ]) + + AC_ARG_WITH(pkgconfigdir, + [ --with-pkgconfigdir=DIR pkgconfig file in DIR @<:@LIBDIR/pkgconfig@:>@], +@@ -56,10 +54,6 @@ + AC_DEFINE(IGNORE_MTAB, 1, [Don't update /etc/mtab]) + fi + +-if test "$enable_legacy_umount" != "no"; then +- AC_DEFINE(LEGACY_UMOUNT, 1, [Enable legacy umount support]) +-fi +- + AC_CHECK_FUNCS([fork setxattr fdatasync]) + AC_CHECK_MEMBERS([struct stat.st_atim]) + AC_CHECK_MEMBERS([struct stat.st_atimespec]) +diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' fuse-2.8.4~/lib/mount_util.c fuse-2.8.4/lib/mount_util.c +--- fuse-2.8.4~/lib/mount_util.c 2010-12-09 13:24:34.000000000 -0500 ++++ fuse-2.8.4/lib/mount_util.c 2011-02-10 14:01:18.000000000 -0500 +@@ -54,70 +54,6 @@ + return 1; + } + +-static int add_mount_legacy(const char *progname, const char *fsname, +- const char *mnt, const char *type, const char *opts) +-{ +- int res; +- int status; +- sigset_t blockmask; +- sigset_t oldmask; +- +- sigemptyset(&blockmask); +- sigaddset(&blockmask, SIGCHLD); +- res = sigprocmask(SIG_BLOCK, &blockmask, &oldmask); +- if (res == -1) { +- fprintf(stderr, "%s: sigprocmask: %s\n", progname, strerror(errno)); +- return -1; +- } +- +- res = fork(); +- if (res == -1) { +- fprintf(stderr, "%s: fork: %s\n", progname, strerror(errno)); +- goto out_restore; +- } +- if (res == 0) { +- char templ[] = "/tmp/fusermountXXXXXX"; +- char *tmp; +- +- sigprocmask(SIG_SETMASK, &oldmask, NULL); +- setuid(geteuid()); +- +- /* +- * hide in a directory, where mount isn't able to resolve +- * fsname as a valid path +- */ +- tmp = mkdtemp(templ); +- if (!tmp) { +- fprintf(stderr, +- "%s: failed to create temporary directory\n", +- progname); +- exit(1); +- } +- if (chdir(tmp)) { +- fprintf(stderr, "%s: failed to chdir to %s: %s\n", +- progname, tmp, strerror(errno)); +- exit(1); +- } +- rmdir(tmp); +- execl("/bin/mount", "/bin/mount", "-i", "-f", "-t", type, +- "-o", opts, fsname, mnt, NULL); +- fprintf(stderr, "%s: failed to execute /bin/mount: %s\n", +- progname, strerror(errno)); +- exit(1); +- } +- res = waitpid(res, &status, 0); +- if (res == -1) +- fprintf(stderr, "%s: waitpid: %s\n", progname, strerror(errno)); +- +- if (status != 0) +- res = -1; +- +- out_restore: +- sigprocmask(SIG_SETMASK, &oldmask, NULL); +- +- return res; +-} +- + static int add_mount(const char *progname, const char *fsname, + const char *mnt, const char *type, const char *opts) + { +@@ -172,16 +108,10 @@ + int fuse_mnt_add_mount(const char *progname, const char *fsname, + const char *mnt, const char *type, const char *opts) + { +- int res; +- + if (!mtab_needs_update(mnt)) + return 0; + +- res = add_mount(progname, fsname, mnt, type, opts); +- if (res == -1) +- res = add_mount_legacy(progname, fsname, mnt, type, opts); +- +- return res; ++ return add_mount(progname, fsname, mnt, type, opts); + } + + static int exec_umount(const char *progname, const char *rel_mnt, int lazy) +diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' fuse-2.8.4~/util/fusermount.c fuse-2.8.4/util/fusermount.c +--- fuse-2.8.4~/util/fusermount.c 2011-02-10 13:30:19.000000000 -0500 ++++ fuse-2.8.4/util/fusermount.c 2011-02-10 14:01:18.000000000 -0500 +@@ -335,7 +335,7 @@ + return 0; + } + +-static int chdir_to_parent(char *copy, const char **lastp, int *currdir_fd) ++static int chdir_to_parent(char *copy, const char **lastp) + { + char *tmp; + const char *parent; +@@ -360,14 +360,6 @@ + parent = "/"; + } + +- *currdir_fd = open(".", O_RDONLY); +- if (*currdir_fd == -1) { +- fprintf(stderr, +- "%s: failed to open current directory: %s\n", +- progname, strerror(errno)); +- return -1; +- } +- + res = chdir(parent); + if (res == -1) { + fprintf(stderr, "%s: failed to chdir to %s: %s\n", +@@ -390,59 +382,6 @@ + return 0; + } + +-static int unmount_fuse_legacy(const char *mnt, int lazy) +-{ +- int currdir_fd = -1; +- char *copy; +- const char *last; +- int res; +- +- copy = strdup(mnt); +- if (copy == NULL) { +- fprintf(stderr, "%s: failed to allocate memory\n", progname); +- return -1; +- } +- +- res = chdir_to_parent(copy, &last, &currdir_fd); +- if (res == -1) +- goto out; +- +- res = check_is_mount(last, mnt); +- if (res == -1) +- goto out; +- +- res = fuse_mnt_umount(progname, mnt, last, lazy); +- +-out: +- free(copy); +- if (currdir_fd != -1) { +- fchdir(currdir_fd); +- close(currdir_fd); +- } +- +- return res; +-} +- +-static int unmount_fuse_nofollow(const char *mnt, int quiet, int lazy) +-{ +- int res; +- int umount_flags = UMOUNT_NOFOLLOW; +- +- if (lazy) +- umount_flags |= UMOUNT_DETACH; +- +- res = umount2(mnt, umount_flags); +- if (res == -1) { +- if (!quiet) { +- fprintf(stderr, "%s: failed to unmount %s: %s\n", +- progname, mnt, strerror(errno)); +- } +- return -1; +- } +- +- return fuse_mnt_remove_mount(progname, mnt); +-} +- + /* Check whether the kernel supports UMOUNT_NOFOLLOW flag */ + static int umount_nofollow_support(void) + { +@@ -457,91 +396,12 @@ + return 1; + } + +-#ifdef LEGACY_UMOUNT +-/* Check if umount(8) supports "--fake" and "--no-canonicalize" options */ +-static int umount_fake_support(void) +-{ +- int res; +- int status; +- sigset_t blockmask; +- sigset_t oldmask; +- int pip[2]; +- char buf[1024]; +- char *s; +- unsigned majver; +- unsigned minver; +- int supported = 0; +- int pid; +- +- res = pipe(pip); +- if (res == -1) +- return 0; +- +- sigemptyset(&blockmask); +- sigaddset(&blockmask, SIGCHLD); +- res = sigprocmask(SIG_BLOCK, &blockmask, &oldmask); +- if (res == -1) +- goto out_close; +- +- pid = fork(); +- if (pid == -1) +- goto out_restore; +- +- if (pid == 0) { +- int nullfd; +- +- close(pip[0]); +- dup2(pip[1], 1); +- if (pip[1] != 1) +- close(pip[1]); +- nullfd = open("/dev/null", O_WRONLY); +- dup2(nullfd, 2); +- sigprocmask(SIG_SETMASK, &oldmask, NULL); +- setuid(getuid()); +- execl("/bin/umount", "/bin/umount", "--version", NULL); +- exit(1); +- } +- res = read(pip[0], buf, sizeof(buf)); +- if (res == -1 || res == sizeof(buf)) +- buf[0] = '\0'; +- else +- buf[res] = '\0'; +- +- res = waitpid(pid, &status, 0); +- if (res == -1 || status != 0) +- goto out_restore; +- +- s = strstr(buf, "util-linux-ng "); +- if (s == NULL) +- goto out_restore; +- +- s += 14; +- if (sscanf(s, "%u.%u", &majver, &minver) < 2) +- goto out_restore; +- +- if (majver < 2 || (majver == 2 && minver < 18)) +- goto out_restore; +- +- supported = 1; +- +-out_restore: +- sigprocmask(SIG_SETMASK, &oldmask, NULL); +-out_close: +- close(pip[0]); +- close(pip[1]); +- +- return supported; +-} +-#else +-static int umount_fake_support(void) +-{ +- return 1; +-} +-#endif +- + static int unmount_fuse_locked(const char *mnt, int quiet, int lazy) + { + int res; ++ char *copy; ++ const char *last; ++ int umount_flags = lazy ? UMOUNT_DETACH : 0; + + if (getuid() != 0) { + res = may_unmount(mnt, quiet); +@@ -549,12 +409,36 @@ + return -1; + } + +- if (umount_nofollow_support() && umount_fake_support()) +- res = unmount_fuse_nofollow(mnt, quiet, lazy); +- else +- res = unmount_fuse_legacy(mnt, lazy); ++ copy = strdup(mnt); ++ if (copy == NULL) { ++ fprintf(stderr, "%s: failed to allocate memory\n", progname); ++ return -1; ++ } + +- return res; ++ res = chdir_to_parent(copy, &last); ++ if (res == -1) ++ goto out; ++ ++ if (umount_nofollow_support()) { ++ umount_flags |= UMOUNT_NOFOLLOW; ++ } else { ++ res = check_is_mount(last, mnt); ++ if (res == -1) ++ goto out; ++ } ++ ++ res = umount2(last, umount_flags); ++ if (res == -1 && !quiet) { ++ fprintf(stderr, "%s: failed to unmount %s: %s\n", ++ progname, mnt, strerror(errno)); ++ } ++ ++out: ++ chdir("/"); ++ if (res == -1) ++ return -1; ++ ++ return fuse_mnt_remove_mount(progname, mnt); + } + + static int unmount_fuse(const char *mnt, int quiet, int lazy) --- fuse-2.8.4.orig/debian/patches/000-Build_system_do_not_install_init_script +++ fuse-2.8.4/debian/patches/000-Build_system_do_not_install_init_script @@ -0,0 +1,20 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 000-Build_system_do_not_install_init_script +## by Bartosz Fenski +## +## DP: Upstream build system should not run update-rc.d. +## DP: Disable it! + +@DPATCH@ + +--- fuse-2.6.3.orig/util/Makefile.in ++++ fuse-2.6.3/util/Makefile.in +@@ -502,7 +502,7 @@ + $(INSTALL_PROGRAM) $(srcdir)/init_script $(DESTDIR)$(INIT_D_PATH)/fuse + @if test -x /usr/sbin/update-rc.d; then \ + echo "/usr/sbin/update-rc.d fuse start 34 S . start 41 0 6 . || true"; \ +- /usr/sbin/update-rc.d fuse start 34 S . start 41 0 6 . || true; \ ++ # /usr/sbin/update-rc.d fuse start 34 S . start 41 0 6 . || true; \ + fi + + install-data-local: --- fuse-2.8.4.orig/debian/patches/00list +++ fuse-2.8.4/debian/patches/00list @@ -0,0 +1,7 @@ +000-Build_system_do_not_install_init_script +001-GNU_kFreeBSD +#002-Missing_pthread_link_on_libulockmgr +004-CVE-2010-3879 +005-CVE-2011-0541 +006-CVE-2011-0542 +007-CVE-2011-0543 --- fuse-2.8.4.orig/debian/pkgfiles/libfuse-dev/Makefile +++ fuse-2.8.4/debian/pkgfiles/libfuse-dev/Makefile @@ -0,0 +1,13 @@ +CFLAGS := -Wall $(shell pkg-config fuse --cflags) +LDFLAGS := $(shell pkg-config fuse --libs) + +targets = fusexmp fusexmp_fh hello hello_ll null + +all: $(targets) + +fusexmp_fh: fusexmp_fh.c + $(CC) $(CFLAGS) $(LDFLAGS) -lulockmgr $< -o $@ + +clean: + rm -f *.o + rm -f $(targets)