head 1.10; access; symbols libarchive-3-8-1:1.1.1.9 pkgsrc-2025Q2:1.9.0.2 pkgsrc-2025Q2-base:1.9 libarchive-3-8-0:1.1.1.8 libarchive-3-7-9:1.1.1.7 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.2 pkgsrc-2024Q3-base:1.6 libarchive-3-7-5:1.1.1.5 pkgsrc-2024Q2:1.5.0.2 pkgsrc-2024Q2-base:1.5 libarchive-3-7-4:1.1.1.4 libarchive-3-7-3:1.1.1.3 pkgsrc-2024Q1:1.3.0.2 pkgsrc-2024Q1-base:1.3 libarchive-3-7-2:1.1.1.2 pkgsrc-2023Q4:1.2.0.30 pkgsrc-2023Q4-base:1.2 pkgsrc-2023Q3:1.2.0.28 pkgsrc-2023Q3-base:1.2 pkgsrc-2023Q2:1.2.0.26 pkgsrc-2023Q2-base:1.2 pkgsrc-2023Q1:1.2.0.24 pkgsrc-2023Q1-base:1.2 pkgsrc-2022Q4:1.2.0.22 pkgsrc-2022Q4-base:1.2 pkgsrc-2022Q3:1.2.0.20 pkgsrc-2022Q3-base:1.2 pkgsrc-2022Q2:1.2.0.18 pkgsrc-2022Q2-base:1.2 pkgsrc-2022Q1:1.2.0.16 pkgsrc-2022Q1-base:1.2 pkgsrc-2021Q4:1.2.0.14 pkgsrc-2021Q4-base:1.2 pkgsrc-2021Q3:1.2.0.12 pkgsrc-2021Q3-base:1.2 pkgsrc-2021Q2:1.2.0.10 pkgsrc-2021Q2-base:1.2 pkgsrc-2021Q1:1.2.0.8 pkgsrc-2021Q1-base:1.2 pkgsrc-2020Q4:1.2.0.6 pkgsrc-2020Q4-base:1.2 pkgsrc-2020Q3:1.2.0.4 pkgsrc-2020Q3-base:1.2 pkgsrc-2020Q2:1.2.0.2 pkgsrc-2020Q2-base:1.2 pkgsrc-2020Q1:1.1.1.1.0.4 pkgsrc-2020Q1-base:1.1.1.1 pkgsrc-2019Q4:1.1.1.1.0.6 pkgsrc-2019Q4-base:1.1.1.1 pkgsrc-2019Q3:1.1.1.1.0.2 pkgsrc-2019Q3-base:1.1.1.1 libarchive-3-4-0:1.1.1.1 KIENTZLE:1.1.1; locks; strict; comment @# @; 1.10 date 2025.07.01.15.14.43; author adam; state Exp; branches; next 1.9; commitid sA2cBFYBXpUBv31G; 1.9 date 2025.05.21.15.25.49; author adam; state Exp; branches; next 1.8; commitid 6aTN21WjRYk8TMVF; 1.8 date 2025.04.28.10.31.33; author adam; state Exp; branches; next 1.7; commitid Tocq615J6mYPZNSF; 1.7 date 2024.10.19.05.39.55; author adam; state Exp; branches; next 1.6; commitid fYRSlpIWMYluweuF; 1.6 date 2024.09.15.07.02.18; author adam; state Exp; branches; next 1.5; commitid x365AQIKhret4SpF; 1.5 date 2024.04.30.06.05.17; author adam; state Exp; branches; next 1.4; commitid id0E8i4RwCC4c88F; 1.4 date 2024.04.12.15.39.48; author adam; state Exp; branches; next 1.3; commitid 52ilmjFHKDf0XR5F; 1.3 date 2024.01.18.18.00.13; author adam; state Exp; branches; next 1.2; commitid hNXpsHx3SuHqsXUE; 1.2 date 2020.05.26.09.16.40; author nia; state Exp; branches; next 1.1; commitid nNhsdZACz3PjmJ9C; 1.1 date 2019.09.22.09.51.33; author joerg; state Exp; branches 1.1.1.1; next ; commitid 5kDbfPbiV3INvZDB; 1.1.1.1 date 2019.09.22.09.51.33; author joerg; state Exp; branches; next 1.1.1.2; commitid 5kDbfPbiV3INvZDB; 1.1.1.2 date 2024.01.18.17.37.45; author adam; state Exp; branches; next 1.1.1.3; commitid zDULEPUODGjTkXUE; 1.1.1.3 date 2024.04.12.15.27.44; author adam; state Exp; branches; next 1.1.1.4; commitid tQWTddCoxBumSR5F; 1.1.1.4 date 2024.04.30.05.50.49; author adam; state Exp; branches; next 1.1.1.5; commitid e4DnFoZdQV9Z688F; 1.1.1.5 date 2024.09.15.06.45.25; author adam; state Exp; branches; next 1.1.1.6; commitid pOuXKsbh8iPCYRpF; 1.1.1.6 date 2024.10.19.05.27.34; author adam; state Exp; branches; next 1.1.1.7; commitid v1iXM4j1Na52seuF; 1.1.1.7 date 2025.04.28.09.44.10; author adam; state Exp; branches; next 1.1.1.8; commitid 1zB7ffc4d2qCJNSF; 1.1.1.8 date 2025.05.21.15.11.28; author adam; state Exp; branches; next 1.1.1.9; commitid Nzqt2UgtvkVXNMVF; 1.1.1.9 date 2025.07.01.14.58.53; author adam; state Exp; branches; next ; commitid wKXYoBc9F9j8q31G; desc @@ 1.10 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 @
ARCHIVE_ENTRY_MISC(3) Library Functions Manual ARCHIVE_ENTRY_MISC(3)
NAME
archive_entry_symlink_type, archive_entry_set_symlink_type — miscellaneous functions for manipulating properties of archive_entry
LIBRARY
Streaming Archive Library (libarchive, -larchive)
SYNOPSIS
#include <archive_entry.h>
int
archive_entry_symlink_type(struct archive_entry *a);
void
archive_entry_set_symlink_type(struct archive_entry *a, int);
DESCRIPTION
The function archive_entry_symlink_type() returns and the function archive_entry_set_symlink_type() sets the type of the symbolic link stored in an archive entry. These functions have special meaning on operating systems that support multiple symbolic link types (e.g. Microsoft Windows).
Supported values are:
AE_SYMLINK_TYPE_UNDEFINED
Symbolic link target type is not defined (default on unix systems)
AE_SYMLINK_TYPE_FILE
Symbolic link points to a file
AE_SYMLINK_TYPE_DIRECTORY
Symbolic link points to a directory
SEE ALSO
archive_entry(3), archive_entry_paths(3), archive_entry_stat(3), libarchive(3) Debian April 15, 2019 ARCHIVE_ENTRY_MISC(3)
ARCHIVE_ENTRY_MISC(3) BSD Library Functions Manual ARCHIVE_ENTRY_MISC(3)
d28 2 a29 3archive_entry_symlink_type, archive_entry_set_symlink_type — miscellaneous d34 1 a34 1
Streaming Archive Library d39 1 a39 1
#include d42 1 a42 1
int
d45 1 a45 1archive_entry_symlink_type(struct archive_entry *a);
d47 1 a47 1void
d50 1 a50 1archive_entry_set_symlink_type(struct archive_entry *a, d55 1 a55 1
The function d62 1 a62 1
Supported values d67 1 a67 1
Symbolic link d72 1 a72 1
Symbolic link d77 1 a77 1
Symbolic link d82 4 a85 6
archive_entry(3), archive_entry_paths(3), archive_entry_stat(3), libarchive(3)
BSD April 15, 2019 BSD
@ 1.5 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 @ 1.4 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 @ 1.3 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 @ 1.2 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 @ 1.1 log @Initial revision @ text @d1 2 a2 2 d31 1 a31 1 functions for manipulating properties of archive_entry. @ 1.1.1.1 log @Import libarchive 3.4.0 @ text @@ 1.1.1.2 log @Import libarchive 3.7.2 @ text @d2 1 a2 1 d31 1 a31 1 functions for manipulating properties of archive_entry @ 1.1.1.3 log @libarchive: import version 3.7.3 @ text @d2 1 a2 1 @ 1.1.1.4 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 @ 1.1.1.5 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 @ 1.1.1.6 log @libarchove: import version 3.7.7 @ text @d1 2 a2 2 d23 2 a24 2ARCHIVE_ENTRY_MISC(3) Library Functions Manual ARCHIVE_ENTRY_MISC(3)
d28 3 a30 2archive_entry_symlink_type, archive_entry_set_symlink_type — miscellaneous d35 1 a35 1
Streaming Archive Library d40 1 a40 1
#include d43 1 a43 1
int
d46 1 a46 1archive_entry_symlink_type(struct archive_entry *a);
d48 1 a48 1void
d51 1 a51 1archive_entry_set_symlink_type(struct archive_entry *a, d56 1 a56 1
The function d63 1 a63 1
Supported values d68 1 a68 1
Symbolic link d73 1 a73 1
Symbolic link d78 1 a78 1
Symbolic link d83 6 a88 4
archive_entry(3), archive_entry_paths(3), archive_entry_stat(3), libarchive(3) Debian April 15, 2019 ARCHIVE_ENTRY_MISC(3)
@ 1.1.1.7 log @libarchive: imported version 3.7.9 @ text @d2 1 a2 1 @ 1.1.1.8 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 @ 1.1.1.9 log @libarchive: import version 3.8.1 @ text @d2 1 a2 1 @