|
|
@@ -22,7 +22,7 @@ override_dh_auto_build:
|
|
|
@echo "=== Build complete ==="
|
|
|
|
|
|
override_dh_auto_install:
|
|
|
- # ── Application directories ──────────────────────────────────────────
|
|
|
+ # ── Application directories ───────────────────────────squid───────────────
|
|
|
install -d $(APP_DEST)
|
|
|
install -d $(VENV_DEST)
|
|
|
install -d $(DESTDIR)/etc/$(PACKAGE)
|
|
|
@@ -64,9 +64,13 @@ override_dh_auto_test:
|
|
|
override_dh_strip:
|
|
|
dh_strip --no-automatic-dbgsym
|
|
|
|
|
|
-# Disable shlibdeps for the venv contents – they are self-contained
|
|
|
+# Exclude the bundled venv from ELF dependency scanning.
|
|
|
+# All native libraries (psycopg2-binary, cryptography, bcrypt, etc.) ship
|
|
|
+# as manylinux wheels inside the venv and carry their own shared libs,
|
|
|
+# so auto-detected system deps like libldap-2.5-0 / libpq5 / libssl are
|
|
|
+# wrong and break cross-distro portability.
|
|
|
override_dh_shlibdeps:
|
|
|
- dh_shlibdeps --dpkg-shlibdeps-params=--ignore-missing-info || true
|
|
|
+ dh_shlibdeps -X/opt/squidstats/venv/
|
|
|
|
|
|
override_dh_dwz:
|
|
|
# Skip DWZ compression for bundled venv Python extension modules.
|