From patchwork Thu Jul 4 23:44:05 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Schantl X-Patchwork-Id: 2338 Return-Path: Received: from mail01.ipfire.org (mail01.i.ipfire.org [172.28.1.200]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail01.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by web07.i.ipfire.org (Postfix) with ESMTPS id 58338887E54 for ; Thu, 4 Jul 2019 14:44:11 +0100 (BST) Received: from mail01.i.ipfire.org (localhost [IPv6:::1]) by mail01.ipfire.org (Postfix) with ESMTP id 45ffMt37nFz5VQ91; Thu, 4 Jul 2019 14:44:10 +0100 (BST) Received: from tuxedo.stevee (212095005025.public.telering.at [212.95.5.25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mail01.ipfire.org (Postfix) with ESMTPSA id 45ffMq5tL1z5Rqh8; Thu, 4 Jul 2019 14:44:07 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=201904rsa; t=1562247848; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=3q9+QmpqW8sY7wtnrQTNBe25REIz1HaKrcm5PaSDQVk=; b=q1exxU0/Vl9jdPPRliCylLIZrHkwJuHEND1laC6UzV4IR2FRQmiXD7OnDDKkVwcmTfx+Bs ma8zp4A+x22pkWgLeDNpQWrJ6g4sZTGUCt1XJ6qLviWapbpu/Hqq6tXMla6cIJSIa+KwQV CSDGXaaHLL8ASzppXo6RGz8W9pD1M0tz5KjlvMxqBG4Lh91aPHCD0vekmaDNlyNYSgMSMM el548sqpMzN0rOJg4kv+dHVq17JQRnd5AnkYZCEoQkDMOmpsVUzLP4jROdp1MQ4Ig/9B5M MIyv93jzdznSCnG6nQ+q9h0RiHzk2U1dUff5HjlYkDXVL8OkDzxyVwPHi3cmrQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=201904ed25519; t=1562247848; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=3q9+QmpqW8sY7wtnrQTNBe25REIz1HaKrcm5PaSDQVk=; b=ILOzLkcJ38g50J9WR1OPrtxjneJBhtK4tIvMWDdOdH7YpRgesoZQLZMflmw5ksQlR614GC Qo5ONWqslJrfWKCw== From: Stefan Schantl To: development@lists.ipfire.org Subject: [PATCH] clamav: Disable llvm support. Date: Thu, 4 Jul 2019 15:44:05 +0200 Message-Id: <20190704134405.28913-1-stefan.schantl@ipfire.org> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Authentication-Results: mail01.ipfire.org; auth=pass smtp.auth=stevee smtp.mailfrom=stefan.schantl@ipfire.org X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: development-bounces@lists.ipfire.org Sender: "Development" When enabled, LLVM provides the capability to just-in-time compile ClamAV bytecode signatures. Without LLVM, ClamAV uses a built-in bytecode interpreter to execute bytecode signatures. The mechanism is different, but the results are same and the performance overall is comparable. At present only LLVM versions up to LLVM 3.6.2 are supported by ClamAV, and LLVM 3.6.2 is old enough that newer distributions no longer provide it. Therefore, the ClamAV Devs recommend using the --disable-llvm configure option. Fixes #11601. Signed-off-by: Stefan Schantl --- clamav/clamav.nm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/clamav/clamav.nm b/clamav/clamav.nm index 9a550544e..9abe6c40e 100644 --- a/clamav/clamav.nm +++ b/clamav/clamav.nm @@ -5,7 +5,7 @@ name = clamav version = 0.101.2 -release = 1 +release = 2 groups = System Environment/Daemons url = http://www.clamav.net @@ -49,6 +49,7 @@ build --with-user=clamupdate \ --with-group=clamupdate \ --disable-rpath \ + --disable-llvm \ have_cv_ipv6=yes # User and group have to exist to compile the source code,