Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Sep 2005 21:33:28 +0800 (KRAST)
From:      "Roman Y. Bogdanov" <sam@brj.pp.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        "Roman Y. Bogdanov" <sam@brj.pp.ru>
Subject:   ports/86463: misc/mc-light has problems with .tbz archives
Message-ID:  <20050922133328.6378E22899@mail.brj.pp.ru>
Resent-Message-ID: <200509221340.j8MDe3B4003299@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         86463
>Category:       ports
>Synopsis:       misc/mc-light has problems with .tbz archives
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 22 13:40:03 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Roman Y. Bogdanov
>Release:        FreeBSD 5.4-RELEASE-p7 i386
>Organization:
n/a
>Environment:
System: FreeBSD brj.pp.ru 5.4-RELEASE-p7 FreeBSD 5.4-RELEASE-p7 #0: Mon Sep 19 01:15:56 KRAST 2005 root@brj.pp.ru:/usr/src/sys/i386/compile/d875pbz i386

>Description:

Apparently the extension file (mc.ext) of mc-light 4.1.40.p9 contains a bug                                           
with respect to the .tbz filename extension. The suggested patch is adapted                                           
from mc's extension file which seems to be correct.                                                                   
                                                                                                                      
The problem is not specific for the FreeBSD port and someone should notify                                            
the mc-light developers.

Patch Originator: Frank W. Josellis

>How-To-Repeat:
	In mc-light, hit <ENTER> on a .tbz archive.

>Fix:
	<tch-lib_mc.ext.in begins here ---
--- lib/mc.ext.in.orig  Fri Aug 27 14:17:35 2004
+++ lib/mc.ext.in       Thu Sep 22 11:38:47 2005
@@ -416,15 +416,11 @@
        Open=%cd %d/%p#tar
        View=%view{ascii} gzip -dc %f 2>/dev/null | tar tvvf -
        Extract=gzip -dc %f 2>/dev/null | tar xf -
-regex/\.([Tt][Bb][zZ]2)$
-       Open=%cd %d/%p#tar
-       View=%view{ascii} gzip -dc %f 2>/dev/null | tar tvvf -
-       Extract=gzip -dc %f 2>/dev/null | tar xf -
 regex/\.tar\.bz$
        Open=%cd %d/%p#tar
        View=%view{ascii} bzip -dc %f 2>/dev/null | tar tvvf -
        Extract=bzip -dc %f 2>/dev/null | tar xf -
-regex/\.tar\.bz2$
+regex/\.t(ar\.bz2|bz|b2)$
        Open=%cd %d/%p#tar
        View=%view{ascii} bzip2 -dc %f 2>/dev/null | tar tvvf -
        Extract=bzip2 -dc %f 2>/dev/null | tar xf -
--- patch-lib_mc.ext.in ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050922133328.6378E22899>