Date: Tue, 17 Jan 2006 03:40:42 +0000 (UTC) From: Tim Kientzle <kientzle@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libarchive Makefile archive.h.in archive_read_support_format_tp.c libarchive-formats.5 Message-ID: <200601170340.k0H3eg20051871@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
kientzle 2006-01-17 03:40:42 UTC FreeBSD src repository Modified files: lib/libarchive Makefile archive.h.in libarchive-formats.5 Added files: lib/libarchive archive_read_support_format_tp.c Log: Add support for "tp" format. tp was the standard system archiver for Fourth Edition through Sixth Edition Unix; it was replaced by tar in Seventh Edition. (First Edition through Third Edition used "tap.") Unfortunately, tp was not so very standard; there were a few different variants. The code here attempts to support what I believe were the most common variants. tp support is not yet enabled by archive_read_support_format_all(), as I'm not yet entirely comfortable with the detection heuristics. People interested in experimenting can add archive_read_support_format_tp() just after any calls to archive_read_support_format_all() in bsdtar to see how well this works. TODO: tp format is roughly similar in structure to dump/restore archive formats used by many systems. It should be possible to generalize this code to handle many dump/restore variants. Format detection heuristics are going to be rough, though. Thanks to: Warren Toomey, whose very basic tp extraction programs and documentation made this possible. Revision Changes Path 1.43 +2 -1 src/lib/libarchive/Makefile 1.27 +1 -0 src/lib/libarchive/archive.h.in 1.1 +618 -0 src/lib/libarchive/archive_read_support_format_tp.c (new) 1.10 +10 -0 src/lib/libarchive/libarchive-formats.5
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200601170340.k0H3eg20051871>