summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2015-07-14 17:06:29 +0000
committerFabian Groffen <grobian@gentoo.org>2015-07-14 17:06:29 +0000
commit3947094ae2245a22e9ba670d0f4c313f120c8cbe (patch)
tree4493c87981d498dea40c27cb51741303f0ec59d7 /mail-filter
parentdo not build findobject plugin which was automagic on opencv and now fails to... (diff)
downloadgentoo-2-3947094ae2245a22e9ba670d0f4c313f120c8cbe.tar.gz
gentoo-2-3947094ae2245a22e9ba670d0f4c313f120c8cbe.tar.bz2
gentoo-2-3947094ae2245a22e9ba670d0f4c313f120c8cbe.zip
Add SPF support by Conrad Kostecki in bug #519924
(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 0x5F75F607C5C74E89)
Diffstat (limited to 'mail-filter')
-rw-r--r--mail-filter/opendmarc/ChangeLog8
-rw-r--r--mail-filter/opendmarc/metadata.xml4
-rw-r--r--mail-filter/opendmarc/opendmarc-1.3.0.ebuild12
3 files changed, 17 insertions, 7 deletions
diff --git a/mail-filter/opendmarc/ChangeLog b/mail-filter/opendmarc/ChangeLog
index 20f2d7c83780..be3c803d0916 100644
--- a/mail-filter/opendmarc/ChangeLog
+++ b/mail-filter/opendmarc/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for mail-filter/opendmarc
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/opendmarc/ChangeLog,v 1.19 2014/10/18 14:09:39 ago Exp $
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/opendmarc/ChangeLog,v 1.20 2015/07/14 17:06:29 grobian Exp $
+
+ 14 Jul 2015; Fabian Groffen <grobian@gentoo.org> metadata.xml,
+ opendmarc-1.3.0.ebuild:
+ Add SPF support by Conrad Kostecki in bug #519924
18 Oct 2014; Agostino Sarubbo <ago@gentoo.org> opendmarc-1.1.3.ebuild:
Stable for sparc, wrt bug #524154
diff --git a/mail-filter/opendmarc/metadata.xml b/mail-filter/opendmarc/metadata.xml
index 7f6848f49a8d..628816488210 100644
--- a/mail-filter/opendmarc/metadata.xml
+++ b/mail-filter/opendmarc/metadata.xml
@@ -8,4 +8,8 @@
<upstream>
<remote-id type="sourceforge">opendmarc</remote-id>
</upstream>
+ <use>
+ <flag name='spf'>Use the <pkg>mail-filter/libspf2</pkg>
+ for Sender Policy Framework checking</flag>
+ </use>
</pkgmetadata>
diff --git a/mail-filter/opendmarc/opendmarc-1.3.0.ebuild b/mail-filter/opendmarc/opendmarc-1.3.0.ebuild
index a253826cc13f..6df88a175b74 100644
--- a/mail-filter/opendmarc/opendmarc-1.3.0.ebuild
+++ b/mail-filter/opendmarc/opendmarc-1.3.0.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/opendmarc/opendmarc-1.3.0.ebuild,v 1.1 2014/09/02 08:47:19 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/opendmarc/opendmarc-1.3.0.ebuild,v 1.2 2015/07/14 17:06:29 grobian Exp $
EAPI=5
@@ -13,12 +13,13 @@ SRC_URI="mirror://sourceforge/opendmarc/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~x86 ~x86-fbsd"
-IUSE=""
+IUSE="spf"
DEPEND="dev-perl/DBI
|| ( mail-filter/libmilter mail-mta/sendmail )"
RDEPEND="${DEPEND}
- dev-perl/Switch"
+ dev-perl/Switch
+ spf? ( mail-filter/libspf2 )"
pkg_setup() {
enewgroup milter
@@ -28,7 +29,8 @@ pkg_setup() {
src_configure() {
econf \
--docdir="${EPREFIX}"/usr/share/doc/${PF} \
- --htmldir="${EPREFIX}"/usr/share/doc/${PF}/html
+ --htmldir="${EPREFIX}"/usr/share/doc/${PF}/html \
+ $(use_with spf)
}
src_install() {