head	1.4;
access;
symbols
	libarchive-3-8-7:1.1.1.6
	libarchive-3-8-6:1.1.1.6
	pkgsrc-2026Q1:1.4.0.8
	pkgsrc-2026Q1-base:1.4
	libarchive-3-8-5:1.1.1.6
	libarchive-3-8-4:1.1.1.6
	pkgsrc-2025Q4:1.4.0.6
	pkgsrc-2025Q4-base:1.4
	libarchive-3-8-3:1.1.1.6
	libarchive-3-8-2:1.1.1.6
	pkgsrc-2025Q3:1.4.0.4
	pkgsrc-2025Q3-base:1.4
	libarchive-3-8-1:1.1.1.6
	pkgsrc-2025Q2:1.4.0.2
	pkgsrc-2025Q2-base:1.4
	libarchive-3-8-0:1.1.1.6
	libarchive-3-7-9:1.1.1.6
	pkgsrc-2025Q1:1.3.0.4
	pkgsrc-2025Q1-base:1.3
	pkgsrc-2024Q4:1.3.0.2
	pkgsrc-2024Q4-base:1.3
	libarchive-3-7-7:1.1.1.5
	pkgsrc-2024Q3:1.2.0.44
	pkgsrc-2024Q3-base:1.2
	libarchive-3-7-5:1.1.1.4
	pkgsrc-2024Q2:1.2.0.42
	pkgsrc-2024Q2-base:1.2
	libarchive-3-7-4:1.1.1.4
	libarchive-3-7-3:1.1.1.4
	pkgsrc-2024Q1:1.2.0.40
	pkgsrc-2024Q1-base:1.2
	libarchive-3-7-2:1.1.1.4
	pkgsrc-2023Q4:1.2.0.38
	pkgsrc-2023Q4-base:1.2
	pkgsrc-2023Q3:1.2.0.36
	pkgsrc-2023Q3-base:1.2
	pkgsrc-2023Q2:1.2.0.34
	pkgsrc-2023Q2-base:1.2
	pkgsrc-2023Q1:1.2.0.32
	pkgsrc-2023Q1-base:1.2
	pkgsrc-2022Q4:1.2.0.30
	pkgsrc-2022Q4-base:1.2
	pkgsrc-2022Q3:1.2.0.28
	pkgsrc-2022Q3-base:1.2
	pkgsrc-2022Q2:1.2.0.26
	pkgsrc-2022Q2-base:1.2
	pkgsrc-2022Q1:1.2.0.24
	pkgsrc-2022Q1-base:1.2
	pkgsrc-2021Q4:1.2.0.22
	pkgsrc-2021Q4-base:1.2
	pkgsrc-2021Q3:1.2.0.20
	pkgsrc-2021Q3-base:1.2
	pkgsrc-2021Q2:1.2.0.18
	pkgsrc-2021Q2-base:1.2
	pkgsrc-2021Q1:1.2.0.16
	pkgsrc-2021Q1-base:1.2
	pkgsrc-2020Q4:1.2.0.14
	pkgsrc-2020Q4-base:1.2
	pkgsrc-2020Q3:1.2.0.12
	pkgsrc-2020Q3-base:1.2
	pkgsrc-2020Q2:1.2.0.10
	pkgsrc-2020Q2-base:1.2
	pkgsrc-2020Q1:1.2.0.6
	pkgsrc-2020Q1-base:1.2
	pkgsrc-2019Q4:1.2.0.8
	pkgsrc-2019Q4-base:1.2
	pkgsrc-2019Q3:1.2.0.4
	pkgsrc-2019Q3-base:1.2
	libarchive-3-4-0:1.1.1.4
	libarchive-3-3-3:1.1.1.4
	pkgsrc-2019Q2:1.2.0.2
	pkgsrc-2019Q2-base:1.2
	pkgsrc-2019Q1:1.1.1.3.0.16
	pkgsrc-2019Q1-base:1.1.1.3
	pkgsrc-2018Q4:1.1.1.3.0.14
	pkgsrc-2018Q4-base:1.1.1.3
	pkgsrc-2018Q3:1.1.1.3.0.12
	pkgsrc-2018Q3-base:1.1.1.3
	pkgsrc-2018Q2:1.1.1.3.0.10
	pkgsrc-2018Q2-base:1.1.1.3
	pkgsrc-2018Q1:1.1.1.3.0.8
	pkgsrc-2018Q1-base:1.1.1.3
	pkgsrc-2017Q4:1.1.1.3.0.6
	pkgsrc-2017Q4-base:1.1.1.3
	pkgsrc-2017Q3:1.1.1.3.0.4
	pkgsrc-2017Q3-base:1.1.1.3
	libarchive-3-3-2:1.1.1.3
	pkgsrc-2017Q2:1.1.1.2.0.4
	pkgsrc-2017Q2-base:1.1.1.2
	pkgsrc-2017Q1:1.1.1.2.0.2
	pkgsrc-2017Q1-base:1.1.1.2
	libarchive-3-3-1:1.1.1.2
	pkgsrc-2016Q4:1.1.1.1.0.6
	pkgsrc-2016Q4-base:1.1.1.1
	pkgsrc-2016Q3:1.1.1.1.0.4
	pkgsrc-2016Q3-base:1.1.1.1
	pkgsrc-2016Q2:1.1.1.1.0.2
	pkgsrc-2016Q2-base:1.1.1.1
	libarchive-3-2-1:1.1.1.1
	KIENTZLE:1.1.1;
locks; strict;
comment	@# @;


1.4
date	2025.04.28.10.31.33;	author adam;	state Exp;
branches;
next	1.3;
commitid	Tocq615J6mYPZNSF;

1.3
date	2024.10.19.05.39.54;	author adam;	state Exp;
branches;
next	1.2;
commitid	fYRSlpIWMYluweuF;

1.2
date	2019.04.10.08.24.04;	author adam;	state Exp;
branches;
next	1.1;
commitid	LnliQ9ieqYkikMiB;

1.1
date	2016.06.20.17.11.43;	author joerg;	state Exp;
branches
	1.1.1.1;
next	;
commitid	rRgm3BqbmbI8aebz;

1.1.1.1
date	2016.06.20.17.11.43;	author joerg;	state Exp;
branches;
next	1.1.1.2;
commitid	rRgm3BqbmbI8aebz;

1.1.1.2
date	2017.02.25.20.54.05;	author joerg;	state Exp;
branches;
next	1.1.1.3;
commitid	ReqPI0ibLYjdmnHz;

1.1.1.3
date	2017.08.01.22.21.16;	author joerg;	state Exp;
branches;
next	1.1.1.4;
commitid	XQwPAFJku336Ny1A;

1.1.1.4
date	2019.09.22.09.47.10;	author joerg;	state Exp;
branches;
next	1.1.1.5;
commitid	N0KxAXOYyULduZDB;

1.1.1.5
date	2024.10.19.05.27.29;	author adam;	state Exp;
branches;
next	1.1.1.6;
commitid	v1iXM4j1Na52seuF;

1.1.1.6
date	2025.04.28.09.43.57;	author adam;	state Exp;
branches;
next	;
commitid	1zB7ffc4d2qCJNSF;


desc
@@


1.4
log
@bsdtar libarchive: updated to 3.7.9

3.7.9

Important bugfixes:

a regression in libarchive 3.7.8 regarding GNU sparse entries was fixed


3.7.8

Security fixes:

tar reader: Handle truncation in the middle of a GNU long linkname
unzip: fix null pointer dereference
tar reader: fix unchecked return value in list_item_verbose()

Important bugfixes:

7zip reader: add SPARC
tar reader: Ignore ustar size when pax size is present
tar writer: Fix bug when -s/a/b/ used more than once with b flag
cpio: Fix a Y2038 bug on Windows
libarchive: Handle ARCHIVE_FILTER_LZOP in archive_read_append_filter
libarchive: Adding missing seeker function to archive_read_open_FILE()
@
text
@#
# SPDX-License-Identifier: BSD-2-Clause
#
############################################
#
# How to build bsdtar_test
#
############################################
IF(ENABLE_CAT AND ENABLE_TEST)
  SET(bsdcat_test_SOURCES
    ../../test_utils/test_utils.c
    ../../test_utils/test_main.c
    test.h
    test_0.c
    test_empty_gz.c
    test_empty_lz4.c
    test_empty_xz.c
    test_empty_zstd.c
    test_error.c
    test_error_mixed.c
    test_expand_Z.c
    test_expand_bz2.c
    test_expand_gz.c
    test_expand_lz4.c
    test_expand_mixed.c
    test_expand_plain.c
    test_expand_xz.c
    test_expand_zstd.c
    test_help.c
    test_stdin.c
    test_version.c
  )

  #
  # Register target
  #
  ADD_EXECUTABLE(bsdcat_test ${bsdcat_test_SOURCES})
  IF(ENABLE_ACL)
    SET(TEST_ACL_LIBS "")
    IF(HAVE_LIBACL)
      LIST(APPEND TEST_ACL_LIBS ${ACL_LIBRARY})
    ENDIF(HAVE_LIBACL)
    IF(HAVE_LIBRICHACL)
      LIST(APPEND TEST_ACL_LIBS ${RICHACL_LIBRARY})
    ENDIF(HAVE_LIBRICHACL)
    TARGET_LINK_LIBRARIES(bsdcat_test ${TEST_ACL_LIBS})
  ENDIF(ENABLE_ACL)
  SET_PROPERTY(TARGET bsdcat_test PROPERTY COMPILE_DEFINITIONS LIST_H)

  #
  # Generate list.h by grepping DEFINE_TEST() lines out of the C sources.
  #
  GENERATE_LIST_H(${CMAKE_CURRENT_BINARY_DIR}/list.h
    ${CMAKE_CURRENT_LIST_FILE} ${bsdcat_test_SOURCES})
  SET_PROPERTY(DIRECTORY APPEND PROPERTY INCLUDE_DIRECTORIES
    ${CMAKE_CURRENT_BINARY_DIR})

  # list.h has a line DEFINE_TEST(testname) for every
  # test.  We can use that to define the tests for cmake by
  # defining a DEFINE_TEST macro and reading list.h in.
  MACRO (DEFINE_TEST _testname)
    ADD_TEST(
      NAME bsdcat_${_testname}
      COMMAND bsdcat_test -vv
                          -p $<TARGET_FILE:bsdcat>
                          -r ${CMAKE_CURRENT_SOURCE_DIR}
                          -s
                          ${_testname})
    SET_TESTS_PROPERTIES(bsdcat_${_testname} PROPERTIES SKIP_RETURN_CODE 2)
  ENDMACRO (DEFINE_TEST _testname)

  INCLUDE(${CMAKE_CURRENT_BINARY_DIR}/list.h)
  INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR})
  INCLUDE_DIRECTORIES(${PROJECT_SOURCE_DIR}/test_utils)
  INCLUDE_DIRECTORIES(${PROJECT_SOURCE_DIR}/cat/test)

  # Experimental new test handling
  ADD_CUSTOM_TARGET(run_bsdcat_test
	COMMAND	bsdcat_test -p $<TARGET_FILE:bsdcat>
			    -r ${CMAKE_CURRENT_SOURCE_DIR}
			    -vv)
  ADD_DEPENDENCIES(run_bsdcat_test bsdcat)
  ADD_DEPENDENCIES(run_all_tests run_bsdcat_test)

ENDIF(ENABLE_CAT AND ENABLE_TEST)
@


1.3
log
@libarchive: updated to 3.7.7

Libarchive 3.7.7 is a bugfix and security release

Security fixes:

gzip: prevent a hang when processing a malformed gzip inside a gzip
tar: don't crash on truncated tar archives
tar: fix two leaks in tar header parsing

Important bugfixes:

7-zip: read/write symlink paths as UTF-8
cpio: exit with an error code if an entry could not be extracted
rar5: report encrypted entries
tar: fix truncation of entry pathnames in specific archives
windows: fix ARCHIVE_EXTRACT_SECURE_NOABSOLUTEPATHS


Libarchive 3.7.6 is a bugfix and security release.
This release fixes a tar regression introduced in libarchive 3.7.5

Important bugfixes.

tar: clean up linkpath between entries
tar: fix memory leaks when processing symlinks or parsing pax headers
iso: be more cautious about parsing ISO-9660 timestamps
@
text
@d67 1
d69 1
@


1.2
log
@libarchive: updated to 3.3.3

libarchive 3.3.3:
Avoid super-linear slowdown on malformed mtree files
Many fixes for building with Visual Studio
NO_OVERWRITE doesn't change existing directory attributes
New support for Zstandard read and write filters
@
text
@d1 3
@


1.1
log
@Initial revision
@
text
@d9 1
a9 1
    main.c
d15 1
d25 1
d27 1
d35 10
d70 1
d75 2
a76 1
			    -r ${CMAKE_CURRENT_SOURCE_DIR})
@


1.1.1.1
log
@Import libarchive-3.2.1:
- security fixes and other bugfixes
- support for multhreading in xz 5.2+
@
text
@@


1.1.1.2
log
@Import libarchive-3.3.1.
@
text
@d9 1
a9 1
    ../../test_utils/test_main.c
a56 1
  INCLUDE_DIRECTORIES(${PROJECT_SOURCE_DIR}/cat/test)
d61 1
a61 2
			    -r ${CMAKE_CURRENT_SOURCE_DIR}
			    -vv)
@


1.1.1.3
log
@Import libarchive-3.3.2 + 9de5f3 + f9dacbf:
- Support NFS4 ACLs on Linux
- Bugfixes
@
text
@a31 10
  IF(ENABLE_ACL)
    SET(TEST_ACL_LIBS "")
    IF(HAVE_LIBACL)
      LIST(APPEND TEST_ACL_LIBS ${ACL_LIBRARY})
    ENDIF(HAVE_LIBACL)
    IF(HAVE_LIBRICHACL)
      LIST(APPEND TEST_ACL_LIBS ${RICHACL_LIBRARY})
    ENDIF(HAVE_LIBRICHACL)
    TARGET_LINK_LIBRARIES(bsdcat_test ${TEST_ACL_LIBS})
  ENDIF(ENABLE_ACL)
@


1.1.1.4
log
@Import libarchive-3.3.3 as should have done originally.
@
text
@a14 1
    test_empty_zstd.c
a23 1
    test_expand_zstd.c
a24 1
    test_stdin.c
@


1.1.1.5
log
@libarchove: import version 3.7.7
@
text
@a0 3
#
# SPDX-License-Identifier: BSD-2-Clause
#
@


1.1.1.6
log
@libarchive: imported version 3.7.9
@
text
@a66 1
                          -s
a67 1
    SET_TESTS_PROPERTIES(bsdcat_${_testname} PROPERTIES SKIP_RETURN_CODE 2)
@


