Package: libarchive Version: 2.4.0 Revision: 1 Description: Archiver library for tar, pax and others BuildDepends: bzip2-dev Depends: %N-shlibs (=%v-%r), bzip2-shlibs BuildDependsOnly: true Source: http://people.freebsd.org/~kientzle/libarchive/src/libarchive-%v.tar.gz Source-MD5: 9b06995c6c9d000892b7320a4a4fedcb PatchScript: << patch -p1 < %a/%n.patch /usr/bin/sed -i.bak 's/^\.Fx/FreeBSD/' libarchive/*.[1-9] << ConfigureParams: --enable-bsdtar=shared --disable-bsdcpio ACLOCAL=: AUTOCONF=: AUTOMAKE=: AUTOHEADER=: InstallScript: DESTDIR=%d make install DocFiles: COPYING README NEWS SplitOff: << Package: %N-shlibs Depends: bzip2-shlibs Files: lib/libarchive.*.dylib Shlibs: %p/lib/libarchive.2.dylib 7.0.0 %n (>= 2.4.0-1) 32 DocFiles: COPYING README NEWS << SplitOff2: << Package: bsdtar Description: FreeBSD's powerful tar Depends: %N-shlibs (>= %v-%r) Files: bin share/man/man1 DocFiles: COPYING README NEWS DescDetail: << The bsdtar program is FreeBSD's modern implementation of tar based on libarchive. It started as a test harness, but has grown into a feature-competitive replacement for GNU tar. Following formats are supported ('r' for reading and 'w' for writing). On read, compression and format are always detected automatically. [rw] gzip compression [rw] bzip2 compression [r ] compress/LZW compression [r ] GNU tar format (including GNU long filenames, long link names, and sparse files) [r ] Solaris 9 extended tar format (including ACLs) [r ] Old V7 tar archives [rw] POSIX 1003.1-1988 ustar [rw] POSIX 1003.1-2001 pax interchange format (indeed extended ustar) [ w] "restricted" pax format, which will create ustar archives except for entries that require pax extensions (for long filenames, ACLs, etc). [rw] POSIX octet-oriented cpio ("odc") [rw] SVR4 ASCII cpio ("newc") [r ] Binary cpio (big-endian or little-endian) [r ] ISO9660 CD-ROM images (with optional Rockridge extensions) [r ] ZIP archives (with uncompressed or "deflate" compressed entries) [ w] shar archives [rw] GNU and BSD 'ar' archives [r ] 'mtree' format << DescUsage: << You can usually use bsdtar in the same way to GNU tar but there are some differences. Read bsdtar(1) manpage for details. << << DescDetail: << Libarchive is a stream-oriented library for variety of archives. It focuses on tar format and its variants primarily, but can also read and/or write other families of archive formats. Following formats are supported ('r' for reading and 'w' for writing). On read, compression and format are always detected automatically. [rw] gzip compression [rw] bzip2 compression [r ] compress/LZW compression [r ] GNU tar format (including GNU long filenames, long link names, and sparse files) [r ] Solaris 9 extended tar format (including ACLs) [r ] Old V7 tar archives [rw] POSIX 1003.1-1988 ustar [rw] POSIX 1003.1-2001 pax interchange format (indeed extended ustar) [ w] "restricted" pax format, which will create ustar archives except for entries that require pax extensions (for long filenames, ACLs, etc). [rw] POSIX octet-oriented cpio ("odc") [rw] SVR4 ASCII cpio ("newc") [r ] Binary cpio (big-endian or little-endian) [r ] ISO9660 CD-ROM images (with optional Rockridge extensions) [r ] ZIP archives (with uncompressed or "deflate" compressed entries) [ w] shar archives [rw] GNU and BSD 'ar' archives [r ] 'mtree' format << DescUsage: << Guide to Documentation installed by this system: * libarchive.3 gives an overview of the library as a whole * archive_read.3, archive_write.3, and archive_write_disk.3 provide detailed calling sequences for the read and write APIs * archive_entry.3 details the "struct archive_entry" utility class * libarchive-formats.5 documents the file formats supported by the library * tar.5 provides some detailed information about a variety of different "tar" formats. << DescPort: << Since Darwin/MacOS X does not support any tape device, the default device is changed to stdio. The manpage warns users not to rely on this behaviour or they knock the real tape device on other platforms. << DescPackaging: << Since bsdcpio is still alpha and has its own version, I don't included it. I will include it in the bsdtar package after the bsdcpio get so matured that it has the same version number to the libarchive. << License: BSD Maintainer: AIDA Shinra Homepage: http://people.freebsd.org/~kientzle/libarchive/