summaryrefslogtreecommitdiffstats
path: root/lib/libarchive/Makefile
diff options
context:
space:
mode:
authorkientzle <kientzle@FreeBSD.org>2007-04-14 22:34:10 +0000
committerkientzle <kientzle@FreeBSD.org>2007-04-14 22:34:10 +0000
commit7cead8e1b5557dab20b40aa5c83b5fabc472d1e3 (patch)
treef7c9108819c3e455e2359c0417fcbc48a4df0bb9 /lib/libarchive/Makefile
parentd7e5af0175ad9acf090a0f95a484847cfcf3b392 (diff)
downloadFreeBSD-src-7cead8e1b5557dab20b40aa5c83b5fabc472d1e3.zip
FreeBSD-src-7cead8e1b5557dab20b40aa5c83b5fabc472d1e3.tar.gz
Overhaul of 'ar' support:
* use "AR_GNU" as the format name instead of AR_SVR4 (it's what everyone is going to call it anyway) * Simplify numeric parsing to unsigned (none of the numeric values should ever be negative); don't run off end of numeric fields. * Finish parsing the common header fields before the next I/O request (which might dump the contents) * Be smarter about format guessing and trimming filenames. * Most of the magic values are only used in one place, so just inline them. * Many more comments. * Be smarter about handling damaged entries; return something reasonable. * Call it a "filename table" instead of a "string table" * Update tests. Enable selection of 'ar', 'arbsd', and 'argnu' formats by name (this allows bsdtar to create ar format archives). The 'ar' writer still needs some work; it should reject entries that aren't regular files and should probably also strip leading paths from filenames.
Diffstat (limited to 'lib/libarchive/Makefile')
-rw-r--r--lib/libarchive/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libarchive/Makefile b/lib/libarchive/Makefile
index 69219e1..36b5dc2 100644
--- a/lib/libarchive/Makefile
+++ b/lib/libarchive/Makefile
@@ -59,6 +59,7 @@ SRCS= archive.h \
archive_read_support_compression_gzip.c \
archive_read_support_compression_none.c \
archive_read_support_format_all.c \
+ archive_read_support_format_ar.c \
archive_read_support_format_cpio.c \
archive_read_support_format_empty.c \
archive_read_support_format_iso9660.c \
OpenPOWER on IntegriCloud