summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirkjan Ochtman <djc@gentoo.org>2016-11-21 20:54:24 +0100
committerDirkjan Ochtman <djc@gentoo.org>2016-11-21 20:54:24 +0100
commitf4a1a43506447769cbc657f19748e2641fc0b4e7 (patch)
tree819dc0311036f493998f3bccb0c23c957660cae2 /mail-filter/rmilter
parentnet-analyzer/ntopng: Drop old versions (diff)
downloadgentoo-f4a1a43506447769cbc657f19748e2641fc0b4e7.tar.gz
gentoo-f4a1a43506447769cbc657f19748e2641fc0b4e7.tar.bz2
gentoo-f4a1a43506447769cbc657f19748e2641fc0b4e7.zip
mail-filter/rmilter: version bump to 1.10.0
Package-Manager: portage-2.3.0
Diffstat (limited to 'mail-filter/rmilter')
-rw-r--r--mail-filter/rmilter/Manifest1
-rw-r--r--mail-filter/rmilter/rmilter-1.10.0.ebuild46
2 files changed, 47 insertions, 0 deletions
diff --git a/mail-filter/rmilter/Manifest b/mail-filter/rmilter/Manifest
index 70e879de6a9..346d855e7f3 100644
--- a/mail-filter/rmilter/Manifest
+++ b/mail-filter/rmilter/Manifest
@@ -1,2 +1,3 @@
+DIST rmilter-1.10.0.tar.gz 390583 SHA256 ea80563fa7636afed0b5fd9a29aa2300f15793ed85788e4ce69c187d341a7d54 SHA512 bef62d6dd4190b9a28e751cc598d201f0f994a08def46ae68587d1cc956e7e209ae540d91241545dc4efd055b4bf2b95039f0e9649448e5506f17ec37240adf8 WHIRLPOOL 423a5eab52216a5a5b50d706c86d406273e9eed5045363de4ea2d5d3cd619073acbc1b154b27d2178c0fd8cb6c85bbb1195da3a8c7739ebcda69ff6da3716c03
DIST rmilter-1.8.6.tar.gz 263883 SHA256 dd00e10a6c5e2a7682bd81155f8cb09fbdbed0416e1c7ccc955a4338c85f144f SHA512 34304fd1f515cd6b5ce53e0e3ba42d6d58c41b604626afa742f22e5da1d8470b1f70d627457988d824ee3cd91d3be0591b41a1342da80440601c779e5bb65f66 WHIRLPOOL 3946b899352a03fa775f321d4ba1971151e4fec856cf5a73775343fc037ed24be0d8459355a10e4641b66ac891460b6076c21dda910df3120154acc736e5c43d
DIST rmilter-1.9.2.tar.gz 264637 SHA256 3e44977c39ece541c90ff1075b58847f44d310aa9d4ee49bc2df96e1ee4fb39f SHA512 4938515d18d4cff363266348cbd00b85690f889cb479a0e2fb61fa74e1e0deb3e78ec06132537ae001ccec375d0bab10af77c4a4c6fb248dc7f9f929c5a57eb9 WHIRLPOOL d51de0426fd93b39ceb735ae32feea2b499cf7ffd8d2f24578a5c7b5f132f6a0a0a99b2f1d0bcb733ef6d914b2103991a46c873b6035d448f11ed783878083d3
diff --git a/mail-filter/rmilter/rmilter-1.10.0.ebuild b/mail-filter/rmilter/rmilter-1.10.0.ebuild
new file mode 100644
index 00000000000..b1dbf855c19
--- /dev/null
+++ b/mail-filter/rmilter/rmilter-1.10.0.ebuild
@@ -0,0 +1,46 @@
+# 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 libressl +memcached"
+
+RDEPEND="dev-libs/libpcre
+ !libressl? ( dev-libs/openssl:0= )
+ libressl? ( dev-libs/libressl: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
+}