head	1.7;
access;
symbols
	pkgsrc-2026Q3:1.7.0.16
	pkgsrc-2026Q3-base:1.7
	libarchive-3-8-9:1.1.1.6
	libarchive-3-8-8:1.1.1.6
	pkgsrc-2026Q2:1.7.0.14
	pkgsrc-2026Q2-base:1.7
	libarchive-3-8-7:1.1.1.6
	libarchive-3-8-6:1.1.1.6
	pkgsrc-2026Q1:1.7.0.12
	pkgsrc-2026Q1-base:1.7
	libarchive-3-8-5:1.1.1.6
	libarchive-3-8-4:1.1.1.6
	pkgsrc-2025Q4:1.7.0.10
	pkgsrc-2025Q4-base:1.7
	libarchive-3-8-3:1.1.1.6
	libarchive-3-8-2:1.1.1.6
	pkgsrc-2025Q3:1.7.0.8
	pkgsrc-2025Q3-base:1.7
	libarchive-3-8-1:1.1.1.6
	pkgsrc-2025Q2:1.7.0.6
	pkgsrc-2025Q2-base:1.7
	libarchive-3-8-0:1.1.1.6
	libarchive-3-7-9:1.1.1.6
	pkgsrc-2025Q1:1.7.0.4
	pkgsrc-2025Q1-base:1.7
	pkgsrc-2024Q4:1.7.0.2
	pkgsrc-2024Q4-base:1.7
	libarchive-3-7-7:1.1.1.6
	pkgsrc-2024Q3:1.6.0.6
	pkgsrc-2024Q3-base:1.6
	libarchive-3-7-5:1.1.1.5
	pkgsrc-2024Q2:1.6.0.4
	pkgsrc-2024Q2-base:1.6
	libarchive-3-7-4:1.1.1.5
	libarchive-3-7-3:1.1.1.5
	pkgsrc-2024Q1:1.6.0.2
	pkgsrc-2024Q1-base:1.6
	libarchive-3-7-2:1.1.1.5
	pkgsrc-2023Q4:1.5.0.30
	pkgsrc-2023Q4-base:1.5
	pkgsrc-2023Q3:1.5.0.28
	pkgsrc-2023Q3-base:1.5
	pkgsrc-2023Q2:1.5.0.26
	pkgsrc-2023Q2-base:1.5
	pkgsrc-2023Q1:1.5.0.24
	pkgsrc-2023Q1-base:1.5
	pkgsrc-2022Q4:1.5.0.22
	pkgsrc-2022Q4-base:1.5
	pkgsrc-2022Q3:1.5.0.20
	pkgsrc-2022Q3-base:1.5
	pkgsrc-2022Q2:1.5.0.18
	pkgsrc-2022Q2-base:1.5
	pkgsrc-2022Q1:1.5.0.16
	pkgsrc-2022Q1-base:1.5
	pkgsrc-2021Q4:1.5.0.14
	pkgsrc-2021Q4-base:1.5
	pkgsrc-2021Q3:1.5.0.12
	pkgsrc-2021Q3-base:1.5
	pkgsrc-2021Q2:1.5.0.10
	pkgsrc-2021Q2-base:1.5
	pkgsrc-2021Q1:1.5.0.8
	pkgsrc-2021Q1-base:1.5
	pkgsrc-2020Q4:1.5.0.6
	pkgsrc-2020Q4-base:1.5
	pkgsrc-2020Q3:1.5.0.4
	pkgsrc-2020Q3-base:1.5
	pkgsrc-2020Q2:1.5.0.2
	pkgsrc-2020Q2-base:1.5
	pkgsrc-2020Q1:1.4.0.4
	pkgsrc-2020Q1-base:1.4
	pkgsrc-2019Q4:1.4.0.6
	pkgsrc-2019Q4-base:1.4
	pkgsrc-2019Q3:1.4.0.2
	pkgsrc-2019Q3-base:1.4
	libarchive-3-4-0:1.1.1.4
	libarchive-3-3-3:1.1.1.3
	pkgsrc-2019Q2:1.3.0.18
	pkgsrc-2019Q2-base:1.3
	pkgsrc-2019Q1:1.3.0.16
	pkgsrc-2019Q1-base:1.3
	pkgsrc-2018Q4:1.3.0.14
	pkgsrc-2018Q4-base:1.3
	pkgsrc-2018Q3:1.3.0.12
	pkgsrc-2018Q3-base:1.3
	pkgsrc-2018Q2:1.3.0.10
	pkgsrc-2018Q2-base:1.3
	pkgsrc-2018Q1:1.3.0.8
	pkgsrc-2018Q1-base:1.3
	pkgsrc-2017Q4:1.3.0.6
	pkgsrc-2017Q4-base:1.3
	pkgsrc-2017Q3:1.3.0.4
	pkgsrc-2017Q3-base:1.3
	libarchive-3-3-2:1.1.1.3
	pkgsrc-2017Q2:1.2.0.4
	pkgsrc-2017Q2-base:1.2
	pkgsrc-2017Q1:1.2.0.2
	pkgsrc-2017Q1-base:1.2
	libarchive-3-3-1:1.1.1.2
	pkgsrc-2016Q4:1.1.0.16
	pkgsrc-2016Q4-base:1.1
	pkgsrc-2016Q3:1.1.0.14
	pkgsrc-2016Q3-base:1.1
	pkgsrc-2016Q2:1.1.0.12
	pkgsrc-2016Q2-base:1.1
	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.7
date	2024.10.19.05.39.57;	author adam;	state Exp;
branches;
next	1.6;
commitid	fYRSlpIWMYluweuF;

1.6
date	2024.01.18.18.00.16;	author adam;	state Exp;
branches;
next	1.5;
commitid	hNXpsHx3SuHqsXUE;

1.5
date	2020.05.26.09.16.41;	author nia;	state Exp;
branches;
next	1.4;
commitid	nNhsdZACz3PjmJ9C;

1.4
date	2019.09.22.09.55.08;	author joerg;	state Exp;
branches;
next	1.3;
commitid	FdPvRjF4OzwBwZDB;

1.3
date	2017.08.01.22.26.23;	author joerg;	state Exp;
branches;
next	1.2;
commitid	32clTfkmVE8bPy1A;

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

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.12.01;	author joerg;	state Exp;
branches;
next	1.1.1.2;
commitid	rRgm3BqbmbI8aebz;

1.1.1.2
date	2017.02.25.20.54.12;	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.51.33;	author joerg;	state Exp;
branches;
next	1.1.1.5;
commitid	5kDbfPbiV3INvZDB;

1.1.1.5
date	2024.01.18.17.37.46;	author adam;	state Exp;
branches;
next	1.1.1.6;
commitid	zDULEPUODGjTkXUE;

1.1.1.6
date	2024.10.19.05.27.34;	author adam;	state Exp;
branches;
next	;
commitid	v1iXM4j1Na52seuF;


desc
@@


1.7
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
@4mARCHIVE_READ_EXTRACT24m(3)	 Library Functions Manual   4mARCHIVE_READ_EXTRACT24m(3)

1mNAME0m
       archive_read_extract,				archive_read_extract2,
       archive_read_extract_set_progress_callback  —  functions	 for   reading
       streaming archives

1mLIBRARY0m
       Streaming Archive Library (libarchive, -larchive)

1mSYNOPSIS0m
       1m#include <archive.h>0m

       4mint0m
       1marchive_read_extract22m(4mstruct24m 4marchive24m 4m*24m,	   4mstruct24m 4marchive_entry24m 4m*24m,
	   4mint24m 4mflags24m);

       4mint0m
       1marchive_read_extract222m(4mstruct24m 4marchive24m 4m*src24m,	   4mstruct24m 4marchive_entry24m 4m*24m,
	   4mstruct24m 4marchive24m 4m*dest24m);

       4mvoid0m
       1marchive_read_extract_set_progress_callback22m(4mstruct24m 4marchive24m 4m*24m,
	   4mvoid24m 4m(*func)(void24m 4m*)24m, 4mvoid24m 4m*user_data24m);

1mDESCRIPTION0m
       1marchive_read_extract22m(), 1marchive_read_extract_set_skip_file22m()
	       A   convenience	 function   that   wraps   the	 corresponding
	       4marchive_write_disk24m(3)   interfaces.	   The	 first	 call	 to
	       1marchive_read_extract22m()   creates   a   restore   object   using
	       4marchive_write_disk_new24m(3)					and
	       4marchive_write_disk_set_standard_lookup24m(3),	then  transparently
	       invokes			    4marchive_write_disk_set_options24m(3),
	       4marchive_write_header24m(3),	   4marchive_write_data24m(3),	     and
	       4marchive_write_finish_entry24m(3) to create the entry on  disk	and
	       copy  data into it.  The 4mflags24m argument is passed unmodified to
	       4marchive_write_disk_set_options24m(3).
       1marchive_read_extract222m()
	       This is another version of 1marchive_read_extract22m()  that  allows
	       you  to	provide	 your own restore object.  In particular, this
	       allows you to override  the  standard  lookup  functions	 using
	       4marchive_write_disk_set_group_lookup24m(3),			and
	       4marchive_write_disk_set_user_lookup24m(3).	   Note	       that
	       1marchive_read_extract222m()  does  not accept a 4mflags24m argument; you
	       should use 1marchive_write_disk_set_options22m() to set the  restore
	       options yourself.
       1marchive_read_extract_set_progress_callback22m()
	       Sets  a pointer to a user-defined callback that can be used for
	       updating progress displays  during  extraction.	 The  progress
	       function will be invoked during the extraction of large regular
	       files.	The progress function will be invoked with the pointer
	       provided to this call.  Generally, the data pointed  to	should
	       include a reference to the archive object and the archive_entry
	       object  so  that	 various  statistics  can be retrieved for the
	       progress display.

1mRETURN VALUES0m
       Most functions return zero on success, non-zero on error.  The possible
       return	codes	include:   1mARCHIVE_OK	  22m(the   operation	succeeded),
       1mARCHIVE_WARN  22m(the operation succeeded but a non-critical error was en‐
       countered), 1mARCHIVE_EOF 22m(end-of-archive was encountered), 1mARCHIVE_RETRY0m
       (the operation failed but can be retried), and 1mARCHIVE_FATAL 22m(there was
       a fatal error; the archive should be closed immediately).

1mERRORS0m
       Detailed error codes and textual descriptions are  available  from  the
       1marchive_errno22m() and 1marchive_error_string22m() functions.

1mSEE ALSO0m
       4mtar24m(1),  4marchive_read24m(3), 4marchive_read_data24m(3), 4marchive_read_filter24m(3),
       4marchive_read_format24m(3),			      4marchive_read_open24m(3),
       4marchive_read_set_options24m(3), 4marchive_util24m(3), 4mlibarchive24m(3), 4mtar24m(5)

Debian			       February 2, 2012	       4mARCHIVE_READ_EXTRACT24m(3)
@


1.6
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
@d1 1
a1 1
ARCHIVE_READ_EXTRACT(3)	 BSD Library Functions Manual  ARCHIVE_READ_EXTRACT(3)
d3 70
a72 69
NAME
     archive_read_extract, archive_read_extract2,
     archive_read_extract_set_progress_callback — functions for reading
     streaming archives

LIBRARY
     Streaming Archive Library (libarchive, -larchive)

SYNOPSIS
     #include <archive.h>

     int
     archive_read_extract(struct archive *, struct archive_entry *,
	 int flags);

     int
     archive_read_extract2(struct archive *src, struct archive_entry *,
	 struct archive *dest);

     void
     archive_read_extract_set_progress_callback(struct archive *,
	 void (*func)(void *), void *user_data);

DESCRIPTION
     archive_read_extract(), archive_read_extract_set_skip_file()
	     A convenience function that wraps the corresponding
	     archive_write_disk(3) interfaces.	The first call to
	     archive_read_extract() creates a restore object using
	     archive_write_disk_new(3) and
	     archive_write_disk_set_standard_lookup(3), then transparently in‐
	     vokes archive_write_disk_set_options(3), archive_write_header(3),
	     archive_write_data(3), and archive_write_finish_entry(3) to cre‐
	     ate the entry on disk and copy data into it.  The flags argument
	     is passed unmodified to archive_write_disk_set_options(3).
     archive_read_extract2()
	     This is another version of archive_read_extract() that allows you
	     to provide your own restore object.  In particular, this allows
	     you to override the standard lookup functions using
	     archive_write_disk_set_group_lookup(3), and
	     archive_write_disk_set_user_lookup(3).  Note that
	     archive_read_extract2() does not accept a flags argument; you
	     should use archive_write_disk_set_options() to set the restore
	     options yourself.
     archive_read_extract_set_progress_callback()
	     Sets a pointer to a user-defined callback that can be used for
	     updating progress displays during extraction.  The progress func‐
	     tion will be invoked during the extraction of large regular
	     files.  The progress function will be invoked with the pointer
	     provided to this call.  Generally, the data pointed to should in‐
	     clude a reference to the archive object and the archive_entry ob‐
	     ject so that various statistics can be retrieved for the progress
	     display.

RETURN VALUES
     Most functions return zero on success, non-zero on error.	The possible
     return codes include: ARCHIVE_OK (the operation succeeded), ARCHIVE_WARN
     (the operation succeeded but a non-critical error was encountered),
     ARCHIVE_EOF (end-of-archive was encountered), ARCHIVE_RETRY (the opera‐
     tion failed but can be retried), and ARCHIVE_FATAL (there was a fatal er‐
     ror; the archive should be closed immediately).

ERRORS
     Detailed error codes and textual descriptions are available from the
     archive_errno() and archive_error_string() functions.

SEE ALSO
     tar(1), archive_read(3), archive_read_data(3), archive_read_filter(3),
     archive_read_format(3), archive_read_open(3),
     archive_read_set_options(3), archive_util(3), libarchive(3), tar(5)
d74 1
a74 1
BSD			       February 2, 2012				   BSD
@


1.5
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 1
a1 1
ARCHIVE_READ_EXTRACT(3)  BSD Library Functions Manual  ARCHIVE_READ_EXTRACT(3)
d5 1
a5 1
     archive_read_extract_set_progress_callback -- functions for reading
d32 5
a36 6
	     archive_write_disk_set_standard_lookup(3), then transparently
	     invokes archive_write_disk_set_options(3),
	     archive_write_header(3), archive_write_data(3), and
	     archive_write_finish_entry(3) to create the entry on disk and
	     copy data into it.  The flags argument is passed unmodified to
	     archive_write_disk_set_options(3).
d48 1
a48 1
	     updating progress displays during extraction.  The progress func-
d51 4
a54 4
	     provided to this call.  Generally, the data pointed to should
	     include a reference to the archive object and the archive_entry
	     object so that various statistics can be retrieved for the
	     progress display.
d60 3
a62 3
     ARCHIVE_EOF (end-of-archive was encountered), ARCHIVE_RETRY (the opera-
     tion failed but can be retried), and ARCHIVE_FATAL (there was a fatal
     error; the archive should be closed immediately).
d73 1
a73 1
BSD			       February 2, 2012 			   BSD
@


1.4
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
@d5 1
a5 1
     archive_read_extract_set_progress_callback — functions for reading
d32 6
a37 5
	     archive_write_disk_set_standard_lookup(3), then transparently in‐
	     vokes archive_write_disk_set_options(3), archive_write_header(3),
	     archive_write_data(3), and archive_write_finish_entry(3) to cre‐
	     ate the entry on disk and copy data into it.  The flags argument
	     is passed unmodified to archive_write_disk_set_options(3).
d49 1
a49 1
	     updating progress displays during extraction.  The progress func‐
d52 4
a55 4
	     provided to this call.  Generally, the data pointed to should in‐
	     clude a reference to the archive object and the archive_entry ob‐
	     ject so that various statistics can be retrieved for the progress
	     display.
d61 3
a63 3
     ARCHIVE_EOF (end-of-archive was encountered), ARCHIVE_RETRY (the opera‐
     tion failed but can be retried), and ARCHIVE_FATAL (there was a fatal er‐
     ror; the archive should be closed immediately).
d70 3
a72 3
     tar(1), libarchive(3), archive_read(3), archive_read_data(3),
     archive_read_filter(3), archive_read_format(3), archive_read_open(3),
     archive_read_set_options(3), archive_util(3), tar(5)
@


1.3
log
@Merge for libarchive-3.3.2.
@
text
@d32 5
a36 6
	     archive_write_disk_set_standard_lookup(3), then transparently
	     invokes archive_write_disk_set_options(3),
	     archive_write_header(3), archive_write_data(3), and
	     archive_write_finish_entry(3) to create the entry on disk and
	     copy data into it.  The flags argument is passed unmodified to
	     archive_write_disk_set_options(3).
d51 4
a54 4
	     provided to this call.  Generally, the data pointed to should
	     include a reference to the archive object and the archive_entry
	     object so that various statistics can be retrieved for the
	     progress display.
d61 2
a62 2
     tion failed but can be retried), and ARCHIVE_FATAL (there was a fatal
     error; the archive should be closed immediately).
@


1.2
log
@Merge libarchive-3.3.1.
@
text
@d3 3
a5 3
1mNAME0m
     1marchive_read_extract22m, 1marchive_read_extract222m,
     1marchive_read_extract_set_progress_callback 22m— functions for reading
d8 1
a8 1
1mLIBRARY0m
d11 2
a12 2
1mSYNOPSIS0m
     1m#include <archive.h>0m
d14 11
a24 11
     4mint0m
     1marchive_read_extract22m(4mstruct24m 4marchive24m 4m*24m, 4mstruct24m 4marchive_entry24m 4m*24m,
	 4mint24m 4mflags24m);

     4mint0m
     1marchive_read_extract222m(4mstruct24m 4marchive24m 4m*src24m, 4mstruct24m 4marchive_entry24m 4m*24m,
	 4mstruct24m 4marchive24m 4m*dest24m);

     4mvoid0m
     1marchive_read_extract_set_progress_callback22m(4mstruct24m 4marchive24m 4m*24m,
	 4mvoid24m 4m(*func)(void24m 4m*)24m, 4mvoid24m 4m*user_data24m);
d26 2
a27 2
1mDESCRIPTION0m
     1marchive_read_extract22m(), 1marchive_read_extract_set_skip_file22m()
d30 1
a30 1
	     1marchive_read_extract22m() creates a restore object using
d36 1
a36 1
	     copy data into it.  The 4mflags24m argument is passed unmodified to
d38 2
a39 2
     1marchive_read_extract222m()
	     This is another version of 1marchive_read_extract22m() that allows you
d44 2
a45 2
	     1marchive_read_extract222m() does not accept a 4mflags24m argument; you
	     should use 1marchive_write_disk_set_options22m() to set the restore
d47 1
a47 1
     1marchive_read_extract_set_progress_callback22m()
d57 1
a57 1
1mRETURN VALUES0m
d59 1
a59 1
     return codes include: 1mARCHIVE_OK 22m(the operation succeeded), 1mARCHIVE_WARN0m
d61 2
a62 2
     1mARCHIVE_EOF 22m(end-of-archive was encountered), 1mARCHIVE_RETRY 22m(the opera‐
     tion failed but can be retried), and 1mARCHIVE_FATAL 22m(there was a fatal
d65 1
a65 1
1mERRORS0m
d67 1
a67 1
     1marchive_errno22m() and 1marchive_error_string22m() functions.
d69 1
a69 1
1mSEE ALSO0m
@


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
@d3 3
a5 3
NAME
     archive_read_extract, archive_read_extract2,
     archive_read_extract_set_progress_callback — functions for reading
d8 1
a8 1
LIBRARY
d11 2
a12 2
SYNOPSIS
     #include <archive.h>
d14 11
a24 11
     int
     archive_read_extract(struct archive *, struct archive_entry *,
	 int flags);

     int
     archive_read_extract2(struct archive *src, struct archive_entry *,
	 struct archive *dest);

     void
     archive_read_extract_set_progress_callback(struct archive *,
	 void (*func)(void *), void *user_data);
d26 2
a27 2
DESCRIPTION
     archive_read_extract(), archive_read_extract_set_skip_file()
d30 1
a30 1
	     archive_read_extract() creates a restore object using
d36 1
a36 1
	     copy data into it.  The flags argument is passed unmodified to
d38 2
a39 2
     archive_read_extract2()
	     This is another version of archive_read_extract() that allows you
d44 2
a45 2
	     archive_read_extract2() does not accept a flags argument; you
	     should use archive_write_disk_set_options() to set the restore
d47 1
a47 1
     archive_read_extract_set_progress_callback()
d57 1
a57 1
RETURN VALUES
d59 1
a59 1
     return codes include: ARCHIVE_OK (the operation succeeded), ARCHIVE_WARN
d61 2
a62 2
     ARCHIVE_EOF (end-of-archive was encountered), ARCHIVE_RETRY (the opera‐
     tion failed but can be retried), and ARCHIVE_FATAL (there was a fatal
d65 1
a65 1
ERRORS
d67 1
a67 1
     archive_errno() and archive_error_string() functions.
d69 1
a69 1
SEE ALSO
@


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


1.1.1.2
log
@Import libarchive-3.3.1.
@
text
@d3 3
a5 3
1mNAME0m
     1marchive_read_extract22m, 1marchive_read_extract222m,
     1marchive_read_extract_set_progress_callback 22m— functions for reading
d8 1
a8 1
1mLIBRARY0m
d11 2
a12 2
1mSYNOPSIS0m
     1m#include <archive.h>0m
d14 11
a24 11
     4mint0m
     1marchive_read_extract22m(4mstruct24m 4marchive24m 4m*24m, 4mstruct24m 4marchive_entry24m 4m*24m,
	 4mint24m 4mflags24m);

     4mint0m
     1marchive_read_extract222m(4mstruct24m 4marchive24m 4m*src24m, 4mstruct24m 4marchive_entry24m 4m*24m,
	 4mstruct24m 4marchive24m 4m*dest24m);

     4mvoid0m
     1marchive_read_extract_set_progress_callback22m(4mstruct24m 4marchive24m 4m*24m,
	 4mvoid24m 4m(*func)(void24m 4m*)24m, 4mvoid24m 4m*user_data24m);
d26 2
a27 2
1mDESCRIPTION0m
     1marchive_read_extract22m(), 1marchive_read_extract_set_skip_file22m()
d30 1
a30 1
	     1marchive_read_extract22m() creates a restore object using
d36 1
a36 1
	     copy data into it.  The 4mflags24m argument is passed unmodified to
d38 2
a39 2
     1marchive_read_extract222m()
	     This is another version of 1marchive_read_extract22m() that allows you
d44 2
a45 2
	     1marchive_read_extract222m() does not accept a 4mflags24m argument; you
	     should use 1marchive_write_disk_set_options22m() to set the restore
d47 1
a47 1
     1marchive_read_extract_set_progress_callback22m()
d57 1
a57 1
1mRETURN VALUES0m
d59 1
a59 1
     return codes include: 1mARCHIVE_OK 22m(the operation succeeded), 1mARCHIVE_WARN0m
d61 2
a62 2
     1mARCHIVE_EOF 22m(end-of-archive was encountered), 1mARCHIVE_RETRY 22m(the opera‐
     tion failed but can be retried), and 1mARCHIVE_FATAL 22m(there was a fatal
d65 1
a65 1
1mERRORS0m
d67 1
a67 1
     1marchive_errno22m() and 1marchive_error_string22m() functions.
d69 1
a69 1
1mSEE ALSO0m
@


1.1.1.3
log
@Import libarchive-3.3.2 + 9de5f3 + f9dacbf:
- Support NFS4 ACLs on Linux
- Bugfixes
@
text
@d3 3
a5 3
NAME
     archive_read_extract, archive_read_extract2,
     archive_read_extract_set_progress_callback — functions for reading
d8 1
a8 1
LIBRARY
d11 2
a12 2
SYNOPSIS
     #include <archive.h>
d14 11
a24 11
     int
     archive_read_extract(struct archive *, struct archive_entry *,
	 int flags);

     int
     archive_read_extract2(struct archive *src, struct archive_entry *,
	 struct archive *dest);

     void
     archive_read_extract_set_progress_callback(struct archive *,
	 void (*func)(void *), void *user_data);
d26 2
a27 2
DESCRIPTION
     archive_read_extract(), archive_read_extract_set_skip_file()
d30 1
a30 1
	     archive_read_extract() creates a restore object using
d36 1
a36 1
	     copy data into it.  The flags argument is passed unmodified to
d38 2
a39 2
     archive_read_extract2()
	     This is another version of archive_read_extract() that allows you
d44 2
a45 2
	     archive_read_extract2() does not accept a flags argument; you
	     should use archive_write_disk_set_options() to set the restore
d47 1
a47 1
     archive_read_extract_set_progress_callback()
d57 1
a57 1
RETURN VALUES
d59 1
a59 1
     return codes include: ARCHIVE_OK (the operation succeeded), ARCHIVE_WARN
d61 2
a62 2
     ARCHIVE_EOF (end-of-archive was encountered), ARCHIVE_RETRY (the opera‐
     tion failed but can be retried), and ARCHIVE_FATAL (there was a fatal
d65 1
a65 1
ERRORS
d67 1
a67 1
     archive_errno() and archive_error_string() functions.
d69 1
a69 1
SEE ALSO
@


1.1.1.4
log
@Import libarchive 3.4.0
@
text
@d32 6
a37 5
	     archive_write_disk_set_standard_lookup(3), then transparently in‐
	     vokes archive_write_disk_set_options(3), archive_write_header(3),
	     archive_write_data(3), and archive_write_finish_entry(3) to cre‐
	     ate the entry on disk and copy data into it.  The flags argument
	     is passed unmodified to archive_write_disk_set_options(3).
d52 4
a55 4
	     provided to this call.  Generally, the data pointed to should in‐
	     clude a reference to the archive object and the archive_entry ob‐
	     ject so that various statistics can be retrieved for the progress
	     display.
d62 2
a63 2
     tion failed but can be retried), and ARCHIVE_FATAL (there was a fatal er‐
     ror; the archive should be closed immediately).
@


1.1.1.5
log
@Import libarchive 3.7.2
@
text
@d1 1
a1 1
ARCHIVE_READ_EXTRACT(3)	 BSD Library Functions Manual  ARCHIVE_READ_EXTRACT(3)
d69 3
a71 3
     tar(1), archive_read(3), archive_read_data(3), archive_read_filter(3),
     archive_read_format(3), archive_read_open(3),
     archive_read_set_options(3), archive_util(3), libarchive(3), tar(5)
d73 1
a73 1
BSD			       February 2, 2012				   BSD
@


1.1.1.6
log
@libarchove: import version 3.7.7
@
text
@d1 1
a1 1
4mARCHIVE_READ_EXTRACT24m(3)	 Library Functions Manual   4mARCHIVE_READ_EXTRACT24m(3)
d3 69
a71 70
1mNAME0m
       archive_read_extract,				archive_read_extract2,
       archive_read_extract_set_progress_callback  —  functions	 for   reading
       streaming archives

1mLIBRARY0m
       Streaming Archive Library (libarchive, -larchive)

1mSYNOPSIS0m
       1m#include <archive.h>0m

       4mint0m
       1marchive_read_extract22m(4mstruct24m 4marchive24m 4m*24m,	   4mstruct24m 4marchive_entry24m 4m*24m,
	   4mint24m 4mflags24m);

       4mint0m
       1marchive_read_extract222m(4mstruct24m 4marchive24m 4m*src24m,	   4mstruct24m 4marchive_entry24m 4m*24m,
	   4mstruct24m 4marchive24m 4m*dest24m);

       4mvoid0m
       1marchive_read_extract_set_progress_callback22m(4mstruct24m 4marchive24m 4m*24m,
	   4mvoid24m 4m(*func)(void24m 4m*)24m, 4mvoid24m 4m*user_data24m);

1mDESCRIPTION0m
       1marchive_read_extract22m(), 1marchive_read_extract_set_skip_file22m()
	       A   convenience	 function   that   wraps   the	 corresponding
	       4marchive_write_disk24m(3)   interfaces.	   The	 first	 call	 to
	       1marchive_read_extract22m()   creates   a   restore   object   using
	       4marchive_write_disk_new24m(3)					and
	       4marchive_write_disk_set_standard_lookup24m(3),	then  transparently
	       invokes			    4marchive_write_disk_set_options24m(3),
	       4marchive_write_header24m(3),	   4marchive_write_data24m(3),	     and
	       4marchive_write_finish_entry24m(3) to create the entry on  disk	and
	       copy  data into it.  The 4mflags24m argument is passed unmodified to
	       4marchive_write_disk_set_options24m(3).
       1marchive_read_extract222m()
	       This is another version of 1marchive_read_extract22m()  that  allows
	       you  to	provide	 your own restore object.  In particular, this
	       allows you to override  the  standard  lookup  functions	 using
	       4marchive_write_disk_set_group_lookup24m(3),			and
	       4marchive_write_disk_set_user_lookup24m(3).	   Note	       that
	       1marchive_read_extract222m()  does  not accept a 4mflags24m argument; you
	       should use 1marchive_write_disk_set_options22m() to set the  restore
	       options yourself.
       1marchive_read_extract_set_progress_callback22m()
	       Sets  a pointer to a user-defined callback that can be used for
	       updating progress displays  during  extraction.	 The  progress
	       function will be invoked during the extraction of large regular
	       files.	The progress function will be invoked with the pointer
	       provided to this call.  Generally, the data pointed  to	should
	       include a reference to the archive object and the archive_entry
	       object  so  that	 various  statistics  can be retrieved for the
	       progress display.

1mRETURN VALUES0m
       Most functions return zero on success, non-zero on error.  The possible
       return	codes	include:   1mARCHIVE_OK	  22m(the   operation	succeeded),
       1mARCHIVE_WARN  22m(the operation succeeded but a non-critical error was en‐
       countered), 1mARCHIVE_EOF 22m(end-of-archive was encountered), 1mARCHIVE_RETRY0m
       (the operation failed but can be retried), and 1mARCHIVE_FATAL 22m(there was
       a fatal error; the archive should be closed immediately).

1mERRORS0m
       Detailed error codes and textual descriptions are  available  from  the
       1marchive_errno22m() and 1marchive_error_string22m() functions.

1mSEE ALSO0m
       4mtar24m(1),  4marchive_read24m(3), 4marchive_read_data24m(3), 4marchive_read_filter24m(3),
       4marchive_read_format24m(3),			      4marchive_read_open24m(3),
       4marchive_read_set_options24m(3), 4marchive_util24m(3), 4mlibarchive24m(3), 4mtar24m(5)
d73 1
a73 1
Debian			       February 2, 2012	       4mARCHIVE_READ_EXTRACT24m(3)
@


