[Clamav-devel] Second ClamAV 1.0.0 release candidate AND updated packages for 0.105.1
Mark Allan
markjallan at gmail.com
Wed Nov 23 10:02:32 UTC 2022
> On 19 Nov 2022, at 1:29 pm, G.W. Haywood <clamav-devel at jubileegroup.co.uk> wrote:
>
> On Sat, 19 Nov 2022, Mark Allan wrote:
>
>> I'm trying to build the ClamAV 1.0.0 RC and saw this in the documentation
>> "Some of the dependencies are optional if you elect to not build all
>> of the command line applications, or elect to only build the
>> libclamav library. Specifically:
>> libcurl: required for libfreshclam, freshclam, clamsubmit, clamonacc
>> ncurses: required for clamdtop"
>> I don't need any of those binaries but I can't see how to specify
>> that in the CMake configuration call. I've had a look at the
>> INSTALL.md file within the source directory but the only feature I
>> seem to be able to disable is "clamonacc". The ENABLE_APP option
>> seems to turn on/off all of the programs rather than letting me pick
>> and choose.
>> All I really need is clamd, clamdscan, clamscan and sigtool. Is
>> there a way to achieve that without building everything and deleting
>> the bits I don't want?
>
> DISCLAIMER: The CMake system is completely new to me so I don't know
> what the "correct" way to do things like this might be, but if you
> look at around line 1051 in CMakeLists.txt you'll see this:
>
> 8<----------------------------------------------------------------------
> <snip>
> 8<----------------------------------------------------------------------
>
> My guess from that (because of the part about ENABLE_MILTER) is that
> if you simply edit this file to prevent creation of the subdirectories
> for the relevant binaries you'll at least prevent them from being
> built. Whether the result will be what you want remains to be seen...
>
> Ged.
Hi Ged,
Many thanks for this, it's extremely helpful and does *appear* to do the right thing. I'll obviously need to do a lot more testing, but you've set me on the right path!
Thanks again
Mark
More information about the clamav-devel
mailing list