Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Mar 2026 05:02:47 +0000
From:      =?utf-8?Q?Jes=C3=BAs?= Daniel Colmenares Oviedo <dtxdf@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: b9b3f2d1a60a - main - sysutils/go-ntfy: Update to 2.18.0
Message-ID:  <69afa5f7.1a11c.127c64c1@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by dtxdf:

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

commit b9b3f2d1a60ac1a456883576de39a63c0569dd39
Author:     Jesús Daniel Colmenares Oviedo <dtxdf@FreeBSD.org>
AuthorDate: 2026-03-10 05:00:51 +0000
Commit:     Jesús Daniel Colmenares Oviedo <dtxdf@FreeBSD.org>
CommitDate: 2026-03-10 05:00:51 +0000

    sysutils/go-ntfy: Update to 2.18.0
    
    * Bump golang version.
    * Set listen-http in server.yml instead of in the rc(8) script.
    
    ChangeLog: https://github.com/binwiederhier/ntfy/releases/tag/v2.18.0
    
    PR:     293557
---
 sysutils/go-ntfy/Makefile                      |  7 +++----
 sysutils/go-ntfy/distinfo                      | 14 +++++++-------
 sysutils/go-ntfy/files/ntfy.in                 |  2 +-
 sysutils/go-ntfy/files/patch-server_server.yml | 11 +++++++++++
 4 files changed, 22 insertions(+), 12 deletions(-)

diff --git a/sysutils/go-ntfy/Makefile b/sysutils/go-ntfy/Makefile
index 16eb8fd076e6..d8675e67f76a 100644
--- a/sysutils/go-ntfy/Makefile
+++ b/sysutils/go-ntfy/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	ntfy
 DISTVERSIONPREFIX=	v
-DISTVERSION=	2.17.0
-PORTREVISION=	1
+DISTVERSION=	2.18.0
 CATEGORIES=	sysutils
 MASTER_SITES=	LOCAL/dtxdf/${PORTNAME}/:assets
 PKGNAMEPREFIX=	go-
@@ -16,7 +15,7 @@ WWW=		https://ntfy.sh
 LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-USES=		go:modules
+USES=		go:1.26+,modules
 USE_GITHUB=	yes
 GH_ACCOUNT=	binwiederhier
 
@@ -43,7 +42,7 @@ DOCS_USES=		python
 
 # Run 'git checkout ${DISTVERSIONPREFIX}${DISTVERSION} && git rev-parse --short HEAD'
 # in the ntfy repository to get the value of GITID.
-GITID=		a03a37fe
+GITID=		b59e35cb
 
 BUILD_DATE=	$$(date -u "+%Y-%m-%dT%H:%M:%SZ")
 
diff --git a/sysutils/go-ntfy/distinfo b/sysutils/go-ntfy/distinfo
index e6d568777080..0cf97fe7a646 100644
--- a/sysutils/go-ntfy/distinfo
+++ b/sysutils/go-ntfy/distinfo
@@ -1,7 +1,7 @@
-TIMESTAMP = 1770941037
-SHA256 (go/sysutils_go-ntfy/binwiederhier-ntfy-v2.17.0_GH0/ntfy-v2.17.0.frontend.tar.gz) = ee0972de643299d9f0e95a98e535dfa33456328f78a9f6baf06ec2c1f3a8216a
-SIZE (go/sysutils_go-ntfy/binwiederhier-ntfy-v2.17.0_GH0/ntfy-v2.17.0.frontend.tar.gz) = 2359576
-SHA256 (go/sysutils_go-ntfy/binwiederhier-ntfy-v2.17.0_GH0/go.mod) = e2ef4a1dbfe2bd334511f24c24529153bbccec9882f78457381ffa94de048ca1
-SIZE (go/sysutils_go-ntfy/binwiederhier-ntfy-v2.17.0_GH0/go.mod) = 4723
-SHA256 (go/sysutils_go-ntfy/binwiederhier-ntfy-v2.17.0_GH0/binwiederhier-ntfy-v2.17.0_GH0.tar.gz) = 2d2e4bb79998b52355407766cbf84e21fb7c650fd93c0a3663f3fcabadb2544d
-SIZE (go/sysutils_go-ntfy/binwiederhier-ntfy-v2.17.0_GH0/binwiederhier-ntfy-v2.17.0_GH0.tar.gz) = 15464512
+TIMESTAMP = 1773118283
+SHA256 (go/sysutils_go-ntfy/binwiederhier-ntfy-v2.18.0_GH0/ntfy-v2.18.0.frontend.tar.gz) = 1b49f253b107000549935b53ca435c17824aa8b342238b8a64780c95f720c353
+SIZE (go/sysutils_go-ntfy/binwiederhier-ntfy-v2.18.0_GH0/ntfy-v2.18.0.frontend.tar.gz) = 2355904
+SHA256 (go/sysutils_go-ntfy/binwiederhier-ntfy-v2.18.0_GH0/go.mod) = be6d5c5fb5def92eb1167344e3d595dea2aef8ce6dbfa45ea714a74915576ec2
+SIZE (go/sysutils_go-ntfy/binwiederhier-ntfy-v2.18.0_GH0/go.mod) = 4929
+SHA256 (go/sysutils_go-ntfy/binwiederhier-ntfy-v2.18.0_GH0/binwiederhier-ntfy-v2.18.0_GH0.tar.gz) = 651b7837b564929e843f4e6af2758eb20768335aac0a2f58481a6bce0e4787b3
+SIZE (go/sysutils_go-ntfy/binwiederhier-ntfy-v2.18.0_GH0/binwiederhier-ntfy-v2.18.0_GH0.tar.gz) = 15494778
diff --git a/sysutils/go-ntfy/files/ntfy.in b/sysutils/go-ntfy/files/ntfy.in
index f681ce0b5c1b..f205ad6ad038 100644
--- a/sysutils/go-ntfy/files/ntfy.in
+++ b/sysutils/go-ntfy/files/ntfy.in
@@ -22,7 +22,7 @@ load_rc_config $name
 : ${ntfy_enable:="NO"}
 : ${ntfy_log:="/var/log/ntfy.log"}
 : ${ntfy_runas:="www"}
-: ${ntfy_args="--listen-http :8080"}
+: ${ntfy_args=""}
 
 pidfile="/var/run/${name}.pid"
 procname="%%LOCALBASE%%/bin/${name}"
diff --git a/sysutils/go-ntfy/files/patch-server_server.yml b/sysutils/go-ntfy/files/patch-server_server.yml
new file mode 100644
index 000000000000..6fea2f1b323e
--- /dev/null
+++ b/sysutils/go-ntfy/files/patch-server_server.yml
@@ -0,0 +1,11 @@
+--- server/server.yml.orig	2026-03-10 04:55:20 UTC
++++ server/server.yml
+@@ -19,7 +19,7 @@
+ # To listen on all interfaces, you may omit the IP address, e.g. ":443".
+ # To disable HTTP, set "listen-http" to "-".
+ #
+-# listen-http: ":80"
++listen-http: ":8080"
+ # listen-https:
+ 
+ # Listen on a Unix socket, e.g. /var/lib/ntfy/ntfy.sock


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69afa5f7.1a11c.127c64c1>