summaryrefslogtreecommitdiffstats
path: root/usr.bin/cpio
diff options
context:
space:
mode:
authormm <mm@FreeBSD.org>2013-03-22 13:36:03 +0000
committermm <mm@FreeBSD.org>2013-03-22 13:36:03 +0000
commit5ee0a7b76c4addc27bb45864cb4e0ce790a4b80e (patch)
treee741e3532b574e7c25aa9bb07c18cdb16139824f /usr.bin/cpio
parentaf89cb16bfde2fc8e93708b89daff55026d3b216 (diff)
parent366f42737cba40ceb2e83af8d17c61c0242703c5 (diff)
downloadFreeBSD-src-5ee0a7b76c4addc27bb45864cb4e0ce790a4b80e.zip
FreeBSD-src-5ee0a7b76c4addc27bb45864cb4e0ce790a4b80e.tar.gz
MFV r248590,248594:
Update libarchive to 3.1.2 Some of new features: - support for lrzip and grzip compression - support for writing tar v7 format - b64encode and uuencode filters - support for __MACOSX directory in Zip archives - support for lzop compresion (external utility)
Diffstat (limited to 'usr.bin/cpio')
-rw-r--r--usr.bin/cpio/Makefile2
-rw-r--r--usr.bin/cpio/test/Makefile20
2 files changed, 21 insertions, 1 deletions
diff --git a/usr.bin/cpio/Makefile b/usr.bin/cpio/Makefile
index d1a3cca..635f4bc 100644
--- a/usr.bin/cpio/Makefile
+++ b/usr.bin/cpio/Makefile
@@ -6,7 +6,7 @@ LIBARCHIVEDIR= ${.CURDIR}/../../contrib/libarchive
LIBARCHIVECONFDIR= ${.CURDIR}/../../lib/libarchive
PROG= bsdcpio
-BSDCPIO_VERSION_STRING= 3.0.4
+BSDCPIO_VERSION_STRING= 3.1.2
.PATH: ${LIBARCHIVEDIR}/cpio
SRCS= cpio.c cmdline.c
diff --git a/usr.bin/cpio/test/Makefile b/usr.bin/cpio/test/Makefile
index 3a17f8e..4c8a6e5 100644
--- a/usr.bin/cpio/test/Makefile
+++ b/usr.bin/cpio/test/Makefile
@@ -12,6 +12,16 @@ CPIO_SRCS+= err.c
TESTS= \
test_0.c \
test_basic.c \
+ test_cmdline.c \
+ test_extract_cpio_Z.c \
+ test_extract_cpio_bz2.c \
+ test_extract_cpio_grz.c \
+ test_extract_cpio_gz.c \
+ test_extract_cpio_lrz.c \
+ test_extract_cpio_lz.c \
+ test_extract_cpio_lzma.c \
+ test_extract_cpio_lzo.c \
+ test_extract_cpio_xz.c \
test_format_newc.c \
test_gcpio_compat.c \
test_option_0.c \
@@ -21,16 +31,22 @@ TESTS= \
test_option_L_upper.c \
test_option_Z_upper.c \
test_option_a.c \
+ test_option_b64encode.c \
test_option_c.c \
test_option_d.c \
test_option_f.c \
+ test_option_grzip.c \
test_option_help.c \
test_option_l.c \
+ test_option_lrzip.c \
test_option_lzma.c \
+ test_option_lzop.c \
test_option_m.c \
test_option_t.c \
test_option_u.c \
+ test_option_uuencode.c \
test_option_version.c \
+ test_option_xz.c \
test_option_y.c \
test_option_z.c \
test_owner_parse.c \
@@ -43,6 +59,9 @@ SRCS= list.h \
${TESTS} \
main.c
+.PATH: ${LIBARCHIVEDIR}/test_utils
+SRCS+= test_utils.c
+
CLEANFILES+= list.h bsdcpio_test
NO_MAN=yes
@@ -56,6 +75,7 @@ LDADD= -larchive -lz -lbz2 -llzma
CFLAGS+= -g -O2 -Wall
CFLAGS+= -I${.OBJDIR}
CFLAGS+= -I${LIBARCHIVEDIR}/cpio -I${LIBARCHIVEDIR}/libarchive_fe
+CFLAGS+= -I${LIBARCHIVEDIR}/test_utils
# Uncomment to link against dmalloc
#LDADD+= -L/usr/local/lib -ldmalloc
OpenPOWER on IntegriCloud