mail-filter/spampd: Port to EAPI 8

Closes: https://bugs.gentoo.org/819468
Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
This commit is contained in:
Jakov Smolić
2021-11-05 21:48:43 +01:00
parent 44791088cc
commit cdf7fd47e4

View File

@@ -1,25 +1,25 @@
# Copyright 1999-2019 Gentoo Authors
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
EAPI=8
DESCRIPTION="spampd is a program to scan messages for Unsolicited Commercial E-mail content"
HOMEPAGE="http://www.worlddesign.com/index.cfm/rd/mta/spampd.htm"
SRC_URI="https://github.com/mpaperno/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc x86"
IUSE=""
RDEPEND="dev-lang/perl
DEPEND="
dev-perl/Net-Server
mail-filter/spamassassin"
DEPEND="${RDEPEND}"
RDEPEND="${DEPEND}
dev-lang/perl"
src_install() {
dosbin spampd.pl
dodoc changelog.txt misc/spampd-rh-rc-script.sh misc/spampd.service
dohtml spampd.html
dodoc changelog.txt misc/spampd-rh-rc-script.sh misc/spampd.service spampd.html
newinitd "${FILESDIR}"/init-r1 spampd
newconfd "${FILESDIR}"/conf spampd
}