diff options
author | Petr Vaněk <arkamar@atlas.cz> | 2020-04-01 16:33:02 +0200 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2020-04-04 10:51:27 +0300 |
commit | f9e1898e70581acc057e001cb301d091c32cb1df (patch) | |
tree | 49963f51c813dcefacc482117e8e3fc0797596d2 /mail-filter/rspamd/rspamd-9999.ebuild | |
parent | x11-terms/kitty: bump to 0.17.2 (diff) | |
download | gentoo-f9e1898e70581acc057e001cb301d091c32cb1df.tar.gz gentoo-f9e1898e70581acc057e001cb301d091c32cb1df.tar.bz2 gentoo-f9e1898e70581acc057e001cb301d091c32cb1df.zip |
mail-filter/rspamd: sync live; unbundle few libraries
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Petr Vaněk <arkamar@atlas.cz>
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'mail-filter/rspamd/rspamd-9999.ebuild')
-rw-r--r-- | mail-filter/rspamd/rspamd-9999.ebuild | 26 |
1 files changed, 23 insertions, 3 deletions
diff --git a/mail-filter/rspamd/rspamd-9999.ebuild b/mail-filter/rspamd/rspamd-9999.ebuild index ea53c2dbb556..b5d45580a5de 100644 --- a/mail-filter/rspamd/rspamd-9999.ebuild +++ b/mail-filter/rspamd/rspamd-9999.ebuild @@ -22,28 +22,48 @@ IUSE="blas cpu_flags_x86_ssse3 jemalloc +jit libressl pcre2" RDEPEND=" acct-group/rspamd acct-user/rspamd + app-arch/zstd dev-db/sqlite:3 dev-libs/glib:2 dev-libs/icu:= dev-libs/libev dev-libs/libsodium - dev-util/ragel + dev-libs/snowball-stemmer net-libs/libnsl sys-apps/file blas? ( sci-libs/openblas ) cpu_flags_x86_ssse3? ( dev-libs/hyperscan ) jemalloc? ( dev-libs/jemalloc ) - jit? ( dev-lang/luajit:2 ) - !jit? ( dev-lang/lua:* ) + jit? ( + dev-lang/luajit:2 + dev-lua/lpeg[luajit] + ) + !jit? ( + dev-lang/lua:* + dev-lua/lpeg[-luajit] + dev-lua/LuaBitOp + ) !libressl? ( dev-libs/openssl:0=[-bindist] ) libressl? ( dev-libs/libressl:0= ) pcre2? ( dev-libs/libpcre2[jit=] ) !pcre2? ( dev-libs/libpcre[jit=] )" DEPEND="${RDEPEND}" +BDEPEND=" + dev-util/ragel + virtual/pkgconfig +" + +PATCHES=( + "${FILESDIR}/rspamd-2.5-unbundle-lua.patch" + "${FILESDIR}/rspamd-2.5-unbundle-zstd.patch" + "${FILESDIR}/rspamd-2.5-unbundle-snowball.patch" +) src_prepare() { cmake_src_prepare + rm -vrf contrib/{lua-{bit,lpeg},snowball,zstd} || die + sed -i -e 's/User=_rspamd/User=rspamd/g' \ rspamd.service \ || die |