ports/65763: Update security/clamv to 0.70
Rob Evers
rob at debank.tv
Mon Apr 19 12:50:33 UTC 2004
>Number: 65763
>Category: ports
>Synopsis: Update security/clamv to 0.70
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Mon Apr 19 05:50:33 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator: Rob Evers
>Release: FreeBSD 5.2-CURRENT i386
>Organization:
>Environment:
System: FreeBSD flappie.debank.tv 5.2-CURRENT FreeBSD 5.2-CURRENT #1: Sun Feb 29 20:35:15 CET 2004 rob at flappie.debank.tv:/usr/obj/usr/src/sys/FLAPPIE i386
>Description:
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)
>How-To-Repeat:
>How-To-Repeat:
>Fix:
--- clamav.patch begins here ---
diff -ruN clamav.orig/Makefile clamav/Makefile
--- clamav.orig/Makefile Mon Apr 19 14:13:47 2004
+++ clamav/Makefile Mon Apr 19 14:36:00 2004
@@ -23,11 +23,12 @@
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 +80,8 @@
-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 -ruN clamav.orig/distinfo clamav/distinfo
--- clamav.orig/distinfo Mon Apr 19 14:13:47 2004
+++ clamav/distinfo Mon Apr 19 14:14:22 2004
@@ -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 -ruN clamav.orig/files/clamav-clamd.sh clamav/files/clamav-clamd.sh
--- clamav.orig/files/clamav-clamd.sh Mon Apr 19 14:13:47 2004
+++ clamav/files/clamav-clamd.sh Mon Apr 19 14:33:02 2004
@@ -26,16 +26,6 @@
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()
--- clamav.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list