You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
794 B
36 lines
794 B
# Copyright 1999-2021 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
DESCRIPTION="DKIM filter for Courier-MTA"
|
|
HOMEPAGE="https://www.tana.it/sw/zdkimfilter"
|
|
SRC_URI="https://www.tana.it/sw/zdkimfilter/${P}.tar.gz"
|
|
LICENSE="GPL-3+"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64"
|
|
IUSE="debug"
|
|
|
|
DEPEND="mail-filter/opendkim
|
|
mail-mta/courier
|
|
dev-db/opendbx
|
|
dev-libs/nettle:=
|
|
net-dns/libidn2:=
|
|
dev-libs/libunistring:="
|
|
RDEPEND="${DEPEND}"
|
|
|
|
# For working tests we need a fix for opendkim,
|
|
# see https://bugs.gentoo.org/700174
|
|
RESTRICT="test"
|
|
|
|
src_configure() {
|
|
econf $(use_enable debug)
|
|
}
|
|
|
|
src_install() {
|
|
emake DESTDIR="${D}" install
|
|
diropts -o mail -g mail
|
|
dodir /etc/courier/filters/keys
|
|
dodoc release-notes-*.txt README ChangeLog
|
|
dodoc odbx_example.{conf,sql}
|
|
}
|