aboutsummaryrefslogtreecommitdiffstats
path: root/testing/opensmtpd-filter-rspamd
diff options
context:
space:
mode:
authorTBK <tbk@jjtc.eu>2020-03-05 01:28:46 +0100
committerRasmus Thomsen <oss@cogitri.dev>2020-03-05 21:48:37 +0100
commitbcdae1321cd06299f8671b6afdfc4c9fe8747290 (patch)
tree7a67c11ad77c2094e940d182aa377dabf06af7c6 /testing/opensmtpd-filter-rspamd
parentcc1287dc478f73076ff0b9a6a9f611fb72ca975e (diff)
downloadaports-bcdae1321cd06299f8671b6afdfc4c9fe8747290.tar.bz2
aports-bcdae1321cd06299f8671b6afdfc4c9fe8747290.tar.xz
testing/opensmtpd-filter-rspamd: new aport
Diffstat (limited to 'testing/opensmtpd-filter-rspamd')
-rw-r--r--testing/opensmtpd-filter-rspamd/APKBUILD25
1 files changed, 25 insertions, 0 deletions
diff --git a/testing/opensmtpd-filter-rspamd/APKBUILD b/testing/opensmtpd-filter-rspamd/APKBUILD
new file mode 100644
index 0000000000..4b94c1c974
--- /dev/null
+++ b/testing/opensmtpd-filter-rspamd/APKBUILD
@@ -0,0 +1,25 @@
+# Contributor: TBK <alpine@jjtc.eu>
+# Maintainer: TBK <alpine@jjtc.eu>
+pkgname=opensmtpd-filter-rspamd
+_pkgname=filter-rspamd
+pkgver=0.1.5
+pkgrel=0
+pkgdesc="OpenSMTPD filter integration for Rspamd"
+url="https://github.com/poolpOrg/filter-rspamd"
+arch="all"
+license="ISC"
+options="!check" # No test suite
+depends="opensmtpd"
+makedepends="go"
+source="$pkgname-$pkgver.tar.gz::https://github.com/poolpOrg/filter-rspamd/archive/$pkgver.tar.gz"
+builddir="$srcdir/$_pkgname-$pkgver"
+
+build() {
+ go build
+}
+
+package() {
+ install -Dm 0555 "$_pkgname-$pkgver" "$pkgdir"/usr/lib/opensmtpd/"$_pkgname"
+}
+
+sha512sums="971e2e672abd2cf12875c73e8fbf4420ed628319365bc04c9f6cb588a4b1838f1af2f073645d4349865ae8a619acc80de08982db9720cd1c06dc6f921ac7fa66 opensmtpd-filter-rspamd-0.1.5.tar.gz"