From patchwork Sat Oct 5 20:59:21 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bernd Kuhls X-Patchwork-Id: 1172290 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.133; helo=hemlock.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=t-online.de Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 46lzdk0cfcz9sPZ for ; Sun, 6 Oct 2019 07:59:54 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 891EC87E72; Sat, 5 Oct 2019 20:59:49 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WVeGynfYburb; Sat, 5 Oct 2019 20:59:47 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 093D487E79; Sat, 5 Oct 2019 20:59:47 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 4DCD21BF27B for ; Sat, 5 Oct 2019 20:59:46 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 49EB020348 for ; Sat, 5 Oct 2019 20:59:46 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6XWeCYofkteb for ; Sat, 5 Oct 2019 20:59:44 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mailout07.t-online.de (mailout07.t-online.de [194.25.134.83]) by silver.osuosl.org (Postfix) with ESMTPS id 432D520023 for ; Sat, 5 Oct 2019 20:59:44 +0000 (UTC) Received: from fwd02.aul.t-online.de (fwd02.aul.t-online.de [172.20.26.148]) by mailout07.t-online.de (Postfix) with SMTP id 0B4AF42CEF44 for ; Sat, 5 Oct 2019 22:59:42 +0200 (CEST) Received: from fli4l.lan.fli4l (ZeDDDgZAZhCbuXKn6gV+hOtn+mPW0-m1j7+bh1RRewFHJYRVD0y+VYr3JxPEgujQLp@[84.161.190.184]) by fwd02.t-online.de with (TLSv1:ECDHE-RSA-AES256-SHA encrypted) esmtp id 1iGr9R-1JThTc0; Sat, 5 Oct 2019 22:59:41 +0200 Received: from mahler.lan.fli4l ([192.168.1.1]:51768) by fli4l.lan.fli4l with esmtp (Exim 4.92.3) (envelope-from ) id 1iGr9H-0008GR-5M for buildroot@buildroot.org; Sat, 05 Oct 2019 22:59:40 +0200 From: Bernd Kuhls To: buildroot@buildroot.org Date: Sat, 5 Oct 2019 22:59:21 +0200 Message-Id: <20191005205921.31593-2-bernd.kuhls@t-online.de> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191005205921.31593-1-bernd.kuhls@t-online.de> References: <20191005205921.31593-1-bernd.kuhls@t-online.de> MIME-Version: 1.0 X-ID: ZeDDDgZAZhCbuXKn6gV+hOtn+mPW0-m1j7+bh1RRewFHJYRVD0y+VYr3JxPEgujQLp X-TOI-MSGID: e8a69272-104a-4e90-ac19-ce5d3fd63ae6 Subject: [Buildroot] [PATCH v2 2/2] package/clamav: bump version to 0.102.0 X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Release notes: https://blog.clamav.net/2019/10/clamav-01020-has-been-released.html Added dependencies to libcurl and libmspack. Although it is technically possible to build this package without libcurl it makes no sense because only libclamav would be built by passing the new configure option --enable-libclamav-only but this would disable most of the package rendering the scan for viruses impossible. Therefore we decided to make libcurl a mandatory dependency. libmspack was added as dependency to avoid building the internally provided code for this package, we prefer to provide needed libraries ourselves. Linking against internally-built libmspack is broken anyway but we do not bother to fix the problem, use system libmspack instead. Signed-off-by: Bernd Kuhls --- v2: typo fixes in patch description package/clamav/Config.in | 2 ++ package/clamav/clamav.hash | 2 +- package/clamav/clamav.mk | 13 +++++-------- 3 files changed, 8 insertions(+), 9 deletions(-) diff --git a/package/clamav/Config.in b/package/clamav/Config.in index 2017011b67..b3f09aebda 100644 --- a/package/clamav/Config.in +++ b/package/clamav/Config.in @@ -4,6 +4,8 @@ config BR2_PACKAGE_CLAMAV depends on BR2_TOOLCHAIN_HAS_THREADS depends on BR2_USE_MMU # fork() depends on BR2_USE_WCHAR + select BR2_PACKAGE_LIBCURL + select BR2_PACKAGE_LIBMSPACK select BR2_PACKAGE_LIBTOOL select BR2_PACKAGE_OPENSSL select BR2_PACKAGE_ZLIB diff --git a/package/clamav/clamav.hash b/package/clamav/clamav.hash index 1246f4febf..aaebfd104c 100644 --- a/package/clamav/clamav.hash +++ b/package/clamav/clamav.hash @@ -1,5 +1,5 @@ # Locally calculated -sha256 0bf094f0919d158a578421d66bc2569c8c8181233ba162bb51722f98c802bccd clamav-0.101.4.tar.gz +sha256 48fe188c46c793c2d0cb5c81c106e4690251aff6dc8aa6575dc688343291bee1 clamav-0.102.0.tar.gz sha256 0c4fd2fa9733fc9122503797648710851e4ee6d9e4969dd33fcbd8c63cd2f584 COPYING sha256 d72a145c90918184a05ef65a04c9e6f7466faa59bc1b82c8f6a8ddc7ddcb9bed COPYING.bzip2 sha256 dfb818a0d41411c6fb1c193c68b73018ceadd1994bda41ad541cbff292894bc6 COPYING.file diff --git a/package/clamav/clamav.mk b/package/clamav/clamav.mk index 03ce4136a7..6500826339 100644 --- a/package/clamav/clamav.mk +++ b/package/clamav/clamav.mk @@ -4,7 +4,7 @@ # ################################################################################ -CLAMAV_VERSION = 0.101.4 +CLAMAV_VERSION = 0.102.0 CLAMAV_SITE = https://www.clamav.net/downloads/production CLAMAV_LICENSE = GPL-2.0 CLAMAV_LICENSE_FILES = COPYING COPYING.bzip2 COPYING.file COPYING.getopt \ @@ -12,6 +12,8 @@ CLAMAV_LICENSE_FILES = COPYING COPYING.bzip2 COPYING.file COPYING.getopt \ COPYING.unrar COPYING.zlib CLAMAV_DEPENDENCIES = \ host-pkgconf \ + libcurl \ + libmspack \ libtool \ openssl \ zlib \ @@ -31,7 +33,9 @@ CLAMAV_CONF_OPTS = \ --with-dbdir=/var/lib/clamav \ --with-ltdl-include=$(STAGING_DIR)/usr/include \ --with-ltdl-lib=$(STAGING_DIR)/usr/lib \ + --with-libcurl=$(STAGING_DIR)/usr \ --with-openssl=$(STAGING_DIR)/usr \ + --with-system-libmspack=$(STAGING_DIR)/usr \ --with-zlib=$(STAGING_DIR)/usr \ --disable-zlib-vcheck \ --disable-rpath \ @@ -66,13 +70,6 @@ else CLAMAV_CONF_OPTS += --disable-xml endif -ifeq ($(BR2_PACKAGE_LIBCURL),y) -CLAMAV_CONF_OPTS += --with-libcurl=$(STAGING_DIR)/usr -CLAMAV_DEPENDENCIES += libcurl -else -CLAMAV_CONF_OPTS += --without-libcurl -endif - ifeq ($(BR2_PACKAGE_LIBICONV),y) CLAMAV_CONF_OPTS += --with-iconv CLAMAV_DEPENDENCIES += libiconv