Debian Patches

Status for dirsearch/0.4.4-2

Patch Description Author Forwarded Bugs Origin Last update
change_config_file_path.patch use /etc/dirsearch as the config file path
install the config file in /etc/dirsearch, not in
/usr/share/dirsearch/dirsearch
Sophie Brun <sophie@offensive-security.com> no
fix_setup_requirements.patch read requirements and version directly in setup.py
The 0.4.4 upstream tarball removed lib/core/installation.py, but setup.py
still imports get_dependencies() from that module. It also imports VERSION
from lib.core.settings, which fails under PEP 517 isolated builds because
the lib package is not on sys.path. Read requirements.txt directly and
hardcode the version to avoid importing lib during build.


===================================================================
Clay Stan <claystan97@gmail.com> no 2026-06-26
use_stdlib_csv.patch use the standard library csv module
dirsearch 0.4.4 imports defusedcsv unconditionally through the report manager,
but defusedcsv is not packaged in Debian. Use Python's standard csv module so
the command can start without a non-Debian runtime dependency.


===================================================================
Clay Stan <claystan97@gmail.com> not-needed 2026-06-26
fix_upstream_version.patch set the runtime version to 0.4.4
The upstream v0.4.4 tag still ships lib/core/settings.py with VERSION set to
0.4.3, which makes dirsearch --version report the previous release.


===================================================================
Clay Stan <claystan97@gmail.com> no 2026-06-26
add_pyproject_toml.patch add pyproject.toml for PEP 517 build system
The upstream tarball does not include a pyproject.toml, so pybuild
falls back to the deprecated setup.py install mechanism which produces
legacy .egg-info directories. Add a minimal pyproject.toml to enable
PEP 517 builds via pybuild-plugin-pyproject, which generates .dist-info
instead.


===================================================================
Clay Stan <claystan97@gmail.com> no 2026-06-26

All known versions for source package 'dirsearch'

Links