summaryrefslogtreecommitdiff
path: root/dns/zdns/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'dns/zdns/Makefile')
-rw-r--r--dns/zdns/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/dns/zdns/Makefile b/dns/zdns/Makefile
index 5cc190378a30..59790fb4e177 100644
--- a/dns/zdns/Makefile
+++ b/dns/zdns/Makefile
@@ -1,7 +1,6 @@
PORTNAME= zdns
DISTVERSIONPREFIX= v
-DISTVERSION= 1.1.0
-PORTREVISION= 10
+DISTVERSION= 2.0.5
CATEGORIES= dns
MAINTAINER= yuri@FreeBSD.org
@@ -11,10 +10,13 @@ WWW= https://github.com/zmap/zdns
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= go:modules
+USES= go:1.24,modules
-GO_MODULE= github.com/zmap/zdns
+GO_MODULE= github.com/zmap/zdns/v2
PLIST_FILES= bin/${PORTNAME}
+post-patch:
+ @${CP} ${WRKSRC}/vendor/github.com/zmap/zcrypto/x509/root_linux.go ${WRKSRC}/vendor/github.com/zmap/zcrypto/x509/root_freebsd.go
+
.include <bsd.port.mk>