11.16Sriastrad# $NetBSD: Makefile,v 1.16 2024/11/21 20:14:07 riastradh Exp $ 21.1Schristos 31.1SchristosNOMAN= 41.1Schristos 51.1Schristos.include <bsd.own.mk> 61.1SchristosLIBARCHIVE=${NETBSDSRCDIR}/external/bsd/libarchive/dist 71.1Schristos 81.1SchristosTESTSDIR= ${TESTSBASE}/lib/libarchive 91.1Schristos 101.1SchristosBINDIR= ${TESTSDIR} 111.1SchristosPROGS+= h_libarchive 121.1SchristosTESTS_SH+= t_libarchive 131.1Schristos 141.1SchristosCPPFLAGS+=-I${LIBARCHIVE}/test_utils -I${LIBARCHIVE}/libarchive -I. 151.1SchristosCPPFLAGS+=-I${LIBARCHIVE}/libarchive/test -I${LIBARCHIVE}/../include 161.1Schristos 171.1Schristos.PATH: ${LIBARCHIVE}/libarchive/test ${LIBARCHIVE}/test_utils 181.1Schristos 191.4SchristosDPADD+= ${LIBARCHIVE} ${LIBEXPAT} ${LIBBZ2} ${LIBLZMA} ${LIBZ} \ 201.4Schristos ${LIBCRYPTO} ${LIBPTHREAD} 211.16SriastradLDADD+= -Wl,--push-state,-Bstatic,-larchive,--pop-state # uses libarchive guts 221.16SriastradLDADD+= -lexpat -lbz2 -llzma -lz -lcrypto -lpthread 231.1Schristos 241.15Sriastrad.include "${NETBSDSRCDIR}/external/bsd/zstd/Makefile.zstd" 251.15SriastradPROGDPLIBS+= ${ZSTDDPLIBS} # needed by libarchive 261.15Sriastrad 271.1SchristosSRCS.h_libarchive= \ 281.1Schristosread_open_memory.c \ 291.1Schristostest_acl_nfs4.c \ 301.1Schristostest_acl_pax.c \ 311.1Schristostest_acl_platform_nfs4.c \ 321.1Schristostest_acl_platform_posix1e.c \ 331.1Schristostest_acl_posix1e.c \ 341.1Schristostest_acl_text.c \ 351.1Schristostest_archive_api_feature.c \ 361.1Schristostest_archive_clear_error.c \ 371.1Schristostest_archive_cmdline.c \ 381.1Schristostest_archive_digest.c \ 391.1Schristostest_archive_getdate.c \ 401.1Schristostest_archive_match_owner.c \ 411.1Schristostest_archive_match_path.c \ 421.1Schristostest_archive_match_time.c \ 431.1Schristostest_archive_pathmatch.c \ 441.1Schristostest_archive_read_add_passphrase.c \ 451.1Schristostest_archive_read_close_twice.c \ 461.1Schristostest_archive_read_close_twice_open_fd.c \ 471.1Schristostest_archive_read_close_twice_open_filename.c \ 481.1Schristostest_archive_read_multiple_data_objects.c \ 491.1Schristostest_archive_read_next_header_empty.c \ 501.1Schristostest_archive_read_next_header_raw.c \ 511.1Schristostest_archive_read_open2.c \ 521.1Schristostest_archive_read_set_filter_option.c \ 531.1Schristostest_archive_read_set_format_option.c \ 541.1Schristostest_archive_read_set_option.c \ 551.1Schristostest_archive_read_set_options.c \ 561.1Schristostest_archive_read_support.c \ 571.1Schristostest_archive_set_error.c \ 581.1Schristostest_archive_string.c \ 591.1Schristostest_archive_string_conversion.c \ 601.1Schristostest_archive_write_add_filter_by_name.c \ 611.1Schristostest_archive_write_set_filter_option.c \ 621.1Schristostest_archive_write_set_format_by_name.c \ 631.1Schristostest_archive_write_set_format_filter_by_ext.c \ 641.1Schristostest_archive_write_set_format_option.c \ 651.1Schristostest_archive_write_set_option.c \ 661.1Schristostest_archive_write_set_options.c \ 671.1Schristostest_archive_write_set_passphrase.c \ 681.1Schristostest_bad_fd.c \ 691.1Schristostest_compat_bzip2.c \ 701.1Schristostest_compat_cpio.c \ 711.1Schristostest_compat_gtar.c \ 721.1Schristostest_compat_gzip.c \ 731.1Schristostest_compat_lz4.c \ 741.1Schristostest_compat_lzip.c \ 751.1Schristostest_compat_lzma.c \ 761.1Schristostest_compat_lzop.c \ 771.1Schristostest_compat_mac.c \ 781.1Schristostest_compat_perl_archive_tar.c \ 791.1Schristostest_compat_plexus_archiver_tar.c \ 801.1Schristostest_compat_solaris_pax_sparse.c \ 811.1Schristostest_compat_solaris_tar_acl.c \ 821.1Schristostest_compat_star_acl.c \ 831.1Schristostest_compat_tar_hardlink.c \ 841.1Schristostest_compat_uudecode.c \ 851.1Schristostest_compat_uudecode_large.c \ 861.1Schristostest_compat_xz.c \ 871.1Schristostest_compat_zip.c \ 881.1Schristostest_compat_zstd.c \ 891.1Schristostest_empty_write.c \ 901.1Schristostest_entry.c \ 911.1Schristostest_entry_strmode.c \ 921.1Schristostest_extattr_freebsd.c \ 931.1Schristostest_filter_count.c \ 941.1Schristostest_fuzz.c \ 951.1Schristostest_gnutar_filename_encoding.c \ 961.1Schristostest_link_resolver.c \ 971.14Schristostest_main.c \ 981.1Schristostest_open_failure.c \ 991.1Schristostest_open_fd.c \ 1001.1Schristostest_open_file.c \ 1011.1Schristostest_open_filename.c \ 1021.1Schristostest_pax_filename_encoding.c \ 1031.1Schristostest_read_data_large.c \ 1041.1Schristostest_read_disk.c \ 1051.1Schristostest_read_disk_directory_traversals.c \ 1061.1Schristostest_read_disk_entry_from_file.c \ 1071.1Schristostest_read_extract.c \ 1081.1Schristostest_read_file_nonexistent.c \ 1091.1Schristostest_read_filter_compress.c \ 1101.1Schristostest_read_filter_grzip.c \ 1111.1Schristostest_read_filter_lrzip.c \ 1121.1Schristostest_read_filter_lzop.c \ 1131.1Schristostest_read_filter_lzop_multiple_parts.c \ 1141.1Schristostest_read_filter_program.c \ 1151.1Schristostest_read_filter_program_signature.c \ 1161.1Schristostest_read_filter_uudecode.c \ 1171.1Schristostest_read_format_7zip.c \ 1181.1Schristostest_read_format_7zip_encryption_data.c \ 1191.1Schristostest_read_format_7zip_encryption_header.c \ 1201.1Schristostest_read_format_7zip_encryption_partially.c \ 1211.1Schristostest_read_format_7zip_malformed.c \ 1221.1Schristostest_read_format_ar.c \ 1231.1Schristostest_read_format_cab.c \ 1241.1Schristostest_read_format_cab_filename.c \ 1251.1Schristostest_read_format_cpio_afio.c \ 1261.1Schristostest_read_format_cpio_bin.c \ 1271.1Schristostest_read_format_cpio_bin_Z.c \ 1281.1Schristostest_read_format_cpio_bin_be.c \ 1291.1Schristostest_read_format_cpio_bin_bz2.c \ 1301.1Schristostest_read_format_cpio_bin_gz.c \ 1311.1Schristostest_read_format_cpio_bin_le.c \ 1321.1Schristostest_read_format_cpio_bin_lzip.c \ 1331.1Schristostest_read_format_cpio_bin_lzma.c \ 1341.1Schristostest_read_format_cpio_bin_xz.c \ 1351.1Schristostest_read_format_cpio_filename.c \ 1361.1Schristostest_read_format_cpio_odc.c \ 1371.1Schristostest_read_format_cpio_svr4_bzip2_rpm.c \ 1381.1Schristostest_read_format_cpio_svr4_gzip.c \ 1391.1Schristostest_read_format_cpio_svr4_gzip_rpm.c \ 1401.1Schristostest_read_format_cpio_svr4c_Z.c \ 1411.1Schristostest_read_format_empty.c \ 1421.1Schristostest_read_format_gtar_filename.c \ 1431.1Schristostest_read_format_gtar_gz.c \ 1441.1Schristostest_read_format_gtar_lzma.c \ 1451.1Schristostest_read_format_gtar_sparse.c \ 1461.1Schristostest_read_format_gtar_sparse_skip_entry.c \ 1471.1Schristostest_read_format_iso_Z.c \ 1481.1Schristostest_read_format_iso_multi_extent.c \ 1491.1Schristostest_read_format_iso_xorriso.c \ 1501.1Schristostest_read_format_isojoliet_bz2.c \ 1511.1Schristostest_read_format_isojoliet_long.c \ 1521.1Schristostest_read_format_isojoliet_rr.c \ 1531.1Schristostest_read_format_isojoliet_versioned.c \ 1541.1Schristostest_read_format_isorr_bz2.c \ 1551.1Schristostest_read_format_isorr_ce.c \ 1561.1Schristostest_read_format_isorr_new_bz2.c \ 1571.1Schristostest_read_format_isorr_rr_moved.c \ 1581.1Schristostest_read_format_isozisofs_bz2.c \ 1591.1Schristostest_read_format_lha.c \ 1601.1Schristostest_read_format_lha_bugfix_0.c \ 1611.1Schristostest_read_format_lha_filename.c \ 1621.1Schristostest_read_format_mtree.c \ 1631.1Schristostest_read_format_mtree_crash747.c \ 1641.1Schristostest_read_format_pax_bz2.c \ 1651.1Schristostest_read_format_rar.c \ 1661.1Schristostest_read_format_rar5.c \ 1671.1Schristostest_read_format_rar_encryption_data.c \ 1681.1Schristostest_read_format_rar_encryption_header.c \ 1691.1Schristostest_read_format_rar_encryption_partially.c \ 1701.1Schristostest_read_format_rar_invalid1.c \ 1711.1Schristostest_read_format_raw.c \ 1721.1Schristostest_read_format_tar.c \ 1731.1Schristostest_read_format_tar_concatenated.c \ 1741.1Schristostest_read_format_tar_empty_filename.c \ 1751.1Schristostest_read_format_tar_empty_pax.c \ 1761.1Schristostest_read_format_tar_empty_with_gnulabel.c \ 1771.1Schristostest_read_format_tar_filename.c \ 1781.1Schristostest_read_format_tbz.c \ 1791.1Schristostest_read_format_tgz.c \ 1801.1Schristostest_read_format_tlz.c \ 1811.1Schristostest_read_format_txz.c \ 1821.1Schristostest_read_format_tz.c \ 1831.1Schristostest_read_format_ustar_filename.c \ 1841.1Schristostest_read_format_warc.c \ 1851.1Schristostest_read_format_xar.c \ 1861.1Schristostest_read_format_zip.c \ 1871.1Schristostest_read_format_zip_7075_utf8_paths.c \ 1881.1Schristostest_read_format_zip_comment_stored.c \ 1891.1Schristostest_read_format_zip_encryption_data.c \ 1901.1Schristostest_read_format_zip_encryption_header.c \ 1911.1Schristostest_read_format_zip_encryption_partially.c \ 1921.1Schristostest_read_format_zip_extra_padding.c \ 1931.1Schristostest_read_format_zip_filename.c \ 1941.1Schristostest_read_format_zip_high_compression.c \ 1951.1Schristostest_read_format_zip_jar.c \ 1961.1Schristostest_read_format_zip_mac_metadata.c \ 1971.1Schristostest_read_format_zip_malformed.c \ 1981.1Schristostest_read_format_zip_msdos.c \ 1991.1Schristostest_read_format_zip_nested.c \ 2001.1Schristostest_read_format_zip_nofiletype.c \ 2011.1Schristostest_read_format_zip_padded.c \ 2021.1Schristostest_read_format_zip_sfx.c \ 2031.1Schristostest_read_format_zip_traditional_encryption_data.c \ 2041.1Schristostest_read_format_zip_winzip_aes.c \ 2051.1Schristostest_read_format_zip_winzip_aes_large.c \ 2061.1Schristostest_read_format_zip_with_invalid_traditional_eocd.c \ 2071.1Schristostest_read_format_zip_zip64.c \ 2081.1Schristostest_read_large.c \ 2091.1Schristostest_read_pax_truncated.c \ 2101.1Schristostest_read_position.c \ 2111.1Schristostest_read_set_format.c \ 2121.1Schristostest_read_too_many_filters.c \ 2131.1Schristostest_read_truncated.c \ 2141.1Schristostest_read_truncated_filter.c \ 2151.1Schristostest_sparse_basic.c \ 2161.1Schristostest_tar_filenames.c \ 2171.1Schristostest_tar_large.c \ 2181.1Schristostest_ustar_filename_encoding.c \ 2191.1Schristostest_ustar_filenames.c \ 2201.14Schristostest_utils.c \ 2211.1Schristostest_warn_missing_hardlink_target.c \ 2221.1Schristostest_write_disk.c \ 2231.1Schristostest_write_disk_appledouble.c \ 2241.1Schristostest_write_disk_failures.c \ 2251.1Schristostest_write_disk_hardlink.c \ 2261.1Schristostest_write_disk_hfs_compression.c \ 2271.1Schristostest_write_disk_lookup.c \ 2281.1Schristostest_write_disk_mac_metadata.c \ 2291.1Schristostest_write_disk_no_hfs_compression.c \ 2301.1Schristostest_write_disk_perms.c \ 2311.1Schristostest_write_disk_secure.c \ 2321.1Schristostest_write_disk_secure744.c \ 2331.1Schristostest_write_disk_secure745.c \ 2341.1Schristostest_write_disk_secure746.c \ 2351.1Schristostest_write_disk_sparse.c \ 2361.1Schristostest_write_disk_symlink.c \ 2371.1Schristostest_write_disk_times.c \ 2381.1Schristostest_write_filter_b64encode.c \ 2391.1Schristostest_write_filter_bzip2.c \ 2401.1Schristostest_write_filter_compress.c \ 2411.1Schristostest_write_filter_gzip.c \ 2421.1Schristostest_write_filter_gzip_timestamp.c \ 2431.1Schristostest_write_filter_lrzip.c \ 2441.1Schristostest_write_filter_lz4.c \ 2451.1Schristostest_write_filter_lzip.c \ 2461.1Schristostest_write_filter_lzma.c \ 2471.1Schristostest_write_filter_lzop.c \ 2481.1Schristostest_write_filter_program.c \ 2491.1Schristostest_write_filter_uuencode.c \ 2501.1Schristostest_write_filter_xz.c \ 2511.1Schristostest_write_filter_zstd.c \ 2521.1Schristostest_write_format_7zip.c \ 2531.1Schristostest_write_format_7zip_empty.c \ 2541.1Schristostest_write_format_7zip_large.c \ 2551.1Schristostest_write_format_ar.c \ 2561.1Schristostest_write_format_cpio.c \ 2571.1Schristostest_write_format_cpio_empty.c \ 2581.1Schristostest_write_format_cpio_newc.c \ 2591.1Schristostest_write_format_cpio_odc.c \ 2601.1Schristostest_write_format_gnutar.c \ 2611.1Schristostest_write_format_gnutar_filenames.c \ 2621.1Schristostest_write_format_iso9660.c \ 2631.1Schristostest_write_format_iso9660_boot.c \ 2641.1Schristostest_write_format_iso9660_empty.c \ 2651.1Schristostest_write_format_iso9660_filename.c \ 2661.1Schristostest_write_format_iso9660_zisofs.c \ 2671.1Schristostest_write_format_mtree.c \ 2681.1Schristostest_write_format_mtree_absolute_path.c \ 2691.1Schristostest_write_format_mtree_classic.c \ 2701.1Schristostest_write_format_mtree_classic_indent.c \ 2711.1Schristostest_write_format_mtree_fflags.c \ 2721.1Schristostest_write_format_mtree_no_separator.c \ 2731.1Schristostest_write_format_mtree_quoted_filename.c \ 2741.1Schristostest_write_format_pax.c \ 2751.1Schristostest_write_format_raw.c \ 2761.1Schristostest_write_format_raw_b64.c \ 2771.1Schristostest_write_format_shar_empty.c \ 2781.1Schristostest_write_format_tar.c \ 2791.1Schristostest_write_format_tar_empty.c \ 2801.1Schristostest_write_format_tar_sparse.c \ 2811.1Schristostest_write_format_tar_ustar.c \ 2821.1Schristostest_write_format_tar_v7tar.c \ 2831.1Schristostest_write_format_warc.c \ 2841.1Schristostest_write_format_warc_empty.c \ 2851.1Schristostest_write_format_xar.c \ 2861.1Schristostest_write_format_xar_empty.c \ 2871.1Schristostest_write_format_zip.c \ 2881.1Schristostest_write_format_zip_compression_store.c \ 2891.1Schristostest_write_format_zip_empty.c \ 2901.1Schristostest_write_format_zip_empty_zip64.c \ 2911.1Schristostest_write_format_zip_file.c \ 2921.1Schristostest_write_format_zip_file_zip64.c \ 2931.1Schristostest_write_format_zip_large.c \ 2941.1Schristostest_write_format_zip_zip64.c \ 2951.1Schristostest_write_open_memory.c \ 2961.1Schristostest_write_read_format_zip.c \ 2971.1Schristostest_xattr_platform.c \ 2981.1Schristostest_zip_filename_encoding.c 2991.1Schristos 3001.1SchristosFILESDIR= ${TESTSDIR} 3011.1SchristosFILES=\ 3021.1Schristostest_acl_pax_nfs4.tar.uu \ 3031.1Schristostest_acl_pax_posix1e.tar.uu \ 3041.1Schristostest_archive_string_conversion.txt.Z.uu \ 3051.1Schristostest_compat_bzip2_1.tbz.uu \ 3061.1Schristostest_compat_bzip2_2.tbz.uu \ 3071.1Schristostest_compat_cpio_1.cpio.uu \ 3081.1Schristostest_compat_gtar_1.tar.uu \ 3091.1Schristostest_compat_gtar_2.tar.uu \ 3101.1Schristostest_compat_gzip_1.tgz.uu \ 3111.1Schristostest_compat_gzip_2.tgz.uu \ 3121.1Schristostest_compat_lz4_1.tar.lz4.uu \ 3131.1Schristostest_compat_lz4_2.tar.lz4.uu \ 3141.1Schristostest_compat_lz4_3.tar.lz4.uu \ 3151.1Schristostest_compat_lz4_B4.tar.lz4.uu \ 3161.1Schristostest_compat_lz4_B4BD.tar.lz4.uu \ 3171.1Schristostest_compat_lz4_B4BDBX.tar.lz4.uu \ 3181.1Schristostest_compat_lz4_B5.tar.lz4.uu \ 3191.1Schristostest_compat_lz4_B5BD.tar.lz4.uu \ 3201.1Schristostest_compat_lz4_B6.tar.lz4.uu \ 3211.1Schristostest_compat_lz4_B6BD.tar.lz4.uu \ 3221.1Schristostest_compat_lz4_B7.tar.lz4.uu \ 3231.1Schristostest_compat_lz4_B7BD.tar.lz4.uu \ 3241.1Schristostest_compat_lzip_1.tlz.uu \ 3251.1Schristostest_compat_lzip_2.tlz.uu \ 3261.12Smartintest_compat_lzip_3.lz.uu \ 3271.12Smartintest_compat_lzip_4.tlz.uu \ 3281.1Schristostest_compat_lzma_1.tlz.uu \ 3291.1Schristostest_compat_lzma_2.tlz.uu \ 3301.1Schristostest_compat_lzma_3.tlz.uu \ 3311.1Schristostest_compat_lzop_1.tar.lzo.uu \ 3321.1Schristostest_compat_lzop_2.tar.lzo.uu \ 3331.1Schristostest_compat_lzop_3.tar.lzo.uu \ 3341.1Schristostest_compat_mac-1.tar.Z.uu \ 3351.1Schristostest_compat_mac-2.tar.Z.uu \ 3361.1Schristostest_compat_perl_archive_tar.tar.uu \ 3371.1Schristostest_compat_plexus_archiver_tar.tar.uu \ 3381.1Schristostest_compat_solaris_pax_sparse_1.pax.Z.uu \ 3391.1Schristostest_compat_solaris_pax_sparse_2.pax.Z.uu \ 3401.1Schristostest_compat_solaris_tar_acl.tar.uu \ 3411.1Schristostest_compat_star_acl_nfs4.tar.uu \ 3421.1Schristostest_compat_star_acl_posix1e.tar.uu \ 3431.12Smartintest_compat_tar_directory_1.tar.uu \ 3441.1Schristostest_compat_tar_hardlink_1.tar.uu \ 3451.1Schristostest_compat_uudecode_large.tar.Z.uu \ 3461.1Schristostest_compat_xz_1.txz.uu \ 3471.1Schristostest_compat_zip_1.zip.uu \ 3481.1Schristostest_compat_zip_2.zip.uu \ 3491.1Schristostest_compat_zip_3.zip.uu \ 3501.1Schristostest_compat_zip_4.zip.uu \ 3511.1Schristostest_compat_zip_5.zip.uu \ 3521.1Schristostest_compat_zip_6.zip.uu \ 3531.1Schristostest_compat_zip_7.xps.uu \ 3541.1Schristostest_compat_zip_8.zip.uu \ 3551.1Schristostest_compat_zstd_1.tar.zst.uu \ 3561.14Schristostest_compat_zstd_1.tar.zst.uu \ 3571.14Schristostest_compat_zstd_2.tar.zst.uu \ 3581.1Schristostest_fuzz.cab.uu \ 3591.1Schristostest_fuzz.lzh.uu \ 3601.1Schristostest_fuzz_1.iso.Z.uu \ 3611.1Schristostest_pax_filename_encoding.tar.uu \ 3621.1Schristostest_rar_multivolume_multiple_files.part1.rar.uu \ 3631.1Schristostest_rar_multivolume_multiple_files.part2.rar.uu \ 3641.1Schristostest_rar_multivolume_multiple_files.part3.rar.uu \ 3651.1Schristostest_rar_multivolume_multiple_files.part4.rar.uu \ 3661.1Schristostest_rar_multivolume_multiple_files.part5.rar.uu \ 3671.1Schristostest_rar_multivolume_multiple_files.part6.rar.uu \ 3681.1Schristostest_rar_multivolume_single_file.part1.rar.uu \ 3691.1Schristostest_rar_multivolume_single_file.part2.rar.uu \ 3701.1Schristostest_rar_multivolume_single_file.part3.rar.uu \ 3711.1Schristostest_rar_multivolume_uncompressed_files.part01.rar.uu \ 3721.1Schristostest_rar_multivolume_uncompressed_files.part02.rar.uu \ 3731.1Schristostest_rar_multivolume_uncompressed_files.part03.rar.uu \ 3741.1Schristostest_rar_multivolume_uncompressed_files.part04.rar.uu \ 3751.1Schristostest_rar_multivolume_uncompressed_files.part05.rar.uu \ 3761.1Schristostest_rar_multivolume_uncompressed_files.part06.rar.uu \ 3771.1Schristostest_rar_multivolume_uncompressed_files.part07.rar.uu \ 3781.1Schristostest_rar_multivolume_uncompressed_files.part08.rar.uu \ 3791.1Schristostest_rar_multivolume_uncompressed_files.part09.rar.uu \ 3801.1Schristostest_rar_multivolume_uncompressed_files.part10.rar.uu \ 3811.1Schristostest_read_filter_grzip.tar.grz.uu \ 3821.1Schristostest_read_filter_lrzip.tar.lrz.uu \ 3831.1Schristostest_read_filter_lzop.tar.lzo.uu \ 3841.1Schristostest_read_filter_lzop_multiple_parts.tar.lzo.uu \ 3851.1Schristostest_read_format_7zip_bcj2_bzip2.7z.uu \ 3861.1Schristostest_read_format_7zip_bcj2_copy_1.7z.uu \ 3871.1Schristostest_read_format_7zip_bcj2_copy_2.7z.uu \ 3881.1Schristostest_read_format_7zip_bcj2_copy_lzma.7z.uu \ 3891.1Schristostest_read_format_7zip_bcj2_deflate.7z.uu \ 3901.1Schristostest_read_format_7zip_bcj2_lzma1_1.7z.uu \ 3911.1Schristostest_read_format_7zip_bcj2_lzma1_2.7z.uu \ 3921.1Schristostest_read_format_7zip_bcj2_lzma2_1.7z.uu \ 3931.1Schristostest_read_format_7zip_bcj2_lzma2_2.7z.uu \ 3941.1Schristostest_read_format_7zip_bcj_bzip2.7z.uu \ 3951.1Schristostest_read_format_7zip_bcj_copy.7z.uu \ 3961.1Schristostest_read_format_7zip_bcj_deflate.7z.uu \ 3971.1Schristostest_read_format_7zip_bcj_lzma1.7z.uu \ 3981.1Schristostest_read_format_7zip_bcj_lzma2.7z.uu \ 3991.1Schristostest_read_format_7zip_bzip2.7z.uu \ 4001.1Schristostest_read_format_7zip_copy.7z.uu \ 4011.1Schristostest_read_format_7zip_copy_2.7z.uu \ 4021.1Schristostest_read_format_7zip_deflate.7z.uu \ 4031.12Smartintest_read_format_7zip_deflate_arm64.7z.uu \ 4041.13Schristostest_read_format_7zip_delta4_lzma1.7z.uu \ 4051.13Schristostest_read_format_7zip_delta4_lzma2.7z.uu \ 4061.1Schristostest_read_format_7zip_delta_lzma1.7z.uu \ 4071.1Schristostest_read_format_7zip_delta_lzma2.7z.uu \ 4081.1Schristostest_read_format_7zip_empty_archive.7z.uu \ 4091.1Schristostest_read_format_7zip_empty_file.7z.uu \ 4101.1Schristostest_read_format_7zip_encryption.7z.uu \ 4111.1Schristostest_read_format_7zip_encryption_header.7z.uu \ 4121.1Schristostest_read_format_7zip_encryption_partially.7z.uu \ 4131.13Schristostest_read_format_7zip_extract_second.7z.uu \ 4141.1Schristostest_read_format_7zip_lzma1.7z.uu \ 4151.1Schristostest_read_format_7zip_lzma1_2.7z.uu \ 4161.1Schristostest_read_format_7zip_lzma1_lzma2.7z.uu \ 4171.12Smartintest_read_format_7zip_lzma2.7z.uu \ 4181.12Smartintest_read_format_7zip_lzma2_arm.7z.uu \ 4191.1Schristostest_read_format_7zip_malformed.7z.uu \ 4201.1Schristostest_read_format_7zip_malformed2.7z.uu \ 4211.1Schristostest_read_format_7zip_ppmd.7z.uu \ 4221.14Schristostest_read_format_7zip_solid_zstd.7z.uu \ 4231.1Schristostest_read_format_7zip_symbolic_name.7z.uu \ 4241.12Smartintest_read_format_7zip_win_attrib.7z.uu \ 4251.14Schristostest_read_format_7zip_zstd.7z.uu \ 4261.14Schristostest_read_format_7zip_zstd_arm.7z.uu \ 4271.14Schristostest_read_format_7zip_zstd_bcj.7z.uu \ 4281.14Schristostest_read_format_7zip_zstd_nobcj.7z.uu \ 4291.1Schristostest_read_format_ar.ar.uu \ 4301.1Schristostest_read_format_cab_1.cab.uu \ 4311.1Schristostest_read_format_cab_2.cab.uu \ 4321.1Schristostest_read_format_cab_3.cab.uu \ 4331.1Schristostest_read_format_cab_filename_cp932.cab.uu \ 4341.1Schristostest_read_format_cpio_bin_be.cpio.uu \ 4351.1Schristostest_read_format_cpio_bin_le.cpio.uu \ 4361.1Schristostest_read_format_cpio_filename_cp866.cpio.uu \ 4371.1Schristostest_read_format_cpio_filename_eucjp.cpio.uu \ 4381.1Schristostest_read_format_cpio_filename_koi8r.cpio.uu \ 4391.1Schristostest_read_format_cpio_filename_utf8_jp.cpio.uu \ 4401.1Schristostest_read_format_cpio_filename_utf8_ru.cpio.uu \ 4411.1Schristostest_read_format_cpio_svr4_bzip2_rpm.rpm.uu \ 4421.1Schristostest_read_format_cpio_svr4_gzip_rpm.rpm.uu \ 4431.1Schristostest_read_format_gtar_filename_cp866.tar.Z.uu \ 4441.1Schristostest_read_format_gtar_filename_eucjp.tar.Z.uu \ 4451.1Schristostest_read_format_gtar_filename_koi8r.tar.Z.uu \ 4461.1Schristostest_read_format_gtar_sparse_1_13.tar.uu \ 4471.1Schristostest_read_format_gtar_sparse_1_17.tar.uu \ 4481.1Schristostest_read_format_gtar_sparse_1_17_posix00.tar.uu \ 4491.1Schristostest_read_format_gtar_sparse_1_17_posix01.tar.uu \ 4501.1Schristostest_read_format_gtar_sparse_1_17_posix10.tar.uu \ 4511.1Schristostest_read_format_gtar_sparse_1_17_posix10_modified.tar.uu \ 4521.1Schristostest_read_format_gtar_sparse_skip_entry.tar.Z.uu \ 4531.1Schristostest_read_format_iso.iso.Z.uu \ 4541.1Schristostest_read_format_iso_2.iso.Z.uu \ 4551.13Schristostest_read_format_iso_3.iso.Z.uu \ 4561.1Schristostest_read_format_iso_joliet.iso.Z.uu \ 4571.1Schristostest_read_format_iso_joliet_by_nero.iso.Z.uu \ 4581.1Schristostest_read_format_iso_joliet_long.iso.Z.uu \ 4591.1Schristostest_read_format_iso_joliet_rockridge.iso.Z.uu \ 4601.1Schristostest_read_format_iso_multi_extent.iso.Z.uu \ 4611.1Schristostest_read_format_iso_rockridge.iso.Z.uu \ 4621.1Schristostest_read_format_iso_rockridge_ce.iso.Z.uu \ 4631.1Schristostest_read_format_iso_rockridge_new.iso.Z.uu \ 4641.1Schristostest_read_format_iso_rockridge_rr_moved.iso.Z.uu \ 4651.1Schristostest_read_format_iso_xorriso.iso.Z.uu \ 4661.1Schristostest_read_format_iso_zisofs.iso.Z.uu \ 4671.1Schristostest_read_format_lha_bugfix_0.lzh.uu \ 4681.1Schristostest_read_format_lha_filename_cp932.lzh.uu \ 4691.1Schristostest_read_format_lha_header0.lzh.uu \ 4701.1Schristostest_read_format_lha_header1.lzh.uu \ 4711.1Schristostest_read_format_lha_header2.lzh.uu \ 4721.1Schristostest_read_format_lha_header3.lzh.uu \ 4731.1Schristostest_read_format_lha_lh0.lzh.uu \ 4741.1Schristostest_read_format_lha_lh6.lzh.uu \ 4751.1Schristostest_read_format_lha_lh7.lzh.uu \ 4761.1Schristostest_read_format_lha_withjunk.lzh.uu \ 4771.1Schristostest_read_format_mtree.mtree.uu \ 4781.1Schristostest_read_format_mtree_crash747.mtree.bz2.uu \ 4791.1Schristostest_read_format_mtree_nomagic.mtree.uu \ 4801.1Schristostest_read_format_mtree_nomagic2.mtree.uu \ 4811.1Schristostest_read_format_mtree_nomagic3.mtree.uu \ 4821.1Schristostest_read_format_mtree_noprint.mtree.uu \ 4831.1Schristostest_read_format_rar.rar.uu \ 4841.1Schristostest_read_format_rar5_arm.rar.uu \ 4851.12Smartintest_read_format_rar5_arm_filter_on_window_boundary.rar.uu \ 4861.12Smartintest_read_format_rar5_bad_window_sz_in_mltarc_file.rar.uu \ 4871.1Schristostest_read_format_rar5_blake2.rar.uu \ 4881.12Smartintest_read_format_rar5_block_size_is_too_small.rar.uu \ 4891.1Schristostest_read_format_rar5_compressed.rar.uu \ 4901.13Schristostest_read_format_rar5_data_ready_pointer_leak.rar.uu \ 4911.12Smartintest_read_format_rar5_decode_number_out_of_bounds_read.rar.uu \ 4921.12Smartintest_read_format_rar5_different_solid_window_size.rar.uu \ 4931.12Smartintest_read_format_rar5_different_window_size.rar.uu \ 4941.12Smartintest_read_format_rar5_different_winsize_on_merge.rar.uu \ 4951.1Schristostest_read_format_rar5_distance_overflow.rar.uu \ 4961.1Schristostest_read_format_rar5_extra_field_version.rar.uu \ 4971.1Schristostest_read_format_rar5_fileattr.rar.uu \ 4981.1Schristostest_read_format_rar5_hardlink.rar.uu \ 4991.1Schristostest_read_format_rar5_invalid_dict_reference.rar.uu \ 5001.1Schristostest_read_format_rar5_leftshift1.rar.uu \ 5011.1Schristostest_read_format_rar5_leftshift2.rar.uu \ 5021.1Schristostest_read_format_rar5_multiarchive.part01.rar.uu \ 5031.1Schristostest_read_format_rar5_multiarchive.part02.rar.uu \ 5041.1Schristostest_read_format_rar5_multiarchive.part03.rar.uu \ 5051.1Schristostest_read_format_rar5_multiarchive.part04.rar.uu \ 5061.1Schristostest_read_format_rar5_multiarchive.part05.rar.uu \ 5071.1Schristostest_read_format_rar5_multiarchive.part06.rar.uu \ 5081.1Schristostest_read_format_rar5_multiarchive.part07.rar.uu \ 5091.1Schristostest_read_format_rar5_multiarchive.part08.rar.uu \ 5101.1Schristostest_read_format_rar5_multiarchive_solid.part01.rar.uu \ 5111.1Schristostest_read_format_rar5_multiarchive_solid.part02.rar.uu \ 5121.1Schristostest_read_format_rar5_multiarchive_solid.part03.rar.uu \ 5131.1Schristostest_read_format_rar5_multiarchive_solid.part04.rar.uu \ 5141.1Schristostest_read_format_rar5_multiple_files.rar.uu \ 5151.1Schristostest_read_format_rar5_multiple_files_solid.rar.uu \ 5161.1Schristostest_read_format_rar5_nonempty_dir_stream.rar.uu \ 5171.1Schristostest_read_format_rar5_owner.rar.uu \ 5181.1Schristostest_read_format_rar5_readtables_overflow.rar.uu \ 5191.12Smartintest_read_format_rar5_sfx.exe.uu \ 5201.1Schristostest_read_format_rar5_solid.rar.uu \ 5211.1Schristostest_read_format_rar5_stored.rar.uu \ 5221.1Schristostest_read_format_rar5_stored_manyfiles.rar.uu \ 5231.1Schristostest_read_format_rar5_symlink.rar.uu \ 5241.1Schristostest_read_format_rar5_truncated_huff.rar.uu \ 5251.1Schristostest_read_format_rar5_win32.rar.uu \ 5261.12Smartintest_read_format_rar5_window_buf_and_size_desync.rar.uu \ 5271.1Schristostest_read_format_rar_binary_data.rar.uu \ 5281.1Schristostest_read_format_rar_compress_best.rar.uu \ 5291.1Schristostest_read_format_rar_compress_normal.rar.uu \ 5301.1Schristostest_read_format_rar_encryption_data.rar.uu \ 5311.1Schristostest_read_format_rar_encryption_header.rar.uu \ 5321.1Schristostest_read_format_rar_encryption_partially.rar.uu \ 5331.1Schristostest_read_format_rar_invalid1.rar.uu \ 5341.1Schristostest_read_format_rar_multi_lzss_blocks.rar.uu \ 5351.1Schristostest_read_format_rar_multivolume.part0001.rar.uu \ 5361.1Schristostest_read_format_rar_multivolume.part0002.rar.uu \ 5371.1Schristostest_read_format_rar_multivolume.part0003.rar.uu \ 5381.1Schristostest_read_format_rar_multivolume.part0004.rar.uu \ 5391.1Schristostest_read_format_rar_noeof.rar.uu \ 5401.1Schristostest_read_format_rar_ppmd_lzss_conversion.rar.uu \ 5411.1Schristostest_read_format_rar_ppmd_use_after_free.rar.uu \ 5421.12Smartintest_read_format_rar_ppmd_use_after_free2.rar.uu \ 5431.1Schristostest_read_format_rar_sfx.exe.uu \ 5441.1Schristostest_read_format_rar_subblock.rar.uu \ 5451.1Schristostest_read_format_rar_unicode.rar.uu \ 5461.1Schristostest_read_format_rar_windows.rar.uu \ 5471.1Schristostest_read_format_raw.bufr.uu \ 5481.1Schristostest_read_format_raw.data.Z.uu \ 5491.1Schristostest_read_format_raw.data.gz.uu \ 5501.1Schristostest_read_format_raw.data.uu \ 5511.1Schristostest_read_format_tar_concatenated.tar.uu \ 5521.1Schristostest_read_format_tar_empty_filename.tar.uu \ 5531.1Schristostest_read_format_tar_empty_pax.tar.Z.uu \ 5541.1Schristostest_read_format_tar_empty_with_gnulabel.tar.uu \ 5551.1Schristostest_read_format_tar_filename_koi8r.tar.Z.uu \ 5561.1Schristostest_read_format_ustar_filename_cp866.tar.Z.uu \ 5571.1Schristostest_read_format_ustar_filename_eucjp.tar.Z.uu \ 5581.1Schristostest_read_format_ustar_filename_koi8r.tar.Z.uu \ 5591.1Schristostest_read_format_warc.warc.uu \ 5601.13Schristostest_read_format_xar_duplicate_filename_node.xar.uu \ 5611.1Schristostest_read_format_zip.zip.uu \ 5621.1Schristostest_read_format_zip_7075_utf8_paths.zip.uu \ 5631.12Smartintest_read_format_zip_7z_deflate.zip.uu \ 5641.12Smartintest_read_format_zip_7z_lzma.zip.uu \ 5651.1Schristostest_read_format_zip_bz2_hang.zip.uu \ 5661.1Schristostest_read_format_zip_bzip2.zipx.uu \ 5671.1Schristostest_read_format_zip_bzip2_multi.zipx.uu \ 5681.1Schristostest_read_format_zip_comment_stored_1.zip.uu \ 5691.1Schristostest_read_format_zip_comment_stored_2.zip.uu \ 5701.1Schristostest_read_format_zip_encryption_data.zip.uu \ 5711.1Schristostest_read_format_zip_encryption_header.zip.uu \ 5721.1Schristostest_read_format_zip_encryption_partially.zip.uu \ 5731.1Schristostest_read_format_zip_extra_padding.zip.uu \ 5741.1Schristostest_read_format_zip_filename_cp866.zip.uu \ 5751.1Schristostest_read_format_zip_filename_cp932.zip.uu \ 5761.1Schristostest_read_format_zip_filename_koi8r.zip.uu \ 5771.1Schristostest_read_format_zip_filename_utf8_jp.zip.uu \ 5781.1Schristostest_read_format_zip_filename_utf8_ru.zip.uu \ 5791.1Schristostest_read_format_zip_filename_utf8_ru2.zip.uu \ 5801.1Schristostest_read_format_zip_high_compression.zip.uu \ 5811.1Schristostest_read_format_zip_jar.jar.uu \ 5821.1Schristostest_read_format_zip_length_at_end.zip.uu \ 5831.1Schristostest_read_format_zip_lzma.zipx.uu \ 5841.1Schristostest_read_format_zip_lzma_alone_leak.zipx.uu \ 5851.1Schristostest_read_format_zip_lzma_multi.zipx.uu \ 5861.12Smartintest_read_format_zip_lzma_stream_end.zipx.uu \ 5871.1Schristostest_read_format_zip_mac_metadata.zip.uu \ 5881.1Schristostest_read_format_zip_malformed1.zip.uu \ 5891.1Schristostest_read_format_zip_msdos.zip.uu \ 5901.1Schristostest_read_format_zip_nested.zip.uu \ 5911.1Schristostest_read_format_zip_nofiletype.zip.uu \ 5921.1Schristostest_read_format_zip_padded1.zip.uu \ 5931.1Schristostest_read_format_zip_padded2.zip.uu \ 5941.1Schristostest_read_format_zip_padded3.zip.uu \ 5951.1Schristostest_read_format_zip_ppmd8.zipx.uu \ 5961.1Schristostest_read_format_zip_ppmd8_crash_1.zipx.uu \ 5971.1Schristostest_read_format_zip_ppmd8_crash_2.zipx.uu \ 5981.1Schristostest_read_format_zip_ppmd8_multi.zipx.uu \ 5991.1Schristostest_read_format_zip_sfx.uu \ 6001.1Schristostest_read_format_zip_symlink.zip.uu \ 6011.1Schristostest_read_format_zip_traditional_encryption_data.zip.uu \ 6021.1Schristostest_read_format_zip_ux.zip.uu \ 6031.1Schristostest_read_format_zip_winzip_aes128.zip.uu \ 6041.1Schristostest_read_format_zip_winzip_aes256.zip.uu \ 6051.1Schristostest_read_format_zip_winzip_aes256_large.zip.uu \ 6061.1Schristostest_read_format_zip_winzip_aes256_stored.zip.uu \ 6071.1Schristostest_read_format_zip_with_invalid_traditional_eocd.zip.uu \ 6081.1Schristostest_read_format_zip_xz_multi.zipx.uu \ 6091.1Schristostest_read_format_zip_zip64a.zip.uu \ 6101.1Schristostest_read_format_zip_zip64b.zip.uu \ 6111.14Schristostest_read_format_zip_zstd.zipx.uu \ 6121.14Schristostest_read_format_zip_zstd_multi.zipx.uu \ 6131.1Schristostest_read_large_splitted_rar_aa.uu \ 6141.1Schristostest_read_large_splitted_rar_ab.uu \ 6151.1Schristostest_read_large_splitted_rar_ac.uu \ 6161.1Schristostest_read_large_splitted_rar_ad.uu \ 6171.1Schristostest_read_large_splitted_rar_ae.uu \ 6181.1Schristostest_read_splitted_rar_aa.uu \ 6191.1Schristostest_read_splitted_rar_ab.uu \ 6201.1Schristostest_read_splitted_rar_ac.uu \ 6211.1Schristostest_read_splitted_rar_ad.uu \ 6221.1Schristostest_read_too_many_filters.gz.uu \ 6231.1Schristostest_splitted_rar_seek_support_aa.uu \ 6241.1Schristostest_splitted_rar_seek_support_ab.uu \ 6251.1Schristostest_splitted_rar_seek_support_ac.uu \ 6261.1Schristostest_write_disk_appledouble.cpio.gz.uu \ 6271.1Schristostest_write_disk_hfs_compression.tgz.uu \ 6281.1Schristostest_write_disk_mac_metadata.tar.gz.uu \ 6291.1Schristostest_write_disk_no_hfs_compression.tgz.uu 6301.1Schristos 6311.1Schristos.include <bsd.test.mk> 6321.1Schristos 6331.3Schristostest_main.o test_main.d: list.h 6341.1Schristos 6351.1SchristosCLEANFILES+=list.h 6361.1Schristos 6371.1Schristos# XXX: We skip the truncated filter tests because they are broken 6381.1Schristos# for built-in decompressors. The reason is that the output buffer 6391.1Schristos# size is 64K, the truncated files are < 64K and the built-in decompressors 6401.1Schristos# bail out instead of returning incomplete results. 6411.1Schristoslist.h: ${SRCS.h_libarchive} Makefile 6421.1Schristos ${TOOL_GREP} -h '^DEFINE_TEST(' ${.ALLSRC} | \ 6431.1Schristos ${TOOL_GREP} -v _truncated_filter_ | \ 6441.1Schristos ${TOOL_GREP} -v test_compat_pax_libarchive_2x > ${.TARGET} 6451.1Schristos 6461.6SlukemCOPTS.test_archive_string_conversion.c+= ${CC_WNO_STRINGOP_TRUNCATION} 6471.8SchristosCOPTS.test_main.c+= ${CC_WNO_STRINGOP_OVERFLOW} 6481.9SkreCOPTS.test_write_disk_secure.c+= ${CC_WNO_STRINGOP_OVERFLOW} 6491.1Schristos 650