diff options
author | mm <mm@FreeBSD.org> | 2016-05-12 10:16:16 +0000 |
---|---|---|
committer | mm <mm@FreeBSD.org> | 2016-05-12 10:16:16 +0000 |
commit | 38e8840f4092f38d069f10e0098d0b3ef7b553d3 (patch) | |
tree | b8221b5b091ffc72b700d5da57daaa86ae023d82 /usr.bin/bsdcat/Makefile | |
parent | 8fc2673ccd9558e8b138810452cbddc215a38b16 (diff) | |
parent | 3404e2c539d8aa7c8a2fcf64dc5700817487fd3c (diff) | |
download | FreeBSD-src-38e8840f4092f38d069f10e0098d0b3ef7b553d3.zip FreeBSD-src-38e8840f4092f38d069f10e0098d0b3ef7b553d3.tar.gz |
MFV r299425:
Update libarchive to 3.2.0
New features:
- new bsdcat command-line utility
- LZ4 compression (in src only via external utility from ports)
- Warc format support
- 'Raw' format writer
- Zip: Support archives >4GB, entries >4GB
- Zip: Support encrypting and decrypting entries
- Zip: Support experimental streaming extension
- Identify encrypted entries in several formats
- New --clear-nochange-flags option to bsdtar tries to remove noschg and
similar flags before deleting files
- New --ignore-zeros option to bsdtar to handle concatenated tar archives
- Use multi-threaded LZMA decompression if liblzma supports it
- Expose version info for libraries used by libarchive
Patched files (fixed compiler warnings):
contrib/libarchive/cat/bsdcat.c (vendor PR #702)
contrib/libarchive/cat/bsdcat.h (vendor PR #702)
contrib/libarchive/libarchive/archive_read_support_format_mtree.c (PR #701)
contrib/libarchive/libarchive_fe/err.c (vendor PR #703)
MFC after: 1 month
Relnotes: yes
Diffstat (limited to 'usr.bin/bsdcat/Makefile')
-rw-r--r-- | usr.bin/bsdcat/Makefile | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/usr.bin/bsdcat/Makefile b/usr.bin/bsdcat/Makefile new file mode 100644 index 0000000..ce435b6 --- /dev/null +++ b/usr.bin/bsdcat/Makefile @@ -0,0 +1,31 @@ +# $FreeBSD$ + +.include <src.opts.mk> + +_LIBARCHIVEDIR= ${.CURDIR}/../../contrib/libarchive +_LIBARCHIVECONFDIR= ${.CURDIR}/../../lib/libarchive + +PROG= bsdcat +BSDCAT_VERSION_STRING= 3.2.0 + +.PATH: ${_LIBARCHIVEDIR}/cat +SRCS= bsdcat.c cmdline.c + +.PATH: ${_LIBARCHIVEDIR}/libarchive_fe +SRCS+= err.c + +CFLAGS+= -DBSDCAT_VERSION_STRING=\"${BSDCAT_VERSION_STRING}\" +CFLAGS+= -DPLATFORM_CONFIG_H=\"${_LIBARCHIVECONFDIR}/config_freebsd.h\" +CFLAGS+= -I${_LIBARCHIVEDIR}/cat -I${_LIBARCHIVEDIR}/libarchive_fe + +LIBADD= archive + +.if ${MK_ICONV} != "no" +CFLAGS+= -DHAVE_ICONV=1 -DHAVE_ICONV_H=1 -DICONV_CONST=const +.endif + +.if ${MK_TESTS} != "no" +SUBDIR+= tests +.endif + +.include <bsd.prog.mk> |