--- fuse-umfuse-ext2-0.4.orig/debian/changelog +++ fuse-umfuse-ext2-0.4/debian/changelog @@ -0,0 +1,69 @@ +fuse-umfuse-ext2 (0.4-1.1ubuntu0.16.04.1) xenial; urgency=high + + * Correctly release locks in op_link (LP: #1674868). + + -- Andrew Caldwell Wed, 22 Mar 2017 19:42:35 +0000 + +fuse-umfuse-ext2 (0.4-1.1) unstable; urgency=low + + * Non-maintainer upload. + * Depend on fuse instead of fuse-utils. (Closes: #698122) + * debian/control: Remove deprecated DM-Upload-Allowed field. + + -- Ansgar Burchardt Sun, 12 May 2013 15:48:18 +0200 + +fuse-umfuse-ext2 (0.4-1) unstable; urgency=low + + [ Filippo Giunchedi ] + * Add DM-Upload-Allowed field + + [ Ludovico Gardenghi ] + * New upstream release + + Source code completely changed, now it's a fork of fuse-ext2 by + Alper Akcan + + Update copyright file accordingly + + Resolve old codebase issues (Closes: #562177, #670622) + * Update to S-V 3.9.3 + * Switch to machine-readable copyright file + * Update mail address for Ludovico Gardenghi + * Add compatibility symlinks (old version used fuseext2, this one uses + fuse-ext2) + + -- Ludovico Gardenghi Sun, 24 Jun 2012 20:58:20 +0200 + +fuse-umfuse-ext2 (0.3-1) unstable; urgency=low + + [ Ludovico Gardenghi ] + * New upstream release + + Added support for rename() + + Added support for symlink() + + [ Filippo Giunchedi ] + * Upgrade to S-V 3.8.0 (add Homepage) + * libumlib0-dev -> libumlib-dev transition + * Fix link to GPLv2 in copyright + + -- Filippo Giunchedi Thu, 26 Jun 2008 14:00:14 +0200 + +fuse-umfuse-ext2 (0.2-2) unstable; urgency=low + + * switch to CDBS + + -- Filippo Giunchedi Fri, 04 May 2007 14:47:38 +0200 + +fuse-umfuse-ext2 (0.2-1) unstable; urgency=low + + * new upstream release, manpage added + + -- Filippo Giunchedi Fri, 04 May 2007 01:08:38 +0200 + +fuse-umfuse-ext2 (0.1-1) unstable; urgency=low + + [ Ludovico Gardenghi ] + * Initial release + + [ Guido Trotter ] + * Fix build dependencies + + -- Guido Trotter Wed, 14 Feb 2007 01:49:23 +0000 + --- fuse-umfuse-ext2-0.4.orig/debian/compat +++ fuse-umfuse-ext2-0.4/debian/compat @@ -0,0 +1 @@ +5 --- fuse-umfuse-ext2-0.4.orig/debian/control +++ fuse-umfuse-ext2-0.4/debian/control @@ -0,0 +1,48 @@ +Source: fuse-umfuse-ext2 +Priority: optional +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Debian VSquare Team +Uploaders: Ludovico Gardenghi , Guido Trotter , Filippo Giunchedi +Build-Depends: debhelper (>= 5), quilt, libumlib-dev, libfuse-dev, e2fslibs-dev, cdbs +Vcs-Svn: svn://svn.debian.org/pkg-vsquare/fuse-umfuse-ext2/trunk +Vcs-Browser: http://svn.debian.org/wsvn/pkg-vsquare/fuse-umfuse-ext2/trunk/ +Standards-Version: 3.9.3 +Homepage: http://view-os.sourceforge.net +Section: misc + +Package: umview-mod-umfuseext2 +Architecture: i386 amd64 powerpc ppc64 +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: View-OS in user space - ext2 module for UMFUSE + View-OS is a novel approach to the process/kernel interface. The semantics of + each system call can be assigned process by process giving the user the right + to decide which view of the system each process has to join. Each process can + "see" a different file system structure, networking resources, processor, + devices. Moreover some of the resources can be provided by the user + him/herself, thus these resource can be private to the single process and are + not known a priori by the system. Groups of processes can share the same view + but this is just an optimization to share management methods. + . + For more information, see http://wiki.virtualsquare.org + . + UMView is a user-mode implementation of View-OS. Processes are run with a + controlling daemon that captures all the system calls (at present using the + ptrace() system call) and uses dynamically loadable modules to change their + semantic. + . + This package contains a sub-module for umfuse. umfuse is contained in the + main UMView package and allows almost complete source compatibility with FUSE + modules. umfuseext2 can be used to mount Extended 2 file system images + inside an UMView instance. + +Package: fuseext2 +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, fuse +Description: File System in User Space - Module for ext2 + This module for the FUSE kernel service allows any FUSE-enabled user to mount + Second Extended file systems, e.g. disk images. + . + The module has been initially written for UMView, the user-mode + implementation of View-OS. If you want to allow completely user-mode disk + images mounting (with no kernel/superuser support at all), take a look at + umview-mod-umfuseext2 and its dependencies. --- fuse-umfuse-ext2-0.4.orig/debian/copyright +++ fuse-umfuse-ext2-0.4/debian/copyright @@ -0,0 +1,55 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: FUSE-EXT2 +Upstream-Contact: Renzo Davoli +Source: http://sourceforge.net/projects/view-os/ + +Files: * +Copyright: Copyright (c) 2008-2010 Alper Akcan + Copyright (c) 2009-2010 Renzo Davoli +License: GPL-2+ + 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 of the License, or + (at your option) any later version. + . + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + . + On Debian systems, the full text of the GNU General Public + License version 2 can be found in the file + `/usr/share/common-licenses/GPL-2'. + +Files: fuse-ext2/ext2-fileio.c +Copyright: Copyright (C) 1997 Theodore Ts'o. +License: GPL + This file may be redistributed under the terms of the GNU Public + License. + . + On Debian systems, the full text of the GNU General Public + License can be found in the file `/usr/share/common-licenses/GPL'. + +Files: debian/* +Copyright: Copyright 2007-2012 Ludovico Gardenghi +License: GPL-2 + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License, version 2, as + published by the Free Software Foundation. + . + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + . + On Debian systems, the full text of the GNU General Public + License version 2 can be found in the file + `/usr/share/common-licenses/GPL-2'. --- fuse-umfuse-ext2-0.4.orig/debian/fuseext2.install +++ fuse-umfuse-ext2-0.4/debian/fuseext2.install @@ -0,0 +1,2 @@ +debian/tmp/usr/bin/fuse-ext2 +debian/tmp/usr/share/man/man1/* --- fuse-umfuse-ext2-0.4.orig/debian/patches/prevent-deadlock-in-symlink.diff +++ fuse-umfuse-ext2-0.4/debian/patches/prevent-deadlock-in-symlink.diff @@ -0,0 +1,28 @@ +Description: Fix deadlock in symlink code + The existing code accidentally re-locked the global lock after manipulating + symlinks, rather than releasing it. Since the lock isn't re-entrant this + caused an immediate deadlock. This patch replaces the extra locks to unlocks + as was clearly originally intended. +Author: Andy Caldwell +Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/fuse-umfuse-ext2/+bug/1674868 +Forwarded: no +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +Index: fuse-umfuse-ext2-0.4/fuse-ext2/op_link.c +=================================================================== +--- fuse-umfuse-ext2-0.4.orig/fuse-ext2/op_link.c 2017-08-30 17:17:54.653157002 +0100 ++++ fuse-umfuse-ext2-0.4/fuse-ext2/op_link.c 2017-08-30 17:22:28.103157002 +0100 +@@ -101,11 +101,11 @@ + } + free_split(p_path, r_path); + debugf("done"); +- FUSE_EXT2_LOCK; ++ FUSE_EXT2_UNLOCK; + return 0; + err_free_split: + free_split(p_path, r_path); + err: +- FUSE_EXT2_LOCK; ++ FUSE_EXT2_UNLOCK; + return rc; + } --- fuse-umfuse-ext2-0.4.orig/debian/patches/series +++ fuse-umfuse-ext2-0.4/debian/patches/series @@ -0,0 +1 @@ +prevent-deadlock-in-symlink.diff --- fuse-umfuse-ext2-0.4.orig/debian/rules +++ fuse-umfuse-ext2-0.4/debian/rules @@ -0,0 +1,17 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/autotools.mk + +common-install-prehook-arch common-install-prehook-indep:: + mkdir -p debian/tmp/sbin + +install/fuseext2:: + dh_link -pfuseext2 /usr/share/man/man1/fuse-ext2.1 /usr/share/man/man8/mount.fuse-ext2.8 + dh_link -pfuseext2 /usr/bin/fuse-ext2 /sbin/mount.fuse-ext2 + # Compatibility symlinks for versions up to 0.3. + dh_link -pfuseext2 /usr/bin/fuse-ext2 /usr/bin/fuseext2 + dh_link -pfuseext2 /sbin/mount.fuse-ext2 /sbin/mount.fuseext2 + dh_link -pfuseext2 /usr/share/man/man1/fuse-ext2.1 /usr/share/man/man1/fuseext2.1 + dh_link -pfuseext2 /usr/share/man/man8/mount.fuse-ext2.8 /usr/share/man/man8/mount.fuseext2.8 + dh_compress -pfuseext2 --- fuse-umfuse-ext2-0.4.orig/debian/umview-mod-umfuseext2.install +++ fuse-umfuse-ext2-0.4/debian/umview-mod-umfuseext2.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/umview/modules/*.so --- fuse-umfuse-ext2-0.4.orig/debian/watch +++ fuse-umfuse-ext2-0.4/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://sf.net/view-os/fuse-umfuse-ext2-(.*)\.tar\.gz