git: 18851b80ab5a - main - dns/dnscontrol: Update to 5.0.2
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 01 Sep 2026 11:59:21 UTC
The branch main has been updated by decke:
URL: https://cgit.FreeBSD.org/ports/commit/?id=18851b80ab5a44e461e24210ea001c5895f6c9eb
commit 18851b80ab5a44e461e24210ea001c5895f6c9eb
Author: Bernhard Froehlich <decke@FreeBSD.org>
AuthorDate: 2026-09-01 11:58:19 +0000
Commit: Bernhard Froehlich <decke@FreeBSD.org>
CommitDate: 2026-09-01 11:58:49 +0000
dns/dnscontrol: Update to 5.0.2
---
dns/dnscontrol/Makefile | 2 +-
dns/dnscontrol/distinfo | 10 +++++-----
dns/dnscontrol/files/patch-pkg_mustbe_numbers.go | 21 ---------------------
3 files changed, 6 insertions(+), 27 deletions(-)
diff --git a/dns/dnscontrol/Makefile b/dns/dnscontrol/Makefile
index b500a1a75db4..f3c831786a24 100644
--- a/dns/dnscontrol/Makefile
+++ b/dns/dnscontrol/Makefile
@@ -1,6 +1,6 @@
PORTNAME= dnscontrol
DISTVERSIONPREFIX=v
-DISTVERSION= 5.0.0
+DISTVERSION= 5.0.2
CATEGORIES= dns
MAINTAINER= decke@FreeBSD.org
diff --git a/dns/dnscontrol/distinfo b/dns/dnscontrol/distinfo
index 9276b816afcb..c9014e2937dd 100644
--- a/dns/dnscontrol/distinfo
+++ b/dns/dnscontrol/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1787813881
-SHA256 (go/dns_dnscontrol/dnscontrol-v5.0.0/v5.0.0.mod) = c383810c3c61c277c9cd1337ce262ba86ea754a3cdc51ca2f893c72c936cd927
-SIZE (go/dns_dnscontrol/dnscontrol-v5.0.0/v5.0.0.mod) = 9376
-SHA256 (go/dns_dnscontrol/dnscontrol-v5.0.0/v5.0.0.zip) = 5f8c4e0fc543fd35e8954d951785a2c9c563b2a04256eeafe7da6d0118a7ba04
-SIZE (go/dns_dnscontrol/dnscontrol-v5.0.0/v5.0.0.zip) = 6655089
+TIMESTAMP = 1788260272
+SHA256 (go/dns_dnscontrol/dnscontrol-v5.0.2/v5.0.2.mod) = 39146ee1d30c6eeb4bbf9991f2bf0183afe7608d9f88b5da918d38a96072d2f3
+SIZE (go/dns_dnscontrol/dnscontrol-v5.0.2/v5.0.2.mod) = 9369
+SHA256 (go/dns_dnscontrol/dnscontrol-v5.0.2/v5.0.2.zip) = ea27a3a8fbb467a46c9c346451e50c7c60bea846da0029a33902fca0952794a0
+SIZE (go/dns_dnscontrol/dnscontrol-v5.0.2/v5.0.2.zip) = 6660512
diff --git a/dns/dnscontrol/files/patch-pkg_mustbe_numbers.go b/dns/dnscontrol/files/patch-pkg_mustbe_numbers.go
deleted file mode 100644
index 64ca1c015df0..000000000000
--- a/dns/dnscontrol/files/patch-pkg_mustbe_numbers.go
+++ /dev/null
@@ -1,21 +0,0 @@
-Fix compile issue on FreeBSD 14.4/i386
-
-pkg/mustbe/numbers.go:122:19: math.MaxUint32 (untyped int constant 4294967295) overflows int
-
---- pkg/mustbe/numbers.go.orig 1979-11-30 00:00:00 UTC
-+++ pkg/mustbe/numbers.go
-@@ -114,12 +114,12 @@ func Uint32(arg any) uint32 {
- case uint32:
- return v
- case uint:
-- if v > math.MaxUint32 {
-+ if uint64(v) > uint64(math.MaxUint32) {
- panic(fmt.Sprintf("value %v overflows uint32", arg))
- }
- return uint32(v)
- case int:
-- if v < 0 || v > math.MaxUint32 {
-+ if v < 0 || int64(v) > int64(math.MaxUint32) {
- panic(fmt.Sprintf("value %v overflows uint32", arg))
- }
- return uint32(v)