From owner-cvs-all@FreeBSD.ORG Tue May 29 01:00:22 2007 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2F79616A400; Tue, 29 May 2007 01:00:22 +0000 (UTC) (envelope-from kientzle@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 1D5DB13C4BB; Tue, 29 May 2007 01:00:22 +0000 (UTC) (envelope-from kientzle@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l4T10L4B075005; Tue, 29 May 2007 01:00:22 GMT (envelope-from kientzle@repoman.freebsd.org) Received: (from kientzle@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l4T10Lt1074998; Tue, 29 May 2007 01:00:21 GMT (envelope-from kientzle) Message-Id: <200705290100.l4T10Lt1074998@repoman.freebsd.org> From: Tim Kientzle Date: Tue, 29 May 2007 01:00:21 +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.3 archive_entry.c archive_entry.h archive_entry_copy_stat.c archive_entry_private.h archive_entry_stat.c archive_platform.h archive_read.3 archive_read.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: Tue, 29 May 2007 01:00:22 -0000 kientzle 2007-05-29 01:00:21 UTC FreeBSD src repository Modified files: lib/libarchive Makefile archive.h.in archive_entry.3 archive_entry.c archive_entry.h archive_platform.h archive_read.3 archive_read.c archive_read_extract.c archive_read_private.h archive_read_support_compression_bzip2.c archive_read_support_compression_compress.c archive_read_support_compression_gzip.c archive_read_support_compression_none.c archive_read_support_format_ar.c archive_read_support_format_cpio.c archive_read_support_format_empty.c archive_read_support_format_iso9660.c archive_read_support_format_tar.c archive_read_support_format_zip.c archive_string.c archive_string.h archive_util.3 archive_util.c archive_write.3 archive_write.c archive_write_disk.c archive_write_disk_set_standard_lookup.c archive_write_private.h 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_shar.c archive_write_set_format_ustar.c config_freebsd.h lib/libarchive/test Makefile README main.c test.h test_acl_basic.c test_acl_pax.c test_archive_api_feature.c test_read_data_large.c test_read_extract.c test_read_format_ar.c test_read_format_isorr_bz2.c test_read_format_zip.c test_read_large.c test_read_position.c test_read_truncated.c test_tar_filenames.c test_write_disk.c test_write_disk_perms.c test_write_format_ar.c test_write_format_cpio_empty.c test_write_format_shar_empty.c test_write_format_tar.c test_write_format_tar_empty.c test_write_open_memory.c Added files: lib/libarchive archive_entry_copy_stat.c archive_entry_private.h archive_entry_stat.c archive_read_support_compression_program.c archive_write_set_compression_program.c filter_fork.c filter_fork.h libarchive_internals.3 lib/libarchive/test test_entry.c test_read_compress_program.c test_write_compress_program.c Log: libarchive 2.2.3 * "compression_program" support uses an external program * Portability: no longer uses "struct stat" as a primary data interchange structure internally * Part of the above: refactor archive_entry to separate out copy_stat() and stat() functions * More complete tests for archive_entry * Finish archive_entry_clone() * Isolate major()/minor()/makedev() in archive_entry; remove these from everywhere else. * Bug fix: properly handle decompression look-ahead at end-of-data * Bug fixes to 'ar' support * Fix memory leak in ZIP reader * Portability: better timegm() emulation in iso9660 reader * New write_disk flags to suppress auto dir creation and not overwrite newer files (for future cpio front-end) * Simplify trailing-'/' fixup when writing tar and pax * Test enhancements: fix various compiler warnings, improve portability, add lots of new tests. * Documentation: document new functions, first draft of libarchive_internals.3 MFC after: 14 days Thanks to: Joerg Sonnenberger (compression_program) Thanks to: Kai Wang (ar) Thanks to: Colin Percival (many small fixes) Thanks to: Many others who sent me various patches and problem reports. Revision Changes Path 1.72 +23 -2 src/lib/libarchive/Makefile 1.44 +10 -0 src/lib/libarchive/archive.h.in 1.14 +32 -0 src/lib/libarchive/archive_entry.3 1.43 +195 -169 src/lib/libarchive/archive_entry.c 1.22 +36 -2 src/lib/libarchive/archive_entry.h 1.1 +59 -0 src/lib/libarchive/archive_entry_copy_stat.c (new) 1.1 +155 -0 src/lib/libarchive/archive_entry_private.h (new) 1.1 +100 -0 src/lib/libarchive/archive_entry_stat.c (new) 1.27 +0 -29 src/lib/libarchive/archive_platform.h 1.34 +8 -0 src/lib/libarchive/archive_read.3 1.35 +46 -33 src/lib/libarchive/archive_read.c 1.59 +2 -6 src/lib/libarchive/archive_read_extract.c 1.3 +28 -36 src/lib/libarchive/archive_read_private.h 1.16 +24 -19 src/lib/libarchive/archive_read_support_compression_bzip2.c 1.10 +12 -13 src/lib/libarchive/archive_read_support_compression_compress.c 1.15 +23 -21 src/lib/libarchive/archive_read_support_compression_gzip.c 1.17 +15 -15 src/lib/libarchive/archive_read_support_compression_none.c 1.1 +312 -0 src/lib/libarchive/archive_read_support_compression_program.c (new) 1.6 +21 -20 src/lib/libarchive/archive_read_support_format_ar.c 1.24 +98 -117 src/lib/libarchive/archive_read_support_format_cpio.c 1.3 +1 -1 src/lib/libarchive/archive_read_support_format_empty.c 1.23 +54 -59 src/lib/libarchive/archive_read_support_format_iso9660.c 1.56 +129 -150 src/lib/libarchive/archive_read_support_format_tar.c 1.13 +46 -42 src/lib/libarchive/archive_read_support_format_zip.c 1.10 +9 -0 src/lib/libarchive/archive_string.c 1.9 +6 -0 src/lib/libarchive/archive_string.h 1.7 +5 -0 src/lib/libarchive/archive_util.3 1.14 +9 -0 src/lib/libarchive/archive_util.c 1.22 +15 -5 src/lib/libarchive/archive_write.3 1.26 +11 -5 src/lib/libarchive/archive_write.c 1.12 +92 -20 src/lib/libarchive/archive_write_disk.c 1.4 +0 -16 src/lib/libarchive/archive_write_disk_set_standard_lookup.c 1.2 +9 -66 src/lib/libarchive/archive_write_private.h 1.12 +6 -11 src/lib/libarchive/archive_write_set_compression_bzip2.c 1.14 +6 -11 src/lib/libarchive/archive_write_set_compression_gzip.c 1.15 +8 -13 src/lib/libarchive/archive_write_set_compression_none.c 1.1 +322 -0 src/lib/libarchive/archive_write_set_compression_program.c (new) 1.3 +101 -65 src/lib/libarchive/archive_write_set_format_ar.c 1.11 +19 -26 src/lib/libarchive/archive_write_set_format_cpio.c 1.41 +146 -165 src/lib/libarchive/archive_write_set_format_pax.c 1.18 +16 -21 src/lib/libarchive/archive_write_set_format_shar.c 1.23 +48 -53 src/lib/libarchive/archive_write_set_format_ustar.c 1.5 +5 -0 src/lib/libarchive/config_freebsd.h 1.1 +137 -0 src/lib/libarchive/filter_fork.c (new) 1.1 +37 -0 src/lib/libarchive/filter_fork.h (new) 1.1 +376 -0 src/lib/libarchive/libarchive_internals.3 (new) 1.5 +8 -0 src/lib/libarchive/test/Makefile 1.2 +9 -0 src/lib/libarchive/test/README 1.3 +139 -51 src/lib/libarchive/test/main.c 1.3 +18 -2 src/lib/libarchive/test/test.h 1.3 +5 -9 src/lib/libarchive/test/test_acl_basic.c 1.3 +3 -4 src/lib/libarchive/test/test_acl_pax.c 1.2 +3 -3 src/lib/libarchive/test/test_archive_api_feature.c 1.1 +576 -0 src/lib/libarchive/test/test_entry.c (new) 1.1 +55 -0 src/lib/libarchive/test/test_read_compress_program.c (new) 1.3 +10 -10 src/lib/libarchive/test/test_read_data_large.c 1.3 +1 -1 src/lib/libarchive/test/test_read_extract.c 1.3 +4 -4 src/lib/libarchive/test/test_read_format_ar.c 1.2 +13 -13 src/lib/libarchive/test/test_read_format_isorr_bz2.c 1.2 +33 -5 src/lib/libarchive/test/test_read_format_zip.c 1.3 +8 -8 src/lib/libarchive/test/test_read_large.c 1.3 +1 -1 src/lib/libarchive/test/test_read_position.c 1.3 +1 -1 src/lib/libarchive/test/test_read_truncated.c 1.3 +4 -4 src/lib/libarchive/test/test_tar_filenames.c 1.1 +97 -0 src/lib/libarchive/test/test_write_compress_program.c (new) 1.2 +10 -9 src/lib/libarchive/test/test_write_disk.c 1.4 +22 -13 src/lib/libarchive/test/test_write_disk_perms.c 1.3 +45 -11 src/lib/libarchive/test/test_write_format_ar.c 1.2 +0 -1 src/lib/libarchive/test/test_write_format_cpio_empty.c 1.2 +0 -1 src/lib/libarchive/test/test_write_format_shar_empty.c 1.3 +8 -6 src/lib/libarchive/test/test_write_format_tar.c 1.2 +1 -1 src/lib/libarchive/test/test_write_format_tar_empty.c 1.3 +2 -2 src/lib/libarchive/test/test_write_open_memory.c