Created attachment 567566 [details] havp-0.93.ebuild After upgrade clamav to clamav-0.101.0 today compile of havp-0.92a-r2 failed with /usr/include/clamav.h:68:10: schwerwiegender Fehler: cltypes.h: Datei oder Verzeichnis nicht gefunden #include "cltypes.h" (sorry for german error-message, means error: cltypes.h not found, unable to reproduce this build with LANG=C) There is a post on clamav-blog about cltypes.h: https://blog.clamav.net/2018/12/libclamav-missing-headers-issue.html Only bug I could find related is: https://bugs.gentoo.org/672576 Solution is to add =app-antivirus/clamav-0.101.1 ~amd64 to package.keywords havp still fails to build but with different error in clamlibscanner.cpp. But there is a new version havp-0.93 on new website http://www.havp.org/ also mentioned on http://www.server-side.de/ ebuild of 0.93 is mainly copying havp-0.92a-r2, fixing SRC_URI to http://www.havp.org/download/havp-0.93.tar.gz and fixing ${P}-pkg-config-libclamav.patch in line 52 from - AC_DEFINE(USECLAMLIB) to - AC_DEFINE(USECLAMLIB, 1, [Have clamav scanner]) after that havp 0.93 compiles without errors and eicar-text succeeds. I will try to attach pkg-config-libclamav.patch and havp ebuild (if there is no timeout again).
Created attachment 567568 [details, diff] pkg-config-libclamav.patch
just fyi in case someone wants to take this package this compiled fine with current clamav .. also there is a version 0.93 out which can compile without the patch it seems, but didn't test it as i do not need the proxy and setup is a bit of a pain.
This package has been at least 8 years without a maintainer. We should treeclean if we're not willing to package a new version or fix the existing one rather than keep it on life support with old versions of clamav - there are no versions older than 0.103 in-tree.