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 libarchive-3.3.1.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f8dc7809967d
branches:  trunk
changeset: 359040:f8dc7809967d
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Sat Feb 25 21:11:18 2017 +0000

description:
Merge libarchive-3.3.1.

diffstat:

 archivers/libarchive/files/CMakeLists.txt                                        |   147 +-
 archivers/libarchive/files/Makefile.am                                           |    56 +-
 archivers/libarchive/files/Makefile.in                                           |   522 +-
 archivers/libarchive/files/NEWS                                                  |    20 +
 archivers/libarchive/files/README                                                |   163 -
 archivers/libarchive/files/aclocal.m4                                            |  2764 ++-
 archivers/libarchive/files/build/autoconf/config.guess                           |    15 +-
 archivers/libarchive/files/build/autoconf/config.sub                             |    24 +-
 archivers/libarchive/files/build/autoconf/install-sh                             |    23 +-
 archivers/libarchive/files/build/autoconf/ltmain.sh                              |  5817 ++++++---
 archivers/libarchive/files/build/autogen.sh                                      |     1 +
 archivers/libarchive/files/build/cmake/CheckStructMember.cmake                   |    43 -
 archivers/libarchive/files/build/cmake/FindLZMA.cmake                            |    48 -
 archivers/libarchive/files/build/cmake/config.h.in                               |    21 +
 archivers/libarchive/files/build/version                                         |     2 +-
 archivers/libarchive/files/cat/test/main.c                                       |  2992 -----
 archivers/libarchive/files/config.h.in                                           |    48 +-
 archivers/libarchive/files/configure                                             |  2582 ++-
 archivers/libarchive/files/configure.ac                                          |    83 +-
 archivers/libarchive/files/contrib/libarchive.1aix53.spec                        |     4 +-
 archivers/libarchive/files/cpio/cmdline.c                                        |     1 +
 archivers/libarchive/files/cpio/cpio.c                                           |     6 +-
 archivers/libarchive/files/cpio/test/CMakeLists.txt                              |     6 +-
 archivers/libarchive/files/cpio/test/main.c                                      |  2993 -----
 archivers/libarchive/files/cpio/test/test.h                                      |   328 +-
 archivers/libarchive/files/cpio/test/test_option_u.c                             |     3 +
 archivers/libarchive/files/cpio/test/test_option_version.c                       |    88 +-
 archivers/libarchive/files/cpio/test/test_option_y.c                             |     5 +-
 archivers/libarchive/files/cpio/test/test_owner_parse.c                          |     2 +-
 archivers/libarchive/files/doc/html/Makefile                                     |     8 +-
 archivers/libarchive/files/doc/html/archive_entry.3.html                         |     2 +-
 archivers/libarchive/files/doc/html/archive_entry_acl.3.html                     |   491 +-
 archivers/libarchive/files/doc/html/archive_entry_linkify.3.html                 |     2 +-
 archivers/libarchive/files/doc/html/archive_entry_paths.3.html                   |     2 +-
 archivers/libarchive/files/doc/html/archive_entry_perms.3.html                   |     2 +-
 archivers/libarchive/files/doc/html/archive_entry_stat.3.html                    |     2 +-
 archivers/libarchive/files/doc/html/archive_entry_time.3.html                    |     2 +-
 archivers/libarchive/files/doc/html/archive_read.3.html                          |     4 +-
 archivers/libarchive/files/doc/html/archive_read_data.3.html                     |     2 +-
 archivers/libarchive/files/doc/html/archive_read_disk.3.html                     |    22 +-
 archivers/libarchive/files/doc/html/archive_read_extract.3.html                  |     2 +-
 archivers/libarchive/files/doc/html/archive_read_filter.3.html                   |     4 +-
 archivers/libarchive/files/doc/html/archive_read_format.3.html                   |    12 +-
 archivers/libarchive/files/doc/html/archive_read_free.3.html                     |     2 +-
 archivers/libarchive/files/doc/html/archive_read_header.3.html                   |     2 +-
 archivers/libarchive/files/doc/html/archive_read_new.3.html                      |     2 +-
 archivers/libarchive/files/doc/html/archive_read_open.3.html                     |     2 +-
 archivers/libarchive/files/doc/html/archive_read_set_options.3.html              |     4 +-
 archivers/libarchive/files/doc/html/archive_util.3.html                          |    32 +-
 archivers/libarchive/files/doc/html/archive_write.3.html                         |     6 +-
 archivers/libarchive/files/doc/html/archive_write_blocksize.3.html               |     4 +-
 archivers/libarchive/files/doc/html/archive_write_data.3.html                    |     2 +-
 archivers/libarchive/files/doc/html/archive_write_disk.3.html                    |     4 +-
 archivers/libarchive/files/doc/html/archive_write_filter.3.html                  |     2 +-
 archivers/libarchive/files/doc/html/archive_write_finish_entry.3.html            |     2 +-
 archivers/libarchive/files/doc/html/archive_write_format.3.html                  |     2 +-
 archivers/libarchive/files/doc/html/archive_write_free.3.html                    |     2 +-
 archivers/libarchive/files/doc/html/archive_write_header.3.html                  |     2 +-
 archivers/libarchive/files/doc/html/archive_write_new.3.html                     |     2 +-
 archivers/libarchive/files/doc/html/archive_write_open.3.html                    |    23 +-
 archivers/libarchive/files/doc/html/archive_write_set_options.3.html             |    10 +-
 archivers/libarchive/files/doc/html/bsdcpio.1.html                               |    16 +-
 archivers/libarchive/files/doc/html/bsdtar.1.html                                |   160 +-
 archivers/libarchive/files/doc/html/cpio.5.html                                  |    24 +-
 archivers/libarchive/files/doc/html/libarchive-formats.5.html                    |    38 +-
 archivers/libarchive/files/doc/html/libarchive.3.html                            |    10 +-
 archivers/libarchive/files/doc/html/libarchive_changes.3.html                    |     4 +-
 archivers/libarchive/files/doc/html/libarchive_internals.3.html                  |     2 +-
 archivers/libarchive/files/doc/html/mtree.5.html                                 |    16 +-
 archivers/libarchive/files/doc/html/tar.5.html                                   |   123 +-
 archivers/libarchive/files/doc/man/Makefile                                      |     8 +-
 archivers/libarchive/files/doc/man/archive_entry_acl.3                           |   369 +-
 archivers/libarchive/files/doc/man/archive_read_disk.3                           |     6 +-
 archivers/libarchive/files/doc/man/archive_write_open.3                          |    11 +
 archivers/libarchive/files/doc/man/bsdtar.1                                      |   117 +-
 archivers/libarchive/files/doc/man/libarchive-formats.5                          |     4 +-
 archivers/libarchive/files/doc/man/tar.5                                         |    10 +-
 archivers/libarchive/files/doc/pdf/Makefile                                      |     8 +-
 archivers/libarchive/files/doc/pdf/archive_entry.3.pdf                           |   Bin 
 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.3.pdf                            |   Bin 
 archivers/libarchive/files/doc/pdf/archive_read_data.3.pdf                       |   Bin 
 archivers/libarchive/files/doc/pdf/archive_read_disk.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_util.3.pdf                            |   Bin 
 archivers/libarchive/files/doc/pdf/archive_write.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_disk.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/bsdcpio.1.pdf                                 |   Bin 
 archivers/libarchive/files/doc/pdf/bsdtar.1.pdf                                  |   Bin 
 archivers/libarchive/files/doc/pdf/cpio.5.pdf                                    |   Bin 
 archivers/libarchive/files/doc/pdf/libarchive-formats.5.pdf                      |   Bin 
 archivers/libarchive/files/doc/pdf/libarchive.3.pdf                              |   Bin 
 archivers/libarchive/files/doc/pdf/libarchive_changes.3.pdf                      |   Bin 
 archivers/libarchive/files/doc/pdf/libarchive_internals.3.pdf                    |   Bin 
 archivers/libarchive/files/doc/pdf/mtree.5.pdf                                   |   Bin 
 archivers/libarchive/files/doc/pdf/tar.5.pdf                                     |   Bin 
 archivers/libarchive/files/doc/text/Makefile                                     |     8 +-
 archivers/libarchive/files/doc/text/archive_entry.3.txt                          |    66 +-
 archivers/libarchive/files/doc/text/archive_entry_acl.3.txt                      |   335 +-
 archivers/libarchive/files/doc/text/archive_entry_paths.3.txt                    |   150 +-
 archivers/libarchive/files/doc/text/archive_entry_perms.3.txt                    |   168 +-
 archivers/libarchive/files/doc/text/archive_entry_stat.3.txt                     |   216 +-
 archivers/libarchive/files/doc/text/archive_entry_time.3.txt                     |   134 +-
 archivers/libarchive/files/doc/text/archive_read.3.txt                           |    68 +-
 archivers/libarchive/files/doc/text/archive_read_data.3.txt                      |    70 +-
 archivers/libarchive/files/doc/text/archive_read_disk.3.txt                      |   150 +-
 archivers/libarchive/files/doc/text/archive_read_filter.3.txt                    |   130 +-
 archivers/libarchive/files/doc/text/archive_read_open.3.txt                      |   124 +-
 archivers/libarchive/files/doc/text/archive_read_set_options.3.txt               |   112 +-
 archivers/libarchive/files/doc/text/archive_util.3.txt                           |   146 +-
 archivers/libarchive/files/doc/text/archive_write.3.txt                          |    56 +-
 archivers/libarchive/files/doc/text/archive_write_data.3.txt                     |    28 +-
 archivers/libarchive/files/doc/text/archive_write_disk.3.txt                     |   212 +-
 archivers/libarchive/files/doc/text/archive_write_filter.3.txt                   |   112 +-
 archivers/libarchive/files/doc/text/archive_write_finish_entry.3.txt             |    36 +-
 archivers/libarchive/files/doc/text/archive_write_format.3.txt                   |   186 +-
 archivers/libarchive/files/doc/text/archive_write_open.3.txt                     |   141 +-
 archivers/libarchive/files/doc/text/archive_write_set_options.3.txt              |   226 +-
 archivers/libarchive/files/doc/text/bsdcpio.1.txt                                |   206 +-
 archivers/libarchive/files/doc/text/bsdtar.1.txt                                 |   629 +-
 archivers/libarchive/files/doc/text/cpio.5.txt                                   |    78 +-
 archivers/libarchive/files/doc/text/libarchive-formats.5.txt                     |    91 +-
 archivers/libarchive/files/doc/text/libarchive.3.txt                             |   106 +-
 archivers/libarchive/files/doc/text/libarchive_changes.3.txt                     |   186 +-
 archivers/libarchive/files/doc/text/libarchive_internals.3.txt                   |    96 +-
 archivers/libarchive/files/doc/text/mtree.5.txt                                  |   142 +-
 archivers/libarchive/files/doc/text/tar.5.txt                                    |   298 +-
 archivers/libarchive/files/doc/wiki/Makefile                                     |     8 +-
 archivers/libarchive/files/doc/wiki/ManPageArchiveEntry3.wiki                    |    22 +-
 archivers/libarchive/files/doc/wiki/ManPageArchiveEntryAcl3.wiki                 |   358 +-
 archivers/libarchive/files/doc/wiki/ManPageArchiveEntryLinkify3.wiki             |     4 +-
 archivers/libarchive/files/doc/wiki/ManPageArchiveEntryPaths3.wiki               |     8 +-
 archivers/libarchive/files/doc/wiki/ManPageArchiveEntryPerms3.wiki               |    10 +-
 archivers/libarchive/files/doc/wiki/ManPageArchiveEntryStat3.wiki                |    10 +-
 archivers/libarchive/files/doc/wiki/ManPageArchiveEntryTime3.wiki                |     6 +-
 archivers/libarchive/files/doc/wiki/ManPageArchiveRead3.wiki                     |    38 +-
 archivers/libarchive/files/doc/wiki/ManPageArchiveReadData3.wiki                 |    18 +-
 archivers/libarchive/files/doc/wiki/ManPageArchiveReadDisk3.wiki                 |    20 +-
 archivers/libarchive/files/doc/wiki/ManPageArchiveReadExtract3.wiki              |    36 +-
 archivers/libarchive/files/doc/wiki/ManPageArchiveReadFilter3.wiki               |    10 +-
 archivers/libarchive/files/doc/wiki/ManPageArchiveReadFormat3.wiki               |    10 +-
 archivers/libarchive/files/doc/wiki/ManPageArchiveReadFree3.wiki                 |    16 +-
 archivers/libarchive/files/doc/wiki/ManPageArchiveReadHeader3.wiki               |    18 +-
 archivers/libarchive/files/doc/wiki/ManPageArchiveReadNew3.wiki                  |    14 +-
 archivers/libarchive/files/doc/wiki/ManPageArchiveReadOpen3.wiki                 |    16 +-
 archivers/libarchive/files/doc/wiki/ManPageArchiveReadSetOptions3.wiki           |     6 +-
 archivers/libarchive/files/doc/wiki/ManPageArchiveUtil3.wiki                     |    12 +-
 archivers/libarchive/files/doc/wiki/ManPageArchiveWrite3.wiki                    |    22 +-
 archivers/libarchive/files/doc/wiki/ManPageArchiveWriteBlocksize3.wiki           |     4 +-
 archivers/libarchive/files/doc/wiki/ManPageArchiveWriteData3.wiki                |     6 +-
 archivers/libarchive/files/doc/wiki/ManPageArchiveWriteDisk3.wiki                |    12 +-
 archivers/libarchive/files/doc/wiki/ManPageArchiveWriteFilter3.wiki              |     8 +-
 archivers/libarchive/files/doc/wiki/ManPageArchiveWriteFinishEntry3.wiki         |     6 +-
 archivers/libarchive/files/doc/wiki/ManPageArchiveWriteFormat3.wiki              |    10 +-
 archivers/libarchive/files/doc/wiki/ManPageArchiveWriteFree3.wiki                |     4 +-
 archivers/libarchive/files/doc/wiki/ManPageArchiveWriteHeader3.wiki              |     6 +-
 archivers/libarchive/files/doc/wiki/ManPageArchiveWriteNew3.wiki                 |     8 +-
 archivers/libarchive/files/doc/wiki/ManPageArchiveWriteOpen3.wiki                |    25 +-
 archivers/libarchive/files/doc/wiki/ManPageArchiveWriteSetOptions3.wiki          |     6 +-
 archivers/libarchive/files/doc/wiki/ManPageBsdcpio1.wiki                         |    10 +-
 archivers/libarchive/files/doc/wiki/ManPageBsdtar1.wiki                          |   117 +-
 archivers/libarchive/files/doc/wiki/ManPageLibarchive3.wiki                      |    32 +-
 archivers/libarchive/files/doc/wiki/ManPageLibarchiveChanges3.wiki               |    20 +-
 archivers/libarchive/files/doc/wiki/ManPageLibarchiveFormats5.wiki               |    14 +-
 archivers/libarchive/files/doc/wiki/ManPageLibarchiveInternals3.wiki             |    22 +-
 archivers/libarchive/files/doc/wiki/ManPageTar5.wiki                             |     8 +-
 archivers/libarchive/files/examples/minitar/minitar.c                            |     8 +-
 archivers/libarchive/files/libarchive/CMakeLists.txt                             |    20 +
 archivers/libarchive/files/libarchive/archive.h                                  |    20 +-
 archivers/libarchive/files/libarchive/archive_entry.c                            |   234 +-
 archivers/libarchive/files/libarchive/archive_entry.h                            |    94 +-
 archivers/libarchive/files/libarchive/archive_entry_acl.3                        |   335 +-
 archivers/libarchive/files/libarchive/archive_entry_strmode.c                    |     2 +-
 archivers/libarchive/files/libarchive/archive_match.c                            |    14 +-
 archivers/libarchive/files/libarchive/archive_options.c                          |    11 +-
 archivers/libarchive/files/libarchive/archive_pack_dev.c                         |     4 +-
 archivers/libarchive/files/libarchive/archive_pack_dev.h                         |     2 +-
 archivers/libarchive/files/libarchive/archive_platform.h                         |    28 +-
 archivers/libarchive/files/libarchive/archive_read.c                             |    16 +-
 archivers/libarchive/files/libarchive/archive_read_append_filter.c               |     2 -
 archivers/libarchive/files/libarchive/archive_read_disk.3                        |     6 +-
 archivers/libarchive/files/libarchive/archive_read_disk_entry_from_file.c        |  1090 +-
 archivers/libarchive/files/libarchive/archive_read_disk_posix.c                  |   137 +-
 archivers/libarchive/files/libarchive/archive_read_disk_private.h                |    12 +-
 archivers/libarchive/files/libarchive/archive_read_disk_set_standard_lookup.c    |     2 +
 archivers/libarchive/files/libarchive/archive_read_disk_windows.c                |    59 +-
 archivers/libarchive/files/libarchive/archive_read_open_filename.c               |    20 +-
 archivers/libarchive/files/libarchive/archive_read_open_memory.c                 |     3 +-
 archivers/libarchive/files/libarchive/archive_read_private.h                     |     3 +-
 archivers/libarchive/files/libarchive/archive_read_support_filter_lzop.c         |     2 +-
 archivers/libarchive/files/libarchive/archive_read_support_filter_uu.c           |    44 +-
 archivers/libarchive/files/libarchive/archive_read_support_filter_xz.c           |   194 +-
 archivers/libarchive/files/libarchive/archive_read_support_format_7zip.c         |    39 +-
 archivers/libarchive/files/libarchive/archive_read_support_format_ar.c           |    22 +-
 archivers/libarchive/files/libarchive/archive_read_support_format_cab.c          |    15 +-
 archivers/libarchive/files/libarchive/archive_read_support_format_cpio.c         |    17 +-
 archivers/libarchive/files/libarchive/archive_read_support_format_iso9660.c      |    40 +-
 archivers/libarchive/files/libarchive/archive_read_support_format_lha.c          |    12 +-
 archivers/libarchive/files/libarchive/archive_read_support_format_mtree.c        |    71 +-
 archivers/libarchive/files/libarchive/archive_read_support_format_rar.c          |     5 +-
 archivers/libarchive/files/libarchive/archive_read_support_format_tar.c          |   281 +-
 archivers/libarchive/files/libarchive/archive_read_support_format_warc.c         |   237 +-
 archivers/libarchive/files/libarchive/archive_read_support_format_xar.c          |    87 +-
 archivers/libarchive/files/libarchive/archive_read_support_format_zip.c          |   158 +-
 archivers/libarchive/files/libarchive/archive_string.c                           |   117 +-
 archivers/libarchive/files/libarchive/archive_string.h                           |     8 +-
 archivers/libarchive/files/libarchive/archive_util.c                             |     2 +-
 archivers/libarchive/files/libarchive/archive_windows.c                          |     4 +-
 archivers/libarchive/files/libarchive/archive_windows.h                          |     4 +
 archivers/libarchive/files/libarchive/archive_write.c                            |     8 +-
 archivers/libarchive/files/libarchive/archive_write_add_filter_program.c         |     1 +
 archivers/libarchive/files/libarchive/archive_write_add_filter_xz.c              |     2 +-
 archivers/libarchive/files/libarchive/archive_write_disk_acl.c                   |   557 +-
 archivers/libarchive/files/libarchive/archive_write_disk_posix.c                 |   584 +-
 archivers/libarchive/files/libarchive/archive_write_disk_set_standard_lookup.c   |     6 +-
 archivers/libarchive/files/libarchive/archive_write_disk_windows.c               |     7 +-
 archivers/libarchive/files/libarchive/archive_write_open.3                       |    11 +
 archivers/libarchive/files/libarchive/archive_write_open_memory.c                |     3 +-
 archivers/libarchive/files/libarchive/archive_write_set_format_7zip.c            |     4 +-
 archivers/libarchive/files/libarchive/archive_write_set_format_ar.c              |     3 +-
 archivers/libarchive/files/libarchive/archive_write_set_format_cpio.c            |     2 +-
 archivers/libarchive/files/libarchive/archive_write_set_format_cpio_newc.c       |     5 +-
 archivers/libarchive/files/libarchive/archive_write_set_format_gnutar.c          |    14 +-
 archivers/libarchive/files/libarchive/archive_write_set_format_iso9660.c         |    60 +-
 archivers/libarchive/files/libarchive/archive_write_set_format_mtree.c           |     4 +-
 archivers/libarchive/files/libarchive/archive_write_set_format_pax.c             |   183 +-
 archivers/libarchive/files/libarchive/archive_write_set_format_shar.c            |     3 +-
 archivers/libarchive/files/libarchive/archive_write_set_format_ustar.c           |    11 +-
 archivers/libarchive/files/libarchive/archive_write_set_format_xar.c             |    21 +-
 archivers/libarchive/files/libarchive/archive_write_set_format_zip.c             |    12 +-
 archivers/libarchive/files/libarchive/config_freebsd.h                           |     2 +
 archivers/libarchive/files/libarchive/libarchive-formats.5                       |     4 +-
 archivers/libarchive/files/libarchive/tar.5                                      |    11 +-
 archivers/libarchive/files/libarchive/test/CMakeLists.txt                        |    20 +-
 archivers/libarchive/files/libarchive/test/list.h                                |    23 +-
 archivers/libarchive/files/libarchive/test/main.c                                |  2991 -----
 archivers/libarchive/files/libarchive/test/read_open_memory.c                    |    33 +-
 archivers/libarchive/files/libarchive/test/test.h                                |   337 +-
 archivers/libarchive/files/libarchive/test/test_acl_freebsd_nfs4.c               |   547 -
 archivers/libarchive/files/libarchive/test/test_acl_freebsd_posix1e.c            |   265 -
 archivers/libarchive/files/libarchive/test/test_acl_pax.c                        |   367 +-
 archivers/libarchive/files/libarchive/test/test_acl_pax.tar.uu                   |   117 -
 archivers/libarchive/files/libarchive/test/test_archive_api_feature.c            |     8 +-
 archivers/libarchive/files/libarchive/test/test_archive_string.c                 |    24 +
 archivers/libarchive/files/libarchive/test/test_compat_gtar.c                    |    40 +
 archivers/libarchive/files/libarchive/test/test_compat_solaris_tar_acl.c         |   299 +-
 archivers/libarchive/files/libarchive/test/test_fuzz.c                           |    30 +-
 archivers/libarchive/files/libarchive/test/test_pax_filename_encoding.c          |     8 +-
 archivers/libarchive/files/libarchive/test/test_read_disk.c                      |     6 +-
 archivers/libarchive/files/libarchive/test/test_read_disk_directory_traversals.c |    33 +-
 archivers/libarchive/files/libarchive/test/test_read_format_7zip.c               |     2 +-
 archivers/libarchive/files/libarchive/test/test_read_format_cpio_afio.c          |     2 +-
 archivers/libarchive/files/libarchive/test/test_read_format_isorr_bz2.c          |     2 +-
 archivers/libarchive/files/libarchive/test/test_read_format_rar.c                |     2 +-
 archivers/libarchive/files/libarchive/test/test_read_format_raw.c                |    27 +
 archivers/libarchive/files/libarchive/test/test_read_format_zip.c                |     5 +
 archivers/libarchive/files/libarchive/test/test_read_format_zip_comment_stored.c |     2 +
 archivers/libarchive/files/libarchive/test/test_read_format_zip_filename.c       |     2 +-
 archivers/libarchive/files/libarchive/test/test_read_format_zip_mac_metadata.c   |     2 +
 archivers/libarchive/files/libarchive/test/test_read_format_zip_sfx.c            |     2 +
 archivers/libarchive/files/libarchive/test/test_sparse_basic.c                   |    73 +-
 archivers/libarchive/files/libarchive/test/test_write_disk_appledouble.c         |     4 +-
 archivers/libarchive/files/libarchive/test/test_write_filter_lzop.c              |     6 +-
 archivers/libarchive/files/libarchive/test/test_write_format_iso9660.c           |   223 +-
 archivers/libarchive/files/libarchive/test/test_write_format_zip_empty.c         |     2 +-
 archivers/libarchive/files/tar/bsdtar.1                                          |   108 +-
 archivers/libarchive/files/tar/bsdtar.c                                          |   119 +-
 archivers/libarchive/files/tar/bsdtar.h                                          |    53 +-
 archivers/libarchive/files/tar/cmdline.c                                         |    13 +-
 archivers/libarchive/files/tar/creation_set.c                                    |     4 +-
 archivers/libarchive/files/tar/read.c                                            |    30 +-
 archivers/libarchive/files/tar/subst.c                                           |     1 +
 archivers/libarchive/files/tar/test/CMakeLists.txt                               |     6 +-
 archivers/libarchive/files/tar/test/main.c                                       |  2993 -----
 archivers/libarchive/files/tar/test/test.h                                       |   328 +-
 archivers/libarchive/files/tar/test/test_copy.c                                  |     4 +-
 archivers/libarchive/files/tar/test/test_option_b.c                              |     4 +-
 archivers/libarchive/files/tar/test/test_option_r.c                              |    34 +-
 archivers/libarchive/files/tar/test/test_stdio.c                                 |     1 +
 archivers/libarchive/files/tar/test/test_symlink_dir.c                           |    20 +-
 archivers/libarchive/files/tar/test/test_version.c                               |    72 +-
 archivers/libarchive/files/tar/test/test_windows.c                               |     2 +-
 archivers/libarchive/files/tar/util.c                                            |     5 +-
 archivers/libarchive/files/tar/write.c                                           |    46 +-
 306 files changed, 16683 insertions(+), 23744 deletions(-)

diffs (truncated from 63499 to 300 lines):

diff -r 612a6942673a -r f8dc7809967d archivers/libarchive/files/CMakeLists.txt
--- a/archivers/libarchive/files/CMakeLists.txt Sat Feb 25 20:54:04 2017 +0000
+++ b/archivers/libarchive/files/CMakeLists.txt Sat Feb 25 21:11:18 2017 +0000
@@ -15,7 +15,7 @@
 #   RelWithDebInfo : Release build with Debug Info
 #   MinSizeRel     : Release Min Size build
 IF(NOT CMAKE_BUILD_TYPE)
-  SET(CMAKE_BUILD_TYPE "Debug" CACHE STRING "Build Type" FORCE)
+  SET(CMAKE_BUILD_TYPE "Release" CACHE STRING "Build Type" FORCE)
 ENDIF(NOT CMAKE_BUILD_TYPE)
 # Set a value type to properly display CMAKE_BUILD_TYPE on GUI if the
 # value type is "UNINITIALIZED".
@@ -44,13 +44,13 @@
 #
 FILE(STRINGS ${CMAKE_CURRENT_SOURCE_DIR}/build/version _version)
 STRING(REGEX REPLACE
- "^([0-9])[0-9][0-9][0-9][0-9][0-9][0-9][a-z]?$" "\\1" _major ${_version})
+ "^([0-9])[0-9][0-9][0-9][0-9][0-9][0-9][a-z]*$" "\\1" _major ${_version})
 STRING(REGEX REPLACE
- "^[0-9]([0-9][0-9][0-9])[0-9][0-9][0-9][a-z]?$" "\\1" _minor ${_version})
+ "^[0-9]([0-9][0-9][0-9])[0-9][0-9][0-9][a-z]*$" "\\1" _minor ${_version})
 STRING(REGEX REPLACE
- "^[0-9][0-9][0-9][0-9]([0-9][0-9][0-9])[a-z]?$" "\\1" _revision ${_version})
+ "^[0-9][0-9][0-9][0-9]([0-9][0-9][0-9])[a-z]*$" "\\1" _revision ${_version})
 STRING(REGEX REPLACE
- "^[0-9][0-9][0-9][0-9][0-9][0-9][0-9]([a-z]?)$" "\\1" _quality ${_version})
+ "^[0-9][0-9][0-9][0-9][0-9][0-9][0-9]([a-z]*)$" "\\1" _quality ${_version})
 SET(_version_number ${_major}${_minor}${_revision})
 STRING(REGEX REPLACE "[0]*([^0]*[0-9])$" "\\1" _trimmed_minor ${_minor})
 STRING(REGEX REPLACE "[0]*([^0]*[0-9])$" "\\1" _trimmed_revision ${_revision})
@@ -179,13 +179,15 @@
 
 OPTION(ENABLE_NETTLE "Enable use of Nettle" ON)
 OPTION(ENABLE_OPENSSL "Enable use of OpenSSL" ON)
-OPTION(ENABLE_LZMA "Enable the use of the system found LZMA library if found" ON)
-OPTION(ENABLE_ZLIB "Enable the use of the system found ZLIB library if found" ON)
-OPTION(ENABLE_BZip2 "Enable the use of the system found BZip2 library if found" ON)
-OPTION(ENABLE_LIBXML2 "Enable the use of the system found libxml2 library if found" ON)
-OPTION(ENABLE_EXPAT "Enable the use of the system found EXPAT library if found" ON)
-OPTION(ENABLE_PCREPOSIX "Enable the use of the system found PCREPOSIX library if found" ON)
-OPTION(ENABLE_LibGCC "Enable the use of the system found LibGCC library if found" ON)
+OPTION(ENABLE_LZO "Enable the use of the system LZO library if found" OFF)
+OPTION(ENABLE_LZMA "Enable the use of the system LZMA library if found" ON)
+
+OPTION(ENABLE_ZLIB "Enable the use of the system ZLIB library if found" ON)
+OPTION(ENABLE_BZip2 "Enable the use of the system BZip2 library if found" ON)
+OPTION(ENABLE_LIBXML2 "Enable the use of the system libxml2 library if found" ON)
+OPTION(ENABLE_EXPAT "Enable the use of the system EXPAT library if found" ON)
+OPTION(ENABLE_PCREPOSIX "Enable the use of the system PCREPOSIX library if found" ON)
+OPTION(ENABLE_LibGCC "Enable the use of the system LibGCC library if found" ON)
 # CNG is used for encrypt/decrypt Zip archives on Windows.
 OPTION(ENABLE_CNG "Enable the use of CNG(Crypto Next Generation)" ON)
 
@@ -274,7 +276,7 @@
 INCLUDE(CheckIncludeFile)
 INCLUDE(CheckIncludeFiles)
 INCLUDE(CheckLibraryExists)
-INCLUDE(CheckStructMember)
+INCLUDE(CheckStructHasMember)
 INCLUDE(CheckSymbolExists)
 INCLUDE(CheckTypeExists)
 INCLUDE(CheckTypeSize)
@@ -452,46 +454,46 @@
 # Find LZMA
 #
 IF(ENABLE_LZMA)
-  FIND_PACKAGE(LZMA)
+  FIND_PACKAGE(LibLZMA)
 ELSE()
-  SET(LZMA_FOUND FALSE) # Override cached value
-  SET(LZMADEC_FOUND FALSE) # Override cached value
+  SET(LIBZMA_FOUND FALSE) # Override cached value
 ENDIF()
 
-IF(LZMA_FOUND)
+IF(LIBLZMA_FOUND)
   SET(HAVE_LIBLZMA 1)
   SET(HAVE_LZMA_H 1)
-  INCLUDE_DIRECTORIES(${LZMA_INCLUDE_DIR})
-  LIST(APPEND ADDITIONAL_LIBS ${LZMA_LIBRARIES})
+  SET(CMAKE_REQUIRED_INCLUDES ${LIBLZMA_INCLUDE_DIR})
+  SET(CMAKE_REQUIRED_LIBRARIES ${LIBLZMA_LIBRARIES})
+  INCLUDE_DIRECTORIES(${LIBLZMA_INCLUDE_DIRS})
+  LIST(APPEND ADDITIONAL_LIBS ${LIBLZMA_LIBRARIES})
   # Test if a macro is needed for the library.
   TRY_MACRO_FOR_LIBRARY(
-    "${LZMA_INCLUDE_DIR}" "${LZMA_LIBRARIES}"
+    "${LIBLZMA_INCLUDE_DIRS}" "${LIBLZMA_LIBRARIES}"
     COMPILES
     "#include <lzma.h>\nint main() {return (int)lzma_version_number(); }"
     "WITHOUT_LZMA_API_STATIC;LZMA_API_STATIC")
   IF(NOT WITHOUT_LZMA_API_STATIC AND LZMA_API_STATIC)
     ADD_DEFINITIONS(-DLZMA_API_STATIC)
   ENDIF(NOT WITHOUT_LZMA_API_STATIC AND LZMA_API_STATIC)
-ELSEIF(LZMADEC_FOUND)
-  SET(HAVE_LIBLZMADEC 1)
-  SET(HAVE_LZMADEC_H 1)
-  INCLUDE_DIRECTORIES(${LZMADEC_INCLUDE_DIR})
-  LIST(APPEND ADDITIONAL_LIBS ${LZMADEC_LIBRARIES})
-ELSE(LZMA_FOUND)
+ELSE(LIBLZMA_FOUND)
 # LZMA not found and will not be used.
-ENDIF(LZMA_FOUND)
+ENDIF(LIBLZMA_FOUND)
 #
 # Find LZO2
 #
-IF (LZO2_INCLUDE_DIR)
-  # Already in cache, be silent
-  SET(LZO2_FIND_QUIETLY TRUE)
-ENDIF (LZO2_INCLUDE_DIR)
+IF(ENABLE_LZO)
+  IF (LZO2_INCLUDE_DIR)
+    # Already in cache, be silent
+    SET(LZO2_FIND_QUIETLY TRUE)
+  ENDIF (LZO2_INCLUDE_DIR)
 
-FIND_PATH(LZO2_INCLUDE_DIR lzo/lzoconf.h)
-FIND_LIBRARY(LZO2_LIBRARY NAMES lzo2 liblzo2)
-INCLUDE(FindPackageHandleStandardArgs)
-FIND_PACKAGE_HANDLE_STANDARD_ARGS(LZO2 DEFAULT_MSG LZO2_LIBRARY LZO2_INCLUDE_DIR)
+  FIND_PATH(LZO2_INCLUDE_DIR lzo/lzoconf.h)
+  FIND_LIBRARY(LZO2_LIBRARY NAMES lzo2 liblzo2)
+  INCLUDE(FindPackageHandleStandardArgs)
+  FIND_PACKAGE_HANDLE_STANDARD_ARGS(LZO2 DEFAULT_MSG LZO2_LIBRARY LZO2_INCLUDE_DIR)
+ELSE(ENABLE_LZO)
+  SET(LIBZMA_FOUND FALSE) # Override cached value
+ENDIF(ENABLE_LZO)
 IF(LZO2_FOUND)
   SET(HAVE_LIBLZO2 1)
   SET(HAVE_LZO_LZOCONF_H 1)
@@ -570,6 +572,11 @@
 LA_CHECK_INCLUDE_FILE("linux/types.h" HAVE_LINUX_TYPES_H)
 LA_CHECK_INCLUDE_FILE("linux/fiemap.h" HAVE_LINUX_FIEMAP_H)
 LA_CHECK_INCLUDE_FILE("linux/fs.h" HAVE_LINUX_FS_H)
+
+CHECK_C_SOURCE_COMPILES("#include <sys/ioctl.h>
+#include <linux/fs.h>
+int main(void) { return FS_IOC_GETFLAGS; }" HAVE_WORKING_FS_IOC_GETFLAGS)
+
 LA_CHECK_INCLUDE_FILE("linux/magic.h" HAVE_LINUX_MAGIC_H)
 LA_CHECK_INCLUDE_FILE("locale.h" HAVE_LOCALE_H)
 LA_CHECK_INCLUDE_FILE("memory.h" HAVE_MEMORY_H)
@@ -614,7 +621,7 @@
 ELSE(ENABLE_CNG)
   UNSET(HAVE_BCRYPT_H CACHE)
 ENDIF(ENABLE_CNG)
-# Following files need windwos.h, so we should test it after windows.h test.
+# Following files need windows.h, so we should test it after windows.h test.
 LA_CHECK_INCLUDE_FILE("wincrypt.h" HAVE_WINCRYPT_H)
 LA_CHECK_INCLUDE_FILE("winioctl.h" HAVE_WINIOCTL_H)
 
@@ -1274,6 +1281,14 @@
 
 CMAKE_POP_CHECK_STATE()        # Restore the state of the variables
 
+CHECK_C_SOURCE_COMPILES(
+  "#include <sys/types.h>\n#include <sys/mount.h>\nint main(void) { struct vfsconf v; return sizeof(v);}"
+  HAVE_STRUCT_VFSCONF)
+
+CHECK_C_SOURCE_COMPILES(
+  "#include <sys/types.h>\n#include <sys/mount.h>\nint main(void) { struct xvfsconf v; return sizeof(v);}"
+  HAVE_STRUCT_XVFSCONF)
+
 # Make sure we have the POSIX version of readdir_r, not the
 # older 2-argument version.
 CHECK_C_SOURCE_COMPILES(
@@ -1299,6 +1314,10 @@
   "#include <sys/sysmacros.h>\nint main() { return major(256); }"
   MAJOR_IN_SYSMACROS)
 
+CHECK_C_SOURCE_COMPILES(
+  "#include <lzma.h>\n#if LZMA_VERSION < 50020000\n#error unsupported\n#endif\nint main(void){lzma_stream_encoder_mt(0, 0); return 0;}"
+  HAVE_LZMA_STREAM_ENCODER_MT)
+
 IF(HAVE_STRERROR_R)
   SET(HAVE_DECL_STRERROR_R 1)
 ENDIF(HAVE_STRERROR_R)
@@ -1332,47 +1351,47 @@
 # Check struct members
 #
 # Check for tm_gmtoff in struct tm
-CHECK_STRUCT_MEMBER("struct tm" tm_gmtoff
+CHECK_STRUCT_HAS_MEMBER("struct tm" tm_gmtoff
     "time.h" HAVE_STRUCT_TM_TM_GMTOFF)
-CHECK_STRUCT_MEMBER("struct tm" __tm_gmtoff
+CHECK_STRUCT_HAS_MEMBER("struct tm" __tm_gmtoff
     "time.h" HAVE_STRUCT_TM___TM_GMTOFF)
 
 # Check for f_namemax in struct statfs
-CHECK_STRUCT_MEMBER("struct statfs" f_namemax
+CHECK_STRUCT_HAS_MEMBER("struct statfs" f_namemax
     "sys/param.h;sys/mount.h" HAVE_STRUCT_STATFS_F_NAMEMAX)
 
 # Check for birthtime in struct stat
-CHECK_STRUCT_MEMBER("struct stat" st_birthtime
+CHECK_STRUCT_HAS_MEMBER("struct stat" st_birthtime
     "sys/types.h;sys/stat.h" HAVE_STRUCT_STAT_ST_BIRTHTIME)
 
 # Check for high-resolution timestamps in struct stat
-CHECK_STRUCT_MEMBER("struct stat" st_birthtimespec.tv_nsec
+CHECK_STRUCT_HAS_MEMBER("struct stat" st_birthtimespec.tv_nsec
     "sys/types.h;sys/stat.h" HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC_TV_NSEC)
-CHECK_STRUCT_MEMBER("struct stat" st_mtimespec.tv_nsec
+CHECK_STRUCT_HAS_MEMBER("struct stat" st_mtimespec.tv_nsec
     "sys/types.h;sys/stat.h" HAVE_STRUCT_STAT_ST_MTIMESPEC_TV_NSEC)
-CHECK_STRUCT_MEMBER("struct stat" st_mtim.tv_nsec
+CHECK_STRUCT_HAS_MEMBER("struct stat" st_mtim.tv_nsec
     "sys/types.h;sys/stat.h" HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC)
-CHECK_STRUCT_MEMBER("struct stat" st_mtime_n
+CHECK_STRUCT_HAS_MEMBER("struct stat" st_mtime_n
     "sys/types.h;sys/stat.h" HAVE_STRUCT_STAT_ST_MTIME_N)
-CHECK_STRUCT_MEMBER("struct stat" st_umtime
+CHECK_STRUCT_HAS_MEMBER("struct stat" st_umtime
     "sys/types.h;sys/stat.h" HAVE_STRUCT_STAT_ST_UMTIME)
-CHECK_STRUCT_MEMBER("struct stat" st_mtime_usec
+CHECK_STRUCT_HAS_MEMBER("struct stat" st_mtime_usec
     "sys/types.h;sys/stat.h" HAVE_STRUCT_STAT_ST_MTIME_USEC)
 # Check for block size support in struct stat
-CHECK_STRUCT_MEMBER("struct stat" st_blksize
+CHECK_STRUCT_HAS_MEMBER("struct stat" st_blksize
     "sys/types.h;sys/stat.h" HAVE_STRUCT_STAT_ST_BLKSIZE)
 # Check for st_flags in struct stat (BSD fflags)
-CHECK_STRUCT_MEMBER("struct stat" st_flags
+CHECK_STRUCT_HAS_MEMBER("struct stat" st_flags
     "sys/types.h;sys/stat.h" HAVE_STRUCT_STAT_ST_FLAGS)
 
 IF(HAVE_SYS_STATVFS_H)
-  CHECK_STRUCT_MEMBER("struct statvfs" f_iosize
+  CHECK_STRUCT_HAS_MEMBER("struct statvfs" f_iosize
     "sys/types.h;sys/statvfs.h" HAVE_STRUCT_STATVFS_F_IOSIZE)
 ENDIF()
 
 #
 #
-CHECK_STRUCT_MEMBER("struct tm" tm_sec
+CHECK_STRUCT_HAS_MEMBER("struct tm" tm_sec
     "sys/types.h;sys/time.h;time.h" TIME_WITH_SYS_TIME)
 
 #
@@ -1592,16 +1611,36 @@
   # test for specific permissions in a permset.)  Linux uses the obvious
   # name, FreeBSD adds _np to mark it as "non-Posix extension."
   # Test for both as a double-check that we really have POSIX-style ACL support.
+  CHECK_FUNCTION_EXISTS(acl_get_fd_np HAVE_ACL_GET_FD_NP)
   CHECK_FUNCTION_EXISTS(acl_get_perm HAVE_ACL_GET_PERM)
   CHECK_FUNCTION_EXISTS(acl_get_perm_np HAVE_ACL_GET_PERM_NP)
   CHECK_FUNCTION_EXISTS(acl_get_link HAVE_ACL_GET_LINK)
   CHECK_FUNCTION_EXISTS(acl_get_link_np HAVE_ACL_GET_LINK_NP)
   CHECK_FUNCTION_EXISTS(acl_is_trivial_np HAVE_ACL_IS_TRIVIAL_NP)
   CHECK_FUNCTION_EXISTS(acl_set_link_np HAVE_ACL_SET_LINK_NP)
+  CHECK_SYMBOL_EXISTS(ACL_TYPE_NFS4 "${INCLUDES}" HAVE_ACL_TYPE_NFS4)
 
   # MacOS has an acl.h that isn't POSIX.  It can be detected by
   # checking for ACL_USER
   CHECK_SYMBOL_EXISTS(ACL_USER "${INCLUDES}" HAVE_ACL_USER)
+  CHECK_C_SOURCE_COMPILES("#include <sys/types.h>
+#include <sys/acl.h>
+int main(void) { return ACL_TYPE_EXTENDED; }" HAVE_ACL_TYPE_EXTENDED)
+
+  # Solaris and derivates ACLs
+  CHECK_LIBRARY_EXISTS(sec "acl_get" "" HAVE_LIBSEC)
+  IF(HAVE_LIBSEC)
+    SET(CMAKE_REQUIRED_LIBRARIES "sec")
+    FIND_LIBRARY(SEC_LIBRARY NAMES sec)
+    LIST(APPEND ADDITIONAL_LIBS ${SEC_LIBRARY})
+  ENDIF(HAVE_LIBSEC)
+  #
+  CHECK_TYPE_EXISTS(aclent_t "${INCLUDES}" HAVE_ACLENT_T)
+  CHECK_TYPE_EXISTS(ace_t "${INCLUDES}" HAVE_ACE_T)
+  CHECK_FUNCTION_EXISTS(acl_get HAVE_FACL_GET)
+  CHECK_FUNCTION_EXISTS(facl_get HAVE_FACL_GET)
+  CHECK_FUNCTION_EXISTS(acl_set HAVE_FACL_SET)
+  CHECK_FUNCTION_EXISTS(facl_set HAVE_FACL_SET)
 ELSE(ENABLE_ACL)
   # If someone runs cmake, then disables ACL support, we need
   # to forcibly override the cached values for these.
@@ -1616,7 +1655,15 @@
   SET(HAVE_ACL_SET_FD FALSE)
   SET(HAVE_ACL_SET_FD_NP FALSE)
   SET(HAVE_ACL_SET_FILE FALSE)
+  SET(HAVE_ACL_TYPE_NFS4 FALSE)
   SET(HAVE_ACL_USER FALSE)
+  SET(HAVE_ACL_TYPE_EXTENDED FALSE)
+  SET(HAVE_ACL_GET FALSE)
+  SET(HAVE_ACLENT_T FALSE)
+  SET(HAVE_ACE_T FALSE)
+  SET(HAVE_FACL_GET FALSE)
+  SET(HAVE_ACL_SET FALSE)
+  SET(HAVE_FACL_SET FALSE)
 ENDIF(ENABLE_ACL)
 
 #
diff -r 612a6942673a -r f8dc7809967d archivers/libarchive/files/Makefile.am
--- a/archivers/libarchive/files/Makefile.am    Sat Feb 25 20:54:04 2017 +0000
+++ b/archivers/libarchive/files/Makefile.am    Sat Feb 25 21:11:18 2017 +0000
@@ -33,6 +33,7 @@
 #
 EXTRA_DIST= \
        CMakeLists.txt \




Home | Main Index | Thread Index | Old Index