summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirkjan Ochtman <djc@gentoo.org>2016-08-15 20:25:50 +0200
committerDirkjan Ochtman <djc@gentoo.org>2016-08-15 20:27:05 +0200
commit1dea4b30d6686f496e18d682eb2e1f3dd1973c47 (patch)
treeadbe4469e727b447f17592967728e09a6880330f /mail-filter
parentxfce-base/exo: drop old (diff)
downloadgentoo-1dea4b30d6686f496e18d682eb2e1f3dd1973c47.tar.gz
gentoo-1dea4b30d6686f496e18d682eb2e1f3dd1973c47.tar.bz2
gentoo-1dea4b30d6686f496e18d682eb2e1f3dd1973c47.zip
mail-filter/rspamd: version bump to 1.3.3
Package-Manager: portage-2.2.28
Diffstat (limited to 'mail-filter')
-rw-r--r--mail-filter/rspamd/Manifest1
-rw-r--r--mail-filter/rspamd/rspamd-1.3.3.ebuild66
2 files changed, 67 insertions, 0 deletions
diff --git a/mail-filter/rspamd/Manifest b/mail-filter/rspamd/Manifest
index c7d253719fe5..d1577ea30ca8 100644
--- a/mail-filter/rspamd/Manifest
+++ b/mail-filter/rspamd/Manifest
@@ -3,3 +3,4 @@ DIST rspamd-1.2.8.tar.xz 1423888 SHA256 485438d8c38ada1a6e95c9ea1298d2c899d4ec61
DIST rspamd-1.3.0.tar.xz 1461004 SHA256 42a15ab3507e50beb10f35b7db5ae1fcdb35d47f5cae51c83713a241ff730b1b SHA512 abbacc635a98bd17b148f173859557c47ff9e25561928dbb3d67c8ab3102d9a03793d14152bae3b1c36131b1983a601799db11a8018593d5796e511f907d67ef WHIRLPOOL 3ee8ba1d7cda2ca0fc4a2c031e8fbbd4ec14a58aaaa00dfb2b7716c07931160bf516d0b2e68dcba99f89ac83c8441cf4263956ac6f1ef97e05a5a3695b6da0bd
DIST rspamd-1.3.1.tar.xz 1465796 SHA256 005bb9c8985d99ad86883769a3979e98fa387a4a00d57c3187d78c4df4fd5afe SHA512 5bcf347332450da5b7a9e4743355fb9b1b88f7a189c78a2f41ca5d7be34cbabbb52ac4cf4870b4e275209f4147c6985dce328c9d08a5d81989126db9696b9acc WHIRLPOOL 30f60041cebf38b313a3003dee11611e2007a4c9d4cec69307c4a14c5a545b897f8a2323b1ae9e7fb006d4f3f2f7184cbf54c49ad9d37ce656a14a17fcf531d2
DIST rspamd-1.3.2.tar.xz 1476656 SHA256 283227d8f38fcc4c5d4b913996b52f55370c5445ec6f8dbb550aec2bb2d46c2a SHA512 75a5526852cbd60e0b8f06f9b722a686f3ef59ae2a0f132018465fb9d104ca847d71a5e38343b288149ebc5ba9b4f749ba72551568e338e6509c5d2ac13bd061 WHIRLPOOL 82749f3f2afd3cf3289a6b4862220d2a04d84e0bd59079daa24427b34a754300f8cf0d5e7eea52cba7090cc2c07e005573bd481573f89e1bff59f741889a1ef7
+DIST rspamd-1.3.3.tar.xz 1481836 SHA256 1296d3d0d97226e238c5d5954f58f2154bcbde4ba3ed45647b6b75da7a2e2b17 SHA512 9a1be238678bd9379000d2a7298308f7286ee4b8f1abb8c4f199d16a57183f91d29533533ceda244c382180cbdeb5e16c9b473899d3f0b813c8ea8519f8a7833 WHIRLPOOL 84d521746dc4a17648c82e11df56e3931dc37db413569f46bf8e2163c64b89c23700ee3567f4002863c624180b7efc8781b01d842060e7dc0f678e2ec8712709
diff --git a/mail-filter/rspamd/rspamd-1.3.3.ebuild b/mail-filter/rspamd/rspamd-1.3.3.ebuild
new file mode 100644
index 000000000000..3d2bacdf5cdd
--- /dev/null
+++ b/mail-filter/rspamd/rspamd-1.3.3.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit cmake-utils user systemd
+
+DESCRIPTION="Rapid spam filtering system"
+SRC_URI="https://rspamd.com/downloads/${P}.tar.xz"
+HOMEPAGE="https://github.com/vstakhov/rspamd"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+jit"
+
+RDEPEND="dev-libs/openssl:0[-bindist]
+ jit? (
+ dev-libs/libpcre[jit]
+ dev-lang/luajit:2
+ )
+ !jit? (
+ dev-libs/libpcre[-jit]
+ >=dev-lang/lua-5.1:0
+ )
+ dev-libs/libevent
+ dev-db/sqlite:3
+ dev-libs/glib:2
+ dev-libs/gmime
+ dev-util/ragel
+ sys-apps/file
+ virtual/libiconv"
+DEPEND="dev-util/ragel
+ ${RDEPEND}"
+
+pkg_setup() {
+ enewgroup rspamd
+ enewuser rspamd -1 -1 /var/lib/rspamd rspamd
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DCONFDIR=/etc/rspamd
+ -DRUNDIR=/var/run/rspamd
+ -DDBDIR=/var/lib/rspamd
+ -DLOGDIR=/var/log/rspamd
+ -DENABLE_LUAJIT=$(usex jit ON OFF)
+ )
+ cmake-utils_src_configure
+}
+
+src_install() {
+ cmake-utils_src_install
+ newinitd "${FILESDIR}/rspamd.init-r1" rspamd
+
+ dodir /var/lib/rspamd
+ dodir /var/log/rspamd
+
+ fowners rspamd:rspamd /var/lib/rspamd /var/log/rspamd
+
+ insinto /etc/logrotate.d
+ newins "${FILESDIR}/rspamd.logrotate" rspamd
+
+ systemd_newunit rspamd.service rspamd.service
+}