pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mail/clamav update clamav to 0.82. closes PR pkg/29139...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5d9a2729ed7d
branches:  trunk
changeset: 488951:5d9a2729ed7d
user:      grant <grant%pkgsrc.org@localhost>
date:      Sun Feb 13 07:24:22 2005 +0000

description:
update clamav to 0.82. closes PR pkg/29139, PR pkg/29319.

changes since 0.80 (summarized to include only the significant
changes. other changes are documentation updates and misc. bug fixes.
see the full ChangeLog for details).

Sat Feb  5 16:48:46 CET 2005 (tk)
---------------------------------
  * libclamav: activate RIFF code (patch by Trog)

Sat Feb  5 16:17:41 CET 2005 (tk)
---------------------------------
  * libclamav/scanners.c: do not report Suspected.Zip on standard breaking zip
                          archives created by ICEOWS (problem reported by
                          Hamacker <sirhamacker*vidy.com.br> and Dirk Mueller
                          <mueller*kde.org>)

Sat Feb  5 09:39:48 GMT 2005 (trog)
-----------------------------------
  * libclamav/special.c: support for big-endian system in RIFF code.

Fri Feb  4 10:02:08 GMT 2005 (trog)
-----------------------------------
  * libclamav/special.c: check RIFF files for MS05-002. Not yet activated.

Thu Feb  3 21:09:34 GMT 2005 (njh)
----------------------------------
  * libclamav/mbox.c:   Speed improvements in the handling of bounce messages

Wed Feb  2 08:32:46 GMT 2005 (njh)
----------------------------------
  * clamav-milter:      Call watchdog when neither SESSION nor --external is
                                given

Tue Feb  1 14:47:21 GMT 2005 (njh)
----------------------------------
  * libclamav/blob.c:   Sanitise tab characters in filenames ("Heinz Martin"
                                <Martin*hemag.ch>)
                        Decode encapsulated messages that have for some reason
                                been base64 encoded (even though they're already
                                7 bit)

Tue Feb  1 08:54:46 GMT 2005 (njh)
----------------------------------
  * clamav-milter:      Delete X-Virus-Status in clamfi_eom not in
                                clamfi_header. Patch by Jef Poskanzer
                                <jef*acme.com>
                        X-Virus-Status now says that virus that it's infected
                                with. Suggestion by "Hank Beatty"
                                <hbeatty*starband.net>

Mon Jan 31 11:05:20 GMT 2005 (njh)
----------------------------------
  * libclamav/mbox.c:   Empty lines should the end of the headers,
                                but some base64 decoders, e.g. uudeview, are
                                broken and will handle this type of entry,
                                decoding the base64 content that's after the
                                text that's after the header

Sun Jan 30 15:18:02 GMT 2005 (njh)
----------------------------------
  * clamav-milter:      SESSION is on now by default, to test clamd
                        PACKADDR is now uses unsinged to remove warning on
                                Sun's C compiler, patch by
                                "Dugal James P." <jpd*louisiana.edu>
                        Don't check compatibility with sendmail.cf if sendmail
                                is running on a different machine

Fri Jan 28 08:51:08 GMT 2005 (njh)
----------------------------------
  * clamav-milter:      Some error messages still talked about --internal
                        Scanmail not set warning is now only given if
                                DisableDefaultScanOptions is set

Thu Jan 27 14:11:13 GMT 2005 (njh)
----------------------------------
  * libclamav/mbox.c:   Scan sendmail queue df* files

Thu Jan 27 10:55:35 GMT 2005 (njh)
----------------------------------
  * clamav-milter:      Don't scan emails intended for the --quarantine address,
                                that stops scanning of emails generated with
                                viruses if --outgoing has been set
                        Downgraded scanmail not defined if --external isn't
                                given from error to warning
                        Added -i flag when calling sendmail, suggested by
                                Michal Jaegermann <michal*harddata.com>

Thu Jan 27 01:35:35 CET 2005 (tk)
---------------------------------
  * freshclam/manager.c: add support for HTTP/1.0 ansers in IMS (--no-dns) mode
                         (patch by Sven Strickroth <sstrickroth*gym-oha.de>)

Wed Jan 26 19:27:57 CET 2005 (tk)
---------------------------------
  V 0.81

Tue Jan 25 08:12:51 GMT 2005 (njh)
----------------------------------
  * clamav-milter:      Internal mode is now the default. Removed --internal
                                option, added --external.
                        Don't use clamd's SESSION mode, since that causes
                                problems with clamd/freshclam when freshclam
                                is run. SESSION mode can be enabled from
                                the source code. Most people can use SESSION
                                mode safely, but it has caused problems on BSD

Mon Jan 24 13:56:19 GMT 2005 (njh)
----------------------------------
  * libclamav/message.c:        Some Exploit.IE.CrashSOS were not being caught,
                        found by Carsten.Borchardt*drs-systemberatung.de

Sat Jan 22 13:45:42 GMT 2005 (njh)
----------------------------------
  * clamav-milter:      If forwarding to a quarantine user fails log as LOG_ERR
                                not LOG_DEBUG
                        Try to santity check that the input socket name is the
                                same as the same given to sendmail
                        Redirect stdout and stderr to LogFile, if that is set
                        --quarantine didn't redirect to the given email address
                                if --internal was used (reported by N Fung
                                <nsfung*yahoo.com>)

Sun Jan 16 06:28:59 CET 2005 (tk)
---------------------------------
  * libclamav/pe.c: attempt to detect W32.Parite.B using cryptanalysis (thanks
                    to aCaB for info on detection)

Fri Jan 14 16:12:21 GMT 2005 (trog)
-----------------------------------
  * libclamav/filetypes.c: add a few more HTML filetype markers

Fri Jan 14 14:53:59 GMT 2005 (trog)
-----------------------------------
  * libclamav/htmlnorm.c: RFC2397 ("data" URL scheme) support.
  * libclamav/scanner.c: scan RFC2397 data.

Wed Jan 12 08:58:29 GMT 2005 (njh)
----------------------------------
  * clamav-milter:      Fixed DNS resolution error messages which could print
                the incorrect hostname that is not being resolved. Patch from
                Yar Tikhiy <yar*comp.chem.msu.su>

Tue Jan 11 02:27:24 CET 2005 (tk)
---------------------------------
  * libclamav/scanners.c: Fix possible crash when handling file information in
                          corrupted zip archives (problem reported by
                          Reinhard Max <max*suse.de>)

Sun Jan  9 21:24:58 GMT 2005 (njh)
----------------------------------
  * libclamav/mbox.c:   Some HTML.Phishing.Bank-41 were getting through

Sun Jan  9 11:38:39 GMT 2005 (njh)
----------------------------------
  * libclamav/mbox.c:   Add support for messages that break RFC2047

Sat Jan  8 02:53:20 CET 2005 (tk)
---------------------------------
  * libclamav/filetypes.c: Add support for mail files parsed by CMU Sieve
                           (samples provided by Stefan Kaltenbrunner
                           <stefan*kaltenbrunner.cc>)

Wed Jan  5 21:09:14 GMT 2005 (njh)
----------------------------------
  * libclamav/message.c:        Fix crash caused when looking for non-existant
                        uuencoded files. This happens when the stated encoding
                        method is wrong so we have to try all methods and
                        including those which will fail

Mon Dec 27 05:01:54 CET 2004 (tk)
---------------------------------
  * freshclam/manager.c: use If-Modified-Since in --no-dns mode (based on code
                         by Reini Urban <rurban*x-ray.at>)

Mon Dec 27 01:09:20 CET 2004 (tk)
---------------------------------
  * libclamav/scanners.c: Add missing ArchiveBlockMax rule for recursion limit
                          (reported by HR <haavard*zyf.no-ip.org>)

Sun Dec 19 17:01:56 GMT 2004 (njh)
----------------------------------
  * clamav-milter: Correctly warn that --max_childen must be given in SESSION
                mode if LocalSocket is used and MaxThreads isn't given in
                clamd.conf. max_children is needed to know how many sessions
                to initiate to clamd(s)

Tue Dec 14 11:36:43 GMT 2004 (trog)
-----------------------------------
  * libclamav/vba_extract.c:
        - Add signature for MacOffice 2004
        - Guess endianness of unknown versions of MS Office.

Tue Dec 14 11:15:22 GMT 2004 (trog)
-----------------------------------
  * sigtool/options.c sigtool/sigtool.c: New options: --vba and --vba-hex
  * sigtool/vba.c sigtool/vba.h: New files. Code to extract VBA/Word6 macros

Tue Dec  7 23:40:30 CET 2004 (tk)
---------------------------------
  * configure: added --disable-zlib-vcheck (allows building on potentially
               buggy zlib versions (1.2.0 & 1.2.1))

Tue Dec  7 19:25:06 GMT 2004 (njh)
----------------------------------
  * clamav-milter:      Ensure that the daily quarantine directory is created

Tue Dec  7 02:48:08 CET 2004 (tk)
---------------------------------
  * clamd: added support for file descriptor passing (patch by Richard Lyons
           <frob-clamav*webcentral.com.au>)

Mon Dec  6 22:33:26 GMT 2004 (njh)
----------------------------------
  * clamav-milter:      Ensure the date is kept in the quarantine path

Wed Dec  1 22:29:33 GMT 2004 (njh)
----------------------------------
  * clamav-milter:      Added --internal flag (some functionality to do)
                        SESSIONS: Don't hang when StreamMaxLength is hit

Wed Dec  1 13:14:33 GMT 2004 (njh)
----------------------------------
  * libclamav/mbox.c:   Decode text/plain parts marked as being encoded,
                reported by Trog

Mon Nov 29 00:23:55 CET 2004 (tk)
---------------------------------
  * clamdscan: add support for --move and --remove options

Sun Nov 28 16:30:18 GMT 2004 (njh)
----------------------------------
  * libclamav/message.c:        Allow lower case hex in quoted-printable
                        messages

Sat Nov 27 14:40:55 GMT 2004 (njh)
----------------------------------
 * libclamav/mbox.c:    Honour section 7.2.6 of RFC1521

Sat Nov 27 13:18:42 GMT 2004 (njh)
----------------------------------
 * libclamav:   Assume x-uue is the same as x-uuencode
                If uudecoding fails and other possibilities have been
                        registered, don't take the failure as fatal, also try
                        the other decoding methods

Thu Nov 25 18:38:06 CET 2004 (tk)
---------------------------------
  * clamd: new directives StreamMinPort and StreamMaxPort (allow port range
           specification for stream mode). Patch by Alexander Marx
           <mad-ml*madness.at>)

Thu Nov 18 20:28:13 CET 2004 (tk)
---------------------------------
  * libclamav: add support for Mac's HQX file format (patch by Nigel)

Thu Nov 18 11:03:14 CET 2004 (tk)
---------------------------------
  * libclamav: try to detect (and mark as Suspected.Zip) zip archives with
               modified information in local header

Fri Nov 12 09:44:23 GMT 2004 (njh)
----------------------------------
  * libclamav/mbox.c:           Draft of RFC1341 support is now on by default.
                        Fragments arriving out of order are not scanned (yet).
                        If you use clamav-milter to load balance clamd across
                                servers you will need to ensure that the partial
                                directory is on a shared directory (e.g. NFS)

Mon Nov  8 15:24:18 CET 2004 (tk)
---------------------------------
  * clamd: new directive ExitOnOOM (stop deamon when libclamav reports out of
           memory condition)

Wed Nov  3 12:47:41 GMT 2004 (njh)
----------------------------------
  * libclamav/clamav-milter:    Save the original subject as X-Original-Subject
                        when running in advisory or qurantine mode
                        SESSION mode: warn when no clamd can be reached

Wed Oct 27 13:36:14 BST 2004 (njh)
----------------------------------
  * clamav-milter:      Remove X-VIRUS-STATUS on incoming messages
                        Plug remote possibility of file descriptor leak
                        Return EX_OSERR if fork fails, not EX_TEMPFAIL
                        If clamav-milter points to more than one server, ensure
                                that the version information for that server is
                                added to the header
                        Update version information in the watchdog. There may
                                therefore be a delay between the server updating
                                and this being reflected in the headers

diffstat:

 mail/clamav/Makefile         |   9 ++++++---
 mail/clamav/buildlink3.mk    |   4 ++--
 mail/clamav/distinfo         |  11 +++++------
 mail/clamav/patches/patch-ad |  14 +++++---------
 mail/clamav/patches/patch-ah |  14 +++++++-------
 5 files changed, 25 insertions(+), 27 deletions(-)

diffs (128 lines):

diff -r 80eb75f86485 -r 5d9a2729ed7d mail/clamav/Makefile
--- a/mail/clamav/Makefile      Sun Feb 13 04:33:24 2005 +0000
+++ b/mail/clamav/Makefile      Sun Feb 13 07:24:22 2005 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.33 2005/01/03 15:59:12 wiz Exp $
+# $NetBSD: Makefile,v 1.34 2005/02/13 07:24:22 grant Exp $
 
 DISTNAME=      clamav-${CLAMAV_VERSION}
 PKGNAME=       clamav-${CLAMAV_VERSION:S/-/./}
-PKGREVISION=   5
 CATEGORIES=    mail
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=clamav/}
 
@@ -12,7 +11,7 @@
 
 PKG_INSTALLATION_TYPES=        overwrite pkgviews
 
-CLAMAV_VERSION=                0.80
+CLAMAV_VERSION=                0.82
 
 USE_BUILDLINK3=                yes
 USE_LIBTOOL=           yes
@@ -85,6 +84,10 @@
 CONFIGURE_ARGS+=       --without-libcurl
 .endif
 
+# pkgsrc enforces a "secure" version of zlib, so don't let this check
+# bomb the build.
+CONFIGURE_ARGS+=       --disable-zlib-vcheck
+
 .include "../../archivers/bzip2/buildlink3.mk"
 .include "../../devel/zlib/buildlink3.mk"
 .include "../../devel/gmp/buildlink3.mk"
diff -r 80eb75f86485 -r 5d9a2729ed7d mail/clamav/buildlink3.mk
--- a/mail/clamav/buildlink3.mk Sun Feb 13 04:33:24 2005 +0000
+++ b/mail/clamav/buildlink3.mk Sun Feb 13 07:24:22 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.3 2004/10/20 06:30:24 grant Exp $
+# $NetBSD: buildlink3.mk,v 1.4 2005/02/13 07:24:22 grant Exp $
 
 BUILDLINK_DEPTH:=      ${BUILDLINK_DEPTH}+
 CLAMAV_BUILDLINK3_MK:= ${CLAMAV_BUILDLINK3_MK}+
@@ -12,7 +12,7 @@
 
 .if !empty(CLAMAV_BUILDLINK3_MK:M+)
 BUILDLINK_DEPENDS.clamav+=     clamav>=0.60nb1
-BUILDLINK_RECOMMENDED.clamav+= clamav>=0.80
+BUILDLINK_RECOMMENDED.clamav+= clamav>=0.82
 BUILDLINK_PKGSRCDIR.clamav?=   ../../mail/clamav
 .endif # CLAMAV_BUILDLINK3_MK
 
diff -r 80eb75f86485 -r 5d9a2729ed7d mail/clamav/distinfo
--- a/mail/clamav/distinfo      Sun Feb 13 04:33:24 2005 +0000
+++ b/mail/clamav/distinfo      Sun Feb 13 07:24:22 2005 +0000
@@ -1,9 +1,8 @@
-$NetBSD: distinfo,v 1.20 2004/10/30 12:34:51 grant Exp $
+$NetBSD: distinfo,v 1.21 2005/02/13 07:24:22 grant Exp $
 
-SHA1 (clamav-0.80.tar.gz) = 0f050a19c514d2bab6063c983f155fb891c7155f
-Size (clamav-0.80.tar.gz) = 2679434 bytes
+SHA1 (clamav-0.82.tar.gz) = 83dd3b5881efee5d682f746419e5654cfb35e0e6
+Size (clamav-0.82.tar.gz) = 3565864 bytes
 SHA1 (patch-aa) = 17c713c3b5833f895b7caa470ae31f3d45d60643
-SHA1 (patch-ad) = 39ce91421e9baf128817830b34e196a5275e208e
+SHA1 (patch-ad) = 6dffd1bbccf4effd0e073d366f1da35070521bd8
 SHA1 (patch-af) = 605728b133ddb95827285d06bfeec9400222f874
-SHA1 (patch-ag) = 3f3154077961527ad6afa9574091fb743f2c50ab
-SHA1 (patch-ah) = f033a0fc7ce1a81fc7983954397e942724f174cc
+SHA1 (patch-ah) = 9a62a7e5ad90f05df4972dfd3a129ce8848435e6
diff -r 80eb75f86485 -r 5d9a2729ed7d mail/clamav/patches/patch-ad
--- a/mail/clamav/patches/patch-ad      Sun Feb 13 04:33:24 2005 +0000
+++ b/mail/clamav/patches/patch-ad      Sun Feb 13 07:24:22 2005 +0000
@@ -1,13 +1,9 @@
-$NetBSD: patch-ad,v 1.7 2004/10/30 09:50:33 xtraeme Exp $
+$NetBSD: patch-ad,v 1.8 2005/02/13 07:24:22 grant Exp $
 
---- docs/Makefile.in.orig      2004-10-18 02:37:41.000000000 +1000
-+++ docs/Makefile.in   2004-10-19 09:34:06.000000000 +1000
-@@ -176,9 +176,11 @@
- target_os = @target_os@
- target_vendor = @target_vendor@
- EXTRA_DIST = clamdoc.pdf html man clamav-mirror-howto.pdf signatures.pdf MacOSX
--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_MANS = man/clamscan.1 man/freshclam.1 man/sigtool.1 man/clamd.8 man/clamd.conf.5 man/clamdscan.1 man/freshclam.conf.5
+--- docs/Makefile.in.orig      2005-02-07 08:28:08.000000000 +1100
++++ docs/Makefile.in
+@@ -179,6 +179,8 @@ EXTRA_DIST = clamdoc.pdf man clamav-mirr
+ 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
  all: all-am
  
 +@BUILD_CLAMD_TRUE@@HAVE_MILTER_TRUE@MILTER_MANS = man/clamav-milter.8
diff -r 80eb75f86485 -r 5d9a2729ed7d mail/clamav/patches/patch-ah
--- a/mail/clamav/patches/patch-ah      Sun Feb 13 04:33:24 2005 +0000
+++ b/mail/clamav/patches/patch-ah      Sun Feb 13 07:24:22 2005 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-ah,v 1.1 2004/10/30 12:34:51 grant Exp $
+$NetBSD: patch-ah,v 1.2 2005/02/13 07:24:22 grant Exp $
 
---- clamav-milter/clamav-milter.c.orig 2004-10-11 10:59:12.000000000 +1000
+--- clamav-milter/clamav-milter.c.orig 2005-02-07 07:35:29.000000000 +1100
 +++ clamav-milter/clamav-milter.c
-@@ -2691,7 +2691,7 @@ clamfi_eom(SMFICTX *ctx)
+@@ -3251,7 +3251,7 @@ clamfi_eom(SMFICTX *ctx)
                                                 * the postmaster, so include
                                                 * some useful information
                                                 */
@@ -11,8 +11,8 @@
                                                        sendmailId, sender);
                                        else
                                                fprintf(sendmail, _("A message sent from %s to\n"),
-@@ -2706,7 +2706,7 @@ clamfi_eom(SMFICTX *ctx)
-                                                       fprintf(sendmail, _("\nThe message in question has been quarantined as %s\n"), privdata->filename);
+@@ -3265,7 +3265,7 @@ clamfi_eom(SMFICTX *ctx)
+                                               fprintf(sendmail, _("\nThe message in question has been quarantined as %s\n"), privdata->filename);
  
                                        if(hflag) {
 -                                              fprintf(sendmail, _("\nThe message was received by %1$s from %2$s via %3$s\n\n"),
@@ -20,8 +20,8 @@
                                                        smfi_getsymval(ctx, "j"), sender,
                                                        smfi_getsymval(ctx, "_"));
                                                fputs(_("For your information, the original message headers were:\n\n"), sendmail);
-@@ -3697,7 +3697,7 @@ qfile(struct privdata *privdata, const c
-       if(link(privdata->filename, newname) < 0) {
+@@ -4381,7 +4381,7 @@ qfile(struct privdata *privdata, const c
+       if(move(privdata->filename, newname) < 0) {
                perror(newname);
                if(use_syslog)
 -                      syslog(LOG_WARNING, _("Can't rename %1$s to %2$s"),



Home | Main Index | Thread Index | Old Index