aboutsummaryrefslogtreecommitdiffstats
path: root/main/clamav
diff options
context:
space:
mode:
authorTuan M. Hoang <tmhoang@flatglobe.org>2017-03-17 07:09:56 -0400
committerLeonardo Arena <rnalrd@alpinelinux.org>2017-03-17 12:38:26 +0000
commit617ee00a324f8ceaf80e06cb5953db358fe28def (patch)
tree4def46dc4e44643cae4e2174cf5eaee2c159bea1 /main/clamav
parentace308dc4d3d61a4719c544712b7d2f61a6761e6 (diff)
downloadaports-617ee00a324f8ceaf80e06cb5953db358fe28def.tar.bz2
aports-617ee00a324f8ceaf80e06cb5953db358fe28def.tar.xz
main/clamav: fix bug
zlib 1.2.11 was mistaken as 1.2.1
Diffstat (limited to 'main/clamav')
-rw-r--r--main/clamav/APKBUILD4
-rw-r--r--main/clamav/fix-zlib-1.2.1.patch21
2 files changed, 24 insertions, 1 deletions
diff --git a/main/clamav/APKBUILD b/main/clamav/APKBUILD
index 4ddf77575a..dfbf49cd48 100644
--- a/main/clamav/APKBUILD
+++ b/main/clamav/APKBUILD
@@ -4,7 +4,7 @@
# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
pkgname=clamav
pkgver=0.99.2
-pkgrel=2
+pkgrel=3
pkgusers="clamav"
pkggroups="clamav"
pkgdesc="An anti-virus toolkit for UNIX eis-ng backport"
@@ -25,6 +25,7 @@ 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"
@@ -204,4 +205,5 @@ ed81be79bf9a25eec071312252121cc76c96838407377b75077bf94922055f1de99f327982ac4dcc
00daed8afb67a6e4a29893340246c8840cce970dd9103d26557ecdd26ef60b12551d2291c214fc657faaaa339484052079347411b0cad65e3a33ece56d57cf16 freshclam.initd
ba181fe1abaac7b898ccb40b0713455aa3c9d5e25ad21d687b6cac09b0105b9e376526e7c776a44636234d8db819709d8d6a6cc76119bc3e98b637b1a3f26c08 freshclam.confd
3ae493dd1610a819402c015f6b8c0f080f926b72dc43d2bded60030bf6a55040e4b88e0f64d3aae299dc1133d7e1b89855e7346b4665a64e8b82592f7b75cf6a clamd.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
new file mode 100644
index 0000000000..8ab4db0728
--- /dev/null
+++ b/main/clamav/fix-zlib-1.2.1.patch
@@ -0,0 +1,21 @@
+
+---
+ 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
+