Just in case someone else is looking for this. I've already started looking into this, but I am having some issues at the moment so going to have a look at it again tomorrow. (I suspect they have to do with the libcurl dep of freshclam and clamsubmit) I plan to also add clamsubmit support this time.
for the curious here's the error: # freshclam ClamAV update process started at Wed Oct 2 23:33:46 2019 ERROR: Failed to change back to original directory /root double free or corruption (top) Aborted if freshclam is ran from a directory that any user has access to (like / or /tmp ) then it works as expected.. will investigate (freshclam -d seems to run fine)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1668550d4519cec84c3b6be3b5e0e142175a5c18 commit 1668550d4519cec84c3b6be3b5e0e142175a5c18 Author: Thomas Raschbacher <lordvan@gentoo.org> AuthorDate: 2019-10-13 21:05:46 +0000 Commit: Thomas Raschbacher <lordvan@gentoo.org> CommitDate: 2019-10-13 21:06:19 +0000 app-antivirus/clamav: version bump Also adding new use flags for clamdsubmit and libclamav-only. clamdsubmit and freshclam now depend on curl (and json-c) Closes: https://bugs.gentoo.org/696082 Closes: https://bugs.gentoo.org/696082 Package-Manager: Portage-2.3.75, Repoman-2.3.17 Signed-off-by: Thomas Raschbacher <lordvan@gentoo.org> app-antivirus/clamav/Manifest | 1 + app-antivirus/clamav/clamav-0.102.0.ebuild | 196 +++++++++++++++++++++++++++++ app-antivirus/clamav/metadata.xml | 2 + 3 files changed, 199 insertions(+) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1668550d4519cec84c3b6be3b5e0e142175a5c18 commit 1668550d4519cec84c3b6be3b5e0e142175a5c18 Author: Thomas Raschbacher <lordvan@gentoo.org> AuthorDate: 2019-10-13 21:05:46 +0000 Commit: Thomas Raschbacher <lordvan@gentoo.org> CommitDate: 2019-10-13 21:06:19 +0000 app-antivirus/clamav: version bump Also adding new use flags for clamdsubmit and libclamav-only. clamdsubmit and freshclam now depend on curl (and json-c) Closes: https://bugs.gentoo.org/696082 Closes: https://bugs.gentoo.org/696082 Package-Manager: Portage-2.3.75, Repoman-2.3.17 Signed-off-by: Thomas Raschbacher <lordvan@gentoo.org> app-antivirus/clamav/Manifest | 1 + app-antivirus/clamav/clamav-0.102.0.ebuild | 196 +++++++++++++++++++++++++++++ app-antivirus/clamav/metadata.xml | 2 + 3 files changed, 199 insertions(+)