From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1720225-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 319FF1582EF
	for <garchives@archives.gentoo.org>; Sat, 22 Feb 2025 08:02:09 +0000 (UTC)
Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	(Authenticated sender: relay-lists.gentoo.org@gentoo.org)
	by smtp.gentoo.org (Postfix) with ESMTPSA id 1A4DD343219
	for <garchives@archives.gentoo.org>; Sat, 22 Feb 2025 08:02:09 +0000 (UTC)
Received: from bobolink.gentoo.org (localhost [127.0.0.1])
	by bobolink.gentoo.org (Postfix) with ESMTP id C4C6011047C;
	Sat, 22 Feb 2025 08:02:05 +0000 (UTC)
Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by bobolink.gentoo.org (Postfix) with ESMTPS id BD18C11047C
	for <gentoo-commits@lists.gentoo.org>; Sat, 22 Feb 2025 08:02:05 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 73B4D3431C7
	for <gentoo-commits@lists.gentoo.org>; Sat, 22 Feb 2025 08:02:05 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id CF2CF271C
	for <gentoo-commits@lists.gentoo.org>; Sat, 22 Feb 2025 08:02:03 +0000 (UTC)
From: "Ulrich Müller" <ulm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" <ulm@gentoo.org>
Message-ID: <1740211067.b517f8f05388711da0d2752355850db19b62b0d4.ulm@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: app-antivirus/clamav/
X-VCS-Repository: repo/gentoo
X-VCS-Files: app-antivirus/clamav/clamav-1.4.2.ebuild
X-VCS-Directories: app-antivirus/clamav/
X-VCS-Committer: ulm
X-VCS-Committer-Name: Ulrich Müller
X-VCS-Revision: b517f8f05388711da0d2752355850db19b62b0d4
X-VCS-Branch: master
Date: Sat, 22 Feb 2025 08:02:03 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: f69b0cb3-ad89-4454-a719-270260481e7f
X-Archives-Hash: e6189ca1c28a81002f69eedd9c89e4dc

commit:     b517f8f05388711da0d2752355850db19b62b0d4
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 14 16:16:31 2025 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sat Feb 22 07:57:47 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b517f8f0

app-antivirus/clamav: Fix incorrect REPLACING_VERSIONS usage

Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 app-antivirus/clamav/clamav-1.4.2.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/app-antivirus/clamav/clamav-1.4.2.ebuild b/app-antivirus/clamav/clamav-1.4.2.ebuild
index d9bc9310965e..590a0cf5e91f 100644
--- a/app-antivirus/clamav/clamav-1.4.2.ebuild
+++ b/app-antivirus/clamav/clamav-1.4.2.ebuild
@@ -157,7 +157,7 @@ declare -A GIT_CRATES=(
 	[onenote_parser]="https://github.com/Cisco-Talos/onenote.rs;29c08532252b917543ff268284f926f30876bb79;onenote.rs-%commit%"
 )
 
-inherit cargo cmake flag-o-matic llvm python-any-r1 systemd tmpfiles
+inherit cargo cmake eapi9-ver flag-o-matic llvm python-any-r1 systemd tmpfiles
 
 MY_P=${P//_/-}
 
@@ -390,14 +390,14 @@ pkg_postinst() {
 		ewarn "before starting clamav for the first time."
 	fi
 
-	 if ! systemd_is_booted ; then
+	if ! systemd_is_booted ; then
 		ewarn "This version of ClamAV provides separate OpenRC services"
 		ewarn "for clamd, freshclam, clamav-milter, and clamonacc. The"
 		ewarn "clamd service now starts only the clamd daemon itself. You"
 		ewarn "should add freshclam (and perhaps clamav-milter) to any"
 		ewarn "runlevels that previously contained clamd."
 	else
-		if [[ -n "${REPLACING_VERSIONS}" ]] && ver_test "${REPLACING_VERSIONS}" -le 1.3.1; then
+		if ver_replacing -le 1.3.1; then
 			ewarn "From 1.3.1-r1 the Gentoo-provided systemd services have been"
 			ewarn "Retired in favour of using the units shipped by upstream."
 			ewarn "Ensure that any required services are configured and started."