1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-30 01:15:52 +00:00

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)
This commit is contained in:
Oliver Eikemeier 2004-04-19 15:21:33 +00:00
parent 769f665523
commit e8a7428097
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=107596
3 changed files with 7 additions and 14 deletions

View File

@ -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}

View File

@ -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

View File

@ -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()