diff options
author | Petr Vaněk <arkamar@gentoo.org> | 2024-02-20 23:13:08 +0100 |
---|---|---|
committer | Petr Vaněk <arkamar@gentoo.org> | 2024-02-20 23:16:12 +0100 |
commit | c13f39be6f5f2b8d6e777cf6eb99d3a1b0ae629a (patch) | |
tree | b6522a1e7637afac3da17d8274b785bb14e1f3f2 /mail-filter | |
parent | mail-filter/rspamd: add 3.8.2 (diff) | |
download | gentoo-c13f39be6f5f2b8d6e777cf6eb99d3a1b0ae629a.tar.gz gentoo-c13f39be6f5f2b8d6e777cf6eb99d3a1b0ae629a.tar.bz2 gentoo-c13f39be6f5f2b8d6e777cf6eb99d3a1b0ae629a.zip |
mail-filter/rspamd: sync live
Signed-off-by: Petr Vaněk <arkamar@gentoo.org>
Diffstat (limited to 'mail-filter')
-rw-r--r-- | mail-filter/rspamd/rspamd-9999.ebuild | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/mail-filter/rspamd/rspamd-9999.ebuild b/mail-filter/rspamd/rspamd-9999.ebuild index d8e37a79ac0c..7763299004ae 100644 --- a/mail-filter/rspamd/rspamd-9999.ebuild +++ b/mail-filter/rspamd/rspamd-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -109,12 +109,20 @@ src_configure() { -DENABLE_JEMALLOC=$(usex jemalloc ON OFF) -DENABLE_LUAJIT=$(usex lua_single_target_luajit ON OFF) -DENABLE_PCRE2=ON + + -DBUILD_TESTING=$(usex test ON OFF) ) cmake_src_configure } src_test() { - cmake_build run-test + # These variables ensure tests use Lua scripts from this package rather + # than the installed version. However, rspamd always first attempts to load + # from /etc/rspamd/lua, with no method to override this behavior. + LUA_PATH="${S}/contrib/lua-?/?.lua" \ + LUALIBDIR="${S}/lualib" \ + RULESDIR="${S}/lualib" \ + cmake_src_test } src_install() { |