Bug 264101 - security/clamav: Update to 0.105.0
Summary: security/clamav: Update to 0.105.0
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Yasuhiro Kimura
URL: https://blog.clamav.net/2022/05/clama...
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-20 12:49 UTC by Dan Langille
Modified: 2022-05-25 00:04 UTC (History)
1 user (show)

See Also:
koobs: maintainer-feedback+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dan Langille freebsd_committer freebsd_triage 2022-05-20 12:49:30 UTC
I tried to create a patch by updating PORTREVISION and make makesum, but my testport fails with the following.

-- Rust tool `bindgen` not found.
CMake Error at cmake/FindRust.cmake:289 (string):
  string sub-command STRIP requires two arguments.
Call Stack (most recent call first):
  CMakeLists.txt:124 (find_package)


CMake Error at /usr/local/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  Could NOT find Rust (missing: cargo_EXECUTABLE)
Call Stack (most recent call first):
  /usr/local/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
  cmake/FindRust.cmake:315 (find_package_handle_standard_args)
  CMakeLists.txt:124 (find_package)


-- Configuring incomplete, errors occurred!
See also "/wrkdirs/usr/ports/security/clamav/work/.build/CMakeFiles/CMakeOutput.log".
*** Error code 1
Comment 1 Kubilay Kocak freebsd_committer freebsd_triage 2022-05-21 02:33:19 UTC
^Triage: Note, security/clamav-lts (0.103.5) is currently vulnerable (fixed in 0.103.6), which was not updated along with with security/clamav as part of bug 263944 for the same security fixes.

I would strongly suggest looking to resolve that issue first.

@Maintainer let me know if you'd like a separate issue for this, otherwise feel free to address it via this issue, and ill triage it accordingly.
Comment 2 Yasuhiro Kimura freebsd_committer freebsd_triage 2022-05-23 11:16:07 UTC
Updated to 0.105.0 with ports c8e4b9ea29d3.
Comment 3 Dan Langille freebsd_committer freebsd_triage 2022-05-24 12:06:02 UTC
I'm seeing build failures on FreeBSD 13, 13.1, and 12.3 - the fix is removal of this from pkg-plist:

%%DOCSDIR%%/html/community_resources/CommunityResources.html

I will commit a fix soon.
Comment 4 Dan Langille freebsd_committer freebsd_triage 2022-05-24 14:05:02 UTC
To clarify, these are 'poudriere testport' errors. 'poudriere bulk' succeeds.
Comment 5 commit-hook freebsd_committer freebsd_triage 2022-05-24 20:46:33 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=634c8611ff100cdbcdb09f8ffa49fe3bb43f1098

commit 634c8611ff100cdbcdb09f8ffa49fe3bb43f1098
Author:     Dan Langille <dvl@FreeBSD.org>
AuthorDate: 2022-05-24 20:40:48 +0000
Commit:     Yasuhiro Kimura <yasu@FreeBSD.org>
CommitDate: 2022-05-24 20:45:27 +0000

    security/clamav: Fix plist

    PR:             264101
    Fixes:          c8e4b9ea29d3 (security/clamav: Update to 0.105.0)

 security/clamav/pkg-plist | 1 -
 1 file changed, 1 deletion(-)
Comment 6 Yasuhiro Kimura freebsd_committer freebsd_triage 2022-05-24 20:48:21 UTC
(In reply to Dan Langille from comment #3)

Thanks for reporting it.