diff options
author | Jakov Smolić <jsmolic@gentoo.org> | 2021-11-14 14:43:30 +0100 |
---|---|---|
committer | Jakov Smolić <jsmolic@gentoo.org> | 2021-11-14 14:43:30 +0100 |
commit | 210f6b3bb79cba1c12097efe94617c1395f037a0 (patch) | |
tree | 33f9378c0045739d77c556d86ca4cb282f72e5ef /mail-filter | |
parent | mail-filter/popfile: Port to EAPI 8 (diff) | |
download | gentoo-210f6b3bb79cba1c12097efe94617c1395f037a0.tar.gz gentoo-210f6b3bb79cba1c12097efe94617c1395f037a0.tar.bz2 gentoo-210f6b3bb79cba1c12097efe94617c1395f037a0.zip |
mail-filter/spamassassin-botnet: Port to EAPI 8
Closes: https://bugs.gentoo.org/819474
Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
Diffstat (limited to 'mail-filter')
-rw-r--r-- | mail-filter/spamassassin-botnet/spamassassin-botnet-0.8-r1.ebuild | 10 |
1 files changed, 4 insertions, 6 deletions
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() { |