summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanno Böck <hanno@gentoo.org>2019-11-16 08:38:49 +0100
committerHanno Böck <hanno@gentoo.org>2019-11-16 08:38:49 +0100
commit84e0ef5095721bf92f5f370259c52b644ff40bec (patch)
tree2084f4d2955196904d345ab9159c5982e03d9769 /mail-filter/zdkimfilter
parentmail-filter/libmilter: Bump and glibc 2.30 support (diff)
downloadgentoo-84e0ef5095721bf92f5f370259c52b644ff40bec.tar.gz
gentoo-84e0ef5095721bf92f5f370259c52b644ff40bec.tar.bz2
gentoo-84e0ef5095721bf92f5f370259c52b644ff40bec.zip
mail-filter/zdkimfilter: Initial commit
DKIM support for the courier MTA. This package was previously removed from Gentoo due to lack of maintainership, reviving it due to increased need of DKIM support. Signed-off-by: Hanno Böck <hanno@gentoo.org> Package-Manager: Portage-2.3.79, Repoman-2.3.18
Diffstat (limited to 'mail-filter/zdkimfilter')
-rw-r--r--mail-filter/zdkimfilter/Manifest1
-rw-r--r--mail-filter/zdkimfilter/metadata.xml7
-rw-r--r--mail-filter/zdkimfilter/zdkimfilter-1.8.ebuild35
3 files changed, 43 insertions, 0 deletions
diff --git a/mail-filter/zdkimfilter/Manifest b/mail-filter/zdkimfilter/Manifest
new file mode 100644
index 000000000000..9a97e398ef13
--- /dev/null
+++ b/mail-filter/zdkimfilter/Manifest
@@ -0,0 +1 @@
+DIST zdkimfilter-1.8.tar.gz 717481 BLAKE2B ec662a02c4a248085a42548d892084eb23c592c0511026039d18e8cc7a1a46dcf37411f8fc7395be507065ddb9cda8c5a1226e5e379852b4ef7ee84c2936b439 SHA512 e4b32c5d636db8a76ecfc2e4c8b1bda2053dc6c5baba13ed66120458f012a9d22d9ec269ae88100f1cc048b9c7d6c67a887ed1a48435a6353ab68bc13054c42c
diff --git a/mail-filter/zdkimfilter/metadata.xml b/mail-filter/zdkimfilter/metadata.xml
new file mode 100644
index 000000000000..38ce6c17a3f2
--- /dev/null
+++ b/mail-filter/zdkimfilter/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>hanno@gentoo.org</email>
+ </maintainer>
+</pkgmetadata>
diff --git a/mail-filter/zdkimfilter/zdkimfilter-1.8.ebuild b/mail-filter/zdkimfilter/zdkimfilter-1.8.ebuild
new file mode 100644
index 000000000000..6205edee11c4
--- /dev/null
+++ b/mail-filter/zdkimfilter/zdkimfilter-1.8.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2019 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}
+}