summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Roessner <c@roessner-network-solutions.com>2017-04-21 16:52:41 +0200
committerDirkjan Ochtman <djc@gentoo.org>2017-04-25 21:29:20 +0200
commit557754d1977eca066456e03b0a1f43f33f7941a3 (patch)
tree94f0dc3cfcf1bc196d5e9b410ebe9325de945cdb /mail-filter
parentdev-libs/hyperscan: set REQUIRED_USE to require SSSE3 (diff)
downloadgentoo-557754d1977eca066456e03b0a1f43f33f7941a3.tar.gz
gentoo-557754d1977eca066456e03b0a1f43f33f7941a3.tar.bz2
gentoo-557754d1977eca066456e03b0a1f43f33f7941a3.zip
mail-filter/rspamd: version bump to 1.5.6
If SSSE3 is available, use the hyperscan library.
Diffstat (limited to 'mail-filter')
-rw-r--r--mail-filter/rspamd/Manifest2
-rw-r--r--mail-filter/rspamd/metadata.xml2
-rw-r--r--mail-filter/rspamd/rspamd-1.5.6.ebuild (renamed from mail-filter/rspamd/rspamd-1.5.1.ebuild)6
3 files changed, 6 insertions, 4 deletions
diff --git a/mail-filter/rspamd/Manifest b/mail-filter/rspamd/Manifest
index 9ac7145ad58..aa7c4506b60 100644
--- a/mail-filter/rspamd/Manifest
+++ b/mail-filter/rspamd/Manifest
@@ -1,3 +1,3 @@
DIST rspamd-1.4.4.tar.xz 1780816 SHA256 51342639dd1e50b235ae7fb2e877dee1d5b90c8102ce7ff817545fa0fb6ebc6d SHA512 df2260de6585699a5b6692aa210647270b7132372ae6a2437f8532265018fe4db8270a8989ce0c0664cad17cbc281ae92f935c4f0974dc2f8da309e54c234b14 WHIRLPOOL 1f5f19b57c571fe07a843ae738f5cc60411040dbabb965163e6ed25668cd590f0da99256f83165d6cd14a1715914a16a6cd5a99125093a294fbfa2bc89ce155c
-DIST rspamd-1.5.1.tar.xz 1846668 SHA256 18e0f15d0121c3971cd11e7db1e15c0634289b1493b88656088fed0db92bc220 SHA512 f786693d2333c6ef074926cc148e7654637d23673271c264f594da9f69734cf97f68938880ab92a76c4beb2ba80697ff5d134110ae05faf53195f10145a2bd6c WHIRLPOOL 1d9252a4befc6228a30717439963d97d2ea016d677e32ade14a484d0106482a8a3e4aeb993c729a9d52b20de1fae01997150dcafd04961b012a9bcc4932d1a66
DIST rspamd-1.5.3.tar.xz 1854812 SHA256 a692f7eab27321924c5326efeae809ab2703fdf60b652446e9a232312d8a1e35 SHA512 68bdd593b03c299285d2cd56e945dbd38f823fbf7e9300318e7b05a3084eb751cb48134e69c13705e462838d814dd29bdca4631933eb23c0febf4d2fd223a153 WHIRLPOOL 5aa7aacafa44f3ebf6baf9f15a7461dc1e6d1a483f1794c0e66adbdfa83e22c77ad991e8925b7cfa11ab8e86cfbcef252fcd47b1e3954321449fd58911d15ee4
+DIST rspamd-1.5.6.tar.xz 1853052 SHA256 cda2a5b93f0e57b890767514ce00a2660baf9d48627f7367a36fe938ade14f31 SHA512 3735052817ecd12d46505e4657456a01cde6aac25d7bdffaf0c8722458c674edbe89aeb589f338ec9ed22b5455314511fe1f55b5a0be3532761579b4f7b44cfa WHIRLPOOL 2e5acd5a92c0453a4575ad3717809d287b8c7552b9927d2245b451a57b9f722b19e6820f9c5c188cbbdd414a38b95c9e001901438bd4c2796071f5501af1e0c4
diff --git a/mail-filter/rspamd/metadata.xml b/mail-filter/rspamd/metadata.xml
index b628e7d0774..7c41cb03468 100644
--- a/mail-filter/rspamd/metadata.xml
+++ b/mail-filter/rspamd/metadata.xml
@@ -10,7 +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>
+ <flag name="pcre2">Use dev-libs/libpcre2</flag>
</use>
</pkgmetadata>
diff --git a/mail-filter/rspamd/rspamd-1.5.1.ebuild b/mail-filter/rspamd/rspamd-1.5.6.ebuild
index cdfe5d6635c..433368fae07 100644
--- a/mail-filter/rspamd/rspamd-1.5.1.ebuild
+++ b/mail-filter/rspamd/rspamd-1.5.6.ebuild
@@ -12,7 +12,7 @@ HOMEPAGE="https://github.com/vstakhov/rspamd"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="fann +gd jemalloc +jit libressl pcre2"
+IUSE="cpu_flags_x86_ssse3 fann +gd jemalloc +jit libressl pcre2"
RDEPEND="!libressl? ( dev-libs/openssl:0=[-bindist] )
libressl? ( dev-libs/libressl:0= )
@@ -27,7 +27,8 @@ RDEPEND="!libressl? ( dev-libs/openssl:0=[-bindist] )
<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}"
@@ -48,6 +49,7 @@ src_configure() {
-DENABLE_FANN=$(usex fann ON OFF)
-DENABLE_PCRE2=$(usex pcre2 ON OFF)
-DENABLE_JEMALLOC=$(usex jemalloc ON OFF)
+ -DENABLE_HYPERSCAN=$(usex cpu_flags_x86_ssse3 ON OFF)
)
cmake-utils_src_configure
}