pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/pkgsrc-2009Q4]: pkgsrc/mail/clamav Pullup ticket #3072 - requested by...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c06932cf8860
branches:  pkgsrc-2009Q4
changeset: 569305:c06932cf8860
user:      tron <tron%pkgsrc.org@localhost>
date:      Wed Apr 07 10:10:50 2010 +0000

description:
Pullup ticket #3072 - requested by martti
clamav: security improvements

Revisions pulled up:
- mail/clamav/Makefile                          1.100-1.102
- mail/clamav/Makefile                          1.99
- mail/clamav/PLIST                             1.23-1.24
- mail/clamav/PLIST.milter                      1.5
- mail/clamav/distinfo                          1.63
- mail/clamav/options.mk                        1.5
- mail/clamav/patches/patch-aa                  1.20
- mail/clamav/patches/patch-ab                  1.13
- mail/clamav/patches/patch-ac                  1.7
- mail/clamav/patches/patch-ad                  1.20
- mail/clamav/patches/patch-af                  1.11
- mail/clamav/patches/patch-ag                  1.4
---
Module Name:    pkgsrc
Committed By:   wiz
Date:           Sun Mar 21 16:29:44 UTC 2010

Modified Files:
         pkgsrc/mail/clamav: Makefile

Log Message:
Reset maintainer, developer lost his commit bit.
---
Module Name:    pkgsrc
Committed By:   asau
Date:           Wed Mar 24 19:43:29 UTC 2010

Modified Files:
         pkgsrc/mail/clamav: Makefile

Log Message:
Recursive revision bump for GMP update.
---
Module Name:    pkgsrc
Committed By:   martti
Date:           Thu Apr  1 12:02:23 UTC 2010

Modified Files:
        pkgsrc/mail/clamav: Makefile PLIST distinfo
        pkgsrc/mail/clamav/patches: patch-aa patch-ad patch-af patch-ag
Added Files:
        pkgsrc/mail/clamav/patches: patch-ab patch-ac

Log Message:
Updated mail/clamav to 0.96

This release of ClamAV introduces new malware detection mechanisms and other
significant improvements to the scan engine. The key features include:

    - The Bytecode Interpreter: the interpreter built into LibClamAV allows
      the signature writers to create and distribute very complex detection
      routines and remotely enhance the scanner's functionality

    - Heuristic improvements: improve the PE heuristics detection engine by
      adding support of bogus icons and fake PE header information. In a
      nutshell, ClamAV can now detect malware that tries to disguise itself
      as a harmless application by using the most common Windows program icons.

    - Signature Improvements: logical signature improvements to allow more
      detailed matching and referencing groups of signatures. Additionally,
      improvements to wildcard matching on word boundaries and newlines.

    - Support for new archives: 7zip, InstallShield and CPIO. LibClamAV
      can now transparently unpack and inspect their contents.

    - Support for new executable file formats: 64-bit ELF files and OS X
      Universal Binaries with Mach-O files. Additionally, the PE module
      can now decompress and inspect executables packed with UPX 3.0.

    - Support for DazukoFS in clamd

    - Performance improvements: overall performance improvements and memory
      optimizations for a better overall resource utilization experience.

    - Native Windows Support: ClamAV will now build natively under Visual
      Studio. This will allow 3rd Party application developers on Windows
      to easily integrate LibClamAV into their applications.
---
Module Name:    pkgsrc
Committed By:   martti
Date:           Fri Apr  2 19:45:24 UTC 2010

Modified Files:
         pkgsrc/mail/clamav: Makefile PLIST options.mk
Added Files:
         pkgsrc/mail/clamav: PLIST.milter

Log Message:
Fixed PLIST when using the milter option.

diffstat:

 mail/clamav/Makefile         |  10 ++++++----
 mail/clamav/PLIST            |   4 ++--
 mail/clamav/PLIST.milter     |   3 +++
 mail/clamav/distinfo         |  18 ++++++++++--------
 mail/clamav/options.mk       |   6 ++----
 mail/clamav/patches/patch-aa |   4 +++-
 mail/clamav/patches/patch-ab |  15 +++++++++++++++
 mail/clamav/patches/patch-ac |  15 +++++++++++++++
 mail/clamav/patches/patch-ad |  10 ++++++----
 mail/clamav/patches/patch-af |  10 ++++++----
 mail/clamav/patches/patch-ag |  10 +++++++---
 11 files changed, 75 insertions(+), 30 deletions(-)

diffs (214 lines):

diff -r 37e39557a5e8 -r c06932cf8860 mail/clamav/Makefile
--- a/mail/clamav/Makefile      Sun Mar 28 13:03:16 2010 +0000
+++ b/mail/clamav/Makefile      Wed Apr 07 10:10:50 2010 +0000
@@ -1,12 +1,12 @@
-# $NetBSD: Makefile,v 1.98 2009/12/15 21:54:17 joerg Exp $
+# $NetBSD: Makefile,v 1.98.2.1 2010/04/07 10:10:50 tron Exp $
 
 DISTNAME=      clamav-${CLAMAV_VERSION}
 PKGNAME=       clamav-${CLAMAV_VERSION:S/-/./}
-PKGREVISION=   1
+#PKGREVISION=  1
 CATEGORIES=    mail
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=clamav/}
 
-MAINTAINER=    grant%NetBSD.org@localhost
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      http://www.clamav.net/
 COMMENT=       Anti-virus toolkit
 
@@ -15,7 +15,7 @@
 PKG_INSTALLATION_TYPES=        overwrite pkgviews
 PKG_DESTDIR_SUPPORT=   user-destdir
 
-CLAMAV_VERSION=                0.95.3
+CLAMAV_VERSION=                0.96
 
 USE_LIBTOOL=           yes
 
@@ -31,6 +31,8 @@
 
 .include "../../mk/bsd.prefs.mk"
 
+PLIST_SRC+=            ${PKGDIR}/PLIST
+
 .if ${OPSYS} == "NetBSD" && !empty(OS_VERSION:M1.*)
 CONFIGURE_ARGS+=       --disable-readdir-r
 .else
diff -r 37e39557a5e8 -r c06932cf8860 mail/clamav/PLIST
--- a/mail/clamav/PLIST Sun Mar 28 13:03:16 2010 +0000
+++ b/mail/clamav/PLIST Wed Apr 07 10:10:50 2010 +0000
@@ -1,5 +1,6 @@
-@comment $NetBSD: PLIST,v 1.22 2009/06/14 18:04:27 joerg Exp $
+@comment $NetBSD: PLIST,v 1.22.6.1 2010/04/07 10:10:50 tron Exp $
 bin/clamav-config
+bin/clambc
 bin/clamconf
 bin/clamdscan
 bin/clamdtop
@@ -21,7 +22,6 @@
 man/man5/freshclam.conf.5
 man/man8/clamav-milter.8
 man/man8/clamd.8
-${PLIST.milter}sbin/clamav-milter
 sbin/clamd
 share/examples/clamav/clamd.conf
 share/examples/clamav/daily.cvd
diff -r 37e39557a5e8 -r c06932cf8860 mail/clamav/PLIST.milter
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/clamav/PLIST.milter  Wed Apr 07 10:10:50 2010 +0000
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST.milter,v 1.4.40.1 2010/04/07 10:10:50 tron Exp $
+sbin/clamav-milter
+share/examples/clamav/clamav-milter.conf
diff -r 37e39557a5e8 -r c06932cf8860 mail/clamav/distinfo
--- a/mail/clamav/distinfo      Sun Mar 28 13:03:16 2010 +0000
+++ b/mail/clamav/distinfo      Wed Apr 07 10:10:50 2010 +0000
@@ -1,9 +1,11 @@
-$NetBSD: distinfo,v 1.62 2010/01/07 15:00:35 joerg Exp $
+$NetBSD: distinfo,v 1.62.2.1 2010/04/07 10:10:50 tron Exp $
 
-SHA1 (clamav-0.95.3.tar.gz) = ab4b1f49d0f24154767d303d6a27b74acf6f4b59
-RMD160 (clamav-0.95.3.tar.gz) = c68a2948aa9ab7a3b5f8e9744322d3606ae6df71
-Size (clamav-0.95.3.tar.gz) = 26919541 bytes
-SHA1 (patch-aa) = 26115741ed1a73a26252b596ab0a92dc8cd70fda
-SHA1 (patch-ad) = 70706e96ddaaa9cb4756c91474f95705edeed199
-SHA1 (patch-af) = 3c5b8cdab88d2d990ff989c43541f360c2d4e4c5
-SHA1 (patch-ag) = e9c2f308b9418631ac5c428126336937c4e30401
+SHA1 (clamav-0.96.tar.gz) = be7cb37f2a6121cacc3cd3969eee212b96ef6b57
+RMD160 (clamav-0.96.tar.gz) = d9147d1da4fc7fa3e8d42b25c58a93f6bbaa588b
+Size (clamav-0.96.tar.gz) = 39792593 bytes
+SHA1 (patch-aa) = cf09def5ff3de0a551bb5cf8ec232cf7f7e0b54e
+SHA1 (patch-ab) = a4d097b785f870cd6213811f504a553e6b87e229
+SHA1 (patch-ac) = d14cd2c0646c4d390f10b6b642e95b2638fa194b
+SHA1 (patch-ad) = a6ea0f1e439feef3b6b9148dcea37c9b58b9d773
+SHA1 (patch-af) = ebd5b67c07fe58df8b303a34d1e64a772f6983d6
+SHA1 (patch-ag) = 64585150298220cff2257fd8b98a34f6c277d33d
diff -r 37e39557a5e8 -r c06932cf8860 mail/clamav/options.mk
--- a/mail/clamav/options.mk    Sun Mar 28 13:03:16 2010 +0000
+++ b/mail/clamav/options.mk    Wed Apr 07 10:10:50 2010 +0000
@@ -1,12 +1,10 @@
-# $NetBSD: options.mk,v 1.4 2008/04/12 22:43:03 jlam Exp $
+# $NetBSD: options.mk,v 1.4.18.1 2010/04/07 10:10:51 tron Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.clamav
 PKG_SUPPORTED_OPTIONS= milter clamav-experimental
 
 .include "../../mk/bsd.options.mk"
 
-PLIST_VARS+=           milter
-
 .if !empty(PKG_OPTIONS:Mmilter)
 # force use of pkgsrc version of libmilter -- clamav uses the sendmail binary
 # to check API compatibility(!), so it must build with as new a version of
@@ -14,7 +12,7 @@
 USE_BUILTIN.libmilter= no
 .  include "../../mail/libmilter/buildlink3.mk"
 CONFIGURE_ARGS+=       --enable-milter
-PLIST.milter=          yes
+PLIST_SRC+=            ${PKGDIR}/PLIST.milter
 .else
 CONFIGURE_ARGS+=       --disable-milter
 # XXX --disable-milter doesn't work as expected, so we need this
diff -r 37e39557a5e8 -r c06932cf8860 mail/clamav/patches/patch-aa
--- a/mail/clamav/patches/patch-aa      Sun Mar 28 13:03:16 2010 +0000
+++ b/mail/clamav/patches/patch-aa      Wed Apr 07 10:10:50 2010 +0000
@@ -1,4 +1,6 @@
-$NetBSD: patch-aa,v 1.19 2009/06/11 04:38:18 martti Exp $
+$NetBSD: patch-aa,v 1.19.6.1 2010/04/07 10:10:51 tron Exp $
+
+Fix compileation error DragonFly.
 
 --- clamdtop/clamdtop.c.orig   2009-06-01 19:20:12.000000000 +0300
 +++ clamdtop/clamdtop.c        2009-06-11 07:31:58.000000000 +0300
diff -r 37e39557a5e8 -r c06932cf8860 mail/clamav/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/clamav/patches/patch-ab      Wed Apr 07 10:10:50 2010 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-ab,v 1.12.2.1 2010/04/07 10:10:51 tron Exp $
+
+Make this pkgsrc friedly.
+
+--- libclamav/c++/llvm/utils/buildit/build_llvm.orig   2010-04-01 12:29:52.000000000 +0300
++++ libclamav/c++/llvm/utils/buildit/build_llvm        2010-04-01 12:30:04.000000000 +0300
+@@ -232,7 +232,7 @@
+     LLVM_SUBMIT_SUBVERSION=$LLVM_SUBMIT_SUBVERSION \
+     OPTIMIZE_OPTION='-O3' VERBOSE=1 install
+ 
+-if ! test $? == 0 ; then
++if ! test $? = 0 ; then
+     echo "error: LLVM 'make install' failed!"
+     exit 1
+ fi 
diff -r 37e39557a5e8 -r c06932cf8860 mail/clamav/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/clamav/patches/patch-ac      Wed Apr 07 10:10:50 2010 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-ac,v 1.6.2.1 2010/04/07 10:10:51 tron Exp $
+
+Make this pkgsrc friedly.
+
+--- libclamav/c++/configure.orig       2010-04-01 12:30:33.000000000 +0300
++++ libclamav/c++/configure    2010-04-01 12:31:05.000000000 +0300
+@@ -14460,7 +14460,7 @@
+   enable_optimized=default
+ fi
+ 
+- if test "x$enable_optimized" == "xno"; then
++ if test "x$enable_optimized" = "xno"; then
+   DEBUG_BUILD_TRUE=
+   DEBUG_BUILD_FALSE='#'
+ else
diff -r 37e39557a5e8 -r c06932cf8860 mail/clamav/patches/patch-ad
--- a/mail/clamav/patches/patch-ad      Sun Mar 28 13:03:16 2010 +0000
+++ b/mail/clamav/patches/patch-ad      Wed Apr 07 10:10:50 2010 +0000
@@ -1,8 +1,10 @@
-$NetBSD: patch-ad,v 1.19 2009/10/29 07:06:09 martti Exp $
+$NetBSD: patch-ad,v 1.19.2.1 2010/04/07 10:10:51 tron Exp $
+
+Fix compileation error DragonFly.
 
---- docs/Makefile.in.orig      2009-10-28 17:54:51.000000000 +0200
-+++ docs/Makefile.in   2009-10-29 08:42:26.000000000 +0200
-@@ -261,6 +261,8 @@
+--- docs/Makefile.in.orig      2010-03-24 19:01:19.000000000 +0200
++++ docs/Makefile.in   2010-04-01 12:23:43.000000000 +0300
+@@ -270,6 +270,8 @@
  man_MANS = man/clamscan.1 man/freshclam.1 man/sigtool.1 man/clamd.8 man/clamd.conf.5 man/clamdscan.1 man/clamav-milter.8 man/freshclam.conf.5 man/clamconf.1 man/clamdtop.1
  all: all-am
  
diff -r 37e39557a5e8 -r c06932cf8860 mail/clamav/patches/patch-af
--- a/mail/clamav/patches/patch-af      Sun Mar 28 13:03:16 2010 +0000
+++ b/mail/clamav/patches/patch-af      Wed Apr 07 10:10:50 2010 +0000
@@ -1,8 +1,10 @@
-$NetBSD: patch-af,v 1.10 2009/10/29 07:06:09 martti Exp $
+$NetBSD: patch-af,v 1.10.2.1 2010/04/07 10:10:51 tron Exp $
+
+Fix compileation error DragonFly.
 
---- database/Makefile.in.orig  2009-10-28 17:54:51.000000000 +0200
-+++ database/Makefile.in       2009-10-29 08:47:19.000000000 +0200
-@@ -423,17 +423,6 @@
+--- database/Makefile.in.orig  2010-03-24 19:01:19.000000000 +0200
++++ database/Makefile.in       2010-04-01 12:24:10.000000000 +0300
+@@ -432,17 +432,6 @@
        $(mkinstalldirs) $(DESTDIR)$(DBINST);\
        test -f $(DESTDIR)$(DBINST)/main.cvd || test -f $(DESTDIR)$(DBINST)/main.cld || $(INSTALL_DATA) $(srcdir)/main.cvd $(DESTDIR)$(DBINST);\
        test -f $(DESTDIR)$(DBINST)/daily.cvd || test -f $(DESTDIR)$(DBINST)/daily.cld || $(INSTALL_DATA) $(srcdir)/daily.cvd $(DESTDIR)$(DBINST);\
diff -r 37e39557a5e8 -r c06932cf8860 mail/clamav/patches/patch-ag
--- a/mail/clamav/patches/patch-ag      Sun Mar 28 13:03:16 2010 +0000
+++ b/mail/clamav/patches/patch-ag      Wed Apr 07 10:10:50 2010 +0000
@@ -1,6 +1,10 @@
---- libclamav/others.h.orig    2010-01-06 19:05:29 -1000
-+++ libclamav/others.h 2010-01-06 19:05:39 -1000
-@@ -29,6 +29,7 @@
+$NetBSD: patch-ag,v 1.3.2.1 2010/04/07 10:10:51 tron Exp $
+
+Fix compileation error DragonFly.
+
+--- libclamav/others.h.orig    2010-03-31 19:39:38.000000000 +0300
++++ libclamav/others.h 2010-04-01 12:24:33.000000000 +0300
+@@ -33,6 +33,7 @@
  
  #include <stdio.h>
  #include <stdlib.h>



Home | Main Index | Thread Index | Old Index