Projects
New Ticket     Wiki     Browse Source     Timeline     Roadmap     Bug Reports     Search

Changeset 22584

Show
Ignore:
Timestamp:
2007-03-05 08:21:38 (21 months ago)
Author:
jmpp@…
Message:

Archivemode now recognizes both tbz2 & tbz binary archives, the former being a much more common naming variation
than the latter, which is kept for backwards compatibility.

Location:
branches/release_1_4
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • branches/release_1_4/doc/ports.conf.5

    r22467 r22584  
    117117with the first found match being used. 
    118118.br 
    119 Supported types are: tgz, tar, tbz, xar, zip, cpgz, cpio 
     119Supported types are: tgz, tar, tbz, tbz2, xar, zip, cpgz, cpio 
    120120.br 
    121121.Ic Default: 
  • branches/release_1_4/doc/ports.conf.in

    r22467 r22584  
    3535# first archive to match one of the specified types in order is used. 
    3636# 
    37 # Supported types: tgz (default), tar, tbz, xar, zip, cpgz, cpio 
     37# Supported types: tgz (default), tar, tbz, tbz2, xar, zip, cpgz, cpio 
    3838portarchivetype         tgz 
    3939 
  • branches/release_1_4/src/package1.0/portarchive.tcl

    r19376 r22584  
    176176                                set archive.cmd "$tar" 
    177177                                set archive.pre_args {-cvf} 
    178                                 if {[regexp {z$} ${archive.type}]} { 
    179                                         if {[regexp {bz$} ${archive.type}]} { 
     178                                if {[regexp {z2?$} ${archive.type}]} { 
     179                                        if {[regexp {bz2?$} ${archive.type}]} { 
    180180                                                set gzip "bzip2" 
    181181                                        } else {