From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D1356138350 for ; Wed, 5 Feb 2020 13:27:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 224A3E0B15; Wed, 5 Feb 2020 13:27:20 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E511FE0B15 for ; Wed, 5 Feb 2020 13:27:19 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 14EDD34DF5A for ; Wed, 5 Feb 2020 13:27:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C3FF1EE for ; Wed, 5 Feb 2020 13:27:17 +0000 (UTC) From: "Jason A. Donenfeld" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jason A. Donenfeld" Message-ID: <1580909224.4b7f0262e3a5b424df6063a07d130f5347e418f7.zx2c4@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: mail-filter/opensmtpd-filter-rspamd/ X-VCS-Repository: repo/gentoo X-VCS-Files: mail-filter/opensmtpd-filter-rspamd/Manifest mail-filter/opensmtpd-filter-rspamd/metadata.xml mail-filter/opensmtpd-filter-rspamd/opensmtpd-filter-rspamd-0.1.5.ebuild X-VCS-Directories: mail-filter/opensmtpd-filter-rspamd/ X-VCS-Committer: zx2c4 X-VCS-Committer-Name: Jason A. Donenfeld X-VCS-Revision: 4b7f0262e3a5b424df6063a07d130f5347e418f7 X-VCS-Branch: master Date: Wed, 5 Feb 2020 13:27:17 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: cf9848bd-0960-44f8-b66a-e5d8d8ccca99 X-Archives-Hash: c44762fae4ab8843d494b880a32fa4da commit: 4b7f0262e3a5b424df6063a07d130f5347e418f7 Author: Jason A. Donenfeld gentoo org> AuthorDate: Wed Feb 5 13:25:21 2020 +0000 Commit: Jason A. Donenfeld gentoo org> CommitDate: Wed Feb 5 13:27:04 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b7f0262 mail-filter/opensmtpd-filter-rspamd: add new package Package-Manager: Portage-2.3.86, Repoman-2.3.20 Signed-off-by: Jason A. Donenfeld gentoo.org> mail-filter/opensmtpd-filter-rspamd/Manifest | 1 + mail-filter/opensmtpd-filter-rspamd/metadata.xml | 8 ++++++ .../opensmtpd-filter-rspamd-0.1.5.ebuild | 32 ++++++++++++++++++++++ 3 files changed, 41 insertions(+) diff --git a/mail-filter/opensmtpd-filter-rspamd/Manifest b/mail-filter/opensmtpd-filter-rspamd/Manifest new file mode 100644 index 00000000000..1915454dd99 --- /dev/null +++ b/mail-filter/opensmtpd-filter-rspamd/Manifest @@ -0,0 +1 @@ +DIST opensmtpd-filter-rspamd-0.1.5.tar.gz 4829 BLAKE2B 1a08431b11501ce30631e9db812e5742180bee8b995d8b07eacd35efd385a5213bb735218143a78ae8e8a9f4c6f791653f7e8f19cdb174236949364d587741d2 SHA512 9f11f5fa319e8f0e13e7f6b2cefe1a3018715be494e9bef51e017320ba99f75f1f65833b2c03a283cbfade49e8dfcd6255ea89d9486cd266ea78614c8482ce63 diff --git a/mail-filter/opensmtpd-filter-rspamd/metadata.xml b/mail-filter/opensmtpd-filter-rspamd/metadata.xml new file mode 100644 index 00000000000..915f0022706 --- /dev/null +++ b/mail-filter/opensmtpd-filter-rspamd/metadata.xml @@ -0,0 +1,8 @@ + + + + + zx2c4@gentoo.org + Jason A. Donenfeld + + diff --git a/mail-filter/opensmtpd-filter-rspamd/opensmtpd-filter-rspamd-0.1.5.ebuild b/mail-filter/opensmtpd-filter-rspamd/opensmtpd-filter-rspamd-0.1.5.ebuild new file mode 100644 index 00000000000..e55019d353a --- /dev/null +++ b/mail-filter/opensmtpd-filter-rspamd/opensmtpd-filter-rspamd-0.1.5.ebuild @@ -0,0 +1,32 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit golang-base + +DESCRIPTION="OpenSMTPD filter for putting emails through rspamd" +HOMEPAGE="https://github.com/poolpOrg/filter-rspamd" +SRC_URI="https://github.com/poolpOrg/filter-rspamd/releases/download/0.1.5/filter-rspamd-0.1.5.tar.gz -> ${P}.tar.gz" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="" +RDEPEND="${DEPEND} mail-mta/opensmtpd" +BDEPEND="" + +S=${WORKDIR}/${P#opensmtpd-} +DOCS=( README.md ) + +src_compile() { + go build -ldflags="-s -w" -buildmode=pie filter-rspamd.go || die +} + +src_install() { + default + exeinto /usr/libexec/opensmtpd + doexe filter-rspamd +}