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 66E2659CA6 for ; Fri, 25 Mar 2016 20:54:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 96B9C21C020; Fri, 25 Mar 2016 20:54:19 +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 173AC21C020 for ; Fri, 25 Mar 2016 20:54:18 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 2AE8D340CBE for ; Fri, 25 Mar 2016 20:54:17 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0757F859 for ; Fri, 25 Mar 2016 20:54:13 +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: <1458939226.d533245c79fa5191f23d713c312e516d12a3e4fc.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.1.ebuild X-VCS-Directories: mail-filter/rspamd/ X-VCS-Committer: djc X-VCS-Committer-Name: Dirkjan Ochtman X-VCS-Revision: d533245c79fa5191f23d713c312e516d12a3e4fc X-VCS-Branch: master Date: Fri, 25 Mar 2016 20:54:13 +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: 4e1edcad-6560-4bd2-b730-1e78b9e81c7d X-Archives-Hash: 64cdc1aab752f43b80e7cbf7da1356fe commit: d533245c79fa5191f23d713c312e516d12a3e4fc Author: Dirkjan Ochtman gentoo org> AuthorDate: Fri Mar 25 20:53:46 2016 +0000 Commit: Dirkjan Ochtman gentoo org> CommitDate: Fri Mar 25 20:53:46 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d533245c mail-filters/rspamd: version bump to 1.2.1 Package-Manager: portage-2.2.26 mail-filter/rspamd/Manifest | 1 + mail-filter/rspamd/rspamd-1.2.1.ebuild | 62 ++++++++++++++++++++++++++++++++++ 2 files changed, 63 insertions(+) diff --git a/mail-filter/rspamd/Manifest b/mail-filter/rspamd/Manifest index cdc3b8a..4af2a07 100644 --- a/mail-filter/rspamd/Manifest +++ b/mail-filter/rspamd/Manifest @@ -1,3 +1,4 @@ DIST rspamd-1.1.3.tar.xz 1357696 SHA256 8604e980a81d6586d18d02f90236c83384754ef1debce0b4f0ca32f87e1ec135 SHA512 42152dd64f6265e3a17d6d53b041ded3b4a262e4d63237bc11e21dca96a4946334ab33c13fffa779b95717ed48629a9cc7a79f1af897d4dd3a831f7c121061ed WHIRLPOOL f9164ff3373bc928414b49d27fedff1d2990f4e01646f4959d759d9b3e4737aa77cced4de9bd9f8548145729fbdb765da78295b2d2e610c0f2bedb29b29ebd73 DIST rspamd-1.1.4.tar.xz 1357172 SHA256 7186d0448aaddc1e347af580e7ec14e34ff38859db99bf2173139a6bbc18821d SHA512 de4afb82beba9d8d28a6cf6d7eb222806671fcca51114b9668fe0484c5a2b0680763d3fe6095cb7d4b301991a5f17effef6cfbf70d6d98c8e79476bbdb8b6ee3 WHIRLPOOL 0dab7e399a9319e82c1cacbf856cf4977376f78b12aa7de563912f6a5ed6280a8ec2b2bd0a07fe46dc684112b725717fb4fb9031b9d9d69ac2da59ba98724dea DIST rspamd-1.2.0.tar.xz 1406832 SHA256 1a287608787bfdd59137ae511bafeaca3c4d2faf23aa1c628bdf84d7da6d8505 SHA512 0c0b1c5151ee3633e40b5730a303658263b9e0d174614e92af1dedef7352f71daa524f8d9df04fc6b21d0a73bceeba18a930a6483d4fac0ef412686c36ce1b79 WHIRLPOOL 3e080c2bec4cfef9ebb952446b203ca287c0c1aeedc6baadae1e61fa452fc9a7ef729279378fe7ca1af65af251fc1a1cf6f3cfe1c8c0ccebb042922b1a1f8656 +DIST rspamd-1.2.1.tar.xz 1407348 SHA256 fa4379d047c2b8f029500db69a6c2e8e2ca36f6b187ea49ee5e8892c5236392a SHA512 95666417eb4f3dd3e5153b5b578efdf926014f084be556c7e471c50e386d7bb453f8c11935bcb8af2e0a86550452d39d54fb6630762ca621c6179af4977a5386 WHIRLPOOL 03b0dcc44b9c7718764c6fc81a2109e99cae16734dd5edcb5c49e6047d2877e37e005814e7390b1a3d5fa8991b4f3e50f5d42f9b6a550b753b5dc9dbb871aa1f diff --git a/mail-filter/rspamd/rspamd-1.2.1.ebuild b/mail-filter/rspamd/rspamd-1.2.1.ebuild new file mode 100644 index 0000000..5656b03 --- /dev/null +++ b/mail-filter/rspamd/rspamd-1.2.1.ebuild @@ -0,0 +1,62 @@ +# 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="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+jit" + +DEPEND="dev-libs/openssl:0 + 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 +}