Update to version v2.12.0

This commit is contained in:
2025-06-03 08:20:02 -05:00
parent c30c8f8677
commit c79418bde9
3 changed files with 5 additions and 5 deletions

View File

@ -10,7 +10,7 @@ You can access the free version of ntfy at **<ins>ntfy.sh</ins>**. There is also
### **Why does this exist when there's already a FreeBSD sysutils/ntfy pkg/port?** ### **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.  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). 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: 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: ### Build:
@ -31,7 +31,7 @@ Install build pre-reqs:
### Configure: ### 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. 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.

View File

@ -1,6 +1,6 @@
#!/bin/sh #!/bin/sh
ntfy_version=2.11.0 ntfy_version=2.12.0
file_dir=`cat dir_struct` file_dir=`cat dir_struct`
CGO_ENABLED=1 CGO_ENABLED=1

View File

@ -1,6 +1,6 @@
#!/bin/sh #!/bin/sh
ntfy_version=2.11.0 ntfy_version=2.12.0
# Change to build directory # Change to build directory
cd ntfy-${ntfy_version} cd ntfy-${ntfy_version}