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

Frank W. Josellis frank at dynamical-systems.org
Thu Sep 22 11:00:41 UTC 2005


>Number:         86455
>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 11:00:24 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Frank W. Josellis
>Release:        FreeBSD 4.11-STABLE i386
>Organization:
>Environment:
System: FreeBSD achilles.senax.net 4.11-STABLE FreeBSD 4.11-STABLE #7: Sun Sep 11 17:21:51 CEST 2005 root at achilles.senax.net:/usr/obj/usr/src/sys/ACHILLES 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.
 
>How-To-Repeat:
In mc-light, hit <ENTER> on a .tbz archive.

>Fix:
--- patch-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