diff options
author | kientzle <kientzle@FreeBSD.org> | 2006-01-17 03:40:42 +0000 |
---|---|---|
committer | kientzle <kientzle@FreeBSD.org> | 2006-01-17 03:40:42 +0000 |
commit | 2b45598dea8a40a88892f8e349d778469cf34ab2 (patch) | |
tree | 1b150f6f4a287e4a1542c115e5ce00549972cb76 /lib/libarchive/Makefile | |
parent | e042fa9ba27e0ade0e877579668d9ff0dca323af (diff) | |
download | FreeBSD-src-2b45598dea8a40a88892f8e349d778469cf34ab2.zip FreeBSD-src-2b45598dea8a40a88892f8e349d778469cf34ab2.tar.gz |
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.
Diffstat (limited to 'lib/libarchive/Makefile')
-rw-r--r-- | lib/libarchive/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libarchive/Makefile b/lib/libarchive/Makefile index 41a1ee7..a677044 100644 --- a/lib/libarchive/Makefile +++ b/lib/libarchive/Makefile @@ -25,7 +25,7 @@ ARCHIVE_API_MAJOR= 1 # Note: Do NOT reset this to zero after bumping ARCHIVE_API_MAJOR! ARCHIVE_API_MINOR= 2 # Bumped often. ;-) -ARCHIVE_API_REVISION= 36 +ARCHIVE_API_REVISION= 37 # Full libarchive version combines the above three numbers. VERSION= ${ARCHIVE_API_MAJOR}.${ARCHIVE_API_MINOR}.${ARCHIVE_API_REVISION} @@ -68,6 +68,7 @@ BASE_SRCS= archive_check_magic.c \ archive_read_support_format_cpio.c \ archive_read_support_format_iso9660.c \ archive_read_support_format_tar.c \ + archive_read_support_format_tp.c \ archive_read_support_format_zip.c \ archive_string.c \ archive_string_sprintf.c \ |