ports/86463: misc/mc-light has problems with .tbz archives

Roman Y. Bogdanov sam at brj.pp.ru
Thu Sep 22 13:40:05 UTC 2005


>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 at 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:



More information about the freebsd-ports-bugs mailing list