From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 437DB13908F for ; Fri, 27 Jan 2017 19:44:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B7834E0D2A; Fri, 27 Jan 2017 19:44:28 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8608FE0D2A for ; Fri, 27 Jan 2017 19:44:28 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 701DD3413A6 for ; Fri, 27 Jan 2017 19:44:27 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9E94431F8 for ; Fri, 27 Jan 2017 19:44:25 +0000 (UTC) From: "Austin English" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Austin English" Message-ID: <1485546253.bcbbdee31e7cc94d9262a9df057db8fdd31d2f47.wizardedit@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-antivirus/clamav/, app-antivirus/clamav/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-antivirus/clamav/clamav-0.99.1.ebuild app-antivirus/clamav/clamav-0.99.2.ebuild app-antivirus/clamav/clamav-0.99.ebuild app-antivirus/clamav/files/clamav-configure-zlib.patch X-VCS-Directories: app-antivirus/clamav/ app-antivirus/clamav/files/ X-VCS-Committer: wizardedit X-VCS-Committer-Name: Austin English X-VCS-Revision: bcbbdee31e7cc94d9262a9df057db8fdd31d2f47 X-VCS-Branch: master Date: Fri, 27 Jan 2017 19:44:25 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: cf8562d5-0fb7-4109-8bd5-4fdaea96c727 X-Archives-Hash: 1d8e7d3fdf33479ed98cf849a83e3798 commit: bcbbdee31e7cc94d9262a9df057db8fdd31d2f47 Author: Austin English gentoo org> AuthorDate: Fri Jan 27 19:36:06 2017 +0000 Commit: Austin English gentoo org> CommitDate: Fri Jan 27 19:44:13 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bcbbdee3 app-antivirus/clamav: use upstream fix for broken zlib check instead of disabling it completely Ack'ed by radhermit Gentoo-Bug: https://bugs.gentoo.org/604650 Package-Manager: Portage-2.3.2, Repoman-2.3.1 app-antivirus/clamav/clamav-0.99.1.ebuild | 7 +++++-- app-antivirus/clamav/clamav-0.99.2.ebuild | 5 +++-- app-antivirus/clamav/clamav-0.99.ebuild | 5 ++++- .../clamav/files/clamav-configure-zlib.patch | 22 ++++++++++++++++++++++ 4 files changed, 34 insertions(+), 5 deletions(-) diff --git a/app-antivirus/clamav/clamav-0.99.1.ebuild b/app-antivirus/clamav/clamav-0.99.1.ebuild index 4f16064..be2a73a 100644 --- a/app-antivirus/clamav/clamav-0.99.1.ebuild +++ b/app-antivirus/clamav/clamav-0.99.1.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ EAPI=5 -inherit eutils flag-o-matic user systemd +inherit autotools eutils flag-o-matic user systemd DESCRIPTION="Clam Anti-Virus Scanner" HOMEPAGE="http://www.clamav.net/" @@ -45,6 +45,9 @@ pkg_setup() { src_prepare() { use ppc64 && append-flags -mminimal-toc use uclibc && export ac_cv_type_error_t=yes + + epatch "${FILESDIR}"/${PN}-configure-zlib.patch # 604650, fixed in upstream HEAD + eautoconf } src_configure() { diff --git a/app-antivirus/clamav/clamav-0.99.2.ebuild b/app-antivirus/clamav/clamav-0.99.2.ebuild index 5ab484b..1ce8399 100644 --- a/app-antivirus/clamav/clamav-0.99.2.ebuild +++ b/app-antivirus/clamav/clamav-0.99.2.ebuild @@ -4,7 +4,7 @@ EAPI=5 -inherit eutils flag-o-matic user systemd +inherit autotools eutils flag-o-matic user systemd DESCRIPTION="Clam Anti-Virus Scanner" HOMEPAGE="http://www.clamav.net/" @@ -48,13 +48,14 @@ src_prepare() { use uclibc && export ac_cv_type_error_t=yes epatch "${FILESDIR}"/${P}-gcc-6.patch #592432 + epatch "${FILESDIR}"/${PN}-configure-zlib.patch # 604650, fixed in upstream HEAD + eautoconf } src_configure() { econf \ --disable-experimental \ --disable-fanotify \ - --disable-zlib-vcheck \ --enable-id-check \ --with-dbdir="${EPREFIX}"/var/lib/clamav \ --with-system-tommath \ diff --git a/app-antivirus/clamav/clamav-0.99.ebuild b/app-antivirus/clamav/clamav-0.99.ebuild index 144082f..b77f3e7 100644 --- a/app-antivirus/clamav/clamav-0.99.ebuild +++ b/app-antivirus/clamav/clamav-0.99.ebuild @@ -4,7 +4,7 @@ EAPI=5 -inherit eutils flag-o-matic user systemd +inherit autotools eutils flag-o-matic user systemd DESCRIPTION="Clam Anti-Virus Scanner" HOMEPAGE="http://www.clamav.net/" @@ -45,6 +45,9 @@ pkg_setup() { src_prepare() { use ppc64 && append-flags -mminimal-toc use uclibc && export ac_cv_type_error_t=yes + + epatch "${FILESDIR}"/${PN}-configure-zlib.patch # 604650, fixed in upstream HEAD + eautoconf } src_configure() { diff --git a/app-antivirus/clamav/files/clamav-configure-zlib.patch b/app-antivirus/clamav/files/clamav-configure-zlib.patch new file mode 100644 index 00000000..8d1f4e6 --- /dev/null +++ b/app-antivirus/clamav/files/clamav-configure-zlib.patch @@ -0,0 +1,22 @@ +commit f0bcd186190fe6e67b3f0eaaceb7a99aa6a98865 +Author: Steven Morgan +Date: Thu Jan 5 12:30:35 2017 -0500 + + bb111711 - fix zlib version check - patch by Daniel J. Luke. + +diff --git a/m4/reorganization/libs/libz.m4 b/m4/reorganization/libs/libz.m4 +index b5c7414..f7b67ca 100644 +--- a/m4/reorganization/libs/libz.m4 ++++ b/m4/reorganization/libs/libz.m4 +@@ -29,9 +29,9 @@ then + AC_MSG_ERROR([Please install zlib and zlib-devel packages]) + else + +- vuln=`grep "ZLIB_VERSION \"1.2.0" $ZLIB_HOME/include/zlib.h` ++ 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