# Suppressions for the self-contained python3-site24x7-agent build. The
# package ships a private CPython 3.12 + venv under /opt/site24x7, plus the
# vendor's monagent payload (with its own bundled OpenSSL, PEM bundle and
# wheel cache). Most of these tags fire because lintian assumes any binary
# should be a clean Debian-policy citizen; for a self-contained bundle that
# specifically does not depend on system Python or system OpenSSL, the
# expectations don't apply. The list mirrors the rpmlintrc on the RPM side.

# Self-contained install rooted at /opt -----------------------------------
python3-site24x7-agent: dir-or-file-in-opt
python3-site24x7-agent: file-in-unusual-dir

# Bundled CPython sets RPATH so the interpreter and venv find their own
# libpython3.12.so.1.0 without LD_LIBRARY_PATH or ldconfig entries.
python3-site24x7-agent: binary-or-shlib-defines-rpath
python3-site24x7-agent: shared-library-lacks-prerequisites
python3-site24x7-agent: shlib-with-non-pic-code
python3-site24x7-agent: sharedobject-in-library-directory-missing-soname
python3-site24x7-agent: no-symbols-control-file

# Bundled / vendored libraries (the whole point of the bundle).
python3-site24x7-agent: embedded-library
python3-site24x7-agent: embedded-python-module

# pip writes .pyc into the venv; mtimes vs source files don't match.
python3-site24x7-agent: package-installs-python-bytecode
python3-site24x7-agent: python-bytecode-out-of-date
python3-site24x7-agent: python-bytecode-without-source
python3-site24x7-agent: package-installs-python-pycache-dir

# Vendor + bundled scripts have shebangs lintian doesn't like (env python3
# vs /opt/site24x7/venv/bin/python, no shebang on data files marked +x, ...).
python3-site24x7-agent: script-not-executable
python3-site24x7-agent: executable-not-elf-or-script
python3-site24x7-agent: unusual-interpreter
python3-site24x7-agent: interpreter-not-absolute
python3-site24x7-agent: wrong-path-for-interpreter
python3-site24x7-agent: example-unusual-interpreter
python3-site24x7-agent: python-script-but-no-python-dep
python3-site24x7-agent: missing-dep-on-mime-support

# Native helper (statically built by the vendor's Makefile) + bundled binaries.
python3-site24x7-agent: statically-linked-binary
python3-site24x7-agent: unstripped-binary-or-object
python3-site24x7-agent: binary-without-manpage
python3-site24x7-agent: hardening-no-pie
python3-site24x7-agent: hardening-no-bindnow
python3-site24x7-agent: hardening-no-fortify-functions
python3-site24x7-agent: hardening-no-relro

# Vendor LICENSE files include the old FSF address.
python3-site24x7-agent: incorrect-fsf-address

# monagent.cfg lives in /opt, not /etc - intentional, the agent reads it from
# its install tree (see WorkingDirectory in the systemd unit).
python3-site24x7-agent: file-in-etc-not-marked-as-conffile
python3-site24x7-agent: non-etc-file-marked-as-conffile

# postrm `rm -rf /opt/site24x7` on purge is intentional - it removes logs,
# the venv's pyc cache and other dpkg-untracked runtime state.
python3-site24x7-agent: maintainer-script-removes-device-files
python3-site24x7-agent: uses-dpkg-database-directly

# Vendor docs have spelling lintian objects to.
python3-site24x7-agent: spelling-error-in-binary
python3-site24x7-agent: spelling-error-in-description

# Bundled certificate material (vendor ships its own CA chain + tls.crt).
python3-site24x7-agent: extra-license-file
python3-site24x7-agent: package-contains-vcs-control-file

# Vendor ships duplicate zip + extracted copies of the same data file.
python3-site24x7-agent: duplicate-files
python3-site24x7-agent: package-contains-empty-directory
