From owner-cvs-src@FreeBSD.ORG Sun Dec 30 04:58:23 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B546416A419; Sun, 30 Dec 2007 04:58:23 +0000 (UTC) (envelope-from kientzle@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 6272B13C442; Sun, 30 Dec 2007 04:58:23 +0000 (UTC) (envelope-from kientzle@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id lBU4wNAZ038902; Sun, 30 Dec 2007 04:58:23 GMT (envelope-from kientzle@repoman.freebsd.org) Received: (from kientzle@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id lBU4wNOH038901; Sun, 30 Dec 2007 04:58:23 GMT (envelope-from kientzle) Message-Id: <200712300458.lBU4wNOH038901@repoman.freebsd.org> From: Tim Kientzle Date: Sun, 30 Dec 2007 04:58:23 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/lib/libarchive Makefile archive.h.in archive_entry.c archive_entry.h archive_entry_link_resolver.c archive_entry_private.h archive_entry_strmode.c archive_platform.h archive_read.c archive_read_support_compression_none.c archive_read_support_format_all.c ... X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 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: Sun, 30 Dec 2007 04:58:23 -0000 kientzle 2007-12-30 04:58:22 UTC FreeBSD src repository Modified files: lib/libarchive Makefile archive.h.in archive_entry.c archive_entry.h archive_entry_private.h archive_platform.h archive_read.c archive_read_support_compression_none.c archive_read_support_format_all.c archive_read_support_format_ar.c archive_read_support_format_cpio.c archive_read_support_format_iso9660.c archive_read_support_format_tar.c archive_read_support_format_zip.c archive_util.c archive_write_disk.c archive_write_set_compression_bzip2.c archive_write_set_compression_gzip.c archive_write_set_compression_none.c archive_write_set_format_ar.c archive_write_set_format_cpio.c archive_write_set_format_pax.c archive_write_set_format_ustar.c filter_fork.c libarchive-formats.5 libarchive_internals.3 Added files: lib/libarchive archive_entry_link_resolver.c archive_entry_strmode.c archive_read_support_format_mtree.c cpio.5 mtree.5 Log: Update libarchive to 2.4.10. This includes a number of improvements that I've been working on but put off committing until after the RELENG_7 branch, including: * New manpages: cpio.5 mtree.5 * New archive_entry_strmode() * New archive_entry_link_resolver() * New read support: mtree format * Internal API change: read format auction only runs once * Running the auction only once allowed simplifying a lot of bid logic. * Cpio robustness: search for next header after a sync error * Support device nodes on ISO9660 images * Eliminate a lot of unnecessary copies for uncompressed archives * Corrected handling of new GNU --sparse --posix formats * Correctly handle a zero-byte write to a compressed archive * Fixed memory leaks Many of these improvements were motivated by the upcoming bsdcpio front-end. There have also been extensive improvements to the libarchive_test test harness, which I'll commit separately. Revision Changes Path 1.78 +12 -15 src/lib/libarchive/Makefile 1.47 +25 -33 src/lib/libarchive/archive.h.in 1.45 +26 -5 src/lib/libarchive/archive_entry.c 1.24 +30 -5 src/lib/libarchive/archive_entry.h 1.1 +222 -0 src/lib/libarchive/archive_entry_link_resolver.c (new) 1.2 +2 -0 src/lib/libarchive/archive_entry_private.h 1.1 +83 -0 src/lib/libarchive/archive_entry_strmode.c (new) 1.28 +3 -2 src/lib/libarchive/archive_platform.h 1.36 +12 -6 src/lib/libarchive/archive_read.c 1.19 +55 -50 src/lib/libarchive/archive_read_support_compression_none.c 1.10 +1 -0 src/lib/libarchive/archive_read_support_format_all.c 1.7 +1 -7 src/lib/libarchive/archive_read_support_format_ar.c 1.25 +175 -7 src/lib/libarchive/archive_read_support_format_cpio.c 1.24 +17 -11 src/lib/libarchive/archive_read_support_format_iso9660.c 1.1 +705 -0 src/lib/libarchive/archive_read_support_format_mtree.c (new) 1.63 +38 -37 src/lib/libarchive/archive_read_support_format_tar.c 1.17 +13 -12 src/lib/libarchive/archive_read_support_format_zip.c 1.16 +1 -1 src/lib/libarchive/archive_util.c 1.18 +6 -0 src/lib/libarchive/archive_write_disk.c 1.13 +7 -1 src/lib/libarchive/archive_write_set_compression_bzip2.c 1.15 +7 -1 src/lib/libarchive/archive_write_set_compression_gzip.c 1.16 +30 -13 src/lib/libarchive/archive_write_set_compression_none.c 1.4 +4 -4 src/lib/libarchive/archive_write_set_format_ar.c 1.13 +1 -0 src/lib/libarchive/archive_write_set_format_cpio.c 1.42 +8 -5 src/lib/libarchive/archive_write_set_format_pax.c 1.25 +8 -5 src/lib/libarchive/archive_write_set_format_ustar.c 1.1 +325 -0 src/lib/libarchive/cpio.5 (new) 1.2 +2 -0 src/lib/libarchive/filter_fork.c 1.15 +23 -9 src/lib/libarchive/libarchive-formats.5 1.2 +6 -16 src/lib/libarchive/libarchive_internals.3 1.1 +270 -0 src/lib/libarchive/mtree.5 (new)