mirror of
https://github.com/xroche/httrack.git
synced 2026-06-26 12:07:54 +03:00
httrack statically links its own patched minizip (src/minizip): it carries a zipFlush() API the system libminizip lacks, which htscache.c uses to flush the cache .zip so an interrupted crawl leaves a valid archive, plus Android and old-zlib portability fixes. The system library can't be substituted until that lands upstream, so add justified lintian overrides for the resulting embedded-library tag on libhttrack3 and proxytrack. The tag never showed in CI because the deb job built and linted on the Ubuntu runner, whose lintian predates the minizip fingerprint; it only fires on the newer lintian the Debian buildds and UDD run. Build and lint the package inside a debian:sid container instead, matching the upload target. That also keeps the archive legal: a Debian dpkg-deb writes xz members where an Ubuntu host defaults to zstd, which Debian's lintian rejects as a malformed deb. And being unable to unpack a zstd member, lintian never scans the binaries the embedded-library check reads, so the override would otherwise have looked unused. Signed-off-by: Xavier Roche <roche@httrack.com> Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>