ClamAV is an open-source (GPL) anti-virus engine used in a variety of
situations, including email and web scanning, and endpoint
security. It provides many utilities for users, including a flexible
and scalable multi-threaded daemon, a command-line scanner and an
advanced tool for automatic database updates.
This is Regular (non-LTS) Feature Release of ClamAV.
===> The following configuration options are available for clamav-1.5.4_2,1:
ARC=on: Enable arch archives support
ARJ=on: Enable arj archives support
DOCS=on: Build and/or install documentation
EXPERIMENTAL=off: Build experimental code
MILTER=on: Compile the milter interface
STDERR=off: Print logs to stderr instead of stdout
TEST=off: Build and/or run tests
UNRAR=on: RAR decompression support
UNZOO=on: Enable zoo archives support
===> Use 'make config' to modify these settings
Reason:
After security/clamav is updated to 1.5.0, some users report that build
fails as below.
/usr/ports/security/clamav/work/clamav-1.5.1/libclamav/others.c:623:23: error: use of undeclared identifier 'CERTSDIR'
623 | cvdcertsdir = CERTSDIR;
| ^
1 warning and 1 error generated.
ninja: build stopped: subcommand failed.
*** Error code 1
The error seems to happen with following conditions.
* Non-base SSL stack is used. That is, in /etc/make.conf there is such
setting as 'DEFAULT_VERSIONS+=ssl=openssl'.
* Previous version (1.4.3) of clamav package is already installed.
If you face it, you can work around it by uninstalling current clamav
package first.
Affects: users of security/clamav, security/clamav-lts
Author: netchildFreeBSD.org
Reason:
The start scripts of clamav have been renamed to clamav_clamd,
clamav_freshclam and clamav_milter for improved compatibility with
other parts of the system. The automatic start at boot (rc.conf
variable settings) is not affected, but if you have some other
automatism you may want to change
".../etc/rc.d/clamav-clamd" to ".../etc/rc.d/clamav_clamd"
".../etc/rc.d/clamav-freshclam" to ".../etc/rc.d/clamav_freshclam"
".../etc/rc.d/clamav-milter" to ".../etc/rc.d/clamav_milter"
or
"service clamav-clamd ..." to "service clamav_clamd ..."
"service clamav-freshclam" to "service clamav_freshclam ..."
"service clamav-milter ..." to "service clamav_milter ..."
2022-12-15
Affects: users of security/clamav
Author: yasu@FreeBSD.org
Reason:
Many users report that after updating ClamAV to 1.0.0 clamd and
freshclam fails to start with integrity check error of
databases. According to the result of investigation it happens with
following conditions.
1. ClamAV is built on non-cleanroom environment (that is, neither
FreeBSD official ClamAV package is used nor the package is built
by user with poudriere).
2. math/tomsfastmath is installed in the system that ClamAV is
built.
So if the errror happens on you system, uninstall TomsFastMath first
and then rebuild and reinstall ClamAV. The problem should disappear.
2021-10-07
Affects: users of security/clamav
Author: yasu@FreeBSD.org
Reason:
Upstream changed end-of-life policy and introduced long time support
(LTS) feature release.
* LTS feature release will be identified approximately every two
years and supported for at least three years from the initial
publication date of that LTS feature version.
* Regular (non-LTS) feature releases will be supported for at least
four months from the initial publication date of the next feature
release or until the feature release after that is published.
According to it new port security/clamav-lts is added for users who
want to use LTS version of ClamAV.
Users wanting to switch to LTS version can replace security/clamav
with security/clamav-lts with one of following commands.
If you use pkg with binary packages:
# pkg set -o security/clamav:security/clamav-lts
# pkg upgrade
If you use portmaster:
# portmaster -o security/clamav-lts security/clamav
If you use portupgrade:
# portupgrade -o security/clamav-lts security/clamav
*/*: Return to pool
I'll be away from keyboard soon and am not sure if I will return. So
return all ports that I currently maintain to pool hoping new
volunteers take care of them.
security/clamav: fix build with lld 17
Building security/clamav with lld 17 results in the following link
errors:
ld: error: version script assignment of 'CLAMAV_PRIVATE' to symbol
'cli_cvdunpack' failed: symbol not defined
ld: error: version script assignment of 'CLAMAV_PRIVATE' to symbol
'cli_dbgmsg_internal' failed: symbol not defined
ld: error: version script assignment of 'CLAMAV_PRIVATE' to symbol
'init_domainlist' failed: symbol not defined
ld: error: version script assignment of 'CLAMAV_PRIVATE' to symbol
'init_whitelist' failed: symbol not defined
ld: error: version script assignment of 'CLAMAV_PRIVATE' to symbol
'cli_parse_add' failed: symbol not defined
ld: error: version script assignment of 'CLAMAV_PRIVATE' to symbol
'cli_bytecode_context_clear' failed: symbol not defined
cc: error: linker command failed with exit code 1 (use -v to see invocation)
Most of the mentioned symbols no longer exist anywhere in clamav's
source code, except 'cli_cvdunpack', but it is a static function so it
is not visible to external consumers. Remove all the undefined symbols
from the linker version script to fix the build.
PR: 274332
Approved by: yasu (maintainer)
MFH: 2023Q4
security/{clamav,clamav-lts}: Fix build with non-default openssl setting
Add arguments to CMAKE_ARGS that specify paths related to openssl so
header files and libraies of selected openssl stack are used instead
of the ones of base system.
PR: 273659
Reported by: doctor@doctor.nl2k.ab.ca, Andrey Pevnev
MFH: 2023Q3
security/clamav: Update to 1.0.0
* Switch to use bundled TomsFastMath library. Upstream made
incompatible change to bundled copy and this makes it impossible to
use external one. They also dropped option to use it.
* Bump PORTREVISION of consumers as shlib version is changed.
* Note that though this is new LTS feature release security/clamav-lts
stays in 0.103.x until either next regular feature release (probably
1.1.0) is released or 0.103.x reaches its EoL.
ReleaseNotes: https://blog.clamav.net/2022/11/clamav-100-lts-released.html
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
rust: bring back update to 1.63
Revert back the revert of the update of rust and related commits
This revert was drive by beside validation by portmgr via exp-run
and not respectful of the etiquette we have between committers
This reverts commit 8ecb1f8141144c1603eb4026122d2e60eeaccd64.
This reverts commit 04d257baa182926cff158f32cf459e560426add0.
This reverts commit 2757c63bd0e6d01f9f0657fe03bb3a7b49adcae2.
This reverts commit 75f4713de5e3fbd1c6a0cb572e08121814a4072e.
This reverts commit e88e592111c86fdd1c0ac8717dbef9342e15e27c.
This reverts commit 783c056d7d681d66e2c5c59251c275d65274028e.
With hat: portmgr
textproc/libxml2: bump all LIB_DEPENDS consumers
This is a separate commit to facilitate easier cherry-picking for
quarterly.
PR: 262853, 262940, 262877, 263126
Approved by: fluffy (mentor)
textproc/libxml2: bump all dependencies
This should make sure that all dependent ports will pick
up the new version commited with a13ec21cd733f67a9fc0dc00ab45268bdc236246
*/*: Remove redundant '-[0-9]*' from CONFLICTS_INSTALL
The conflict checks compare the patterns first against the package
names without version (as reported by "pkg query "%n"), then - if
there was no match - agsinst the full package names including the
version (as reported by "pkg query "%n-%v").
Approved by: portmgr (blanket)
security/clamav: Update to 0.104.0
* Upstream changed build tool from GNU Autotools to CMake
* Set TEST_TARGET
* Add pre-test-TESTS-off target to display message that TESTS option
needs to be enabled to execute `make test`
* Switch to use pkg-messge instead of pkg-deinstall to display message
for those who removes ClamAV permanently from you system
* Stop checking in rc scripts if /var/run/clamav exists
* Pet portclippy
* Reformat Makefile with portfmt
Release Notes: https://blog.clamav.net/2021/09/clamav-01040-released.html
PR: 258565
Differential Revision: https://reviews.freebsd.org/D32354
security/clamav-lts: Add new port
* Add Long Term Support release of ClamAV
* Add CONFLICTS_INSTALL to security/clamav
* Add entry to UPDATING that explains
- Upstream changed their end-of-life policy and LTS release is
introduced
- How to switch from regular release (security/clamav) to LTS
release (security/clamav-lts)
Note about setting PORTEPOCH
In general new port should not set PORTEPOCH. But in this case it
should be set with following reason.
(Only the first 15 lines of the commit message are shown above )
security/clamav: Fix build after r541115
Fix build when base system is built with WITHOUT_SENDMAIL=yes
PR: 247792
Submitted by: Yasuhiro KIMURA <yasu@utahime.org> (maintainer)