Your message dated Mon, 27 Feb 2012 20:08:04 +1100
with message-id <[email protected]>
and subject line Done: [VFS] UPDATED: Some errors solved. Now it is realy 
running fast
has caused the Debian Bug report #500693,
regarding [VFS] UPDATED: Some errors solved. Now it is realy running fast
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
500693: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=500693
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: mc
Severity: normal

Hello Winnie,

I asume it is to late  for  Lenny,  but  however,  I  have  solved  some
problems since I was puzzeling arround WHY it rewrite all the  time  the
archive...


1st Error:
==========
"find" return always ExitStatus 0  and  now,  since  Etch,  "non-option"
arguments must be last (error message from "find" to  maxdepth/mindepth)
which mean, I had to change the line

  find ${TDMC_CACHE} -name ${MD5}_${PPID} -mmin +${TIMEOUT} -maxdepth 1 
-mindepth 1>/dev/null 1>&2
to
  if [ -n "$(find ${TDMC_CACHE} -maxdepth 1 -mindepth 1 -mmin +120 -name 
${MD5}_${PPID} 2>/dev/null)" ] ; then


2nd Error:
==========
Forgotten to remove ",copyout" since it was copy-n-past...

  if [ -n "$(echo ",copyout,copyin,rm,mkdir,rmdir," |grep ",$1,")" ] ; then
to
  if [ -n "$(echo ",copyin,rm,mkdir,rmdir," |grep ",$1,")" ] ; then


3rd Error:
==========
The timeout for checking the TAR archive was too small  with  30min  and
I have increased it to 120min as standard, but  it  can  be  changed  by
seting it to a MINUTES value of choice in ~/.mc/tdmc_tar.timeout

  if [ -f "${HOME}/mc/${EXENAME}" ] ; then
    TIMEOUT=$(cat ${HOME}/mc/${EXENAME})
  else
    TIMEOUT=120
  fi

and

  TIMEOUT=$((TIMEOUT+1))
  find ${TDMC_CACHE} -type f -mmin +${TIMEOUT} -exec rm --force {} ';'


Thanks, Greetings and nice Day/Evening
    Michelle Konzack
    Systemadministrator
    24V Electronic Engineer
    Tamay Dogan Network
    Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack   Apt. 917                  ICQ #328449886
+49/177/9351947    50, rue de Soultz         MSN LinuxMichi
+33/6/61925193     67100 Strasbourg/France   IRC #Debian (irc.icq.com)
#!/bin/bash
#                                                                    #
# Copyright 2008, Michelle Konzack All rights reserved.              #
#                                                                    #
# Redistribution and use in source and binary forms, with or without #
# modification, are permitted provided that the following conditions #
# are met:                                                           #
#                                                                    #
# 1. Redistributions of source code  must retain the above copyright #
#    notice, this list of conditions and the following disclaimer.   #
#                                                                    #
# 2. Redistributions  in  binary  form   must  reproduce  the  above #
#    copyright  notice, this  list of  conditions and  the following #
#    disclaimer in the documentation and/or other materials provided #
#    with the distribution.                                          #
#                                                                    #
# 3. Neither  the name  of Michelle Konzack  nor the  names of  its  #
#    contributors may be used to endorse or promote products derived #
#    from this software without specific prior written permission.   #
#                                                                    #
# THIS  SOFTWARE IS  PROVIDED BY  MICHELLE KONZACK  AND CONTRIBUTORS #
# ``AS IS'  AND ANY  EXPRESS OR  IMPLIED WARRANTIES,  INCLUDING, BUT #
# NOT  LIMITED TO,  THE  IMPLIED WARRANTIES  OF MERCHANTABILITY  AND #
# FITNESS  FOR A  PARTICULAR  PURPOSE ARE  DISCLAIMED.  IN NO  EVENT #
# SHALL MICHELLE KONZACK OR  CONTRIBUTORS  BE LIABLE FOR ANY DIRECT, #
# INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES #
# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR #
# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) #
# HOWEVER  CAUSED  AND  ON  ANY  THEORY  OF  LIABILITY,  WHETHER  IN #
# CONTRACT,  STRICT  LIABILITY,  OR TORT  (INCLUDING  NEGLIGENCE  OR #
# OTHERWISE) ARISING  IN ANY WAY  OUT OF  THE USE OF  THIS SOFTWARE, #
# EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.                 #
#                                                                    #

EXENAME=tdmc_tar
PKGNAME=tdmc

if [ -n "$(which gettext.sh)" ] ; then
  . gettext.sh
else
  gettext()
  {
    echo "$1"
  }
  eval_gettext()
  {
    eval 'echo $1'
  }
fi
export TEXTDOMAIN=${PKGNAME}
export TEXTDOMAINDIR=/usr/share/locale

VERSION=0.0.4

AUTHORNAME="Michelle Konzack"
AUTHORMAIL="[email protected]"
LICENSE=$(gettext 'This tool is under GNU GPL version 3.0')
LICENSE_LONG=/usr/share/common-licenses/GPL-3

########################################################################

if [ "${MCVFS_DEBUG}" = "true" ] ; then
  gettext 'Input parameters:' 1>&2
  echo -e "0: $0\n1: $1\n2: $2\n3: $3\n4: $4\n\n" 1>&2
fi

########################################################################

TDMC_CACHE=/tmp/tdmc_cache-${LOGNAME}
if [ ! -d ${TDMC_CACHE} ] ; then
  mkdir -p ${TDMC_CACHE}
  chmod -R 700 ${TDMC_CACHE}
fi

if [ -f "${HOME}/mc/${EXENAME}" ] ; then
  TIMEOUT=$(cat ${HOME}/mc/${EXENAME})
else
  TIMEOUT=120
fi

########################################################################

if [ -n "$(echo ",list,copyout,copyin,rm,mkdir,rmdir," |grep ",$1,")" ] ; then
  MD5=`echo "$2" |md5sum |sed 's|\ .*||'`
  ARCHIVENAME=${TDMC_CACHE}/${MD5}_${PPID}
  if [ -n "$(find ${TDMC_CACHE} -maxdepth 1 -mindepth 1 -mmin +${TIMEOUT} -name 
${MD5}_${PPID} 2>/dev/null)" ] ; then
    rm --force ${ARCHIVENAME}
  fi
  if [ ! -f ${ARCHIVENAME} ] ; then
    if   [ -n "$(echo "$2" |grep '.tar.bz2$' )" ] ; then
      bzcat "$2" >${ARCHIVENAME}
    elif [ -n "$(echo "$2" |grep '.tar.gz$' )" ] ; then
      zcat "$2" >${ARCHIVENAME}
    else
      cat "$2" >${ARCHIVENAME}
    fi
  fi
fi

########################################################################

if   [ "$1" = "list" ] ; then
  TMPFILE=`mktemp -t tdmc.XXXXXX || exit 1`
  (tar --list --numeric-owner --verbose --file ${ARCHIVENAME} |tr -s ' ') |
  while read LINE
  do
    VAL_mode=`echo "${LINE}" |cut -d ' ' -f1`
    VAL_ugid=`echo "${LINE}" |cut -d ' ' -f2`
    VAL_uid=`echo ${VAL_ugid} |cut -d '/' -f1`
    VAL_gid=`echo ${VAL_ugid} |cut -d '/' -f2`
    VAL_size=`echo "${LINE}" |cut -d ' ' -f3`
    VAL_date=`echo "${LINE}" |cut -d ' ' -f4`
    VAL_time=`echo "${LINE}" |cut -d ' ' -f5`
    VAL_dati=`date --date="${VAL_date} ${VAL_time}" +"%b %d %Y %H:%M"`
    VAL_path=`echo "${LINE}" |cut -d ' ' -f6- |sed 's|/$||g'`
    VAL_links=1
    echo "${VAL_path} 0 ${VAL_mode} ${VAL_links} ${VAL_uid} ${VAL_gid} 
${VAL_size} ${VAL_dati}" >>${TMPFILE}
  done
  fnc_foo1()
  {
    (cat ${TMPFILE}) |
    while read LINE
    do
      if [ -n "`echo "${LINE}" |cut -d ' ' -f3- |grep '^d'`" ] ; then
        echo "${LINE}"
      fi
    done     
  }
  DIRS=`fnc_foo1`
  fnc_foo2()
  {
    (cat ${TMPFILE}) |
    while read LINE
    do
      if [ -z "`echo "${LINE}" |cut -d ' ' -f3 |grep --regexp='^d'`" ] ; then
        echo "${LINE}"
      fi
    done
    (echo "${DIRS}") |
    while read LINE
    do
      DIR1="`echo "${LINE}" |cut -d ' ' -f1 |sed 's|$|/|'`"
      if [ -z "`grep --regexp="${DIR1}" ${TMPFILE}`" ] ; then
        echo "${LINE}"
      fi
    done
  }
  fnc_foo2 |
    sort |
    sed 's|\(.*\) 0 \(.*\) \(.*\) \(.*\) \(.*\) \(.*\) \(.*\) \(.*\) \(.*\)$|\2 
\3 \4 \5 \6 \7 \8 \9 \1|g'
  rm --force ${TMPFILE}

#=======================================================================
elif [ "$1" = "copyout" ] ; then
  TMPFILE=`mktemp -t tdmc.XXXXXX || exit 1`
  echo "$3" >${TMPFILE}
  tar --extract --numeric-owner --to-stdout --files-from ${TMPFILE} --file 
${ARCHIVENAME} >"$4"
  rm --force ${TMPFILE}

#=======================================================================
elif [ "$1" = "copyin" ] ; then
  TMP_DIR=`mktemp -t -d tdmc.XXXXXX || exit 1`
  DIRNAME=${TMP_DIR}/`dirname "$3"`
  DIRNAME=`echo "${DIRNAME}" |sed 's|/\.$||'`
  FILENAME=`basename "$3"`
  mkdir -p ${DIRNAME}
  ln -s ${PWD}/${FILENAME} ${DIRNAME}/${FILENAME}
  FN=`dirname "$3"`/${FILENAME}
  FN=`echo "${FN}" |sed 's|\./||'`
  tar --update --numeric-owner --dereference --directory ${TMP_DIR} --file 
${ARCHIVENAME} ${FN}
  rm --force ${DIRNAME}/*
  BN=`basename ${TMP_DIR}`
  cd ${TMP_DIR} && cd .. && rmdir --parents `echo "${DIRNAME}" |sed 
"s|.*${BN}|${BN}|" |sed 's|\.$||'`

#=======================================================================
elif [ "$1" = "rm" ] ; then
  tar --delete --file "${ARCHIVENAME}" "$3" 2>/dev/null
  if [ $? -ne 0 ] ; then
    tar --delete --file "${ARCHIVENAME}" "./$3" 2>/dev/null
  fi

#=======================================================================
elif [ "$1" = "mkdir" ] ; then
  TMP_DIR=`mktemp -t -d tdmc.XXXXXX || exit 1`
  mkdir -p ${TMP_DIR}/"$3"
  tar --update --numeric-owner --directory ${TMP_DIR} --file "${ARCHIVENAME}" 
"$3"
  cd ${TMP_DIR} && rmdir --parents "$3"

#=======================================================================
elif [ "$1" = "rmdir" ] ; then
  tar --delete --file "${ARCHIVENAME}" "$3" 2>/dev/null
  if [ $? -ne 0 ] ; then
    tar --delete --file "${ARCHIVENAME}" "./$3" 2>/dev/null
  fi

#=======================================================================
elif [ "$1" = "run" ] ; then
  gettext 'VFS#tar: what is "run"?\n\n' 1>&2
  echo -e "0: $0\n1: $1\n2: $2\n3: $3\n4: $4\n\n" 1>&2

#=======================================================================
else
  T0=$(gettext 'Usage:  ${libdir}/extfs/prefix command [arguments]')
  T1=$(gettext '    list    archivename')
  T2=$(gettext '    copyout archivename storedfilename extractto')
  T3=$(gettext '    copyin  archivename storedfilename sourcefile')
  T4=$(gettext '    rm      archivename storedfilename')
  T5=$(gettext '    mkdir   archivename dirname')
  T6=$(gettext '    rmdir   archivename dirname')
  T6=$(gettext '    run     ???')
  echo -e "${T0}\n\n${T1}\n${T2}\n${T3}\n${T4}\n${T5}\n${T6}"
  exit 1
fi

########################################################################

if [ -n "$(echo ",copyin,rm,mkdir,rmdir," |grep ",$1,")" ] ; then
  if   [ -n "$(echo "$2" |grep '.tar.bz2$')" ] ; then
    bzip2 <${ARCHIVENAME} >"$2"
  elif [ -n "$(echo "$2" |grep '.tar.gz$')" ] ; then
    gzip <${ARCHIVENAME} >"$2"
  else
    cat ${ARCHIVENAME} >"$2"
  fi
fi

TIMEOUT=$((TIMEOUT+1))
find ${TDMC_CACHE} -type f -mmin +${TIMEOUT} -exec rm --force {} ';'

Attachment: signature.pgp
Description: Digital signature


--- End Message ---
--- Begin Message ---
Package: mc
Source-Version: 3:4.8.1-1

We believe that the bug you reported is likely to be fixed in the latest 
version of mc, which is due to be installed in the Debian FTP archive:

mc-data_4.8.1-1_all.deb
  to main/m/mc/mc-data_4.8.1-1_all.deb
mc-dbg_4.8.1-1_amd64.deb
  to main/m/mc/mc-dbg_4.8.1-1_amd64.deb
mc_4.8.1-1.debian.tar.gz
  to main/m/mc/mc_4.8.1-1.debian.tar.gz
mc_4.8.1-1.dsc
  to main/m/mc/mc_4.8.1-1.dsc
mc_4.8.1-1_amd64.deb
  to main/m/mc/mc_4.8.1-1_amd64.deb
mc_4.8.1.orig.tar.xz
  to main/m/mc/mc_4.8.1.orig.tar.xz



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.



Date: Fri, 24 Feb 2012 13:04:57 +1100
Source: mc
Binary: mc mc-data mc-dbg
Architecture: source amd64 all
Version: 3:4.8.1-1
Distribution: unstable
Urgency: low
Maintainer: Debian MC Packaging Group <[email protected]>
Changed-By: Dmitry Smirnov <[email protected]>
Description:
 mc         - Midnight Commander - a powerful file manager
 mc-data    - Midnight Commander - a powerful file manager -- data files
 mc-dbg     - Midnight Commander - a powerful file manager - debug package
Closes: 61987 525146 528331 567119 574761 584687 587372 592396 602857 606331 
609489 618542 619092 626287 641926
Changes:
 mc (3:4.8.1-1) unstable; urgency=low
 .
   * New upstream release [December 2011]
     (Closes: #618542 N:"please follow upstream progress")
     (Closes: #528331 N:"[VFS] utar is unable to open .tar files")
     (Closes: #626287 N:"SHIFT+F6 should open rename dialog")
     (Closes: #609489 I:"If <F4> is pressed ~/.mc/cedit/Syntax is missing")
     (Closes: #606331 I:"regression: panel configuration on startup;
      view search configuration")
     (Closes: #567119 I:"mcedit ignores editnormal in MC_COLOR_TABLE")
     (Closes: #587372 N:"fish does not preserve modification time when
      copying files to remote host")
     (Closes: #592396 N:"file rename (F6) with non-usual characters failed")
     (Closes: #525146 N:"mc hangs when copying multiple files from ftp")
     (Closes: #574761 N:" [VFS] internal tar considers files containig
      '@' as directories.")
     (Closes: #584687 N:"mc/fish segfaults when remote copy/move appends
      to existing file")
     (Closes: #619092 W:"Wishlist: mc to open ISO files")
     (Closes: #602857 M:"use 7zr for generic .7z archives if available")
     (Closes: #61987 W:"total ETA wanted")
   * debian/watch
     • fixed and updated to fetch latest .tar.xz
   * dropped CDBS, now using debhelper only
   * debhelper & compat to version 9
   * dh-autoreconf to update toolchain
   * intltoolize to refresh Makefile.in.in
   * debian/control
     • standards to 3.9.3 (thanks to Andreas Tille)
     • added to build-deps:
       + 'type-handling' as alternative to 'libgpm-dev'
       + 'libpam0g-dev' optional, used by build system
       + 'check' to enable post-build unit tests
       + 'autopoint' (used by autoreconf)
     • 'bison' added to Build-Depends-Indep
        if available, it is used by upstream build system
        to regenerate some files
     • added myself to Uploaders
   * debian/copyright:
     • updated and converted to DEP-5
     • added copyrights of debian contributors
     • audit of upstream licenses/copyrights - all information is included
   * configure options
     + --disable-static
     + --enable-tests
     - --without-samba (obsolete)
   * patchworks:
     • relocated to debian/patches from subdir
     • new patches:
       + new man_spelling.patch (lintianisation)
       + new ext_libreoffice.patch to replace 'ooffice' command
         with 'libreoffice' - thanks to Osamu Aoki
         (Closes: #641926 N:"mc.ext updates (xz, libreoffice)")
       + new ext_cpio-xz.patch to improve .xz support,
         (thanks to Osamu Aoki)
     • updated:
       * 04_add_gem_extension.patch
       * 05_disable_internal_editor.patch
       * 08_use_sensible-editor.patch
       * 99_detect_alt_editor.patch
     • disabled, to drop later:
       * 09_uzip_broken_528239.patch
     • dropped (obsolete)
       - 03_use_awk.patch
       - pending/99_enable_reading_debs.patch (applied upstream)
       - debian/patches/README
   * updated lintian overrides
     + added lintian-overrides for executable-not-elf-or-script
       for files in /usr/lib/mc/fish
   * install correct ChangeLog
   * install scripts to /usr/lib/mc
     (previously was installed to /usr/share/mc)
   * added symlink to missing mcdiff.1 man page
   * added symlink to relocated mc-wrapper.sh for backward compatibility
   * dropped man page for mcmfmt (binary is no longer shipped by upstream)
   * handle configuration files upgrades/removes with
     dpkg-maintscript-helper in preinst/postinst/postrm
   * architecture-independent files are separated to 'mc-data' package
     + added upgrade path with Breaks/Replaces
     + added symbolic links to link files from /usr/share/doc/mc-data/
       to /usr/share/doc/mc/
   * removed 'exit 0' from preinst/postinst/prerm/postrm files
   * VCS links updated to point at new collab-maint repository


--- End Message ---

Reply via email to