--- avfs-1.0.1.orig/debian/changelog +++ avfs-1.0.1/debian/changelog @@ -0,0 +1,100 @@ +avfs (1.0.1-2) unstable; urgency=low + + * Added pkg-config as build dependency. (Closes: #696473) + + -- Michael Meskes Fri, 21 Dec 2012 12:56:47 +0100 + +avfs (1.0.1-1) unstable; urgency=low + + * Imported Upstream version 1.0.1 + + -- Michael Meskes Wed, 11 Jul 2012 10:25:20 +0200 + +avfs (1.0.0-4) unstable; urgency=low + + * Made avfs look for extfs in the right place. + Thanks to Ivan Krylov (Closes: #663146) + * Bumped Standards-Version to 3.9.3, no changes needed. + + -- Michael Meskes Mon, 12 Mar 2012 09:30:40 +0100 + +avfs (1.0.0-3) unstable; urgency=low + + * Make sure permissions are correctly set if file is created. + * Enabled hardening build flags. + * Added missing argument to syslog calls. + * Moved to debhelper 7 and minimized rules file. + + -- Michael Meskes Sun, 15 Jan 2012 15:54:35 +0100 + +avfs (1.0.0-2) unstable; urgency=low + + * Made avfs work correctly with kFreeBSD. (Closes: #634364) + + -- Michael Meskes Tue, 15 Nov 2011 11:01:24 +0100 + +avfs (1.0.0-1) unstable; urgency=low + + * Imported Upstream version 1.0.0 + * Updated lintian overrides for new syntax. + * Bumped Standards-Version to 3.9.2, no changes needed. + + -- Michael Meskes Wed, 24 Aug 2011 11:53:31 +0200 + +avfs (0.9.9-1) unstable; urgency=low + + * Imported Upstream version 0.9.9. + * Removed patches that were applied upstream. + + -- Michael Meskes Wed, 03 Nov 2010 11:16:57 +0100 + +avfs (0.9.8-7) unstable; urgency=low + + * Rename and enable external uzip and urar modules. + * Added prepatch for upcoming 0.9.9 release fixing a race in avfsd and + updating bzlib2 code to latest version 1.0.5. (Closes: #522479) + * Bumped Standards-Version to 3.8.4, no changes needed. + + -- Michael Meskes Sat, 03 Apr 2010 11:43:36 +0200 + +avfs (0.9.8-6) unstable; urgency=high + + * Added dependency to fuse-utils, closes: #509658 + + -- Michael Meskes Wed, 24 Dec 2008 11:08:52 +0100 + +avfs (0.9.8-5) unstable; urgency=low + + * Removed all bashisms in extfs modules, closes: #489540 + + -- Michael Meskes Mon, 07 Jul 2008 12:35:24 +0200 + +avfs (0.9.8-4) unstable; urgency=low + + * Applied patch by Jens Thiele to fix broken cpio + handler, closes: #489410 + * Bumped Standards-Version to 3.8.0, no changes needed. + + -- Michael Meskes Sun, 06 Jul 2008 11:43:28 +0200 + +avfs (0.9.8-3) unstable; urgency=low + + * Changed watch file yet again. This one works more often than not. + + -- Michael Meskes Fri, 13 Jun 2008 16:20:22 +0200 + +avfs (0.9.8-2) unstable; urgency=low + + * Clarified information about included libs: zlib and bzlib. + * Changed watch file, hopefully this one works. + + -- Michael Meskes Fri, 28 Mar 2008 12:24:14 +0100 + +avfs (0.9.8-1) unstable; urgency=low + + * Initial release (Closes: #421548) + * Added one patch from mc to audio extfs to make sure blanks in track names + don't disrupt things. + + -- Michael Meskes Tue, 25 Mar 2008 10:46:29 +0100 + --- avfs-1.0.1.orig/debian/watch +++ avfs-1.0.1/debian/watch @@ -0,0 +1,3 @@ +version=3 +http://sf.net/avf avfs-(.*)\.tar\.gz + --- avfs-1.0.1.orig/debian/docs +++ avfs-1.0.1/debian/docs @@ -0,0 +1,8 @@ +NEWS +README +TODO +doc/api-overview +doc/background +doc/FORMAT +doc/README.avfs-fuse + --- avfs-1.0.1.orig/debian/README.Debian +++ avfs-1.0.1/debian/README.Debian @@ -0,0 +1,25 @@ +avfs for Debian +--------------- + +To use this filesystem the user has to access to /dev/fuse and the fuse +utilities. On Debian this normally means that the user has to be part of the +group fuse. + +The shared library hasn't been packaged so far because I don't know a single +application using it. This might change in the future. + +Webdav support is disabled for the time being because it needs some more work. + +This package comes with several libraries build in, namely zlib and bzlib. The +usage of the normal shared libs is impossible unfortunately. Here's upstream +reasoning: + +--- +AVFS uses a modified verion of zlib which can create snapshots of the +compression state. This allows seeking within the gzipped file +without having to cache the whole uncompressed file. + +This makes it impossible to use the shared zlib, unfortunately. +--- + + -- Michael Meskes Tue, 18 Mar 2008 20:48:39 +0100 --- avfs-1.0.1.orig/debian/control +++ avfs-1.0.1/debian/control @@ -0,0 +1,19 @@ +Source: avfs +Priority: extra +Maintainer: Michael Meskes +Build-Depends: debhelper (>= 7.0.50~), autotools-dev, libfuse-dev, quilt (>= 0.40), pkg-config, unzip +Standards-Version: 3.9.3 +Section: utils + +Package: avfs +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, fuse [linux-any] | fuse4bsd [kfreebsd-any] +Suggests: unzip, zip, arj, lha, zoo, rpm, p7zip|p7zip-full, cdparanoia, wget +Description: virtual filesystem to access archives, disk images, remote locations + This FUSE-base VFS (Virtual FileSystem) enables all programs to look inside + archived or compressed files, or access remote files without recompiling the + programs or changing the kernel. + . + At the moment it supports floppies, tar and gzip files, zip, bzip2, ar and rar + files, ftp sessions, http, webdav, rsh/rcp, ssh/scp. Quite a few other + handlers are implemented with the Midnight Commander's external FS. --- avfs-1.0.1.orig/debian/README.source +++ avfs-1.0.1/debian/README.source @@ -0,0 +1,26 @@ +Debian patch system +=================== + +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. + +See /usr/share/doc/dpatch/README.source.gz for a detailed explanation. + + +Source repackaging +================== + +The upstream tarball used to build this package has been repackaged to +remove unneeded/unwanted files and directories. +You can follow these steps to upgrade to a new upstream version: + +uscan --rename --download-version $VERSION +mkdir ../virtualbox-ose-$VERSION +tar -xj -C ../virtualbox-ose-$VERSION --strip-components 1 -f ../virtualbox-ose_$VERSION.orig.tar.bz2 +rm -rf ../virtualbox-ose-$VERSION/debian +cp -a debian ../virtualbox-ose-$VERSION +cd ../virtualbox-ose-$VERSION +debchange -v $VERSION-dfsg-1 +fakeroot debian/rules dfsg-free +rm ../virtualbox-ose_$VERSION.orig.tar.bz2 --- avfs-1.0.1.orig/debian/avfs.lintian-overrides +++ avfs-1.0.1/debian/avfs.lintian-overrides @@ -0,0 +1,6 @@ +avfs: embedded-library usr/bin/avfsd: zlib +avfs: embedded-library usr/lib/libavfs.so.0.0.2: zlib +avfs: non-empty-dependency_libs-in-la-file usr/lib/libavfs.la +avfs: package-name-doesnt-match-sonames libavfs0 +avfs: non-dev-pkg-with-shlib-symlink usr/lib/libavfs.so.0.0.2 usr/lib/libavfs.so + --- avfs-1.0.1.orig/debian/compat +++ avfs-1.0.1/debian/compat @@ -0,0 +1 @@ +5 --- avfs-1.0.1.orig/debian/rules +++ avfs-1.0.1/debian/rules @@ -0,0 +1,35 @@ +#!/usr/bin/make -f + +CFLAGS = `dpkg-buildflags --get CFLAGS` +CFLAGS += -Wall +LDFLAGS = `dpkg-buildflags --get LDFLAGS` +CPPFLAGS = `dpkg-buildflags --get CPPFLAGS` + +%: + dh ${@} --with quilt + + +override_dh_auto_configure: +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 + touch configure + (export AWK=awk; ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)" CPPFLAGS=$(CPPFLAGS) LDFLAGS="$(LDFLAGS)" --enable-library --enable-fuse --disable-fuse-test) + +override_dh_auto_clean: + dh_auto_clean + + rm -f config.guess config.sub + +override_dh_auto_install: + $(MAKE) DESTDIR=$(CURDIR)/debian/avfs install + # We do not build the dav module atm, so we don't need the password script either. + rm -f $(CURDIR)/debian/avfs/usr/bin/davpass + # Make install creates /usr/sbin but we don't need it. + rmdir $(CURDIR)/debian/avfs/usr/sbin + mv $(CURDIR)/debian/avfs/usr/share/avfs/extfs/uzip $(CURDIR)/debian/avfs/usr/share/avfs/extfs/ext-uzip + mv $(CURDIR)/debian/avfs/usr/share/avfs/extfs/urar $(CURDIR)/debian/avfs/usr/share/avfs/extfs/ext-urar + --- avfs-1.0.1.orig/debian/dirs +++ avfs-1.0.1/debian/dirs @@ -0,0 +1,3 @@ +usr/bin +usr/lib +usr/share --- avfs-1.0.1.orig/debian/copyright +++ avfs-1.0.1/debian/copyright @@ -0,0 +1,93 @@ +This package was debianized by Michael Meskes on +Tue, 18 Mar 2008 20:48:39 +0100. + +It was downloaded from http://sourceforge.net/projects/avf + +Upstream Authors: + + Miklos Szeredi + Ralf Hoffmann + +Copyright: + + Copyright (C) 1998-2008 Miklos Szeredi and Ralf Hoffmann + +License: + + This package 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. + + 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 complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. + +libneon: Copyright (C) 1999-2001, Joe Orton + Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc. + Copyright (C) 1999-2000 Tommi Komulainen + Copyright (c) 1999 Eric S. Raymond + LGPL + +On Debian systems, the complete text of the GNU General Lesser +Public License can be found in `/usr/share/common-licenses/LGPL'. + +bzlib: Copyright (C) 1996-2005 Julian R Seward + BSD + +zlib: Copyright (C) 1995-2002 Jean-loup Gailly and Mark Adler + + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. + +modules/dav_ls.c is partly Copyright (C) 2000-2001, Joe Orton : GPL +modules/urar.c is partly Copyright (C) 1998 David Hanak (dhanak@inf.bme.hu): GPL +preload/leak.c is (c) 1999 Erwin S. Andreasen : public domain +extfs/ulha.in is Copyright (C) 1996, 1997 Joseph M. Hinkle: GPL +extfs/u7z.in is Copyright (C) 2004 Sergiy Niskorodov (sgh at ukrpost dot net): GPL +extfs/uarj.in is (C) 2002 ARJ Software Russia, Viatcheslav Odintsov: as part of mc GPL +extfs/uzip.in is (C) 2000-2001 Oskar Liljeblad : as part of mc GPL +extfs/urar.in is (C) 1996 andrey joukov, 1999 christian.gennerat@alcatel.fr, 2000 Andrew V. Samoilov : as part of mc GPL + +The following files are (C) Piotr Roszatycki and placed under GPL: +extfs/apt.in +extfs/deba.in +extfs/debd.in +extfs/dpkg.in + +The following files are Copyright (C) Free Software Foundation, Inc. and placed under GPL: +modules/gtar.h +extfs/rpms.in +extfs/rpm +extfs/trpm +extfs/audio.in +extfs/deb.in +extfs/ucpio +extfs/uar.in +extfs/bpp +all files resulting from autotools usage + +The Debian packaging is Copyright (C) 2008-2010, Michael Meskes + and is licensed under the GPL, see +`/usr/share/common-licenses/GPL'. + --- avfs-1.0.1.orig/debian/source/format +++ avfs-1.0.1/debian/source/format @@ -0,0 +1 @@ +1.0 --- avfs-1.0.1.orig/debian/patches/series +++ avfs-1.0.1/debian/patches/series @@ -0,0 +1,4 @@ +umountavfs +bashisms +extfs +configure --- avfs-1.0.1.orig/debian/patches/configure +++ avfs-1.0.1/debian/patches/configure @@ -0,0 +1,11 @@ +--- avfs-1.0.0.orig/configure ++++ avfs-1.0.0/configure +@@ -24294,7 +24294,7 @@ + LIBS="$LIBS -pthread" + fi + +-moduledir='${libdir}/avfs' ++moduledir='${datarootdir}/avfs' + + + --- avfs-1.0.1.orig/debian/patches/bashisms +++ avfs-1.0.1/debian/patches/bashisms @@ -0,0 +1,205 @@ +diff -ruN avfs/extfs/ftplist avfs.new/extfs/ftplist +--- avfs/extfs/ftplist 2012-07-11 11:14:33.372814015 +0200 ++++ avfs.new/extfs/ftplist 2012-07-11 11:15:17.748813634 +0200 +@@ -1,4 +1,4 @@ +-#!/bin/bash ++#! /bin/sh + # This fs implements a simple database of your favourite ftp servers. + # The `archive' is a text file containing a list of ftp URL's one per line + # like this (followed optionaly by name under which the link will be +@@ -20,7 +20,7 @@ + + mcftplistfs_list () + { +- { ls -l $1; cat $1; } | gawk -v uid=${UID-0} ' ++ { ls -l $1; cat $1; } | gawk -v uid=$(id -ru) ' + /^[\ \ ]*(#.*)?$/ { next } + { + if (NF > 8) { +diff -ruN avfs/extfs/u7z.in avfs.new/extfs/u7z.in +--- avfs/extfs/u7z.in 2012-07-11 11:14:33.372814015 +0200 ++++ avfs.new/extfs/u7z.in 2012-07-11 11:23:02.308809624 +0200 +@@ -1,4 +1,4 @@ +-#!/bin/bash ++#! /bin/sh + # + # u7z - 7zip file archive Virtual File System for Midnight Commander ( ftp://ftp.ibiblio.org/pub/Linux/utils/file/managers/mc/ ) + # +@@ -36,7 +36,7 @@ + + mc7zfs_list () + { +- $SEVENZ l "$1" 2> /dev/null | @AWK@ -v uid=${UID-0} ' ++ $SEVENZ l "$1" 2> /dev/null | @AWK@ -v uid=$(id -ru) ' + BEGIN { flag=0; arr_of_month="JanFebMarAprMayJunJulAugSepOctNovDec" } + /^-------/ { flag++; if (flag > 1) exit 0; next } + { +@@ -106,7 +106,7 @@ + # p7zip 0.91 don't understand filename in subdir without "./" + # but in top dir it understand only without "./" + FLIST=`$SEVENZ l "$1" 2> /dev/null` +- echo "$FLIST" | grep -q "[.][/]" &> /dev/null && EXFNAME=*./"$2" || EXFNAME="$2" ++ echo "$FLIST" | grep -q "[.][/]" > /dev/null 2>&1 && EXFNAME=*./"$2" || EXFNAME="$2" + EXFN=`basename "$2"` + $SEVENZ e -r- "$1" "$EXFNAME" -o"$TMPDIR" > /dev/null 2> /dev/null + +@@ -120,7 +120,7 @@ + # preserve pwd. + pwd=`pwd` + # Create a directory and create in it a tmp directory with the good name +- dir=tmpdir.${RANDOM} ++ dir=tmpdir.$(od -N2 -An -d /dev/random|tr -d ' '|tr -d ' ') + mkdir $dir || exit 1 + cd $dir + mv "$1" . +@@ -138,8 +138,8 @@ + + mc7zfs_rm () + { +- $SEVENZ l "$1" 2> /dev/null | grep -q "[.][/]" &> /dev/null && EXFNAME=*./"$2" || EXFNAME="$2" +- $SEVENZ d "$1" "$EXFNAME" 2>&1 | grep -q E_NOTIMPL &> /dev/null && { echo -e "Function not implemented...\n7z cannot delete files from solid archive." >&2 ; exit 1 ; } ++ $SEVENZ l "$1" 2> /dev/null | grep -q "[.][/]" > /dev/null 2>&1 && EXFNAME=*./"$2" || EXFNAME="$2" ++ $SEVENZ d "$1" "$EXFNAME" 2>&1 | grep -q E_NOTIMPL > /dev/null 2>&1 && { echo "Function not implemented..."; echo "7z cannot delete files from solid archive." >&2 ; exit 1 ; } + } + + umask 077 +diff -ruN avfs/extfs/uace.in avfs.new/extfs/uace.in +--- avfs/extfs/uace.in 2012-07-11 10:18:51.872842846 +0200 ++++ avfs.new/extfs/uace.in 2012-07-11 11:18:07.424812169 +0200 +@@ -22,7 +22,7 @@ + # ls: + mc_ace_fs_list() + { +- $ACE_LIST "$1" | gawk -v uid=${UID-0} ' ++ $ACE_LIST "$1" | gawk -v uid=$(id -ru) ' + BEGIN { Month="JanFebMarAprMayJunJulAugSepOctNovDec" } + /%/ { + split($1,date,".") +diff -ruN avfs/extfs/uadf avfs.new/extfs/uadf +--- avfs/extfs/uadf 2012-07-11 10:18:51.872842846 +0200 ++++ avfs.new/extfs/uadf 2012-07-11 11:18:39.900811887 +0200 +@@ -18,11 +18,11 @@ + + # Settings: + UNADF="unadf" +-TEMPDIR=/tmp/mctmpdir-mcadf.$USER.${RANDOM} ++TEMPDIR=/tmp/mctmpdir-mcadf.$USER.$(od -N2 -An -d /dev/random|tr -d ' '|tr -d ' ') + + mcadffs_list () + { +- $UNADF -lr "$1" 2>/dev/null | gawk -v uid=${UID-0} ' ++ $UNADF -lr "$1" 2>/dev/null | gawk -v uid=$(id -ru) ' + BEGIN { date="JanFebMarAprMayJunJulAugSepOctNovDec" } + /^$/ { next } + /^unADF/ { next } +diff -ruN avfs/extfs/uarc avfs.new/extfs/uarc +--- avfs/extfs/uarc 2012-07-11 10:18:51.872842846 +0200 ++++ avfs.new/extfs/uarc 2012-07-11 11:16:39.528812937 +0200 +@@ -13,7 +13,7 @@ + + mcarcfs_list () + { +- $UNARC -lv "$1" | gawk -v uid=${UID-0} ' ++ $UNARC -lv "$1" | gawk -v uid=$(id -ru) ' + BEGIN { date="JanFebMarAprMayJunJulAugSepOctNovDec" } + { + split(substr($0, 14), t) +diff -ruN avfs/extfs/uarj.in avfs.new/extfs/uarj.in +--- avfs/extfs/uarj.in 2012-07-11 11:14:33.372814015 +0200 ++++ avfs.new/extfs/uarj.in 2012-07-11 11:15:17.748813634 +0200 +@@ -1,4 +1,4 @@ +-#!/bin/bash ++#! /bin/sh + # + # Written by Viatcheslav Odintsov (2:5020/181) + # (C) 2002 ARJ Software Russia. +@@ -16,7 +16,7 @@ + + mcarjfs_list () + { +- $ARJ v "$1" | @AWK@ -v uuid=${UID-0} ' ++ $ARJ v "$1" | @AWK@ -v uuid=$(id -ru) ' + { + if (($0 ~ /^[0-9]+\) .*/)||($0 ~ /^------------ ---------- ---------- -----/)){ + if (filestr ~ /^[0-9]+\) .*/) { +diff -ruN avfs/extfs/uc1541.in avfs.new/extfs/uc1541.in +--- avfs/extfs/uc1541.in 2012-07-11 10:18:51.872842846 +0200 ++++ avfs.new/extfs/uc1541.in 2012-07-11 11:16:12.024813164 +0200 +@@ -20,7 +20,7 @@ + # There are no time stamps in the disk image, so a bogus timestamp is displayed + mc_c1541_fs_list() + { +- $C1541 "$1" -list | gawk -v uid=${UID-0} ' ++ $C1541 "$1" -list | gawk -v uid=$(id -ru) ' + BEGIN { FS = "\"" } + /No LINES!/ { next } + /BLOCKS FREE/ { next } +diff -ruN avfs/extfs/ucab avfs.new/extfs/ucab +--- avfs/extfs/ucab 2012-07-11 10:18:51.872842846 +0200 ++++ avfs.new/extfs/ucab 2012-07-11 11:16:28.320813019 +0200 +@@ -22,7 +22,7 @@ + + mccabfs_list () + { +- $UNCAB -l "$1" | gawk -v uid=${UID-0} ' ++ $UNCAB -l "$1" | gawk -v uid=$(id -ru) ' + BEGIN { hyphens=0; date="JanFebMarAprMayJunJulAugSepOctNovDec" } + /^----/ { hyphens++; next } + /^$/ { next } +diff -ruN avfs/extfs/ucpio avfs.new/extfs/ucpio +--- avfs/extfs/ucpio 2012-07-11 10:51:10.644826119 +0200 ++++ avfs.new/extfs/ucpio 2012-07-11 11:23:31.884809371 +0200 +@@ -1,4 +1,4 @@ +-#!/bin/bash ++#!/bin/sh + # + # Written by Stas Maximov 1998 SVR4 (UnixWare) + # stmax@u213.srcc.msu.su +diff -ruN avfs/extfs/udar avfs.new/extfs/udar +--- avfs/extfs/udar 2012-07-11 10:18:51.872842846 +0200 ++++ avfs.new/extfs/udar 2012-07-11 11:17:30.940812483 +0200 +@@ -26,7 +26,7 @@ + + mcdarfs_list () + { +-$DAR -l "$BASENAME" -N -Q -as 2>/dev/null | gawk -v uuid=${UID-0} ' ++$DAR -l "$BASENAME" -N -Q -as 2>/dev/null | gawk -v uuid=$(id -ru) ' + BEGIN { flag=0 } + /^-------/ { flag++; if (flag > 1) exit 0; next } + /^$/ { next } +diff -ruN avfs/extfs/uha.in avfs.new/extfs/uha.in +--- avfs/extfs/uha.in 2012-07-11 11:14:33.372814015 +0200 ++++ avfs.new/extfs/uha.in 2012-07-11 11:15:17.748813634 +0200 +@@ -1,4 +1,4 @@ +-#!/bin/bash ++#!/bin/sh + # + # It is the uhafs Valery Kornienkov vlk@st.simbirsk.su 2:5051/30@fidonet + # ver 0.1 Thu Apr 6 12:05:08 2000 +@@ -10,7 +10,7 @@ + + mchafs_list () + { +- $HA lf "$1" 2>/dev/null | @AWK@ -v uid=${UID-0} ' ++ $HA lf "$1" 2>/dev/null | @AWK@ -v uid=$(id -ru) ' + /^===========/ {next} + { + if ($5="%" && $8~/DIR|ASC|HSC|CPY/) { +diff -ruN avfs/extfs/urar.in avfs.new/extfs/urar.in +--- avfs/extfs/urar.in 2012-07-11 11:14:33.372814015 +0200 ++++ avfs.new/extfs/urar.in 2012-07-11 11:15:17.748813634 +0200 +@@ -1,4 +1,4 @@ +-#!/bin/bash ++#! /bin/sh + # + # Written by andrey joukov + # (C) 1996 2:5020/337.13@fidonet.org +@@ -24,7 +24,7 @@ + + mcrarfs_list () + { +- $UNRAR v -c- "$1" | @AWK@ -v uid=${UID-0} ' ++ $UNRAR v -c- "$1" | @AWK@ -v uid=$(id -ru) ' + BEGIN { flag=0; date="JanFebMarAprMayJunJulAugSepOctNovDec" } + /^-------/ { flag++; if (flag > 1) exit 0; next } + { --- avfs-1.0.1.orig/debian/patches/extfs +++ avfs-1.0.1/debian/patches/extfs @@ -0,0 +1,12 @@ +diff -Nu avfs-0.9.8.orig/extfs/extfs.ini.orig avfs-0.9.8.orig/extfs/extfs.ini +--- avfs-0.9.8.orig/extfs/extfs.ini.orig 2009-04-14 12:27:19.000000000 +0200 ++++ avfs-0.9.8.orig/extfs/extfs.ini 2009-04-14 12:27:55.000000000 +0200 +@@ -10,6 +10,8 @@ + uha + # For arj usage you need special patch to unarj + uarj .arj ++ext-uzip ++ext-urar + + # ar is used for static libraries + # uar .a --- avfs-1.0.1.orig/debian/patches/umountavfs +++ avfs-1.0.1/debian/patches/umountavfs @@ -0,0 +1,10 @@ +--- avfs/scripts/umountavfs.orig 2012-07-11 10:19:28.000000000 +0200 ++++ avfs/scripts/umountavfs 2012-07-11 10:32:38.404835715 +0200 +@@ -22,3 +22,7 @@ + umount -l "$MntDir" + fi + } ++ ++# Remove directory again ++rmdir ${MntDir} ++