From owner-cvs-all@FreeBSD.ORG Fri Mar 19 14:37:07 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9596116A4CE; Fri, 19 Mar 2004 14:37:07 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7A4D443D1D; Fri, 19 Mar 2004 14:37:07 -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 i2JMb7Ge096582; Fri, 19 Mar 2004 14:37:07 -0800 (PST) (envelope-from kientzle@repoman.freebsd.org) Received: (from kientzle@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id i2JMb7O3096581; Fri, 19 Mar 2004 14:37:07 -0800 (PST) (envelope-from kientzle) Message-Id: <200403192237.i2JMb7O3096581@repoman.freebsd.org> From: Tim Kientzle Date: Fri, 19 Mar 2004 14:37:07 -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 archive.h archive_entry.3 archive_entry.c archive_entry.h archive_platform.h archive_private.h archive_read.c archive_read_data_into_fd.c archive_read_support_format_cpio.c archive_read_support_format_gnutar.c ... X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 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: Fri, 19 Mar 2004 22:37:07 -0000 kientzle 2004/03/19 14:37:06 PST FreeBSD src repository Modified files: lib/libarchive Makefile archive.h archive_entry.3 archive_entry.c archive_entry.h archive_platform.h archive_private.h archive_read.c archive_read_data_into_fd.c archive_read_support_compression_gzip.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_write.c archive_write_open_file.c archive_write_set_format_pax.c libarchive.3 tar.5 Log: Many fixes: * Disabled shared-library building, as some API breakage is still likely. (I didn't realize it was turned on by default.) If you have an existing /usr/lib/libarchive.so.2, I recommend deleting it. * Pax interchange format now correctly stores and reads UTF8 for extended attributes. In particular, pax format can portably handle arbitrarily long pathnames containing arbitrary characters. * Library compiles cleanly at -O2, -O3, and WARNS=6 on all FreeBSD-CURRENT platforms. * Minor portability improvements inspired by Juergen Lock and Greg Lewis. (Less reliance on stdint.h, isolating of various portability-challenged constructs.) * archive_entry transparently converts multi-byte <-> wide character strings, allowing clients and format handlers to deal with either one, as appropriate. * Support for reading 'L' and 'K' entries in standard tar archives for star compatibility. * Recognize (but don't yet handle) ACL entries from Solaris tar. * Pushed format-specific data for format readers down into format-specific storage and out of library-global storage. This should make it easier to maintain individual formats without mucking with the core library management. * Documentation updates to track the above changes. * Updates to tar.5 to correct a few mistakes and add some additional information about GNU tar and Solaris tar formats. Notes: * The basic 'tar' reader is getting more general; there's not much point in keeping the 'gnutar' reader separate. Merging the two would lose a bunch of duplicate code. * The libc ACL support is looking increasingly inadequate for my needs here. I might need to assemble some fairly significant code for parsing and building ACLs. Revision Changes Path 1.4 +9 -3 src/lib/libarchive/Makefile 1.5 +2 -3 src/lib/libarchive/archive.h 1.2 +70 -63 src/lib/libarchive/archive_entry.3 1.3 +254 -113 src/lib/libarchive/archive_entry.c 1.2 +11 -5 src/lib/libarchive/archive_entry.h 1.2 +26 -1 src/lib/libarchive/archive_platform.h 1.3 +8 -34 src/lib/libarchive/archive_private.h 1.3 +9 -16 src/lib/libarchive/archive_read.c 1.3 +1 -1 src/lib/libarchive/archive_read_data_into_fd.c 1.3 +2 -1 src/lib/libarchive/archive_read_support_compression_gzip.c 1.5 +9 -6 src/lib/libarchive/archive_read_support_format_cpio.c 1.3 +85 -27 src/lib/libarchive/archive_read_support_format_gnutar.c 1.4 +464 -204 src/lib/libarchive/archive_read_support_format_tar.c 1.3 +0 -47 src/lib/libarchive/archive_string.c 1.2 +4 -3 src/lib/libarchive/archive_string.h 1.3 +0 -13 src/lib/libarchive/archive_write.c 1.3 +1 -1 src/lib/libarchive/archive_write_open_file.c 1.4 +91 -9 src/lib/libarchive/archive_write_set_format_pax.c 1.2 +22 -25 src/lib/libarchive/libarchive.3 1.2 +93 -59 src/lib/libarchive/tar.5