notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photos
All times are UTC
Ukraine
The recently imposed "must be logged in" restriction is a response to increased bot traffic on the site. This affects search, commits, and vuxml pages.
Search engines are not blocked. Try using "site:www.freshports.org" and your search terms.
After the ports freeze to fix some stuff, the freeze is over. I have some work to do before FreshPorts can start processing commits again before it can start processing again. I've created an issue for that.
Port details
py-dirhash Python module and CLI for hashing of file system directories
0.5.0 security on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 0.2.1_2Version of this port present on the latest quarterly branch.
Maintainer: acm@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2023-04-20 02:30:07
Last Update: 2026-08-27 01:13:04
Commit Hash: 3cc2ef3
Also Listed In: python
License: MIT
WWW:
https://github.com/andhus/dirhash-python
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.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
There is no configure plist information for this port.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • ${PYTHON_PKGNAMEPREFIX}dirhash>0:security/py-dirhash@${PY_FLAVOR}
To install the port:
cd /usr/ports/security/py-dirhash/ && make install clean
To add the package, run one of these commands:
  • pkg install security/py-dirhash
  • pkg install py312-dirhash
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
NOTE: This is a Python port. Instead of py312-dirhash listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py312-dirhash
Package flavors (<flavor>: <package>)
  • py312: py312-dirhash
distinfo:
TIMESTAMP = 1787711022 SHA256 (dirhash-0.5.0.tar.gz) = e60760f0ab2e935d8cb088923ea2c6492398dca42cec785df778985fd4cd5386 SIZE (dirhash-0.5.0.tar.gz) = 21377

Packages (timestamps in pop-ups are UTC):
py39-dirhash
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--n/an/an/an/an/an/a
FreeBSD:13:quarterly--n/an/an/an/an/an/a
FreeBSD:14:latest-----0.2.1-0.2.1
FreeBSD:14:quarterly-----0.2.10.2.10.2.1
FreeBSD:15:latest--n/a-n/an/a0.2.1_10.2.1_1
FreeBSD:15:quarterly--n/a-n/an/a--
FreeBSD:16:latest--n/a-n/an/a--
 
py311-dirhash
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest0.2.1_20.2.1_2n/an/an/an/an/an/a
FreeBSD:13:quarterly0.2.1_20.2.1_2n/an/an/an/an/an/a
FreeBSD:14:latest---0.2.1_2----
FreeBSD:14:quarterly---0.2.1_2----
FreeBSD:15:latest--n/a0.2.1_2n/an/a--
FreeBSD:15:quarterly--n/a-n/an/a--
FreeBSD:16:latest--n/a-n/an/a--
 
py312-dirhash
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--n/an/an/an/an/an/a
FreeBSD:13:quarterly--n/an/an/an/an/an/a
FreeBSD:14:latest0.5.00.5.0--0.5.0---
FreeBSD:14:quarterly0.2.1_20.2.1_2--0.2.1_2---
FreeBSD:15:latest0.5.00.5.0n/a-n/an/a--
FreeBSD:15:quarterly0.2.1_20.2.1_2n/a-n/an/a--
FreeBSD:16:latest0.5.00.5.0n/a-n/an/a--
 
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py312-versioneer>0 : devel/py-versioneer@py312
  2. py312-setuptools>=63.1.0 : devel/py-setuptools@py312
  3. python3.12 : lang/python312
Test dependencies:
  1. python3.12 : lang/python312
Runtime dependencies:
  1. py312-scantree>0 : devel/py-scantree@py312
  2. python3.12 : lang/python312
This port is required by:
for Run
  1. security/caldera

Deleted ports which required this port:

Expand this list of 1 deleted port
  1. security/caldera4*
  2. Collapse this list of deleted ports.
* - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...

Configuration Options:
No options to configure
Options name:
security_py-dirhash
USES:
python
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (2 items)
Collapse this list.
  1. https://files.pythonhosted.org/packages/source/d/dirhash/
  2. https://pypi.org/packages/source/d/dirhash/
Collapse this list.

Number of commits found: 7

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.5.0
27 Aug 2026 01:13:04
commit hash: 3cc2ef380f8e0ef6640d92cb3b4514813d8bf3f7commit hash: 3cc2ef380f8e0ef6640d92cb3b4514813d8bf3f7commit hash: 3cc2ef380f8e0ef6640d92cb3b4514813d8bf3f7commit hash: 3cc2ef380f8e0ef6640d92cb3b4514813d8bf3f7 files touched by this commit
Jose Alonso Cardenas Marquez (acm) search for other commits by this committer
security/py-dirhash: Fix build

Reported by:	pkg-fallout
0.5.0
26 Aug 2026 05:14:16
commit hash: 5d15c7cf7e0da6867c8e777f34e54a26650b0092commit hash: 5d15c7cf7e0da6867c8e777f34e54a26650b0092commit hash: 5d15c7cf7e0da6867c8e777f34e54a26650b0092commit hash: 5d15c7cf7e0da6867c8e777f34e54a26650b0092 files touched by this commit
Jose Alonso Cardenas Marquez (acm) search for other commits by this committer
security/py-dirhash: Update to 0.5.0
0.2.1_2
08 Mar 2025 04:05:21
commit hash: 06a08e69f3acb846ad8252945f53c3a2d211e303commit hash: 06a08e69f3acb846ad8252945f53c3a2d211e303commit hash: 06a08e69f3acb846ad8252945f53c3a2d211e303commit hash: 06a08e69f3acb846ad8252945f53c3a2d211e303 files touched by this commit
Charlie Li (vishwin) search for other commits by this committer
python: bump all USE_PYTHON=distutils consumers after RUN_DEPENDS removal

Any missed ports, feel free to bump.

Any ports that need setuptools at runtime can have the devel/py-setuptools
manually added back to RUN_DEPENDS, but understand that this practice
is deprecated; see CHANGES for details.
0.2.1_1
15 Aug 2024 11:47:44
commit hash: f47cf2b4f86167dceea307c8b4f1d954054c7cb0commit hash: f47cf2b4f86167dceea307c8b4f1d954054c7cb0commit hash: f47cf2b4f86167dceea307c8b4f1d954054c7cb0commit hash: f47cf2b4f86167dceea307c8b4f1d954054c7cb0 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
security/py-dirhash: Add NO_ARCH

Approved by:	portmgr (blanket)
0.2.1_1
17 Jan 2024 07:56:48
commit hash: 000aa91f5a62b82e62dc3de25af7458519edf888commit hash: 000aa91f5a62b82e62dc3de25af7458519edf888commit hash: 000aa91f5a62b82e62dc3de25af7458519edf888commit hash: 000aa91f5a62b82e62dc3de25af7458519edf888 files touched by this commit
Ruslan Makhmatkhanov (rm) search for other commits by this committer
devel/py-scantree: update to 0.0.2

This update allows us to eliminate some obsoleted dependencies and to build with
decent python versions.

Changes:
https://github.com/andhus/scantree/releases/tag/v0.0.2

Bump PORTREVISION for dependant port.

PR:		276386
Approved by:	acm (maintainer)
0.2.1
27 Jun 2023 19:34:34
commit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacb files touched by this commit
Rene Ladan (rene) search for other commits by this committer
all: remove explicit versions in USES=python for "3.x+"

The logic in USES=python will automatically convert this to 3.8+ by
itself.

Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.

finance/quickfix: mark BROKEN with PYTHON

libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp  -fPIC -DPIC -o
.libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
          ^~~~~~~~~~
1 warning and 1 error generated.

Reviewed by:	portmgr, vishwin, yuri
Differential Revision:	<https://reviews.freebsd.org/D40568>
0.2.1
20 Apr 2023 02:26:22
commit hash: ddef0735eee94237922e0e7b76d3f1566f5d10fbcommit hash: ddef0735eee94237922e0e7b76d3f1566f5d10fbcommit hash: ddef0735eee94237922e0e7b76d3f1566f5d10fbcommit hash: ddef0735eee94237922e0e7b76d3f1566f5d10fb files touched by this commit
Jose Alonso Cardenas Marquez (acm) search for other commits by this committer
security/py-dirhash: New port: Python module and CLI for hashing of file system
directories

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.

Number of commits found: 7