Butcher a smaller tar/pax here, which has no cpio support
authorderaadt <deraadt@openbsd.org>
Sat, 11 Jan 2014 05:37:16 +0000 (05:37 +0000)
committerderaadt <deraadt@openbsd.org>
Sat, 11 Jan 2014 05:37:16 +0000 (05:37 +0000)
ok guenther

distrib/special/Makefile
distrib/special/pax/Makefile [new file with mode: 0644]

index a38b310..883f4b0 100644 (file)
@@ -1,8 +1,8 @@
-#      $OpenBSD: Makefile,v 1.29 2014/01/09 15:02:50 deraadt Exp $
+#      $OpenBSD: Makefile,v 1.30 2014/01/11 05:37:16 deraadt Exp $
 
 SUBDIR=        libstubs \
        arch date dd dhclient dmesg ed ftp grep gzip ifconfig init \
-       kbd less md5 more mt newfs ping restore sed sysctl signify \
+       kbd less md5 more mt newfs pax ping restore sed sysctl signify \
        ztsscale
 
 install:
diff --git a/distrib/special/pax/Makefile b/distrib/special/pax/Makefile
new file mode 100644 (file)
index 0000000..d7825b3
--- /dev/null
@@ -0,0 +1,11 @@
+#      $OpenBSD: Makefile,v 1.1 2014/01/11 05:37:18 deraadt Exp $
+
+.PATH:  ${.CURDIR}/../../../bin/pax
+CFLAGS+=-DNOCPIO -I${.CURDIR}/../../../bin/pax
+
+PROG=   pax
+SRCS=  ar_io.c ar_subs.c buf_subs.c cache.c file_subs.c ftree.c\
+       gen_subs.c getoldopt.c options.c pat_rep.c pax.c sel_subs.c tables.c\
+       tar.c tty_subs.c
+
+.include <bsd.prog.mk>