diff options
author | eik <eik@FreeBSD.org> | 2004-04-19 23:21:33 +0800 |
---|---|---|
committer | eik <eik@FreeBSD.org> | 2004-04-19 23:21:33 +0800 |
commit | b20458ed15957f15aef000551844e3f9c6bbf718 (patch) | |
tree | e5e4caf8c6575241aa06fe580231adc6c955a931 /security | |
parent | c1097260f590a5c232ac69d030a35a6792bf965b (diff) | |
download | freebsd-ports-gnome-b20458ed15957f15aef000551844e3f9c6bbf718.tar.gz freebsd-ports-gnome-b20458ed15957f15aef000551844e3f9c6bbf718.tar.zst freebsd-ports-gnome-b20458ed15957f15aef000551844e3f9c6bbf718.zip |
Update security/clamv to 0.70
-Improved VBA code
-Scan EVS mails
-Handle bounced messages
-ArchiveDetectEncrypted is renamed to ArchiveBlockEncrypted (config file)
-freshclam: fix SIGHUP handling (patch by Dr Matthew J Seaman)
-Use OPTIONS
-Various bugfixes and code cleanup
-Use FixStaleSocket by default in the config file (don't remove the
Socket when starting clamd)
PR: 65763
Submitted by: Rob Evers <rob@debank.tv> (maintainer)
Diffstat (limited to 'security')
-rw-r--r-- | security/clamav/Makefile | 7 | ||||
-rw-r--r-- | security/clamav/distinfo | 4 | ||||
-rw-r--r-- | security/clamav/files/clamav-clamd.sh | 10 |
3 files changed, 7 insertions, 14 deletions
diff --git a/security/clamav/Makefile b/security/clamav/Makefile index 76ce1384b9b5..b4b0c233c311 100644 --- a/security/clamav/Makefile +++ b/security/clamav/Makefile @@ -7,6 +7,7 @@ PORTNAME= clamav PORTVERSION= ${DISTVERSION:S/-rc//g:S/-/./g} +PORTREVISION= 1 CATEGORIES= security MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED} MASTER_SITE_SUBDIR= clamav @@ -23,11 +24,12 @@ RUN_DEPENDS= lha:${PORTSDIR}/archivers/lha \ arc:${PORTSDIR}/archivers/arc \ unzip:${PORTSDIR}/archivers/unzip -DISTVERSION= 0.70-rc +DISTVERSION= 0.70 CLAMAVUSER?= clamav CLAMAVGROUP?= clamav +OPTIONS= MILTER "Compile the milter interface" off USE_REINPLACE= yes USE_GMAKE= yes GNU_CONFIGURE= yes @@ -79,7 +81,8 @@ SED_CONF= -E -e 's|^\#?(Example)$$|\#\1|' \ -e 's|^\#?(ScanMail)$$|\1|' \ -e 's|^\#?(DatabaseDirectory) .*$$|\1 ${DATADIR}|' \ -e 's|^\#?(DatabaseOwner) .*$$|\1 ${CLAMAVUSER}|' \ - -e 's|^\#?(UpdateLogFile) .*$$|\1 /var/log/clamav/freshclam.log|' + -e 's|^\#?(UpdateLogFile) .*$$|\1 /var/log/clamav/freshclam.log|' \ + -e 's|^\#?(FixStaleSocket)$$|\1|' PLIST_SUB+= CLAMAVUSER=${CLAMAVUSER} \ CLAMAVGROUP=${CLAMAVGROUP} diff --git a/security/clamav/distinfo b/security/clamav/distinfo index 7059faeea616..07b57eb713e7 100644 --- a/security/clamav/distinfo +++ b/security/clamav/distinfo @@ -1,2 +1,2 @@ -MD5 (clamav-0.70-rc.tar.gz) = a5c296221fac9e05b865ed29f93e8718 -SIZE (clamav-0.70-rc.tar.gz) = 2251095 +MD5 (clamav-0.70.tar.gz) = 2599a2e6b06d1f8ca09fdef8bc17625c +SIZE (clamav-0.70.tar.gz) = 2347104 diff --git a/security/clamav/files/clamav-clamd.sh b/security/clamav/files/clamav-clamd.sh index 154ecc436b1c..243a3fba871b 100644 --- a/security/clamav/files/clamav-clamd.sh +++ b/security/clamav/files/clamav-clamd.sh @@ -26,16 +26,6 @@ pidfile=/var/run/clamav/clamd.pid required_dirs=%%DATADIR%% required_files=%%PREFIX%%/etc/clamav.conf -start_precmd=start_precmd - -start_precmd() -{ - if [ -S "$clamav_clamd_socket" ]; then - warn "Stale socket $clamav_clamd_socket removed." - rm "$clamav_clamd_socket" - fi -} - stop_postcmd=stop_postcmd stop_postcmd() |