public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Dirkjan Ochtman" <djc@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: mail-filter/rspamd/
Date: Thu, 24 May 2018 10:22:36 +0000 (UTC)	[thread overview]
Message-ID: <1527157333.0d38aebe1e331c59d548f43983b1d28a48d83929.djc@gentoo> (raw)

commit:     0d38aebe1e331c59d548f43983b1d28a48d83929
Author:     Christian Roessner <c <AT> roessner-network-solutions <DOT> com>
AuthorDate: Thu May 24 09:13:28 2018 +0000
Commit:     Dirkjan Ochtman <djc <AT> gentoo <DOT> org>
CommitDate: Thu May 24 10:22:13 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d38aebe

mail-filter/rspamd: version bump to 1.7.5

	Modified ebuild to handle life ebuild and stable release

 mail-filter/rspamd/Manifest                        |  1 +
 .../{rspamd-9999.ebuild => rspamd-1.7.5.ebuild}    | 39 +++++++++++++++-------
 mail-filter/rspamd/rspamd-9999.ebuild              | 39 +++++++++++++++-------
 3 files changed, 55 insertions(+), 24 deletions(-)

diff --git a/mail-filter/rspamd/Manifest b/mail-filter/rspamd/Manifest
index 8b5ef369325..382f8c5fe76 100644
--- a/mail-filter/rspamd/Manifest
+++ b/mail-filter/rspamd/Manifest
@@ -2,3 +2,4 @@ DIST rspamd-1.6.5.tar.gz 2484271 BLAKE2B 880e862eecd4a082b87bee2ba8c7b17a475efbf
 DIST rspamd-1.6.6.tar.gz 2487482 BLAKE2B f18640f64a8c0bcf6077267a1715f0bb096ab18484c24de56a012c42666cdc9f8671237c5336dce7cd47f44f9aba7905ce3723232d53a5b8ddfe143df682bd9b SHA512 14c7144017df69600dbd09541d16dae19d87105b09f95811fc09624b60e89ca68200654e88dea242508afd3c4963ea7cac086abddec8ca1a3d8fc73d7c27e899
 DIST rspamd-1.7.1.tar.gz 4453460 BLAKE2B 28070804a6daf7f6354203038fbd974176a1ed5135b51a5ef7f089e63ffac3b3bbdca1961154b846f5b7d054071925722b311b46a3be6d09ff3d853232cbbd5f SHA512 3de4e07fa9cc72e306936a201f6bc019b5bf6f3ade003bf9217dc8a7decf027b986d80e1c0d2f09460af6f1d59aa520fee68287ad6ccee1cec94698054bc2fbb
 DIST rspamd-1.7.2.tar.gz 4460606 BLAKE2B 2c4389fd5350d67d21745288f74c4e1276772c47bbb0c74364227d0c04e4102c2ce00cd8242a639825e8c9971e87822af7a38a0a8561ba979e3f3b396d120414 SHA512 45ab95c7488e58da9e8803daefda5a0f8920cc4d4c4508a0347ed07d201124d07b10e93010b2be5fab3ecd0ac2be962bcebbb41f434a449fdbc31ded744878cf
+DIST rspamd-1.7.5.tar.gz 4494681 BLAKE2B 709b589157cb61568ebe78af64bb2363cb7342736e29971f30de1e1a1e9e667402006cb3a34e1d240a32560608ab9ab86838a288707b5043c89c3d9127880f60 SHA512 3e77c99abd47b1d22ccae33c0312b4338253af0ff10825dc2796fc42864142c91324d349677098bcd0c156a9229c04d3ce8a08808b6eb702624c918722e3acc4

diff --git a/mail-filter/rspamd/rspamd-9999.ebuild b/mail-filter/rspamd/rspamd-1.7.5.ebuild
similarity index 65%
copy from mail-filter/rspamd/rspamd-9999.ebuild
copy to mail-filter/rspamd/rspamd-1.7.5.ebuild
index 6c3a653743e..1a20cc22321 100644
--- a/mail-filter/rspamd/rspamd-9999.ebuild
+++ b/mail-filter/rspamd/rspamd-1.7.5.ebuild
@@ -1,18 +1,30 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=6
 
-inherit cmake-utils user systemd git-r3 pax-utils
+if [[ ${PV} == *9999 ]] ; then
+	SCM="git-r3"
+	EGIT_REPO_URI="https://github.com/vstakhov/rspamd.git"
+fi
+
+inherit cmake-utils user systemd pax-utils ${SCM}
 
 DESCRIPTION="Rapid spam filtering system"
 HOMEPAGE="https://github.com/vstakhov/rspamd"
-EGIT_REPO_URI="https://github.com/vstakhov/rspamd.git"
+
+if [[ ${PV} == *9999 ]] ; then
+	SRC_URI=""
+	KEYWORDS=""
+else
+	SRC_URI="https://github.com/vstakhov/rspamd/archive/${PV}.tar.gz -> ${P}.tar.gz"
+	KEYWORDS="~amd64 ~x86"
+fi
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS=""
-IUSE="fann +gd jemalloc +jit libressl pcre2"
+IUSE="cpu_flags_x86_ssse3 fann gd jemalloc +jit libressl pcre2 +torch"
+REQUIRED_USE="torch? ( jit )"
 
 RDEPEND="!libressl? ( dev-libs/openssl:0=[-bindist] )
 	libressl? ( dev-libs/libressl:0= )
@@ -24,10 +36,11 @@ RDEPEND="!libressl? ( dev-libs/openssl:0=[-bindist] )
 	dev-libs/libevent
 	dev-db/sqlite:3
 	dev-libs/glib:2
-	dev-util/ragel
+	<dev-util/ragel-7.0
 	sys-apps/file
 	gd? ( media-libs/gd[jpeg] )
-	dev-libs/icu"
+	dev-libs/icu
+	cpu_flags_x86_ssse3? ( dev-libs/hyperscan )"
 DEPEND="dev-util/ragel
 	${RDEPEND}"
 
@@ -46,24 +59,26 @@ 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)
-		-DENABLE_GD=$(usex gd ON OFF)
+		-DENABLE_HYPERSCAN=$(usex cpu_flags_x86_ssse3 ON OFF)
+		-DENABLE_TORCH=$(usex torch ON OFF)
 	)
 	cmake-utils_src_configure
 }
 
 src_install() {
 	cmake-utils_src_install
-	newinitd "${FILESDIR}/rspamd.init-r2" rspamd
+	newinitd "${FILESDIR}/rspamd.init-r5" 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
+	keepdir /var/lib/rspamd
+	keepdir /var/log/rspamd
 
 	fowners rspamd:rspamd /var/lib/rspamd /var/log/rspamd
 

diff --git a/mail-filter/rspamd/rspamd-9999.ebuild b/mail-filter/rspamd/rspamd-9999.ebuild
index 6c3a653743e..1a20cc22321 100644
--- a/mail-filter/rspamd/rspamd-9999.ebuild
+++ b/mail-filter/rspamd/rspamd-9999.ebuild
@@ -1,18 +1,30 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=6
 
-inherit cmake-utils user systemd git-r3 pax-utils
+if [[ ${PV} == *9999 ]] ; then
+	SCM="git-r3"
+	EGIT_REPO_URI="https://github.com/vstakhov/rspamd.git"
+fi
+
+inherit cmake-utils user systemd pax-utils ${SCM}
 
 DESCRIPTION="Rapid spam filtering system"
 HOMEPAGE="https://github.com/vstakhov/rspamd"
-EGIT_REPO_URI="https://github.com/vstakhov/rspamd.git"
+
+if [[ ${PV} == *9999 ]] ; then
+	SRC_URI=""
+	KEYWORDS=""
+else
+	SRC_URI="https://github.com/vstakhov/rspamd/archive/${PV}.tar.gz -> ${P}.tar.gz"
+	KEYWORDS="~amd64 ~x86"
+fi
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS=""
-IUSE="fann +gd jemalloc +jit libressl pcre2"
+IUSE="cpu_flags_x86_ssse3 fann gd jemalloc +jit libressl pcre2 +torch"
+REQUIRED_USE="torch? ( jit )"
 
 RDEPEND="!libressl? ( dev-libs/openssl:0=[-bindist] )
 	libressl? ( dev-libs/libressl:0= )
@@ -24,10 +36,11 @@ RDEPEND="!libressl? ( dev-libs/openssl:0=[-bindist] )
 	dev-libs/libevent
 	dev-db/sqlite:3
 	dev-libs/glib:2
-	dev-util/ragel
+	<dev-util/ragel-7.0
 	sys-apps/file
 	gd? ( media-libs/gd[jpeg] )
-	dev-libs/icu"
+	dev-libs/icu
+	cpu_flags_x86_ssse3? ( dev-libs/hyperscan )"
 DEPEND="dev-util/ragel
 	${RDEPEND}"
 
@@ -46,24 +59,26 @@ 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)
-		-DENABLE_GD=$(usex gd ON OFF)
+		-DENABLE_HYPERSCAN=$(usex cpu_flags_x86_ssse3 ON OFF)
+		-DENABLE_TORCH=$(usex torch ON OFF)
 	)
 	cmake-utils_src_configure
 }
 
 src_install() {
 	cmake-utils_src_install
-	newinitd "${FILESDIR}/rspamd.init-r2" rspamd
+	newinitd "${FILESDIR}/rspamd.init-r5" 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
+	keepdir /var/lib/rspamd
+	keepdir /var/log/rspamd
 
 	fowners rspamd:rspamd /var/lib/rspamd /var/log/rspamd
 


             reply	other threads:[~2018-05-24 10:22 UTC|newest]

Thread overview: 158+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-24 10:22 Dirkjan Ochtman [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-13 11:02 [gentoo-commits] repo/gentoo:master commit in: mail-filter/rspamd/ Sam James
2025-03-13 11:02 Sam James
2025-03-08 21:07 Petr Vaněk
2025-02-15  9:29 Ulrich Müller
2024-12-19  9:09 Petr Vaněk
2024-11-18 16:10 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-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=1527157333.0d38aebe1e331c59d548f43983b1d28a48d83929.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