Subject: [alpine-aports] [PATCH] main/clamav: upgrade to 0.99.3 (fixes multiple vulnerabilities)

From: kaiyou <[email-masked]>
Date: Tue, 30 Jan 2018 08:28:48 +0100

---
 main/clamav/APKBUILD             | 10 ++++------
 main/clamav/fix-zlib-1.2.1.patch | 21 ---------------------
 2 files changed, 4 insertions(+), 27 deletions(-)
 delete mode 100644 main/clamav/fix-zlib-1.2.1.patch

diff --git a/main/clamav/APKBUILD b/main/clamav/APKBUILD
index be159c5af6..ca6ec211fa 100644
--- a/main/clamav/APKBUILD
+++ b/main/clamav/APKBUILD
@@ -3,8 +3,8 @@
 # Contributor: Carlo Landmeter <[email-masked]>
 # Maintainer: Carlo Landmeter <[email-masked]>
 pkgname=clamav
-pkgver=0.99.2
-pkgrel=6
+pkgver=0.99.3
+pkgrel=1
 pkgusers="clamav"
 pkggroups="clamav"
 pkgdesc="An anti-virus toolkit for UNIX eis-ng backport"
@@ -27,7 +27,6 @@ source="http://www.clamav.net/downloads/production/$pkgname-$pkgver.tar.gz
 	freshclam.confd
 	clamd.logrotate
 	freshclam.logrotate
-	fix-zlib-1.2.1.patch
 	"
 
 builddir="$srcdir/$pkgname-$pkgver"
@@ -195,11 +194,10 @@ milter() {
 		"$subpkgdir"/etc/clamav/clamav-milter.conf
 }
 
-sha512sums="7744ba8a344b163cf98e9737cddfd25d2120b34ee9c4518380e028c9ec3cd50127b198b0dfa9fde30f5ce9aab0c0e6384712fbc11287e77d16ce052fd7b6ac44  clamav-0.99.2.tar.gz
+sha512sums="0d3c75d571ed4aa4937ef2b743a39a9a144f5adfd6f56f71046e5a8387b8ed7c3c4d9a4196aa85750f9ec4dc545720fdd659289d0cce086ab13a7cc505a0ab3e  clamav-0.99.3.tar.gz
 ed81be79bf9a25eec071312252121cc76c96838407377b75077bf94922055f1de99f327982ac4dccd5be85003baa95385e5d002fabab32bb851bb30178475edd  clamd.initd
 59c561b3dcb0b616b647cd8e4ebc46a2cc5e7144c8c7ea0054cc1c3021d1da8f67e4dad5c083c3fe712ed887aaabfca91b538f4759537e7c4c9ab71ba4fd5794  clamd.confd
 00daed8afb67a6e4a29893340246c8840cce970dd9103d26557ecdd26ef60b12551d2291c214fc657faaaa339484052079347411b0cad65e3a33ece56d57cf16  freshclam.initd
 ba181fe1abaac7b898ccb40b0713455aa3c9d5e25ad21d687b6cac09b0105b9e376526e7c776a44636234d8db819709d8d6a6cc76119bc3e98b637b1a3f26c08  freshclam.confd
 3ae493dd1610a819402c015f6b8c0f080f926b72dc43d2bded60030bf6a55040e4b88e0f64d3aae299dc1133d7e1b89855e7346b4665a64e8b82592f7b75cf6a  clamd.logrotate
-30cff378bc28c76b795e00c92ae5ee623f3abe4a19bed61dd8403c96e72658bb02b7f040d26a6258104af754464d25ea7d9646918c4b47d2ba9a8cbf4687056c  freshclam.logrotate
-d555e40d6424b47afc6375d42379d0798963168eb47dcefaf5d9f5e429827af7cd7461792f3af3875754a97cfc259d5bb5a1fbe254489e43f4135cfa6f90a5b0  fix-zlib-1.2.1.patch"
+30cff378bc28c76b795e00c92ae5ee623f3abe4a19bed61dd8403c96e72658bb02b7f040d26a6258104af754464d25ea7d9646918c4b47d2ba9a8cbf4687056c  freshclam.logrotate"
diff --git a/main/clamav/fix-zlib-1.2.1.patch b/main/clamav/fix-zlib-1.2.1.patch
deleted file mode 100644
index 8ab4db0728..0000000000
--- a/main/clamav/fix-zlib-1.2.1.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-
----
- configure | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/configure b/configure
-index 9bcd60b..4a3359a 100755
---- a/configure
-+++ b/configure
-@@ -18718,7 +18718,7 @@ else
- 
-     vuln=`grep "ZLIB_VERSION \"1.2.0" $ZLIB_HOME/include/zlib.h`
-     if test -z "$vuln"; then
--	vuln=`grep "ZLIB_VERSION \"1.2.1" $ZLIB_HOME/include/zlib.h`
-+	vuln=`grep "ZLIB_VERSION \"1.2.1\"" $ZLIB_HOME/include/zlib.h`
-     fi
- 
-     if test -n "$vuln"; then
--- 
-2.11.1
-
-- 
2.14.3

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---