From 92241ec5266d098b42685ca0bd5f9014fdbd64a9 Mon Sep 17 00:00:00 2001 From: tituspijean Date: Wed, 5 Jul 2023 00:45:01 +0200 Subject: [PATCH 1/3] [autopatch] Fix Host and X-Forwarded-For header spoofing --- conf/nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 0d42dd8..7854cab 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -2,7 +2,7 @@ location / { proxy_pass http://localhost:__PORT__/; proxy_http_version 1.1; - proxy_set_header Host $http_host; + proxy_set_header Host $host; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; From cdb9359957ef3c9de776bc6f94d6dfe2a4c2a330 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20W=C3=BChr?= Date: Fri, 18 Aug 2023 09:20:44 +0200 Subject: [PATCH 2/3] Update upstream to v2.7.0 --- README.md | 2 +- README_fr.md | 2 +- conf/amd64.src | 6 +++--- conf/arm64.src | 6 +++--- conf/armhf.src | 6 +++--- manifest.toml | 2 +- tests.toml | 2 +- 7 files changed, 13 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 0a51613..8a1fa04 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.6.2~ynh1 +**Shipped version:** 2.7.0~ynh1 **Demo:** https://ntfy.sh/app ## Documentation and resources diff --git a/README_fr.md b/README_fr.md index 0120bd4..7f24b0a 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.6.2~ynh1 +**Version incluse :** 2.7.0~ynh1 **Démo :** https://ntfy.sh/app ## Documentations et ressources diff --git a/conf/amd64.src b/conf/amd64.src index f62f9c4..9a815e5 100644 --- a/conf/amd64.src +++ b/conf/amd64.src @@ -1,6 +1,6 @@ -SOURCE_URL=https://github.com/binwiederhier/ntfy/releases/download/v2.6.2/ntfy_2.6.2_linux_amd64.tar.gz -SOURCE_SUM=c8a23c5ecb4fd58549bb18524fd3990f032f17e5adef97dcea0633b40d700816 +SOURCE_URL=https://github.com/binwiederhier/ntfy/releases/download/v2.7.0/ntfy_2.7.0_linux_amd64.tar.gz +SOURCE_SUM=2218bea3204348700034cff652437e317b8ed2466aa58d8b2444b41b68eaf5e2 SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=tar.gz SOURCE_IN_SUBDIR=true -SOURCE_FILENAME=ntfy_2.6.2_linux_amd64 +SOURCE_FILENAME=ntfy_2.7.0_linux_amd64 diff --git a/conf/arm64.src b/conf/arm64.src index 17ed9f9..ea734ee 100644 --- a/conf/arm64.src +++ b/conf/arm64.src @@ -1,6 +1,6 @@ -SOURCE_URL=https://github.com/binwiederhier/ntfy/releases/download/v2.6.2/ntfy_2.6.2_linux_arm64.tar.gz -SOURCE_SUM=fc5b20d587798567a419934196ede635ccdac04fbac94d6de06ffc0efb1d5a59 +SOURCE_URL=https://github.com/binwiederhier/ntfy/releases/download/v2.7.0/ntfy_2.7.0_linux_arm64.tar.gz +SOURCE_SUM=1e0e1bc4183e3ffecbe8d8b1b91b5df8965d907968588c19b7a591719bd146fb SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=tar.gz SOURCE_IN_SUBDIR=true -SOURCE_FILENAME=ntfy_2.6.2_linux_arm64 +SOURCE_FILENAME=ntfy_2.7.0_linux_arm64 diff --git a/conf/armhf.src b/conf/armhf.src index d3aaa04..385e297 100644 --- a/conf/armhf.src +++ b/conf/armhf.src @@ -1,6 +1,6 @@ -SOURCE_URL=https://github.com/binwiederhier/ntfy/releases/download/v2.6.2/ntfy_2.6.2_linux_armv7.tar.gz -SOURCE_SUM=72f2477de6e325bd91ed18edf8e4229bfa68ded2d6089d7b0202c3ea0a67d815 +SOURCE_URL=https://github.com/binwiederhier/ntfy/releases/download/v2.7.0/ntfy_2.7.0_linux_armv7.tar.gz +SOURCE_SUM=84981fe6f4234fb8e6429b0c6cbe7090bab1f773e1994b42237c40c244cdd326 SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=tar.gz SOURCE_IN_SUBDIR=true -SOURCE_FILENAME=ntfy_2.6.2_linux_armv7 +SOURCE_FILENAME=ntfy_2.7.0_linux_armv7 diff --git a/manifest.toml b/manifest.toml index ae3bbd0..eb31d96 100644 --- a/manifest.toml +++ b/manifest.toml @@ -5,7 +5,7 @@ name = "ntfy" description.en = "Open Source Push Notification Server" description.fr = "Serveur open source de notification" -version = "2.6.2~ynh1" +version = "2.7.0~ynh1" maintainers = ["Alexander Wühr"] diff --git a/tests.toml b/tests.toml index 3db58ef..4677b66 100644 --- a/tests.toml +++ b/tests.toml @@ -1,6 +1,6 @@ test_format = 1.0 [default] - test_upgrade_from.c1e589c.name = "Upgrade from 2.6.1~ynh1" + test_upgrade_from.727dfd9.name = "Upgrade from 2.6.2~ynh1" test_upgrade_from.e89c0fb.name = "Upgrade from 2.5.0~ynh1" test_upgrade_from.5b729db.name = "Upgrade from 2.4.0~ynh1" From e5b9917319e6d13966cef71b53b9e448a3978f01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20W=C3=BChr?= Date: Fri, 18 Aug 2023 11:30:43 +0200 Subject: [PATCH 3/3] Remove invalid config param in manifest --- manifest.toml | 1 - 1 file changed, 1 deletion(-) diff --git a/manifest.toml b/manifest.toml index eb31d96..d5e9d3a 100644 --- a/manifest.toml +++ b/manifest.toml @@ -31,7 +31,6 @@ ram.runtime = "50M" [install] [install.domain] type = "domain" - full_domain = true [install.admin] type = "user"