diff options
author | 2025-01-31 16:41:58 +0200 | |
---|---|---|
committer | 2025-01-31 16:43:00 +0200 | |
commit | b383832a0d84a6c5d550e254a6300f1205d64c36 (patch) | |
tree | a8f8c54f3d68b9bab2e7b3ff0b574fcf94527332 /mail-filter | |
parent | net-im/synapse: add 1.123.0 (diff) | |
download | gentoo-b383832a0d84a6c5d550e254a6300f1205d64c36.tar.gz gentoo-b383832a0d84a6c5d550e254a6300f1205d64c36.tar.bz2 gentoo-b383832a0d84a6c5d550e254a6300f1205d64c36.zip |
mail-filter/opensmtpd-filter-rspamd: add 0.1.8
Closes: https://github.com/gentoo/gentoo/pull/27881
Closes: https://bugs.gentoo.org/764650
Bug: https://bugs.gentoo.org/844706
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'mail-filter')
-rw-r--r-- | mail-filter/opensmtpd-filter-rspamd/Manifest | 2 | ||||
-rw-r--r-- | mail-filter/opensmtpd-filter-rspamd/opensmtpd-filter-rspamd-0.1.8.ebuild | 30 |
2 files changed, 32 insertions, 0 deletions
diff --git a/mail-filter/opensmtpd-filter-rspamd/Manifest b/mail-filter/opensmtpd-filter-rspamd/Manifest index 54d7e128189a..669f27b1d5b7 100644 --- a/mail-filter/opensmtpd-filter-rspamd/Manifest +++ b/mail-filter/opensmtpd-filter-rspamd/Manifest @@ -1 +1,3 @@ DIST opensmtpd-filter-rspamd-0.1.6.tar.gz 5096 BLAKE2B 7287aa2da095e7bdaf4f258112dbcf1c99f6a664ba7932e8704b7f7fb3fd9c7d0a243f1be0b412dfaff2baf70aee64c297e4489fd9802a0060f5c6a18d77a354 SHA512 c09251d78e26e5e13772b2b9d627e73a1633a71f7e70c7128fdf04f68ec9cf6737e1e4b0d7d7f9867b39798736970de06788b58b7f72f8e601af9d128d1e6650 +DIST opensmtpd-filter-rspamd-0.1.8-deps.tar.xz 418772 BLAKE2B b26d30ba1adb98c098e36018e8b49dee3e1208aaf670733cb9fb36348daed465d030d1feb1505ff339c92210464b37bfd6bdd08eb34a74076ab64c7e9e280324 SHA512 3686571cd4e53ef8eb5dc9901f7527b383393faa62339b143ae961da8921738a45be83e4ff603527ac44fb35e2bc94a45151216ecf4fa2081bc37b3182c9741e +DIST opensmtpd-filter-rspamd-0.1.8.tar.gz 7449 BLAKE2B 245bb4cbbcdb2b9bf0abde0fc43296cf3fa6e135492d83f8d6d0a5762b7a5f9fa9215d1750e546adc831aaeb0e5f42014609c8079a7cbafe5f31031c30a64aad SHA512 54dc5ec496251e6a223ac05909f4d940c79ce2487e40e30a430da24fcc211983c40355fd91a609e7bb109be49051ca81f092e297f5c8c1e5a3e91a188b948f04 diff --git a/mail-filter/opensmtpd-filter-rspamd/opensmtpd-filter-rspamd-0.1.8.ebuild b/mail-filter/opensmtpd-filter-rspamd/opensmtpd-filter-rspamd-0.1.8.ebuild new file mode 100644 index 000000000000..092687055d3f --- /dev/null +++ b/mail-filter/opensmtpd-filter-rspamd/opensmtpd-filter-rspamd-0.1.8.ebuild @@ -0,0 +1,30 @@ +# Copyright 2020-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit go-module + +DESCRIPTION="OpenSMTPD filter for putting emails through rspamd" +HOMEPAGE="https://github.com/poolpOrg/filter-rspamd" +SRC_URI="https://github.com/poolpOrg/filter-rspamd/archive/v${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI+=" https://dev.gentoo.org/~arthurzam/distfiles/mail-filter/${PN}/${P}-deps.tar.xz" +S=${WORKDIR}/${P#opensmtpd-} + +LICENSE="ISC" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND="mail-mta/opensmtpd" + +DOCS=( README.md ) + +src_compile() { + ego build -ldflags="-s -w" -buildmode=pie -o filter-rspamd +} + +src_install() { + default + exeinto /usr/libexec/opensmtpd + doexe filter-rspamd +} |