diff options
author | Dirkjan Ochtman <djc@gentoo.org> | 2016-01-18 19:05:58 +0100 |
---|---|---|
committer | Dirkjan Ochtman <djc@gentoo.org> | 2016-01-18 19:05:58 +0100 |
commit | 1e6e3a85f7dd1393ee8c1490b65856e41e4a58d3 (patch) | |
tree | b0dc8368a78ceab30d2f238d0ce97f044668f07c | |
parent | net-im/gajim: 0.16.5 stable on x86 as per bug 569936 (diff) | |
download | gentoo-1e6e3a85f7dd1393ee8c1490b65856e41e4a58d3.tar.gz gentoo-1e6e3a85f7dd1393ee8c1490b65856e41e4a58d3.tar.bz2 gentoo-1e6e3a85f7dd1393ee8c1490b65856e41e4a58d3.zip |
mail-filter/rspamd: version bump to 1.1.0
-rw-r--r-- | mail-filter/rspamd/Manifest | 1 | ||||
-rw-r--r-- | mail-filter/rspamd/rspamd-1.1.0.ebuild | 55 |
2 files changed, 56 insertions, 0 deletions
diff --git a/mail-filter/rspamd/Manifest b/mail-filter/rspamd/Manifest index 034db933768f..a67bc5f4f516 100644 --- a/mail-filter/rspamd/Manifest +++ b/mail-filter/rspamd/Manifest @@ -1 +1,2 @@ DIST rspamd-1.0.11.tar.xz 1176160 SHA256 b914c77c30dcab863f6c685b4a83a1662ee1b4503654fbf3ee3ae2fbca1ed928 SHA512 79464e8c29bdf5b081744b79fb8eee944bf647abf334cd77686a8fa4d0a3ab7ff4293fc464606d298fb57c8d7fe909e333ae7e58768330e4d65464bf42f76f15 WHIRLPOOL ca1f8338ef6f917622c8a93fa8bf230b2767d750e953d9f790649e660865caaa255c5a8eb35a14cb882acc193a237bf107d79c7c01f3d7ec6520301edc9f2629 +DIST rspamd-1.1.0.tar.xz 1291004 SHA256 69db05150b4ba8304d24dd0f96c79b5d3792478373f0d6be6c92b51b1cf60ead SHA512 41a8fb49a10082b1dc97397ebb8ac81dd3f4912e9140dcb7c57c9e15f1e49cf472aa94570a2f802b82e3db8ab8a87dd6a63f7db7249da4d99473700535045256 WHIRLPOOL 3781b7450e0f2cd780e2dac804871d52fed619c5e82faf54d8d9d4230b2baf531eeacea09b43ae36ec09fb7b659ba74116ab59fb86731de9bcfc471a2dbdd7ad diff --git a/mail-filter/rspamd/rspamd-1.1.0.ebuild b/mail-filter/rspamd/rspamd-1.1.0.ebuild new file mode 100644 index 000000000000..a8581d10c0fa --- /dev/null +++ b/mail-filter/rspamd/rspamd-1.1.0.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit cmake-utils user + +DESCRIPTION="Rapid spam filtering system" +SRC_URI="https://rspamd.com/downloads/${P}.tar.xz" +HOMEPAGE="https://github.com/vstakhov/rspamd" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="dev-libs/openssl + dev-libs/libpcre + dev-lang/luajit:2 + dev-libs/libevent + dev-db/sqlite:3 + dev-libs/glib:2 + dev-libs/gmime + sys-apps/file + virtual/libiconv" +RDEPEND="${DEPEND}" + +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 + ) + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install + newinitd "${FILESDIR}/rspamd.init" 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 +} |