From 1ebbf210cb7bf888fecb35e9df863c01d2c33aad Mon Sep 17 00:00:00 2001 From: martti Date: Wed, 18 Jul 2007 06:57:59 +0000 Subject: Updated mail/clamav to 0.91.1nb1 Fix for https://wwws.clamav.net/bugzilla/show_bug.cgi?id=580 --- mail/clamav/Makefile | 4 ++-- mail/clamav/distinfo | 3 ++- mail/clamav/patches/patch-aa | 15 +++++++++++++++ 3 files changed, 19 insertions(+), 3 deletions(-) create mode 100644 mail/clamav/patches/patch-aa (limited to 'mail') diff --git a/mail/clamav/Makefile b/mail/clamav/Makefile index a188b6e6b69..f27f952d38b 100644 --- a/mail/clamav/Makefile +++ b/mail/clamav/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.78 2007/07/17 06:54:31 martti Exp $ +# $NetBSD: Makefile,v 1.79 2007/07/18 06:57:59 martti Exp $ DISTNAME= clamav-${CLAMAV_VERSION} PKGNAME= clamav-${CLAMAV_VERSION:S/-/./} -#PKGREVISION= 1 +PKGREVISION= 1 CATEGORIES= mail MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=clamav/} diff --git a/mail/clamav/distinfo b/mail/clamav/distinfo index edb92f4858f..8b8f5357060 100644 --- a/mail/clamav/distinfo +++ b/mail/clamav/distinfo @@ -1,8 +1,9 @@ -$NetBSD: distinfo,v 1.46 2007/07/17 06:54:31 martti Exp $ +$NetBSD: distinfo,v 1.47 2007/07/18 06:57:59 martti Exp $ SHA1 (clamav-0.91.1.tar.gz) = 51ff98325b5ffd49dfc0f0cbf92134c0d872cd21 RMD160 (clamav-0.91.1.tar.gz) = a9b1526d11264d55e3ac38b7c16d27db43bf8a4e Size (clamav-0.91.1.tar.gz) = 13099119 bytes +SHA1 (patch-aa) = bd290d0ba57f499eb04ab00fa6d87de3957673a1 SHA1 (patch-ad) = 554c183224c04357609111c90d0145c08e13c1d0 SHA1 (patch-af) = fe93995448f968c479ff91d52c1fa2a1e67ef137 SHA1 (patch-ah) = 7de0e2d743d452afb6d253aa4f3bce3ac28605d0 diff --git a/mail/clamav/patches/patch-aa b/mail/clamav/patches/patch-aa new file mode 100644 index 00000000000..2c2f773a1f1 --- /dev/null +++ b/mail/clamav/patches/patch-aa @@ -0,0 +1,15 @@ +$NetBSD: patch-aa,v 1.16 2007/07/18 06:57:59 martti Exp $ + +Fix for https://wwws.clamav.net/bugzilla/show_bug.cgi?id=580 + +--- libclamav/htmlnorm.c.orig 2007-07-18 05:42:18.000000000 +0300 ++++ libclamav/htmlnorm.c 2007-07-18 05:42:39.000000000 +0300 +@@ -1190,7 +1190,7 @@ + html_output_str(file_buff_o2, buff, strlen(buff)); + } + } else +- html_output_c(file_buff_o1, file_buff_o2, tolower(value)); ++ html_output_c(file_buff_o1, file_buff_o2, tolower(value&0xff)); + state = next_state; + next_state = HTML_BAD_STATE; + ptr++; -- cgit v1.2.3