# Both overrides below are the direct, documented consequence of this package's "key decision"
# (the now-removed docs/linux-local-deb-packaging-plan.md): privacyfence is deliberately "a Debian package that
# happens to install a bundled PyInstaller binary," the same way signal-desktop, 1password, and
# most Electron/PyInstaller-style .debs ship -- not a package built against python3-* system
# packages. Both tags are lintian's correct, expected reaction to that choice; nothing below is
# hiding an actual defect.

# Everything under /opt/privacyfence is the self-contained PyInstaller onedir bundle (Python
# interpreter + all dependencies) -- exactly the FHS-sanctioned use of /opt for "the installation
# of add-on software packages" that don't integrate with the system package management for their
# internals (Debian policy §9.1.2, cited directly in debian/control's Description and this repo's
# the now-removed docs/linux-local-deb-packaging-plan.md Phase 2).
privacyfence: dir-or-file-in-opt *

# PyInstaller bundles its own copies of several common libraries (bzip2, expat, libxml2, libyaml,
# ncurses, zlib) as part of Python's own C-extension modules and the frozen interpreter itself --
# this is exactly what "no python3-* dependency requirements beyond glibc" (this package's whole
# point) means in practice: these libraries travel with the bundle instead of being declared as
# system dependencies.
privacyfence: embedded-library *

# CPython builds _statistics as a pure math helper: it calls into libm and nothing else, so the
# linker records libm.so.6 as its only prerequisite and lintian reports the missing libc link.
# That is upstream CPython's own build, reproduced byte for byte by PyInstaller when it copies
# the interpreter's extension modules into the bundle -- there is nothing in this package to fix,
# and re-linking a vendored CPython module would be a far bigger change than the tag warrants.
privacyfence: library-not-linked-against-libc *
