notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photos
All times are UTC
Ukraine
The recently imposed "must be logged in" restriction is a response to increased bot traffic on the site. This affects search, commits, and vuxml pages.
Search engines are not blocked. Try using "site:www.freshports.org" and your search terms.
After the ports freeze to fix some stuff, the freeze is over. I have some work to do before FreshPorts can start processing commits again before it can start processing again. I've created an issue for that.
Port details
clamav Open-source (GPL) anti-virus engine (Regular Feature Release)
1.5.4_1,1 security on this many watch lists=335 search for ports that depend on this port An older version of this port was marked as vulnerable. Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 1.5.2_3,1Version of this port present on the latest quarterly branch.
There is no maintainer for this port.
Any concerns regarding this port should be directed to the FreeBSD Ports mailing list via ports@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2003-01-20 03:42:13
Last Update: 2026-09-08 10:38:00
Commit Hash: 7316461
People watching this port, also watch:: libiconv, unzip, gmake, arc
License: GPLv2
WWW:
https://www.clamav.net/
Description:
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.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
pkg-plist: as obtained via: make generate-plist
Expand this list (180 items)
Collapse this list.
  1. @ldconfig
  2. /usr/local/share/licenses/clamav-1.5.4_1,1/catalog.mk
  3. /usr/local/share/licenses/clamav-1.5.4_1,1/LICENSE
  4. /usr/local/share/licenses/clamav-1.5.4_1,1/GPLv2
  5. bin/clamav-config
  6. bin/clambc
  7. bin/clamconf
  8. bin/clamdscan
  9. bin/clamdtop
  10. bin/clamscan
  11. bin/clamsubmit
  12. bin/freshclam
  13. bin/sigtool
  14. etc/certs/clamav.crt
  15. @sample etc/clamav-milter.conf.sample
  16. @sample etc/clamd.conf.sample
  17. @sample etc/freshclam.conf.sample
  18. include/clamav-config.h
  19. include/clamav-types.h
  20. include/clamav-version.h
  21. include/clamav.h
  22. include/libfreshclam.h
  23. lib/libclamav.so
  24. lib/libclamav.so.12
  25. lib/libclamav.so.12.1.0
  26. lib/libclamav_rust.a
  27. lib/libclamunrar.so
  28. lib/libclamunrar.so.12
  29. lib/libclamunrar.so.12.1.0
  30. lib/libclamunrar_iface.so
  31. lib/libclamunrar_iface.so.12
  32. lib/libclamunrar_iface.so.12.1.0
  33. lib/libfreshclam.so
  34. lib/libfreshclam.so.4
  35. lib/libfreshclam.so.4.0.0
  36. libdata/pkgconfig/libclamav.pc
  37. sbin/clamav-milter
  38. sbin/clamd
  39. share/doc/clamav/html/404.html
  40. share/doc/clamav/html/Introduction.html
  41. share/doc/clamav/html/ace-2a3cd908.js
  42. share/doc/clamav/html/appendix/Appendix.html
  43. share/doc/clamav/html/appendix/Authenticode.html
  44. share/doc/clamav/html/appendix/CvdPrivateMirror.html
  45. share/doc/clamav/html/appendix/FileTypes.html
  46. share/doc/clamav/html/appendix/FunctionalityLevels.html
  47. share/doc/clamav/html/appendix/Terminology.html
  48. share/doc/clamav/html/ayu-highlight-3fdfc3ac.css
  49. share/doc/clamav/html/book-a0b12cfe.js
  50. share/doc/clamav/html/clipboard-1626706a.min.js
  51. share/doc/clamav/html/community_resources/CommunityResources.html
  52. share/doc/clamav/html/community_resources/CompileClamAV_AmazonLinux2.txt
  53. share/doc/clamav/html/css/chrome-ae938929.css
  54. share/doc/clamav/html/css/general-8eed8816.css
  55. share/doc/clamav/html/css/print-9e4910d8.css
  56. share/doc/clamav/html/css/variables-6d03f665.css
  57. share/doc/clamav/html/editor-16ca416c.js
  58. share/doc/clamav/html/elasticlunr-ef4e11c1.min.js
  59. share/doc/clamav/html/faq/faq-cvd.html
  60. share/doc/clamav/html/faq/faq-eol.html
  61. share/doc/clamav/html/faq/faq-freshclam.html
  62. share/doc/clamav/html/faq/faq-ignore.html
  63. share/doc/clamav/html/faq/faq-malware-fp-reports.html
  64. share/doc/clamav/html/faq/faq-misc.html
  65. share/doc/clamav/html/faq/faq-ml.html
  66. share/doc/clamav/html/faq/faq-pua.html
  67. share/doc/clamav/html/faq/faq-rust.html
  68. share/doc/clamav/html/faq/faq-safebrowsing.html
  69. share/doc/clamav/html/faq/faq-scan-alerts.html
  70. share/doc/clamav/html/faq/faq-troubleshoot.html
  71. share/doc/clamav/html/faq/faq-uninstall.html
  72. share/doc/clamav/html/faq/faq-upgrade.html
  73. share/doc/clamav/html/faq/faq-whichversion.html
  74. share/doc/clamav/html/faq/faq-win32.html
  75. share/doc/clamav/html/faq/faq.html
  76. share/doc/clamav/html/favicon-ba1b3133.png
  77. share/doc/clamav/html/fonts/OPEN-SANS-LICENSE-cfc7749b.txt
  78. share/doc/clamav/html/fonts/SOURCE-CODE-PRO-LICENSE-d1e6d465.txt
  79. share/doc/clamav/html/fonts/fonts-9644e21d.css
  80. share/doc/clamav/html/fonts/open-sans-v17-all-charsets-300-7736aa35.woff2
  81. share/doc/clamav/html/fonts/open-sans-v17-all-charsets-300italic-2c7b95c0.woff2
  82. share/doc/clamav/html/fonts/open-sans-v17-all-charsets-600-486c6759.woff2
  83. share/doc/clamav/html/fonts/open-sans-v17-all-charsets-600italic-1a3e8659.woff2
  84. share/doc/clamav/html/fonts/open-sans-v17-all-charsets-700-c22fe8c7.woff2
  85. share/doc/clamav/html/fonts/open-sans-v17-all-charsets-700italic-238ae959.woff2
  86. share/doc/clamav/html/fonts/open-sans-v17-all-charsets-800-3d2c812a.woff2
  87. share/doc/clamav/html/fonts/open-sans-v17-all-charsets-800italic-ba1521ec.woff2
  88. share/doc/clamav/html/fonts/open-sans-v17-all-charsets-italic-6c9463f7.woff2
  89. share/doc/clamav/html/fonts/open-sans-v17-all-charsets-regular-2e3b1d34.woff2
  90. share/doc/clamav/html/fonts/source-code-pro-v11-all-charsets-500-2bdd9410.woff2
  91. share/doc/clamav/html/googled62299e9391332c4.html
  92. share/doc/clamav/html/highlight-493f70e1.css
  93. share/doc/clamav/html/highlight-abc7f01d.js
  94. share/doc/clamav/html/images/change-fork-name.png
  95. share/doc/clamav/html/images/cisco.png
  96. share/doc/clamav/html/images/clamav-git-workflow.png
  97. share/doc/clamav/html/images/clone-your-fork.png
  98. share/doc/clamav/html/images/create-a-fork.png
  99. share/doc/clamav/html/images/demon.png
  100. share/doc/clamav/html/images/flamegraph.svg
  101. share/doc/clamav/html/images/fork-is-behind.png
  102. share/doc/clamav/html/images/logo.png
  103. share/doc/clamav/html/index.html
  104. share/doc/clamav/html/manual/Development.html
  105. share/doc/clamav/html/manual/Development/Contribute.html
  106. share/doc/clamav/html/manual/Development/build-installer-packages.html
  107. share/doc/clamav/html/manual/Development/clamav-git-work-flow.html
  108. share/doc/clamav/html/manual/Development/code-coverage.html
  109. share/doc/clamav/html/manual/Development/development-builds.html
  110. share/doc/clamav/html/manual/Development/fuzzing-sanitizers.html
  111. share/doc/clamav/html/manual/Development/github-pr-basics.html
  112. share/doc/clamav/html/manual/Development/libclamav.html
  113. share/doc/clamav/html/manual/Development/performance-profiling.html
  114. share/doc/clamav/html/manual/Development/personal-forks.html
  115. share/doc/clamav/html/manual/Development/testing-pull-requests.html
  116. share/doc/clamav/html/manual/Development/tips-and-tricks.html
  117. share/doc/clamav/html/manual/Installing.html
  118. share/doc/clamav/html/manual/Installing/Add-clamav-user.html
  119. share/doc/clamav/html/manual/Installing/Community-projects.html
  120. share/doc/clamav/html/manual/Installing/Docker.html
  121. share/doc/clamav/html/manual/Installing/Installing-from-source-Unix.html
  122. share/doc/clamav/html/manual/Installing/Installing-from-source-Windows.html
  123. share/doc/clamav/html/manual/Installing/Packages.html
  124. share/doc/clamav/html/manual/OnAccess.html
  125. share/doc/clamav/html/manual/Signatures.html
  126. share/doc/clamav/html/manual/Signatures/AllowLists.html
  127. share/doc/clamav/html/manual/Signatures/AuthenticodeRules.html
  128. share/doc/clamav/html/manual/Signatures/BodySignatureFormat.html
  129. share/doc/clamav/html/manual/Signatures/BytecodeSignatures.html
  130. share/doc/clamav/html/manual/Signatures/ContainerMetadata.html
  131. share/doc/clamav/html/manual/Signatures/DatabaseInfo.html
  132. share/doc/clamav/html/manual/Signatures/DynamicConfig.html
  133. share/doc/clamav/html/manual/Signatures/EncryptedArchives.html
  134. share/doc/clamav/html/manual/Signatures/ExtendedSignatures.html
  135. share/doc/clamav/html/manual/Signatures/FileTypeMagic.html
  136. share/doc/clamav/html/manual/Signatures/HashSignatures.html
  137. share/doc/clamav/html/manual/Signatures/LogicalSignatures.html
  138. share/doc/clamav/html/manual/Signatures/PhishSigs.html
  139. share/doc/clamav/html/manual/Signatures/SignatureNames.html
  140. share/doc/clamav/html/manual/Signatures/YaraRules.html
  141. share/doc/clamav/html/manual/Usage.html
  142. share/doc/clamav/html/manual/Usage/ClamdProtocol.html
  143. share/doc/clamav/html/manual/Usage/Configuration.html
  144. share/doc/clamav/html/manual/Usage/ReportABug.html
  145. share/doc/clamav/html/manual/Usage/Scanning.html
  146. share/doc/clamav/html/manual/Usage/Services.html
  147. share/doc/clamav/html/manual/Usage/SignatureManagement.html
  148. share/doc/clamav/html/manual/cisco-talos.gpg
  149. share/doc/clamav/html/mark-09e88c2c.min.js
  150. share/doc/clamav/html/mermaid-eefea253.min.js
  151. share/doc/clamav/html/mermaid-init-ccf746f1.js
  152. share/doc/clamav/html/mode-rust-2c9d5c9a.js
  153. share/doc/clamav/html/print.html
  154. share/doc/clamav/html/searcher-09f2665d.js
  155. share/doc/clamav/html/searchindex-f120d447.js
  156. share/doc/clamav/html/sitemap.xml
  157. share/doc/clamav/html/theme-dawn-4493f9c8.js
  158. share/doc/clamav/html/theme-tomorrow_night-9dbe62a9.js
  159. share/doc/clamav/html/toc-0c194aa2.js
  160. share/doc/clamav/html/toc.html
  161. share/doc/clamav/html/tomorrow-night-4c0ae647.css
  162. share/man/man1/clambc.1.gz
  163. share/man/man1/clamconf.1.gz
  164. share/man/man1/clamdscan.1.gz
  165. share/man/man1/clamdtop.1.gz
  166. share/man/man1/clamscan.1.gz
  167. share/man/man1/clamsubmit.1.gz
  168. share/man/man1/freshclam.1.gz
  169. share/man/man1/sigtool.1.gz
  170. share/man/man5/clamav-milter.conf.5.gz
  171. share/man/man5/clamd.conf.5.gz
  172. share/man/man5/freshclam.conf.5.gz
  173. share/man/man8/clamav-milter.8.gz
  174. share/man/man8/clamd.8.gz
  175. @dir(clamav,clamav,0755) /var/db/clamav
  176. @dir(clamav,clamav,0755) /var/log/clamav
  177. @dir(clamav,clamav,0755) /var/run/clamav
  178. @owner
  179. @group
  180. @mode
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • clamav_clamd
  • clamav_freshclam
  • clamav_milter
Dependency lines:
  • clamav>0:security/clamav
Conflicts:
CONFLICTS_INSTALL:
  • clamav-lts
To install the port:
cd /usr/ports/security/clamav/ && make install clean
To add the package, run one of these commands:
  • pkg install security/clamav
  • pkg install clamav
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: clamav
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1787686546 SHA256 (clamav-1.5.4.tar.gz) = 1af1117a228f1b5bc7fa91a0dabc37848a99e7d25188e9be8043332ce721dfd3 SIZE (clamav-1.5.4.tar.gz) = 63702396

Packages (timestamps in pop-ups are UTC):
clamav
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest1.5.2_1,11.5.2_2,1n/an/an/an/an/an/a
FreeBSD:13:quarterly1.5.2_1,11.5.2_1,1n/an/an/an/an/an/a
FreeBSD:14:latest1.5.4_1,11.5.4_1,1-1.4.3,11.5.4_1,1--1.1.0_1,1
FreeBSD:14:quarterly1.5.2_3,11.5.2_3,1-1.4.3,11.5.2_3,1-1.2.1_1,11.2.2,1
FreeBSD:15:latest1.5.4_1,11.5.4_1,1n/a1.4.3,1n/an/a1.2.1_2,1-
FreeBSD:15:quarterly1.5.2_3,11.5.2_3,1n/a-n/an/a--
FreeBSD:16:latest1.5.4_1,11.5.4_1,1n/a-n/an/a--
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. rust>=1.56.0 : lang/rust
  2. cmake : devel/cmake-core
  3. ninja : devel/ninja
  4. pkgconf>=1.3.0_1 : devel/pkgconf
Runtime dependencies:
  1. arc : archivers/arc
  2. arj : archivers/arj
  3. unzoo : archivers/unzoo
Library dependencies:
  1. libcurl.so : ftp/curl
  2. libjson-c.so : devel/json-c
  3. libmspack.so : archivers/libmspack
  4. libpcre2-8.so : devel/pcre2
  5. libxml2.so : textproc/libxml2
This port is required by:
for Build
  1. mail/mimedefang
  2. mail/p5-Clamd
  3. security/clamassassin
  4. security/clamav-unofficial-sigs
  5. security/p5-File-Scan-ClamAV

Deleted ports which required this port:

Expand this list of 2 deleted ports
  1. mail/p5-Mail-ClamAV*
  2. mail/qsheff*
  3. Collapse this list of deleted ports.
for Libraries
  1. www/c-icap-modules

Deleted ports which required this port:

Expand this list of 8 deleted ports
  1. security/clamcour*
  2. security/klamav*
  3. security/py-clamav*
  4. security/razorback-clamavNugget*
  5. security/scannedonly*
  6. www/gurlchecker*
  7. www/havp*
  8. www/mod_clamav*
  9. Collapse this list of deleted ports.
for Run
  1. filesystems/clamfs
  2. mail/claws-mail-clamd
  3. mail/dspam
  4. mail/mailscanner
  5. mail/mimedefang
  6. mail/p5-Clamd
  7. mail/py-fuglu
Expand this list (24 items / 17 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. net-mgmt/nagios-check_clamav
  3. security/clamassassin
  4. security/clamav-unofficial-sigs
  5. security/clamsmtp
  6. security/clamtk
  7. security/p5-File-Scan-ClamAV
  8. security/proftpd-mod_clamav
  9. www/e2guardian
  10. Collapse this list.

Deleted ports which required this port:

Expand this list of 9 deleted ports
  1. mail/clamfilter*
  2. mail/dspam-devel*
  3. mail/p5-Mail-ClamAV*
  4. mail/qscan*
  5. mail/qsheff*
  6. security/clamfs*
  7. security/maia*
  8. security/scamp*
  9. security/scannedonly*
  10. Collapse this list of deleted ports.
* - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...

Configuration Options:
===> The following configuration options are available for clamav-1.5.4_1,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
Options name:
security_clamav
USES:
cmake cpe gnome iconv ncurses pkgconfig ssl
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://www.clamav.net/downloads/production/
Collapse this list.
Notes from UPDATING
These upgrade notes are taken from /usr/ports/UPDATING
  • 2025-10-19
    Affects: users of security/clamav
    Author: yasu@FreeBSD.org
    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.
    
    
Expand this list (3 items)
  • 2024-09-12
    Affects: 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: user 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
    
    
  • Collapse this list.

Number of commits found: 401 (showing only 1 on this page)

«  1 | 2 | 3 | 4 | 5 

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.20
20 Jan 2003 03:41:53
Original commit files touched by this commit This port version is marked as vulnerable.
edwin search for other commits by this committer
new port: security/clamav

        Clam Antivirus is command line virus scanner using database
        from OpenAntiVirus.

PR:             ports/40602
Submitted by:   TERAMOTO Masahiro <markun@onohara.to>

Number of commits found: 401 (showing only 1 on this page)

«  1 | 2 | 3 | 4 | 5