From owner-cvs-all@FreeBSD.ORG Sat Jan 27 06:44:55 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 50FEC16A403; Sat, 27 Jan 2007 06:44:55 +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 3E6C313C487; Sat, 27 Jan 2007 06:44:55 +0000 (UTC) (envelope-from kientzle@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id l0R6itC2076473; Sat, 27 Jan 2007 06:44:55 GMT (envelope-from kientzle@repoman.freebsd.org) Received: (from kientzle@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id l0R6itSh076472; Sat, 27 Jan 2007 06:44:55 GMT (envelope-from kientzle) Message-Id: <200701270644.l0R6itSh076472@repoman.freebsd.org> From: Tim Kientzle Date: Sat, 27 Jan 2007 06:44:54 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/lib/libarchive COPYING Makefile archive.h.in archive_check_magic.c archive_entry.3 archive_entry.c archive_entry.h archive_platform.h archive_private.h archive_read.3 archive_read.c archive_read_data_into_buffer.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: Sat, 27 Jan 2007 06:44:55 -0000 kientzle 2007-01-27 06:44:54 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) lib/libarchive COPYING Makefile archive.h.in archive_check_magic.c archive_entry.3 archive_entry.c archive_entry.h archive_platform.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_fd.c archive_read_open_file.c archive_read_support_compression_all.c 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_all.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_string.c archive_string.h archive_string_sprintf.c archive_util.3 archive_util.c archive_write.3 archive_write.c archive_write_open_fd.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-formats.5 libarchive.3 tar.5 Added files: (Branch: RELENG_6) lib/libarchive archive_read_open_filename.c archive_read_open_memory.c archive_write_open_filename.c archive_write_open_memory.c config_freebsd.h Log: MFC: synchronize libarchive with FreeBSD-CURRENT. This includes the following: * License updates. * Fixes for FreeBSD/arm * New read_open_filename, read_open_memory * New write_open_filename, write_open_memory * Write-blocking cleanup (cperciva@) * Adjust API so read_open/write_open funcs only need public API * Portability improvements (casts, include guards, etc.) * Properly pad sparse archive entries with blocks of zero bytes (cperciva@) * Correct copy of data to file when very large reads are possible * Be more flexible about dir permissions to avoid some fixups * Correct skip handling for entries over 2G (cperciva@) * ISO9660: skip entries faster, support entries over 2G * Tar: correct position accounting when skipping large entries (cperciva@) * Support unbuffered write as a special case (blocksize=0) (cperciva@) * Documentation corrections, improvements * Spelling corrections (cperciva@) * Improve some internal error returns A few of these changes break the API/ABI and are therefore conditional on the version number. FreeBSD 6 will continue to use libarchive 1.x, which will continue to use the old API/ABI. When all of these changes are ready, the libarchive version number will be changed in -CURRENT to enable the new API. Hopefully, this will allow the actual source to remain identical between FreeBSD 6 and 7; only the version parameters in the Makefile will be different. Revision Changes Path 1.1.8.2 +2 -3 src/lib/libarchive/COPYING 1.36.2.3 +26 -13 src/lib/libarchive/Makefile 1.23.2.4 +52 -13 src/lib/libarchive/archive.h.in 1.5.2.1 +11 -3 src/lib/libarchive/archive_check_magic.c 1.9.8.3 +1 -1 src/lib/libarchive/archive_entry.3 1.29.2.2 +28 -19 src/lib/libarchive/archive_entry.c 1.16.2.2 +2 -3 src/lib/libarchive/archive_entry.h 1.16.2.2 +23 -76 src/lib/libarchive/archive_platform.h 1.18.2.4 +5 -6 src/lib/libarchive/archive_private.h 1.20.2.3 +72 -24 src/lib/libarchive/archive_read.3 1.15.2.4 +52 -21 src/lib/libarchive/archive_read.c 1.4.8.1 +5 -4 src/lib/libarchive/archive_read_data_into_buffer.c 1.8.2.2 +11 -4 src/lib/libarchive/archive_read_data_into_fd.c 1.41.2.3 +119 -57 src/lib/libarchive/archive_read_extract.c 1.3.8.3 +29 -12 src/lib/libarchive/archive_read_open_fd.c 1.8.2.3 +69 -125 src/lib/libarchive/archive_read_open_file.c 1.18.2.1 +240 -0 src/lib/libarchive/archive_read_open_filename.c (new) 1.3.2.1 +156 -0 src/lib/libarchive/archive_read_open_memory.c (new) 1.5.8.1 +2 -3 src/lib/libarchive/archive_read_support_compression_all.c 1.7.2.4 +17 -10 src/lib/libarchive/archive_read_support_compression_bzip2.c 1.3.2.3 +18 -11 src/lib/libarchive/archive_read_support_compression_compress.c 1.9.2.2 +17 -10 src/lib/libarchive/archive_read_support_compression_gzip.c 1.6.2.4 +27 -17 src/lib/libarchive/archive_read_support_compression_none.c 1.6.2.1 +2 -3 src/lib/libarchive/archive_read_support_format_all.c 1.13.2.4 +26 -17 src/lib/libarchive/archive_read_support_format_cpio.c 1.8.2.2 +202 -121 src/lib/libarchive/archive_read_support_format_iso9660.c 1.32.2.3 +64 -48 src/lib/libarchive/archive_read_support_format_tar.c 1.5.2.2 +22 -19 src/lib/libarchive/archive_read_support_format_zip.c 1.6.2.1 +8 -5 src/lib/libarchive/archive_string.c 1.6.2.1 +4 -3 src/lib/libarchive/archive_string.h 1.7.2.1 +2 -3 src/lib/libarchive/archive_string_sprintf.c 1.3.2.2 +1 -1 src/lib/libarchive/archive_util.3 1.9.2.2 +8 -3 src/lib/libarchive/archive_util.c 1.12.2.3 +90 -16 src/lib/libarchive/archive_write.3 1.15.2.3 +87 -25 src/lib/libarchive/archive_write.c 1.4.2.1 +39 -40 src/lib/libarchive/archive_write_open_fd.c 1.11.2.1 +32 -93 src/lib/libarchive/archive_write_open_file.c 1.19.2.1 +175 -0 src/lib/libarchive/archive_write_open_filename.c (new) 1.3.2.1 +126 -0 src/lib/libarchive/archive_write_open_memory.c (new) 1.8.2.1 +15 -8 src/lib/libarchive/archive_write_set_compression_bzip2.c 1.10.2.1 +15 -8 src/lib/libarchive/archive_write_set_compression_gzip.c 1.8.2.1 +40 -14 src/lib/libarchive/archive_write_set_compression_none.c 1.2.8.1 +7 -3 src/lib/libarchive/archive_write_set_format.c 1.3.8.1 +8 -3 src/lib/libarchive/archive_write_set_format_by_name.c 1.5.2.2 +23 -13 src/lib/libarchive/archive_write_set_format_cpio.c 1.27.2.2 +34 -18 src/lib/libarchive/archive_write_set_format_pax.c 1.11.2.1 +29 -19 src/lib/libarchive/archive_write_set_format_shar.c 1.12.2.2 +150 -98 src/lib/libarchive/archive_write_set_format_ustar.c 1.2.2.1 +92 -0 src/lib/libarchive/config_freebsd.h (new) 1.7.2.2 +1 -1 src/lib/libarchive/libarchive-formats.5 1.7.2.2 +23 -9 src/lib/libarchive/libarchive.3 1.12.2.2 +3 -2 src/lib/libarchive/tar.5