--- fuse-2.7.3.orig/debian/45-fuse.rules +++ fuse-2.7.3/debian/45-fuse.rules @@ -0,0 +1,2 @@ +KERNEL=="fuse", GROUP="fuse" + --- fuse-2.7.3.orig/debian/libfuse-dev.install +++ fuse-2.7.3/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.7.3.orig/debian/fuse.conf +++ fuse-2.7.3/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.7.3.orig/debian/fuse-utils.lintian +++ fuse-2.7.3/debian/fuse-utils.lintian @@ -0,0 +1 @@ +fuse-utils: setuid-binary bin/fusermount 4755 root/root --- fuse-2.7.3.orig/debian/fuse-utils.fuse.init +++ fuse-2.7.3/debian/fuse-utils.fuse.init @@ -0,0 +1,101 @@ +#! /bin/sh +### BEGIN INIT INFO +# Provides: fuse +# Required-Start: $local_fs +# Required-Stop: $local_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 + 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 kernel module unload failed + # 2 if fusectl filesystem umount failed + if grep -qw $MOUNTPOINT /proc/mounts; then + umount $MOUNTPOINT >/dev/null 2>&1 || \ + return 1 + fi + 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|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;; + 2) [ "$VERBOSE" != no ] && log_end_msg 1 ;; + esac + ;; + restart|force-reload) + log_daemon_msg "Restarting $DESC" "$NAME" + do_stop + case "$?" in + 0|1) + 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.7.3.orig/debian/fuse-utils-udeb.install +++ fuse-2.7.3/debian/fuse-utils-udeb.install @@ -0,0 +1,4 @@ +bin/fusermount +bin/ulockmgr_server +sbin/mount.fuse +etc/modprobe.d/fuse --- fuse-2.7.3.orig/debian/changelog +++ fuse-2.7.3/debian/changelog @@ -0,0 +1,875 @@ +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.7.3.orig/debian/libfuse2-udeb.install +++ fuse-2.7.3/debian/libfuse2-udeb.install @@ -0,0 +1 @@ +usr/lib/lib*.so.* lib --- fuse-2.7.3.orig/debian/libfuse2.install +++ fuse-2.7.3/debian/libfuse2.install @@ -0,0 +1 @@ +usr/lib/lib*.so.* lib --- fuse-2.7.3.orig/debian/preinst.modules.in +++ fuse-2.7.3/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.7.3.orig/debian/fuse-utils.install +++ fuse-2.7.3/debian/fuse-utils.install @@ -0,0 +1,7 @@ +bin/fusermount +bin/ulockmgr_server +sbin/mount.fuse +etc/udev/rules.d/45-fuse.rules +etc/modprobe.d/fuse +usr/share/initramfs-tools/hooks/fuse_utils +../10-fuse-permissions.fdi usr/share/hal/fdi/policy/10osvendor/ --- fuse-2.7.3.orig/debian/compat +++ fuse-2.7.3/debian/compat @@ -0,0 +1 @@ +5 --- fuse-2.7.3.orig/debian/watch +++ fuse-2.7.3/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://sf.net/fuse/fuse-([0-9\.]+)\.tar\.gz --- fuse-2.7.3.orig/debian/postrm.modules.in +++ fuse-2.7.3/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.7.3.orig/debian/rules +++ fuse-2.7.3/debian/rules @@ -0,0 +1,169 @@ +#!/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 +KDESTDIR = $(CURDIR)/debian/fuse-source +DOCS = Filesystems FAQ NEWS README README.NFS doc/* debian/README.Debian debian/NEWS.Debian + +# Module-assistant stuff +PACKAGE = fuse-modules +MA_DIR ?= /usr/share/modass +-include $(MA_DIR)/include/generic.make +-include $(MA_DIR)/include/common-rules.make + +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + +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 + +# Modass targets +kdist_configure: prep-deb-files +kdist_clean: + [ ! -f Makefile ] || $(MAKE) distclean +binary-modules: prep-deb-files + dh_testroot + dh_clean -k + ./configure --enable-kernel-module --with-kernel=$(KSRC) + $(MAKE) + install -D -m0644 fuse.ko debian/$(PACKAGE)-$(KVERS)/lib/modules/$(KVERS)/kernel/fs/fuse/fuse.ko + dh_installchangelogs ChangeLog + dh_installdocs $(DOCS) + dh_installmodules + sed -e "s/@KERNEL@/$(KVERS)/g" debian/preinst.modules.in > debian/preinst + sed -e "s/@KERNEL@/$(KVERS)/g" debian/postrm.modules.in > debian/postrm + dh_link + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_gencontrol -- -v$(VERSION) + dh_md5sums + dh_builddeb --destdir=$(DEB_DESTDIR) + dh_clean -k + +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/etc/udev/rules.d/45-fuse.rules + install -D -m0644 debian/fuse-utils.modprobe \ + $(CURDIR)/debian/tmp/etc/modprobe.d/fuse + install -D -m0755 debian/fuse-utils.initramfs-hook \ + $(CURDIR)/debian/tmp/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 + install -D -m0640 $(CURDIR)/debian/fuse.conf \ + $(CURDIR)/debian/fuse-utils/etc/fuse.conf + +install-indep: + dh_testdir + dh_testroot + dh_clean -k -i + mkdir -p $(KDESTDIR)/usr/src/modules/fuse/debian + cp -a kernel/* $(KDESTDIR)/usr/src/modules/fuse + cp debian/control.modules.in $(KDESTDIR)/usr/src/modules/fuse/debian + cp debian/postrm.modules.in $(KDESTDIR)/usr/src/modules/fuse/debian + cp debian/preinst.modules.in $(KDESTDIR)/usr/src/modules/fuse/debian + cp debian/rules debian/changelog debian/copyright debian/compat debian/control \ + $(KDESTDIR)/usr/src/modules/fuse/debian + sed -i 's!^\(include /usr/share/dpatch/dpatch.make\)$$!#\1!' $(KDESTDIR)/usr/src/modules/fuse/debian/rules + cp --parents $(DOCS) $(KDESTDIR)/usr/src/modules/fuse/ + cp ChangeLog $(KDESTDIR)/usr/src/modules/fuse/ + cd $(KDESTDIR)/usr/src && tar c modules | bzip2 -9 > fuse.tar.bz2 && rm -rf modules + +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 + 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 + dh_installman -s -pfuse-utils debian/fusermount.1 + 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.6)" --add-udeb=libfuse2-udeb + dh_installdeb -s + dh_shlibdeps -s + dh_gencontrol -s + dh_md5sums -s + chmod 4755 debian/fuse-utils/bin/fusermount + dh_builddeb -s + +binary-indep: install-indep + dh_testdir -i + dh_testroot -i + dh_installchangelogs -i ChangeLog + dh_installdocs -i -pfuse-source $(DOCS) + dh_link -i + dh_compress -i + dh_fixperms -i + dh_installdeb -i + dh_shlibdeps -i + dh_gencontrol -i + dh_md5sums -i + dh_builddeb -i + +binary: binary-arch binary-indep +.PHONY: build clean binary-indep binary-arch binary install binary-modules kdist kdist_configure kdist_image kdist_clean --- fuse-2.7.3.orig/debian/fuse-utils.postinst +++ fuse-2.7.3/debian/fuse-utils.postinst @@ -0,0 +1,47 @@ +#!/bin/sh -e + +test $DEBIAN_SCRIPT_DEBUG && set -v -x + +case "$1" in + configure|upgrade) + + test -f /etc/default/fuse-utils && rm -f /etc/default/fuse-utils; + + echo "creating fuse group..." + getent group fuse >/dev/null || addgroup --system fuse + + if ! dpkg-statoverride --list /bin/fusermount >/dev/null; then + chown root:root /bin/fusermount + chmod 4755 /bin/fusermount + + fi + chown root:fuse /etc/fuse.conf + chmod 0640 /etc/fuse.conf + + if dpkg --compare-versions "$2" lt 2.6.5-1ubuntu3; then + dpkg-statoverride --remove /usr/bin/fusermount || true + fi + + # 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 + + 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.7.3.orig/debian/fuse-utils.postrm +++ fuse-2.7.3/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.7.3.orig/debian/libfuse-dev.examples +++ fuse-2.7.3/debian/libfuse-dev.examples @@ -0,0 +1,2 @@ +example/*.c +debian/pkgfiles/libfuse-dev/Makefile --- fuse-2.7.3.orig/debian/10-fuse-permissions.fdi +++ fuse-2.7.3/debian/10-fuse-permissions.fdi @@ -0,0 +1,14 @@ + + + + + + + + + access_control + /dev/fuse + camera + + + --- fuse-2.7.3.orig/debian/control.modules.in +++ fuse-2.7.3/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.7.3.orig/debian/fuse-utils.modprobe +++ fuse-2.7.3/debian/fuse-utils.modprobe @@ -0,0 +1,4 @@ +install fuse /sbin/modprobe --ignore-install fuse && \ + { if grep -q fusectl /proc/filesystems; then /bin/mount -t fusectl fusectl /sys/fs/fuse/connections; fi ; : ; } +remove fuse { if grep -q " /sys/fs/fuse/connections " /proc/mounts; then /bin/umount /sys/fs/fuse/connections; fi } && \ + /sbin/modprobe -r --ignore-remove fuse --- fuse-2.7.3.orig/debian/NEWS.Debian +++ fuse-2.7.3/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.7.3.orig/debian/fuse-utils.initramfs-hook +++ fuse-2.7.3/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 + +force_load fuse + +exit 0 --- fuse-2.7.3.orig/debian/fuse-utils.preinst +++ fuse-2.7.3/debian/fuse-utils.preinst @@ -0,0 +1,55 @@ +#!/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 dpkg --compare-versions $2 lt 2.6.5-1ubuntu3; then + stat=`dpkg-statoverride --list /usr/bin/fusermount | sed 's,/usr/bin,/bin,'` + if [ "$stat" ]; then + dpkg-statoverride --add $stat || true + fi + fi +fi + +mv_conffile() { + OLD="$1" + NEW="$2" + if [ -e "$OLD" ]; then + md5sum="`md5sum \"$OLD\" | sed -e \"s/ .*//\"`" + orig_md5sum="`dpkg-query -W -f='${Conffiles}' fuse-utils | fgrep " $OLD " | awk '{print $2}'`" + if [ "$md5sum" != "$orig_md5sum" ]; then + echo "Moving modified conffile $OLD to $NEW..." + mv -f "$OLD" "$NEW" + else + echo "Removing obsolete conffile $OLD ..." + rm -f "$OLD" + fi + fi +} + +case "$1" in +upgrade) + if dpkg --compare-versions "$2" = "2.6.2-1ubuntu1"; then + mv_conffile /etc/udev/rules.d/80-fuse.rules /etc/udev/rules.d/45-fuse.rules + fi +esac + + +#DEBHELPER# + +exit 0 --- fuse-2.7.3.orig/debian/README.Debian +++ fuse-2.7.3/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.7.3.orig/debian/control +++ fuse-2.7.3/debian/control @@ -0,0 +1,72 @@ +Source: fuse +Section: libs +Priority: optional +Maintainer: Ubuntu Core 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 | libselinux-dev +Homepage: http://fuse.sourceforge.net/ +Standards-Version: 3.7.3 + +Package: fuse-utils +Section: utils +Depends: ${shlibs:Depends}, ${misc:Depends}, libfuse2 (= ${binary:Version}), sed (>= 4), adduser, makedev (>= 2.3.1-80) | udev +Architecture: 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 | libselinux-dev +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} +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-source +Architecture: all +Depends: module-assistant, debhelper (>= 5), make, bzip2 +Description: Source for the Fuse kernel module + Simple interface for userspace programs to export a virtual + filesystem to the Linux kernel. + . + This package provides the source code for the Fuse kernel modules. + Kernel source or headers >= 2.6.9 are required to compile these modules. + +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.7.3.orig/debian/fusermount.1 +++ fuse-2.7.3/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.7.3.orig/debian/copyright +++ fuse-2.7.3/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.7.3.orig/debian/patches/001-fuse-utils_umount_fs +++ fuse-2.7.3/debian/patches/001-fuse-utils_umount_fs @@ -0,0 +1,49 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 001-fuse-utils_umount_fs +## by Javier Merino +## +## DP: Umount all fuse mounted filesystems before unloading kernel module +## DP: in fuse init script. +## DP: See #411143 + +@DPATCH@ + +diff -r 151bd3bd9ce6 -r 8f23469f4bb3 debian/fuse-utils.fuse.init +--- a/debian/fuse-utils.fuse.init Fri May 25 18:12:25 2007 +0200 ++++ b/debian/fuse-utils.fuse.init Sun May 27 19:52:32 2007 +0200 +@@ -46,12 +46,14 @@ do_stop() + { + # Return + # 0 if fuse has been stopped +- # 1 if kernel module unload failed +- # 2 if fusectl filesystem umount failed ++ # 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 fuse >/dev/null 2>&1 || return 3 + if grep -qw "^fuse" /proc/modules; then + rmmod fuse >/dev/null 2>&1 || return 2 + fi +@@ -70,15 +72,15 @@ case "$1" in + [ "$VERBOSE" != no ] && log_daemon_msg "Stopping $DESC" "$NAME" + do_stop + case "$?" in +- 0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;; +- 2) [ "$VERBOSE" != no ] && log_end_msg 1 ;; ++ 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|1) ++ 0|2|3) + do_start + case "$?" in + 0) log_end_msg 0 ;; --- fuse-2.7.3.orig/debian/patches/00list +++ fuse-2.7.3/debian/patches/00list @@ -0,0 +1,2 @@ +000-Build_system_do_not_install_init_script +001-fuse-utils_umount_fs --- fuse-2.7.3.orig/debian/patches/000-Build_system_do_not_install_init_script +++ fuse-2.7.3/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.7.3.orig/debian/pkgfiles/libfuse-dev/Makefile +++ fuse-2.7.3/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)