From owner-cvs-all@FreeBSD.ORG Mon Feb 11 00:31:10 2008 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3CF6316A55B; Mon, 11 Feb 2008 00:31:10 +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 10F7213C469; Mon, 11 Feb 2008 00:31:10 +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 m1B0VAxo000481; Mon, 11 Feb 2008 00:31:10 GMT (envelope-from kientzle@repoman.freebsd.org) Received: (from kientzle@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m1B0VAWr000480; Mon, 11 Feb 2008 00:31:10 GMT (envelope-from kientzle) Message-Id: <200802110031.m1B0VAWr000480@repoman.freebsd.org> From: Tim Kientzle Date: Mon, 11 Feb 2008 00:31:10 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_7 Cc: Subject: cvs commit: src/lib/libarchive Makefile archive.h.in archive_entry.c archive_entry.h archive_entry_private.h archive_platform.h archive_read.c archive_read_extract.c archive_read_private.h archive_read_support_compression_none.c archive_read_support_format_all.c ... X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Feb 2008 00:31:10 -0000 kientzle 2008-02-11 00:31:10 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) lib/libarchive Makefile archive.h.in archive_entry.c archive_entry.h archive_entry_private.h archive_platform.h archive_read.c archive_read_extract.c archive_read_private.h 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_cpio_newc.c archive_write_set_format_pax.c archive_write_set_format_ustar.c filter_fork.c libarchive-formats.5 libarchive_internals.3 lib/libarchive/test Makefile README main.c read_open_memory.c test.h test_read_format_cpio_odc.c test_read_format_gtar_sparse.c test_read_format_isorr_bz2.c test_read_format_tar.c test_read_format_zip.c test_read_pax_truncated.c test_tar_filenames.c test_write_disk.c test_write_disk_perms.c test_write_format_cpio.c Added files: (Branch: RELENG_7) lib/libarchive/test test_compat_gtar.c test_compat_gtar_1.tgz.uu test_compat_tar_hardlink.c test_compat_tar_hardlink_1.tar.uu test_compat_zip.c test_compat_zip_1.zip.uu test_empty_write.c test_entry_strmode.c test_read_format_gtar_sparse_1_13.tgz.uu test_read_format_gtar_sparse_1_17.tgz.uu test_read_format_gtar_sparse_1_17_posix00.tgz.uu test_read_format_gtar_sparse_1_17_posix01.tgz.uu test_read_format_gtar_sparse_1_17_posix10.tgz.uu test_read_format_gtar_sparse_1_17_posix10_modified.tar.uu test_read_format_mtree.c test_tar_large.c test_write_disk_hardlink.c test_write_format_cpio_newc.c test_write_format_cpio_odc.c Log: MFC: libarchive 2.4.12 * Formats are now only bid once per file, not once per entry (Affects archive_read.c, most format readers, internals manpage) * Correct tar/cpio history in libarchive_formats manpage * Avoid unnecessary copies in {write,read}_compression_none (significant performance boost for uncompressed archives!) * Protect against zero-length writes in gzip/bzip2 compressors * Tar reader: improve hardlink length heuristics, GNU tar --posix --sparse support, related fixes to SCHILY.realsize handling * Cpio reader: recover from sync errors * Cpio writer: pad symlinks properly in newc format * Ar writer: close out empty archive correctly * Zip reader: ignore PK00 header, code cleanups from des@ * Iso9660 reader: support device node entries * archive_write_disk: support hardlinks with bodies, enforce maximum file size * Reconnect progress callback from archive_read_extract() * New: archive_entry_strmode() * New: mtree reader * New: "linkresolver" makes it easier to do hardlink resolution * UUencode test reference files (be nice to CVS) * New test: exercise very large entries (2G up to 1T) in tar archives * New test: Detailed verification of cpio odc and newc formats * New test: Various strategies for restoring multiple links to a file * New tests: Various compatibility checks against gzip, zip, old tar, etc. * New test: cpio recovery from damaged archives * New test: mtree reading * Improved statistics reporting from test harness * Plus minor portability improvements Revision Changes Path 1.77.2.1 +11 -15 src/lib/libarchive/Makefile 1.46.2.1 +25 -33 src/lib/libarchive/archive.h.in 1.44.2.1 +26 -5 src/lib/libarchive/archive_entry.c 1.23.2.1 +30 -5 src/lib/libarchive/archive_entry.h 1.1.4.1 +2 -0 src/lib/libarchive/archive_entry_private.h 1.27.2.1 +3 -2 src/lib/libarchive/archive_platform.h 1.35.2.1 +23 -6 src/lib/libarchive/archive_read.c 1.59.2.1 +8 -2 src/lib/libarchive/archive_read_extract.c 1.3.4.1 +3 -0 src/lib/libarchive/archive_read_private.h 1.17.2.2 +55 -50 src/lib/libarchive/archive_read_support_compression_none.c 1.9.2.1 +1 -0 src/lib/libarchive/archive_read_support_format_all.c 1.6.4.1 +1 -7 src/lib/libarchive/archive_read_support_format_ar.c 1.24.2.1 +177 -7 src/lib/libarchive/archive_read_support_format_cpio.c 1.23.2.1 +17 -11 src/lib/libarchive/archive_read_support_format_iso9660.c 1.61.2.2 +86 -80 src/lib/libarchive/archive_read_support_format_tar.c 1.14.2.3 +62 -93 src/lib/libarchive/archive_read_support_format_zip.c 1.15.2.1 +1 -1 src/lib/libarchive/archive_util.c 1.17.2.1 +37 -5 src/lib/libarchive/archive_write_disk.c 1.12.2.1 +7 -1 src/lib/libarchive/archive_write_set_compression_bzip2.c 1.14.2.1 +7 -1 src/lib/libarchive/archive_write_set_compression_gzip.c 1.15.2.1 +30 -13 src/lib/libarchive/archive_write_set_compression_none.c 1.3.4.1 +23 -5 src/lib/libarchive/archive_write_set_format_ar.c 1.11.2.2 +1 -0 src/lib/libarchive/archive_write_set_format_cpio.c 1.1.4.2 +7 -1 src/lib/libarchive/archive_write_set_format_cpio_newc.c 1.41.2.1 +8 -5 src/lib/libarchive/archive_write_set_format_pax.c 1.24.2.1 +8 -5 src/lib/libarchive/archive_write_set_format_ustar.c 1.1.4.1 +2 -0 src/lib/libarchive/filter_fork.c 1.14.2.1 +23 -9 src/lib/libarchive/libarchive-formats.5 1.1.4.1 +6 -16 src/lib/libarchive/libarchive_internals.3 1.11.2.1 +65 -16 src/lib/libarchive/test/Makefile 1.2.2.1 +10 -2 src/lib/libarchive/test/README 1.8.2.1 +353 -54 src/lib/libarchive/test/main.c 1.1.2.1 +1 -1 src/lib/libarchive/test/read_open_memory.c 1.6.2.1 +64 -40 src/lib/libarchive/test/test.h 1.1.2.1 +110 -0 src/lib/libarchive/test/test_compat_gtar.c (new) 1.1.2.1 +10 -0 src/lib/libarchive/test/test_compat_gtar_1.tgz.uu (new) 1.1.2.1 +104 -0 src/lib/libarchive/test/test_compat_tar_hardlink.c (new) 1.1.2.1 +39 -0 src/lib/libarchive/test/test_compat_tar_hardlink_1.tar.uu (new) 1.1.2.1 +69 -0 src/lib/libarchive/test/test_compat_zip.c (new) 1.1.2.1 +15 -0 src/lib/libarchive/test/test_compat_zip_1.zip.uu (new) 1.1.2.1 +118 -0 src/lib/libarchive/test/test_empty_write.c (new) 1.1.2.1 +48 -0 src/lib/libarchive/test/test_entry_strmode.c (new) 1.1.2.1 +1 -1 src/lib/libarchive/test/test_read_format_cpio_odc.c 1.6.2.1 +47 -652 src/lib/libarchive/test/test_read_format_gtar_sparse.c 1.1.2.1 +27 -0 src/lib/libarchive/test/test_read_format_gtar_sparse_1_13.tgz.uu (new) 1.1.2.1 +27 -0 src/lib/libarchive/test/test_read_format_gtar_sparse_1_17.tgz.uu (new) 1.1.2.1 +30 -0 src/lib/libarchive/test/test_read_format_gtar_sparse_1_17_posix00.tgz.uu (new) 1.1.2.1 +28 -0 src/lib/libarchive/test/test_read_format_gtar_sparse_1_17_posix01.tgz.uu (new) 1.1.2.1 +28 -0 src/lib/libarchive/test/test_read_format_gtar_sparse_1_17_posix10.tgz.uu (new) 1.1.2.1 +1370 -0 src/lib/libarchive/test/test_read_format_gtar_sparse_1_17_posix10_modified.tar.uu (new) 1.2.2.1 +3 -0 src/lib/libarchive/test/test_read_format_isorr_bz2.c 1.1.2.1 +113 -0 src/lib/libarchive/test/test_read_format_mtree.c (new) 1.2.2.1 +47 -0 src/lib/libarchive/test/test_read_format_tar.c 1.2.2.1 +6 -0 src/lib/libarchive/test/test_read_format_zip.c 1.1.2.1 +2 -2 src/lib/libarchive/test/test_read_pax_truncated.c 1.7.2.1 +1 -1 src/lib/libarchive/test/test_tar_filenames.c 1.1.2.1 +309 -0 src/lib/libarchive/test/test_tar_large.c (new) 1.6.2.1 +23 -0 src/lib/libarchive/test/test_write_disk.c 1.1.2.1 +165 -0 src/lib/libarchive/test/test_write_disk_hardlink.c (new) 1.7.2.1 +19 -14 src/lib/libarchive/test/test_write_disk_perms.c 1.2.2.1 +89 -5 src/lib/libarchive/test/test_write_format_cpio.c 1.2.2.1 +210 -0 src/lib/libarchive/test/test_write_format_cpio_newc.c (new) 1.1.2.1 +223 -0 src/lib/libarchive/test/test_write_format_cpio_odc.c (new)