From 210f6b3bb79cba1c12097efe94617c1395f037a0 Mon Sep 17 00:00:00 2001 From: Jakov Smolić Date: Sun, 14 Nov 2021 14:43:30 +0100 Subject: mail-filter/spamassassin-botnet: Port to EAPI 8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes: https://bugs.gentoo.org/819474 Signed-off-by: Jakov Smolić --- .../spamassassin-botnet/spamassassin-botnet-0.8-r1.ebuild | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'mail-filter') diff --git a/mail-filter/spamassassin-botnet/spamassassin-botnet-0.8-r1.ebuild b/mail-filter/spamassassin-botnet/spamassassin-botnet-0.8-r1.ebuild index f4486210f919..a8bf5a5a1e7c 100644 --- a/mail-filter/spamassassin-botnet/spamassassin-botnet-0.8-r1.ebuild +++ b/mail-filter/spamassassin-botnet/spamassassin-botnet-0.8-r1.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=8 inherit perl-module @@ -11,20 +11,18 @@ MY_P="${MY_PN}-${PV}" DESCRIPTION="SpamAssassin plugin that attempts to detect messages sent by a botnet" HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage" SRC_URI="http://people.ucsc.edu/~jrudd/spamassassin/${MY_P}.tar" +S="${WORKDIR}" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="" DEPEND=">=mail-filter/spamassassin-3.0.0" RDEPEND="${DEPEND}" -S="${WORKDIR}" - src_compile() { # make sure it doesn't try to look for the .pm in the same dir as the .cf - sed -rie 's/^(loadplugin.+)[ ]+Botnet.pm/\1/' Botnet.cf + sed -rie 's/^(loadplugin.+)[ ]+Botnet.pm/\1/' Botnet.cf || die } src_install() { -- cgit v1.2.3-65-gdbad