From c79418bde956aa919eb86aabca1b274dba46670e Mon Sep 17 00:00:00 2001 From: Dale Shrauger Date: Tue, 3 Jun 2025 08:20:02 -0500 Subject: [PATCH] Update to version v2.12.0 --- README.md | 6 +++--- build_ntfy_server.sh | 2 +- install_ntfy_server.sh | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index d93f87e..d2e0f4c 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ You can access the free version of ntfy at **ntfy.sh**. There is also ### **Why does this exist when there's already a FreeBSD sysutils/ntfy pkg/port?** -The FreeBSD ntfy client package doesn't have the server or web built-in. It's a basic client only. It's also on version 2.7.0 while the latest release is currently 2.11.0. This repo is to build a full install with client, server, and web running as a ntfy user with startup scripts and configs for client and server.  +The FreeBSD ntfy client package doesn't have the server or web built-in. It's a basic client only. It's also on version 2.7.0 while the latest release is currently 2.12.0. This repo is to build a full install with client, server, and web running as a ntfy user with startup scripts and configs for client and server.  I built ntfy server on FreeBSD manually and have been testing it. I decided if I was going to keep using it that I should formalize an install.  @@ -19,7 +19,7 @@ I built ntfy server on FreeBSD manually and have been testing it. I decided if I I ran out of heap space building on a 2Gb FreeBSD 14.2 VM. It builds great when it was bumped to 4Gb (and more cores). Install build pre-reqs: -`pkg install python311 py311-pip node20 npm-node20 go gmake` +`sudo pkg install python311 py311-pip node20 npm-node20 go gmake` ### Build: @@ -31,7 +31,7 @@ Install build pre-reqs: ### Configure: -Edit your server.yml in /usr/local/etc/ntfy/ to set your hostname, listening IP/port, and any other desired settings. +Edit your server.yml in /usr/local/etc/ntfy/ to set your hostname, listening IP/port, and any other desired settings. iOS devices require external service for instant push notifcations. Set `upstream-base-url: "https://ntfy.sh"` in your config to allow push without setting up APNS/Firebase services. See [ntfy docs](https://docs.ntfy.sh/) for more configuration options and details. The nfty server service runs as a unprivileged user and must use a port higher than 1024. Use a webserver or reverse proxy in front of ntfy to provide http/https access. diff --git a/build_ntfy_server.sh b/build_ntfy_server.sh index f1da22c..59e168a 100755 --- a/build_ntfy_server.sh +++ b/build_ntfy_server.sh @@ -1,6 +1,6 @@ #!/bin/sh -ntfy_version=2.11.0 +ntfy_version=2.12.0 file_dir=`cat dir_struct` CGO_ENABLED=1 diff --git a/install_ntfy_server.sh b/install_ntfy_server.sh index 7f917cc..8aa47c7 100755 --- a/install_ntfy_server.sh +++ b/install_ntfy_server.sh @@ -1,6 +1,6 @@ #!/bin/sh -ntfy_version=2.11.0 +ntfy_version=2.12.0 # Change to build directory cd ntfy-${ntfy_version}