summaryrefslogtreecommitdiffstats
path: root/usr.bin/cpio
diff options
context:
space:
mode:
authormm <mm@FreeBSD.org>2012-07-28 06:38:44 +0000
committermm <mm@FreeBSD.org>2012-07-28 06:38:44 +0000
commit11bb7fcf7b175da111e710d49b6e1c30153b625b (patch)
tree1ed0c7ff98605ecfbedcfa8d00cd1a29e2dfebe6 /usr.bin/cpio
parentf694295168072660e04cabb712367c5a73b59885 (diff)
parente7b24010c4d2190a1465594620e629e469c522f8 (diff)
downloadFreeBSD-src-11bb7fcf7b175da111e710d49b6e1c30153b625b.zip
FreeBSD-src-11bb7fcf7b175da111e710d49b6e1c30153b625b.tar.gz
Update libarchive to 3.0.4
Diffstat (limited to 'usr.bin/cpio')
-rw-r--r--usr.bin/cpio/Makefile4
-rw-r--r--usr.bin/cpio/test/Makefile11
2 files changed, 7 insertions, 8 deletions
diff --git a/usr.bin/cpio/Makefile b/usr.bin/cpio/Makefile
index 13579c1..d1a3cca 100644
--- a/usr.bin/cpio/Makefile
+++ b/usr.bin/cpio/Makefile
@@ -6,13 +6,13 @@ LIBARCHIVEDIR= ${.CURDIR}/../../contrib/libarchive
LIBARCHIVECONFDIR= ${.CURDIR}/../../lib/libarchive
PROG= bsdcpio
-BSDCPIO_VERSION_STRING= 3.0.3
+BSDCPIO_VERSION_STRING= 3.0.4
.PATH: ${LIBARCHIVEDIR}/cpio
SRCS= cpio.c cmdline.c
.PATH: ${LIBARCHIVEDIR}/libarchive_fe
-SRCS+= err.c line_reader.c matching.c pathmatch.c
+SRCS+= err.c line_reader.c
CFLAGS+= -DBSDCPIO_VERSION_STRING=\"${BSDCPIO_VERSION_STRING}\"
CFLAGS+= -DPLATFORM_CONFIG_H=\"${LIBARCHIVECONFDIR}/config_freebsd.h\"
diff --git a/usr.bin/cpio/test/Makefile b/usr.bin/cpio/test/Makefile
index 1da6b1c..3a17f8e 100644
--- a/usr.bin/cpio/test/Makefile
+++ b/usr.bin/cpio/test/Makefile
@@ -6,7 +6,7 @@ LIBARCHIVEDIR= ${.CURDIR}/../../../contrib/libarchive
CPIO_SRCS= cmdline.c
.PATH: ${LIBARCHIVEDIR}/libarchive_fe
-CPIO_SRCS+= err.c pathmatch.c
+CPIO_SRCS+= err.c
.PATH: ${LIBARCHIVEDIR}/cpio/test
TESTS= \
@@ -35,8 +35,7 @@ TESTS= \
test_option_z.c \
test_owner_parse.c \
test_passthrough_dotdot.c \
- test_passthrough_reverse.c \
- test_pathmatch.c
+ test_passthrough_reverse.c
# Build the test program
SRCS= list.h \
@@ -50,8 +49,8 @@ NO_MAN=yes
PROG=bsdcpio_test
DPADD=${LIBARCHIVE} ${LIBBZ2} ${LIBZ} ${LIBLZMA}
-CFLAGS+= -DPLATFORM_CONFIG_H=\"${.CURDIR}/../config_freebsd.h\"
-CFLAGS+= -I${.CURDIR}/..
+CFLAGS+= -DPLATFORM_CONFIG_H=\"${.CURDIR}/../../../lib/libarchive/config_freebsd.h\"
+CFLAGS+= -I${.CURDIR}/../../../lib/libarchive -I${.OBJDIR}
LDADD= -larchive -lz -lbz2 -llzma
#CFLAGS+= -static -g -O2 -Wall
CFLAGS+= -g -O2 -Wall
@@ -74,6 +73,6 @@ clean:
rm -f ${CLEANFILES}
rm -f *~
-chmod -R +w /tmp/bsdcpio_test.*
- rm -rf /tmp/bsdcpio_test
+ rm -rf /tmp/bsdcpio_test.*
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud