pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/archivers/libarchive/files Import libarchive-3.2.1:
details: https://anonhg.NetBSD.org/pkgsrc/rev/0348ed7b2944
branches: trunk
changeset: 348934:0348ed7b2944
user: joerg <joerg%pkgsrc.org@localhost>
date: Mon Jun 20 17:11:37 2016 +0000
description:
Import libarchive-3.2.1:
- security fixes and other bugfixes
- support for multhreading in xz 5.2+
diffstat:
archivers/libarchive/files/build/autoconf/ax_append_compile_flags.m4 | 67 +
archivers/libarchive/files/build/autoconf/ax_append_flag.m4 | 71 +
archivers/libarchive/files/build/autoconf/ax_check_compile_flag.m4 | 74 +
archivers/libarchive/files/build/autoconf/ax_require_defined.m4 | 37 +
archivers/libarchive/files/build/autoconf/iconv.m4 | 63 +-
archivers/libarchive/files/build/autoconf/test-driver | 148 +
archivers/libarchive/files/build/cmake/CreatePkgConfigFile.cmake | 33 +
archivers/libarchive/files/build/cmake/LibarchiveCodeCoverage.cmake | 68 +
archivers/libarchive/files/cat/CMakeLists.txt | 37 +
archivers/libarchive/files/cat/bsdcat.1 | 62 +
archivers/libarchive/files/cat/bsdcat.c | 146 +
archivers/libarchive/files/cat/bsdcat.h | 56 +
archivers/libarchive/files/cat/bsdcat_platform.h | 75 +
archivers/libarchive/files/cat/cmdline.c | 283 +
archivers/libarchive/files/cat/test/CMakeLists.txt | 65 +
archivers/libarchive/files/cat/test/list.h | 15 +
archivers/libarchive/files/cat/test/main.c | 2992 ++++
archivers/libarchive/files/cat/test/test.h | 344 +
archivers/libarchive/files/cat/test/test_0.c | 67 +
archivers/libarchive/files/cat/test/test_empty.gz.uu | 4 +
archivers/libarchive/files/cat/test/test_empty.lz4.uu | 4 +
archivers/libarchive/files/cat/test/test_empty.xz.uu | 4 +
archivers/libarchive/files/cat/test/test_empty_gz.c | 41 +
archivers/libarchive/files/cat/test/test_empty_lz4.c | 41 +
archivers/libarchive/files/cat/test/test_empty_xz.c | 41 +
archivers/libarchive/files/cat/test/test_error.c | 36 +
archivers/libarchive/files/cat/test/test_error_mixed.c | 43 +
archivers/libarchive/files/cat/test/test_expand.Z.uu | 3 +
archivers/libarchive/files/cat/test/test_expand.bz2.uu | 5 +
archivers/libarchive/files/cat/test/test_expand.gz.uu | 4 +
archivers/libarchive/files/cat/test/test_expand.lz4.uu | 5 +
archivers/libarchive/files/cat/test/test_expand.plain.uu | 3 +
archivers/libarchive/files/cat/test/test_expand.xz.uu | 4 +
archivers/libarchive/files/cat/test/test_expand_Z.c | 36 +
archivers/libarchive/files/cat/test/test_expand_bz2.c | 42 +
archivers/libarchive/files/cat/test/test_expand_gz.c | 42 +
archivers/libarchive/files/cat/test/test_expand_lz4.c | 42 +
archivers/libarchive/files/cat/test/test_expand_mixed.c | 41 +
archivers/libarchive/files/cat/test/test_expand_plain.c | 36 +
archivers/libarchive/files/cat/test/test_expand_xz.c | 42 +
archivers/libarchive/files/cat/test/test_help.c | 75 +
archivers/libarchive/files/cat/test/test_version.c | 97 +
archivers/libarchive/files/contrib/android/Android.mk | 306 +
archivers/libarchive/files/contrib/android/config/android.h | 184 +
archivers/libarchive/files/contrib/android/config/linux_host.h | 189 +
archivers/libarchive/files/contrib/android/config/windows_host.h | 1062 +
archivers/libarchive/files/contrib/android/include/Bcrypt.h | 1 +
archivers/libarchive/files/contrib/android/include/Windows.h | 1 +
archivers/libarchive/files/contrib/android/include/android_lf.h | 47 +
archivers/libarchive/files/cpio/cpio_windows.h | 7 +-
archivers/libarchive/files/cpio/test/test_extract.cpio.lz4.uu | 7 +
archivers/libarchive/files/cpio/test/test_extract_cpio_lz4.c | 48 +
archivers/libarchive/files/cpio/test/test_extract_cpio_lzo.c | 2 +-
archivers/libarchive/files/cpio/test/test_missing_file.c | 52 +
archivers/libarchive/files/cpio/test/test_option_lz4.c | 74 +
archivers/libarchive/files/cpio/test/test_option_passphrase.c | 43 +
archivers/libarchive/files/cpio/test/test_option_passphrase.zip.uu | 12 +
archivers/libarchive/files/doc/html/archive_entry_acl.3.html | 7 +-
archivers/libarchive/files/doc/html/archive_entry_linkify.3.html | 4 +-
archivers/libarchive/files/doc/html/archive_entry_paths.3.html | 7 +-
archivers/libarchive/files/doc/html/archive_entry_perms.3.html | 8 +-
archivers/libarchive/files/doc/html/archive_entry_stat.3.html | 12 +-
archivers/libarchive/files/doc/html/archive_entry_time.3.html | 10 +-
archivers/libarchive/files/doc/html/archive_read_add_passphrase.3.html | 82 +
archivers/libarchive/files/doc/html/archive_read_data.3.html | 6 +-
archivers/libarchive/files/doc/html/archive_read_extract.3.html | 4 +-
archivers/libarchive/files/doc/html/archive_read_filter.3.html | 45 +-
archivers/libarchive/files/doc/html/archive_read_format.3.html | 4 +-
archivers/libarchive/files/doc/html/archive_read_free.3.html | 4 +-
archivers/libarchive/files/doc/html/archive_read_header.3.html | 4 +-
archivers/libarchive/files/doc/html/archive_read_new.3.html | 4 +-
archivers/libarchive/files/doc/html/archive_read_open.3.html | 8 +-
archivers/libarchive/files/doc/html/archive_read_set_options.3.html | 34 +-
archivers/libarchive/files/doc/html/archive_write_blocksize.3.html | 4 +-
archivers/libarchive/files/doc/html/archive_write_data.3.html | 18 +-
archivers/libarchive/files/doc/html/archive_write_filter.3.html | 60 +-
archivers/libarchive/files/doc/html/archive_write_finish_entry.3.html | 6 +-
archivers/libarchive/files/doc/html/archive_write_format.3.html | 186 +-
archivers/libarchive/files/doc/html/archive_write_free.3.html | 4 +-
archivers/libarchive/files/doc/html/archive_write_header.3.html | 4 +-
archivers/libarchive/files/doc/html/archive_write_new.3.html | 4 +-
archivers/libarchive/files/doc/html/archive_write_open.3.html | 6 +-
archivers/libarchive/files/doc/html/archive_write_set_options.3.html | 76 +-
archivers/libarchive/files/doc/html/archive_write_set_passphrase.3.html | 82 +
archivers/libarchive/files/doc/html/libarchive_changes.3.html | 8 +-
archivers/libarchive/files/doc/man/archive_entry_acl.3 | 2 +-
archivers/libarchive/files/doc/man/archive_entry_paths.3 | 2 +-
archivers/libarchive/files/doc/man/archive_entry_perms.3 | 2 +-
archivers/libarchive/files/doc/man/archive_entry_stat.3 | 4 +-
archivers/libarchive/files/doc/man/archive_entry_time.3 | 2 +-
archivers/libarchive/files/doc/man/archive_read_add_passphrase.3 | 49 +
archivers/libarchive/files/doc/man/archive_read_data.3 | 2 +-
archivers/libarchive/files/doc/man/archive_read_filter.3 | 35 +-
archivers/libarchive/files/doc/man/archive_read_open.3 | 4 +-
archivers/libarchive/files/doc/man/archive_read_set_options.3 | 27 +
archivers/libarchive/files/doc/man/archive_write_data.3 | 16 +-
archivers/libarchive/files/doc/man/archive_write_filter.3 | 43 +-
archivers/libarchive/files/doc/man/archive_write_finish_entry.3 | 2 +-
archivers/libarchive/files/doc/man/archive_write_format.3 | 157 +-
archivers/libarchive/files/doc/man/archive_write_open.3 | 2 +-
archivers/libarchive/files/doc/man/archive_write_set_options.3 | 61 +-
archivers/libarchive/files/doc/man/archive_write_set_passphrase.3 | 49 +
archivers/libarchive/files/doc/man/libarchive_changes.3 | 2 +-
archivers/libarchive/files/doc/pdf/archive_entry_acl.3.pdf | Bin
archivers/libarchive/files/doc/pdf/archive_entry_linkify.3.pdf | Bin
archivers/libarchive/files/doc/pdf/archive_entry_paths.3.pdf | Bin
archivers/libarchive/files/doc/pdf/archive_entry_perms.3.pdf | Bin
archivers/libarchive/files/doc/pdf/archive_entry_stat.3.pdf | Bin
archivers/libarchive/files/doc/pdf/archive_entry_time.3.pdf | Bin
archivers/libarchive/files/doc/pdf/archive_read_add_passphrase.3.pdf | Bin
archivers/libarchive/files/doc/pdf/archive_read_data.3.pdf | Bin
archivers/libarchive/files/doc/pdf/archive_read_extract.3.pdf | Bin
archivers/libarchive/files/doc/pdf/archive_read_filter.3.pdf | Bin
archivers/libarchive/files/doc/pdf/archive_read_format.3.pdf | Bin
archivers/libarchive/files/doc/pdf/archive_read_free.3.pdf | Bin
archivers/libarchive/files/doc/pdf/archive_read_header.3.pdf | Bin
archivers/libarchive/files/doc/pdf/archive_read_new.3.pdf | Bin
archivers/libarchive/files/doc/pdf/archive_read_open.3.pdf | Bin
archivers/libarchive/files/doc/pdf/archive_read_set_options.3.pdf | Bin
archivers/libarchive/files/doc/pdf/archive_write_blocksize.3.pdf | Bin
archivers/libarchive/files/doc/pdf/archive_write_data.3.pdf | Bin
archivers/libarchive/files/doc/pdf/archive_write_filter.3.pdf | Bin
archivers/libarchive/files/doc/pdf/archive_write_finish_entry.3.pdf | Bin
archivers/libarchive/files/doc/pdf/archive_write_format.3.pdf | Bin
archivers/libarchive/files/doc/pdf/archive_write_free.3.pdf | Bin
archivers/libarchive/files/doc/pdf/archive_write_header.3.pdf | Bin
archivers/libarchive/files/doc/pdf/archive_write_new.3.pdf | Bin
archivers/libarchive/files/doc/pdf/archive_write_open.3.pdf | Bin
archivers/libarchive/files/doc/pdf/archive_write_set_options.3.pdf | Bin
archivers/libarchive/files/doc/pdf/archive_write_set_passphrase.3.pdf | Bin
archivers/libarchive/files/doc/pdf/libarchive_changes.3.pdf | Bin
archivers/libarchive/files/doc/text/archive_entry_acl.3.txt | 2 +-
archivers/libarchive/files/doc/text/archive_entry_paths.3.txt | 2 +-
archivers/libarchive/files/doc/text/archive_entry_perms.3.txt | 4 +-
archivers/libarchive/files/doc/text/archive_entry_stat.3.txt | 6 +-
archivers/libarchive/files/doc/text/archive_entry_time.3.txt | 4 +-
archivers/libarchive/files/doc/text/archive_read_add_passphrase.3.txt | 35 +
archivers/libarchive/files/doc/text/archive_read_data.3.txt | 2 +-
archivers/libarchive/files/doc/text/archive_read_filter.3.txt | 32 +-
archivers/libarchive/files/doc/text/archive_read_open.3.txt | 4 +-
archivers/libarchive/files/doc/text/archive_read_set_options.3.txt | 19 +
archivers/libarchive/files/doc/text/archive_write_data.3.txt | 13 +-
archivers/libarchive/files/doc/text/archive_write_filter.3.txt | 42 +-
archivers/libarchive/files/doc/text/archive_write_finish_entry.3.txt | 4 +-
archivers/libarchive/files/doc/text/archive_write_format.3.txt | 121 +-
archivers/libarchive/files/doc/text/archive_write_open.3.txt | 2 +-
archivers/libarchive/files/doc/text/archive_write_set_options.3.txt | 52 +-
archivers/libarchive/files/doc/text/archive_write_set_passphrase.3.txt | 35 +
archivers/libarchive/files/doc/text/libarchive_changes.3.txt | 2 +-
archivers/libarchive/files/doc/wiki/ManPageArchiveEntryAcl3.wiki | 24 +-
archivers/libarchive/files/doc/wiki/ManPageArchiveEntryLinkify3.wiki | 14 +-
archivers/libarchive/files/doc/wiki/ManPageArchiveEntryPaths3.wiki | 56 +-
archivers/libarchive/files/doc/wiki/ManPageArchiveEntryPerms3.wiki | 64 +-
archivers/libarchive/files/doc/wiki/ManPageArchiveEntryStat3.wiki | 78 +-
archivers/libarchive/files/doc/wiki/ManPageArchiveEntryTime3.wiki | 46 +-
archivers/libarchive/files/doc/wiki/ManPageArchiveReadAddPassphrase3.wiki | 42 +
archivers/libarchive/files/doc/wiki/ManPageArchiveReadData3.wiki | 30 +-
archivers/libarchive/files/doc/wiki/ManPageArchiveReadExtract3.wiki | 46 +-
archivers/libarchive/files/doc/wiki/ManPageArchiveReadFilter3.wiki | 61 +-
archivers/libarchive/files/doc/wiki/ManPageArchiveReadFormat3.wiki | 46 +-
archivers/libarchive/files/doc/wiki/ManPageArchiveReadFree3.wiki | 24 +-
archivers/libarchive/files/doc/wiki/ManPageArchiveReadHeader3.wiki | 26 +-
archivers/libarchive/files/doc/wiki/ManPageArchiveReadNew3.wiki | 20 +-
archivers/libarchive/files/doc/wiki/ManPageArchiveReadOpen3.wiki | 46 +-
archivers/libarchive/files/doc/wiki/ManPageArchiveReadSetOptions3.wiki | 38 +-
archivers/libarchive/files/doc/wiki/ManPageArchiveWriteBlocksize3.wiki | 24 +-
archivers/libarchive/files/doc/wiki/ManPageArchiveWriteData3.wiki | 29 +-
archivers/libarchive/files/doc/wiki/ManPageArchiveWriteFilter3.wiki | 74 +-
archivers/libarchive/files/doc/wiki/ManPageArchiveWriteFinishEntry3.wiki | 18 +-
archivers/libarchive/files/doc/wiki/ManPageArchiveWriteFormat3.wiki | 181 +-
archivers/libarchive/files/doc/wiki/ManPageArchiveWriteFree3.wiki | 20 +-
archivers/libarchive/files/doc/wiki/ManPageArchiveWriteHeader3.wiki | 16 +-
archivers/libarchive/files/doc/wiki/ManPageArchiveWriteNew3.wiki | 18 +-
archivers/libarchive/files/doc/wiki/ManPageArchiveWriteOpen3.wiki | 44 +-
archivers/libarchive/files/doc/wiki/ManPageArchiveWriteSetOptions3.wiki | 79 +-
archivers/libarchive/files/doc/wiki/ManPageArchiveWriteSetPassphrase3.wiki | 42 +
archivers/libarchive/files/doc/wiki/ManPageLibarchiveChanges3.wiki | 38 +-
archivers/libarchive/files/libarchive/archive_cryptor.c | 448 +
archivers/libarchive/files/libarchive/archive_cryptor_private.h | 163 +
archivers/libarchive/files/libarchive/archive_digest.c | 1429 ++
archivers/libarchive/files/libarchive/archive_digest_private.h | 376 +
archivers/libarchive/files/libarchive/archive_entry_acl.3 | 2 +-
archivers/libarchive/files/libarchive/archive_entry_paths.3 | 2 +-
archivers/libarchive/files/libarchive/archive_entry_perms.3 | 2 +-
archivers/libarchive/files/libarchive/archive_entry_sparse.c | 2 +-
archivers/libarchive/files/libarchive/archive_entry_stat.3 | 4 +-
archivers/libarchive/files/libarchive/archive_entry_time.3 | 2 +-
archivers/libarchive/files/libarchive/archive_entry_xattr.c | 10 +-
archivers/libarchive/files/libarchive/archive_getdate.c | 19 +-
archivers/libarchive/files/libarchive/archive_getdate.h | 39 +
archivers/libarchive/files/libarchive/archive_hmac.c | 248 +
archivers/libarchive/files/libarchive/archive_hmac_private.h | 106 +
archivers/libarchive/files/libarchive/archive_match.c | 13 +-
archivers/libarchive/files/libarchive/archive_options.c | 6 +-
archivers/libarchive/files/libarchive/archive_pack_dev.c | 329 +
archivers/libarchive/files/libarchive/archive_pack_dev.h | 49 +
archivers/libarchive/files/libarchive/archive_pathmatch.c | 8 +-
archivers/libarchive/files/libarchive/archive_ppmd7.c | 5 +
archivers/libarchive/files/libarchive/archive_random.c | 269 +
archivers/libarchive/files/libarchive/archive_random_private.h | 36 +
archivers/libarchive/files/libarchive/archive_read_add_passphrase.3 | 74 +
archivers/libarchive/files/libarchive/archive_read_add_passphrase.c | 186 +
archivers/libarchive/files/libarchive/archive_read_append_filter.c | 6 +-
archivers/libarchive/files/libarchive/archive_read_data.3 | 2 +-
archivers/libarchive/files/libarchive/archive_read_disk_windows.c | 29 +-
archivers/libarchive/files/libarchive/archive_read_extract2.c | 156 +
archivers/libarchive/files/libarchive/archive_read_filter.3 | 23 +-
archivers/libarchive/files/libarchive/archive_read_open.3 | 4 +-
archivers/libarchive/files/libarchive/archive_read_set_options.3 | 22 +
archivers/libarchive/files/libarchive/archive_read_set_options.c | 39 +-
archivers/libarchive/files/libarchive/archive_read_support_filter_all.c | 2 +
archivers/libarchive/files/libarchive/archive_read_support_filter_compress.c | 24 +-
archivers/libarchive/files/libarchive/archive_read_support_filter_lz4.c | 737 +
archivers/libarchive/files/libarchive/archive_read_support_filter_lzop.c | 16 +-
archivers/libarchive/files/libarchive/archive_read_support_filter_uu.c | 3 +-
archivers/libarchive/files/libarchive/archive_read_support_filter_xz.c | 4 +-
archivers/libarchive/files/libarchive/archive_read_support_format_7zip.c | 215 +-
archivers/libarchive/files/libarchive/archive_read_support_format_cab.c | 4 +-
archivers/libarchive/files/libarchive/archive_read_support_format_lha.c | 479 +-
archivers/libarchive/files/libarchive/archive_read_support_format_rar.c | 176 +-
archivers/libarchive/files/libarchive/archive_read_support_format_warc.c | 795 +
archivers/libarchive/files/libarchive/archive_write_add_filter.c | 1 +
archivers/libarchive/files/libarchive/archive_write_add_filter_by_name.c | 1 +
archivers/libarchive/files/libarchive/archive_write_add_filter_bzip2.c | 2 +-
archivers/libarchive/files/libarchive/archive_write_add_filter_grzip.c | 2 +-
archivers/libarchive/files/libarchive/archive_write_add_filter_gzip.c | 2 +-
archivers/libarchive/files/libarchive/archive_write_add_filter_lrzip.c | 9 +-
archivers/libarchive/files/libarchive/archive_write_add_filter_lz4.c | 707 +
archivers/libarchive/files/libarchive/archive_write_add_filter_lzop.c | 4 +-
archivers/libarchive/files/libarchive/archive_write_add_filter_program.c | 16 +-
archivers/libarchive/files/libarchive/archive_write_add_filter_xz.c | 44 +-
archivers/libarchive/files/libarchive/archive_write_data.3 | 14 +-
archivers/libarchive/files/libarchive/archive_write_disk_acl.c | 16 +-
archivers/libarchive/files/libarchive/archive_write_disk_posix.c | 122 +-
archivers/libarchive/files/libarchive/archive_write_disk_windows.c | 22 +-
archivers/libarchive/files/libarchive/archive_write_filter.3 | 32 +-
archivers/libarchive/files/libarchive/archive_write_finish_entry.3 | 2 +-
archivers/libarchive/files/libarchive/archive_write_format.3 | 124 +-
archivers/libarchive/files/libarchive/archive_write_open.3 | 2 +-
archivers/libarchive/files/libarchive/archive_write_set_format_7zip.c | 4 +
archivers/libarchive/files/libarchive/archive_write_set_format_filter_by_ext.c | 142 +
archivers/libarchive/files/libarchive/archive_write_set_format_gnutar.c | 34 +-
archivers/libarchive/files/libarchive/archive_write_set_format_iso9660.c | 38 +-
archivers/libarchive/files/libarchive/archive_write_set_format_raw.c | 125 +
archivers/libarchive/files/libarchive/archive_write_set_format_warc.c | 445 +
archivers/libarchive/files/libarchive/archive_write_set_format_xar.c | 68 +-
archivers/libarchive/files/libarchive/archive_write_set_options.3 | 63 +-
archivers/libarchive/files/libarchive/archive_write_set_passphrase.3 | 74 +
archivers/libarchive/files/libarchive/archive_write_set_passphrase.c | 95 +
archivers/libarchive/files/libarchive/archive_xxhash.h | 47 +
archivers/libarchive/files/libarchive/libarchive_changes.3 | 2 +-
archivers/libarchive/files/libarchive/test/README | 14 +-
archivers/libarchive/files/libarchive/test/test_archive_digest.c | 145 +
archivers/libarchive/files/libarchive/test/test_archive_getdate.c | 10 +-
archivers/libarchive/files/libarchive/test/test_archive_match_time.c | 3 +-
archivers/libarchive/files/libarchive/test/test_archive_pathmatch.c | 41 +
archivers/libarchive/files/libarchive/test/test_archive_read_add_passphrase.c | 260 +
archivers/libarchive/files/libarchive/test/test_archive_string.c | 63 +
archivers/libarchive/files/libarchive/test/test_archive_write_add_filter_by_name.c | 17 +-
archivers/libarchive/files/libarchive/test/test_archive_write_set_format_by_name.c | 5 +
archivers/libarchive/files/libarchive/test/test_archive_write_set_format_filter_by_ext.c | 211 +
archivers/libarchive/files/libarchive/test/test_archive_write_set_passphrase.c | 95 +
archivers/libarchive/files/libarchive/test/test_compat_lz4.c | 120 +
archivers/libarchive/files/libarchive/test/test_compat_lz4_1.tar.lz4.uu | 12 +
archivers/libarchive/files/libarchive/test/test_compat_lz4_2.tar.lz4.uu | 13 +
archivers/libarchive/files/libarchive/test/test_compat_lz4_3.tar.lz4.uu | 9 +
archivers/libarchive/files/libarchive/test/test_compat_lz4_B4.tar.lz4.uu | 6739 +++++++++
archivers/libarchive/files/libarchive/test/test_compat_lz4_B4BD.tar.lz4.uu | 6739 +++++++++
archivers/libarchive/files/libarchive/test/test_compat_lz4_B4BDBX.tar.lz4.uu | 6744 ++++++++++
archivers/libarchive/files/libarchive/test/test_compat_lz4_B5.tar.lz4.uu | 2310 +++
archivers/libarchive/files/libarchive/test/test_compat_lz4_B5BD.tar.lz4.uu | 2310 +++
archivers/libarchive/files/libarchive/test/test_compat_lz4_B6.tar.lz4.uu | 1197 +
archivers/libarchive/files/libarchive/test/test_compat_lz4_B6BD.tar.lz4.uu | 1197 +
archivers/libarchive/files/libarchive/test/test_compat_lz4_B7.tar.lz4.uu | 918 +
archivers/libarchive/files/libarchive/test/test_compat_lz4_B7BD.tar.lz4.uu | 918 +
archivers/libarchive/files/libarchive/test/test_compat_mac.c | 2 +
archivers/libarchive/files/libarchive/test/test_compat_pax_libarchive_2x.c | 11 +-
archivers/libarchive/files/libarchive/test/test_compat_uudecode_large.c | 54 +
archivers/libarchive/files/libarchive/test/test_compat_uudecode_large.tar.Z.uu | 1087 +
archivers/libarchive/files/libarchive/test/test_gnutar_filename_encoding.c | 39 +-
archivers/libarchive/files/libarchive/test/test_read_disk_directory_traversals.c | 18 +-
archivers/libarchive/files/libarchive/test/test_read_filter_compress.c | 80 +
archivers/libarchive/files/libarchive/test/test_read_format_7zip.c | 81 +-
archivers/libarchive/files/libarchive/test/test_read_format_7zip_encryption.7z.uu | 7 +
archivers/libarchive/files/libarchive/test/test_read_format_7zip_encryption_data.c | 70 +
archivers/libarchive/files/libarchive/test/test_read_format_7zip_encryption_header.7z.uu | 8 +
archivers/libarchive/files/libarchive/test/test_read_format_7zip_encryption_header.c | 73 +
archivers/libarchive/files/libarchive/test/test_read_format_7zip_encryption_partially.7z.uu | 8 +
archivers/libarchive/files/libarchive/test/test_read_format_7zip_encryption_partially.c | 82 +
archivers/libarchive/files/libarchive/test/test_read_format_7zip_malformed.7z.uu | 5 +
archivers/libarchive/files/libarchive/test/test_read_format_7zip_malformed.c | 67 +
archivers/libarchive/files/libarchive/test/test_read_format_7zip_malformed2.7z.uu | 5 +
archivers/libarchive/files/libarchive/test/test_read_format_cab.c | 32 +-
archivers/libarchive/files/libarchive/test/test_read_format_cab_filename.c | 8 +
archivers/libarchive/files/libarchive/test/test_read_format_cpio_afio.c | 4 +
archivers/libarchive/files/libarchive/test/test_read_format_cpio_bin_le.c | 57 +
archivers/libarchive/files/libarchive/test/test_read_format_cpio_bin_le.cpio.uu | 7 +
archivers/libarchive/files/libarchive/test/test_read_format_cpio_bin_lzip.c | 2 +
archivers/libarchive/files/libarchive/test/test_read_format_cpio_filename.c | 120 +-
archivers/libarchive/files/libarchive/test/test_read_format_gtar_filename.c | 69 +-
archivers/libarchive/files/libarchive/test/test_read_format_gtar_sparse_skip_entry.c | 124 +
archivers/libarchive/files/libarchive/test/test_read_format_gtar_sparse_skip_entry.tar.Z.uu | 15 +
archivers/libarchive/files/libarchive/test/test_read_format_iso_Z.c | 4 +
archivers/libarchive/files/libarchive/test/test_read_format_iso_xorriso.c | 3 +
archivers/libarchive/files/libarchive/test/test_read_format_isojoliet_versioned.c | 4 +
archivers/libarchive/files/libarchive/test/test_read_format_lha.c | 16 +
archivers/libarchive/files/libarchive/test/test_read_format_lha_bugfix_0.c | 76 +
archivers/libarchive/files/libarchive/test/test_read_format_lha_bugfix_0.lzh.uu | 19 +
archivers/libarchive/files/libarchive/test/test_read_format_lha_filename.c | 5 +-
archivers/libarchive/files/libarchive/test/test_read_format_rar.c | 160 +-
archivers/libarchive/files/libarchive/test/test_read_format_rar_encryption_data.c | 79 +
archivers/libarchive/files/libarchive/test/test_read_format_rar_encryption_data.rar.uu | 8 +
archivers/libarchive/files/libarchive/test/test_read_format_rar_encryption_header.c | 71 +
archivers/libarchive/files/libarchive/test/test_read_format_rar_encryption_header.rar.uu | 8 +
archivers/libarchive/files/libarchive/test/test_read_format_rar_encryption_partially.c | 79 +
archivers/libarchive/files/libarchive/test/test_read_format_rar_encryption_partially.rar.uu | 7 +
archivers/libarchive/files/libarchive/test/test_read_format_rar_invalid1.c | 44 +
archivers/libarchive/files/libarchive/test/test_read_format_rar_invalid1.rar.uu | 5 +
archivers/libarchive/files/libarchive/test/test_read_format_tar_concatenated.c | 86 +
archivers/libarchive/files/libarchive/test/test_read_format_tar_concatenated.tar.uu | 72 +
archivers/libarchive/files/libarchive/test/test_read_format_tar_empty_pax.c | 58 +
archivers/libarchive/files/libarchive/test/test_read_format_tar_empty_pax.tar.Z.uu | 10 +
archivers/libarchive/files/libarchive/test/test_read_format_tar_filename.c | 31 +
archivers/libarchive/files/libarchive/test/test_read_format_ustar_filename.c | 37 +-
archivers/libarchive/files/libarchive/test/test_read_format_warc.c | 82 +
archivers/libarchive/files/libarchive/test/test_read_format_warc.warc.uu | 23 +
archivers/libarchive/files/libarchive/test/test_read_format_zip_comment_stored.c | 6 +
archivers/libarchive/files/libarchive/test/test_read_format_zip_encryption_data.c | 79 +
archivers/libarchive/files/libarchive/test/test_read_format_zip_encryption_data.zip.uu | 25 +
archivers/libarchive/files/libarchive/test/test_read_format_zip_encryption_header.c | 71 +
archivers/libarchive/files/libarchive/test/test_read_format_zip_encryption_header.zip.uu | 32 +
archivers/libarchive/files/libarchive/test/test_read_format_zip_encryption_partially.c | 79 +
archivers/libarchive/files/libarchive/test/test_read_format_zip_encryption_partially.zip.uu | 18 +
archivers/libarchive/files/libarchive/test/test_read_format_zip_filename.c | 218 +-
archivers/libarchive/files/libarchive/test/test_read_format_zip_mac_metadata.c | 13 +-
archivers/libarchive/files/libarchive/test/test_read_format_zip_malformed.c | 61 +
archivers/libarchive/files/libarchive/test/test_read_format_zip_malformed1.zip.uu | 5 +
archivers/libarchive/files/libarchive/test/test_read_format_zip_msdos.c | 116 +
archivers/libarchive/files/libarchive/test/test_read_format_zip_msdos.zip.uu | 23 +
archivers/libarchive/files/libarchive/test/test_read_format_zip_nested.c | 85 +
archivers/libarchive/files/libarchive/test/test_read_format_zip_nested.zip.uu | 16 +
archivers/libarchive/files/libarchive/test/test_read_format_zip_nofiletype.c | 66 +
archivers/libarchive/files/libarchive/test/test_read_format_zip_nofiletype.zip.uu | 8 +
archivers/libarchive/files/libarchive/test/test_read_format_zip_padded.c | 90 +
archivers/libarchive/files/libarchive/test/test_read_format_zip_padded1.zip.uu | 12 +
archivers/libarchive/files/libarchive/test/test_read_format_zip_padded2.zip.uu | 15 +
archivers/libarchive/files/libarchive/test/test_read_format_zip_padded3.zip.uu | 17 +
archivers/libarchive/files/libarchive/test/test_read_format_zip_sfx.c | 4 +
archivers/libarchive/files/libarchive/test/test_read_format_zip_traditional_encryption_data.c | 168 +
archivers/libarchive/files/libarchive/test/test_read_format_zip_traditional_encryption_data.zip.uu | 12 +
archivers/libarchive/files/libarchive/test/test_read_format_zip_winzip_aes.c | 152 +
archivers/libarchive/files/libarchive/test/test_read_format_zip_winzip_aes128.zip.uu | 66 +
archivers/libarchive/files/libarchive/test/test_read_format_zip_winzip_aes256.zip.uu | 66 +
archivers/libarchive/files/libarchive/test/test_read_format_zip_winzip_aes256_large.zip.uu | 2184 +++
archivers/libarchive/files/libarchive/test/test_read_format_zip_winzip_aes256_stored.zip.uu | 159 +
archivers/libarchive/files/libarchive/test/test_read_format_zip_winzip_aes_large.c | 217 +
archivers/libarchive/files/libarchive/test/test_read_format_zip_zip64.c | 130 +
archivers/libarchive/files/libarchive/test/test_read_format_zip_zip64a.zip.uu | 7 +
archivers/libarchive/files/libarchive/test/test_read_format_zip_zip64b.zip.uu | 7 +
archivers/libarchive/files/libarchive/test/test_read_too_many_filters.c | 49 +
archivers/libarchive/files/libarchive/test/test_read_too_many_filters.gz.uu | 15 +
archivers/libarchive/files/libarchive/test/test_sparse_basic.c | 178 +-
archivers/libarchive/files/libarchive/test/test_ustar_filename_encoding.c | 39 +-
archivers/libarchive/files/libarchive/test/test_warn_missing_hardlink_target.c | 45 +
archivers/libarchive/files/libarchive/test/test_write_disk_appledouble.c | 39 +-
archivers/libarchive/files/libarchive/test/test_write_disk_hfs_compression.c | 4 +-
archivers/libarchive/files/libarchive/test/test_write_disk_mac_metadata.c | 39 +-
archivers/libarchive/files/libarchive/test/test_write_disk_no_hfs_compression.c | 4 +-
archivers/libarchive/files/libarchive/test/test_write_filter_lz4.c | 409 +
archivers/libarchive/files/libarchive/test/test_write_filter_lzop.c | 17 +-
archivers/libarchive/files/libarchive/test/test_write_filter_program.c | 4 +-
archivers/libarchive/files/libarchive/test/test_write_format_gnutar.c | 26 +-
archivers/libarchive/files/libarchive/test/test_write_format_gnutar_filenames.c | 145 +
archivers/libarchive/files/libarchive/test/test_write_format_iso9660.c | 2 +-
archivers/libarchive/files/libarchive/test/test_write_format_iso9660_boot.c | 2 +-
archivers/libarchive/files/libarchive/test/test_write_format_raw.c | 123 +
archivers/libarchive/files/libarchive/test/test_write_format_raw_b64.c | 77 +
archivers/libarchive/files/libarchive/test/test_write_format_tar_sparse.c | 2 +-
archivers/libarchive/files/libarchive/test/test_write_format_warc.c | 132 +
archivers/libarchive/files/libarchive/test/test_write_format_warc_empty.c | 117 +
archivers/libarchive/files/libarchive/test/test_write_format_zip_compression_store.c | 375 +
archivers/libarchive/files/libarchive/test/test_write_format_zip_empty_zip64.c | 103 +
archivers/libarchive/files/libarchive/test/test_write_format_zip_file.c | 251 +
archivers/libarchive/files/libarchive/test/test_write_format_zip_file_zip64.c | 285 +
archivers/libarchive/files/libarchive/test/test_write_format_zip_large.c | 474 +
archivers/libarchive/files/libarchive/test/test_write_format_zip_zip64.c | 67 +
archivers/libarchive/files/libarchive/test/test_write_read_format_zip.c | 751 +
archivers/libarchive/files/libarchive/test/test_zip_filename_encoding.c | 28 +-
archivers/libarchive/files/libarchive/xxhash.c | 514 +
archivers/libarchive/files/libarchive_fe/passphrase.c | 317 +
archivers/libarchive/files/libarchive_fe/passphrase.h | 31 +
archivers/libarchive/files/tar/creation_set.c | 2 +
archivers/libarchive/files/tar/test/test_extract.tar.lz4.uu | 8 +
archivers/libarchive/files/tar/test/test_extract_tar_lz4.c | 48 +
archivers/libarchive/files/tar/test/test_leading_slash.c | 49 +
archivers/libarchive/files/tar/test/test_leading_slash.tar.uu | 60 +
archivers/libarchive/files/tar/test/test_missing_file.c | 37 +
archivers/libarchive/files/tar/test/test_option_X_upper.c | 14 +
archivers/libarchive/files/tar/test/test_option_b.c | 19 +-
archivers/libarchive/files/tar/test/test_option_lz4.c | 74 +
archivers/libarchive/files/tar/test/test_option_passphrase.c | 43 +
archivers/libarchive/files/tar/test/test_option_passphrase.zip.uu | 12 +
402 files changed, 59949 insertions(+), 1558 deletions(-)
diffs (truncated from 70029 to 300 lines):
diff -r 04a96bc3ea61 -r 0348ed7b2944 archivers/libarchive/files/build/autoconf/ax_append_compile_flags.m4
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/libarchive/files/build/autoconf/ax_append_compile_flags.m4 Mon Jun 20 17:11:37 2016 +0000
@@ -0,0 +1,67 @@
+# ===========================================================================
+# http://www.gnu.org/software/autoconf-archive/ax_append_compile_flags.html
+# ===========================================================================
+#
+# SYNOPSIS
+#
+# AX_APPEND_COMPILE_FLAGS([FLAG1 FLAG2 ...], [FLAGS-VARIABLE], [EXTRA-FLAGS], [INPUT])
+#
+# DESCRIPTION
+#
+# For every FLAG1, FLAG2 it is checked whether the compiler works with the
+# flag. If it does, the flag is added FLAGS-VARIABLE
+#
+# If FLAGS-VARIABLE is not specified, the current language's flags (e.g.
+# CFLAGS) is used. During the check the flag is always added to the
+# current language's flags.
+#
+# If EXTRA-FLAGS is defined, it is added to the current language's default
+# flags (e.g. CFLAGS) when the check is done. The check is thus made with
+# the flags: "CFLAGS EXTRA-FLAGS FLAG". This can for example be used to
+# force the compiler to issue an error when a bad flag is given.
+#
+# INPUT gives an alternative input source to AC_COMPILE_IFELSE.
+#
+# NOTE: This macro depends on the AX_APPEND_FLAG and
+# AX_CHECK_COMPILE_FLAG. Please keep this macro in sync with
+# AX_APPEND_LINK_FLAGS.
+#
+# LICENSE
+#
+# Copyright (c) 2011 Maarten Bosmans <mkbosmans%gmail.com@localhost>
+#
+# This program is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or (at your
+# option) any later version.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+# Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along
+# with this program. If not, see <http://www.gnu.org/licenses/>.
+#
+# As a special exception, the respective Autoconf Macro's copyright owner
+# gives unlimited permission to copy, distribute and modify the configure
+# scripts that are the output of Autoconf when processing the Macro. You
+# need not follow the terms of the GNU General Public License when using
+# or distributing such scripts, even though portions of the text of the
+# Macro appear in them. The GNU General Public License (GPL) does govern
+# all other use of the material that constitutes the Autoconf Macro.
+#
+# This special exception to the GPL applies to versions of the Autoconf
+# Macro released by the Autoconf Archive. When you make and distribute a
+# modified version of the Autoconf Macro, you may extend this special
+# exception to the GPL to apply to your modified version as well.
+
+#serial 5
+
+AC_DEFUN([AX_APPEND_COMPILE_FLAGS],
+[AX_REQUIRE_DEFINED([AX_CHECK_COMPILE_FLAG])
+AX_REQUIRE_DEFINED([AX_APPEND_FLAG])
+for flag in $1; do
+ AX_CHECK_COMPILE_FLAG([$flag], [AX_APPEND_FLAG([$flag], [$2])], [], [$3], [$4])
+done
+])dnl AX_APPEND_COMPILE_FLAGS
diff -r 04a96bc3ea61 -r 0348ed7b2944 archivers/libarchive/files/build/autoconf/ax_append_flag.m4
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/libarchive/files/build/autoconf/ax_append_flag.m4 Mon Jun 20 17:11:37 2016 +0000
@@ -0,0 +1,71 @@
+# ===========================================================================
+# http://www.gnu.org/software/autoconf-archive/ax_append_flag.html
+# ===========================================================================
+#
+# SYNOPSIS
+#
+# AX_APPEND_FLAG(FLAG, [FLAGS-VARIABLE])
+#
+# DESCRIPTION
+#
+# FLAG is appended to the FLAGS-VARIABLE shell variable, with a space
+# added in between.
+#
+# If FLAGS-VARIABLE is not specified, the current language's flags (e.g.
+# CFLAGS) is used. FLAGS-VARIABLE is not changed if it already contains
+# FLAG. If FLAGS-VARIABLE is unset in the shell, it is set to exactly
+# FLAG.
+#
+# NOTE: Implementation based on AX_CFLAGS_GCC_OPTION.
+#
+# LICENSE
+#
+# Copyright (c) 2008 Guido U. Draheim <guidod%gmx.de@localhost>
+# Copyright (c) 2011 Maarten Bosmans <mkbosmans%gmail.com@localhost>
+#
+# This program is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or (at your
+# option) any later version.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+# Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along
+# with this program. If not, see <http://www.gnu.org/licenses/>.
+#
+# As a special exception, the respective Autoconf Macro's copyright owner
+# gives unlimited permission to copy, distribute and modify the configure
+# scripts that are the output of Autoconf when processing the Macro. You
+# need not follow the terms of the GNU General Public License when using
+# or distributing such scripts, even though portions of the text of the
+# Macro appear in them. The GNU General Public License (GPL) does govern
+# all other use of the material that constitutes the Autoconf Macro.
+#
+# This special exception to the GPL applies to versions of the Autoconf
+# Macro released by the Autoconf Archive. When you make and distribute a
+# modified version of the Autoconf Macro, you may extend this special
+# exception to the GPL to apply to your modified version as well.
+
+#serial 6
+
+AC_DEFUN([AX_APPEND_FLAG],
+[dnl
+AC_PREREQ(2.64)dnl for _AC_LANG_PREFIX and AS_VAR_SET_IF
+AS_VAR_PUSHDEF([FLAGS], [m4_default($2,_AC_LANG_PREFIX[FLAGS])])
+AS_VAR_SET_IF(FLAGS,[
+ AS_CASE([" AS_VAR_GET(FLAGS) "],
+ [*" $1 "*], [AC_RUN_LOG([: FLAGS already contains $1])],
+ [
+ AS_VAR_APPEND(FLAGS,[" $1"])
+ AC_RUN_LOG([: FLAGS="$FLAGS"])
+ ])
+ ],
+ [
+ AS_VAR_SET(FLAGS,[$1])
+ AC_RUN_LOG([: FLAGS="$FLAGS"])
+ ])
+AS_VAR_POPDEF([FLAGS])dnl
+])dnl AX_APPEND_FLAG
diff -r 04a96bc3ea61 -r 0348ed7b2944 archivers/libarchive/files/build/autoconf/ax_check_compile_flag.m4
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/libarchive/files/build/autoconf/ax_check_compile_flag.m4 Mon Jun 20 17:11:37 2016 +0000
@@ -0,0 +1,74 @@
+# ===========================================================================
+# http://www.gnu.org/software/autoconf-archive/ax_check_compile_flag.html
+# ===========================================================================
+#
+# SYNOPSIS
+#
+# AX_CHECK_COMPILE_FLAG(FLAG, [ACTION-SUCCESS], [ACTION-FAILURE], [EXTRA-FLAGS], [INPUT])
+#
+# DESCRIPTION
+#
+# Check whether the given FLAG works with the current language's compiler
+# or gives an error. (Warnings, however, are ignored)
+#
+# ACTION-SUCCESS/ACTION-FAILURE are shell commands to execute on
+# success/failure.
+#
+# If EXTRA-FLAGS is defined, it is added to the current language's default
+# flags (e.g. CFLAGS) when the check is done. The check is thus made with
+# the flags: "CFLAGS EXTRA-FLAGS FLAG". This can for example be used to
+# force the compiler to issue an error when a bad flag is given.
+#
+# INPUT gives an alternative input source to AC_COMPILE_IFELSE.
+#
+# NOTE: Implementation based on AX_CFLAGS_GCC_OPTION. Please keep this
+# macro in sync with AX_CHECK_{PREPROC,LINK}_FLAG.
+#
+# LICENSE
+#
+# Copyright (c) 2008 Guido U. Draheim <guidod%gmx.de@localhost>
+# Copyright (c) 2011 Maarten Bosmans <mkbosmans%gmail.com@localhost>
+#
+# This program is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or (at your
+# option) any later version.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+# Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along
+# with this program. If not, see <http://www.gnu.org/licenses/>.
+#
+# As a special exception, the respective Autoconf Macro's copyright owner
+# gives unlimited permission to copy, distribute and modify the configure
+# scripts that are the output of Autoconf when processing the Macro. You
+# need not follow the terms of the GNU General Public License when using
+# or distributing such scripts, even though portions of the text of the
+# Macro appear in them. The GNU General Public License (GPL) does govern
+# all other use of the material that constitutes the Autoconf Macro.
+#
+# This special exception to the GPL applies to versions of the Autoconf
+# Macro released by the Autoconf Archive. When you make and distribute a
+# modified version of the Autoconf Macro, you may extend this special
+# exception to the GPL to apply to your modified version as well.
+
+#serial 4
+
+AC_DEFUN([AX_CHECK_COMPILE_FLAG],
+[AC_PREREQ(2.64)dnl for _AC_LANG_PREFIX and AS_VAR_IF
+AS_VAR_PUSHDEF([CACHEVAR],[ax_cv_check_[]_AC_LANG_ABBREV[]flags_$4_$1])dnl
+AC_CACHE_CHECK([whether _AC_LANG compiler accepts $1], CACHEVAR, [
+ ax_check_save_flags=$[]_AC_LANG_PREFIX[]FLAGS
+ _AC_LANG_PREFIX[]FLAGS="$[]_AC_LANG_PREFIX[]FLAGS $4 $1"
+ AC_COMPILE_IFELSE([m4_default([$5],[AC_LANG_PROGRAM()])],
+ [AS_VAR_SET(CACHEVAR,[yes])],
+ [AS_VAR_SET(CACHEVAR,[no])])
+ _AC_LANG_PREFIX[]FLAGS=$ax_check_save_flags])
+AS_VAR_IF(CACHEVAR,yes,
+ [m4_default([$2], :)],
+ [m4_default([$3], :)])
+AS_VAR_POPDEF([CACHEVAR])dnl
+])dnl AX_CHECK_COMPILE_FLAGS
diff -r 04a96bc3ea61 -r 0348ed7b2944 archivers/libarchive/files/build/autoconf/ax_require_defined.m4
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/libarchive/files/build/autoconf/ax_require_defined.m4 Mon Jun 20 17:11:37 2016 +0000
@@ -0,0 +1,37 @@
+# ===========================================================================
+# http://www.gnu.org/software/autoconf-archive/ax_require_defined.html
+# ===========================================================================
+#
+# SYNOPSIS
+#
+# AX_REQUIRE_DEFINED(MACRO)
+#
+# DESCRIPTION
+#
+# AX_REQUIRE_DEFINED is a simple helper for making sure other macros have
+# been defined and thus are available for use. This avoids random issues
+# where a macro isn't expanded. Instead the configure script emits a
+# non-fatal:
+#
+# ./configure: line 1673: AX_CFLAGS_WARN_ALL: command not found
+#
+# It's like AC_REQUIRE except it doesn't expand the required macro.
+#
+# Here's an example:
+#
+# AX_REQUIRE_DEFINED([AX_CHECK_LINK_FLAG])
+#
+# LICENSE
+#
+# Copyright (c) 2014 Mike Frysinger <vapier%gentoo.org@localhost>
+#
+# Copying and distribution of this file, with or without modification, are
+# permitted in any medium without royalty provided the copyright notice
+# and this notice are preserved. This file is offered as-is, without any
+# warranty.
+
+#serial 1
+
+AC_DEFUN([AX_REQUIRE_DEFINED], [dnl
+ m4_ifndef([$1], [m4_fatal([macro ]$1[ is not defined; is a m4 file missing?])])
+])dnl AX_REQUIRE_DEFINED
diff -r 04a96bc3ea61 -r 0348ed7b2944 archivers/libarchive/files/build/autoconf/iconv.m4
--- a/archivers/libarchive/files/build/autoconf/iconv.m4 Mon Jun 20 16:06:02 2016 +0000
+++ b/archivers/libarchive/files/build/autoconf/iconv.m4 Mon Jun 20 17:11:37 2016 +0000
@@ -1,5 +1,5 @@
-# iconv.m4 serial 18 (gettext-0.18.2)
-dnl Copyright (C) 2000-2002, 2007-2011 Free Software Foundation, Inc.
+# iconv.m4 serial 19 (gettext-0.18.2)
+dnl Copyright (C) 2000-2002, 2007-2014 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
@@ -72,27 +72,33 @@
if test $am_cv_lib_iconv = yes; then
LIBS="$LIBS $LIBICONV"
fi
- AC_RUN_IFELSE(
- [AC_LANG_SOURCE([[
+ am_cv_func_iconv_works=no
+ for ac_iconv_const in '' 'const'; do
+ AC_RUN_IFELSE(
+ [AC_LANG_PROGRAM(
+ [[
#include <iconv.h>
#include <string.h>
-int main ()
-{
- int result = 0;
+
+#ifndef ICONV_CONST
+# define ICONV_CONST $ac_iconv_const
+#endif
+ ]],
+ [[int result = 0;
/* Test against AIX 5.1 bug: Failures are not distinguishable from successful
returns. */
Home |
Main Index |
Thread Index |
Old Index