diff options
author | mm <mm@FreeBSD.org> | 2017-03-16 23:08:18 +0000 |
---|---|---|
committer | mm <mm@FreeBSD.org> | 2017-03-16 23:08:18 +0000 |
commit | 7fe2e9ed994e8a05f0f3633a678c70da7f72575e (patch) | |
tree | 87a6d288519799b4a0946d55b736f27b0635ceae /lib/libarchive | |
parent | 05a2c39b0e37a34bbd587cca6f54c8e9ba90b5e3 (diff) | |
download | FreeBSD-src-7fe2e9ed994e8a05f0f3633a678c70da7f72575e.zip FreeBSD-src-7fe2e9ed994e8a05f0f3633a678c70da7f72575e.tar.gz |
MFC r314571:
Update libarchive to version 3.3.1 (and sync with latest vendor dist)
Notable vendor changes:
PR #501: improvements in ACL path handling
PR #724: fix hang when reading malformed cpio files
PR #864: fix out of bounds read with malformed GNU tar archives
Documentation, style, test suite improvements and typo fixes.
New options to bsdtar that enable or disable reading and/or writing of:
Access Control Lists (--acls, --no-acls)
Extended file flags (--fflags, --no-fflags)
Extended attributes (--xattrs, --no-xattrs)
Mac OS X metadata (Mac OS X only) (--mac-metadata, --no-mac-metadata)
Diffstat (limited to 'lib/libarchive')
-rw-r--r-- | lib/libarchive/config_freebsd.h | 4 | ||||
-rw-r--r-- | lib/libarchive/tests/Makefile | 7 |
2 files changed, 6 insertions, 5 deletions
diff --git a/lib/libarchive/config_freebsd.h b/lib/libarchive/config_freebsd.h index 24e2d75..fe16eb2 100644 --- a/lib/libarchive/config_freebsd.h +++ b/lib/libarchive/config_freebsd.h @@ -38,9 +38,9 @@ #define HAVE_ACL_SET_FD_NP 1 #define HAVE_ACL_SET_FILE 1 #define HAVE_ACL_SET_LINK_NP 1 -#define HAVE_ACL_USER 1 -#define HAVE_ACL_TYPE_NFS4 1 #define HAVE_ARC4RANDOM_BUF 1 +#define HAVE_DECL_ACL_USER 1 +#define HAVE_DECL_ACL_TYPE_NFS4 1 #define HAVE_EXTATTR_GET_FILE 1 #define HAVE_EXTATTR_LIST_FILE 1 #define HAVE_EXTATTR_SET_FD 1 diff --git a/lib/libarchive/tests/Makefile b/lib/libarchive/tests/Makefile index eed7b97..880e676 100644 --- a/lib/libarchive/tests/Makefile +++ b/lib/libarchive/tests/Makefile @@ -12,7 +12,8 @@ BINDIR= ${TESTSDIR} PROGS+= libarchive_test CFLAGS+= -I${.CURDIR} -I${.CURDIR:H} -I${.OBJDIR} -CFLAGS+= -I${LIBARCHIVEDIR}/libarchive -I${LIBARCHIVEDIR}/test_utils +CFLAGS+= -I${LIBARCHIVEDIR}/libarchive -I${LIBARCHIVEDIR}/libarchive/test +CFLAGS+= -I${LIBARCHIVEDIR}/test_utils CFLAGS+= -DHAVE_LIBLZMA=1 -DHAVE_LZMA_H=1 # Uncomment to link against dmalloc @@ -300,7 +301,6 @@ BROKEN_TESTS+= test_fuzz_rar # Build the test program. SRCS.libarchive_test= \ ${TESTS_SRCS} \ - main.c \ read_open_memory.c \ list.h @@ -308,7 +308,8 @@ DPADD.libarchive_test= ${LIBARCHIVE} LDADD.libarchive_test= -larchive .PATH: ${LIBARCHIVEDIR}/test_utils -SRCS.libarchive_test+= test_utils.c +SRCS.libarchive_test+= test_main.c \ + test_utils.c # list.h is just a list of all tests, as indicated by DEFINE_TEST macro lines list.h: ${TESTS_SRCS} Makefile |