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 photosAll times are UTC
Ukraine

Newsfeed changes

The news feed page[s] were not laid out well. Two pages, disjointed information, hard to figure out how to use the optional parameters...

Thankfully, someone told me.

The new page is ready for your review. Please compare these two:

You may also be interested in the Github issue.
Port details
py-dirhash Python module and CLI for hashing of file system directories
0.2.1_2 security on this many watch lists=2 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: 2025-03-08 04:05:21
Commit Hash: 06a08e6
People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py311-PyOpenGL, p5-Sane
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.
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 py311-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 py311-dirhash listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py311-dirhash
Package flavors (<flavor>: <package>)
  • py311: py311-dirhash
distinfo:
TIMESTAMP = 1681956003 SHA256 (dirhash-0.2.1.tar.gz) = 31bf8192fbb6e09a2a7ff4de31b9eb127c58545af22125ca1fa67c91c8e2d898 SIZE (dirhash-0.2.1.tar.gz) = 13833

Packages (timestamps in pop-ups are UTC):
py39-dirhash
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--------
FreeBSD:13:quarterly--0.2.1--0.2.10.2.10.2.1
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/a0.2.1_10.2.1_10.2.1_1
 

py311-dirhash
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest0.2.1_20.2.1_2-0.2.1_20.2.1_2---
FreeBSD:13:quarterly0.2.1_10.2.1_2-0.2.1_10.2.1_2---
FreeBSD:14:latest0.2.1_20.2.1_2-0.2.1_20.2.1_2---
FreeBSD:14:quarterly0.2.1_10.2.1_2-0.2.1_10.2.1_2---
FreeBSD:15:latest0.2.1_20.2.1_2n/a0.2.1_2n/a---
 

Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py311-setuptools>=63.1.0 : devel/py-setuptools@py311
  2. python3.11 : lang/python311
Test dependencies:
  1. python3.11 : lang/python311
Runtime dependencies:
  1. py311-scantree>0 : devel/py-scantree@py311
  2. python3.11 : lang/python311
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: 5

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
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: 5