From: "Joonas Niilola" <juippis@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: mail-filter/rspamd/
Date: Thu, 6 Feb 2020 06:20:09 +0000 (UTC) [thread overview]
Message-ID: <1580969996.a2943cbd2b4496c42b9c26aa0860379ae12da13a.juippis@gentoo> (raw)
commit: a2943cbd2b4496c42b9c26aa0860379ae12da13a
Author: Petr Vaněk <arkamar <AT> atlas <DOT> cz>
AuthorDate: Tue Feb 4 18:03:38 2020 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Thu Feb 6 06:19:56 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2943cbd
mail-filter/rspamd: bump to 2.3
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Petr Vaněk <arkamar <AT> atlas.cz>
Closes: https://github.com/gentoo/gentoo/pull/14555
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
mail-filter/rspamd/Manifest | 1 +
mail-filter/rspamd/rspamd-2.3.ebuild | 94 ++++++++++++++++++++++++++++++++++++
2 files changed, 95 insertions(+)
diff --git a/mail-filter/rspamd/Manifest b/mail-filter/rspamd/Manifest
index 879828213cd..e9e306699c0 100644
--- a/mail-filter/rspamd/Manifest
+++ b/mail-filter/rspamd/Manifest
@@ -1,2 +1,3 @@
DIST rspamd-2.1.tar.gz 4232297 BLAKE2B 4685fa404e5a66d2295da57ece8ce1830507b3464c5136952dbb85847a5002c9c45c4f5430d0d60bc199f3aeafde7abf3ac218451f1609b81a5edfd4d0394588 SHA512 7ecd42e9196ccad29a18bb3e6153fd13d3564c1630c4ec88c712d180f789ad2c36755bfeff65e8dd82737debfb5530a6ec4eb401b49dd82b9eb1dbdea991f84f
DIST rspamd-2.2.tar.gz 4257574 BLAKE2B 3717736ecefea49cfc9e8bf312bdeafa8650dfe1b0a4410d98693add30c77cb054c7620ecc421edd69a2d8bfc1bcb02183951069b15774a588359da8bfb26ac9 SHA512 e62367b9d663a005686e3eef216a7913c6050125e96582e2a58ef459e14512c1bcf09108050ff8ef524ba5e7a3c78559805353a25510654d8764f985757b32fe
+DIST rspamd-2.3.tar.gz 4409924 BLAKE2B 825326c8c92b9937be1aed8640acc1c94762bf8de564642e4d1d429025eb9cc7ba943217b35c881c92b888cff0bec68ffae737bfc77ccb02bfc2ebd9d5948bcc SHA512 20fae1b088acafaaaa406980dc10da5efa66680f10ca8f0d262ddc735a0498f2026091806206995430d28ae27a7d348556eb1586a9217a02c39dfcf0f7c6eb95
diff --git a/mail-filter/rspamd/rspamd-2.3.ebuild b/mail-filter/rspamd/rspamd-2.3.ebuild
new file mode 100644
index 00000000000..6fc83c0865f
--- /dev/null
+++ b/mail-filter/rspamd/rspamd-2.3.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake pax-utils systemd tmpfiles
+
+if [[ ${PV} == *9999 ]] ; then
+ EGIT_REPO_URI="https://github.com/vstakhov/rspamd.git"
+ inherit git-r3
+else
+ SRC_URI="https://github.com/vstakhov/rspamd/archive/${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+DESCRIPTION="Rapid spam filtering system"
+HOMEPAGE="https://github.com/vstakhov/rspamd"
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE="blas cpu_flags_x86_ssse3 jemalloc +jit libressl pcre2"
+
+RDEPEND="
+ acct-group/rspamd
+ acct-user/rspamd
+ dev-db/sqlite:3
+ dev-libs/glib:2
+ dev-libs/icu:=
+ dev-libs/libev
+ dev-libs/libsodium
+ dev-util/ragel
+ net-libs/libnsl
+ sys-apps/file
+ blas? ( sci-libs/openblas )
+ cpu_flags_x86_ssse3? ( dev-libs/hyperscan )
+ jemalloc? ( dev-libs/jemalloc )
+ jit? ( dev-lang/luajit:2 )
+ !jit? ( dev-lang/lua:* )
+ !libressl? ( dev-libs/openssl:0=[-bindist] )
+ libressl? ( dev-libs/libressl:0= )
+ pcre2? ( dev-libs/libpcre2[jit=] )
+ !pcre2? ( dev-libs/libpcre[jit=] )"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ cmake_src_prepare
+
+ sed -i -e 's/User=_rspamd/User=rspamd/g' \
+ rspamd.service \
+ || die
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DCONFDIR=/etc/rspamd
+ -DRUNDIR=/var/run/rspamd
+ -DDBDIR=/var/lib/rspamd
+ -DLOGDIR=/var/log/rspamd
+ -DENABLE_BLAS=$(usex blas ON OFF)
+ -DENABLE_HYPERSCAN=$(usex cpu_flags_x86_ssse3 ON OFF)
+ -DENABLE_JEMALLOC=$(usex jemalloc ON OFF)
+ -DENABLE_LUAJIT=$(usex jit ON OFF)
+ -DENABLE_PCRE2=$(usex pcre2 ON OFF)
+ )
+ cmake_src_configure
+}
+
+src_test() {
+ cmake_src_test
+}
+
+src_install() {
+ cmake_src_install
+
+ newconfd "${FILESDIR}"/rspamd.conf rspamd
+ newinitd "${FILESDIR}/rspamd-r7.init" rspamd
+ systemd_newunit rspamd.service rspamd.service
+
+ newtmpfiles "${FILESDIR}"/${PN}.tmpfile ${PN}.conf
+
+ # Remove mprotect for JIT support
+ if use jit; then
+ pax-mark m "${ED}"/usr/bin/rspamd-* "${ED}"/usr/bin/rspamadm-*
+ fi
+
+ insinto /etc/logrotate.d
+ newins "${FILESDIR}"/rspamd-r1.logrotate rspamd
+
+ diropts -o rspamd -g rspamd
+ keepdir /var/{lib,log}/rspamd
+}
+
+pkg_postinst() {
+ tmpfiles_process "${PN}.conf"
+}
next reply other threads:[~2020-02-06 6:20 UTC|newest]
Thread overview: 153+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-06 6:20 Joonas Niilola [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-11-18 16:10 [gentoo-commits] repo/gentoo:master commit in: mail-filter/rspamd/ Petr Vaněk
2024-10-24 13:08 Petr Vaněk
2024-10-01 9:35 Petr Vaněk
2024-10-01 9:35 Petr Vaněk
2024-07-23 21:06 Petr Vaněk
2024-04-23 10:42 Petr Vaněk
2024-04-19 6:39 Ionen Wolkens
2024-04-19 6:39 Ionen Wolkens
2024-03-11 16:17 Viorel Munteanu
2024-03-11 16:17 Viorel Munteanu
2024-02-28 21:33 Petr Vaněk
2024-02-28 21:33 Petr Vaněk
2024-02-26 12:28 Petr Vaněk
2024-02-23 7:48 Petr Vaněk
2024-02-20 22:17 Petr Vaněk
2024-02-20 22:17 Petr Vaněk
2024-01-30 4:05 Ionen Wolkens
2024-01-26 9:16 Petr Vaněk
2024-01-26 9:16 Petr Vaněk
2024-01-23 5:07 Ionen Wolkens
2024-01-19 19:05 Petr Vaněk
2023-12-15 16:22 Petr Vaněk
2023-11-29 21:45 Petr Vaněk
2023-11-29 21:16 Petr Vaněk
2023-11-29 21:16 Petr Vaněk
2023-11-22 11:38 Sam James
2023-09-08 7:17 Joonas Niilola
2023-09-07 18:38 Arthur Zamarin
2023-08-07 5:43 Sam James
2023-05-27 6:42 Joonas Niilola
2023-05-27 6:42 Joonas Niilola
2023-05-26 10:59 Sam James
2023-05-26 10:59 Sam James
2023-03-19 21:21 Sam James
2023-03-19 21:21 Sam James
2023-03-19 21:21 Sam James
2023-02-09 16:11 Joonas Niilola
2023-01-17 4:13 Joonas Niilola
2023-01-17 4:13 Joonas Niilola
2023-01-17 4:13 Joonas Niilola
2023-01-04 5:50 Sam James
2022-11-12 6:23 Joonas Niilola
2022-11-12 6:23 Joonas Niilola
2022-11-06 6:17 Sam James
2022-10-07 11:28 Sam James
2022-10-07 11:28 Sam James
2022-10-07 11:28 Sam James
2022-06-12 7:33 Joonas Niilola
2022-05-22 2:13 Kenton Groombridge
2022-04-13 6:32 Sam James
2022-04-12 8:20 Sam James
2022-04-12 8:20 Sam James
2022-04-12 8:20 Sam James
2022-02-10 20:12 Jonas Stein
2022-01-10 17:42 Ionen Wolkens
2021-12-01 20:02 Sam James
2021-11-22 11:13 Sam James
2021-11-22 10:11 Sam James
2021-11-07 23:29 Sam James
2021-09-07 20:25 Sam James
2021-08-28 18:20 Sam James
2021-08-28 18:20 Sam James
2021-08-27 20:45 Sam James
2021-08-22 2:50 Sam James
2021-08-18 14:28 Sam James
2021-08-18 14:28 Sam James
2021-05-02 18:26 Mikle Kolyada
2021-02-25 11:35 Sam James
2021-02-19 19:32 Thomas Deutschmann
2021-01-27 18:48 Conrad Kostecki
2021-01-04 15:32 Sam James
2020-12-20 3:02 Sam James
2020-12-09 22:57 Marek Szuba
2020-11-05 14:04 Dirkjan Ochtman
2020-10-02 7:32 Joonas Niilola
2020-04-04 8:06 Joonas Niilola
2020-03-14 12:07 Joonas Niilola
2020-03-08 12:58 Joonas Niilola
2020-03-08 12:58 Joonas Niilola
2020-03-08 12:58 Joonas Niilola
2019-12-14 8:41 Joonas Niilola
2019-12-14 8:41 Joonas Niilola
2019-12-14 8:41 Joonas Niilola
2019-12-14 8:41 Joonas Niilola
2019-12-14 8:41 Joonas Niilola
2019-07-19 15:00 Michał Górny
2019-04-13 2:44 Aaron Bauman
2019-03-15 22:54 Thomas Deutschmann
2018-10-22 12:56 Dirkjan Ochtman
2018-08-11 9:58 Jonas Stein
2018-08-03 11:43 Dirkjan Ochtman
2018-07-25 17:29 Patrice Clement
2018-07-11 14:10 Dirkjan Ochtman
2018-05-24 10:22 Dirkjan Ochtman
2018-04-14 17:55 Dirkjan Ochtman
2018-03-21 14:35 Dirkjan Ochtman
2017-12-06 20:31 Dirkjan Ochtman
2017-11-26 23:02 David Seifert
2017-08-06 18:38 Dirkjan Ochtman
2017-07-30 18:53 Dirkjan Ochtman
2017-06-16 11:01 Dirkjan Ochtman
2017-06-13 19:52 Dirkjan Ochtman
2017-06-09 11:53 Dirkjan Ochtman
2017-05-31 12:21 Patrice Clement
2017-04-28 19:04 Dirkjan Ochtman
2017-04-25 19:29 Dirkjan Ochtman
2017-03-19 9:22 Dirkjan Ochtman
2017-03-04 9:15 Dirkjan Ochtman
2017-02-27 19:57 Dirkjan Ochtman
2017-02-24 12:32 Dirkjan Ochtman
2017-02-01 20:15 Dirkjan Ochtman
2017-01-20 21:16 Dirkjan Ochtman
2017-01-20 21:11 Dirkjan Ochtman
2017-01-08 8:37 Dirkjan Ochtman
2017-01-08 8:37 Dirkjan Ochtman
2017-01-03 16:00 Mike Gilbert
2017-01-03 15:09 Dirkjan Ochtman
2016-11-21 19:57 Dirkjan Ochtman
2016-11-21 19:57 Dirkjan Ochtman
2016-11-05 10:05 Dirkjan Ochtman
2016-11-01 20:40 Dirkjan Ochtman
2016-09-30 18:53 Dirkjan Ochtman
2016-09-30 18:53 Dirkjan Ochtman
2016-08-26 9:24 Dirkjan Ochtman
2016-08-15 18:28 Dirkjan Ochtman
2016-08-15 18:28 Dirkjan Ochtman
2016-08-08 19:07 Dirkjan Ochtman
2016-08-05 6:39 Dirkjan Ochtman
2016-07-25 19:11 Dirkjan Ochtman
2016-07-25 19:09 Dirkjan Ochtman
2016-06-24 19:52 Dirkjan Ochtman
2016-06-24 19:52 Dirkjan Ochtman
2016-05-25 17:22 Dirkjan Ochtman
2016-05-13 13:03 Dirkjan Ochtman
2016-05-01 19:13 Dirkjan Ochtman
2016-04-26 19:30 Dirkjan Ochtman
2016-04-13 6:59 Dirkjan Ochtman
2016-04-08 12:59 Dirkjan Ochtman
2016-03-25 20:54 Dirkjan Ochtman
2016-03-22 20:41 Dirkjan Ochtman
2016-02-22 19:52 Dirkjan Ochtman
2016-02-20 10:36 Dirkjan Ochtman
2016-02-20 10:36 Dirkjan Ochtman
2016-01-30 15:24 Dirkjan Ochtman
2016-01-27 20:41 Dirkjan Ochtman
2016-01-27 14:20 Dirkjan Ochtman
2016-01-22 9:49 Dirkjan Ochtman
2016-01-18 18:13 Dirkjan Ochtman
2016-01-18 18:06 Dirkjan Ochtman
2016-01-13 22:01 Manuel Rüger
2016-01-13 10:49 Dirkjan Ochtman
2016-01-09 15:05 Dirkjan Ochtman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1580969996.a2943cbd2b4496c42b9c26aa0860379ae12da13a.juippis@gentoo \
--to=juippis@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox