From owner-cvs-src@FreeBSD.ORG Mon Apr 26 16:37:55 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 58AF916A4CE; Mon, 26 Apr 2004 16:37:55 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 52DA243D1F; Mon, 26 Apr 2004 16:37:55 -0700 (PDT) (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 i3QNbtGe046014; Mon, 26 Apr 2004 16:37:55 -0700 (PDT) (envelope-from kientzle@repoman.freebsd.org) Received: (from kientzle@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id i3QNbsqt046013; Mon, 26 Apr 2004 16:37:54 -0700 (PDT) (envelope-from kientzle) Message-Id: <200404262337.i3QNbsqt046013@repoman.freebsd.org> From: Tim Kientzle Date: Mon, 26 Apr 2004 16:37:54 -0700 (PDT) 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_entry.3 archive_entry.c archive_entry.h archive_read_extract.c archive_write_set_format_shar.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 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: Mon, 26 Apr 2004 23:37:55 -0000 kientzle 2004/04/26 16:37:54 PDT FreeBSD src repository Modified files: lib/libarchive Makefile archive_entry.3 archive_entry.c archive_entry.h archive_read_extract.c archive_read_support_format_tar.c archive_write_set_format_pax.c archive_write_set_format_shar.c Log: Update file flag handling. The new fflags support in archive_entry supports Linux and FreeBSD file flags and is a bit more gracious about unrecognized flag names than strtofflags(3). This involves some minor API breakage. The default tar format ("restricted pax") now enables pax extensions when archiving files that have flags. In particular, copying dir heirarchies with 'bsdtar cf - -C src . | bsdtar xpf - -C dest' now preserves file flags. (Note the "p" on extract!) While I'm here, fill in some additional explanation in the archive_entry.3 manpage, fill in some missing MLINKS, mark some overlooked internal functions 'static', and make a few minor style fixes. Revision Changes Path 1.7 +13 -1 src/lib/libarchive/Makefile 1.4 +100 -28 src/lib/libarchive/archive_entry.3 1.10 +298 -29 src/lib/libarchive/archive_entry.c 1.7 +10 -4 src/lib/libarchive/archive_entry.h 1.9 +63 -16 src/lib/libarchive/archive_read_extract.c 1.11 +1 -1 src/lib/libarchive/archive_read_support_format_tar.c 1.11 +7 -1 src/lib/libarchive/archive_write_set_format_pax.c 1.8 +1 -1 src/lib/libarchive/archive_write_set_format_shar.c