ports/118814: Update ClamAV to 0.92
Christian Kratzer
ck at cksoft.de
Tue Dec 18 12:00:10 UTC 2007
>Number: 118814
>Category: ports
>Synopsis: Update ClamAV to 0.92
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Tue Dec 18 12:00:09 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator: Christian Kratzer
>Release: FreeBSD 6.2-STABLE amd64
>Organization:
CK Software GmbH
>Environment:
FreeBSD kontio.cksoft.de 6.2-STABLE FreeBSD 6.2-STABLE #6: Fri Jun 15 11:12:20 CEST 2007 bz at kontio.cksoft.de:/u1/src/obj/u1/src/RELENG_6/sys/KONTIO amd64
reeBSD ahven.cksoft.de 6.2-STABLE FreeBSD 6.2-STABLE #0: Tue Jul 24 18:09:39 CEST 2007 ck at ahven.cksoft.de:/u1/obj/u1/RELENG_6/src/sys/GENERIC i386
>Description:
ClamAV has releases version 0.92 making older versions outdated.
This patch updats /usr/ports/security/clamav to version 0.92.
The patch also fixes the manpage path to ${prefix}/man.
>How-To-Repeat:
>Fix:
Index: clamav/Makefile
===================================================================
RCS file: /export/media/FreeBSD/cvsup/r/pcvs/ports/security/clamav/Makefile,v
retrieving revision 1.105
diff -u -r1.105 Makefile
--- clamav/Makefile 26 Nov 2007 17:45:55 -0000 1.105
+++ clamav/Makefile 18 Dec 2007 09:59:17 -0000
@@ -6,8 +6,8 @@
#
PORTNAME= clamav
-PORTVERSION= 0.91.2
-PORTREVISION= 1
+PORTVERSION= 0.92
+PORTREVISION= 0
CATEGORIES= security
MASTER_SITES= SF
@@ -148,8 +148,6 @@
${WRKSRC}/${CONFIGURE_SCRIPT}
@${REINPLACE_CMD} -E 's,^(pkgconfigdir = ).*$$,\1$$(prefix)/libdata/pkgconfig,g' \
${WRKSRC}/Makefile.in
- @${REINPLACE_CMD} -e 's|0x100000000|0x100000000ULL|g' \
- ${WRKSRC}/libclamav/unrar/unrar.c
@${REINPLACE_CMD} ${SED_CONF} \
${WRKSRC}/etc/clamd.conf \
${WRKSRC}/etc/freshclam.conf
Index: clamav/distinfo
===================================================================
RCS file: /export/media/FreeBSD/cvsup/r/pcvs/ports/security/clamav/distinfo,v
retrieving revision 1.43
diff -u -r1.43 distinfo
--- clamav/distinfo 21 Aug 2007 16:03:49 -0000 1.43
+++ clamav/distinfo 18 Dec 2007 09:59:17 -0000
@@ -1,3 +1,3 @@
-MD5 (clamav-0.91.2.tar.gz) = 2a7265d17cfa80c32858978f16a3f47b
-SHA256 (clamav-0.91.2.tar.gz) = dac9de86dff5ef4c9a6e4962da24988e1aa74948a21b7fb7b7fed17867ddf2a0
-SIZE (clamav-0.91.2.tar.gz) = 13394538
+MD5 (clamav-0.92.tar.gz) = e500651858a9187a87025c8a5c23969c
+SHA256 (clamav-0.92.tar.gz) = d3c8c1e2e0025a354663b330d69c8848c7a5c9d7248204c69362c2924366025e
+SIZE (clamav-0.92.tar.gz) = 14300798
Index: clamav/pkg-plist
===================================================================
RCS file: /export/media/FreeBSD/cvsup/r/pcvs/ports/security/clamav/pkg-plist,v
retrieving revision 1.33
diff -u -r1.33 pkg-plist
--- clamav/pkg-plist 13 Apr 2007 18:25:19 -0000 1.33
+++ clamav/pkg-plist 18 Dec 2007 09:59:17 -0000
@@ -9,10 +9,18 @@
sbin/clamd
include/clamav.h
include/clamav-config.h
-lib/libclamav.so.2
+lib/libclamav.so.3
lib/libclamav.so
lib/libclamav.a
lib/libclamav.la
+lib/libclamunrar.so.3
+lib/libclamunrar.a
+lib/libclamunrar.la
+lib/libclamunrar.so
+lib/libclamunrar_iface.so.3
+lib/libclamunrar_iface.a
+lib/libclamunrar_iface.la
+lib/libclamunrar_iface.so
libdata/pkgconfig/libclamav.pc
@unexec if cmp -s %D/etc/clamd.conf %D/etc/clamd.conf.default; then rm -f %D/etc/clamd.conf; fi
etc/clamd.conf.default
Index: clamav/files/patch-configure
===================================================================
RCS file: /export/media/FreeBSD/cvsup/r/pcvs/ports/security/clamav/files/patch-configure,v
retrieving revision 1.10
diff -u -r1.10 patch-configure
--- clamav/files/patch-configure 13 Mar 2007 20:11:16 -0000 1.10
+++ clamav/files/patch-configure 18 Dec 2007 09:59:17 -0000
@@ -1,6 +1,15 @@
---- configure.orig Thu Mar 1 20:46:19 2007
-+++ configure Tue Mar 13 10:28:27 2007
-@@ -22431,19 +22431,25 @@
+--- configure.orig Tue Aug 21 00:58:23 2007
++++ configure Wed Aug 22 11:48:51 2007
+@@ -956,7 +956,7 @@
+ psdir='${docdir}'
+ libdir='${exec_prefix}/lib'
+ localedir='${datarootdir}/locale'
+-mandir='${datarootdir}/man'
++mandir='${prefix}/man'
+
+ ac_prev=
+ ac_dashdash=
+@@ -22710,19 +22710,25 @@
sendmailver_c=`echo $sendmailver | awk -F. '{printf $3}'`
@@ -26,16 +35,16 @@
fi
fi
-@@ -23087,7 +23093,7 @@
+@@ -23293,7 +23299,7 @@
;;
- freebsd*)
+ freebsd[45]*)
if test "$have_pthreads" = "yes"; then
- THREAD_LIBS="-pthread -lc_r"
+ THREAD_LIBS="%%PTHREAD_LIBS%%"
TH_SAFE="-thread-safe"
cat >>confdefs.h <<\_ACEOF
-@@ -23427,7 +23433,7 @@
+@@ -23683,7 +23689,7 @@
if test "$have_milter" = "yes"; then
save_LDFLAGS="$LDFLAGS"
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list