Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Jun 2004 10:04:41 +0200 (CEST)
From:      Rob Evers <rob@debank.tv>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/67962: Update security/clamav to 0.73
Message-ID:  <20040615080441.EDA2652C0@flappie.debank.tv>
Resent-Message-ID: <200406150810.i5F8APqx059036@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         67962
>Category:       ports
>Synopsis:       Update security/clamav to 0.73
>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:   Tue Jun 15 08:10:25 GMT 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@flappie.debank.tv:/usr/obj/usr/src/sys/FLAPPIE i386


>Description:
Update security/clamav to 0.73
Use freshclam pid-file
fix pkg-plist
for all changes look in work/clamav-0.73/ChangeLog
>How-To-Repeat:
>Fix:


--- clamav.patch begins here ---
diff -ruN clamav.orig/Makefile clamav/Makefile
--- clamav.orig/Makefile	Tue Jun 15 09:14:14 2004
+++ clamav/Makefile	Tue Jun 15 09:35:31 2004
@@ -23,11 +23,12 @@
 		arc:${PORTSDIR}/archivers/arc \
 		unzip:${PORTSDIR}/archivers/unzip
 
-DISTVERSION=	0.72
+DISTVERSION=	0.73
 
 OPTIONS=	MILTER "Compile the milter interface" off
 USE_REINPLACE=	yes
 USE_GMAKE=	yes
+USE_GNOME=	pkgconfig
 GNU_CONFIGURE=	yes
 CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
 INSTALLS_SHLIB=	yes
@@ -108,6 +109,8 @@
 		${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
 	@${REINPLACE_CMD} -e 's|/usr/lib/sendmail|/usr/sbin/sendmail|g' \
 		${WRKSRC}/clamav-milter/clamav-milter.c
+	@${REINPLACE_CMD} -e 's|(libdir)/pkgconfig|(prefix)/libdata/pkgconfig|' \
+		${WRKSRC}/Makefile.in
 
 post-build:
 	@${REINPLACE_CMD} ${SED_CONF} ${BUILD_WRKSRC}/etc/clamav.conf
diff -ruN clamav.orig/distinfo clamav/distinfo
--- clamav.orig/distinfo	Tue Jun 15 09:14:14 2004
+++ clamav/distinfo	Tue Jun 15 09:20:59 2004
@@ -1,2 +1,2 @@
-MD5 (clamav-0.72.tar.gz) = f859f9ba5d156a8be92585f6e7f26cca
-SIZE (clamav-0.72.tar.gz) = 2623397
+MD5 (clamav-0.73.tar.gz) = e96f007e9156b41b5f07707e3b004465
+SIZE (clamav-0.73.tar.gz) = 2646169
diff -ruN clamav.orig/files/clamav-freshclam.sh clamav/files/clamav-freshclam.sh
--- clamav.orig/files/clamav-freshclam.sh	Tue Jun 15 09:14:14 2004
+++ clamav/files/clamav-freshclam.sh	Tue Jun 15 09:32:45 2004
@@ -28,7 +28,7 @@
 # set defaults
 
 clamav_freshclam_enable=${clamav_freshclam_enable:-"NO"}
-clamav_freshclam_flags=${clamav_freshclam_flags:-"--daemon-notify=%%PREFIX%%/etc/clamav.conf"}
+clamav_freshclam_flags=${clamav_freshclam_flags:-"--pid=/var/run/clamav/freshclam.pid --daemon-notify=%%PREFIX%%/etc/clamav.conf"}
 
 load_rc_config $name
 
diff -ruN clamav.orig/pkg-descr clamav/pkg-descr
--- clamav.orig/pkg-descr	Tue Jun 15 09:14:14 2004
+++ clamav/pkg-descr	Tue Jun 15 09:45:50 2004
@@ -1,3 +1,4 @@
+This the stable version of Clam Antivirus.
 Clam Antivirus is command line virus scanner written entirely in C
 and its database is kept up to date. It also detects polymorphic
 viruses, scans compressed files and supported by AMaViS.
diff -ruN clamav.orig/pkg-plist clamav/pkg-plist
--- clamav.orig/pkg-plist	Tue Jun 15 09:14:14 2004
+++ clamav/pkg-plist	Tue Jun 15 09:35:40 2004
@@ -1,5 +1,7 @@
 @comment $FreeBSD: ports/security/clamav/pkg-plist,v 1.13 2004/04/01 16:36:28 eik Exp $
-@unexec [ ! -f /var/run/clamav/clamd.pid ] || %%RC_DIR%%/clamd%%RC_SUFX%% stop || true
+@unexec [ ! -f /var/run/clamav/clamd.pid ] || %%RC_DIR%%/clamav-clamd%%RC_SUFX%% stop || true
+@unexec [ ! -f /var/run/clamav/freshclam.pid ] || %%RC_DIR%%/clamav-freshclam%%RC_SUFX%% stop || true
+bin/clamav-config
 bin/clamscan
 bin/clamdscan
 bin/freshclam
@@ -13,6 +15,7 @@
 lib/libclamav.so.1
 lib/libclamav.so
 lib/libclamav.a
+libdata/pkgconfig/libclamav.pc
 @unexec if cmp -s %D/etc/clamav.conf %D/etc/clamav.conf.default; then rm -f %D/etc/clamav.conf; fi
 etc/clamav.conf.default
 @exec [ -f %B/clamav.conf ] || cp %B/%f %B/clamav.conf
--- clamav.patch ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040615080441.EDA2652C0>