Hi!
Here is an update to the previously mentioned filter. The port update
contains:
- Switch to MODGO_*. This lets us drop the dependency on devel/go-sys
- Switch myself to maintainer as discussed here:
https://github.com/poolpOrg/filter-rspamd/pull/37
Changes for the actual tool are here:
https://github.com/poolpOrg/filter-rspamd/releases/tag/v0.1.7
If you are testing this, you will need to make sure your tree contains
the latest changes to lang/go/go.port.mk or else you won't be able to
fetch the distfiles properly.
OK?
Cheers,
Aaron
diff 314b17ec5bb7ab894b6284edf762fcbe3d967966 /usr/ports
blob - 2367d9b7fca0d1b8e084b4daaa600ebdd7a43ed7
file + mail/opensmtpd-filters/rspamd/Makefile
--- mail/opensmtpd-filters/rspamd/Makefile
+++ mail/opensmtpd-filters/rspamd/Makefile
@@ -2,17 +2,21 @@
COMMENT = rspamd integration to the OpenSMTPD daemon
-V = 0.1.6
+# V is used in opensmtpd-filters/Makefile.inc
+V = 0.1.7
+
+MODGO_MODNAME = github.com/poolpOrg/filter-rspamd
+MODGO_VERSION = v${V}
+
+DISTNAME = filter-rspamd-${MODGO_VERSION:S/v//}
+
FILTER_NAME = rspamd
-DISTNAME = filter-rspamd-${V}
CATEGORIES = mail
HOMEPAGE = https://github.com/poolpOrg/filter-rspamd/
-MAINTAINER = Gilles Chehade <[email protected]>
+MAINTAINER = Aaron Bieber <[email protected]>
-MASTER_SITES = https://github.com/poolpOrg/filter-rspamd/releases/download/${V}/
-
# ISC
PERMIT_PACKAGE = Yes
@@ -20,8 +24,7 @@ WANTLIB = c pthread
MODULES = lang/go
NO_TEST = Yes
-ALL_TARGET = filter-rspamd
+MODGO_MODULES = \
+ golang.org/x/sys v0.0.0-20200821140526-fda516888d29
-BUILD_DEPENDS = devel/go-sys
-
.include <bsd.port.mk>
blob - 88cf2fbc3313a445e7c7b4129aa1da17c31b3b38
file + mail/opensmtpd-filters/rspamd/distinfo
--- mail/opensmtpd-filters/rspamd/distinfo
+++ mail/opensmtpd-filters/rspamd/distinfo
@@ -1,2 +1,6 @@
-SHA256 (filter-rspamd-0.1.6.tar.gz) = Yhi0ozuIo9omQrn/kfM8z5p7WuAZEHrtUgujMuuvs4E=
-SIZE (filter-rspamd-0.1.6.tar.gz) = 5096
+SHA256 (filter-rspamd-0.1.7.zip) = RvGkHuE/EsMcbOGRUTo7wPP8iOY9exXmGKsrzYC3fcw=
+SHA256 (go_modules/golang.org/x/sys/@v/v0.0.0-20200821140526-fda516888d29.mod) = GBl56L1X0tngZBgtqGyaYRGqaXVeiI8IQx7OR0Kuw0M=
+SHA256 (go_modules/golang.org/x/sys/@v/v0.0.0-20200821140526-fda516888d29.zip) = 9D6FSRnTgg/29U0BzzgQkS/CYpz0oof79oFvaKI5nXw=
+SIZE (filter-rspamd-0.1.7.zip) = 9941
+SIZE (go_modules/golang.org/x/sys/@v/v0.0.0-20200821140526-fda516888d29.mod) = 33
+SIZE (go_modules/golang.org/x/sys/@v/v0.0.0-20200821140526-fda516888d29.zip) = 1487242