From 10d935302bd1b478071832e7dbf6d5dc47ea894a Mon Sep 17 00:00:00 2001 From: Jannis Mattheis Date: Sat, 29 Jun 2024 20:55:32 +0200 Subject: [PATCH] updpkg: 2.5.0 --- .SRCINFO | 24 ++++++++++++------------ PKGBUILD | 14 +++++++------- config.patch | 12 ++++++------ 3 files changed, 25 insertions(+), 25 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 3ceaaab..18a36f6 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,6 +1,6 @@ pkgbase = gotify-server-bin pkgdesc = A simple server for sending and receiving messages - pkgver = 2.2.4 + pkgver = 2.5.0 pkgrel = 1 url = https://github.com/gotify/server arch = x86_64 @@ -12,23 +12,23 @@ pkgbase = gotify-server-bin provides = gotify-server conflicts = gotify-server backup = etc/gotify/config.yml - source = https://raw.githubusercontent.com/gotify/server/v2.2.4/config.example.yml + source = https://raw.githubusercontent.com/gotify/server/v2.5.0/config.example.yml source = config.patch source = tmpfiles.conf source = sysusers.conf source = gotify-server.service - sha256sums = d6f9716c7f67cfb518f3f50a18cbc950ef3e8e9c8ba1f226654dfdd3bf8226d4 - sha256sums = a8a511e2b98fa548391a1602fcfa05df0e10fae6f5904cbfc4202566f2dd8265 + sha256sums = 2fa745496bf234879d18b417f10911ac145be5ed13a5379e38e2b50a650f5fc0 + sha256sums = c251cc61b80968f606df9f9840519456fa5ba5f35ced44f73fda49059ed650b6 sha256sums = 14bd1a9270b089b99d9bbe8ebdd0c208c3f74c7347a792d508ffce75b0e1c641 sha256sums = 150a84f2f89d70c147cc3a2dbddb469f262ed2e8b6d3ffcb74eccb49dfdb2a24 sha256sums = 9aa04ff9a2981aa885d4f8df7467c4d7722aa12de7ae27376a4a11b559a0d1e2 - source_x86_64 = gotify-linux-amd64-2.2.4.zip::https://github.com/gotify/server/releases/download/v2.2.4/gotify-linux-amd64.zip - sha256sums_x86_64 = 60328447ee6b6125426d87eb913901826ac181fe581edd689208264eb81717c0 - source_i686 = gotify-linux-386-2.2.4.zip::https://github.com/gotify/server/releases/download/v2.2.4/gotify-linux-386.zip - sha256sums_i686 = 829cb883af346356ef7ff18b91bd27153cb78ef90677be4b1db6421fad1f7258 - source_armv7h = gotify-linux-arm-7-2.2.4.zip::https://github.com/gotify/server/releases/download/v2.2.4/gotify-linux-arm-7.zip - sha256sums_armv7h = 1f35322d0cc908897483ecbb6278393c1438aa606c92d0e4139f9553cffd8597 - source_aarch64 = gotify-linux-arm64-2.2.4.zip::https://github.com/gotify/server/releases/download/v2.2.4/gotify-linux-arm64.zip - sha256sums_aarch64 = 95e2aef556d709c88380cec89f263d202fd1e135f978c6e3df647a2a8c992eb8 + source_x86_64 = gotify-linux-amd64-2.5.0.zip::https://github.com/gotify/server/releases/download/v2.5.0/gotify-linux-amd64.zip + sha256sums_x86_64 = 6cf0fb4608f734008c42850c15248a287621b620852d91d8cec6787d1c0e7189 + source_i686 = gotify-linux-386-2.5.0.zip::https://github.com/gotify/server/releases/download/v2.5.0/gotify-linux-386.zip + sha256sums_i686 = a17340eeb95062ca39c36c1047cad16e9f97b4a33b914cef97b3bf3bff069d42 + source_armv7h = gotify-linux-arm-7-2.5.0.zip::https://github.com/gotify/server/releases/download/v2.5.0/gotify-linux-arm-7.zip + sha256sums_armv7h = 85017500913394421a9fa31e339327fb73cc3ee8753724cfcb95728c46de556a + source_aarch64 = gotify-linux-arm64-2.5.0.zip::https://github.com/gotify/server/releases/download/v2.5.0/gotify-linux-arm64.zip + sha256sums_aarch64 = c84c794719d1c56fc9c1b781579ac3c5326995a201cf758ce38d5aa208e070ad pkgname = gotify-server-bin diff --git a/PKGBUILD b/PKGBUILD index 64c009e..8b17d2a 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -2,7 +2,7 @@ _pkgname=gotify-server pkgname=${_pkgname}-bin -pkgver=2.2.4 +pkgver=2.5.0 pkgrel=1 pkgdesc='A simple server for sending and receiving messages' arch=('x86_64' 'i686' 'armv7h' 'aarch64') @@ -31,15 +31,15 @@ do source_x=("gotify-linux-${_arches[$key]}-${pkgver}.zip::$url/releases/download/v${pkgver}/gotify-linux-${_arches[$key]}.zip") done -sha256sums=('d6f9716c7f67cfb518f3f50a18cbc950ef3e8e9c8ba1f226654dfdd3bf8226d4' - 'a8a511e2b98fa548391a1602fcfa05df0e10fae6f5904cbfc4202566f2dd8265' +sha256sums=('2fa745496bf234879d18b417f10911ac145be5ed13a5379e38e2b50a650f5fc0' + 'c251cc61b80968f606df9f9840519456fa5ba5f35ced44f73fda49059ed650b6' '14bd1a9270b089b99d9bbe8ebdd0c208c3f74c7347a792d508ffce75b0e1c641' '150a84f2f89d70c147cc3a2dbddb469f262ed2e8b6d3ffcb74eccb49dfdb2a24' '9aa04ff9a2981aa885d4f8df7467c4d7722aa12de7ae27376a4a11b559a0d1e2') -sha256sums_x86_64=('60328447ee6b6125426d87eb913901826ac181fe581edd689208264eb81717c0') -sha256sums_i686=('829cb883af346356ef7ff18b91bd27153cb78ef90677be4b1db6421fad1f7258') -sha256sums_armv7h=('1f35322d0cc908897483ecbb6278393c1438aa606c92d0e4139f9553cffd8597') -sha256sums_aarch64=('95e2aef556d709c88380cec89f263d202fd1e135f978c6e3df647a2a8c992eb8') +sha256sums_x86_64=('6cf0fb4608f734008c42850c15248a287621b620852d91d8cec6787d1c0e7189') +sha256sums_i686=('a17340eeb95062ca39c36c1047cad16e9f97b4a33b914cef97b3bf3bff069d42') +sha256sums_armv7h=('85017500913394421a9fa31e339327fb73cc3ee8753724cfcb95728c46de556a') +sha256sums_aarch64=('c84c794719d1c56fc9c1b781579ac3c5326995a201cf758ce38d5aa208e070ad') prepare() { patch --follow-symlinks --forward -o "$srcdir/config.yml" config.example.yml config.patch diff --git a/config.patch b/config.patch index 276b902..d3d45cf 100644 --- a/config.patch +++ b/config.patch @@ -1,16 +1,16 @@ diff -ura package.orig/config.example.yml package.new/config.example.yml --- package.orig/config.example.yml 2020-03-08 14:59:02.828681120 +0100 +++ package.new/config.example.yml 2020-03-12 02:30:06.273495477 +0100 -@@ -3,7 +3,7 @@ - +@@ -4,7 +4,7 @@ server: - listenaddr: "" # the address to bind on, leave empty to bind on all addresses + keepaliveperiodseconds: 0 # 0 = use Go default (15s); -1 = disable keepalive; set the interval in which keepalive packets will be sent. Only change this value if you know what you are doing. + listenaddr: "" # the address to bind on, leave empty to bind on all addresses. Prefix with "unix:" to create a unix socket. Example: "unix:/tmp/gotify.sock". - port: 80 # the port the HTTP server will listen on + port: 9071 # the port the HTTP server will listen on - + ssl: enabled: false # if https should be enabled -@@ -15,7 +15,7 @@ +@@ -16,7 +16,7 @@ letsencrypt: enabled: false # if the certificate should be requested from letsencrypt accepttos: false # if you accept the tos from letsencrypt @@ -19,7 +19,7 @@ diff -ura package.orig/config.example.yml package.new/config.example.yml hosts: # the hosts for which letsencrypt should request certificates # - mydomain.tld # - myotherdomain.tld -@@ -42,12 +43,12 @@ +@@ -46,12 +46,12 @@ database: # for database see (configure database section) dialect: sqlite3