Thanks Yasuhiro!

Jerry:

Our ability to easily build installers/packages for different operating systems 
is enabled by CMake's CPack tool.

The CMake/CPack documentation has instructions for a FreeBSD package generator 
(https://cmake.org/cmake/help/latest/cpack_gen/freebsd.html), but when I went 
to use it, it the FreeBSD generator was missing. I was in a bit of a rush, so I 
didn't investigate it further, but now I see that CMake, as provided by the 
FreeBSD packaging/ports system, disabled the FreeBSD CPack generator by 
default. They marked it as "experimental". See: 
https://stackoverflow.com/questions/65814753/how-to-tell-cpack-to-use-the-freebsd-generator

In a VM just now, I was able to configure & install cmake with FreeBSD CPack 
generator support through ports so it provides the feature. I was then able to 
use it to build a .txz package using roughly the same method as for the Linux 
packages.  It seems to be working, at least on the same system.  I'll have to 
investigate if I can add it to our CI system.  I will probably need a minor 
change to our CMakeLists.txt to automatically get "freebsd.<arch>" into the 
package file name.

Related: I would like to add Linux ARM64 packages as well, but don't have 
machines attached to Jenkins to build and test them yet.

But no promises on getting these working in time for 0.104 stable release.  
Thankfully, Yasuhiro takes good care of the FreeBSD community.  And I have no 
plan to recommend our packages over those provided by FreeBSD, Debian, EPEL, 
etc.  I just hope the new packages will make it easier for some folks who 
aren't as lucky, and for people to try out release candidates and such.

Micah Snyder
ClamAV Development
Talos
Cisco Systems, Inc.
________________________________
From: clamav-users <clamav-users-boun...@lists.clamav.net> on behalf of 
Yasuhiro Kimura <y...@utahime.org>
Sent: Saturday, August 21, 2021 4:16 AM
To: clamav-users@lists.clamav.net <clamav-users@lists.clamav.net>
Subject: Re: [clamav-users] ClamAV® blog: ClamAV 0.104.0 Second Release 
Candidate is here!

Hello Jerry.

From: Jerry Seibert via clamav-users <clamav-users@lists.clamav.net>
Subject: Re: [clamav-users] ClamAV® blog: ClamAV 0.104.0 Second Release 
Candidate is here!
Date: Sat, 21 Aug 2021 06:43:18 -0400

> On Thu, 19 Aug 2021 20:41:01 +0000, Joel Esler \(jesler\) via
> clamav-users stated:
>>ClamAV 0.104.0 Second Release Candidate is here!
>
> Is there any specific reason that you do not have a FreeBSD package
> available?

At first, ClamAV team don't provide ClamAV package for FreeBSD. It is
provided by FreeBSD project as one of FreeBSD ports/packages
collections. And I'm current maintainer of ClamAV port/package.

Next, currently only release version of ClavAV port/package is
provided. So if you use official FreeBSD ports/packages, you can't use
release candidate of ClamAV.

And at last, though there isn't release candidate of ClamAV in
official FreeBSD ports/packages, I have ported 0.104.0.rc2 and
committed it to my working repostory on GitHub.

https://github.com/yasuhirokimura/freebsd-ports/tree/clamav

So if you don't mind building package by yourself, You can test latest
release candidate of ClamAV on FreeBSD by checking out ports tree,
building packages by yourself and installing it to your systems.

Please keep in mind thet above ports tree is private working branch.
That is, it will be updated to next release candidate if it is
released. It will be updated to 0.104.0 release when it is release.
And it will be removed from the repository after official FreeBSD
ClamAV port/package is updated to 0.104.0 release.

---
Yasuhiro Kimura

_______________________________________________

clamav-users mailing list
clamav-users@lists.clamav.net
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml
_______________________________________________

clamav-users mailing list
clamav-users@lists.clamav.net
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml

Reply via email to