From: Charles W. <cwi...@us...> - 2009-11-11 02:47:13
|
I've uploaded an alpha version of bsdtar to the mingw.org sourceforge site. It was compiled from libarchive SVN trunk (e.g. it is pre-2.8.0). You should be able to use this tool to unpack most (all?) of the packages at http://sourceforge.net/projects/mingw/files/ BUT before you do that, remember the MinGW rule: if the package file has "-mingw32-" in the name, you need to unpack into the C:\MinGW directory: > cd C:\MinGW > bsdtar xf [[the-package-file]] If the package file has "-msys-" in the name, you need to unpack into the C:\msys\1.0 directory: > cd C:\msys\1.0 > bsdtar xf [[the-package-file]] See this wiki page: http://www.mingw.org/PackageIdentificationHOWTO bsdtar understands the following archive formats: (old) tar GNU tar POSIX ustar POSIX pax cpio zip jar ar ISO 9660 cdrom images It also groks the following compression formats: lzma xz bzip2 (.bz2) gzip (.gz) compress (.Z) However, see the disclaimer below. The package can be obtained from http://sourceforge.net/projects/mingw/files/ under the folder MinGW Utilities/basic bsdtar/ Direct link: http://downloads.sourceforge.net/mingw/bsdtar-2.7.900a_r1628-20091110-mingw32-alpha-bin.zip http://downloads.sourceforge.net/mingw/bsdtar-2.7.900a_r1628-20091110-mingw32-alpha-src.tar.lzma Contents: bsdtar.exe bsdtar.txt (man page, plain text format) README-bsdtar.txt README-bsdtar.txt file: ********************************************************* bsdtar-2.7.900a_r1628-20091110-mingw32-alpha-bin.zip bsdtar-2.7.900a_r1628-20091110-mingw32-alpha-src.tar.lzma ======================================================================== This build of bsdtar from libarchive is an alpha release, taken from the libarchive SVN development tree. This build is: native win32 linked statically against libz (zlib), libbz2 (bzip2), and liblzma (xz). Thus, it supports intrinsically .tar.lzma, .tar.xz, .tar.bz2, and .tar.gz. It also supports .iso and various other formats, but that's not important here. You should be able to unpack this archive, and use the included bsdtar.exe without any other prerequisites. HOWEVER, it is an ALPHA release. There are KNOWN ISSUES -- it fails some of its own testsuite tests. These failures should not cause any issues when used for the intended purpose: unpacking MinGW/MSYS archives distributed from mingw.org and/or http://sourceforge.net/projects/mingw/files/ If you attempt to use it for any other purpose, and it fails, kills your cat, destroys your data, or causes marital problems, you are on your own. In fact, that's true even if you DO use it for its intended purpose, so let's go ahead an make that clear: LICENSE ======================================================================== 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 in this position and unchanged. 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. THIS SOFTWARE IS PROVIDED BY THE AUTHOR(S) ``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 THE AUTHOR(S) 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. |