From nobody Wed May 01 00:17:54 2024 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VTd1t3N7cz5KBKh; Wed, 1 May 2024 00:17:54 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VTd1t2Nyjz4mPT; Wed, 1 May 2024 00:17:54 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1714522674; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=q6phsrhOGr7YC5fG+L0r2XpRG2HPzgkUXXJn7Huequc=; b=nGgo71JUKgbbw3moRQ65sjxwn9McmVxyw5++eAIef/iwnR6Q0XA+4mgnBrIfCvFra/yF0s Jok7Qzh00YpFDr6xdzG/z55YM/Fb5bbt+CI9INzqVwV4gN2sAqSolbMVJ6GR4h9BCTbdxb hZhL+cSZAC5TXmc8Y5zrfQWeht1e+y1RKmap7fqyb5fsX3PF8UdmJBtxv+CKmvVGJyOyu4 xO6Nz8q/3lkLifXfgdKhpI4NiUQUMgzPg77dtSiMw8uHyshCRiQNozANAuP0AvvBTJ/hea LYBMKYN9PaolKaZGyJSUuejMq14tbH3W+KM5Gqj/+Z5elfyICWyMxbFALrVCpw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1714522674; a=rsa-sha256; cv=none; b=oms1JSXbz7QU8oW4y3mhrnqxtih3nKLX7rLcdPpRkiJJ1EJor4F1A/TKdNdlseKPNfneWt ebL48gVwFonhAw48MnWVFTKadxc7j10aus8ojziYdJ+wqAQaulIsjMU015oPRTTZr7SD1/ lT0pxkAAW3Cy1SiuGojIVXB9cVMqYBfUTL/uJnEBcuVnYRKFHUE0Qng6ODKSn0zhoBI9Fy bqGWrdUiG33ozg4+CG4PSs1t53clzptqh42ZDTwZ4Hkh0elEIj5MTJmbPLgdTL2na0tIUW 3fb7d66mMtN7dNe/PZnxqAk/SebscWYS5RJOG6n/KmEQ1c1weRGzRk2xYLiq5Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1714522674; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=q6phsrhOGr7YC5fG+L0r2XpRG2HPzgkUXXJn7Huequc=; b=s9iQ9j/rPKA+OVgr9/sAJ5L4mNlG+g0FxFicOXZ5fwQbliAb0BwGkJ2/WcdyY531jA9qIh zrOJnq/3SHkdrLlTk0wsFDURS1uH+mu9jkAYI0Dxnc4VITGeccO731GLSVQd/qlbGigHro YbASmX7F459stIlNeczD0s/T0DUcmeq698Aybxj+/z4JYEledaW4qvmpNGPXE3EIuqm8u7 A0BR28QE5PnJf9aUc9+3l3PuvgSyDZJ9awMfHbNF34dHv65sBujfkvTS30cszh1yW+mBYL e5y4WlUDpXdU8KK0mOzl2QHqSBEFCKBor60VgDTpu+PqEQuOOxbnmmNBDVqH7w== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4VTd1t1VjczwVM; Wed, 1 May 2024 00:17:54 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 4410HsGo002861; Wed, 1 May 2024 00:17:54 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 4410HsYO002858; Wed, 1 May 2024 00:17:54 GMT (envelope-from git) Date: Wed, 1 May 2024 00:17:54 GMT Message-Id: <202405010017.4410HsYO002858@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Daniel Engberg Subject: git: 72a5b7a880d5 - main - dns/godns: Update to 3.1.5 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: diizzy X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 72a5b7a880d5c1b2e7752f4fa62f4df5727be387 Auto-Submitted: auto-generated The branch main has been updated by diizzy: URL: https://cgit.FreeBSD.org/ports/commit/?id=72a5b7a880d5c1b2e7752f4fa62f4df5727be387 commit 72a5b7a880d5c1b2e7752f4fa62f4df5727be387 Author: Daniel Engberg AuthorDate: 2024-05-01 00:16:53 +0000 Commit: Daniel Engberg CommitDate: 2024-05-01 00:17:00 +0000 dns/godns: Update to 3.1.5 Changelog: https://github.com/TimothyYe/godns/releases/tag/v3.1.5 --- dns/godns/Makefile | 19 ++++++++++++++----- dns/godns/distinfo | 30 +++++++++++++++++++++++------- dns/godns/files/patch-cmd_godns_godns.go | 10 +++++----- dns/godns/files/pkg-message.in | 6 ++++-- 4 files changed, 46 insertions(+), 19 deletions(-) diff --git a/dns/godns/Makefile b/dns/godns/Makefile index 2def06950add..5254ab538ae1 100644 --- a/dns/godns/Makefile +++ b/dns/godns/Makefile @@ -1,7 +1,6 @@ PORTNAME= godns DISTVERSIONPREFIX= v -DISTVERSION= 3.0.7 -PORTREVISION= 3 +DISTVERSION= 3.1.5 CATEGORIES= dns MAINTAINER= diizzy@FreeBSD.org @@ -21,6 +20,7 @@ GO_TARGET= ./cmd/${PORTNAME} GH_TUPLE= \ alexcesaro:quotedprintable:2caba252f4dc:alexcesaro_quotedprintable/vendor/gopkg.in/alexcesaro/quotedprintable.v3 \ + andybalholm:brotli:v1.0.5:andybalholm_brotli/vendor/github.com/andybalholm/brotli \ 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 \ @@ -31,6 +31,7 @@ GH_TUPLE= \ go-ini:ini:v1.67.0:go_ini_ini/vendor/gopkg.in/ini.v1 \ go-resty:resty:v2.7.0:go_resty_resty_v2/vendor/github.com/go-resty/resty/v2 \ go-yaml:yaml:v3.0.1:go_yaml_yaml/vendor/gopkg.in/yaml.v3 \ + gofiber:fiber:v2.52.1:gofiber_fiber_v2/vendor/github.com/gofiber/fiber/v2 \ golang:appengine:v1.6.7:golang_appengine/vendor/google.golang.org/appengine \ golang:crypto:v0.17.0:golang_crypto/vendor/golang.org/x/crypto \ golang:mod:v0.10.0:golang_mod/vendor/golang.org/x/mod \ @@ -40,19 +41,25 @@ GH_TUPLE= \ golang:sys:v0.15.0:golang_sys/vendor/golang.org/x/sys \ golang:text:v0.14.0:golang_text/vendor/golang.org/x/text \ golang:tools:v0.8.0:golang_tools/vendor/golang.org/x/tools \ - google:uuid:v1.3.0:google_uuid/vendor/github.com/google/uuid \ + google:uuid:v1.5.0:google_uuid/vendor/github.com/google/uuid \ gorilla:websocket:v1.5.0:gorilla_websocket/vendor/github.com/gorilla/websocket \ json-iterator:go:v1.1.12:json_iterator_go/vendor/github.com/json-iterator/go \ + klauspost:compress:v1.17.0:klauspost_compress/vendor/github.com/klauspost/compress \ kr:pretty:v0.3.1:kr_pretty/vendor/github.com/kr/pretty \ linode:linodego:v1.16.1:linode_linodego/vendor/github.com/linode/linodego \ mattn:go-colorable:v0.1.13:mattn_go_colorable/vendor/github.com/mattn/go-colorable \ - mattn:go-isatty:v0.0.18:mattn_go_isatty/vendor/github.com/mattn/go-isatty \ + mattn:go-isatty:v0.0.20:mattn_go_isatty/vendor/github.com/mattn/go-isatty \ + mattn:go-runewidth:v0.0.15:mattn_go_runewidth/vendor/github.com/mattn/go-runewidth \ miekg:dns:v1.1.53:miekg_dns/vendor/github.com/miekg/dns \ modern-go:concurrent:bacd9c7ef1dd:modern_go_concurrent/vendor/github.com/modern-go/concurrent \ modern-go:reflect2:v1.0.2:modern_go_reflect2/vendor/github.com/modern-go/reflect2 \ ovh:go-ovh:v1.4.1:ovh_go_ovh/vendor/github.com/ovh/go-ovh \ 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 + rivo:uniseg:v0.2.0:rivo_uniseg/vendor/github.com/rivo/uniseg \ + sirupsen:logrus:v1.9.0:sirupsen_logrus/vendor/github.com/sirupsen/logrus \ + valyala:bytebufferpool:v1.0.0:valyala_bytebufferpool/vendor/github.com/valyala/bytebufferpool \ + valyala:fasthttp:v1.51.0:valyala_fasthttp/vendor/github.com/valyala/fasthttp \ + valyala:tcplisten:v1.0.0:valyala_tcplisten/vendor/github.com/valyala/tcplisten SUB_FILES= pkg-message @@ -61,6 +68,8 @@ post-patch: ${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 post-install: ${INSTALL_DATA} ${FILESDIR}/godns-config.json.sample ${STAGEDIR}${PREFIX}/etc diff --git a/dns/godns/distinfo b/dns/godns/distinfo index d1f82091e3f1..74869cf0ec07 100644 --- a/dns/godns/distinfo +++ b/dns/godns/distinfo @@ -1,8 +1,10 @@ -TIMESTAMP = 1707046579 -SHA256 (TimothyYe-godns-v3.0.7_GH0.tar.gz) = 6d438a4de824fc4a41179dedc7a29cb54bf106c306658188f7b11df09f88e6d6 -SIZE (TimothyYe-godns-v3.0.7_GH0.tar.gz) = 328913 +TIMESTAMP = 1714311234 +SHA256 (TimothyYe-godns-v3.1.5_GH0.tar.gz) = 7071316e8b1c22daf86bf3814df7fa615b2bec40eb20ffbce19109bce0151f30 +SIZE (TimothyYe-godns-v3.1.5_GH0.tar.gz) = 652670 SHA256 (alexcesaro-quotedprintable-2caba252f4dc_GH0.tar.gz) = 1a314d172f499342a97996e30ae1731b2e923e17031734d7350927458f544efb SIZE (alexcesaro-quotedprintable-2caba252f4dc_GH0.tar.gz) = 10425 +SHA256 (andybalholm-brotli-v1.0.5_GH0.tar.gz) = 3a10ffe88b56cad3ecf4660750ef3fa0fd8511b06d3c302a5ef18b9c2a361c05 +SIZE (andybalholm-brotli-v1.0.5_GH0.tar.gz) = 1818063 SHA256 (bitly-go-simplejson-v0.5.0_GH0.tar.gz) = 44196c95263e74277372319e5a6cb7f53b29ef7ddab8c7fed6ce6fc80144d465 SIZE (bitly-go-simplejson-v0.5.0_GH0.tar.gz) = 5994 SHA256 (bmizerany-assert-b7ed37b82869_GH0.tar.gz) = f7dc11f10c5e52a94c836e15e7aff05ad4afba7436f66e5f4506806627c4635e @@ -23,6 +25,8 @@ SHA256 (go-resty-resty-v2.7.0_GH0.tar.gz) = 9afa2ab22afb81b4ff7275f5a2cb055b1bf3 SIZE (go-resty-resty-v2.7.0_GH0.tar.gz) = 2644943 SHA256 (go-yaml-yaml-v3.0.1_GH0.tar.gz) = cf05411540d3e6ef8f1fd88434b34f94cedaceb540329031d80e23b74540c4e5 SIZE (go-yaml-yaml-v3.0.1_GH0.tar.gz) = 91173 +SHA256 (gofiber-fiber-v2.52.1_GH0.tar.gz) = fb40888ebdcca0e1176c28384377cd5489e7a7bbb69f5479105c97b605cf6e4f +SIZE (gofiber-fiber-v2.52.1_GH0.tar.gz) = 763835 SHA256 (golang-appengine-v1.6.7_GH0.tar.gz) = c623d81235f7c9699e299b328191d813337dd57dcc800d7afdb5130e8c321a8f SIZE (golang-appengine-v1.6.7_GH0.tar.gz) = 333007 SHA256 (golang-crypto-v0.17.0_GH0.tar.gz) = a921c84634495d0d6fe25d81ff0cc7bd1e045865ffe95a7e329cd6f7eceaef6d @@ -41,20 +45,24 @@ SHA256 (golang-text-v0.14.0_GH0.tar.gz) = c80295e75bda599d17ccf74038139b0957b991 SIZE (golang-text-v0.14.0_GH0.tar.gz) = 8974094 SHA256 (golang-tools-v0.8.0_GH0.tar.gz) = 83277ab2b9590c472d5127d49757fbb44d45e1518c1f59eac7d0d8898b1970e6 SIZE (golang-tools-v0.8.0_GH0.tar.gz) = 3399590 -SHA256 (google-uuid-v1.3.0_GH0.tar.gz) = 7f7f37c47980e0afcc178a9ffc390bec29ed2371919b4c07658eb01791a7f921 -SIZE (google-uuid-v1.3.0_GH0.tar.gz) = 16210 +SHA256 (google-uuid-v1.5.0_GH0.tar.gz) = afe279d4dd27276356267f28835d1840da0ae3eb890e571b0183c01a375167fa +SIZE (google-uuid-v1.5.0_GH0.tar.gz) = 20042 SHA256 (gorilla-websocket-v1.5.0_GH0.tar.gz) = 5d86f9e1c76ff7ceca0747f78b79864fbaec9d440f4fdb03197466e5102a86b0 SIZE (gorilla-websocket-v1.5.0_GH0.tar.gz) = 54155 SHA256 (json-iterator-go-v1.1.12_GH0.tar.gz) = ff70e539fd919da757a2f3a530a053e7577cb4d7e2824fc1058d3abbefbb523e SIZE (json-iterator-go-v1.1.12_GH0.tar.gz) = 84307 +SHA256 (klauspost-compress-v1.17.0_GH0.tar.gz) = 171582ff71acfaa7aa5030d2f86fbec26594f87597a3ee8f51e078185c34d645 +SIZE (klauspost-compress-v1.17.0_GH0.tar.gz) = 37966139 SHA256 (kr-pretty-v0.3.1_GH0.tar.gz) = e6fa7db2708320e66a1645bf6b234e524e73f4163ca0519b8608616e48f5d206 SIZE (kr-pretty-v0.3.1_GH0.tar.gz) = 10227 SHA256 (linode-linodego-v1.16.1_GH0.tar.gz) = 505244a8c76c2ba806bb5843ef97eaee1a0215769e4beed8d92649ae88a7b902 SIZE (linode-linodego-v1.16.1_GH0.tar.gz) = 428705 SHA256 (mattn-go-colorable-v0.1.13_GH0.tar.gz) = c3b62c76d365906bba9aa9d9ec048fd33a2a5742299d6482a08e7466d4c52d77 SIZE (mattn-go-colorable-v0.1.13_GH0.tar.gz) = 9762 -SHA256 (mattn-go-isatty-v0.0.18_GH0.tar.gz) = 5b59235986f7a917559181ff814f83f610928b444f290bed733c3f2f900b803d -SIZE (mattn-go-isatty-v0.0.18_GH0.tar.gz) = 4675 +SHA256 (mattn-go-isatty-v0.0.20_GH0.tar.gz) = 18fc42a278e60fb7a1dffa72f20539ae88d0e292db55b513ef514b7d369883a6 +SIZE (mattn-go-isatty-v0.0.20_GH0.tar.gz) = 4713 +SHA256 (mattn-go-runewidth-v0.0.15_GH0.tar.gz) = 44a5d37bd7119a9d288d7ff61cf3b4d42c2902c66b0d94136d41d2eb3cf2ba85 +SIZE (mattn-go-runewidth-v0.0.15_GH0.tar.gz) = 18284 SHA256 (miekg-dns-v1.1.53_GH0.tar.gz) = 4f75b864cdbfed2c86aa6ba69a5064b84ac1317aaacd5a43c144104dff830f0a SIZE (miekg-dns-v1.1.53_GH0.tar.gz) = 209036 SHA256 (modern-go-concurrent-bacd9c7ef1dd_GH0.tar.gz) = d673e902118a6ece63198dc7e0961e904d0410f142726df0936ec1a52035a60f @@ -65,5 +73,13 @@ SHA256 (ovh-go-ovh-v1.4.1_GH0.tar.gz) = 6a8beedbd7486572a268974a3a95a9d8f28df167 SIZE (ovh-go-ovh-v1.4.1_GH0.tar.gz) = 20810 SHA256 (protocolbuffers-protobuf-go-v1.30.0_GH0.tar.gz) = 3279a16ec3bdd7c53fe1599134de298ed90d9f3b6ec1c1eb5f3b76ba5aaa9f0c SIZE (protocolbuffers-protobuf-go-v1.30.0_GH0.tar.gz) = 1298988 +SHA256 (rivo-uniseg-v0.2.0_GH0.tar.gz) = 3ad738b5c9162ede110d75b23564b6e40e52dd9150ebbced402f4f70be106197 +SIZE (rivo-uniseg-v0.2.0_GH0.tar.gz) = 44036 SHA256 (sirupsen-logrus-v1.9.0_GH0.tar.gz) = 12446ed9eb96573c2aae4df2db81900a65bfd21d2ce92efde7201614e42134f7 SIZE (sirupsen-logrus-v1.9.0_GH0.tar.gz) = 49098 +SHA256 (valyala-bytebufferpool-v1.0.0_GH0.tar.gz) = 089013e3429ebe7fd2bc3527f003bf3f3f639891e5d8ba6a56010e3671465e1f +SIZE (valyala-bytebufferpool-v1.0.0_GH0.tar.gz) = 5025 +SHA256 (valyala-fasthttp-v1.51.0_GH0.tar.gz) = d40d7730935d1a5cca2f1a0f9e47f05b0cd05235a04415764eeb3360b2a012fe +SIZE (valyala-fasthttp-v1.51.0_GH0.tar.gz) = 246042 +SHA256 (valyala-tcplisten-v1.0.0_GH0.tar.gz) = d498f56664dc4cdfa4a2efea2382450f16cc2df89e99fc2834a0003b9d14a6e6 +SIZE (valyala-tcplisten-v1.0.0_GH0.tar.gz) = 4616 diff --git a/dns/godns/files/patch-cmd_godns_godns.go b/dns/godns/files/patch-cmd_godns_godns.go index 8a91be96a9b3..ac8c2ee99908 100644 --- a/dns/godns/files/patch-cmd_godns_godns.go +++ b/dns/godns/files/patch-cmd_godns_godns.go @@ -1,16 +1,16 @@ ---- cmd/godns/godns.go.orig 2024-02-04 03:14:27 UTC +--- cmd/godns/godns.go.orig 2024-04-28 13:36:13 UTC +++ cmd/godns/godns.go -@@ -22,11 +22,11 @@ var ( - +@@ -23,11 +23,11 @@ var ( var ( config settings.Settings + optAddr = flag.String("a", ":9000", "Specify the address to listen on") - 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" +- Version = "v0.1" + Version = "%%DISTVERSION%%" ) - func init() { + func main() { diff --git a/dns/godns/files/pkg-message.in b/dns/godns/files/pkg-message.in index af66ace952b9..068486296b86 100644 --- a/dns/godns/files/pkg-message.in +++ b/dns/godns/files/pkg-message.in @@ -8,11 +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 your - local interface uses a private ip address. + 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 + For more documentation visit https://github.com/TimothyYe/godns EOM }