summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2010-04-07 10:10:50 +0000
committertron <tron@pkgsrc.org>2010-04-07 10:10:50 +0000
commitf2a9fb29ce285f6ad6e8e8125e7f9cddf87006c3 (patch)
treeafd7692e6f95a6b844a7336d6591c91f6bfc7466
parent02824930fa21ac1df85162ef5897657f00302cd8 (diff)
downloadpkgsrc-f2a9fb29ce285f6ad6e8e8125e7f9cddf87006c3.tar.gz
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.
-rw-r--r--mail/clamav/Makefile10
-rw-r--r--mail/clamav/PLIST4
-rw-r--r--mail/clamav/PLIST.milter3
-rw-r--r--mail/clamav/distinfo18
-rw-r--r--mail/clamav/options.mk6
-rw-r--r--mail/clamav/patches/patch-aa4
-rw-r--r--mail/clamav/patches/patch-ab15
-rw-r--r--mail/clamav/patches/patch-ac15
-rw-r--r--mail/clamav/patches/patch-ad10
-rw-r--r--mail/clamav/patches/patch-af10
-rw-r--r--mail/clamav/patches/patch-ag10
11 files changed, 75 insertions, 30 deletions
diff --git a/mail/clamav/Makefile b/mail/clamav/Makefile
index 935dec6e4cc..4e5e48de9f2 100644
--- a/mail/clamav/Makefile
+++ b/mail/clamav/Makefile
@@ -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
+MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.clamav.net/
COMMENT= Anti-virus toolkit
@@ -15,7 +15,7 @@ LICENSE= gnu-gpl-v2
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 @@ CONFIGURE_ARGS+= --with-ltdl-lib=${BUILDLINK_PREFIX.libltdl}/lib
.include "../../mk/bsd.prefs.mk"
+PLIST_SRC+= ${PKGDIR}/PLIST
+
.if ${OPSYS} == "NetBSD" && !empty(OS_VERSION:M1.*)
CONFIGURE_ARGS+= --disable-readdir-r
.else
diff --git a/mail/clamav/PLIST b/mail/clamav/PLIST
index 86c907d6ce4..27d5d015b1f 100644
--- a/mail/clamav/PLIST
+++ b/mail/clamav/PLIST
@@ -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/clamd.conf.5
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 --git a/mail/clamav/PLIST.milter b/mail/clamav/PLIST.milter
new file mode 100644
index 00000000000..43899da96e4
--- /dev/null
+++ b/mail/clamav/PLIST.milter
@@ -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 --git a/mail/clamav/distinfo b/mail/clamav/distinfo
index ab6de181ea5..594686dbb13 100644
--- a/mail/clamav/distinfo
+++ b/mail/clamav/distinfo
@@ -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 --git a/mail/clamav/options.mk b/mail/clamav/options.mk
index da405bb594c..37628b0a96e 100644
--- a/mail/clamav/options.mk
+++ b/mail/clamav/options.mk
@@ -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 @@ PLIST_VARS+= milter
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 --git a/mail/clamav/patches/patch-aa b/mail/clamav/patches/patch-aa
index 5ad104dbefe..b49bc3646f6 100644
--- a/mail/clamav/patches/patch-aa
+++ b/mail/clamav/patches/patch-aa
@@ -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 --git a/mail/clamav/patches/patch-ab b/mail/clamav/patches/patch-ab
new file mode 100644
index 00000000000..2934146a3d4
--- /dev/null
+++ b/mail/clamav/patches/patch-ab
@@ -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 --git a/mail/clamav/patches/patch-ac b/mail/clamav/patches/patch-ac
new file mode 100644
index 00000000000..827b5f2e491
--- /dev/null
+++ b/mail/clamav/patches/patch-ac
@@ -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 --git a/mail/clamav/patches/patch-ad b/mail/clamav/patches/patch-ad
index d4ecba16ec8..f1fc8431e2f 100644
--- a/mail/clamav/patches/patch-ad
+++ b/mail/clamav/patches/patch-ad
@@ -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 $
---- 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 @@
+Fix compileation error DragonFly.
+
+--- 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 --git a/mail/clamav/patches/patch-af b/mail/clamav/patches/patch-af
index 90662dbfb90..a5085ec2cf3 100644
--- a/mail/clamav/patches/patch-af
+++ b/mail/clamav/patches/patch-af
@@ -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 $
---- 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 @@
+Fix compileation error DragonFly.
+
+--- 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 --git a/mail/clamav/patches/patch-ag b/mail/clamav/patches/patch-ag
index 2fd84618747..209dcc13890 100644
--- a/mail/clamav/patches/patch-ag
+++ b/mail/clamav/patches/patch-ag
@@ -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>