head	1.22;
access;
symbols
	libarchive-3-8-8:1.1.1.20
	pkgsrc-2026Q2:1.21.0.2
	pkgsrc-2026Q2-base:1.21
	libarchive-3-8-7:1.1.1.19
	libarchive-3-8-6:1.1.1.18
	pkgsrc-2026Q1:1.19.0.2
	pkgsrc-2026Q1-base:1.19
	libarchive-3-8-5:1.1.1.17
	libarchive-3-8-4:1.1.1.16
	pkgsrc-2025Q4:1.17.0.2
	pkgsrc-2025Q4-base:1.17
	libarchive-3-8-3:1.1.1.15
	libarchive-3-8-2:1.1.1.14
	pkgsrc-2025Q3:1.15.0.2
	pkgsrc-2025Q3-base:1.15
	libarchive-3-8-1:1.1.1.13
	pkgsrc-2025Q2:1.14.0.2
	pkgsrc-2025Q2-base:1.14
	libarchive-3-8-0:1.1.1.12
	libarchive-3-7-9:1.1.1.11
	pkgsrc-2025Q1:1.12.0.4
	pkgsrc-2025Q1-base:1.12
	pkgsrc-2024Q4:1.12.0.2
	pkgsrc-2024Q4-base:1.12
	libarchive-3-7-7:1.1.1.10
	pkgsrc-2024Q3:1.11.0.2
	pkgsrc-2024Q3-base:1.11
	libarchive-3-7-5:1.1.1.9
	pkgsrc-2024Q2:1.10.0.2
	pkgsrc-2024Q2-base:1.10
	libarchive-3-7-4:1.1.1.8
	libarchive-3-7-3:1.1.1.7
	pkgsrc-2024Q1:1.8.0.2
	pkgsrc-2024Q1-base:1.8
	libarchive-3-7-2:1.1.1.6
	pkgsrc-2023Q4:1.7.0.30
	pkgsrc-2023Q4-base:1.7
	pkgsrc-2023Q3:1.7.0.28
	pkgsrc-2023Q3-base:1.7
	pkgsrc-2023Q2:1.7.0.26
	pkgsrc-2023Q2-base:1.7
	pkgsrc-2023Q1:1.7.0.24
	pkgsrc-2023Q1-base:1.7
	pkgsrc-2022Q4:1.7.0.22
	pkgsrc-2022Q4-base:1.7
	pkgsrc-2022Q3:1.7.0.20
	pkgsrc-2022Q3-base:1.7
	pkgsrc-2022Q2:1.7.0.18
	pkgsrc-2022Q2-base:1.7
	pkgsrc-2022Q1:1.7.0.16
	pkgsrc-2022Q1-base:1.7
	pkgsrc-2021Q4:1.7.0.14
	pkgsrc-2021Q4-base:1.7
	pkgsrc-2021Q3:1.7.0.12
	pkgsrc-2021Q3-base:1.7
	pkgsrc-2021Q2:1.7.0.10
	pkgsrc-2021Q2-base:1.7
	pkgsrc-2021Q1:1.7.0.8
	pkgsrc-2021Q1-base:1.7
	pkgsrc-2020Q4:1.7.0.6
	pkgsrc-2020Q4-base:1.7
	pkgsrc-2020Q3:1.7.0.4
	pkgsrc-2020Q3-base:1.7
	pkgsrc-2020Q2:1.7.0.2
	pkgsrc-2020Q2-base:1.7
	pkgsrc-2020Q1:1.6.0.4
	pkgsrc-2020Q1-base:1.6
	pkgsrc-2019Q4:1.6.0.6
	pkgsrc-2019Q4-base:1.6
	pkgsrc-2019Q3:1.6.0.2
	pkgsrc-2019Q3-base:1.6
	libarchive-3-4-0:1.1.1.5
	libarchive-3-3-3:1.1.1.4
	pkgsrc-2019Q2:1.5.0.2
	pkgsrc-2019Q2-base:1.5
	pkgsrc-2019Q1:1.4.0.16
	pkgsrc-2019Q1-base:1.4
	pkgsrc-2018Q4:1.4.0.14
	pkgsrc-2018Q4-base:1.4
	pkgsrc-2018Q3:1.4.0.12
	pkgsrc-2018Q3-base:1.4
	pkgsrc-2018Q2:1.4.0.10
	pkgsrc-2018Q2-base:1.4
	pkgsrc-2018Q1:1.4.0.8
	pkgsrc-2018Q1-base:1.4
	pkgsrc-2017Q4:1.4.0.6
	pkgsrc-2017Q4-base:1.4
	pkgsrc-2017Q3:1.4.0.4
	pkgsrc-2017Q3-base:1.4
	libarchive-3-3-2:1.1.1.3
	pkgsrc-2017Q2:1.3.0.4
	pkgsrc-2017Q2-base:1.3
	pkgsrc-2017Q1:1.3.0.2
	pkgsrc-2017Q1-base:1.3
	libarchive-3-3-1:1.1.1.2
	pkgsrc-2016Q4:1.2.0.6
	pkgsrc-2016Q4-base:1.2
	pkgsrc-2016Q3:1.2.0.4
	pkgsrc-2016Q3-base:1.2
	pkgsrc-2016Q2:1.2.0.2
	pkgsrc-2016Q2-base:1.2
	libarchive-3-2-1:1.1.1.1
	KIENTZLE:1.1.1
	pkgsrc-2016Q1:1.1.0.10
	pkgsrc-2016Q1-base:1.1
	pkgsrc-2015Q4:1.1.0.8
	pkgsrc-2015Q4-base:1.1
	pkgsrc-2015Q3:1.1.0.6
	pkgsrc-2015Q3-base:1.1
	pkgsrc-2015Q2:1.1.0.4
	pkgsrc-2015Q2-base:1.1
	pkgsrc-2015Q1:1.1.0.2
	pkgsrc-2015Q1-base:1.1;
locks; strict;
comment	@# @;


1.22
date	2026.06.24.06.29.52;	author adam;	state Exp;
branches;
next	1.21;
commitid	keXVOnvWIwV061LG;

1.21
date	2026.04.15.08.46.34;	author adam;	state Exp;
branches;
next	1.20;
commitid	pL26mrnh4kOo62CG;

1.20
date	2026.03.26.11.20.06;	author adam;	state Exp;
branches;
next	1.19;
commitid	8pSUUUHFeJu1BtzG;

1.19
date	2026.01.06.11.55.22;	author adam;	state Exp;
branches;
next	1.18;
commitid	lOosf75XWhczkkpG;

1.18
date	2025.12.23.14.01.22;	author adam;	state Exp;
branches;
next	1.17;
commitid	3zKcl3VhUVXFtxnG;

1.17
date	2025.11.20.06.08.25;	author adam;	state Exp;
branches;
next	1.16;
commitid	kB7NF5kSlmUaVfjG;

1.16
date	2025.11.02.08.52.12;	author adam;	state Exp;
branches;
next	1.15;
commitid	hdaVwMAEUWR8pXgG;

1.15
date	2025.07.01.15.14.43;	author adam;	state Exp;
branches;
next	1.14;
commitid	sA2cBFYBXpUBv31G;

1.14
date	2025.05.21.15.25.49;	author adam;	state Exp;
branches;
next	1.13;
commitid	6aTN21WjRYk8TMVF;

1.13
date	2025.04.28.10.31.33;	author adam;	state Exp;
branches;
next	1.12;
commitid	Tocq615J6mYPZNSF;

1.12
date	2024.10.19.05.39.56;	author adam;	state Exp;
branches;
next	1.11;
commitid	fYRSlpIWMYluweuF;

1.11
date	2024.09.15.07.02.19;	author adam;	state Exp;
branches;
next	1.10;
commitid	x365AQIKhret4SpF;

1.10
date	2024.04.30.06.05.18;	author adam;	state Exp;
branches;
next	1.9;
commitid	id0E8i4RwCC4c88F;

1.9
date	2024.04.12.15.39.48;	author adam;	state Exp;
branches;
next	1.8;
commitid	52ilmjFHKDf0XR5F;

1.8
date	2024.01.18.18.00.14;	author adam;	state Exp;
branches;
next	1.7;
commitid	hNXpsHx3SuHqsXUE;

1.7
date	2020.05.26.09.16.40;	author nia;	state Exp;
branches;
next	1.6;
commitid	nNhsdZACz3PjmJ9C;

1.6
date	2019.09.22.09.55.07;	author joerg;	state Exp;
branches;
next	1.5;
commitid	FdPvRjF4OzwBwZDB;

1.5
date	2019.04.10.08.24.05;	author adam;	state Exp;
branches;
next	1.4;
commitid	LnliQ9ieqYkikMiB;

1.4
date	2017.08.01.22.26.22;	author joerg;	state Exp;
branches;
next	1.3;
commitid	32clTfkmVE8bPy1A;

1.3
date	2017.02.25.21.11.19;	author joerg;	state Exp;
branches;
next	1.2;
commitid	rW8QfCWrsCO1snHz;

1.2
date	2016.06.20.17.24.56;	author joerg;	state Exp;
branches;
next	1.1;
commitid	ArUvympBjfBseebz;

1.1
date	2015.01.17.12.44.49;	author adam;	state Exp;
branches
	1.1.1.1;
next	;
commitid	yy7e1hLrfmA2pn6y;

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

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

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

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

1.1.1.5
date	2019.09.22.09.51.33;	author joerg;	state Exp;
branches;
next	1.1.1.6;
commitid	5kDbfPbiV3INvZDB;

1.1.1.6
date	2024.01.18.17.37.45;	author adam;	state Exp;
branches;
next	1.1.1.7;
commitid	zDULEPUODGjTkXUE;

1.1.1.7
date	2024.04.12.15.27.44;	author adam;	state Exp;
branches;
next	1.1.1.8;
commitid	tQWTddCoxBumSR5F;

1.1.1.8
date	2024.04.30.05.50.49;	author adam;	state Exp;
branches;
next	1.1.1.9;
commitid	e4DnFoZdQV9Z688F;

1.1.1.9
date	2024.09.15.06.45.25;	author adam;	state Exp;
branches;
next	1.1.1.10;
commitid	pOuXKsbh8iPCYRpF;

1.1.1.10
date	2024.10.19.05.27.34;	author adam;	state Exp;
branches;
next	1.1.1.11;
commitid	v1iXM4j1Na52seuF;

1.1.1.11
date	2025.04.28.09.44.10;	author adam;	state Exp;
branches;
next	1.1.1.12;
commitid	1zB7ffc4d2qCJNSF;

1.1.1.12
date	2025.05.21.15.11.28;	author adam;	state Exp;
branches;
next	1.1.1.13;
commitid	Nzqt2UgtvkVXNMVF;

1.1.1.13
date	2025.07.01.14.58.53;	author adam;	state Exp;
branches;
next	1.1.1.14;
commitid	wKXYoBc9F9j8q31G;

1.1.1.14
date	2025.11.02.08.32.34;	author adam;	state Exp;
branches;
next	1.1.1.15;
commitid	8C56Xg3dc0HriXgG;

1.1.1.15
date	2025.11.20.05.51.45;	author adam;	state Exp;
branches;
next	1.1.1.16;
commitid	LC6NMc2P0QpnPfjG;

1.1.1.16
date	2025.12.23.13.41.06;	author adam;	state Exp;
branches;
next	1.1.1.17;
commitid	hhQbXTytJ7PFmxnG;

1.1.1.17
date	2026.01.06.11.43.30;	author adam;	state Exp;
branches;
next	1.1.1.18;
commitid	Q4rjOheYoLWofkpG;

1.1.1.18
date	2026.03.26.11.11.16;	author adam;	state Exp;
branches;
next	1.1.1.19;
commitid	P6u0vpfNBymXxtzG;

1.1.1.19
date	2026.04.15.08.40.11;	author adam;	state Exp;
branches;
next	1.1.1.20;
commitid	enlkxxj5Vxhi42CG;

1.1.1.20
date	2026.06.24.05.39.01;	author adam;	state Exp;
branches;
next	;
commitid	zmhI9f4umm2AO0LG;


desc
@@


1.22
log
@libarchive: updated to 3.8.8

Libarchive 3.8.8 is a security, bugfix and minor feature release.

New features:

add support for reading encrypted zipx formats (bzip2, lzma, ppmd, xz, zstd)

Fix overview:
https://github.com/libarchive/libarchive/releases/tag/v3.8.8
@
text
@<!-- Creator     : groff version 1.23.0 -->
<!-- CreationDate: Tue Jun 23 09:58:14 2026 -->
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta name="generator" content="groff -Thtml, see www.gnu.org">
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<meta name="Content-Style" content="text/css">
<style type="text/css">
       p       { margin-top: 0; margin-bottom: 0; vertical-align: top }
       pre     { margin-top: 0; margin-bottom: 0; vertical-align: top }
       table   { margin-top: 0; margin-bottom: 0; vertical-align: top }
       h1      { text-align: center }
</style>
<title></title>
</head>
<body>

<hr>


<p><i>ARCHIVE_WRITE_OPTIONS</i>(3) Library Functions Manual
<i>ARCHIVE_WRITE_OPTIONS</i>(3)</p>

<p style="margin-top: 1em"><b>NAME</b></p>


<p style="margin-left:9%;">archive_write_set_filter_option,
archive_write_set_format_option, archive_write_set_option,
archive_write_set_options &mdash; functions controlling
options for writing archives</p>

<p style="margin-top: 1em"><b>LIBRARY</b></p>

<p style="margin-left:9%;">Streaming Archive Library
(libarchive, -larchive)</p>

<p style="margin-top: 1em"><b>SYNOPSIS</b></p>

<p style="margin-left:9%;"><i>int</i></p>


<p><b>archive_write_set_filter_option</b>(<i>struct&nbsp;archive&nbsp;*</i>,
<i>const&nbsp;char&nbsp;*module</i>,
<i>const&nbsp;char&nbsp;*option</i>,
<i>const&nbsp;char&nbsp;*value</i>);</p>

<p style="margin-left:9%; margin-top: 1em"><i>int</i></p>


<p><b>archive_write_set_format_option</b>(<i>struct&nbsp;archive&nbsp;*</i>,
<i>const&nbsp;char&nbsp;*module</i>,
<i>const&nbsp;char&nbsp;*option</i>,
<i>const&nbsp;char&nbsp;*value</i>);</p>

<p style="margin-left:9%; margin-top: 1em"><i>int</i></p>


<p><b>archive_write_set_option</b>(<i>struct&nbsp;archive&nbsp;*</i>,
<i>const&nbsp;char&nbsp;*module</i>,
<i>const&nbsp;char&nbsp;*option</i>,
<i>const&nbsp;char&nbsp;*value</i>);</p>

<p style="margin-left:9%; margin-top: 1em"><i>int</i></p>


<p><b>archive_write_set_options</b>(<i>struct&nbsp;archive&nbsp;*</i>,
<i>const&nbsp;char&nbsp;*options</i>);</p>

<p style="margin-top: 1em"><b>DESCRIPTION</b></p>

<p style="margin-left:9%;">These functions provide a way
for libarchive clients to configure specific write
modules.</p>


<p style="margin-top: 1em"><b>archive_write_set_filter_option</b>(),
<b>archive_write_set_format_option</b>()</p>

<p style="margin-left:19%;">Specifies an option that will
be passed to the currently-registered filters (including
decompression filters) or format readers.</p>

<p style="margin-left:19%; margin-top: 1em">If
<i>option</i> and <i>value</i> are both NULL, these
functions will do nothing and <b>ARCHIVE_OK</b> will be
returned. If <i>option</i> is NULL but <i>value</i> is not,
these functions will do nothing and <b>ARCHIVE_FAILED</b>
will be returned.</p>

<p style="margin-left:19%; margin-top: 1em">If
<i>module</i> is not NULL, <i>option</i> and <i>value</i>
will be provided to the filter or reader named
<i>module</i>. The return value will be either
<b>ARCHIVE_OK</b> if the option was successfully handled or
<b>ARCHIVE_WARN</b> if the option was unrecognized by the
module or could otherwise not be handled. If there is no
such module, <b>ARCHIVE_FAILED</b> will be returned.</p>

<p style="margin-left:19%; margin-top: 1em">If
<i>module</i> is NULL, <i>option</i> and <i>value</i> will
be provided to every registered module. If any module
returns <b>ARCHIVE_FATAL</b>, this value will be returned
immediately. Otherwise, <b>ARCHIVE_OK</b> will be returned
if any module accepts the option, and <b>ARCHIVE_FAILED</b>
in all other cases.</p>


<p style="margin-top: 1em"><b>archive_write_set_option</b>()</p>

<p style="margin-left:19%;">Calls
<b>archive_write_set_format_option</b>(), then
<b>archive_write_set_filter_option</b>(). If either function
returns <b>ARCHIVE_FATAL</b>, <b>ARCHIVE_FATAL</b> will be
returned immediately. Otherwise, the greater of the two
values will be returned.</p>


<p style="margin-top: 1em"><b>archive_write_set_options</b>()</p>

<p style="margin-left:19%;"><i>options</i> is a
comma-separated list of options. If <i>options</i> is NULL
or empty, <b>ARCHIVE_OK</b> will be returned
immediately.</p>

<p style="margin-left:19%; margin-top: 1em">Individual
options have one of the following forms:</p>

<p><i>option=value</i></p>

<p style="margin-left:29%;">The option/value pair will be
provided to every module. Modules that do not accept an
option with this name will ignore it.</p>

<p><i>option</i></p>

<p style="margin-left:29%; margin-top: 1em">The option will
be provided to every module with a value of
&ldquo;1&rdquo;.</p>

<p><i>!option</i></p>

<p style="margin-left:29%;">The option will be provided to
every module with a NULL value.</p>

<p><i>module:option=value</i>, <i>module:option</i>,
<i>module:!option</i></p>

<p style="margin-left:29%;">As above, but the corresponding
option and value will be provided only to modules whose name
matches <i>module</i>.</p>

<p style="margin-top: 1em"><b>OPTIONS</b> <br>
Filter b64encode <b><br>
mode</b></p>

<p style="margin-left:29%; margin-top: 1em">The value is
interpreted as octal digits specifying the file mode.</p>

<p><b>name</b></p>

<p style="margin-left:29%; margin-top: 1em">The value
specifies the file name.</p>

<p>Filter bzip2 <b><br>
compression-level</b></p>

<p style="margin-left:29%;">The value is interpreted as a
decimal integer specifying the bzip2 compression level.
Supported values are from 1 to 9.</p>

<p>Filter gzip <b><br>
compression-level</b></p>

<p style="margin-left:29%;">The value is interpreted as a
decimal integer specifying the gzip compression level.
Supported values are from 0 to 9.</p>

<p><b>timestamp</b></p>

<p style="margin-left:29%;">Store timestamp. This is
enabled by default.</p>

<p>Filter lrzip <b><br>
compression</b>=<i>type</i></p>

<p style="margin-left:29%;">Use <i>type</i> as compression
method. Supported values are &ldquo;bzip2&rdquo;,
&ldquo;gzipi&rdquo;, &ldquo;lzo&rdquo; (ultra fast), and
&ldquo;zpaq&rdquo; (best, extremely slow).</p>

<p><b>compression-level</b></p>

<p style="margin-left:29%;">The value is interpreted as a
decimal integer specifying the lrzip compression level.
Supported values are from 1 to 9.</p>

<p>Filter lz4 <b><br>
compression-level</b></p>

<p style="margin-left:29%;">The value is interpreted as a
decimal integer specifying the lz4 compression level.
Supported values are from 0 to 9.</p>

<p><b>stream-checksum</b></p>

<p style="margin-left:29%;">Enable stream checksum. This is
enabled by default.</p>

<p><b>block-checksum</b></p>

<p style="margin-left:29%;">Enable block checksum. This is
disabled by default.</p>

<p><b>block-size</b></p>

<p style="margin-left:29%;">The value is interpreted as a
decimal integer specifying the lz4 compression block size.
Supported values are from 4 to 7 (default).</p>

<p><b>block-dependence</b></p>

<p style="margin-left:29%;">Use the previous block of the
block being compressed for a compression dictionary to
improve compression ratio. This is disabled by default.</p>

<p>Filter lzop <b><br>
compression-level</b></p>

<p style="margin-left:29%;">The value is interpreted as a
decimal integer specifying the lzop compression level.
Supported values are from 1 to 9.</p>

<p>Filter uuencode <b><br>
mode</b></p>

<p style="margin-left:29%; margin-top: 1em">The value is
interpreted as octal digits specifying the file mode.</p>

<p><b>name</b></p>

<p style="margin-left:29%; margin-top: 1em">The value
specifies the file name.</p>

<p>Filter xz <b><br>
compression-level</b></p>

<p style="margin-left:29%;">The value is interpreted as a
decimal integer specifying the compression level. Supported
values are from 0 to 9.</p>

<p><b>threads</b></p>

<p style="margin-left:29%;">The value is interpreted as a
decimal integer specifying the number of threads for
multi-threaded lzma compression. If supported, the default
value is read from <b>lzma_cputhreads</b>().</p>

<p>Filter zstd <b><br>
compression-level</b></p>

<p style="margin-left:29%;">The value is interpreted as a
decimal integer specifying the compression level. Supported
values depend on the library version, common values are from
1 to 22.</p>

<p><b>long</b></p>

<p style="margin-left:29%; margin-top: 1em">Enables long
distance matching. The value is interpreted as a decimal
integer specifying log2 window size in bytes. Values from 10
to 30 for 32 bit, or 31 for 64 bit, are supported.</p>

<p><b>threads</b></p>

<p style="margin-left:29%;">The value is interpreted as a
decimal integer specifying the number of threads for
multi-threaded zstd compression. If set to 0, zstd will
attempt to detect and use the number of active physical CPU
cores.</p>

<p>Format 7zip <b><br>
compression</b></p>

<p style="margin-left:29%;">The value is one of
&ldquo;store&rdquo;, &ldquo;copy&rdquo;,
&ldquo;deflate&rdquo;, &ldquo;bzip2&rdquo;,
&ldquo;lzma1&rdquo;, &ldquo;lzma2&rdquo;,
&ldquo;ppmd&rdquo;, or &ldquo;zstd&rdquo; to indicate how
the following entries should be compressed. The values
&ldquo;store&rdquo; and &ldquo;copy&rdquo; are synonyms.
Note that this setting is ignored for directories, symbolic
links, and other special entries.</p>

<p><b>compression-level</b></p>

<p style="margin-left:29%;">The value is interpreted as a
decimal integer specifying the compression level. Values
between 0 and 9 are supported, with the exception of bzip2
which only supports values between 1 and 9, and zstd which
may support negative values depending on the library version
and commonly used values 1 through 22. The interpretation of
the compression level depends on the chosen compression
method.</p>

<p><b>threads</b></p>

<p style="margin-left:29%;">The value is interpreted as a
decimal integer specifying the number of threads for
multi-threaded compression (for compressors like zstd that
support it). If set to 0, an attempt will be made to
discover the number of CPU cores.</p>

<p>Format bin <b><br>
hdrcharset</b></p>

<p style="margin-left:29%;">The value is used as a
character set name that will be used when translating file
names.</p>

<p>Format gnutar <b><br>
hdrcharset</b></p>

<p style="margin-left:29%;">The value is used as a
character set name that will be used when translating file,
group and user names.</p>

<p>Format iso9660 - volume metadata</p>

<p style="margin-left:19%;">These options are used to set
standard ISO9660 metadata.</p>

<p><b>abstract-file</b>=<i>filename</i></p>

<p style="margin-left:29%;">The file with the specified
name will be identified in the ISO9660 metadata as holding
the abstract for this volume. Default: none.</p>

<p><b>application-id</b>=<i>filename</i></p>

<p style="margin-left:29%;">The file with the specified
name will be identified in the ISO9660 metadata as holding
the application identifier for this volume. Default:
none.</p>

<p><b>biblio-file</b>=<i>filename</i></p>

<p style="margin-left:29%;">The file with the specified
name will be identified in the ISO9660 metadata as holding
the bibliography for this volume. Default: none.</p>

<p><b>copyright-file</b>=<i>filename</i></p>

<p style="margin-left:29%;">The file with the specified
name will be identified in the ISO9660 metadata as holding
the copyright for this volume. Default: none.</p>

<p><b>publisher</b>=<i>filename</i></p>

<p style="margin-left:29%;">The file with the specified
name will be identified in the ISO9660 metadata as holding
the publisher information for this volume. Default:
none.</p>

<p><b>volume-id</b>=<i>string</i></p>

<p style="margin-left:29%;">The specified string will be
used as the Volume Identifier in the ISO9660 metadata. It is
limited to 32 bytes. Default: none.</p>

<p>Format iso9660 - boot support</p>

<p style="margin-left:19%;">These options are used to make
an ISO9660 image that can be directly booted on various
systems.</p>

<p><b>boot</b>=<i>filename</i></p>

<p style="margin-left:29%;">The file matching this name
will be used as the El Torito boot image file.</p>

<p><b>boot-catalog</b>=<i>name</i></p>

<p style="margin-left:29%;">The name that will be used for
the El Torito boot catalog. Default: <i>boot.catalog</i></p>

<p><b>boot-info-table</b></p>

<p style="margin-left:29%;">The boot image file provided by
the <b>boot</b>=<i>filename</i> option will be edited with
appropriate boot information in bytes 8 through 64. Default:
disabled</p>

<p><b>boot-load-seg</b>=<i>hexadecimal-number</i></p>

<p style="margin-left:29%;">The load segment for a
no-emulation boot image.</p>

<p><b>boot-load-size</b>=<i>decimal-number</i></p>

<p style="margin-left:29%;">The number of
&quot;virtual&quot; 512-byte sectors to be loaded from a
no-emulation boot image. Some very old BIOSes can only load
very small images, setting this value to 4 will often allow
such BIOSes to load the first part of the boot image (which
will then need to be intelligent enough to load the rest of
itself). This should not be needed unless you are trying to
support systems with very old BIOSes. This defaults to the
full size of the image.</p>

<p><b>boot-type</b>=<i>value</i></p>

<p style="margin-left:29%;">Specifies the boot semantics
used by the El Torito boot image: If the <i>value</i> is
<b>fd</b>, then the boot image is assumed to be a bootable
floppy image. If the <i>value</i> is <b>hd</b>, then the
boot image is assumed to be a bootable hard disk image. If
the <i>value</i> is <b>no-emulation</b>, the boot image is
used without floppy or hard disk emulation. If the boot
image is exactly 1.2MB, 1.44MB, or 2.88MB, then the default
is <b>fd</b>, otherwise the default is
<b>no-emulation</b>.</p>

<p>Format iso9660 - filename and size extensions</p>

<p style="margin-left:19%;">Various extensions to the base
ISO9660 format.</p>

<p><b>allow-ldots</b></p>

<p style="margin-left:29%;">If enabled, allows filenames to
begin with a leading period. If disabled, filenames that
begin with a leading period will have that period replaced
by an underscore character in the standard ISO9660
namespace. This does not impact names stored in the
Rockridge or Joliet extension area. Default: disabled.</p>

<p><b>allow-lowercase</b></p>

<p style="margin-left:29%;">If enabled, allows filenames to
contain lowercase characters. If disabled, filenames will be
forced to uppercase. This does not impact names stored in
the Rockridge or Joliet extension area. Default:
disabled.</p>

<p><b>allow-multidot</b></p>

<p style="margin-left:29%;">If enabled, allows filenames to
contain multiple period characters, in violation of the
ISO9660 specification. If disabled, additional periods will
be converted to underscore characters. This does not impact
names stored in the Rockridge or Joliet extension area.
Default: disabled.</p>

<p><b>allow-period</b></p>

<p style="margin-left:29%;">If enabled, allows filenames to
contain trailing period characters, in violation of the
ISO9660 specification. If disabled, trailing periods will be
converted to underscore characters. This does not impact
names stored in the Rockridge or Joliet extension area.
Default: disabled.</p>

<p><b>allow-pvd-lowercase</b></p>

<p style="margin-left:29%;">If enabled, the Primary Volume
Descriptor may contain lowercase ASCII characters, in
violation of the ISO9660 specification. If disabled,
characters will be converted to uppercase ASCII. Default:
disabled.</p>

<p><b>allow-sharp-tilde</b></p>

<p style="margin-left:29%;">If enabled, sharp and tilde
characters will be permitted in filenames, in violation if
the ISO9660 specification. If disabled, such characters will
be converted to underscore characters. Default:
disabled.</p>

<p><b>allow-vernum</b></p>

<p style="margin-left:29%;">If enabled, version numbers
will be included with files. If disabled, version numbers
will be suppressed, in violation of the ISO9660 standard.
This does not impact names stored in the Rockridge or Joliet
extension area. Default: enabled.</p>

<p><b>iso-level</b></p>

<p style="margin-left:29%;">This enables support for file
size and file name extensions in the core ISO9660 area. The
name extensions specified here do not affect the names
stored in the Rockridge or Joliet extension areas.</p>

<p><b>iso-level=1</b></p>

<p style="margin-left:40%;">The most compliant form of
ISO9660 image. Filenames are limited to 8.3 uppercase
format, directory names are limited to 8 uppercase
characters, files are limited to 4 GiB, the complete ISO9660
image cannot exceed 4 GiB.</p>

<p><b>iso-level=2</b></p>

<p style="margin-left:40%;">Filenames are limited to 30
uppercase characters with a 30-character extension,
directory names are limited to 30 characters, files are
limited to 4 GiB.</p>

<p><b>iso-level=3</b></p>

<p style="margin-left:40%;">As with <b>iso-level=2</b>,
except that files may exceed 4 GiB.</p>

<p><b>iso-level=4</b></p>

<p style="margin-left:40%;">As with <b>iso-level=3</b>,
except that filenames may be up to 193 characters and may
include arbitrary 8-bit characters.</p>

<p><b>joliet</b></p>


<p style="margin-left:29%; margin-top: 1em">Microsoft&rsquo;s
Joliet extensions store a completely separate set of
directory information about each file. In particular, this
information includes Unicode filenames of up to 255
characters. Default: enabled.</p>

<p><b>limit-depth</b></p>

<p style="margin-left:29%;">If enabled, libarchive will use
directory relocation records to ensure that no pathname
exceeds the ISO9660 limit of 8 directory levels. If
disabled, no relocation will occur. Default: enabled.</p>

<p><b>limit-dirs</b></p>

<p style="margin-left:29%;">If enabled, libarchive will
cause an error if there are more than 65536 directories. If
disabled, there is no limit on the number of directories.
Default: enabled</p>

<p><b>pad</b></p>

<p style="margin-left:29%; margin-top: 1em">If enabled, 300
kiB of zero bytes will be appended to the end of the
archive. Default: enabled</p>

<p><b>relaxed-filenames</b></p>

<p style="margin-left:29%;">If enabled, all 7-bit ASCII
characters are permitted in filenames (except lowercase
characters unless <b>allow-lowercase</b> is also specified).
This violates ISO9660 standards. This does not impact names
stored in the Rockridge or Joliet extension area. Default:
disabled.</p>

<p><b>rockridge</b></p>

<p style="margin-left:29%;">The Rockridge extensions store
an additional set of POSIX-style file information with each
file, including mtime, atime, ctime, permissions, and long
filenames with arbitrary 8-bit characters. These extensions
also support symbolic links and other POSIX file types.
Default: enabled.</p>

<p>Format iso9660 - zisofs support</p>

<p style="margin-left:19%;">The zisofs extensions permit
each file to be independently compressed using a
gzip-compatible compression. This can provide significant
size savings, but requires the reading system to have
support for these extensions. These extensions are disabled
by default.</p>

<p><b>compression-level</b>=number</p>

<p style="margin-left:29%;">The compression level used by
the deflate compressor. Ranges from 0 (least effort) to 9
(most effort). Default: 6</p>

<p><b>zisofs</b></p>

<p style="margin-left:29%; margin-top: 1em">Synonym for
<b>zisofs=direct</b>.</p>

<p><b>zisofs=direct</b></p>

<p style="margin-left:29%;">Compress each file in the
archive. Unlike <b>zisofs=indirect</b>, this is handled
entirely within libarchive and does not require a separate
utility. For best results, libarchive tests each file and
will store the file uncompressed if the compression does not
actually save any space. In particular, files under 2k will
never be compressed. Note that boot image files are never
compressed.</p>

<p><b>zisofs=indirect</b></p>

<p style="margin-left:29%;">Recognizes files that have
already been compressed with the <b>mkzftree</b> utility and
sets up the necessary file metadata so that readers will
correctly identify these as zisofs-compressed files.</p>

<p><b>zisofs-exclude</b>=<i>filename</i></p>

<p style="margin-left:29%;">Specifies a filename that
should not be compressed when using <b>zisofs=direct</b>.
This option can be provided multiple times to suppress
compression on many files.</p>

<p>Format mtree <b><br>
cksum</b>, <b>device</b>, <b>flags</b>, <b>gid</b>,
<b>gname</b>, <b>indent</b>, <b>link</b>, <b>md5</b>,
<b>mode</b>, <b>nlink</b>, <b>rmd160</b>, <b>sha1</b>,
<b>sha256</b>, <b>sha384</b>, <b>sha512</b>, <b>size</b>,
<b>time</b>, <b>uid</b>, <b>uname</b></p>

<p style="margin-left:29%;">Enable a particular keyword in
the mtree output. Prefix with an exclamation mark to disable
the corresponding keyword. The default is equivalent to
&ldquo;device, flags, gid, gname, link, mode, nlink, size,
time, type, uid, uname&rdquo;.</p>

<p><b>all</b></p>

<p style="margin-left:29%; margin-top: 1em">Enables all of
the above keywords.</p>

<p><b>use-set</b></p>

<p style="margin-left:29%;">Enables generation of
<b>/set</b> lines that specify default values for the
following files and/or directories.</p>

<p><b>indent</b></p>

<p style="margin-left:29%; margin-top: 1em">XXX needs
explanation XXX</p>

<p>Format newc <b><br>
hdrcharset</b></p>

<p style="margin-left:29%;">The value is used as a
character set name that will be used when translating file
names.</p>

<p>Format odc <b><br>
hdrcharset</b></p>

<p style="margin-left:29%;">The value is used as a
character set name that will be used when translating file
names.</p>

<p>Format pwb <b><br>
hdrcharset</b></p>

<p style="margin-left:29%;">The value is used as a
character set name that will be used when translating file
names.</p>

<p>Format pax <b><br>
hdrcharset</b></p>

<p style="margin-left:29%;">The value is used as a
character set name that will be used when translating file,
group and user names. The value is one of
&ldquo;BINARY&rdquo; or &ldquo;UTF-8&rdquo;. With
&ldquo;BINARY&rdquo; there is no character conversion, with
&ldquo;UTF-8&rdquo; names are converted to UTF-8.</p>

<p><b>xattrheader</b></p>

<p style="margin-left:29%;">When storing extended
attributes, this option configures which headers should be
written. The value is one of &ldquo;all&rdquo;,
&ldquo;LIBARCHIVE&rdquo;, or &ldquo;SCHILY&rdquo;. By
default, both &ldquo;LIBARCHIVE.xattr&rdquo; and
&ldquo;SCHILY.xattr&rdquo; headers are written.</p>

<p>Format ustar <b><br>
hdrcharset</b></p>

<p style="margin-left:29%;">The value is used as a
character set name that will be used when translating file,
group and user names.</p>

<p>Format v7tar <b><br>
hdrcharset</b></p>

<p style="margin-left:29%;">The value is used as a
character set name that will be used when translating file,
group and user names.</p>

<p>Format warc <b><br>
omit-warcinfo</b></p>

<p style="margin-left:29%;">Set to &ldquo;true&rdquo; to
disable output of the warcinfo record.</p>

<p>Format xar <b><br>
checksum</b>=<i>type</i></p>

<p style="margin-left:29%;">Use <i>type</i> as file
checksum method. Supported values are &ldquo;none&rdquo;,
&ldquo;md5&rdquo;, and &ldquo;sha1&rdquo; (default).</p>

<p><b>compression</b>=<i>type</i></p>

<p style="margin-left:29%;">Use <i>type</i> as compression
method. Supported values are &ldquo;none&rdquo;,
&ldquo;bzip2&rdquo;, &ldquo;gzip&rdquo; (default),
&ldquo;lzma&rdquo; and &ldquo;xz&rdquo;.</p>

<p><b>compression_level</b></p>

<p style="margin-left:29%;">The value is a decimal integer
from 1 to 9 specifying the compression level.</p>

<p><b>toc-checksum</b>=<i>type</i></p>

<p style="margin-left:29%;">Use <i>type</i> as table of
contents checksum method. Supported values are
&ldquo;none&rdquo;, &ldquo;md5&rdquo; and &ldquo;sha1&rdquo;
(default).</p>

<p>Format zip <b><br>
compression</b></p>

<p style="margin-left:29%;">The value is either
&ldquo;store&rdquo;, &ldquo;deflate&rdquo;,
&ldquo;bzip2&rdquo;, &ldquo;lzma&rdquo;, &ldquo;xz&rdquo;,
or &ldquo;zstd&rdquo; to indicate how the following entries
should be compressed. Note that this setting is ignored for
directories, symbolic links, and other special entries.</p>

<p><b>compression-level</b></p>

<p style="margin-left:29%;">The value is interpreted as a
decimal integer specifying the compression level. Values
between 0 and 9 are supported. A compression level of 0
switches the compression method to &ldquo;store&rdquo;,
other values will enable &ldquo;deflate&rdquo;,
&ldquo;bzip2&rdquo;, &ldquo;lzma&rdquo;, or
&ldquo;zstd&rdquo; compression (in order of priority,
depending on what libraries are linked) with the given
level.</p>

<p><b>threads</b></p>

<p style="margin-left:29%;">The value is interpreted as a
decimal integer specifying the number of threads to use for
compression. It is supported only for &ldquo;xz&rdquo; or
&ldquo;zstd&rdquo; compression and ignored for any other. A
threads value of 0 is a special one requesting to detect and
use as many threads as the number of active physical CPU
cores.</p>

<p><b>encryption</b></p>

<p style="margin-left:29%;">Enable encryption using
traditional zip encryption.</p>

<p><b>encryption</b>=<i>type</i></p>

<p style="margin-left:29%;">Use <i>type</i> as encryption
type. Supported values are &ldquo;zipcrypt&rdquo;
(traditional zip encryption), &ldquo;aes128&rdquo; (WinZip
AES-128 encryption) and &ldquo;aes256&rdquo; (WinZip AES-256
encryption).</p>

<p><b>experimental</b></p>

<p style="margin-left:29%;">This boolean option enables or
disables experimental Zip features that may not be
compatible with other Zip implementations.</p>

<p><b>fakecrc32</b></p>

<p style="margin-left:29%;">This boolean option disables
CRC calculations. All CRC fields are set to zero. It should
not be used except for testing purposes.</p>

<p><b>hdrcharset</b></p>

<p style="margin-left:29%;">The value is used as a
character set name that will be used when translating file
names.</p>

<p><b>zip64</b></p>

<p style="margin-left:29%; margin-top: 1em">Zip64
extensions provide additional file size information for
entries larger than 4 GiB. They also provide extended file
offset and archive size information when archives exceed 4
GiB. By default, the Zip writer selectively enables these
extensions only as needed. In particular, if the file size
is unknown, the Zip writer will include Zip64 extensions to
guard against the possibility that the file might be larger
than 4 GiB.</p>

<p style="margin-left:29%; margin-top: 1em">Setting this
boolean option will force the writer to use Zip64 extensions
even for small files that would not otherwise require them.
This is primarily useful for testing.</p>

<p style="margin-left:29%; margin-top: 1em">Disabling this
option with <b>!zip64</b> will force the Zip writer to avoid
Zip64 extensions: It will reject files with size greater
than 4 GiB, it will reject any new entries once the total
archive size reaches 4 GiB, and it will not use Zip64
extensions for files with unknown size. In particular, this
can improve compatibility when generating archives where the
entry sizes are not known in advance.</p>

<p style="margin-top: 1em"><b>EXAMPLES</b></p>

<p style="margin-left:9%;">The following example creates an
archive write handle to create a gzip-compressed ISO9660
format image. The two options here specify that the ISO9660
archive will use <i>kernel.img</i> as the boot image for El
Torito booting, and that the gzip compressor should use the
maximum compression level.</p>

<p style="margin-left:17%; margin-top: 1em">a =
archive_write_new(); <br>
archive_write_add_filter_gzip(a); <br>
archive_write_set_format_iso9660(a); <br>
archive_write_set_options(a,
&quot;boot=kernel.img,compression=9&quot;); <br>
archive_write_open_filename(a, filename, blocksize);</p>

<p style="margin-top: 1em"><b>ERRORS</b></p>

<p style="margin-left:9%;">More detailed error codes and
textual descriptions are available from the
<b>archive_errno</b>() and <b>archive_error_string</b>()
functions.</p>

<p style="margin-top: 1em"><b>SEE ALSO</b></p>

<p style="margin-left:9%;"><i>tar</i>(1),
<i>archive_read_set_options</i>(3), <i>archive_write</i>(3),
<i>libarchive</i>(3)</p>

<p style="margin-top: 1em"><b>HISTORY</b></p>

<p style="margin-left:9%;">The <b>libarchive</b> library
first appeared in FreeBSD&nbsp;5.3.</p>

<p style="margin-top: 1em"><b>AUTHORS</b></p>

<p style="margin-left:9%;">The options support for
libarchive was originally implemented by Michihiro
NAKAJIMA.</p>

<p style="margin-top: 1em"><b>BUGS</b> Debian January 31,
2020 <i>ARCHIVE_WRITE_OPTIONS</i>(3)</p>
<hr>
</body>
</html>
@


1.21
log
@libarchive: updated to 3.8.7

Libarchive 3.8.7 is a security and bugfix release.

Notable fixes:

CAB: fix NULL pointer dereference during skip
CAB: Fix Heap OOB Write in CAB LZX decoder
cpio: various fixes and improvements
contrib/untar: fix out-of-bounds read
iso9660: fix undefined behavior
iso9660: fix posibble heap buffer overflow on 32-bit systems
libarchive: fix handling of option failures
libarchive: do not continue with truncated numbers
libarchive: lzop and grzip filter support
RAR: fix LZSS window size mismatch after PPMd block
@
text
@d2 1
a2 1
<!-- CreationDate: Mon Apr 13 12:57:34 2026 -->
@


1.20
log
@libarchive: updated to 3.8.6

Libarchive 3.8.6 is a security and bugfix release.

Notable fixes:

libarchive: fix incompatibility with Nettle 4.x
libarchive: fix NULL pointer dereference in archive_acl_from_text_w()
bsdunzip: fix ISO week year and Gregorian year confusion
7zip: ix SEGV in check_7zip_header_in_sfx via ELF offset validation
7zip: fix out-of-bounds access on ELF 64-bit header
RAR5 reader: fix infinite loop in rar5 decompression
RAR5 reader: fix potential memory leak
RAR5: fix SIGSEGV when archive_read_support_format_rar5 is called twice
CAB reader: fix memory leak on repeated calls to archive_read_support_format_cab
mtree reader: Fix file descriptor leak in mtree parser cleanup
various small bugfixes in code and documentation
@
text
@d2 1
a2 1
<!-- CreationDate: Tue Mar 10 09:57:29 2026 -->
@


1.19
log
@libarchive: updated to 3.8.5

3.8.5

Notable bugxies:

bsdtar: fix regression from 3.8.4 zero-length pattern issue bugfix
various small bugfixes in code and documentation
@
text
@d2 1
a2 1
<!-- CreationDate: Mon Jan  5 10:42:45 2026 -->
@


1.18
log
@libarchive: updated to 3.8.4

3.8.4

Notable bugxies:

bsdtar: Fix zero-length pattern issue
lib: Fix regression introduced in libarchive 3.8.2 when walking enterable but unreadable directories
@
text
@d2 1
a2 1
<!-- CreationDate: Mon Dec  1 12:42:38 2025 -->
@


1.17
log
@libarchive: updated to 3.8.3

Libarchive 3.8.3 is a bugfix and security release.

Security fixes:

lib: Create temporary files in the target directory
lha: Fix for an out-of-bounds buffer overrun when using p[H_LEVEL_OFFSET]
7-zip: Fix a buffer overrun when reading truncated 7zip headers

Notable bugxies:

lz4 and zstd: Support both lz4 and zstd data with leading skippable frames
@
text
@d2 1
a2 1
<!-- CreationDate: Mon Nov 17 22:19:03 2025 -->
@


1.16
log
@libarchive: updated to 3.8.2

Libarchive 3.8.2 is a bugfix and security release.

Security fixes:

7zip: Fix out of boundary access
tar reader: fix checking the result of the strftime

Notable bugfixes:

bsdtar: Allow filename to have CRLF endings
lib: archive_read_data: handle sparse holes at end of file correctly
lib: improve filter process handling
lib: fix error checking in writing files
lib: handle possible errors from system calls
lib: avoid leaking file descriptors into subprocesses
lib: parse_date: handle dates in 2038 and beyond if time_t is big enough
RAR5 reader: fix multiple issues in extra field parsing function
RAR5 reader: early fail when file declares data for a dir entry
tar writer: fix replacing a regular file with a dir for ARCHIVE_EXTRACT_SAFE_WRITES
tar reader (Windows): check WCS pathname in header_gnutar before overwriting
tar reader: fix an infinite loop when parsing V headers
zip writer: fix a memory leak if write callback error early
zip writer: fix writing with ZSTD compression
zstd write filter: enable Zstandard's checksum feature
@
text
@d2 1
a2 1
<!-- CreationDate: Wed Oct 15 21:49:46 2025 -->
@


1.15
log
@libarchive: updated to 3.8.1

3.8.1

Important bugfixes

various compilation fixes
fixed undefined behavior in a function in warc reader
Windows binary uses xz 5.2.5
@
text
@d2 1
a2 1
<!-- CreationDate: Sun Jun  1 19:29:40 2025 -->
@


1.14
log
@libarchive bsdtar: updated to 3.8.0

Libarchive 3.8.0 is a feature and bugfix release.

New features:
bsdtar: support --mtime and --clamp-mtime
lib: mbedtls 3.x compatibility
7-zip reader: improve self-extracting archive detection
xar: xmllite support for the XAR reader and writer
zip writer: added XZ, LZMA, ZSTD and BZIP2 support
zip writer: added LZMA + RISCV BCJ filter

Notable security fixes:
rar: do not skip past EOF while reading
rar: fix double free with over 4 billion nodes
rar: fix heap-buffer-overflow
warc: prevent signed integer overflow
tar: fix overflow in build_ustar_entry

Notable bugfixes:
bsdtar: don't hardlink negative inode files together
gz: allow setting the original filename for gzip compressed files
lib: improve lseek handling
lib: support @@-prefixed Unix epoch timestamps as date strings
rar: support large headers on 32 bit systems
tar reader: Improve LFS support on 32 bit systems
@
text
@d2 1
a2 1
<!-- CreationDate: Tue May 20 09:02:20 2025 -->
@


1.13
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
@d2 1
a2 1
<!-- CreationDate: Sun Mar 30 20:07:38 2025 -->
d280 1
a280 1
attempt to detect and use the number of physical CPU
d289 6
a294 6
&ldquo;lzma1&rdquo;, &ldquo;lzma2&rdquo; or
&ldquo;ppmd&rdquo; to indicate how the following entries
should be compressed. The values &ldquo;store&rdquo; and
&ldquo;copy&rdquo; are synonyms. Note that this setting is
ignored for directories, symbolic links, and other special
entries.</p>
d301 13
a313 3
which only supports values between 1 and 9. The
interpretation of the compression level depends on the
chosen compression method.</p>
d733 5
a737 4
&ldquo;store&rdquo; or &ldquo;deflate&rdquo; to indicate how
the following entries should be compressed. Note that this
setting is ignored for directories, symbolic links, and
other special entries.</p>
d745 15
a759 2
other values will enable &ldquo;deflate&rdquo; compression
with the given level.</p>
@


1.12
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
@d2 1
a2 1
<!-- CreationDate: Sun Oct 13 08:12:10 2024 -->
@


1.11
log
@libarchive: updated to 3.7.5

Libarchive 3.7.5

Security fixes:

fix multiple vulnerabilities identified by SAST
cpio: ignore out-of-range gid/uid/size/ino and harden AFIO parsing
lzop: prevent integer overflow
rar4: protect copy_from_lzss_window_to_unp()
rar4: fix CVE-2024-26256
rar4: fix OOB in delta and audio filter
rar4: fix out of boundary access with large files
rar4: add boundary checks to rgb filter
rar4: fix OOB access with unicode filenames
rar5: clear 'data ready' cache on window buffer reallocs
rpm: calculate huge header sizes correctly
unzip: unify EOF handling
util: fix out of boundary access in mktemp functions
uu: stop processing if lines are too long

Important bugfixes:

7zip: fix issue when skipping first file in 7zip archive that is a multiple of 65536 bytes
ar: fix archive entries having no type
lha: do not allow negative file sizes
lha: fix integer truncation on 32-bit systems
shar: check strdup return value
rar5: don't try to read rediculously long names
xar: fix another infinite loop and expat error handling
many Windows fixes, cleanups and improvements
@
text
@d1 2
a2 2
<!-- Creator     : groff version 1.22.4 -->
<!-- CreationDate: Fri Sep 13 20:31:06 2024 -->
d23 2
a24 2
<p>ARCHIVE_WRITE_OPTIONS(3) BSD Library Functions Manual
ARCHIVE_WRITE_OPTIONS(3)</p>
d29 4
a32 5
<p style="margin-left:6%;"><b>archive_write_set_filter_option</b>,
<b>archive_write_set_format_option</b>,
<b>archive_write_set_option</b>,
<b>archive_write_set_options</b> &mdash; functions
controlling options for writing archives</p>
d36 1
a36 1
<p style="margin-left:6%;">Streaming Archive Library
d41 1
a41 1
<p style="margin-left:6%;"><i>int</i></p>
d49 1
a49 1
<p style="margin-left:6%; margin-top: 1em"><i>int</i></p>
d57 1
a57 1
<p style="margin-left:6%; margin-top: 1em"><i>int</i></p>
d65 1
a65 1
<p style="margin-left:6%; margin-top: 1em"><i>int</i></p>
d73 1
a73 1
<p style="margin-left:6%;">These functions provide a way
d81 1
a81 1
<p style="margin-left:17%;">Specifies an option that will
d85 1
a85 1
<p style="margin-left:17%; margin-top: 1em">If
d92 1
a92 1
<p style="margin-left:17%; margin-top: 1em">If
d101 1
a101 1
<p style="margin-left:17%; margin-top: 1em">If
d112 1
a112 1
<p style="margin-left:17%;">Calls
d122 1
a122 1
<p style="margin-left:17%;"><i>options</i> is a
d127 1
a127 1
<p style="margin-left:17%; margin-top: 1em">Individual
d132 1
a132 1
<p style="margin-left:27%;">The option/value pair will be
d138 1
a138 1
<p style="margin-left:27%; margin-top: 1em">The option will
d144 1
a144 1
<p style="margin-left:27%;">The option will be provided to
d150 1
a150 1
<p style="margin-left:27%;">As above, but the corresponding
d158 1
a158 1
<p style="margin-left:27%; margin-top: 1em">The value is
d163 1
a163 1
<p style="margin-left:27%; margin-top: 1em">The value
d169 1
a169 1
<p style="margin-left:27%;">The value is interpreted as a
d176 1
a176 1
<p style="margin-left:27%;">The value is interpreted as a
d182 1
a182 1
<p style="margin-left:27%;">Store timestamp. This is
d188 1
a188 1
<p style="margin-left:27%;">Use <i>type</i> as compression
d195 1
a195 1
<p style="margin-left:27%;">The value is interpreted as a
d202 1
a202 1
<p style="margin-left:27%;">The value is interpreted as a
d208 1
a208 1
<p style="margin-left:27%;">Enable stream checksum. This is
d213 1
a213 1
<p style="margin-left:27%;">Enable block checksum. This is
d218 1
a218 1
<p style="margin-left:27%;">The value is interpreted as a
d224 1
a224 1
<p style="margin-left:27%;">Use the previous block of the
d231 1
a231 1
<p style="margin-left:27%;">The value is interpreted as a
d238 1
a238 1
<p style="margin-left:27%; margin-top: 1em">The value is
d243 1
a243 1
<p style="margin-left:27%; margin-top: 1em">The value
d249 1
a249 1
<p style="margin-left:27%;">The value is interpreted as a
d255 1
a255 1
<p style="margin-left:27%;">The value is interpreted as a
d263 1
a263 1
<p style="margin-left:27%;">The value is interpreted as a
d270 1
a270 1
<p style="margin-left:27%; margin-top: 1em">Enables long
d277 1
a277 1
<p style="margin-left:27%;">The value is interpreted as a
d286 1
a286 1
<p style="margin-left:27%;">The value is one of
d298 1
a298 1
<p style="margin-left:27%;">The value is interpreted as a
d308 1
a308 1
<p style="margin-left:27%;">The value is used as a
d315 1
a315 1
<p style="margin-left:27%;">The value is used as a
d321 1
a321 1
<p style="margin-left:17%;">These options are used to set
d326 1
a326 1
<p style="margin-left:27%;">The file with the specified
d332 1
a332 1
<p style="margin-left:27%;">The file with the specified
d339 1
a339 1
<p style="margin-left:27%;">The file with the specified
d345 1
a345 1
<p style="margin-left:27%;">The file with the specified
d351 1
a351 1
<p style="margin-left:27%;">The file with the specified
d358 1
a358 1
<p style="margin-left:27%;">The specified string will be
d364 1
a364 1
<p style="margin-left:17%;">These options are used to make
d370 1
a370 1
<p style="margin-left:27%;">The file matching this name
d375 1
a375 1
<p style="margin-left:27%;">The name that will be used for
d380 1
a380 1
<p style="margin-left:27%;">The boot image file provided by
d387 1
a387 1
<p style="margin-left:27%;">The load segment for a
d392 1
a392 1
<p style="margin-left:27%;">The number of
d404 1
a404 1
<p style="margin-left:27%;">Specifies the boot semantics
d417 1
a417 1
<p style="margin-left:17%;">Various extensions to the base
d422 1
a422 1
<p style="margin-left:27%;">If enabled, allows filenames to
d431 1
a431 1
<p style="margin-left:27%;">If enabled, allows filenames to
d439 1
a439 1
<p style="margin-left:27%;">If enabled, allows filenames to
d448 1
a448 1
<p style="margin-left:27%;">If enabled, allows filenames to
d457 1
a457 1
<p style="margin-left:27%;">If enabled, the Primary Volume
d465 1
a465 1
<p style="margin-left:27%;">If enabled, sharp and tilde
d473 1
a473 1
<p style="margin-left:27%;">If enabled, version numbers
d481 1
a481 1
<p style="margin-left:27%;">This enables support for file
d488 1
a488 1
<p style="margin-left:37%;">The most compliant form of
d496 1
a496 1
<p style="margin-left:37%;">Filenames are limited to 30
d503 1
a503 1
<p style="margin-left:37%;">As with <b>iso-level=2</b>,
d508 1
a508 1
<p style="margin-left:37%;">As with <b>iso-level=3</b>,
d515 1
a515 1
<p style="margin-left:27%; margin-top: 1em">Microsoft&rsquo;s
d523 1
a523 1
<p style="margin-left:27%;">If enabled, libarchive will use
d530 1
a530 1
<p style="margin-left:27%;">If enabled, libarchive will
d537 1
a537 1
<p style="margin-left:27%; margin-top: 1em">If enabled, 300
d543 1
a543 1
<p style="margin-left:27%;">If enabled, all 7-bit ASCII
d552 1
a552 1
<p style="margin-left:27%;">The Rockridge extensions store
d561 1
a561 1
<p style="margin-left:17%;">The zisofs extensions permit
d570 1
a570 1
<p style="margin-left:27%;">The compression level used by
d576 1
a576 1
<p style="margin-left:27%; margin-top: 1em">Synonym for
d581 1
a581 1
<p style="margin-left:27%;">Compress each file in the
d592 1
a592 1
<p style="margin-left:27%;">Recognizes files that have
d599 1
a599 1
<p style="margin-left:27%;">Specifies a filename that
d611 1
a611 1
<p style="margin-left:27%;">Enable a particular keyword in
d619 1
a619 1
<p style="margin-left:27%; margin-top: 1em">Enables all of
d624 1
a624 1
<p style="margin-left:27%;">Enables generation of
d630 1
a630 1
<p style="margin-left:27%; margin-top: 1em">XXX needs
d636 1
a636 1
<p style="margin-left:27%;">The value is used as a
d643 1
a643 1
<p style="margin-left:27%;">The value is used as a
d650 1
a650 1
<p style="margin-left:27%;">The value is used as a
d657 1
a657 1
<p style="margin-left:27%;">The value is used as a
d666 1
a666 1
<p style="margin-left:27%;">When storing extended
d676 1
a676 1
<p style="margin-left:27%;">The value is used as a
d683 1
a683 1
<p style="margin-left:27%;">The value is used as a
d690 1
a690 1
<p style="margin-left:27%;">Set to &ldquo;true&rdquo; to
d696 1
a696 1
<p style="margin-left:27%;">Use <i>type</i> as file
d702 1
a702 1
<p style="margin-left:27%;">Use <i>type</i> as compression
d709 1
a709 1
<p style="margin-left:27%;">The value is a decimal integer
d714 1
a714 1
<p style="margin-left:27%;">Use <i>type</i> as table of
d722 1
a722 1
<p style="margin-left:27%;">The value is either
d730 1
a730 1
<p style="margin-left:27%;">The value is interpreted as a
d739 1
a739 1
<p style="margin-left:27%;">Enable encryption using
d744 1
a744 1
<p style="margin-left:27%;">Use <i>type</i> as encryption
d752 1
a752 1
<p style="margin-left:27%;">This boolean option enables or
d758 1
a758 1
<p style="margin-left:27%;">This boolean option disables
d764 1
a764 1
<p style="margin-left:27%;">The value is used as a
d770 1
a770 1
<p style="margin-left:27%; margin-top: 1em">Zip64
d780 1
a780 1
<p style="margin-left:27%; margin-top: 1em">Setting this
d785 1
a785 1
<p style="margin-left:27%; margin-top: 1em">Disabling this
d796 1
a796 1
<p style="margin-left:6%;">The following example creates an
d803 1
a803 1
<p style="margin-left:14%; margin-top: 1em">a =
d813 1
a813 1
<p style="margin-left:6%;">More detailed error codes and
d820 3
a822 3
<p style="margin-left:6%;">tar(1),
archive_read_set_options(3), archive_write(3),
libarchive(3)</p>
d826 1
a826 1
<p style="margin-left:6%;">The <b>libarchive</b> library
d831 1
a831 1
<p style="margin-left:6%;">The options support for
d835 2
a836 4
<p style="margin-top: 1em"><b>BUGS</b></p>

<p style="margin-left:6%;">BSD January&nbsp;31, 2020
BSD</p>
@


1.10
log
@libarchive: updated to 3.7.4

Libarchive 3.7.4 is a bugfix and security release

Security fixes:

rar: Fix OOB in rar e8 filter (CVE-2024-26256)
zip: Fix out of boundary access

Important bugfixes:

7zip: Limit amount of properties
bsdtar: Fix error handling around strtol() usages
passphrase: Improve newline handling on Windows
passphrase: Never allow empty passwords
rar: Fix "File CRC Error" when extracting specific rar4 archives
xar: Avoid infinite link loop
zip: Update AppleDouble support for directories
zstd: Implement core detection
@
text
@d2 1
a2 1
<!-- CreationDate: Fri Apr 26 09:23:47 2024 -->
@


1.9
log
@libarchive: updated to 3.7.3

Libarchive 3.7.3 is a feature, security and bugfix release.

New features:

PCRE2 support
add trailing letter b to bsdtar(1) substitute pattern
add support for long options "--group" and "--owner" to tar(1)

Security fixes:

Fix possible vulnerability in tar error reporting introduced in f27c173

Important bugfixes:

ISO9660: preserve the natural order of links
rar5: fix decoding unicode filenames on Windows
rar5: fix infinite loop if during rar5 decompression the last block produced no data
xz filter: fix incorrect eof at the end of an lzip member
zip: fix end-of-data marker processing when decompressing zip archives
multiple bsdunzip(1) fixes
filetime truncation fix on Windows
@
text
@d2 1
a2 1
<!-- CreationDate: Sun Apr  7 22:36:27 2024 -->
@


1.8
log
@libarchive: updated to 3.7.2

Libarchive 3.7.2 is a security, bugfix and feature release.

Security fixes:

Multiple vulnerabilities have been fixed in the PAX writer (1b4e0d0)
Important bugfixes:

bsdunzip(1) now correctly handles arguments following an -x after the zipfile
New features:

bsdunzip(1) now supports the "--version" flag
7-zip reader now translates Windows permissions into UNIX permissions
uudecode filter in raw mode now supports file name and file mode
zstd filter now supports the "long" write option


Libarchive 3.7.1 is a security, feature and bugfix release.

Security fixes:

SEGV and stack buffer overflow in verbose mode of cpio
Feature updates:

bsdunzip updated to match latest upstream code
Important bugfixes:

miscellaneous functional bugfixes
build fixes on multiple platforms


Libarchive 3.7.0 is a feature and bugfix release.

New features:

bsdunzip: new tool ported from FreeBSD
drop-in replacement for Info-ZIP unzip, not yet ported for Windows
7zip reader: support for Zstandard compression
7zip reader: support for ARM64 filter
zstd filter: support for multi-frame zstd archives
Other notable bugfixes and improvements:

pax: fix year 2038 problem on platforms with 64-bit time_t
Windows: Universal Windows Platform (UWP) fixes and improvements
Windows: bcrypt usage fixes and improvements
Windows: time function usage fixes and improvements
@
text
@d2 1
a2 1
<!-- CreationDate: Mon Sep 11 22:06:21 2023 -->
d288 8
a295 6
&ldquo;store&rdquo;, &ldquo;deflate&rdquo;,
&ldquo;bzip2&rdquo;, &ldquo;lzma1&rdquo;,
&ldquo;lzma2&rdquo; or &ldquo;ppmd&rdquo; to indicate how
the following entries should be compressed. Note that this
setting is ignored for directories, symbolic links, and
other special entries.</p>
d301 4
a304 3
between 0 and 9 are supported. The interpretation of the
compression level depends on the chosen compression
method.</p>
@


1.7
log
@libarchive: Update to 3.4.3

Libarchive 3.4.3 is a feature and bugfix release.

New features:

    support for pzstd compressed files (#1357)
    support for RHT.security.selinux tar extended attribute (#1348)

Important bugfixes:

    various zstd fixes and improvements (#1342 #1352 #1359)
    child process handling fixes (#1372)

Libarchive 3.4.2 is a feature and security release.

New features:

    support for atomic file extraction (bsdtar -x --safe-writes) (#1289)
    support for mbed TLS (PolarSSL) (#1301)

Important bugfixes:

    security fixes in RAR5 reader (#1280 #1326)
    compression buffer fix in XAR writer (#1317)
    fix uname and gname longer than 32 characters in PAX writer (#1319)
    fix segfault when archiving hard links in ISO9660 and XAR writers (#1325)
    fix support for extracting 7z archive entries with Delta filter (#987)

Libarchive 3.4.1 is a feature and security release.

New features:

    Unicode filename support for reading lha/lzh archives
    New pax write option "xattrhdr"

Important bugfixes:

    security fixes in wide string processing (#1276 #1298)
    security fixes in RAR5 reader (#1212 #1217 #1296)
    security fixes and optimizations to write filter logic (#351)
    security fix related to use of readlink(2) (1dae5a5)
    sparse file handling fixes (#1218 #1260)

Thanks to all contributors and bug reporters.
Special thanks to Christos Zoulas (@@zoulasc) from NetBSD for the atomic file extraction feature.
@
text
@d1 2
a2 2
<!-- Creator     : groff version 1.22.3 -->
<!-- CreationDate: Wed May 20 01:10:08 2020 -->
d141 1
a141 1
&rsquo;&rsquo;1&rsquo;&rsquo;.</p>
d190 3
a192 5
method. Supported values are
&rsquo;&rsquo;bzip2&rsquo;&rsquo;,
&rsquo;&rsquo;gzipi&rsquo;&rsquo;,
&rsquo;&rsquo;lzo&rsquo;&rsquo; (ultra fast), and
&rsquo;&rsquo;zpaq&rsquo;&rsquo; (best, extremely slow).</p>
d269 15
d288 4
a291 7
&rsquo;&rsquo;store&rsquo;&rsquo;,
&rsquo;&rsquo;deflate&rsquo;&rsquo;,
&rsquo;&rsquo;bzip2&rsquo;&rsquo;,
&rsquo;&rsquo;lzma1&rsquo;&rsquo;,
&rsquo;&rsquo;lzma2&rsquo;&rsquo; or
&rsquo;&rsquo;ppmd&rsquo;&rsquo; to indicate how the
following entries should be compressed. Note that this
d303 1
a303 1
<p>Format cpio <b><br>
d612 2
a613 2
&rsquo;&rsquo;device, flags, gid, gname, link, mode, nlink,
size, time, type, uid, uname&rsquo;&rsquo;.</p>
d638 14
d658 3
a660 5
&rsquo;&rsquo;BINARY&rsquo;&rsquo; or
&rsquo;&rsquo;UTF-8&rsquo;&rsquo;. With
&rsquo;&rsquo;BINARY&rsquo;&rsquo; there is no character
conversion, with &rsquo;&rsquo;UTF-8&rsquo;&rsquo; names are
converted to UTF-8.</p>
d666 4
a669 7
written. The value is one of
&rsquo;&rsquo;all&rsquo;&rsquo;,
&rsquo;&rsquo;LIBARCHIVE&rsquo;&rsquo;, or
&rsquo;&rsquo;SCHILY&rsquo;&rsquo;. By default, both
&rsquo;&rsquo;LIBARCHIVE.xattr&rsquo;&rsquo; and
&rsquo;&rsquo;SCHILY.xattr&rsquo;&rsquo; headers are
written.</p>
d688 2
a689 3
<p style="margin-left:27%;">Set to
&rsquo;&rsquo;true&rsquo;&rsquo; to disable output of the
warcinfo record.</p>
d695 2
a696 4
checksum method. Supported values are
&rsquo;&rsquo;none&rsquo;&rsquo;,
&rsquo;&rsquo;md5&rsquo;&rsquo;, and
&rsquo;&rsquo;sha1&rsquo;&rsquo; (default).</p>
d701 3
a703 6
method. Supported values are
&rsquo;&rsquo;none&rsquo;&rsquo;,
&rsquo;&rsquo;bzip2&rsquo;&rsquo;,
&rsquo;&rsquo;gzip&rsquo;&rsquo; (default),
&rsquo;&rsquo;lzma&rsquo;&rsquo; and
&rsquo;&rsquo;xz&rsquo;&rsquo;.</p>
d714 2
a715 3
&rsquo;&rsquo;none&rsquo;&rsquo;,
&rsquo;&rsquo;md5&rsquo;&rsquo; and
&rsquo;&rsquo;sha1&rsquo;&rsquo; (default).</p>
d721 2
a722 3
&rsquo;&rsquo;store&rsquo;&rsquo; or
&rsquo;&rsquo;deflate&rsquo;&rsquo; to indicate how the
following entries should be compressed. Note that this
d731 3
a733 4
switches the compression method to
&rsquo;&rsquo;store&rsquo;&rsquo;, other values will enable
&rsquo;&rsquo;deflate&rsquo;&rsquo; compression with the
given level.</p>
d743 4
a746 5
type. Supported values are
&rsquo;&rsquo;zipcrypt&rsquo;&rsquo; (traditional zip
encryption), &rsquo;&rsquo;aes128&rsquo;&rsquo; (WinZip
AES-128 encryption) and &rsquo;&rsquo;aes256&rsquo;&rsquo;
(WinZip AES-256 encryption).</p>
@


1.6
log
@Update for libarchive-3.4.0:
- improvements for Android APK and JAR archives
- better support for non-recursive list and extract
- tar --exclude-vcs support
- fixes for file attributes and flags handling
- zipx support
- rar 5.0 reader
@
text
@d1 2
a2 2
<!-- Creator     : groff version 1.22.4 -->
<!-- CreationDate: Wed Jun 12 21:10:18 2019 -->
d83 1
a83 1
be passed to currently-registered filters (including
d117 2
a118 2
returned immediately. Otherwise, greater of the two values
will be returned.</p>
d141 1
a141 1
&ldquo;1&rdquo;.</p>
d156 76
a231 1
Filter gzip <b><br>
d235 13
a247 1
decimal integer specifying the gzip compression level.</p>
d253 2
a254 1
decimal integer specifying the compression level.</p>
d256 1
a256 6
<p>Format mtree <b><br>
cksum</b>, <b>device</b>, <b>flags</b>, <b>gid</b>,
<b>gname</b>, <b>indent</b>, <b>link</b>, <b>md5</b>,
<b>mode</b>, <b>nlink</b>, <b>rmd160</b>, <b>sha1</b>,
<b>sha256</b>, <b>sha384</b>, <b>sha512</b>, <b>size</b>,
<b>time</b>, <b>uid</b>, <b>uname</b></p>
d258 4
a261 5
<p style="margin-left:27%;">Enable a particular keyword in
the mtree output. Prefix with an exclamation mark to disable
the corresponding keyword. The default is equivalent to
&ldquo;device, flags, gid, gname, link, mode, nlink, size,
time, type, uid, uname&rdquo;.</p>
d263 2
a264 1
<p><b>all</b></p>
d266 4
a269 2
<p style="margin-left:27%; margin-top: 1em">Enables all of
the above keywords.</p>
d271 2
a272 1
<p><b>use-set</b></p>
d274 10
a283 3
<p style="margin-left:27%;">Enables generation of
<b>/set</b> lines that specify default values for the
following files and/or directories.</p>
d285 1
a285 1
<p><b>indent</b></p>
d287 19
a305 2
<p style="margin-left:27%; margin-top: 1em">XXX needs
explanation XXX</p>
d401 1
a401 1
<b>no-emulation.</b></p>
d438 1
a438 1
ISO9660 specification. If disabled,trailing periods will be
d592 113
d709 3
a711 2
&ldquo;store&rdquo; or &ldquo;deflate&rdquo; to indicate how
the following entries should be compressed. Note that this
d715 24
d753 3
a755 2
<p style="margin-left:27%;">This sets the character set
used for filenames.</p>
d809 3
a811 2
<p style="margin-left:6%;">tar(1), libarchive(3),
archive_read_set_options(3), archive_write(3)</p>
d826 1
a826 1
<p style="margin-left:6%;">BSD February&nbsp;2, 2012
@


1.5
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 2
a2 2
<!-- Creator     : groff version 1.22.3 -->
<!-- CreationDate: Mon Sep  3 22:55:09 2018 -->
d141 1
a141 1
&rsquo;&rsquo;1&rsquo;&rsquo;.</p>
d178 2
a179 2
&rsquo;&rsquo;device, flags, gid, gname, link, mode, nlink,
size, time, type, uid, uname&rsquo;&rsquo;.</p>
d486 2
a487 3
&rsquo;&rsquo;store&rsquo;&rsquo; or
&rsquo;&rsquo;deflate&rsquo;&rsquo; to indicate how the
following entries should be compressed. Note that this
@


1.4
log
@Merge for libarchive-3.3.2.
@
text
@d2 1
a2 1
<!-- CreationDate: Mon Jul 10 02:32:57 2017 -->
@


1.3
log
@Merge libarchive-3.3.1.
@
text
@d2 1
a2 1
<!-- CreationDate: Sat Feb 25 11:22:06 2017 -->
d141 1
a141 1
&lsquo;&lsquo;1&rsquo;&rsquo;.</p>
d178 1
a178 1
&lsquo;&lsquo;device, flags, gid, gname, link, mode, nlink,
d486 2
a487 2
&lsquo;&lsquo;store&rsquo;&rsquo; or
&lsquo;&lsquo;deflate&rsquo;&rsquo; to indicate how the
@


1.2
log
@Update for libarchive 3.2.1.
@
text
@d2 1
a2 1
<!-- CreationDate: Sun Jun 19 19:54:08 2016 -->
d141 1
a141 1
&rsquo;&rsquo;1&rsquo;&rsquo;.</p>
d178 1
a178 1
&rsquo;&rsquo;device, flags, gid, gname, link, mode, nlink,
d486 2
a487 2
&rsquo;&rsquo;store&rsquo;&rsquo; or
&rsquo;&rsquo;deflate&rsquo;&rsquo; to indicate how the
@


1.1
log
@Changes 3.1.2:
This is a maintenance update to fix issues with the new RAR seeking
feature. This new release also contains fixes for build failures when
building libarchive using Visual Studio 2012 and MinGW.
@
text
@d1 2
a2 2
<!-- Creator     : groff version 1.21 -->
<!-- CreationDate: Sat Feb  9 12:24:07 2013 -->
d33 1
a33 1
controlling options for reading archives</p>
d96 5
a100 3
<i>module</i>. The return value will be that of the module.
If there is no such module, <b>ARCHIVE_FAILED</b> will be
returned.</p>
d285 1
a285 1
floppy image. If the <i>value</i> is <b>hd</b>, then the the
d482 53
d554 4
a557 3
<p style="margin-left:6%;">Detailed error codes and textual
descriptions are available from the <b>archive_errno</b>()
and <b>archive_error_string</b>() functions.</p>
@


1.1.1.1
log
@Import libarchive-3.2.1:
- security fixes and other bugfixes
- support for multhreading in xz 5.2+
@
text
@d1 2
a2 2
<!-- Creator     : groff version 1.22.3 -->
<!-- CreationDate: Sun Jun 19 19:54:08 2016 -->
d33 1
a33 1
controlling options for writing archives</p>
d96 3
a98 5
<i>module</i>. The return value will be either
<b>ARCHIVE_OK</b> if the option was successfully handled or
<b>ARCHIVE_WARN</b> if the option was unrecognized by the
module or could otherwise not be handled. If there is no
such module, <b>ARCHIVE_FAILED</b> will be returned.</p>
d283 1
a283 1
floppy image. If the <i>value</i> is <b>hd</b>, then the
a479 53
<p>Format zip <b><br>
compression</b></p>

<p style="margin-left:27%;">The value is either
&rsquo;&rsquo;store&rsquo;&rsquo; or
&rsquo;&rsquo;deflate&rsquo;&rsquo; to indicate how the
following entries should be compressed. Note that this
setting is ignored for directories, symbolic links, and
other special entries.</p>

<p><b>experimental</b></p>

<p style="margin-left:27%;">This boolean option enables or
disables experimental Zip features that may not be
compatible with other Zip implementations.</p>

<p><b>fakecrc32</b></p>

<p style="margin-left:27%;">This boolean option disables
CRC calculations. All CRC fields are set to zero. It should
not be used except for testing purposes.</p>

<p><b>hdrcharset</b></p>

<p style="margin-left:27%;">This sets the character set
used for filenames.</p>

<p><b>zip64</b></p>

<p style="margin-left:27%; margin-top: 1em">Zip64
extensions provide additional file size information for
entries larger than 4 GiB. They also provide extended file
offset and archive size information when archives exceed 4
GiB. By default, the Zip writer selectively enables these
extensions only as needed. In particular, if the file size
is unknown, the Zip writer will include Zip64 extensions to
guard against the possibility that the file might be larger
than 4 GiB.</p>

<p style="margin-left:27%; margin-top: 1em">Setting this
boolean option will force the writer to use Zip64 extensions
even for small files that would not otherwise require them.
This is primarily useful for testing.</p>

<p style="margin-left:27%; margin-top: 1em">Disabling this
option with <b>!zip64</b> will force the Zip writer to avoid
Zip64 extensions: It will reject files with size greater
than 4 GiB, it will reject any new entries once the total
archive size reaches 4 GiB, and it will not use Zip64
extensions for files with unknown size. In particular, this
can improve compatibility when generating archives where the
entry sizes are not known in advance.</p>

d499 3
a501 4
<p style="margin-left:6%;">More detailed error codes and
textual descriptions are available from the
<b>archive_errno</b>() and <b>archive_error_string</b>()
functions.</p>
@


1.1.1.2
log
@Import libarchive-3.3.1.
@
text
@d2 1
a2 1
<!-- CreationDate: Sat Feb 25 11:22:06 2017 -->
d141 1
a141 1
&lsquo;&lsquo;1&rsquo;&rsquo;.</p>
d178 1
a178 1
&lsquo;&lsquo;device, flags, gid, gname, link, mode, nlink,
d486 2
a487 2
&lsquo;&lsquo;store&rsquo;&rsquo; or
&lsquo;&lsquo;deflate&rsquo;&rsquo; to indicate how the
@


1.1.1.3
log
@Import libarchive-3.3.2 + 9de5f3 + f9dacbf:
- Support NFS4 ACLs on Linux
- Bugfixes
@
text
@d2 1
a2 1
<!-- CreationDate: Mon Jul 10 02:32:57 2017 -->
d141 1
a141 1
&rsquo;&rsquo;1&rsquo;&rsquo;.</p>
d178 1
a178 1
&rsquo;&rsquo;device, flags, gid, gname, link, mode, nlink,
d486 2
a487 2
&rsquo;&rsquo;store&rsquo;&rsquo; or
&rsquo;&rsquo;deflate&rsquo;&rsquo; to indicate how the
@


1.1.1.4
log
@Import libarchive-3.3.3 as should have done originally.
@
text
@d2 1
a2 1
<!-- CreationDate: Mon Sep  3 22:55:09 2018 -->
@


1.1.1.5
log
@Import libarchive 3.4.0
@
text
@d1 2
a2 2
<!-- Creator     : groff version 1.22.4 -->
<!-- CreationDate: Wed Jun 12 21:10:18 2019 -->
d141 1
a141 1
&ldquo;1&rdquo;.</p>
d178 2
a179 2
&ldquo;device, flags, gid, gname, link, mode, nlink, size,
time, type, uid, uname&rdquo;.</p>
d486 3
a488 2
&ldquo;store&rdquo; or &ldquo;deflate&rdquo; to indicate how
the following entries should be compressed. Note that this
@


1.1.1.6
log
@Import libarchive 3.7.2
@
text
@d2 1
a2 1
<!-- CreationDate: Mon Sep 11 22:06:21 2023 -->
d83 1
a83 1
be passed to the currently-registered filters (including
d117 2
a118 2
returned immediately. Otherwise, the greater of the two
values will be returned.</p>
d156 1
a156 45
Filter b64encode <b><br>
mode</b></p>

<p style="margin-left:27%; margin-top: 1em">The value is
interpreted as octal digits specifying the file mode.</p>

<p><b>name</b></p>

<p style="margin-left:27%; margin-top: 1em">The value
specifies the file name.</p>

<p>Filter bzip2 <b><br>
compression-level</b></p>

<p style="margin-left:27%;">The value is interpreted as a
decimal integer specifying the bzip2 compression level.
Supported values are from 1 to 9.</p>

<p>Filter gzip <b><br>
compression-level</b></p>

<p style="margin-left:27%;">The value is interpreted as a
decimal integer specifying the gzip compression level.
Supported values are from 0 to 9.</p>

<p><b>timestamp</b></p>

<p style="margin-left:27%;">Store timestamp. This is
enabled by default.</p>

<p>Filter lrzip <b><br>
compression</b>=<i>type</i></p>

<p style="margin-left:27%;">Use <i>type</i> as compression
method. Supported values are &ldquo;bzip2&rdquo;,
&ldquo;gzipi&rdquo;, &ldquo;lzo&rdquo; (ultra fast), and
&ldquo;zpaq&rdquo; (best, extremely slow).</p>

<p><b>compression-level</b></p>

<p style="margin-left:27%;">The value is interpreted as a
decimal integer specifying the lrzip compression level.
Supported values are from 1 to 9.</p>

<p>Filter lz4 <b><br>
d160 1
a160 42
decimal integer specifying the lz4 compression level.
Supported values are from 0 to 9.</p>

<p><b>stream-checksum</b></p>

<p style="margin-left:27%;">Enable stream checksum. This is
enabled by default.</p>

<p><b>block-checksum</b></p>

<p style="margin-left:27%;">Enable block checksum. This is
disabled by default.</p>

<p><b>block-size</b></p>

<p style="margin-left:27%;">The value is interpreted as a
decimal integer specifying the lz4 compression block size.
Supported values are from 4 to 7 (default).</p>

<p><b>block-dependence</b></p>

<p style="margin-left:27%;">Use the previous block of the
block being compressed for a compression dictionary to
improve compression ratio. This is disabled by default.</p>

<p>Filter lzop <b><br>
compression-level</b></p>

<p style="margin-left:27%;">The value is interpreted as a
decimal integer specifying the lzop compression level.
Supported values are from 1 to 9.</p>

<p>Filter uuencode <b><br>
mode</b></p>

<p style="margin-left:27%; margin-top: 1em">The value is
interpreted as octal digits specifying the file mode.</p>

<p><b>name</b></p>

<p style="margin-left:27%; margin-top: 1em">The value
specifies the file name.</p>
d166 1
a166 2
decimal integer specifying the compression level. Supported
values are from 0 to 9.</p>
d168 6
a173 1
<p><b>threads</b></p>
d175 5
a179 4
<p style="margin-left:27%;">The value is interpreted as a
decimal integer specifying the number of threads for
multi-threaded lzma compression. If supported, the default
value is read from <b>lzma_cputhreads</b>().</p>
d181 1
a181 2
<p>Filter zstd <b><br>
compression-level</b></p>
d183 2
a184 11
<p style="margin-left:27%;">The value is interpreted as a
decimal integer specifying the compression level. Supported
values depend on the library version, common values are from
1 to 22.</p>

<p><b>long</b></p>

<p style="margin-left:27%; margin-top: 1em">Enables long
distance matching. The value is interpreted as a decimal
integer specifying log2 window size in bytes. Values from 10
to 30 for 32 bit, or 31 for 64 bit, are supported.</p>
d186 1
a186 1
<p><b>threads</b></p>
d188 3
a190 5
<p style="margin-left:27%;">The value is interpreted as a
decimal integer specifying the number of threads for
multi-threaded zstd compression. If set to 0, zstd will
attempt to detect and use the number of physical CPU
cores.</p>
d192 1
a192 2
<p>Format 7zip <b><br>
compression</b></p>
d194 2
a195 29
<p style="margin-left:27%;">The value is one of
&ldquo;store&rdquo;, &ldquo;deflate&rdquo;,
&ldquo;bzip2&rdquo;, &ldquo;lzma1&rdquo;,
&ldquo;lzma2&rdquo; or &ldquo;ppmd&rdquo; to indicate how
the following entries should be compressed. Note that this
setting is ignored for directories, symbolic links, and
other special entries.</p>

<p><b>compression-level</b></p>

<p style="margin-left:27%;">The value is interpreted as a
decimal integer specifying the compression level. Values
between 0 and 9 are supported. The interpretation of the
compression level depends on the chosen compression
method.</p>

<p>Format bin <b><br>
hdrcharset</b></p>

<p style="margin-left:27%;">The value is used as a
character set name that will be used when translating file
names.</p>

<p>Format gnutar <b><br>
hdrcharset</b></p>

<p style="margin-left:27%;">The value is used as a
character set name that will be used when translating file,
group and user names.</p>
d291 1
a291 1
<b>no-emulation</b>.</p>
d328 1
a328 1
ISO9660 specification. If disabled, trailing periods will be
a481 115
<p>Format mtree <b><br>
cksum</b>, <b>device</b>, <b>flags</b>, <b>gid</b>,
<b>gname</b>, <b>indent</b>, <b>link</b>, <b>md5</b>,
<b>mode</b>, <b>nlink</b>, <b>rmd160</b>, <b>sha1</b>,
<b>sha256</b>, <b>sha384</b>, <b>sha512</b>, <b>size</b>,
<b>time</b>, <b>uid</b>, <b>uname</b></p>

<p style="margin-left:27%;">Enable a particular keyword in
the mtree output. Prefix with an exclamation mark to disable
the corresponding keyword. The default is equivalent to
&ldquo;device, flags, gid, gname, link, mode, nlink, size,
time, type, uid, uname&rdquo;.</p>

<p><b>all</b></p>

<p style="margin-left:27%; margin-top: 1em">Enables all of
the above keywords.</p>

<p><b>use-set</b></p>

<p style="margin-left:27%;">Enables generation of
<b>/set</b> lines that specify default values for the
following files and/or directories.</p>

<p><b>indent</b></p>

<p style="margin-left:27%; margin-top: 1em">XXX needs
explanation XXX</p>

<p>Format newc <b><br>
hdrcharset</b></p>

<p style="margin-left:27%;">The value is used as a
character set name that will be used when translating file
names.</p>

<p>Format odc <b><br>
hdrcharset</b></p>

<p style="margin-left:27%;">The value is used as a
character set name that will be used when translating file
names.</p>

<p>Format pwb <b><br>
hdrcharset</b></p>

<p style="margin-left:27%;">The value is used as a
character set name that will be used when translating file
names.</p>

<p>Format pax <b><br>
hdrcharset</b></p>

<p style="margin-left:27%;">The value is used as a
character set name that will be used when translating file,
group and user names. The value is one of
&ldquo;BINARY&rdquo; or &ldquo;UTF-8&rdquo;. With
&ldquo;BINARY&rdquo; there is no character conversion, with
&ldquo;UTF-8&rdquo; names are converted to UTF-8.</p>

<p><b>xattrheader</b></p>

<p style="margin-left:27%;">When storing extended
attributes, this option configures which headers should be
written. The value is one of &ldquo;all&rdquo;,
&ldquo;LIBARCHIVE&rdquo;, or &ldquo;SCHILY&rdquo;. By
default, both &ldquo;LIBARCHIVE.xattr&rdquo; and
&ldquo;SCHILY.xattr&rdquo; headers are written.</p>

<p>Format ustar <b><br>
hdrcharset</b></p>

<p style="margin-left:27%;">The value is used as a
character set name that will be used when translating file,
group and user names.</p>

<p>Format v7tar <b><br>
hdrcharset</b></p>

<p style="margin-left:27%;">The value is used as a
character set name that will be used when translating file,
group and user names.</p>

<p>Format warc <b><br>
omit-warcinfo</b></p>

<p style="margin-left:27%;">Set to &ldquo;true&rdquo; to
disable output of the warcinfo record.</p>

<p>Format xar <b><br>
checksum</b>=<i>type</i></p>

<p style="margin-left:27%;">Use <i>type</i> as file
checksum method. Supported values are &ldquo;none&rdquo;,
&ldquo;md5&rdquo;, and &ldquo;sha1&rdquo; (default).</p>

<p><b>compression</b>=<i>type</i></p>

<p style="margin-left:27%;">Use <i>type</i> as compression
method. Supported values are &ldquo;none&rdquo;,
&ldquo;bzip2&rdquo;, &ldquo;gzip&rdquo; (default),
&ldquo;lzma&rdquo; and &ldquo;xz&rdquo;.</p>

<p><b>compression_level</b></p>

<p style="margin-left:27%;">The value is a decimal integer
from 1 to 9 specifying the compression level.</p>

<p><b>toc-checksum</b>=<i>type</i></p>

<p style="margin-left:27%;">Use <i>type</i> as table of
contents checksum method. Supported values are
&ldquo;none&rdquo;, &ldquo;md5&rdquo; and &ldquo;sha1&rdquo;
(default).</p>

a490 22
<p><b>compression-level</b></p>

<p style="margin-left:27%;">The value is interpreted as a
decimal integer specifying the compression level. Values
between 0 and 9 are supported. A compression level of 0
switches the compression method to &ldquo;store&rdquo;,
other values will enable &ldquo;deflate&rdquo; compression
with the given level.</p>

<p><b>encryption</b></p>

<p style="margin-left:27%;">Enable encryption using
traditional zip encryption.</p>

<p><b>encryption</b>=<i>type</i></p>

<p style="margin-left:27%;">Use <i>type</i> as encryption
type. Supported values are &ldquo;zipcrypt&rdquo;
(traditional zip encryption), &ldquo;aes128&rdquo; (WinZip
AES-128 encryption) and &ldquo;aes256&rdquo; (WinZip AES-256
encryption).</p>

d505 2
a506 3
<p style="margin-left:27%;">The value is used as a
character set name that will be used when translating file
names.</p>
d560 2
a561 3
<p style="margin-left:6%;">tar(1),
archive_read_set_options(3), archive_write(3),
libarchive(3)</p>
d576 1
a576 1
<p style="margin-left:6%;">BSD January&nbsp;31, 2020
@


1.1.1.7
log
@libarchive: import version 3.7.3
@
text
@d2 1
a2 1
<!-- CreationDate: Sun Apr  7 22:36:27 2024 -->
d288 6
a293 8
&ldquo;store&rdquo;, &ldquo;copy&rdquo;,
&ldquo;deflate&rdquo;, &ldquo;bzip2&rdquo;,
&ldquo;lzma1&rdquo;, &ldquo;lzma2&rdquo; or
&ldquo;ppmd&rdquo; to indicate how the following entries
should be compressed. The values &ldquo;store&rdquo; and
&ldquo;copy&rdquo; are synonyms. Note that this setting is
ignored for directories, symbolic links, and other special
entries.</p>
d299 3
a301 4
between 0 and 9 are supported, with the exception of bzip2
which only supports values between 1 and 9. The
interpretation of the compression level depends on the
chosen compression method.</p>
@


1.1.1.8
log
@Libarchive 3.7.4 is a bugfix and security release

Security fixes:

rar: Fix OOB in rar e8 filter (CVE-2024-26256)
zip: Fix out of boundary access

Important bugfixes:

7zip: Limit amount of properties
bsdtar: Fix error handling around strtol() usages
passphrase: Improve newline handling on Windows
passphrase: Never allow empty passwords
rar: Fix "File CRC Error" when extracting specific rar4 archives
xar: Avoid infinite link loop
zip: Update AppleDouble support for directories
zstd: Implement core detection
@
text
@d2 1
a2 1
<!-- CreationDate: Fri Apr 26 09:23:47 2024 -->
@


1.1.1.9
log
@libarchive: imported version 3.7.5

Libarchive 3.7.5

Security fixes:

fix multiple vulnerabilities identified by SAST
cpio: ignore out-of-range gid/uid/size/ino and harden AFIO parsing
lzop: prevent integer overflow
rar4: protect copy_from_lzss_window_to_unp()
rar4: fix CVE-2024-26256
rar4: fix OOB in delta and audio filter
rar4: fix out of boundary access with large files
rar4: add boundary checks to rgb filter
rar4: fix OOB access with unicode filenames
rar5: clear 'data ready' cache on window buffer reallocs
rpm: calculate huge header sizes correctly
unzip: unify EOF handling
util: fix out of boundary access in mktemp functions
uu: stop processing if lines are too long

Important bugfixes:

7zip: fix issue when skipping first file in 7zip archive that is a multiple of 65536 bytes
ar: fix archive entries having no type
lha: do not allow negative file sizes
lha: fix integer truncation on 32-bit systems
shar: check strdup return value
rar5: don't try to read rediculously long names
xar: fix another infinite loop and expat error handling
many Windows fixes, cleanups and improvements
@
text
@d2 1
a2 1
<!-- CreationDate: Fri Sep 13 20:31:06 2024 -->
@


1.1.1.10
log
@libarchove: import version 3.7.7
@
text
@d1 2
a2 2
<!-- Creator     : groff version 1.23.0 -->
<!-- CreationDate: Sun Oct 13 08:12:10 2024 -->
d23 2
a24 2
<p><i>ARCHIVE_WRITE_OPTIONS</i>(3) Library Functions Manual
<i>ARCHIVE_WRITE_OPTIONS</i>(3)</p>
d29 5
a33 4
<p style="margin-left:9%;">archive_write_set_filter_option,
archive_write_set_format_option, archive_write_set_option,
archive_write_set_options &mdash; functions controlling
options for writing archives</p>
d37 1
a37 1
<p style="margin-left:9%;">Streaming Archive Library
d42 1
a42 1
<p style="margin-left:9%;"><i>int</i></p>
d50 1
a50 1
<p style="margin-left:9%; margin-top: 1em"><i>int</i></p>
d58 1
a58 1
<p style="margin-left:9%; margin-top: 1em"><i>int</i></p>
d66 1
a66 1
<p style="margin-left:9%; margin-top: 1em"><i>int</i></p>
d74 1
a74 1
<p style="margin-left:9%;">These functions provide a way
d82 1
a82 1
<p style="margin-left:19%;">Specifies an option that will
d86 1
a86 1
<p style="margin-left:19%; margin-top: 1em">If
d93 1
a93 1
<p style="margin-left:19%; margin-top: 1em">If
d102 1
a102 1
<p style="margin-left:19%; margin-top: 1em">If
d113 1
a113 1
<p style="margin-left:19%;">Calls
d123 1
a123 1
<p style="margin-left:19%;"><i>options</i> is a
d128 1
a128 1
<p style="margin-left:19%; margin-top: 1em">Individual
d133 1
a133 1
<p style="margin-left:29%;">The option/value pair will be
d139 1
a139 1
<p style="margin-left:29%; margin-top: 1em">The option will
d145 1
a145 1
<p style="margin-left:29%;">The option will be provided to
d151 1
a151 1
<p style="margin-left:29%;">As above, but the corresponding
d159 1
a159 1
<p style="margin-left:29%; margin-top: 1em">The value is
d164 1
a164 1
<p style="margin-left:29%; margin-top: 1em">The value
d170 1
a170 1
<p style="margin-left:29%;">The value is interpreted as a
d177 1
a177 1
<p style="margin-left:29%;">The value is interpreted as a
d183 1
a183 1
<p style="margin-left:29%;">Store timestamp. This is
d189 1
a189 1
<p style="margin-left:29%;">Use <i>type</i> as compression
d196 1
a196 1
<p style="margin-left:29%;">The value is interpreted as a
d203 1
a203 1
<p style="margin-left:29%;">The value is interpreted as a
d209 1
a209 1
<p style="margin-left:29%;">Enable stream checksum. This is
d214 1
a214 1
<p style="margin-left:29%;">Enable block checksum. This is
d219 1
a219 1
<p style="margin-left:29%;">The value is interpreted as a
d225 1
a225 1
<p style="margin-left:29%;">Use the previous block of the
d232 1
a232 1
<p style="margin-left:29%;">The value is interpreted as a
d239 1
a239 1
<p style="margin-left:29%; margin-top: 1em">The value is
d244 1
a244 1
<p style="margin-left:29%; margin-top: 1em">The value
d250 1
a250 1
<p style="margin-left:29%;">The value is interpreted as a
d256 1
a256 1
<p style="margin-left:29%;">The value is interpreted as a
d264 1
a264 1
<p style="margin-left:29%;">The value is interpreted as a
d271 1
a271 1
<p style="margin-left:29%; margin-top: 1em">Enables long
d278 1
a278 1
<p style="margin-left:29%;">The value is interpreted as a
d287 1
a287 1
<p style="margin-left:29%;">The value is one of
d299 1
a299 1
<p style="margin-left:29%;">The value is interpreted as a
d309 1
a309 1
<p style="margin-left:29%;">The value is used as a
d316 1
a316 1
<p style="margin-left:29%;">The value is used as a
d322 1
a322 1
<p style="margin-left:19%;">These options are used to set
d327 1
a327 1
<p style="margin-left:29%;">The file with the specified
d333 1
a333 1
<p style="margin-left:29%;">The file with the specified
d340 1
a340 1
<p style="margin-left:29%;">The file with the specified
d346 1
a346 1
<p style="margin-left:29%;">The file with the specified
d352 1
a352 1
<p style="margin-left:29%;">The file with the specified
d359 1
a359 1
<p style="margin-left:29%;">The specified string will be
d365 1
a365 1
<p style="margin-left:19%;">These options are used to make
d371 1
a371 1
<p style="margin-left:29%;">The file matching this name
d376 1
a376 1
<p style="margin-left:29%;">The name that will be used for
d381 1
a381 1
<p style="margin-left:29%;">The boot image file provided by
d388 1
a388 1
<p style="margin-left:29%;">The load segment for a
d393 1
a393 1
<p style="margin-left:29%;">The number of
d405 1
a405 1
<p style="margin-left:29%;">Specifies the boot semantics
d418 1
a418 1
<p style="margin-left:19%;">Various extensions to the base
d423 1
a423 1
<p style="margin-left:29%;">If enabled, allows filenames to
d432 1
a432 1
<p style="margin-left:29%;">If enabled, allows filenames to
d440 1
a440 1
<p style="margin-left:29%;">If enabled, allows filenames to
d449 1
a449 1
<p style="margin-left:29%;">If enabled, allows filenames to
d458 1
a458 1
<p style="margin-left:29%;">If enabled, the Primary Volume
d466 1
a466 1
<p style="margin-left:29%;">If enabled, sharp and tilde
d474 1
a474 1
<p style="margin-left:29%;">If enabled, version numbers
d482 1
a482 1
<p style="margin-left:29%;">This enables support for file
d489 1
a489 1
<p style="margin-left:40%;">The most compliant form of
d497 1
a497 1
<p style="margin-left:40%;">Filenames are limited to 30
d504 1
a504 1
<p style="margin-left:40%;">As with <b>iso-level=2</b>,
d509 1
a509 1
<p style="margin-left:40%;">As with <b>iso-level=3</b>,
d516 1
a516 1
<p style="margin-left:29%; margin-top: 1em">Microsoft&rsquo;s
d524 1
a524 1
<p style="margin-left:29%;">If enabled, libarchive will use
d531 1
a531 1
<p style="margin-left:29%;">If enabled, libarchive will
d538 1
a538 1
<p style="margin-left:29%; margin-top: 1em">If enabled, 300
d544 1
a544 1
<p style="margin-left:29%;">If enabled, all 7-bit ASCII
d553 1
a553 1
<p style="margin-left:29%;">The Rockridge extensions store
d562 1
a562 1
<p style="margin-left:19%;">The zisofs extensions permit
d571 1
a571 1
<p style="margin-left:29%;">The compression level used by
d577 1
a577 1
<p style="margin-left:29%; margin-top: 1em">Synonym for
d582 1
a582 1
<p style="margin-left:29%;">Compress each file in the
d593 1
a593 1
<p style="margin-left:29%;">Recognizes files that have
d600 1
a600 1
<p style="margin-left:29%;">Specifies a filename that
d612 1
a612 1
<p style="margin-left:29%;">Enable a particular keyword in
d620 1
a620 1
<p style="margin-left:29%; margin-top: 1em">Enables all of
d625 1
a625 1
<p style="margin-left:29%;">Enables generation of
d631 1
a631 1
<p style="margin-left:29%; margin-top: 1em">XXX needs
d637 1
a637 1
<p style="margin-left:29%;">The value is used as a
d644 1
a644 1
<p style="margin-left:29%;">The value is used as a
d651 1
a651 1
<p style="margin-left:29%;">The value is used as a
d658 1
a658 1
<p style="margin-left:29%;">The value is used as a
d667 1
a667 1
<p style="margin-left:29%;">When storing extended
d677 1
a677 1
<p style="margin-left:29%;">The value is used as a
d684 1
a684 1
<p style="margin-left:29%;">The value is used as a
d691 1
a691 1
<p style="margin-left:29%;">Set to &ldquo;true&rdquo; to
d697 1
a697 1
<p style="margin-left:29%;">Use <i>type</i> as file
d703 1
a703 1
<p style="margin-left:29%;">Use <i>type</i> as compression
d710 1
a710 1
<p style="margin-left:29%;">The value is a decimal integer
d715 1
a715 1
<p style="margin-left:29%;">Use <i>type</i> as table of
d723 1
a723 1
<p style="margin-left:29%;">The value is either
d731 1
a731 1
<p style="margin-left:29%;">The value is interpreted as a
d740 1
a740 1
<p style="margin-left:29%;">Enable encryption using
d745 1
a745 1
<p style="margin-left:29%;">Use <i>type</i> as encryption
d753 1
a753 1
<p style="margin-left:29%;">This boolean option enables or
d759 1
a759 1
<p style="margin-left:29%;">This boolean option disables
d765 1
a765 1
<p style="margin-left:29%;">The value is used as a
d771 1
a771 1
<p style="margin-left:29%; margin-top: 1em">Zip64
d781 1
a781 1
<p style="margin-left:29%; margin-top: 1em">Setting this
d786 1
a786 1
<p style="margin-left:29%; margin-top: 1em">Disabling this
d797 1
a797 1
<p style="margin-left:9%;">The following example creates an
d804 1
a804 1
<p style="margin-left:17%; margin-top: 1em">a =
d814 1
a814 1
<p style="margin-left:9%;">More detailed error codes and
d821 3
a823 3
<p style="margin-left:9%;"><i>tar</i>(1),
<i>archive_read_set_options</i>(3), <i>archive_write</i>(3),
<i>libarchive</i>(3)</p>
d827 1
a827 1
<p style="margin-left:9%;">The <b>libarchive</b> library
d832 1
a832 1
<p style="margin-left:9%;">The options support for
d836 4
a839 2
<p style="margin-top: 1em"><b>BUGS</b> Debian January 31,
2020 <i>ARCHIVE_WRITE_OPTIONS</i>(3)</p>
@


1.1.1.11
log
@libarchive: imported version 3.7.9
@
text
@d2 1
a2 1
<!-- CreationDate: Sun Mar 30 20:07:38 2025 -->
@


1.1.1.12
log
@libarchive: import version 3.8.0

Libarchive 3.8.0 is a feature and bugfix release.

New features:
bsdtar: support --mtime and --clamp-mtime
lib: mbedtls 3.x compatibility
7-zip reader: improve self-extracting archive detection
xar: xmllite support for the XAR reader and writer
zip writer: added XZ, LZMA, ZSTD and BZIP2 support
zip writer: added LZMA + RISCV BCJ filter

Notable security fixes:
rar: do not skip past EOF while reading
rar: fix double free with over 4 billion nodes
rar: fix heap-buffer-overflow
warc: prevent signed integer overflow
tar: fix overflow in build_ustar_entry

Notable bugfixes:
bsdtar: don't hardlink negative inode files together
gz: allow setting the original filename for gzip compressed files
lib: improve lseek handling
lib: support @@-prefixed Unix epoch timestamps as date strings
rar: support large headers on 32 bit systems
tar reader: Improve LFS support on 32 bit systems
@
text
@d2 1
a2 1
<!-- CreationDate: Tue May 20 09:02:20 2025 -->
d280 1
a280 1
attempt to detect and use the number of active physical CPU
d289 6
a294 6
&ldquo;lzma1&rdquo;, &ldquo;lzma2&rdquo;,
&ldquo;ppmd&rdquo;, or &ldquo;zstd&rdquo; to indicate how
the following entries should be compressed. The values
&ldquo;store&rdquo; and &ldquo;copy&rdquo; are synonyms.
Note that this setting is ignored for directories, symbolic
links, and other special entries.</p>
d301 3
a303 13
which only supports values between 1 and 9, and zstd which
may support negative values depending on the library version
and commonly used values 1 through 22. The interpretation of
the compression level depends on the chosen compression
method.</p>

<p><b>threads</b></p>

<p style="margin-left:29%;">The value is interpreted as a
decimal integer specifying the number of threads for
multi-threaded compression (for compressors like zstd that
support it). If set to 0, an attempt will be made to
discover the number of CPU cores.</p>
d723 4
a726 5
&ldquo;store&rdquo;, &ldquo;deflate&rdquo;,
&ldquo;bzip2&rdquo;, &ldquo;lzma&rdquo;, &ldquo;xz&rdquo;,
or &ldquo;zstd&rdquo; to indicate how the following entries
should be compressed. Note that this setting is ignored for
directories, symbolic links, and other special entries.</p>
d734 2
a735 15
other values will enable &ldquo;deflate&rdquo;,
&ldquo;bzip2&rdquo;, &ldquo;lzma&rdquo;, or
&ldquo;zstd&rdquo; compression (in order of priority,
depending on what libraries are linked) with the given
level.</p>

<p><b>threads</b></p>

<p style="margin-left:29%;">The value is interpreted as a
decimal integer specifying the number of threads to use for
compression. It is supported only for &ldquo;xz&rdquo; or
&ldquo;zstd&rdquo; compression and ignored for any other. A
threads value of 0 is a special one requesting to detect and
use as many threads as the number of active physical CPU
cores.</p>
@


1.1.1.13
log
@libarchive: import version 3.8.1
@
text
@d2 1
a2 1
<!-- CreationDate: Sun Jun  1 19:29:40 2025 -->
@


1.1.1.14
log
@libarchive: imported version 3.8.2
@
text
@d2 1
a2 1
<!-- CreationDate: Wed Oct 15 21:49:46 2025 -->
@


1.1.1.15
log
@libarchive: import version 3.8.3
@
text
@d2 1
a2 1
<!-- CreationDate: Mon Nov 17 22:19:03 2025 -->
@


1.1.1.16
log
@libarchive: import 3.8.4
@
text
@d2 1
a2 1
<!-- CreationDate: Mon Dec  1 12:42:38 2025 -->
@


1.1.1.17
log
@libarchive: import version 3.8.5
@
text
@d2 1
a2 1
<!-- CreationDate: Mon Jan  5 10:42:45 2026 -->
@


1.1.1.18
log
@libarchive: imported version 3.8.6
@
text
@d2 1
a2 1
<!-- CreationDate: Tue Mar 10 09:57:29 2026 -->
@


1.1.1.19
log
@libarchive: imported version 3.8.7
@
text
@d2 1
a2 1
<!-- CreationDate: Mon Apr 13 12:57:34 2026 -->
@


1.1.1.20
log
@libarchive: import 3.8.8
@
text
@d2 1
a2 1
<!-- CreationDate: Tue Jun 23 09:58:14 2026 -->
@


