diff options
Diffstat (limited to 'mail-filter/rspamd/rspamd-9999.ebuild')
-rw-r--r-- | mail-filter/rspamd/rspamd-9999.ebuild | 35 |
1 files changed, 16 insertions, 19 deletions
diff --git a/mail-filter/rspamd/rspamd-9999.ebuild b/mail-filter/rspamd/rspamd-9999.ebuild index e4b16db1465f..40d3b5290825 100644 --- a/mail-filter/rspamd/rspamd-9999.ebuild +++ b/mail-filter/rspamd/rspamd-9999.ebuild @@ -8,7 +8,7 @@ if [[ ${PV} == *9999 ]] ; then EGIT_REPO_URI="https://github.com/vstakhov/rspamd.git" fi -inherit cmake-utils user systemd pax-utils ${SCM} +inherit cmake-utils pax-utils systemd user ${SCM} DESCRIPTION="Rapid spam filtering system" HOMEPAGE="https://github.com/vstakhov/rspamd" @@ -26,26 +26,23 @@ SLOT="0" 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= ) - 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 - net-libs/libnsl - dev-db/sqlite:3 +RDEPEND="dev-db/sqlite:3 dev-libs/glib:2 - <dev-util/ragel-7.0 + dev-libs/icu:= + dev-libs/libevent:= + net-libs/libnsl sys-apps/file + <dev-util/ragel-7.0 + cpu_flags_x86_ssse3? ( dev-libs/hyperscan ) + fann? ( sci-mathematics/fann ) gd? ( media-libs/gd[jpeg] ) - dev-libs/icu - cpu_flags_x86_ssse3? ( dev-libs/hyperscan )" -DEPEND="dev-util/ragel - ${RDEPEND}" - -QA_MULTILIB_PATHS="usr/lib/rspamd/.*" + jemalloc? ( dev-libs/jemalloc ) + jit? ( dev-lang/luajit:2 ) + !libressl? ( dev-libs/openssl:0=[-bindist] ) + libressl? ( dev-libs/libressl:0= ) + pcre2? ( dev-libs/libpcre2[jit=] ) + !pcre2? ( dev-libs/libpcre[jit=] )" +DEPEND="${RDEPEND}" pkg_setup() { enewgroup rspamd @@ -75,7 +72,7 @@ src_install() { # Remove mprotect for JIT support if use jit; then - pax-mark m "${ED}"/usr/bin/rspamd-* "${ED}"/usr/bin/rspamadm-* || die + pax-mark m "${ED}"/usr/bin/rspamd-* "${ED}"/usr/bin/rspamadm-* fi keepdir /var/lib/rspamd |