From 1d34ac4103c86836c8677e30bc0fc33ed1cd815a Mon Sep 17 00:00:00 2001 From: Matt Jolly Date: Sun, 2 Mar 2025 10:26:05 +1000 Subject: [PATCH] app-antivirus/clamav: drop USE=jit (llvm-based bytecode interpreter) The LLVM-based bytecode interpreter was only ever briefly available for end users on Gentoo due to its requirement for LLVM < 14. Since the existing ebuild logic depends on the legacy `llvm.eclass`, we'll just drop support for it entirely. We can reassess if the linked ClamAV ticket sees any movement. Closes: https://bugs.gentoo.org/945340 Bug: https://github.com/Cisco-Talos/clamav/issues/581 Signed-off-by: Matt Jolly --- app-antivirus/clamav/clamav-1.0.7-r1.ebuild | 21 ++++--------------- app-antivirus/clamav/clamav-1.4.1-r2.ebuild | 23 +++------------------ app-antivirus/clamav/clamav-1.4.2.ebuild | 23 +++------------------ 3 files changed, 10 insertions(+), 57 deletions(-) diff --git a/app-antivirus/clamav/clamav-1.0.7-r1.ebuild b/app-antivirus/clamav/clamav-1.0.7-r1.ebuild index 0ef1d488cc1fa..7f6d8b35bbade 100644 --- a/app-antivirus/clamav/clamav-1.0.7-r1.ebuild +++ b/app-antivirus/clamav/clamav-1.0.7-r1.ebuild @@ -1,9 +1,8 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -LLVM_MAX_SLOT=13 PYTHON_COMPAT=( python3_{10..12} ) # Auto-Generated by cargo-ebuild 0.5.4-r1 @@ -155,7 +154,7 @@ CRATES=" zune-inflate@0.2.42 " -inherit cargo cmake flag-o-matic llvm python-any-r1 systemd tmpfiles +inherit cargo cmake flag-o-matic python-any-r1 systemd tmpfiles MY_P=${P//_/-} @@ -171,7 +170,7 @@ if [[ ${PV} != *_rc* ]] ; then KEYWORDS="~alpha amd64 arm arm64 ppc ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" fi -IUSE="doc clamonacc +clamapp experimental jit libclamav-only milter rar selinux +system-mspack systemd test" +IUSE="doc clamonacc +clamapp experimental libclamav-only milter rar selinux +system-mspack systemd test" REQUIRED_USE="libclamav-only? ( !clamonacc !clamapp !milter ) clamonacc? ( clamapp ) @@ -197,7 +196,6 @@ COMMON_DEPEND=" !libclamav-only? ( net-misc/curl ) clamapp? ( sys-libs/ncurses:= net-misc/curl ) elibc_musl? ( sys-libs/fts-standalone ) - jit? (