From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 5504F13826A for ; Wed, 25 May 2016 17:22:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5F4261419F; Wed, 25 May 2016 17:22:34 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D7F781419F for ; Wed, 25 May 2016 17:22:33 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1CDE9340943 for ; Wed, 25 May 2016 17:22:32 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8E2B495E for ; Wed, 25 May 2016 17:22:29 +0000 (UTC) From: "Dirkjan Ochtman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Dirkjan Ochtman" Message-ID: <1464196937.e560c7cca7f2b0c32f36ead6843c95573b5c5929.djc@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: mail-filter/rspamd/ X-VCS-Repository: repo/gentoo X-VCS-Files: mail-filter/rspamd/Manifest mail-filter/rspamd/rspamd-1.2.7.ebuild X-VCS-Directories: mail-filter/rspamd/ X-VCS-Committer: djc X-VCS-Committer-Name: Dirkjan Ochtman X-VCS-Revision: e560c7cca7f2b0c32f36ead6843c95573b5c5929 X-VCS-Branch: master Date: Wed, 25 May 2016 17:22:29 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 94b9650c-fb67-4612-abe0-96f058040b4b X-Archives-Hash: 46369fda7a3fcce5e6a7e1e9d25d88b8 commit: e560c7cca7f2b0c32f36ead6843c95573b5c5929 Author: Dirkjan Ochtman gentoo org> AuthorDate: Wed May 25 17:18:07 2016 +0000 Commit: Dirkjan Ochtman gentoo org> CommitDate: Wed May 25 17:22:17 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e560c7cc mail-filters/rspamd: version bump to 1.2.7 Package-Manager: portage-2.2.28 mail-filter/rspamd/Manifest | 1 + mail-filter/rspamd/rspamd-1.2.7.ebuild | 65 ++++++++++++++++++++++++++++++++++ 2 files changed, 66 insertions(+) diff --git a/mail-filter/rspamd/Manifest b/mail-filter/rspamd/Manifest index 8ed0dde..88784c5 100644 --- a/mail-filter/rspamd/Manifest +++ b/mail-filter/rspamd/Manifest @@ -1,3 +1,4 @@ DIST rspamd-1.2.3.tar.xz 1419080 SHA256 18d41ee46993c51a5aed41b6734304b15e7b98bf0ab3c5855a57851eeb08b724 SHA512 f1b41d8cbd23f609e70031418eca726505f78f5e1cbf6b84ae34386c3635fb8e5786976816c1437524f02f6ba1abd714c9e90cf0fb05990b3ef0f5e49a296618 WHIRLPOOL cd13dc649fd861e4dc990a4ca983d5a2e38adb236e50f043deafa5082261bc0cd85081cc8e7adbbece98b11b8f8c7ccb718308342892f6a1424c663a2541f828 DIST rspamd-1.2.5.tar.xz 1421372 SHA256 d31cd2d3c0d3511dda61d277b1c782d17f45ff45048e25f0d89f77fb8fe78748 SHA512 8b967f962aab12afe20854ba66d6f98128b1069473a35b88920f2cb429d4c5ea955040ad58fe49c5b4a18243eb42926f92ae6027b3099b3c0469799db82e4bd1 WHIRLPOOL 622e875488fb19ce1e080f06adae2fcb1b6776a813bdcb13d1c6e4e7c5735d17ea47c2d4cc9bbcc632cda714a2bc33241f8fbe0f57e0d0438538610b8c6d16a3 DIST rspamd-1.2.6.tar.xz 1422532 SHA256 a1cbc5ccd53a5c9abe2d9f121f5936fcbd9d68f17fa354e8bddf4fcb3fc768c5 SHA512 a516bc3cc910231cddc05972725eb20f9d7d1742b902cb9211aa59dab385253fe7c3b6e553a576351aa9d48e334a90003f8beb43dcfbf5cdb9a2de7675f7c105 WHIRLPOOL e110388e89aa35896a7b9663538fe4c161796047af7253550a09646cf2a913a5a2ca50d461ba65c2736b5976bc8c35dd4a78e88389fcb31e3bbf6744d587b783 +DIST rspamd-1.2.7.tar.xz 1423600 SHA256 7a19b2f49cb39d5839785d261a2d6d0d9cca24e760d5adb2b597b1eeb0831c3a SHA512 e87d1b4689224e340035d9e8faa60db9070edc6656235279c2e561ad25a0c87f3d4401dc5a05045fc7ab7bb3fd0333a10dea973a910ca228acc6336074b3d7d9 WHIRLPOOL 9db654d14cf2012ae79580f54a7c124d900b548a93971e2c04210eb18142f733bad3a66a5e7e723f6b2c300676abd7189a25e22cdc22d7e03f9b2ebef972b259 diff --git a/mail-filter/rspamd/rspamd-1.2.7.ebuild b/mail-filter/rspamd/rspamd-1.2.7.ebuild new file mode 100644 index 0000000..b55cfb8 --- /dev/null +++ b/mail-filter/rspamd/rspamd-1.2.7.ebuild @@ -0,0 +1,65 @@ +# 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" + +DEPEND="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 + 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 + -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 + systemd_newunit rspamd.socket rspamd.socket +}