From 0edda6aed9377b614880e7f8589ad4f02e261316 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20W=C3=BChr?= Date: Mon, 20 Feb 2023 15:31:36 +0100 Subject: [PATCH] Update upstream app to v2.0.1 --- README.md | 2 +- README_fr.md | 2 +- conf/amd64.src | 6 +++--- conf/arm64.src | 6 +++--- conf/armhf.src | 6 +++--- manifest.json | 2 +- tools/update_src.sh | 20 ++++++++++++++++++++ 7 files changed, 32 insertions(+), 12 deletions(-) create mode 100644 tools/update_src.sh diff --git a/README.md b/README.md index e805034..4ab122c 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in ntfy (pronounce: *notify*) is a simple HTTP-based pub-sub notification service. It allows you to send notifications to your phone or desktop via scripts from any computer, entirely without signup, cost or setup. It's also open source if you want to run your own. -**Shipped version:** 2.0.0~ynh2 +**Shipped version:** 2.0.1~ynh1 **Demo:** https://ntfy.sh/app ## Disclaimers / important information diff --git a/README_fr.md b/README_fr.md index 2194474..e7c36f8 100644 --- a/README_fr.md +++ b/README_fr.md @@ -19,7 +19,7 @@ Si vous n’avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) po ntfy (pronounce: *notify*) is a simple HTTP-based pub-sub notification service. It allows you to send notifications to your phone or desktop via scripts from any computer, entirely without signup, cost or setup. It's also open source if you want to run your own. -**Version incluse :** 2.0.0~ynh2 +**Version incluse :** 2.0.1~ynh1 **Démo :** https://ntfy.sh/app ## Avertissements / informations importantes diff --git a/conf/amd64.src b/conf/amd64.src index ec038e5..533f71e 100644 --- a/conf/amd64.src +++ b/conf/amd64.src @@ -1,6 +1,6 @@ -SOURCE_URL=https://github.com/binwiederhier/ntfy/releases/download/v2.0.0/ntfy_2.0.0_linux_x86_64.tar.gz -SOURCE_SUM=3603e08929fc5e7980f7e0d198e5f5545d23957bb60c8daf6ab9bc0165549285 +SOURCE_URL=https://github.com/binwiederhier/ntfy/releases/download/v2.0.1/ntfy_2.0.1_linux_x86_64.tar.gz +SOURCE_SUM=e3da79a6772e3561e7cc6927f918dbfc3a985f56bc53688ec1a4ca0dfe164fff SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=tar.gz SOURCE_IN_SUBDIR=true -SOURCE_FILENAME=ntfy_2.0.0_linux_x86_64 +SOURCE_FILENAME=ntfy_2.0.1_linux_x86_64 diff --git a/conf/arm64.src b/conf/arm64.src index 338e170..f17db68 100644 --- a/conf/arm64.src +++ b/conf/arm64.src @@ -1,6 +1,6 @@ -SOURCE_URL=https://github.com/binwiederhier/ntfy/releases/download/v2.0.0/ntfy_2.0.0_linux_arm64.tar.gz -SOURCE_SUM=fb5f6df4da0d4e625fa15ef1a006e63912cdcd65c3c2bbc78018bf9ea9964498 +SOURCE_URL=https://github.com/binwiederhier/ntfy/releases/download/v2.0.1/ntfy_2.0.1_linux_arm64.tar.gz +SOURCE_SUM=af00579d814537b848a424b20361e948a3ef6a014b831c20ce374b6c71d6b4f6 SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=tar.gz SOURCE_IN_SUBDIR=true -SOURCE_FILENAME=ntfy_2.0.0_linux_arm64 +SOURCE_FILENAME=ntfy_2.0.1_linux_arm64 diff --git a/conf/armhf.src b/conf/armhf.src index 1628e47..c684601 100644 --- a/conf/armhf.src +++ b/conf/armhf.src @@ -1,6 +1,6 @@ -SOURCE_URL=https://github.com/binwiederhier/ntfy/releases/download/v2.0.0/ntfy_2.0.0_linux_armv7.tar.gz -SOURCE_SUM=5a864d8fcc0f9faad5989463558bcee3b70b8c6ec15f0a95c348d864d8b3cf68 +SOURCE_URL=https://github.com/binwiederhier/ntfy/releases/download/v2.0.1/ntfy_2.0.1_linux_armv7.tar.gz +SOURCE_SUM=2f6c8a8ca99593d41e75ca35cbc78673647d76c5e20c08c6d7fb3d535c77e50f SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=tar.gz SOURCE_IN_SUBDIR=true -SOURCE_FILENAME=ntfy_2.0.0_linux_armv7 +SOURCE_FILENAME=ntfy_2.0.1_linux_armv7 diff --git a/manifest.json b/manifest.json index 602e679..166a63b 100644 --- a/manifest.json +++ b/manifest.json @@ -15,7 +15,7 @@ "code": "https://github.com/binwiederhier/ntfy" }, "url": "https://ntfy.sh/", - "version": "2.0.0~ynh2", + "version": "2.0.1~ynh1", "license": "GPL-2.0-only", "maintainer": { "name": "Alexander Wühr", diff --git a/tools/update_src.sh b/tools/update_src.sh new file mode 100644 index 0000000..dad7c1b --- /dev/null +++ b/tools/update_src.sh @@ -0,0 +1,20 @@ +#!/bin/bash + +VERSION=$1 + +CHECKSUMS=`wget https://github.com/binwiederhier/ntfy/releases/download/v$VERSION/checksums.txt -q -O -` + +src() { + cat << SH > conf/$1.src +SOURCE_URL=https://github.com/binwiederhier/ntfy/releases/download/v${VERSION}/ntfy_${VERSION}_linux_${2}.tar.gz +SOURCE_SUM=`echo "$CHECKSUMS" | grep ${VERSION}_linux_${2}.tar.gz | cut -d " " -f 1` +SOURCE_SUM_PRG=sha256sum +SOURCE_FORMAT=tar.gz +SOURCE_IN_SUBDIR=true +SOURCE_FILENAME=ntfy_${VERSION}_linux_${2} +SH +} + +src amd64 x86_64 +src arm64 arm64 +src armhf armv7