Date: Sun, 12 Apr 2026 07:23:55 +0000 From: Daniel Engberg <diizzy@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 6ca16854692d - main - dns/godns: Update to 3.4.1 Message-ID: <69db488b.3b2d0.37546baa@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by diizzy: URL: https://cgit.FreeBSD.org/ports/commit/?id=6ca16854692da814b2a7e0e928cf5892fa8bb8b6 commit 6ca16854692da814b2a7e0e928cf5892fa8bb8b6 Author: Daniel Engberg <diizzy@FreeBSD.org> AuthorDate: 2026-04-12 06:42:50 +0000 Commit: Daniel Engberg <diizzy@FreeBSD.org> CommitDate: 2026-04-12 07:21:26 +0000 dns/godns: Update to 3.4.1 * Bundle web frontend assets (web frontend is disabled by default) Changelog: https://github.com/TimothyYe/godns/releases/tag/v3.4.1 --- dns/godns/Makefile | 22 ++++++++++++++-------- dns/godns/distinfo | 12 +++++++----- dns/godns/files/godns-config.json.sample | 6 ++++++ dns/godns/files/pkg-message.in | 5 +++-- 4 files changed, 30 insertions(+), 15 deletions(-) diff --git a/dns/godns/Makefile b/dns/godns/Makefile index 982ceeb1ec31..0f657724c6c7 100644 --- a/dns/godns/Makefile +++ b/dns/godns/Makefile @@ -1,10 +1,12 @@ PORTNAME= godns DISTVERSIONPREFIX= v -DISTVERSION= 3.4 -PORTREVISION= 1 +DISTVERSION= 3.4.1 CATEGORIES= dns -MASTER_SITES= https://raw.githubusercontent.com/TimothyYe/${PORTNAME}/${DISTVERSIONFULL}/:gomod -DISTFILES= go.mod:gomod +MASTER_SITES= https://raw.githubusercontent.com/TimothyYe/${PORTNAME}/${DISTVERSIONFULL}/:gomod \ + https://github.com/TimothyYe/${PORTNAME}/releases/download/v${DISTVERSION}/:webui +DISTFILES= go.mod:gomod \ + ${PORTNAME}-web-${DISTVERSIONFULL}.zip:webui +EXTRACT_ONLY= ${DISTFILE_DEFAULT} MAINTAINER= diizzy@FreeBSD.org COMMENT= Dynamic DNS client (DDNS) with optional external reporting features @@ -23,13 +25,17 @@ GO_TARGET= ./cmd/${PORTNAME} SUB_FILES= pkg-message +post-extract: + @if [ ! -d ${WRKSRC}/internal/server/out ]; then \ + ${MKDIR} ${PATCH_WRKSRC}/internal/server/out ;\ + (${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/${_DISTFILES:M*web*} -C ${WRKSRC}/internal/server ${EXTRACT_AFTER_ARGS}) ;\ + fi + post-patch: @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' \ - ${PATCH_WRKSRC}/cmd/godns/godns.go + ${PATCH_WRKSRC}/cmd/godns/godns.go @${REINPLACE_CMD} -e 's|%%DISTVERSION%%|${DISTVERSION}|g' \ - ${PATCH_WRKSRC}/cmd/godns/godns.go - ${MKDIR} ${PATCH_WRKSRC}/internal/server/out - ${TOUCH} ${PATCH_WRKSRC}/internal/server/out/index.html + ${PATCH_WRKSRC}/cmd/godns/godns.go post-install: ${INSTALL_DATA} ${FILESDIR}/godns-config.json.sample ${STAGEDIR}${PREFIX}/etc diff --git a/dns/godns/distinfo b/dns/godns/distinfo index 2303b06b1ceb..37b8005633bf 100644 --- a/dns/godns/distinfo +++ b/dns/godns/distinfo @@ -1,5 +1,7 @@ -TIMESTAMP = 1774798573 -SHA256 (go/dns_godns/TimothyYe-godns-v3.4_GH0/go.mod) = c202891b1e17a62b045b6f8404a6c21ac2a4e8b99a1be557342375e8158ab9e2 -SIZE (go/dns_godns/TimothyYe-godns-v3.4_GH0/go.mod) = 1822 -SHA256 (go/dns_godns/TimothyYe-godns-v3.4_GH0/TimothyYe-godns-v3.4_GH0.tar.gz) = 8e9c4846c16aee9fb36e60fb9ce1a91bf845cc0e01820f2ec2abf05573d6d5cc -SIZE (go/dns_godns/TimothyYe-godns-v3.4_GH0/TimothyYe-godns-v3.4_GH0.tar.gz) = 873667 +TIMESTAMP = 1775981262 +SHA256 (go/dns_godns/TimothyYe-godns-v3.4.1_GH0/go.mod) = c202891b1e17a62b045b6f8404a6c21ac2a4e8b99a1be557342375e8158ab9e2 +SIZE (go/dns_godns/TimothyYe-godns-v3.4.1_GH0/go.mod) = 1822 +SHA256 (go/dns_godns/TimothyYe-godns-v3.4.1_GH0/godns-web-v3.4.1.zip) = 3836d920590dd7736163db9492e2199eddb1202c56f1414cc598a7d74952339e +SIZE (go/dns_godns/TimothyYe-godns-v3.4.1_GH0/godns-web-v3.4.1.zip) = 369494 +SHA256 (go/dns_godns/TimothyYe-godns-v3.4.1_GH0/TimothyYe-godns-v3.4.1_GH0.tar.gz) = 729f78043bc3df486357a85329aabcc5de5baebcd0c2c2819f665c3e6e2a95fd +SIZE (go/dns_godns/TimothyYe-godns-v3.4.1_GH0/TimothyYe-godns-v3.4.1_GH0.tar.gz) = 873148 diff --git a/dns/godns/files/godns-config.json.sample b/dns/godns/files/godns-config.json.sample index 2547a5456998..8125508144f5 100644 --- a/dns/godns/files/godns-config.json.sample +++ b/dns/godns/files/godns-config.json.sample @@ -13,4 +13,10 @@ "interval": 300, "debug_info": false, "run_once": false + "web_panel": { + "enabled": false, + "addr": "0.0.0.0:9000", + "username": "admin", + "password": "changemepassword" + } } diff --git a/dns/godns/files/pkg-message.in b/dns/godns/files/pkg-message.in index 068486296b86..19fb4b69411b 100644 --- a/dns/godns/files/pkg-message.in +++ b/dns/godns/files/pkg-message.in @@ -8,12 +8,13 @@ %%PREFIX%%/etc/godns-config.json.sample If you're testing out your setup be aware that GoDNS will refuse - to run if you've disabled external ip address lookup and local + to run if you've disabled external ip address lookup and local interface uses a private ip address. Logfile is located at /var/log/godns/godns.log - Due to dependency of npm the "Web Panel"/Web UI isn't available + Web frontend is available however disabled by default in sample + configuration file For more documentation visit https://github.com/TimothyYe/godns EOMhome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69db488b.3b2d0.37546baa>
