This is the mail archive of the cygwin-apps mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

ITP: {libarchive/libarchive2/libarchive-devel/bsdtar/bsdcpio}-2.5.5-1


Libarchive is a programming library that can create and read several
different streaming archive formats, including most popular tar
variants and several cpio formats. It can also write shar archives and
read ISO9660 CDROM images. The bsdtar program is an implementation of
tar(1) that is built on top of libarchive.


http://cygwin.cwilson.fastmail.fm/ITP/bsdcpio-2.5.5-1.tar.bz2
http://cygwin.cwilson.fastmail.fm/ITP/bsdtar-2.5.5-1.tar.bz2
http://cygwin.cwilson.fastmail.fm/ITP/libarchive-2.5.5-1-src.tar.bz2
http://cygwin.cwilson.fastmail.fm/ITP/libarchive-2.5.5-1.tar.bz2
http://cygwin.cwilson.fastmail.fm/ITP/libarchive-devel-2.5.5-1.tar.bz2
http://cygwin.cwilson.fastmail.fm/ITP/libarchive2-2.5.5-1.tar.bz2


It is in Debian (although lenny and sid are at 2.4.17 with libarchive1,
rather than 2.5.5 with libarchive2). It's also in Gentoo and Red Hat
(Fedora) as 2.5.5.

This version has been patched to also use liblzmadec to support
.tar.lzma files (decompress only). This support is thanks to:
   Miklos Vajna <...>
whose patch I found floating on the web.

(FYI: because liblzmadec is LGPL, it's not likely that lzma support will
ever be officially integrated into the BSD-licensed libarchive, with
'in-process' decoding. You can always do --use-compress-program=lzma
even with vanilla bsdtar)


* Like GNU tar on cygwin, bsdtar does not properly restore 'extra' ACLs.
  -- this could be fixed later by converting the libarchive use of
     POSIX acl functions (not supported by cygwin) to Solaris-style
     acl functions (supported by cygwin).
* Does not support extended attributes (cygwin-1.5). It is expected
  that recompilation under cygwin-1.7 will enable this support.
* bsdtar automatically behaves as if it were invoked by root on unix
  (that is, restoring ownership, permissions, [ACLs, EAs]) without
  explicit options telling it to do so) only if executed by SYSTEM
  or Local Administrator.  Other 'privileged' users -- domain
  Administrators, etc -- must explicitly specify
    --same-owner -p
  to achieve this result.
* bsdtar man page and -h output is not complete. Many GNU tar options
  (but not all) are supported.
* Because uncompress format is automatically detected, AND becase
  lzma /compression/ is not supported, there is no '--lzma' option.
    bsdtar -xf foo.tar.lzma
  just works (tm).

(And again, I should learn to check cygwin-ports before (re)doing all
this work...)

--
Chuck

================ libarchive.hint =======================
sdesc: "A programming library for streaming archive formats (doc)"
ldesc: "Libarchive is a programming library that can create and read several
different streaming archive formats, including most popular tar
variants and several cpio formats. It can also write shar archives and
read ISO9660 CDROM images. It handles the most common compression
format (compress, gzip, bzip2, and lzma) in-process, without executing
external decompression programs. The bsdtar program is an implementation
of tar(1) that is built on top of libarchive."
category: Utils
requires: cygwin libarchive2


================ libarchive2.hint =======================
sdesc: "A programming library for streaming archive formats (runtime)"
ldesc: "Shared library (runtime component) of libarchive."
category: Libs
external-source: libarchive
requires: cygwin liblzmadec0 libbz2_1 zlib


================ libarchive-devel.hint =======================
sdesc: "A programming library for streaming archive formats (devel)"
ldesc: "Header files, static libraries, import libraries, and
API documentation for libarchive."
category: Libs
external-source: libarchive
requires: cygwin libarchive2


================ bsdtar.hint =======================
sdesc: "A re-implementation of tar using libarchive"
ldesc: "bsdtar is an implementation of tar(1) that is built
on top of libarchive."
category: Utils
external-source: libarchive
requires: cygwin libarchive2


================ bsdcpio.hint =======================
sdesc: "A re-implementation of cpio using libarchive"
ldesc: "bsdcpio is an implementation of cpio(1) that is built
on top of libarchive."
category: Utils
external-source: libarchive
requires: cygwin libarchive2





Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]