BSD Ports

archivers/py-rarfile 4.5 NetBSD

RAR archive reader for Python

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
2b978a194a
License
isc
Categories
archivers, python
Package size
72.4 KiB, 421.0 KiB installed

Description

This is Python module for RAR archive reading. The interface is made as zipfile like as possible. Licensed under ISC license.

Features:

* Supports both RAR3 and RAR5 format archives. * Supports multi volume archives. * Supports Unicode filenames. * Supports password-protected archives. * Supports archive and file comments. * Archive parsing and non-compressed files are handled in pure Python code. * Compressed files are extracted by executing external tool: either unrar from RARLAB or bsdtar from libarchive. * Works with both Python 2.7 and 3.x.

In the other systems

The newest version among them is 4.5, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
NetBSDarchivers/py-rarfile4.5 newestnone known-[email protected]2026-08-03
FreeBSDarchivers/py-rarfile4.5 newestnone known-[email protected]2026-09-20
OpenBSDarchivers/py-rarfile4.5 newestno data-Kurt Mosiejczuk <[email protected]>2026-08-11
DragonFlyarchivers/py-rarfile4.1_1 behind since 2026-07-13none known-[email protected]-
MidnightBSDarchivers/py-rarfile4.5 newestno data-[email protected]2026-10-05
HardenedBSDarchivers/py-rarfile4.5 newestno data-[email protected]-
GhostBSDarchivers/py-rarfile4.5 newestno data-[email protected]-

Compare across BSDs

Version history 3

  1. 4.5 2b978a194a
  2. 4.4 41ec089217
  3. 4.3 2b54fd5f02

Upstream's version as each commit to the port's Makefile set it, or as this site first saw it in the system's packages; the tree's own revisions are not versions here.

Install

Binary package:

pkgin install py311-rarfile

From pkgsrc:

cd /usr/pkgsrc/archivers/py-rarfile && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_644.5
NetBSD 10.1 aarch644.2nb1
SmartOS / illumos x86_644.5
macOS 15 arm644.5

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Run dependencies 2

Configuration

No options to configure.

Service scripts
none
Flavors
py312-rarfile-4.5, py313-rarfile-4.5, py314-rarfile-4.5

Commit history 3

DateCommitCreditsLog message
2b978a194a adam py-rarfile: updated to 4.5
4.5 (2026-08-02) Security fixes: * Skip comments that are larger than 256k. Fixes: * Truncate filenames at NUL byte.
41ec089217 adam py-rarfile: updated to 4.4
4.4 Security fixes: * Skip CRC check for some old subblocks. Previously `rarfile` tried to calculate header CRC by reading data payload for those, but that could cause excessive allocations. Fixes: * RAR5: Reattempt passwords after trying wrong password when header encryption is used. * Restore fd position in file type detection functions.
2b54fd5f02 adam py-rarfile: updated to 4.3
4.3 Fixes Disallow extraction outside extraction path, in case of existing symlink. Disallow creating symlinks to outside of extraction path. Apply length limit to passwords, so too long password give same result as for unrar.