git: dd4b8a6c2444 - main - dns/godns: Update to 3.0.7

From: Daniel Engberg <diizzy_at_FreeBSD.org>
Date: Mon, 05 Feb 2024 00:09:59 UTC
The branch main has been updated by diizzy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=dd4b8a6c2444f98bbd28fc9257034bf67d06fd2c

commit dd4b8a6c2444f98bbd28fc9257034bf67d06fd2c
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2024-02-04 22:38:14 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2024-02-05 00:09:52 +0000

    dns/godns: Update to 3.0.7
    
    Changelog:
    https://github.com/TimothyYe/godns/releases/tag/v3.0.7
---
 dns/godns/Makefile                       |  7 ++++---
 dns/godns/distinfo                       |  8 +++++---
 dns/godns/files/patch-cmd_godns_godns.go | 12 ++++++------
 3 files changed, 15 insertions(+), 12 deletions(-)

diff --git a/dns/godns/Makefile b/dns/godns/Makefile
index 0ffe10ecc993..18dcca7819aa 100644
--- a/dns/godns/Makefile
+++ b/dns/godns/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	godns
 DISTVERSIONPREFIX=	v
-DISTVERSION=	3.0.5
+DISTVERSION=	3.0.7
 CATEGORIES=	dns
 
 MAINTAINER=	diizzy@FreeBSD.org
@@ -16,12 +16,15 @@ USE_RC_SUBR=	${PORTNAME}
 USE_GITHUB=	yes
 GH_ACCOUNT=	TimothyYe
 
+GO_TARGET=	./cmd/${PORTNAME}
+
 GH_TUPLE=	\
 		alexcesaro:quotedprintable:2caba252f4dc:alexcesaro_quotedprintable/vendor/gopkg.in/alexcesaro/quotedprintable.v3 \
 		bitly:go-simplejson:v0.5.0:bitly_go_simplejson/vendor/github.com/bitly/go-simplejson \
 		bmizerany:assert:b7ed37b82869:bmizerany_assert/vendor/github.com/bmizerany/assert \
 		bwmarrin:discordgo:v0.27.1:bwmarrin_discordgo/vendor/github.com/bwmarrin/discordgo \
 		fatih:color:v1.15.0:fatih_color/vendor/github.com/fatih/color \
+		fsnotify:fsnotify:v1.7.0:fsnotify_fsnotify/vendor/github.com/fsnotify/fsnotify \
 		go-check:check:10cb98267c6c:go_check_check/vendor/gopkg.in/check.v1 \
 		go-gomail:gomail:81ebce5c23df:go_gomail_gomail/vendor/gopkg.in/gomail.v2 \
 		go-ini:ini:v1.67.0:go_ini_ini/vendor/gopkg.in/ini.v1 \
@@ -50,8 +53,6 @@ GH_TUPLE=	\
 		protocolbuffers:protobuf-go:v1.30.0:protocolbuffers_protobuf_go/vendor/google.golang.org/protobuf \
 		sirupsen:logrus:v1.9.0:sirupsen_logrus/vendor/github.com/sirupsen/logrus
 
-GO_TARGET=	./cmd/${PORTNAME}
-
 SUB_FILES=	pkg-message
 
 post-patch:
diff --git a/dns/godns/distinfo b/dns/godns/distinfo
index 056c1c8baa52..d1f82091e3f1 100644
--- a/dns/godns/distinfo
+++ b/dns/godns/distinfo
@@ -1,6 +1,6 @@
-TIMESTAMP = 1704474898
-SHA256 (TimothyYe-godns-v3.0.5_GH0.tar.gz) = fbfc05fa8b7f2d93cef5058d5c36582df0ef28b4913e6ba3969c95847a822766
-SIZE (TimothyYe-godns-v3.0.5_GH0.tar.gz) = 327804
+TIMESTAMP = 1707046579
+SHA256 (TimothyYe-godns-v3.0.7_GH0.tar.gz) = 6d438a4de824fc4a41179dedc7a29cb54bf106c306658188f7b11df09f88e6d6
+SIZE (TimothyYe-godns-v3.0.7_GH0.tar.gz) = 328913
 SHA256 (alexcesaro-quotedprintable-2caba252f4dc_GH0.tar.gz) = 1a314d172f499342a97996e30ae1731b2e923e17031734d7350927458f544efb
 SIZE (alexcesaro-quotedprintable-2caba252f4dc_GH0.tar.gz) = 10425
 SHA256 (bitly-go-simplejson-v0.5.0_GH0.tar.gz) = 44196c95263e74277372319e5a6cb7f53b29ef7ddab8c7fed6ce6fc80144d465
@@ -11,6 +11,8 @@ SHA256 (bwmarrin-discordgo-v0.27.1_GH0.tar.gz) = b2d58bfee839f9d34a1379d66e11213
 SIZE (bwmarrin-discordgo-v0.27.1_GH0.tar.gz) = 154721
 SHA256 (fatih-color-v1.15.0_GH0.tar.gz) = e7a92edb32453c11aec9fac4d9f2b8fc42fac72249a7ca567c926a112534030e
 SIZE (fatih-color-v1.15.0_GH0.tar.gz) = 11273
+SHA256 (fsnotify-fsnotify-v1.7.0_GH0.tar.gz) = ca8175ba6bd3d0cc992200c2f44acabec05367575dc0478c5902971fe7453f35
+SIZE (fsnotify-fsnotify-v1.7.0_GH0.tar.gz) = 57502
 SHA256 (go-check-check-10cb98267c6c_GH0.tar.gz) = 0a42d9d5a49ebc30174e5840238e446f5fb16899bfaa6a6f63d12ab9953df293
 SIZE (go-check-check-10cb98267c6c_GH0.tar.gz) = 32375
 SHA256 (go-gomail-gomail-81ebce5c23df_GH0.tar.gz) = 13ee4111b51dd292a87f6216131eb614603dc54a5a34d6fb44deb0c352a217ba
diff --git a/dns/godns/files/patch-cmd_godns_godns.go b/dns/godns/files/patch-cmd_godns_godns.go
index fe61039e125b..8a91be96a9b3 100644
--- a/dns/godns/files/patch-cmd_godns_godns.go
+++ b/dns/godns/files/patch-cmd_godns_godns.go
@@ -1,12 +1,12 @@
---- cmd/godns/godns.go.orig	2023-01-19 15:20:32 UTC
+--- cmd/godns/godns.go.orig	2024-02-04 03:14:27 UTC
 +++ cmd/godns/godns.go
-@@ -16,11 +16,11 @@ import (
+@@ -22,11 +22,11 @@ var (
  
  var (
- 	configuration settings.Settings
--	optConf       = flag.String("c", "./config.json", "Specify a config file")
-+	optConf       = flag.String("c", "%%PREFIX%%/etc/godns-config.json", "Specify a config file")
- 	optHelp       = flag.Bool("h", false, "Show help")
+ 	config  settings.Settings
+-	optConf = flag.String("c", "./config.json", "Specify a config file")
++	optConf = flag.String("c", "%%PREFIX%%/etc/godns-config.json", "Specify a config file")
+ 	optHelp = flag.Bool("h", false, "Show help")
  
  	// Version is current version of GoDNS.
 -	Version = "0.1"