BSD Ports

security/py-dirhash 0.5.0 FreeBSD

Python module and CLI for hashing of file system directories

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
3cc2ef380f
License
MIT
Categories
security, python
Package size
21.3 KiB, 107.5 KiB installed

Description

A lightweight python module and CLI for computing the hash of any directory based on its files structure and content.

  • Supports all hashing algorithms of Python's built-in hashlib module.
  • Glob/wildcard (".gitignore style") path matching for expressive filtering of files to include/exclude.
  • Multiprocessing for up to 6x speed-up

The hash is computed according to the Dirhash Standard, which is designed to allow for consistent and collision resistant generation/verification of directory hashes across implementations.

In the other systems

SystemPortVersion
FreeBSDsecurity/py-dirhash0.5.0
DragonFlysecurity/py-dirhash0.2.1_2

Install

Binary package:

pkg install py312-dirhash

From the ports tree:

cd /usr/ports/security/py-dirhash/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	py312-dirhash>0:security/py-dirhash

Packages

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

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.5.00.5.0-0.2.1_20.5.0
FreeBSD:14:quarterly0.5.00.5.0n/a0.2.1_20.5.0
FreeBSD:15:latest0.5.00.5.0n/a0.2.1_20.2.1_2
FreeBSD:15:quarterly0.5.00.5.0n/an/an/a
FreeBSD:16:latest0.5.00.5.0n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 1

Runtime 1

The full lists below include those, and their dependencies in turn.

Build dependencies 12
Run dependencies 10

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
dirhash-0.5.0.tar.gz21377e60760f0ab2e935d8cb088923ea2c6492398dca42cec785df778985fd4cd5386
Master sites 1
  • PYPI

Commit history 2

DateCommitCreditsLog message
3cc2ef380f Jose Alonso Cardenas Marquez security/py-dirhash: Fix build
Reported by: pkg-fallout
5d15c7cf7e Jose Alonso Cardenas Marquez security/py-dirhash: Update to 0.5.0