From owner-cvs-src@FreeBSD.ORG Mon Feb 9 15:22:55 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 568CC16A4CE; Mon, 9 Feb 2004 15:22:55 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 396FA43D1F; Mon, 9 Feb 2004 15:22:55 -0800 (PST) (envelope-from kientzle@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id i19NMt0B066233; Mon, 9 Feb 2004 15:22:55 -0800 (PST) (envelope-from kientzle@repoman.freebsd.org) Received: (from kientzle@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id i19NMtkW066232; Mon, 9 Feb 2004 15:22:55 -0800 (PST) (envelope-from kientzle) Message-Id: <200402092322.i19NMtkW066232@repoman.freebsd.org> From: Tim Kientzle Date: Mon, 9 Feb 2004 15:22:54 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/lib/libarchive Makefile README archive.h archive_check_magic.c archive_entry.3 archive_entry.c archive_entry.h archive_private.h archive_read.3 archive_read.c archive_read_extract.c ... X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Feb 2004 23:22:55 -0000 kientzle 2004/02/09 15:22:54 PST FreeBSD src repository Added files: lib/libarchive Makefile README archive.h archive_check_magic.c archive_entry.3 archive_entry.c archive_entry.h archive_private.h archive_read.3 archive_read.c archive_read_data_into_buffer.c archive_read_data_into_fd.c archive_read_extract.c archive_read_open_file.c archive_read_support_compression_all.c archive_read_support_compression_bzip2.c archive_read_support_compression_gzip.c archive_read_support_compression_none.c archive_read_support_format_all.c archive_read_support_format_cpio.c archive_read_support_format_gnutar.c archive_read_support_format_tar.c archive_string.c archive_string.h archive_string_sprintf.c archive_util.3 archive_util.c archive_write.3 archive_write.c archive_write_open_file.c archive_write_set_compression_bzip2.c archive_write_set_compression_gzip.c archive_write_set_compression_none.c archive_write_set_format.c archive_write_set_format_by_name.c archive_write_set_format_cpio.c archive_write_set_format_pax.c archive_write_set_format_shar.c archive_write_set_format_ustar.c libarchive.3 tar.5 Log: Initial import of libarchive. What it is: A library for reading and writing various streaming archive formats, especially tar and cpio. Being a library, it should be easy to incorporate into pkg_* tools, sysinstall, and any other place that needs to read or write such archives. Features: * Full automatic detection of both compression and archive format. * Extensible internal architecture to make it easy to add new formats. * Support for "pax interchange format," a new POSIX-standard tar format that eliminates essentially all of the restrictions of historic formats. * BSD license Thanks to: jkh for pushing me to start this work, gordon for encouraging me to commit it, bde for answering endless style questions, and many others for feedback and encouragement. Status: Pretty good overall, though there are still a few rough edges and the library could always use more testing. Feedback eagerly solicited. Revision Changes Path 1.1 +119 -0 src/lib/libarchive/Makefile (new) 1.1 +90 -0 src/lib/libarchive/README (new) 1.1 +266 -0 src/lib/libarchive/archive.h (new) 1.1 +102 -0 src/lib/libarchive/archive_check_magic.c (new) 1.1 +218 -0 src/lib/libarchive/archive_entry.3 (new) 1.1 +407 -0 src/lib/libarchive/archive_entry.c (new) 1.1 +111 -0 src/lib/libarchive/archive_entry.h (new) 1.1 +267 -0 src/lib/libarchive/archive_private.h (new) 1.1 +346 -0 src/lib/libarchive/archive_read.3 (new) 1.1 +505 -0 src/lib/libarchive/archive_read.c (new) 1.1 +52 -0 src/lib/libarchive/archive_read_data_into_buffer.c (new) 1.1 +64 -0 src/lib/libarchive/archive_read_data_into_fd.c (new) 1.1 +754 -0 src/lib/libarchive/archive_read_extract.c (new) 1.1 +109 -0 src/lib/libarchive/archive_read_open_file.c (new) 1.1 +42 -0 src/lib/libarchive/archive_read_support_compression_all.c (new) 1.1 +365 -0 src/lib/libarchive/archive_read_support_compression_bzip2.c (new) 1.1 +499 -0 src/lib/libarchive/archive_read_support_compression_gzip.c (new) 1.1 +259 -0 src/lib/libarchive/archive_read_support_compression_none.c (new) 1.1 +43 -0 src/lib/libarchive/archive_read_support_format_all.c (new) 1.1 +187 -0 src/lib/libarchive/archive_read_support_format_cpio.c (new) 1.1 +516 -0 src/lib/libarchive/archive_read_support_format_gnutar.c (new) 1.1 +934 -0 src/lib/libarchive/archive_read_support_format_tar.c (new) 1.1 +146 -0 src/lib/libarchive/archive_string.c (new) 1.1 +111 -0 src/lib/libarchive/archive_string.h (new) 1.1 +79 -0 src/lib/libarchive/archive_string_sprintf.c (new) 1.1 +113 -0 src/lib/libarchive/archive_util.3 (new) 1.1 +101 -0 src/lib/libarchive/archive_util.c (new) 1.1 +368 -0 src/lib/libarchive/archive_write.3 (new) 1.1 +220 -0 src/lib/libarchive/archive_write.c (new) 1.1 +149 -0 src/lib/libarchive/archive_write_open_file.c (new) 1.1 +326 -0 src/lib/libarchive/archive_write_set_compression_bzip2.c (new) 1.1 +380 -0 src/lib/libarchive/archive_write_set_compression_gzip.c (new) 1.1 +210 -0 src/lib/libarchive/archive_write_set_compression_none.c (new) 1.1 +62 -0 src/lib/libarchive/archive_write_set_format.c (new) 1.1 +59 -0 src/lib/libarchive/archive_write_set_format_by_name.c (new) 1.1 +244 -0 src/lib/libarchive/archive_write_set_format_cpio.c (new) 1.1 +694 -0 src/lib/libarchive/archive_write_set_format_pax.c (new) 1.1 +403 -0 src/lib/libarchive/archive_write_set_format_shar.c (new) 1.1 +428 -0 src/lib/libarchive/archive_write_set_format_ustar.c (new) 1.1 +325 -0 src/lib/libarchive/libarchive.3 (new) 1.1 +626 -0 src/lib/libarchive/tar.5 (new)