summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirkjan Ochtman <djc@gentoo.org>2016-07-25 20:55:04 +0200
committerDirkjan Ochtman <djc@gentoo.org>2016-07-25 21:08:43 +0200
commit8ec51c4fffb9a271250dbd5dfa4b57539bf2836d (patch)
treeff6dfd0eccf1627b9befe8da481b1100ea5d2389 /mail-filter/rmilter
parentmozcoreconf-v4.eclass: allow -O4 when custom-optimization flag is set (diff)
downloadgentoo-8ec51c4fffb9a271250dbd5dfa4b57539bf2836d.tar.gz
gentoo-8ec51c4fffb9a271250dbd5dfa4b57539bf2836d.tar.bz2
gentoo-8ec51c4fffb9a271250dbd5dfa4b57539bf2836d.zip
mail-filter/rmilter: version bump to 1.9.0
Package-Manager: portage-2.2.28
Diffstat (limited to 'mail-filter/rmilter')
-rw-r--r--mail-filter/rmilter/Manifest1
-rw-r--r--mail-filter/rmilter/metadata.xml1
-rw-r--r--mail-filter/rmilter/rmilter-1.9.0.ebuild45
3 files changed, 47 insertions, 0 deletions
diff --git a/mail-filter/rmilter/Manifest b/mail-filter/rmilter/Manifest
index eb0703618aa..1041806e4ad 100644
--- a/mail-filter/rmilter/Manifest
+++ b/mail-filter/rmilter/Manifest
@@ -1,2 +1,3 @@
DIST rmilter-1.8.5.tar.gz 263515 SHA256 e9e1b3c724aa7d9e43f899ad0dbb367d37945e48b742b89188e1a1c256be318f SHA512 a80fd19ab3b5a9bc0b6183ea5da77a91fc50b0ea1901a78cdd630b2f28c64e37314a4b253a7acc58bfb5c83a314612dadb38a10088a8ca1a132e5e080c6a1691 WHIRLPOOL df3fb2844ae731068634b3fc9820a06d15ff8de6a2af9278459f6a005418218ba31c435d526ba909a70bb87c96a70268368b58a4c9ce939f5a0f9e0d7c25cfe2
DIST rmilter-1.8.6.tar.gz 263883 SHA256 dd00e10a6c5e2a7682bd81155f8cb09fbdbed0416e1c7ccc955a4338c85f144f SHA512 34304fd1f515cd6b5ce53e0e3ba42d6d58c41b604626afa742f22e5da1d8470b1f70d627457988d824ee3cd91d3be0591b41a1342da80440601c779e5bb65f66 WHIRLPOOL 3946b899352a03fa775f321d4ba1971151e4fec856cf5a73775343fc037ed24be0d8459355a10e4641b66ac891460b6076c21dda910df3120154acc736e5c43d
+DIST rmilter-1.9.0.tar.gz 252442 SHA256 2e115fa7bce741530ff5cd0f79e3c285dbd641412e9d083bb37f85a6f2acc924 SHA512 b1909e17bd27d70ebf36c9a4d2827990dd4e301e4f02afa89fc1476ae9fd631b1c59cb1ec399a0990730c945ff7f7617bd8016f91b4b5dba3fca4c9075539f8e WHIRLPOOL 48d87c91a1fa17e4625afbbc30d3d4ee39876a6fecac70eae42f91a4cdfc66b67a4b50c676ed496e92a1728a062e5ef314f590cda8883e3063527fbfef67b3a2
diff --git a/mail-filter/rmilter/metadata.xml b/mail-filter/rmilter/metadata.xml
index df4bd7ba25b..35ab47210bd 100644
--- a/mail-filter/rmilter/metadata.xml
+++ b/mail-filter/rmilter/metadata.xml
@@ -6,6 +6,7 @@
<name>Dirkjan Ochtman</name>
</maintainer>
<use>
+ <flag name="dkim">Enable support for DomainKeys Identified Mail</flag>
<flag name="memcached">Enable support for memcached</flag>
</use>
<upstream>
diff --git a/mail-filter/rmilter/rmilter-1.9.0.ebuild b/mail-filter/rmilter/rmilter-1.9.0.ebuild
new file mode 100644
index 00000000000..ff93b7f3612
--- /dev/null
+++ b/mail-filter/rmilter/rmilter-1.9.0.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit cmake-utils user
+
+DESCRIPTION="Another sendmail milter for different mail checks"
+SRC_URI="https://github.com/vstakhov/rmilter/archive/${PV}.tar.gz -> ${P}.tar.gz"
+HOMEPAGE="https://github.com/vstakhov/rmilter"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="dkim +memcached"
+
+RDEPEND="dev-libs/libpcre
+ dev-libs/openssl:0
+ mail-filter/libmilter
+ >=dev-libs/glib-2.28
+ dkim? ( mail-filter/opendkim )
+ memcached? ( dev-libs/libmemcached )"
+DEPEND="${RDEPEND}"
+
+pkg_setup() {
+ enewgroup rmilter
+ enewuser rmilter -1 -1 /var/run/rmilter rmilter
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DENABLE-DKIM=$(usex dkim ON OFF)
+ -DENABLE_MEMCACHED=$(usex memcached ON OFF)
+ )
+ cmake-utils_src_configure
+}
+
+src_install() {
+ cmake-utils_src_install
+ newinitd "${FILESDIR}/rmilter.initd" rmilter
+ insinto /etc/rmilter
+ newins rmilter.conf.sample rmilter.conf.sample
+ newins rmilter-grey.conf rmilter-grey.conf
+}