aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/tar/tests
diff options
context:
space:
mode:
authorMartin Matuska <mm@FreeBSD.org>2022-02-09 23:35:42 +0000
committerMartin Matuska <mm@FreeBSD.org>2022-02-09 23:35:42 +0000
commit833a452e9f082a7982a31c21f0da437dbbe0a39d (patch)
tree83953c08f53f416cf391141baa9debd7099afdd4 /usr.bin/tar/tests
parent17a56f3fabdfacb62f6d8858643cdb1861c8c1b5 (diff)
parent84631082f67b1c1eeac6b68f11e5290354c431f8 (diff)
downloadsrc-833a452e9f082a7982a31c21f0da437dbbe0a39d.tar.gz
src-833a452e9f082a7982a31c21f0da437dbbe0a39d.zip
libarchive: import changes from upstream
Libarchive 3.6.0 New features: PR #1614: tar: new option "--no-read-sparse" PR #1503: RAR reader: filter support PR #1585: RAR5 reader: self-extracting archive support New features (not used in FreeBSD base): PR #1567: tar: threads support for zstd (#1567) PR #1518: ZIP reader: zstd decompression support Security Fixes: PR #1491, #1492, #1493, CVE-2021-36976: fix invalid memory access and out of bounds read in RAR5 reader PR #1566, #1618, CVE-2021-31566: extended fix for following symlinks when processing the fixup list Other notable bugfixes and improvements: PR #1620: tar: respect "--ignore-zeros" in c, r and u modes PR #1625: reduced size of application binaries MFC after: 2 weeks Relnotes: yes
Diffstat (limited to 'usr.bin/tar/tests')
-rw-r--r--usr.bin/tar/tests/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/usr.bin/tar/tests/Makefile b/usr.bin/tar/tests/Makefile
index d9ebfc2072ce..02b4c93d5746 100644
--- a/usr.bin/tar/tests/Makefile
+++ b/usr.bin/tar/tests/Makefile
@@ -16,6 +16,8 @@ CFLAGS+= -I${_LIBARCHIVEDIR}/libarchive
CFLAGS+= -I${_LIBARCHIVEDIR}/tar -I${_LIBARCHIVEDIR}/tar/test
CFLAGS+= -I${_LIBARCHIVEDIR}/test_utils
+CFLAGS.test_utils.c+= -Wno-cast-align
+
# Uncomment to link against dmalloc
#LDADD+= -L/usr/local/lib -ldmalloc
#CFLAGS+= -I/usr/local/include -DUSE_DMALLOC
@@ -59,6 +61,7 @@ TESTS_SRCS= \
test_option_fflags.c \
test_option_gid_gname.c \
test_option_grzip.c \
+ test_option_ignore_zeros.c \
test_option_j.c \
test_option_k.c \
test_option_keep_newer_files.c \