]> Zhao Yanbai Git Server - minix.git/commitdiff
Replace paxtar with bsdtar
authorArun Thomas <arun@minix3.org>
Tue, 13 Jul 2010 21:35:58 +0000 (21:35 +0000)
committerArun Thomas <arun@minix3.org>
Tue, 13 Jul 2010 21:35:58 +0000 (21:35 +0000)
74 files changed:
commands/Makefile
commands/pax/Makefile
commands/tar/Makefile [moved from commands/bsdtar/Makefile with 84% similarity]
commands/tar/bsdtar.1 [moved from commands/bsdtar/bsdtar.1 with 100% similarity]
commands/tar/bsdtar.c [moved from commands/bsdtar/bsdtar.c with 100% similarity]
commands/tar/bsdtar.h [moved from commands/bsdtar/bsdtar.h with 100% similarity]
commands/tar/bsdtar_platform.h [moved from commands/bsdtar/bsdtar_platform.h with 100% similarity]
commands/tar/cmdline.c [moved from commands/bsdtar/cmdline.c with 100% similarity]
commands/tar/config.h [moved from commands/bsdtar/config.h with 100% similarity]
commands/tar/getdate.c [moved from commands/bsdtar/getdate.c with 100% similarity]
commands/tar/libarchive_fe/Makefile.inc [moved from commands/bsdtar/libarchive_fe/Makefile.inc with 100% similarity]
commands/tar/libarchive_fe/err.c [moved from commands/bsdtar/libarchive_fe/err.c with 100% similarity]
commands/tar/libarchive_fe/err.h [moved from commands/bsdtar/libarchive_fe/err.h with 100% similarity]
commands/tar/libarchive_fe/lafe_platform.h [moved from commands/bsdtar/libarchive_fe/lafe_platform.h with 100% similarity]
commands/tar/libarchive_fe/line_reader.c [moved from commands/bsdtar/libarchive_fe/line_reader.c with 100% similarity]
commands/tar/libarchive_fe/line_reader.h [moved from commands/bsdtar/libarchive_fe/line_reader.h with 100% similarity]
commands/tar/libarchive_fe/matching.c [moved from commands/bsdtar/libarchive_fe/matching.c with 100% similarity]
commands/tar/libarchive_fe/matching.h [moved from commands/bsdtar/libarchive_fe/matching.h with 100% similarity]
commands/tar/libarchive_fe/pathmatch.c [moved from commands/bsdtar/libarchive_fe/pathmatch.c with 100% similarity]
commands/tar/libarchive_fe/pathmatch.h [moved from commands/bsdtar/libarchive_fe/pathmatch.h with 100% similarity]
commands/tar/read.c [moved from commands/bsdtar/read.c with 100% similarity]
commands/tar/subst.c [moved from commands/bsdtar/subst.c with 100% similarity]
commands/tar/test/.deps/bsdtar_test-main.Po [moved from commands/bsdtar/test/.deps/bsdtar_test-main.Po with 100% similarity]
commands/tar/test/.deps/bsdtar_test-test_0.Po [moved from commands/bsdtar/test/.deps/bsdtar_test-test_0.Po with 100% similarity]
commands/tar/test/.deps/bsdtar_test-test_basic.Po [moved from commands/bsdtar/test/.deps/bsdtar_test-test_basic.Po with 100% similarity]
commands/tar/test/.deps/bsdtar_test-test_copy.Po [moved from commands/bsdtar/test/.deps/bsdtar_test-test_copy.Po with 100% similarity]
commands/tar/test/.deps/bsdtar_test-test_empty_mtree.Po [moved from commands/bsdtar/test/.deps/bsdtar_test-test_empty_mtree.Po with 100% similarity]
commands/tar/test/.deps/bsdtar_test-test_getdate.Po [moved from commands/bsdtar/test/.deps/bsdtar_test-test_getdate.Po with 100% similarity]
commands/tar/test/.deps/bsdtar_test-test_help.Po [moved from commands/bsdtar/test/.deps/bsdtar_test-test_help.Po with 100% similarity]
commands/tar/test/.deps/bsdtar_test-test_option_T_upper.Po [moved from commands/bsdtar/test/.deps/bsdtar_test-test_option_T_upper.Po with 100% similarity]
commands/tar/test/.deps/bsdtar_test-test_option_q.Po [moved from commands/bsdtar/test/.deps/bsdtar_test-test_option_q.Po with 100% similarity]
commands/tar/test/.deps/bsdtar_test-test_option_r.Po [moved from commands/bsdtar/test/.deps/bsdtar_test-test_option_r.Po with 100% similarity]
commands/tar/test/.deps/bsdtar_test-test_option_s.Po [moved from commands/bsdtar/test/.deps/bsdtar_test-test_option_s.Po with 100% similarity]
commands/tar/test/.deps/bsdtar_test-test_patterns.Po [moved from commands/bsdtar/test/.deps/bsdtar_test-test_patterns.Po with 100% similarity]
commands/tar/test/.deps/bsdtar_test-test_stdio.Po [moved from commands/bsdtar/test/.deps/bsdtar_test-test_stdio.Po with 100% similarity]
commands/tar/test/.deps/bsdtar_test-test_strip_components.Po [moved from commands/bsdtar/test/.deps/bsdtar_test-test_strip_components.Po with 100% similarity]
commands/tar/test/.deps/bsdtar_test-test_symlink_dir.Po [moved from commands/bsdtar/test/.deps/bsdtar_test-test_symlink_dir.Po with 100% similarity]
commands/tar/test/.deps/bsdtar_test-test_version.Po [moved from commands/bsdtar/test/.deps/bsdtar_test-test_version.Po with 100% similarity]
commands/tar/test/.deps/bsdtar_test-test_windows.Po [moved from commands/bsdtar/test/.deps/bsdtar_test-test_windows.Po with 100% similarity]
commands/tar/test/CMakeLists.txt [moved from commands/bsdtar/test/CMakeLists.txt with 100% similarity]
commands/tar/test/config.sh [moved from commands/bsdtar/test/config.sh with 100% similarity]
commands/tar/test/list.h [moved from commands/bsdtar/test/list.h with 100% similarity]
commands/tar/test/main.c [moved from commands/bsdtar/test/main.c with 100% similarity]
commands/tar/test/test-acl.sh [moved from commands/bsdtar/test/test-acl.sh with 100% similarity]
commands/tar/test/test-basic.sh [moved from commands/bsdtar/test/test-basic.sh with 100% similarity]
commands/tar/test/test-deep-dir.sh [moved from commands/bsdtar/test/test-deep-dir.sh with 100% similarity]
commands/tar/test/test-flags.sh [moved from commands/bsdtar/test/test-flags.sh with 100% similarity]
commands/tar/test/test-nodump.sh [moved from commands/bsdtar/test/test-nodump.sh with 100% similarity]
commands/tar/test/test-overwrite.sh [moved from commands/bsdtar/test/test-overwrite.sh with 100% similarity]
commands/tar/test/test-utf8.sh [moved from commands/bsdtar/test/test-utf8.sh with 100% similarity]
commands/tar/test/test.h [moved from commands/bsdtar/test/test.h with 100% similarity]
commands/tar/test/test_0.c [moved from commands/bsdtar/test/test_0.c with 100% similarity]
commands/tar/test/test_basic.c [moved from commands/bsdtar/test/test_basic.c with 100% similarity]
commands/tar/test/test_copy.c [moved from commands/bsdtar/test/test_copy.c with 100% similarity]
commands/tar/test/test_empty_mtree.c [moved from commands/bsdtar/test/test_empty_mtree.c with 100% similarity]
commands/tar/test/test_getdate.c [moved from commands/bsdtar/test/test_getdate.c with 100% similarity]
commands/tar/test/test_help.c [moved from commands/bsdtar/test/test_help.c with 100% similarity]
commands/tar/test/test_option_T_upper.c [moved from commands/bsdtar/test/test_option_T_upper.c with 100% similarity]
commands/tar/test/test_option_q.c [moved from commands/bsdtar/test/test_option_q.c with 100% similarity]
commands/tar/test/test_option_r.c [moved from commands/bsdtar/test/test_option_r.c with 100% similarity]
commands/tar/test/test_option_s.c [moved from commands/bsdtar/test/test_option_s.c with 100% similarity]
commands/tar/test/test_patterns.c [moved from commands/bsdtar/test/test_patterns.c with 100% similarity]
commands/tar/test/test_patterns_2.tar.uu [moved from commands/bsdtar/test/test_patterns_2.tar.uu with 100% similarity]
commands/tar/test/test_patterns_3.tar.uu [moved from commands/bsdtar/test/test_patterns_3.tar.uu with 100% similarity]
commands/tar/test/test_patterns_4.tar.uu [moved from commands/bsdtar/test/test_patterns_4.tar.uu with 100% similarity]
commands/tar/test/test_stdio.c [moved from commands/bsdtar/test/test_stdio.c with 100% similarity]
commands/tar/test/test_strip_components.c [moved from commands/bsdtar/test/test_strip_components.c with 100% similarity]
commands/tar/test/test_symlink_dir.c [moved from commands/bsdtar/test/test_symlink_dir.c with 100% similarity]
commands/tar/test/test_version.c [moved from commands/bsdtar/test/test_version.c with 100% similarity]
commands/tar/test/test_windows.c [moved from commands/bsdtar/test/test_windows.c with 100% similarity]
commands/tar/tree.c [moved from commands/bsdtar/tree.c with 100% similarity]
commands/tar/tree.h [moved from commands/bsdtar/tree.h with 100% similarity]
commands/tar/util.c [moved from commands/bsdtar/util.c with 100% similarity]
commands/tar/write.c [moved from commands/bsdtar/write.c with 100% similarity]

index d8160d52d9c46f94f2afcd463626c5eb301cf445..393677698b56b8ad6ec7d181e10b533de739524a 100644 (file)
@@ -4,7 +4,7 @@
 
 SUBDIR=        aal add_route adduser advent arp ash at autil awk \
        backup badblocks banner basename bigmake binpackage \
-       binpackages binsizes bsdtar bzip2 bzip2recover cal calendar \
+       binpackages binsizes bzip2 bzip2recover cal calendar \
        cat cawf cd  cdprobe checkhier chmem \
        chmod chown chroot ci cksum cleantmp clear cmp co \
        comm compress cp crc cron crontab cut datasizes date \
@@ -27,7 +27,7 @@ SUBDIR=       aal add_route adduser advent arp ash at autil awk \
        rotate rsh rshd sed service setup shar size \
        sleep slip sort spell split srccrc stat strings strip \
        stty su sum svclog swapfs swifi sync synctree sysenv \
-       syslogd tail talk talkd tcpd tcpdp tcpstat tee telnet \
+       syslogd tail talk talkd tar tcpd tcpdp tcpstat tee telnet \
        telnetd term termcap tget time tinyhalt top touch tr \
        truncate tsort ttt tty udpstat umount uname unexpand \
        uniq unstack update urlget uud uue version vol wc \
index 53f485238c6bc596313d8e0f0e74ba00cf7208ea..a8673ee7743c0e447ae0fb14bc65e93ae793198d 100644 (file)
@@ -30,9 +30,8 @@ SRCS= ar_io.c ar_subs.c buf_subs.c cache.c cpio.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 fgetln.c
 
-MAN=   pax.1 tar.1 cpio.1
+MAN=   pax.1 cpio.1
 
-LINKS+= ${BINDIR}/pax ${BINDIR}/tar
 LINKS+= ${BINDIR}/pax ${BINDIR}/cpio
 
 CPPFLAGS+= -DNET2_STAT=1
similarity index 84%
rename from commands/bsdtar/Makefile
rename to commands/tar/Makefile
index 19c5e4a29fc4712e75736142d6cc921f03a38ab8..8f5735212328e9ad52c5646c66fdc7f0b65813ee 100644 (file)
@@ -16,4 +16,7 @@ LDADD+=       -larchive -lbz2 -lz
 CPPFLAGS+= -DHAVE_CONFIG_H
 CPPFLAGS+= -I${.CURDIR} -I${.CURDIR}/libarchive_fe
 
+LINKS+= ${BINDIR}/bsdtar ${BINDIR}/tar
+MLINKS+= bsdtar.1 tar.1
+
 .include <bsd.prog.mk>
similarity index 100%
rename from commands/bsdtar/read.c
rename to commands/tar/read.c
similarity index 100%
rename from commands/bsdtar/subst.c
rename to commands/tar/subst.c
similarity index 100%
rename from commands/bsdtar/tree.c
rename to commands/tar/tree.c
similarity index 100%
rename from commands/bsdtar/tree.h
rename to commands/tar/tree.h
similarity index 100%
rename from commands/bsdtar/util.c
rename to commands/tar/util.c
similarity index 100%
rename from commands/bsdtar/write.c
rename to commands/tar/write.c