New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
clamav: use pcre2, add libxml2, bzip2 dependencies #54096
Conversation
Switch from pcre dependency to pcre2. Pcre is an older project and lacks some optimizations and bug fixes found in pcre2. Adds missing libxml2 dependency and bzip2 dependency (from macOS). Enables LLVM bytecode runtime. It is faster than the bytecode interpreter (default). Switch libjson-c linking to static, to prevent possible crashes with applications that link with libclamav and another JSON library. Add libiconv dependency. Libiconv detection in ClamAV appears to be a little bit broken, but this may fix the macOS 10.13 build.
1eac52f
to
4d4b7ff
Compare
|
Updated commit to:
|
|
It helped! I think this PR is ready for merge. |
|
Thanks @micahsnyder!! |
|
|
@chenrui333 I'm seeing the following issue when I try to install now. Did I screw something up? Was there a hash for the bottle that I was supposed to manually update? |
|
Perhaps you are still on your branch locally? The bottle hash commit is pushed to master while merging: 26718d5 |
That was it, thanks! |
This last patch has an unusual problem that I'm trying to track down as to whether it's this latest build or the VirusDB from ClamAV. Currently, the main.cvd and daily.cvd pass the database test but the bytecode.cvd fails. Plus, manually pushing the bytecode.cvd to the share directory where it should resides causes a SegFault 11 with the 'clamscan'. Here's the current output.
If it failed for all three DBs then I would feel more assured that it was the ClamAV install. Anyone else having this odd problem? |
|
regression of Homebrew/legacy-homebrew#41152 ? |
Switch from pcre dependency to pcre2. Pcre is an older project
and lacks some optimizations and bug fixes found in pcre2.
Adds missing libxml2 dependency and bzip2 dependency (from macOS).
brew install --build-from-source <formula>, where<formula>is the name of the formula you're submitting?brew test <formula>, where<formula>is the name of the formula you're submitting?brew audit --strict <formula>(after doingbrew install <formula>)?