pkgsrc/archivers
adam 22040b0f0b py-rarfile: updated to 4.0
rarfile v4.0

Main goals are:

Increased zipfile-compatibility, thus also achieving smaller difference between RAR3 and RAR5 archives.
Implement RarFile.extract on top of RarFile.open instead using unrar x directly, thus making maintenance of alternative backends more manageable. Negative aspect of that is that there are features that internal extract code does not support - hard links, NTFS streams and junctions.

Breaking changes:

Directory names will have "/" appended.
RarFile.extract operates only on single entry, so when used on directory it will create directory but not extract files under it.
RarFile.extract/RarFile.extractall/RarFile.testrar will not launch special unrar command line, instead they are implemented on top of RarFile.open.
Keyword args in top-level APIs were renamed to match zipfile:
RarFile(rarfile) -> RarFile(file)
RarFile.setpassword(password) -> .setpassword(pwd)
RarFile.getinfo(fname) -> .getinfo(name)
RarFile.open(fname, mode, psw) -> .open(name, mode, pwd)
RarFile.read(fname, psw) -> .read(name, pwd)
PATH_SEP cannot be changed from "/".

New features:

RarFile.extract will return final sanitized filename for target file.
RarInfo.is_dir is now preferred spelling of isdir(). Old method kept as alias.
New RarInfo.is_file and RarInfo.is_symlink methods. Only one of ~RarInfo.is_file, ~RarInfo.is_dir or ~RarInfo.is_symlink can be True.
RarFile.printdir has file argument for output.
RarFile.__iter__ loops over RarInfo entries.
RAR3: throw NeedFirstVolume exception with current volume number, like RAR5 does.
Nanosecond timestamp support. Visible as nsdatetime instance.
Minimal CLI when run as script: python3 -m rarfile
Skip old file versions in versioned archive.

Cleanups:

Use PBKDF2 implementation from hashlib.
Improve test coverage.
2022-10-14 11:48:48 +00:00
..
9e 9e: remove patch removed from distinfo 2021-11-15 16:22:08 +00:00
advancecomp archivers: Replace RMD160 checksums with BLAKE2s checksums 2021-10-26 09:57:04 +00:00
afio archivers: Replace RMD160 checksums with BLAKE2s checksums 2021-10-26 09:57:04 +00:00
arc arc: Honor LDFLAGS when linking. 2021-11-06 09:49:20 +00:00
archangel archivers: Replace RMD160 checksums with BLAKE2s checksums 2021-10-26 09:57:04 +00:00
arj arj: fix pointer truncation issues, alignment issues and other LP64 issues 2022-01-08 14:43:09 +00:00
ark ark: update to 22.08.1 2022-09-29 00:24:54 +00:00
arqiver archivers/arqiver: update to 0.10.1 2022-09-04 15:08:37 +00:00
atool *: recursive bump for perl 5.36 2022-06-28 11:30:51 +00:00
bicom archivers: Replace RMD160 checksums with BLAKE2s checksums 2021-10-26 09:57:04 +00:00
bmap-tools *: Revbump packages that use Python at runtime without a PKGNAME prefix 2022-06-30 11:18:01 +00:00
brotli archivers: Replace RMD160 checksums with BLAKE2s checksums 2021-10-26 09:57:04 +00:00
bsdtar bsdtar: Ensure iconv is not picked up accidentally. 2021-10-11 20:27:50 +00:00
bunzip archivers: Replace RMD160 checksums with BLAKE2s checksums 2021-10-26 09:57:04 +00:00
bzip2 bzip2: Rever previous 2021-03-15 16:18:32 +00:00
cabextract archivers: Replace RMD160 checksums with BLAKE2s checksums 2021-10-26 09:57:04 +00:00
dact archivers: Replace RMD160 checksums with BLAKE2s checksums 2021-10-26 09:57:04 +00:00
dar dar: move option stuff to options.mk, remove PKGREVISION comment 2022-10-05 09:36:52 +00:00
engrampa Bump all dependent packages of wayland (belatedly) 2022-08-11 05:08:00 +00:00
fastjar *: recursive bump for perl 5.36 2022-06-28 11:30:51 +00:00
fcrackzip archivers: Replace RMD160 checksums with BLAKE2s checksums 2021-10-26 09:57:04 +00:00
file-roller Bump all dependent packages of wayland (belatedly) 2022-08-11 05:08:00 +00:00
freeze archivers: Replace RMD160 checksums with BLAKE2s checksums 2021-10-26 09:57:04 +00:00
gcpio archivers: Replace RMD160 checksums with BLAKE2s checksums 2021-10-26 09:57:04 +00:00
gnome-autoar Bump all dependent packages of wayland (belatedly) 2022-08-11 05:08:00 +00:00
gsharutils archivers: Replace RMD160 checksums with BLAKE2s checksums 2021-10-26 09:57:04 +00:00
gtar gtar*: update to 1.34 2021-02-18 10:33:54 +00:00
gtar-base archivers: Replace RMD160 checksums with BLAKE2s checksums 2021-10-26 09:57:04 +00:00
gtar-info
gzip gzip: update to 1.12. 2022-04-08 06:24:00 +00:00
gzrecover archivers: Replace RMD160 checksums with BLAKE2s checksums 2021-10-26 09:57:04 +00:00
ha archivers: Replace RMD160 checksums with BLAKE2s checksums 2021-10-26 09:57:04 +00:00
heirloom-tar
hpack archivers: Replace RMD160 checksums with BLAKE2s checksums 2021-10-26 09:57:04 +00:00
hs-tar Bump all Haskell packages after enabling "split sections" in mk/haskell.mk 2022-02-26 03:57:43 +00:00
hs-zip-archive Bump all Haskell packages after enabling "split sections" in mk/haskell.mk 2022-02-26 03:57:43 +00:00
hs-zlib Bump all Haskell packages after enabling "split sections" in mk/haskell.mk 2022-02-26 03:57:43 +00:00
innoextract *: Recursive revbump from boost 1.78.0 2022-01-10 01:46:21 +00:00
jamjar archivers: Replace RMD160 checksums with BLAKE2s checksums 2021-10-26 09:57:04 +00:00
karchive karchive: update to 5.98.0 2022-09-29 00:24:04 +00:00
lbrate archivers: Replace RMD160 checksums with BLAKE2s checksums 2021-10-26 09:57:04 +00:00
lcab archivers: Replace RMD160 checksums with BLAKE2s checksums 2021-10-26 09:57:04 +00:00
lha archivers/lha: update to 1.14i-ac20211125 2022-01-01 19:02:34 +00:00
lhasa lhasa: fix HOMEPAGE. 2022-01-23 21:50:02 +00:00
libaec archivers: Replace RMD160 checksums with BLAKE2s checksums 2021-10-26 09:57:04 +00:00
libarchive libarchive: Fix bootstrap build under Haiku OS/x86_64 R1/beta2 2021-03-13 19:34:11 +00:00
libcomprex revbump for icu and libffi 2021-12-08 16:01:42 +00:00
liblzo Set liblzo LICENSE 2022-10-02 20:59:04 +00:00
libmspack libmspack: doesn't really use pkg-config, remove from tools 2022-07-22 22:25:08 +00:00
libunrar archivers: align variable assignments 2019-11-02 22:54:25 +00:00
libzip libzip: update to 1.9.2. 2022-06-28 20:14:51 +00:00
lrzip archivers: Replace RMD160 checksums with BLAKE2s checksums 2021-10-26 09:57:04 +00:00
lua-zlib archivers: Replace RMD160 checksums with BLAKE2s checksums 2021-10-26 09:57:04 +00:00
lunzip *: drop maintainership for packages not related to toolchains and ELF. 2022-06-27 15:29:13 +00:00
lxqt-archiver *: recursive bump for perl 5.36 2022-06-28 11:30:51 +00:00
lz4 lz4: updated to 1.9.4 2022-08-16 13:02:56 +00:00
lz4json archivers: Replace RMD160 checksums with BLAKE2s checksums 2021-10-26 09:57:04 +00:00
lzip lzip: update to 1.23. 2022-02-09 11:32:41 +00:00
lziprecover lziprecover: update to 1.23. 2022-01-22 18:26:52 +00:00
lzma archivers: Replace RMD160 checksums with BLAKE2s checksums 2021-10-26 09:57:04 +00:00
lzmalib archivers: Replace RMD160 checksums with BLAKE2s checksums 2021-10-26 09:57:04 +00:00
lzo archivers: Replace RMD160 checksums with BLAKE2s checksums 2021-10-26 09:57:04 +00:00
lzop archivers: Replace RMD160 checksums with BLAKE2s checksums 2021-10-26 09:57:04 +00:00
macutil archivers: Replace RMD160 checksums with BLAKE2s checksums 2021-10-26 09:57:04 +00:00
makeself archivers: Replace RMD160 checksums with BLAKE2s checksums 2021-10-26 09:57:04 +00:00
minizip minizip: update to 1.2.12. 2022-04-20 20:19:26 +00:00
mousetar mousetar: Eliminate silly NetBSD version test. 2022-05-24 13:02:34 +00:00
mscompress archivers: Replace RMD160 checksums with BLAKE2s checksums 2021-10-26 09:57:04 +00:00
nomarch archivers: Replace RMD160 checksums with BLAKE2s checksums 2021-10-26 09:57:04 +00:00
nulib2 archivers: Replace RMD160 checksums with BLAKE2s checksums 2021-10-26 09:57:04 +00:00
ocaml-bz2 Replaced mk/ocaml.mk with lang/ocaml/ocaml.mk in ocaml packages 2022-05-24 18:59:20 +00:00
ocaml-decompress Replaced mk/ocaml.mk with lang/ocaml/ocaml.mk in ocaml packages 2022-05-24 18:59:20 +00:00
ocaml-zip Replaced mk/ocaml.mk with lang/ocaml/ocaml.mk in ocaml packages 2022-05-24 18:59:20 +00:00
p5-Archive-Any *: recursive bump for perl 5.36 2022-06-28 11:30:51 +00:00
p5-Archive-Any-Lite *: recursive bump for perl 5.36 2022-06-28 11:30:51 +00:00
p5-Archive-Extract *: recursive bump for perl 5.36 2022-06-28 11:30:51 +00:00
p5-Archive-Peek *: recursive bump for perl 5.36 2022-06-28 11:30:51 +00:00
p5-Archive-Tar-Wrapper *: recursive bump for perl 5.36 2022-06-28 11:30:51 +00:00
p5-Archive-Zip *: recursive bump for perl 5.36 2022-06-28 11:30:51 +00:00
p5-Compress-Bzip2 *: recursive bump for perl 5.36 2022-06-28 11:30:51 +00:00
p5-Compress-LZMA-Simple *: recursive bump for perl 5.36 2022-06-28 11:30:51 +00:00
p7zip archivers: Replace RMD160 checksums with BLAKE2s checksums 2021-10-26 09:57:04 +00:00
par2 par2: include <unistd.h> for sysconf(3) 2022-03-27 14:08:33 +00:00
pax pax-20210219: ignore error from lchmod, if it was not supported. 2021-02-19 13:23:08 +00:00
pbzip2 archivers: Replace RMD160 checksums with BLAKE2s checksums 2021-10-26 09:57:04 +00:00
pdbar archivers: Replace RMD160 checksums with BLAKE2s checksums 2021-10-26 09:57:04 +00:00
php-bz2
php-pecl-zip archivers/php-pecl-zip: update to 1.21.1 2022-10-06 14:22:38 +00:00
php-zip revbump for icu and libffi 2021-12-08 16:01:42 +00:00
php-zlib *: Recursive revision bump for openssl 1.1.1. 2020-01-18 21:48:19 +00:00
pigz archivers: Replace RMD160 checksums with BLAKE2s checksums 2021-10-26 09:57:04 +00:00
pixz archivers: Replace RMD160 checksums with BLAKE2s checksums 2021-10-26 09:57:04 +00:00
ppmd archivers: Replace RMD160 checksums with BLAKE2s checksums 2021-10-26 09:57:04 +00:00
ppunpack archivers: Replace RMD160 checksums with BLAKE2s checksums 2021-10-26 09:57:04 +00:00
pxz archivers: Replace RMD160 checksums with BLAKE2s checksums 2021-10-26 09:57:04 +00:00
py-brotli *: bump PKGREVISION for egg.mk users 2022-01-04 20:52:30 +00:00
py-brotlipy *: bump PKGREVISION for egg.mk users 2022-01-04 20:52:30 +00:00
py-bz2file *: python2 egg files are back, add them to the PLISTs 2022-01-14 17:51:50 +00:00
py-czipfile *: bump PKGREVISION for egg.mk users 2022-01-04 20:52:30 +00:00
py-lhafile *: bump PKGREVISION for egg.mk users 2022-01-04 20:52:30 +00:00
py-libarchive-c *: bump PKGREVISION for egg.mk users 2022-01-04 20:52:30 +00:00
py-lz4 py-lz4: not make jobs safe 2022-09-30 09:05:40 +00:00
py-rarfile py-rarfile: updated to 4.0 2022-10-14 11:48:48 +00:00
py-unrardll archivers/py-unrardll: fix PKGNAME. 2022-01-18 20:59:04 +00:00
py-zipp py-zipp: update distinfo 2022-08-02 16:06:01 +00:00
py-zipp1 *: remove references to py-unittest2 2022-05-01 09:20:56 +00:00
py-zipstream *: bump PKGREVISION for egg.mk users 2022-01-04 20:52:30 +00:00
py-zopfli py-zopfli: updated to 0.2.1 2022-04-27 10:33:41 +00:00
py-zstandard py-zstandard: updated to 0.18.0 2022-07-02 09:13:24 +00:00
quazip revbump for textproc/icu update 2022-04-18 19:09:40 +00:00
R-zip archivers: Replace RMD160 checksums with BLAKE2s checksums 2021-10-26 09:57:04 +00:00
rar archivers: Replace RMD160 checksums with BLAKE2s checksums 2021-10-26 09:57:04 +00:00
rox-archive *: Revbump packages that use Python at runtime without a PKGNAME prefix 2022-06-30 11:18:01 +00:00
ruby-archive-tar-minitar archivers: Replace RMD160 checksums with BLAKE2s checksums 2021-10-26 09:57:04 +00:00
ruby-bz2 archivers: Replace RMD160 checksums with BLAKE2s checksums 2021-10-26 09:57:04 +00:00
ruby-ffi-libarchive archivers: Replace RMD160 checksums with BLAKE2s checksums 2021-10-26 09:57:04 +00:00
ruby-libarchive archivers: Replace RMD160 checksums with BLAKE2s checksums 2021-10-26 09:57:04 +00:00
ruby-minitar archivers: Replace RMD160 checksums with BLAKE2s checksums 2021-10-26 09:57:04 +00:00
ruby-minitar-cli archivers: Replace RMD160 checksums with BLAKE2s checksums 2021-10-26 09:57:04 +00:00
ruby-mixlib-archive archivers: Replace RMD160 checksums with BLAKE2s checksums 2021-10-26 09:57:04 +00:00
ruby-xz archivers/ruby-xz: update to 1.0.3 2022-04-03 05:45:55 +00:00
ruby-zip archivers: Replace RMD160 checksums with BLAKE2s checksums 2021-10-26 09:57:04 +00:00
rzip archivers: Replace RMD160 checksums with BLAKE2s checksums 2021-10-26 09:57:04 +00:00
sarab archivers: Replace RMD160 checksums with BLAKE2s checksums 2021-10-26 09:57:04 +00:00
squsq archivers: Replace RMD160 checksums with BLAKE2s checksums 2021-10-26 09:57:04 +00:00
star archivers/star: Update to 1.6.2 2022-09-30 15:33:45 +00:00
szip archivers: Replace RMD160 checksums with BLAKE2s checksums 2021-10-26 09:57:04 +00:00
tartest archivers/tartest: Update to 1.24nb1 2022-09-30 15:36:40 +00:00
torrentzip archivers: Replace RMD160 checksums with BLAKE2s checksums 2021-10-26 09:57:04 +00:00
trrntzip archivers/trrntzip: import trrntzip-1.0 2022-06-17 23:05:04 +00:00
unace archivers: Replace RMD160 checksums with BLAKE2s checksums 2021-10-26 09:57:04 +00:00
unace-bin archivers: Replace RMD160 checksums with BLAKE2s checksums 2021-10-26 09:57:04 +00:00
unalz archivers: Replace RMD160 checksums with BLAKE2s checksums 2021-10-26 09:57:04 +00:00
unarchiver revbump for textproc/icu update 2022-04-18 19:09:40 +00:00
unarj archivers: Replace RMD160 checksums with BLAKE2s checksums 2021-10-26 09:57:04 +00:00
undms archivers: Replace RMD160 checksums with BLAKE2s checksums 2021-10-26 09:57:04 +00:00
unlzx archivers: Replace RMD160 checksums with BLAKE2s checksums 2021-10-26 09:57:04 +00:00
unrar unrar: improve homepage so it points to unrar sources 2022-06-29 11:35:47 +00:00
unshield unshield: updated to 1.5.1 2021-12-15 09:52:05 +00:00
unzip archivers: Replace RMD160 checksums with BLAKE2s checksums 2021-10-26 09:57:04 +00:00
unzoo archivers: Replace RMD160 checksums with BLAKE2s checksums 2021-10-26 09:57:04 +00:00
upx *: recursive bump for perl 5.36 2022-06-28 11:30:51 +00:00
xarchiver Bump all dependent packages of wayland (belatedly) 2022-08-11 05:08:00 +00:00
xbin archivers: Replace RMD160 checksums with BLAKE2s checksums 2021-10-26 09:57:04 +00:00
xfce4-thunar-archive Bump all dependent packages of wayland (belatedly) 2022-08-11 05:08:00 +00:00
xmill archivers: Replace RMD160 checksums with BLAKE2s checksums 2021-10-26 09:57:04 +00:00
xpk archivers: Replace RMD160 checksums with BLAKE2s checksums 2021-10-26 09:57:04 +00:00
xz xz: updated to 5.2.7 2022-10-13 16:35:10 +00:00
zip archivers: Replace RMD160 checksums with BLAKE2s checksums 2021-10-26 09:57:04 +00:00
zoo archivers: Replace RMD160 checksums with BLAKE2s checksums 2021-10-26 09:57:04 +00:00
zopfli archivers: Replace RMD160 checksums with BLAKE2s checksums 2021-10-26 09:57:04 +00:00
zstd zstd: update to 1.5.2. 2022-01-23 22:04:33 +00:00
zutils archivers: Replace RMD160 checksums with BLAKE2s checksums 2021-10-26 09:57:04 +00:00
zziplib archivers: Replace RMD160 checksums with BLAKE2s checksums 2021-10-26 09:57:04 +00:00
Makefile archivers/Makefile: + trrntzip 2022-06-17 23:05:24 +00:00