pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/archivers/libarchive/files Merge again...
details: https://anonhg.NetBSD.org/pkgsrc/rev/61f12da0df5f
branches: trunk
changeset: 572108:61f12da0df5f
user: joerg <joerg%pkgsrc.org@localhost>
date: Sat Feb 20 03:54:07 2010 +0000
description:
Merge again...
diffstat:
archivers/libarchive/files/COPYING | 60 +
archivers/libarchive/files/INSTALL | 30 +
archivers/libarchive/files/Makefile.am | 624 +
archivers/libarchive/files/Makefile.in | 6980 ++
archivers/libarchive/files/NEWS | 525 +
archivers/libarchive/files/README | 137 +
archivers/libarchive/files/aclocal.m4 | 8850 +++
archivers/libarchive/files/config.h.in | 747 +
archivers/libarchive/files/configure | 27210 ++++++++++
archivers/libarchive/files/configure.ac | 486 +
archivers/libarchive/files/contrib/README | 32 +
archivers/libarchive/files/contrib/libarchive.1aix53.spec | 187 +
archivers/libarchive/files/contrib/libarchive.spec | 174 +
archivers/libarchive/files/contrib/libarchive_autodetect-st_lib_archive.m4 | 154 +
archivers/libarchive/files/contrib/psota-benchmark/results.txt | 122 +
archivers/libarchive/files/contrib/psota-benchmark/tcp.sh | 104 +
archivers/libarchive/files/cpio/bsdcpio.1 | 405 +
archivers/libarchive/files/cpio/cmdline.c | 369 +
archivers/libarchive/files/cpio/cpio.c | 1267 +
archivers/libarchive/files/cpio/cpio.h | 109 +
archivers/libarchive/files/cpio/cpio_platform.h | 77 +
archivers/libarchive/files/cpio/test/list.h | 27 +
archivers/libarchive/files/cpio/test/main.c | 2124 +
archivers/libarchive/files/cpio/test/test.h | 286 +
archivers/libarchive/files/cpio/test/test_0.c | 67 +
archivers/libarchive/files/cpio/test/test_basic.c | 173 +
archivers/libarchive/files/cpio/test/test_format_newc.c | 294 +
archivers/libarchive/files/cpio/test/test_gcpio_compat.c | 108 +
archivers/libarchive/files/cpio/test/test_gcpio_compat_ref.bin.uu | 16 +
archivers/libarchive/files/cpio/test/test_gcpio_compat_ref.crc.uu | 27 +
archivers/libarchive/files/cpio/test/test_gcpio_compat_ref.newc.uu | 27 +
archivers/libarchive/files/cpio/test/test_gcpio_compat_ref.ustar.uu | 84 +
archivers/libarchive/files/cpio/test/test_option_a.c | 154 +
archivers/libarchive/files/cpio/test/test_option_c.c | 221 +
archivers/libarchive/files/cpio/test/test_option_d.c | 64 +
archivers/libarchive/files/cpio/test/test_option_f.c | 76 +
archivers/libarchive/files/cpio/test/test_option_f.cpio.uu | 16 +
archivers/libarchive/files/cpio/test/test_option_help.c | 84 +
archivers/libarchive/files/cpio/test/test_option_m.c | 63 +
archivers/libarchive/files/cpio/test/test_option_m.cpio.uu | 16 +
archivers/libarchive/files/cpio/test/test_option_t.c | 95 +
archivers/libarchive/files/cpio/test/test_option_t.cpio.uu | 16 +
archivers/libarchive/files/cpio/test/test_option_t.stdout.uu | 5 +
archivers/libarchive/files/cpio/test/test_option_tv.stdout.uu | 6 +
archivers/libarchive/files/cpio/test/test_option_u.c | 81 +
archivers/libarchive/files/cpio/test/test_option_version.c | 109 +
archivers/libarchive/files/cpio/test/test_option_y.c | 57 +
archivers/libarchive/files/cpio/test/test_option_z.c | 56 +
archivers/libarchive/files/cpio/test/test_owner_parse.c | 121 +
archivers/libarchive/files/cpio/test/test_pathmatch.c | 243 +
archivers/libarchive/files/doc/man/Makefile | 46 +
archivers/libarchive/files/doc/man/archive_entry.3 | 519 +
archivers/libarchive/files/doc/man/archive_read.3 | 733 +
archivers/libarchive/files/doc/man/archive_util.3 | 163 +
archivers/libarchive/files/doc/man/archive_write.3 | 670 +
archivers/libarchive/files/doc/man/archive_write_disk.3 | 386 +
archivers/libarchive/files/doc/man/bsdcpio.1 | 446 +
archivers/libarchive/files/doc/man/bsdtar.1 | 1024 +
archivers/libarchive/files/doc/man/cpio.5 | 329 +
archivers/libarchive/files/doc/man/libarchive-formats.5 | 341 +
archivers/libarchive/files/doc/man/libarchive.3 | 315 +
archivers/libarchive/files/doc/man/libarchive_internals.3 | 361 +
archivers/libarchive/files/doc/man/mtree.5 | 282 +
archivers/libarchive/files/doc/man/tar.5 | 869 +
archivers/libarchive/files/doc/mdoc2man.awk | 391 +
archivers/libarchive/files/doc/text/Makefile | 46 +
archivers/libarchive/files/doc/update.sh | 107 +
archivers/libarchive/files/examples/minitar/README | 12 +
archivers/libarchive/files/examples/minitar/minitar.c | 421 +
archivers/libarchive/files/examples/minitar/tree.c | 423 +
archivers/libarchive/files/examples/minitar/tree.h | 78 +
archivers/libarchive/files/examples/tarfilter.c | 113 +
archivers/libarchive/files/examples/untar.c | 262 +
archivers/libarchive/files/libarchive/archive.h | 741 +
archivers/libarchive/files/libarchive/archive_check_magic.c | 134 +
archivers/libarchive/files/libarchive/archive_endian.h | 162 +
archivers/libarchive/files/libarchive/archive_entry.3 | 433 +
archivers/libarchive/files/libarchive/archive_entry.c | 2202 +
archivers/libarchive/files/libarchive/archive_entry.h | 524 +
archivers/libarchive/files/libarchive/archive_entry_copy_stat.c | 77 +
archivers/libarchive/files/libarchive/archive_entry_link_resolver.c | 405 +
archivers/libarchive/files/libarchive/archive_entry_private.h | 184 +
archivers/libarchive/files/libarchive/archive_entry_stat.c | 118 +
archivers/libarchive/files/libarchive/archive_entry_strmode.c | 87 +
archivers/libarchive/files/libarchive/archive_platform.h | 165 +
archivers/libarchive/files/libarchive/archive_private.h | 124 +
archivers/libarchive/files/libarchive/archive_read.3 | 714 +
archivers/libarchive/files/libarchive/archive_read.c | 1249 +
archivers/libarchive/files/libarchive/archive_read_data_into_fd.c | 93 +
archivers/libarchive/files/libarchive/archive_read_extract.c | 182 +
archivers/libarchive/files/libarchive/archive_read_open_fd.c | 186 +
archivers/libarchive/files/libarchive/archive_read_open_file.c | 165 +
archivers/libarchive/files/libarchive/archive_read_open_filename.c | 268 +
archivers/libarchive/files/libarchive/archive_read_open_memory.c | 156 +
archivers/libarchive/files/libarchive/archive_read_private.h | 199 +
archivers/libarchive/files/libarchive/archive_read_support_compression_all.c | 60 +
archivers/libarchive/files/libarchive/archive_read_support_compression_bzip2.c | 353 +
archivers/libarchive/files/libarchive/archive_read_support_compression_compress.c | 444 +
archivers/libarchive/files/libarchive/archive_read_support_compression_gzip.c | 465 +
archivers/libarchive/files/libarchive/archive_read_support_compression_none.c | 40 +
archivers/libarchive/files/libarchive/archive_read_support_compression_program.c | 459 +
archivers/libarchive/files/libarchive/archive_read_support_format_all.c | 43 +
archivers/libarchive/files/libarchive/archive_read_support_format_ar.c | 584 +
archivers/libarchive/files/libarchive/archive_read_support_format_cpio.c | 777 +
archivers/libarchive/files/libarchive/archive_read_support_format_empty.c | 93 +
archivers/libarchive/files/libarchive/archive_read_support_format_iso9660.c | 2830 +
archivers/libarchive/files/libarchive/archive_read_support_format_mtree.c | 1304 +
archivers/libarchive/files/libarchive/archive_read_support_format_tar.c | 2418 +
archivers/libarchive/files/libarchive/archive_read_support_format_zip.c | 903 +
archivers/libarchive/files/libarchive/archive_string.c | 453 +
archivers/libarchive/files/libarchive/archive_string.h | 148 +
archivers/libarchive/files/libarchive/archive_string_sprintf.c | 164 +
archivers/libarchive/files/libarchive/archive_util.3 | 160 +
archivers/libarchive/files/libarchive/archive_util.c | 391 +
archivers/libarchive/files/libarchive/archive_virtual.c | 94 +
archivers/libarchive/files/libarchive/archive_windows.c | 1280 +
archivers/libarchive/files/libarchive/archive_windows.h | 422 +
archivers/libarchive/files/libarchive/archive_write.3 | 629 +
archivers/libarchive/files/libarchive/archive_write.c | 466 +
archivers/libarchive/files/libarchive/archive_write_disk.3 | 375 +
archivers/libarchive/files/libarchive/archive_write_disk.c | 2628 +
archivers/libarchive/files/libarchive/archive_write_disk_private.h | 38 +
archivers/libarchive/files/libarchive/archive_write_disk_set_standard_lookup.c | 242 +
archivers/libarchive/files/libarchive/archive_write_open_fd.c | 141 +
archivers/libarchive/files/libarchive/archive_write_open_file.c | 105 +
archivers/libarchive/files/libarchive/archive_write_open_filename.c | 162 +
archivers/libarchive/files/libarchive/archive_write_open_memory.c | 126 +
archivers/libarchive/files/libarchive/archive_write_private.h | 122 +
archivers/libarchive/files/libarchive/archive_write_set_compression_bzip2.c | 408 +
archivers/libarchive/files/libarchive/archive_write_set_compression_compress.c | 492 +
archivers/libarchive/files/libarchive/archive_write_set_compression_gzip.c | 477 +
archivers/libarchive/files/libarchive/archive_write_set_compression_none.c | 257 +
archivers/libarchive/files/libarchive/archive_write_set_compression_program.c | 347 +
archivers/libarchive/files/libarchive/archive_write_set_format.c | 72 +
archivers/libarchive/files/libarchive/archive_write_set_format_ar.c | 550 +
archivers/libarchive/files/libarchive/archive_write_set_format_by_name.c | 76 +
archivers/libarchive/files/libarchive/archive_write_set_format_cpio.c | 344 +
archivers/libarchive/files/libarchive/archive_write_set_format_cpio_newc.c | 295 +
archivers/libarchive/files/libarchive/archive_write_set_format_pax.c | 1386 +
archivers/libarchive/files/libarchive/archive_write_set_format_shar.c | 626 +
archivers/libarchive/files/libarchive/archive_write_set_format_ustar.c | 587 +
archivers/libarchive/files/libarchive/config_freebsd.h | 154 +
archivers/libarchive/files/libarchive/cpio.5 | 325 +
archivers/libarchive/files/libarchive/filter_fork.c | 161 +
archivers/libarchive/files/libarchive/filter_fork.h | 41 +
archivers/libarchive/files/libarchive/libarchive-formats.5 | 355 +
archivers/libarchive/files/libarchive/libarchive.3 | 331 +
archivers/libarchive/files/libarchive/libarchive_internals.3 | 366 +
archivers/libarchive/files/libarchive/mtree.5 | 269 +
archivers/libarchive/files/libarchive/tar.5 | 831 +
archivers/libarchive/files/libarchive/test/list.h | 106 +
archivers/libarchive/files/libarchive/test/main.c | 2114 +
archivers/libarchive/files/libarchive/test/read_open_memory.c | 167 +
archivers/libarchive/files/libarchive/test/test.h | 302 +
archivers/libarchive/files/libarchive/test/test_acl_basic.c | 229 +
archivers/libarchive/files/libarchive/test/test_acl_pax.c | 517 +
archivers/libarchive/files/libarchive/test/test_archive_api_feature.c | 76 +
archivers/libarchive/files/libarchive/test/test_bad_fd.c | 41 +
archivers/libarchive/files/libarchive/test/test_compat_gtar.c | 119 +
archivers/libarchive/files/libarchive/test/test_compat_tar_hardlink.c | 108 +
archivers/libarchive/files/libarchive/test/test_compat_tar_hardlink_1.tar.uu | 39 +
archivers/libarchive/files/libarchive/test/test_compat_zip.c | 80 +
archivers/libarchive/files/libarchive/test/test_compat_zip_1.zip.uu | 15 +
archivers/libarchive/files/libarchive/test/test_empty_write.c | 120 +
archivers/libarchive/files/libarchive/test/test_entry.c | 891 +
archivers/libarchive/files/libarchive/test/test_entry_strmode.c | 71 +
archivers/libarchive/files/libarchive/test/test_link_resolver.c | 205 +
archivers/libarchive/files/libarchive/test/test_pax_filename_encoding.c | 333 +
archivers/libarchive/files/libarchive/test/test_read_compress_program.c | 84 +
archivers/libarchive/files/libarchive/test/test_read_data_large.c | 125 +
archivers/libarchive/files/libarchive/test/test_read_extract.c | 168 +
archivers/libarchive/files/libarchive/test/test_read_format_ar.c | 87 +
archivers/libarchive/files/libarchive/test/test_read_format_cpio_bin.c | 64 +
archivers/libarchive/files/libarchive/test/test_read_format_cpio_bin_Z.c | 61 +
archivers/libarchive/files/libarchive/test/test_read_format_cpio_bin_bz2.c | 58 +
archivers/libarchive/files/libarchive/test/test_read_format_cpio_bin_gz.c | 61 +
archivers/libarchive/files/libarchive/test/test_read_format_cpio_odc.c | 68 +
archivers/libarchive/files/libarchive/test/test_read_format_cpio_svr4_gzip.c | 61 +
archivers/libarchive/files/libarchive/test/test_read_format_cpio_svr4c_Z.c | 62 +
archivers/libarchive/files/libarchive/test/test_read_format_empty.c | 47 +
archivers/libarchive/files/libarchive/test/test_read_format_gtar_gz.c | 60 +
archivers/libarchive/files/libarchive/test/test_read_format_gtar_sparse.c | 318 +
archivers/libarchive/files/libarchive/test/test_read_format_gtar_sparse_1_17_posix10_modified.tar.uu | 1370 +
archivers/libarchive/files/libarchive/test/test_read_format_iso_gz.c | 52 +
archivers/libarchive/files/libarchive/test/test_read_format_isorr_bz2.c | 203 +
archivers/libarchive/files/libarchive/test/test_read_format_mtree.c | 143 +
archivers/libarchive/files/libarchive/test/test_read_format_pax_bz2.c | 66 +
archivers/libarchive/files/libarchive/test/test_read_format_tar.c | 480 +
archivers/libarchive/files/libarchive/test/test_read_format_tar_empty_filename.c | 66 +
archivers/libarchive/files/libarchive/test/test_read_format_tar_empty_filename.tar.uu | 39 +
archivers/libarchive/files/libarchive/test/test_read_format_tbz.c | 59 +
archivers/libarchive/files/libarchive/test/test_read_format_tgz.c | 60 +
archivers/libarchive/files/libarchive/test/test_read_format_tz.c | 61 +
archivers/libarchive/files/libarchive/test/test_read_format_zip.c | 92 +
archivers/libarchive/files/libarchive/test/test_read_format_zip.zip.uu | 14 +
archivers/libarchive/files/libarchive/test/test_read_large.c | 93 +
archivers/libarchive/files/libarchive/test/test_read_pax_truncated.c | 288 +
archivers/libarchive/files/libarchive/test/test_read_position.c | 94 +
archivers/libarchive/files/libarchive/test/test_read_truncated.c | 149 +
archivers/libarchive/files/libarchive/test/test_tar_filenames.c | 186 +
archivers/libarchive/files/libarchive/test/test_tar_large.c | 312 +
archivers/libarchive/files/libarchive/test/test_ustar_filenames.c | 191 +
archivers/libarchive/files/libarchive/test/test_write_compress.c | 102 +
archivers/libarchive/files/libarchive/test/test_write_compress_program.c | 118 +
archivers/libarchive/files/libarchive/test/test_write_disk.c | 332 +
archivers/libarchive/files/libarchive/test/test_write_disk_hardlink.c | 219 +
archivers/libarchive/files/libarchive/test/test_write_disk_perms.c | 457 +
archivers/libarchive/files/libarchive/test/test_write_disk_secure.c | 215 +
archivers/libarchive/files/libarchive/test/test_write_format_ar.c | 209 +
archivers/libarchive/files/libarchive/test/test_write_format_cpio.c | 194 +
archivers/libarchive/files/libarchive/test/test_write_format_cpio_empty.c | 75 +
archivers/libarchive/files/libarchive/test/test_write_format_cpio_newc.c | 214 +
archivers/libarchive/files/libarchive/test/test_write_format_cpio_odc.c | 241 +
archivers/libarchive/files/libarchive/test/test_write_format_shar_empty.c | 58 +
archivers/libarchive/files/libarchive/test/test_write_format_tar.c | 114 +
archivers/libarchive/files/libarchive/test/test_write_format_tar_empty.c | 92 +
archivers/libarchive/files/libarchive/test/test_write_format_tar_ustar.c | 347 +
archivers/libarchive/files/libarchive/test/test_write_open_memory.c | 76 +
archivers/libarchive/files/tar/bsdtar.1 | 921 +
archivers/libarchive/files/tar/bsdtar.c | 734 +
archivers/libarchive/files/tar/bsdtar.h | 158 +
archivers/libarchive/files/tar/bsdtar_platform.h | 132 +
archivers/libarchive/files/tar/getdate.c | 1037 +
archivers/libarchive/files/tar/read.c | 437 +
archivers/libarchive/files/tar/subst.c | 289 +
archivers/libarchive/files/tar/test/main.c | 2226 +
archivers/libarchive/files/tar/test/test.h | 289 +
archivers/libarchive/files/tar/test/test_0.c | 67 +
archivers/libarchive/files/tar/test/test_basic.c | 115 +
archivers/libarchive/files/tar/test/test_copy.c | 372 +
archivers/libarchive/files/tar/test/test_getdate.c | 80 +
archivers/libarchive/files/tar/test/test_help.c | 84 +
archivers/libarchive/files/tar/test/test_patterns.c | 184 +
archivers/libarchive/files/tar/test/test_stdio.c | 125 +
archivers/libarchive/files/tar/test/test_version.c | 97 +
archivers/libarchive/files/tar/tree.c | 821 +
archivers/libarchive/files/tar/tree.h | 141 +
archivers/libarchive/files/tar/util.c | 559 +
archivers/libarchive/files/tar/write.c | 1134 +
239 files changed, 121879 insertions(+), 0 deletions(-)
diffs (truncated from 122838 to 300 lines):
diff -r d88fd0f4b4e7 -r 61f12da0df5f archivers/libarchive/files/COPYING
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/libarchive/files/COPYING Sat Feb 20 03:54:07 2010 +0000
@@ -0,0 +1,60 @@
+The libarchive distribution as a whole is Copyright by Tim Kientzle
+and is subject to the copyright notice reproduced at the bottom of
+this file.
+
+Each individual file in this distribution should have a clear
+copyright/licensing statement at the beginning of the file. If any do
+not, please let me know and I will rectify it. The following is
+intended to summarize the copyright status of the individual files;
+the actual statements in the files are controlling.
+
+* Except as listed below, all C sources (including .c and .h files)
+ and documentation files are subject to the copyright notice reproduced
+ at the bottom of this file.
+
+* The following source files are also subject in whole or in part to
+ a 3-clause UC Regents copyright; please read the individual source
+ files for details:
+ libarchive/archive_entry.c
+ libarchive/archive_read_support_compression_compress.c
+ libarchive/archive_write_set_compression_compress.c
+ libarchive/mtree.5
+ tar/matching.c
+
+* The following source files are in the public domain:
+ tar/getdate.c
+
+* The build files---including Makefiles, configure scripts,
+ and auxiliary scripts used as part of the compile process---have
+ widely varying licensing terms. Please check individual files before
+ distributing them to see if those restrictions apply to you.
+
+I intend for all new source code to use the license below and hope over
+time to replace code with other licenses with new implementations that
+do use the license below. The varying licensing of the build scripts
+seems to be an unavoidable mess.
+
+
+Copyright (c) 2003-2009 <author(s)>
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer
+ in this position and unchanged.
+2. Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+
+THIS SOFTWARE IS PROVIDED BY THE AUTHOR(S) ``AS IS'' AND ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+IN NO EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY DIRECT, INDIRECT,
+INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
+NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff -r d88fd0f4b4e7 -r 61f12da0df5f archivers/libarchive/files/INSTALL
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/libarchive/files/INSTALL Sat Feb 20 03:54:07 2010 +0000
@@ -0,0 +1,30 @@
+More complete build documentation is available on the libarchive
+Wiki: http://libarchive.googlecode.com/
+
+On most Unix-like systems, you should be able to install libarchive,
+bsdtar, and bsdcpio using the following common steps:
+ ./configure
+ make
+ make install
+
+If you need to customize the target directories or otherwise adjust
+the build setting, use
+ ./configure --help
+to list the configure options.
+
+If you are developing libarchive and need to update the
+configure script and other build files:
+ /bin/sh build/autogen.sh
+
+To create a distribution, please use the 'distcheck' target:
+ /bin/sh build/autogen.sh && ./configure && make distcheck
+
+On non-Unix-like systems, use the "cmake" utility (available from
+http://cmake.org/) to generate suitable build files for your platform.
+Cmake requires the name of the directory containing CmakeLists.txt and
+the "generator" to use for your build environment. For example, to
+build with Xcode on Mac OS, you can use the following command:
+ cmake -G "Xcode" ~/libarchive-download-dir/
+The result will be appropriate makefiles, solution files, or project
+files that can be used with the corresponding development tool.
+See the libarchive Wiki or the cmake site for further documentation.
\ No newline at end of file
diff -r d88fd0f4b4e7 -r 61f12da0df5f archivers/libarchive/files/Makefile.am
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/libarchive/files/Makefile.am Sat Feb 20 03:54:07 2010 +0000
@@ -0,0 +1,624 @@
+## Process this file with automake to produce Makefile.in
+
+AUTOMAKE_OPTIONS= foreign subdir-objects
+ACLOCAL_AMFLAGS = -I build/autoconf
+
+#
+# What to build and install
+#
+lib_LTLIBRARIES= libarchive.la
+noinst_LTLIBRARIES= libarchive_fe.la
+bin_PROGRAMS= $(bsdtar_programs) $(bsdcpio_programs)
+man_MANS= $(libarchive_man_MANS) $(bsdtar_man_MANS) $(bsdcpio_man_MANS)
+BUILT_SOURCES= libarchive/test/list.h tar/test/list.h cpio/test/list.h
+
+#
+# What to test: We always test libarchive, test bsdtar and bsdcpio only
+# if we built them.
+#
+check_PROGRAMS= libarchive_test $(bsdtar_test_programs) $(bsdcpio_test_programs)
+TESTS= libarchive_test $(bsdtar_test_programs) $(bsdcpio_test_programs)
+TESTS_ENVIRONMENT= $(libarchive_TESTS_ENVIRONMENT) $(bsdtar_TESTS_ENVIRONMENT) $(bsdcpio_TESTS_ENVIRONMENT)
+# Always build and test both bsdtar and bsdcpio as part of 'distcheck'
+DISTCHECK_CONFIGURE_FLAGS = --enable-bsdtar --enable-bsdcpio
+# Uncommenting this line can help diagnose some errors. This is ordinarily
+# enabled in the libarchive development branch but is disabled
+# for libarchive production releases.
+#AM_CFLAGS=-Wall -Werror
+PLATFORMCPPFLAGS = @PLATFORMCPPFLAGS@
+AM_CPPFLAGS=$(PLATFORMCPPFLAGS)
+
+#
+# What to include in the distribution
+#
+EXTRA_DIST= \
+ CMakeLists.txt \
+ build/autogen.sh \
+ build/bump-version.sh \
+ build/clean.sh \
+ build/cmake \
+ build/version \
+ build/windows \
+ contrib \
+ doc \
+ examples \
+ $(libarchive_EXTRA_DIST) \
+ $(libarchive_test_EXTRA_DIST) \
+ $(bsdtar_EXTRA_DIST) \
+ $(bsdtar_test_EXTRA_DIST) \
+ $(bsdcpio_EXTRA_DIST) \
+ $(bsdcpio_test_EXTRA_DIST)
+
+# a) Clean out some unneeded files and directories
+# b) Collect all documentation and format it for distribution.
+dist-hook:
+ rm -rf `find $(distdir) -name CVS -type d`
+ rm -rf `find $(distdir) -name .svn -type d`
+ rm -f `find $(distdir) -name '*~'`
+ rm -f `find $(distdir) -name '*.out'`
+ rm -f `find $(distdir) -name '*.core'`
+ -rm -f $(distdir)/*/Makefile $(distdir)/*/*/Makefile
+ cd $(distdir)/doc && /bin/sh update.sh
+
+# Verify cmake builds as part of the acceptance
+distcheck-hook:
+ mkdir $(distdir)/_build/cmtest
+ cd $(distdir)/_build/cmtest && cmake ../.. && make && make test
+ rm -rf $(distdir)/_build/cmtest
+
+#
+# Extra rules for cleanup
+#
+DISTCLEANFILES= \
+ libarchive/test/list.h \
+ tar/test/list.h \
+ cpio/test/list.h
+
+distclean-local:
+ -rm -rf .ref
+ -rm -rf autom4te.cache/
+ -rm -f *~
+ -[ -f libarchive/Makefile ] && cd libarchive && make clean
+ -[ -f libarchive/test/Makefile ] && cd libarchive/test && make clean
+ -[ -f tar/Makefile ] && cd tar && make clean
+ -[ -f tar/test/Makefile ] && cd tar/test && make clean
+ -[ -f cpio/Makefile ] && cd cpio && make clean
+ -[ -f cpio/test/Makefile ] && cd cpio/test && make clean
+
+#
+# Libarchive headers, source, etc.
+#
+#
+
+include_HEADERS= libarchive/archive.h libarchive/archive_entry.h
+
+libarchive_la_SOURCES= \
+ libarchive/archive_check_magic.c \
+ libarchive/archive_endian.h \
+ libarchive/archive_entry.c \
+ libarchive/archive_entry.h \
+ libarchive/archive_entry_copy_stat.c \
+ libarchive/archive_entry_link_resolver.c \
+ libarchive/archive_entry_private.h \
+ libarchive/archive_entry_stat.c \
+ libarchive/archive_entry_strmode.c \
+ libarchive/archive_entry_xattr.c \
+ libarchive/archive_hash.h \
+ libarchive/archive_platform.h \
+ libarchive/archive_private.h \
+ libarchive/archive_read.c \
+ libarchive/archive_read_data_into_fd.c \
+ libarchive/archive_read_disk.c \
+ libarchive/archive_read_disk_entry_from_file.c \
+ libarchive/archive_read_disk_private.h \
+ libarchive/archive_read_disk_set_standard_lookup.c \
+ libarchive/archive_read_extract.c \
+ libarchive/archive_read_open_fd.c \
+ libarchive/archive_read_open_file.c \
+ libarchive/archive_read_open_filename.c \
+ libarchive/archive_read_open_memory.c \
+ libarchive/archive_read_private.h \
+ libarchive/archive_read_support_compression_all.c \
+ libarchive/archive_read_support_compression_bzip2.c \
+ libarchive/archive_read_support_compression_compress.c \
+ libarchive/archive_read_support_compression_gzip.c \
+ libarchive/archive_read_support_compression_none.c \
+ libarchive/archive_read_support_compression_program.c \
+ libarchive/archive_read_support_compression_rpm.c \
+ libarchive/archive_read_support_compression_uu.c \
+ libarchive/archive_read_support_compression_xz.c \
+ libarchive/archive_read_support_format_all.c \
+ libarchive/archive_read_support_format_ar.c \
+ libarchive/archive_read_support_format_cpio.c \
+ libarchive/archive_read_support_format_empty.c \
+ libarchive/archive_read_support_format_iso9660.c \
+ libarchive/archive_read_support_format_mtree.c \
+ libarchive/archive_read_support_format_raw.c \
+ libarchive/archive_read_support_format_tar.c \
+ libarchive/archive_read_support_format_xar.c \
+ libarchive/archive_read_support_format_zip.c \
+ libarchive/archive_string.c \
+ libarchive/archive_string.h \
+ libarchive/archive_string_sprintf.c \
+ libarchive/archive_util.c \
+ libarchive/archive_virtual.c \
+ libarchive/archive_write.c \
+ libarchive/archive_write_disk.c \
+ libarchive/archive_write_disk_private.h \
+ libarchive/archive_write_disk_set_standard_lookup.c \
+ libarchive/archive_write_open_fd.c \
+ libarchive/archive_write_open_file.c \
+ libarchive/archive_write_open_filename.c \
+ libarchive/archive_write_open_memory.c \
+ libarchive/archive_write_private.h \
+ libarchive/archive_write_set_compression_bzip2.c \
+ libarchive/archive_write_set_compression_compress.c \
+ libarchive/archive_write_set_compression_gzip.c \
+ libarchive/archive_write_set_compression_none.c \
+ libarchive/archive_write_set_compression_program.c \
+ libarchive/archive_write_set_compression_xz.c \
+ libarchive/archive_write_set_format.c \
+ libarchive/archive_write_set_format_ar.c \
+ libarchive/archive_write_set_format_by_name.c \
+ libarchive/archive_write_set_format_cpio.c \
+ libarchive/archive_write_set_format_cpio_newc.c \
+ libarchive/archive_write_set_format_mtree.c \
+ libarchive/archive_write_set_format_pax.c \
+ libarchive/archive_write_set_format_shar.c \
+ libarchive/archive_write_set_format_ustar.c \
+ libarchive/archive_write_set_format_zip.c \
+ libarchive/config_freebsd.h \
+ libarchive/filter_fork.c \
+ libarchive/filter_fork.h
+
+if INC_WINDOWS_FILES
+libarchive_la_SOURCES+= \
+ libarchive/archive_entry_copy_bhfi.c \
+ libarchive/archive_windows.h \
+ libarchive/archive_windows.c \
+ libarchive/filter_fork_windows.c
+endif
+
+# -no-undefined marks that libarchive doesn't rely on symbols
+# defined in the application. This is mandatory for cygwin.
+libarchive_la_LDFLAGS= -no-undefined -version-info $(ARCHIVE_LIBTOOL_VERSION)
+
+# Manpages to install
+libarchive_man_MANS= \
+ libarchive/archive_entry.3 \
+ libarchive/archive_read.3 \
+ libarchive/archive_read_disk.3 \
+ libarchive/archive_util.3 \
+ libarchive/archive_write.3 \
+ libarchive/archive_write_disk.3 \
+ libarchive/cpio.5 \
+ libarchive/libarchive.3 \
+ libarchive/libarchive_internals.3 \
+ libarchive/libarchive-formats.5 \
Home |
Main Index |
Thread Index |
Old Index