From: "Dirkjan Ochtman" <djc@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: mail-filter/rspamd/
Date: Sun, 8 Jan 2017 08:37:11 +0000 (UTC) [thread overview]
Message-ID: <1483864551.46c0780bef4f21a9683afce5cfba8ac7f66fdde1.djc@gentoo> (raw)
commit: 46c0780bef4f21a9683afce5cfba8ac7f66fdde1
Author: Christian Roessner <c <AT> roessner-network-solutions <DOT> com>
AuthorDate: Thu Jan 5 17:54:33 2017 +0000
Commit: Dirkjan Ochtman <djc <AT> gentoo <DOT> org>
CommitDate: Sun Jan 8 08:35:51 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46c0780b
mail-filter/rspamd: Adding and removing use flags and deps
Bump to 1.4.1-r2. Merging new USE flags from live ebuild and adding PAX
Live-ebuild. Adding pcre2 and jemalloc USE flags. Dropping gmime support
mail-filter/rspamd/metadata.xml | 2 +
.../{rspamd-9999.ebuild => rspamd-1.4.2.ebuild} | 57 ++++++++++++----------
mail-filter/rspamd/rspamd-9999.ebuild | 26 ++++++----
3 files changed, 51 insertions(+), 34 deletions(-)
diff --git a/mail-filter/rspamd/metadata.xml b/mail-filter/rspamd/metadata.xml
index aee0fd2..b628e7d 100644
--- a/mail-filter/rspamd/metadata.xml
+++ b/mail-filter/rspamd/metadata.xml
@@ -10,5 +10,7 @@
</upstream>
<use>
<flag name="fann">Enable neural network plugin (requires <pkg>sci-mathematics/fann</pkg>).</flag>
+ <flag name="pcre2">Use dev-libs/libpcre2</flag>
+ <flag name="jemalloc">Use dev-libs/jemalloc for allocations</flag>
</use>
</pkgmetadata>
diff --git a/mail-filter/rspamd/rspamd-9999.ebuild b/mail-filter/rspamd/rspamd-1.4.2.ebuild
similarity index 55%
copy from mail-filter/rspamd/rspamd-9999.ebuild
copy to mail-filter/rspamd/rspamd-1.4.2.ebuild
index 2721f10..9d67152 100644
--- a/mail-filter/rspamd/rspamd-9999.ebuild
+++ b/mail-filter/rspamd/rspamd-1.4.2.ebuild
@@ -4,38 +4,39 @@
EAPI=5
-inherit cmake-utils user systemd git-r3
+inherit cmake-utils pax-utils user systemd
DESCRIPTION="Rapid spam filtering system"
+SRC_URI="https://rspamd.com/downloads/${P}.tar.xz"
HOMEPAGE="https://github.com/vstakhov/rspamd"
-EGIT_REPO_URI="https://github.com/vstakhov/rspamd.git"
LICENSE="Apache-2.0"
SLOT="0"
-KEYWORDS=""
-IUSE="fann +gd +jit libressl"
+KEYWORDS="~amd64 ~x86"
+IUSE="fann jemalloc +jit libressl pcre2"
-RDEPEND="!libressl? ( dev-libs/openssl:0[-bindist] )
- libressl? ( dev-libs/libressl:0 )
- fann? ( sci-mathematics/fann )
- 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
- gd? ( media-libs/gd[jpeg] )"
+RDEPEND="!libressl? ( dev-libs/openssl:0=[-bindist] )
+ libressl? ( dev-libs/libressl:0= )
+ fann? ( sci-mathematics/fann )
+ pcre2? (
+ dev-libs/libpcre2[jit=]
+ )
+ !pcre2? (
+ dev-libs/libpcre[jit=]
+ )
+ jit? ( dev-lang/luajit:2 )
+ jemalloc? (
+ dev-libs/jemalloc
+ )
+ 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}"
+ ${RDEPEND}"
QA_MULTILIB_PATHS="usr/lib/rspamd/.*"
@@ -52,7 +53,8 @@ src_configure() {
-DLOGDIR=/var/log/rspamd
-DENABLE_LUAJIT=$(usex jit ON OFF)
-DENABLE_FANN=$(usex fann ON OFF)
- -DENABLE_GD=$(usex gd ON OFF)
+ -DENABLE_PCRE2=$(usex pcre2 ON OFF)
+ -DENABLE_JEMALLOC=$(usex jemalloc ON OFF)
)
cmake-utils_src_configure
}
@@ -61,6 +63,11 @@ src_install() {
cmake-utils_src_install
newinitd "${FILESDIR}/rspamd.init-r2" rspamd
+ # Remove mprotect for JIT support
+ if use jit; then
+ pax-mark m "${ED}"/usr/bin/rspamd-* "${ED}"/usr/bin/rspamadm-* || die
+ fi
+
dodir /var/lib/rspamd
dodir /var/log/rspamd
diff --git a/mail-filter/rspamd/rspamd-9999.ebuild b/mail-filter/rspamd/rspamd-9999.ebuild
index 2721f10..379939d 100644
--- a/mail-filter/rspamd/rspamd-9999.ebuild
+++ b/mail-filter/rspamd/rspamd-9999.ebuild
@@ -4,7 +4,7 @@
EAPI=5
-inherit cmake-utils user systemd git-r3
+inherit cmake-utils user systemd git-r3 pax-utils
DESCRIPTION="Rapid spam filtering system"
HOMEPAGE="https://github.com/vstakhov/rspamd"
@@ -13,23 +13,24 @@ EGIT_REPO_URI="https://github.com/vstakhov/rspamd.git"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS=""
-IUSE="fann +gd +jit libressl"
+IUSE="fann +gd pcre2 +jit jemalloc libressl"
RDEPEND="!libressl? ( dev-libs/openssl:0[-bindist] )
libressl? ( dev-libs/libressl:0 )
fann? ( sci-mathematics/fann )
- jit? (
- dev-libs/libpcre[jit]
- dev-lang/luajit:2
+ pcre2? (
+ dev-libs/libpcre2[jit=]
)
- !jit? (
- dev-libs/libpcre[-jit]
- >=dev-lang/lua-5.1:0
+ !pcre2? (
+ dev-libs/libpcre[jit=]
+ )
+ jit? ( dev-lang/luajit:2 )
+ jemalloc? (
+ dev-libs/jemalloc
)
dev-libs/libevent
dev-db/sqlite:3
dev-libs/glib:2
- dev-libs/gmime
dev-util/ragel
sys-apps/file
virtual/libiconv
@@ -53,6 +54,8 @@ src_configure() {
-DENABLE_LUAJIT=$(usex jit ON OFF)
-DENABLE_FANN=$(usex fann ON OFF)
-DENABLE_GD=$(usex gd ON OFF)
+ -DENABLE_PCRE2=$(usex pcre2 ON OFF)
+ -DENABLE_JEMALLOC=$(usex jemalloc ON OFF)
)
cmake-utils_src_configure
}
@@ -61,6 +64,11 @@ src_install() {
cmake-utils_src_install
newinitd "${FILESDIR}/rspamd.init-r2" rspamd
+ # Remove mprotect for JIT support
+ if use jit; then
+ pax-mark m "${ED}"/usr/bin/rspamd-* "${ED}"/usr/bin/rspamadm-* || die
+ fi
+
dodir /var/lib/rspamd
dodir /var/log/rspamd
next reply other threads:[~2017-01-08 8:37 UTC|newest]
Thread overview: 153+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-08 8:37 Dirkjan Ochtman [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
2020-02-06 6:20 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-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=1483864551.46c0780bef4f21a9683afce5cfba8ac7f66fdde1.djc@gentoo \
--to=djc@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