diff --git a/clamav-0.95.1.tar.bz2 b/clamav-0.95.1.tar.bz2 deleted file mode 100644 index bf6c421..0000000 --- a/clamav-0.95.1.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:84ce8f1aad04a66dfc7af54bb91dfbda23c4171ea16496d5de460ef040e1b0d4 -size 24098220 diff --git a/clamav-0.95.2.tar.bz2 b/clamav-0.95.2.tar.bz2 new file mode 100644 index 0000000..54b8233 --- /dev/null +++ b/clamav-0.95.2.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0466f1f65a4a477dba387bdc64736a00167ebcc64f87f5901c9c62959707c90e +size 24979140 diff --git a/clamav-sles9.patch b/clamav-sles9.patch new file mode 100644 index 0000000..a4d09d6 --- /dev/null +++ b/clamav-sles9.patch @@ -0,0 +1,20 @@ +--- clamav-milter/clamfi.c ++++ clamav-milter/clamfi.c +@@ -89,16 +89,11 @@ + while(status) + if(smfi_chgheader(ctx, (char *)"X-Virus-Status", status--, NULL) != MI_SUCCESS) + logg("^Failed to remove existing X-Virus-Status header\n"); ++ } + if(smfi_addheader(ctx, (char *)"X-Virus-Scanned", xvirushdr) != MI_SUCCESS) + logg("^Failed to add X-Virus-Scanned header\n"); + if(smfi_addheader(ctx, (char *)"X-Virus-Status", st) != MI_SUCCESS) + logg("^Failed to add X-Virus-Status header\n"); +- } else { /* Add */ +- if(smfi_insheader(ctx, 1, (char *)"X-Virus-Scanned", xvirushdr) != MI_SUCCESS) +- logg("^Failed to insert X-Virus-Scanned header\n"); +- if(smfi_insheader(ctx, 1, (char *)"X-Virus-Status", st) != MI_SUCCESS) +- logg("^Failed to insert X-Virus-Status header\n"); +- } + } + + enum CFWHAT { diff --git a/clamav.changes b/clamav.changes index e9ff923..8789506 100644 --- a/clamav.changes +++ b/clamav.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Wed Jun 17 12:27:48 CEST 2009 - max@suse.de + +- clamav-sles9.patch: smfi_insheader() doesn't exist in libmilter + on SLES9, so we revert a recent change that introduced its + usage to improve the handling of DomainKeys Identified Mail. + +------------------------------------------------------------------- +Mon Jun 15 12:17:33 CEST 2009 - max@suse.de + +- Security release: 0.95.2 (bnc#511963). + ------------------------------------------------------------------- Tue Apr 14 16:04:26 CEST 2009 - max@suse.de diff --git a/clamav.spec b/clamav.spec index cccf141..be6f423 100644 --- a/clamav.spec +++ b/clamav.spec @@ -1,5 +1,5 @@ # -# spec file for package clamav (Version 0.95.1) +# spec file for package clamav (Version 0.95.2) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -30,9 +30,9 @@ BuildRequires: check-devel pwdutils %define clamav_check --disable-check %endif Summary: Antivirus Toolkit -Version: 0.95.1 +Version: 0.95.2 Release: 1 -License: GPL v2 or later +License: GPL v2 only Group: Productivity/Security Url: http://www.clamav.net Requires: latex2html-pngicons @@ -47,16 +47,47 @@ Source3: clamav-updateclamconf Source4: clamav-rpmlintrc Source5: clamav-rcmilter Patch1: clamav-conf.patch +Patch2: clamav-sles9.patch Patch3: clamav-valgrind.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description -Clam AntiVirus is an antivirus toolkit for UNIX. The main purpose of -this software is the integration with mail servers (attachment -scanning). The package provides a flexible and scalable multithreaded -daemon, a command line scanner, and a tool for automatic updating via -the Internet. It can be used in conjunction with AMaViSD-new and -Postfix to provide a combined e-mail filter for spam and viruses. +Clam AntiVirus is an open source (GPL) anti-virus toolkit for UNIX, +designed especially for e-mail scanning on mail gateways. It provides a +number of utilities including a flexible and scalable multi-threaded +daemon, a command line scanner and advanced tool for automatic database +updates. The core of the package is an anti-virus engine available in a +form of shared library. + +Here is a list of the main features: + +* command-line scanner + +* fast, multi-threaded daemon with support for on-access scanning + +* milter interface for sendmail + +* advanced database updater with support for scripted updates and + digital signatures + +* virus scanner C library + +* on-access scanning (Linux® and FreeBSD®) + +* virus database updated multiple times per day (see home page for + total number of signatures) + +* built-in support for various archive formats, including Zip, RAR, + Tar, Gzip, Bzip2, OLE2, Cabinet, CHM, BinHex, SIS and others + +* built-in support for almost all mail file formats + +* built-in support for ELF executables and Portable Executable files + compressed with UPX, FSG, Petite, NsPack, wwpack32, MEW, Upack + and obfuscated with SUE, Y0da Cryptor and others + +* built-in support for popular document formats including MS Office and +MacOffice files, HTML, RTF and PDF @@ -86,6 +117,10 @@ Authors: %prep %setup -q %patch1 +%if 0%{?suse_version} == 0910 +# SLES9's libmilter doesn't have smfi_insheader() +%patch2 +%endif %patch3 %build @@ -95,7 +130,7 @@ CFLAGS="-fstack-protector" export CFLAGS="%optflags -fno-strict-aliasing $CFLAGS" %if 0%{?suse_version} == 0910 # SLES9 needs this macro to enable the quarantine feature in libmilter -CFLAGS="$CFLAGS -D_FFR_QUARANTINE" +CFLAGS="$CFLAGS -D_FFR_QUARANTINE -D_FFR_SMFI_OPENSOCKET" %endif ./configure \ --prefix=%_prefix \ @@ -259,6 +294,12 @@ for f in main daily; do done %changelog +* Wed Jun 17 2009 max@suse.de +- clamav-sles9.patch: smfi_insheader() doesn't exist in libmilter + on SLES9, so we revert a recent change that introduced its + usage to improve the handling of DomainKeys Identified Mail. +* Mon Jun 15 2009 max@suse.de +- Security release: 0.95.2 (bnc#511963). * Tue Apr 14 2009 max@suse.de - Security release: 0.95.1 (bnc#493562) * Mon Apr 06 2009 max@suse.de