From dddc543d4e0a7df63c49decc6e46dcae1da3334f Mon Sep 17 00:00:00 2001 From: Sertonix Date: Tue, 6 Aug 2024 20:35:16 +0200 Subject: [PATCH] community/syncthing: upgrade to 1.27.10 --- community/syncthing/APKBUILD | 12 ++++-------- community/syncthing/test-timeout.patch | 13 ------------- 2 files changed, 4 insertions(+), 21 deletions(-) delete mode 100644 community/syncthing/test-timeout.patch diff --git a/community/syncthing/APKBUILD b/community/syncthing/APKBUILD index cd12d41a1d5..8d59c7e614c 100644 --- a/community/syncthing/APKBUILD +++ b/community/syncthing/APKBUILD @@ -4,8 +4,8 @@ # Contributor: Natanael Copa # Maintainer: Sertonix pkgname=syncthing -pkgver=1.27.9 -pkgrel=1 +pkgver=1.27.10 +pkgrel=0 pkgdesc="Open Source Continuous File Synchronization" url="https://syncthing.net/" arch="all" @@ -18,7 +18,6 @@ subpackages="$pkgname-doc $pkgname-utils $pkgname-openrc" source="$pkgname-$pkgver.tar.gz::https://github.com/syncthing/syncthing/archive/v$pkgver.tar.gz build-unset-CGO_ENABLED.patch only-test-with-race-when-provided.patch - test-timeout.patch $pkgname.initd " options="chmod-clean net" @@ -46,9 +45,7 @@ build() { } check() { - # shellcheck disable=2046 - # very flake - go test $(go list ./lib/... ./cmd/... | grep -Ev '(lib/model)') + go test ./... } package() { @@ -81,9 +78,8 @@ utils() { } sha512sums=" -c5d22496af42ae8187a33893d6cef37516f5754d576a92f4698bfe235fdaa6620db1b41eba0292bc50c8a83c1676cc9792a9f931d971c5aa9ce079544bfc6fdc syncthing-1.27.9.tar.gz +38b570f23537f7c0fb8f3a3f1f962c93416d7089639097f4b88565905858c4c801b0879d77b46420a12df266f8821e37bae7a7e75b10a0962455dfce8329b0f8 syncthing-1.27.10.tar.gz 30c96641f073ba732d495e9df4b04a9f00ddb19439b4764c2aef07e4ec4a5f53ec6527210c76dc2d2af8f76a37666e44c57acd444206427a258c1b39b53ee5d0 build-unset-CGO_ENABLED.patch 81bcb6b2e0956624b596201d1de24a3b6fcb10d08761f2c426081350b611295a7f4d47775d175f2ee5dbbb289b98bc022389fc9992f0d31bcdbfde855ceafaf8 only-test-with-race-when-provided.patch -05039b2c80a2c365f1d76a51d57ae1ff00e69824d1afd4b9a0df82ef4bc401b6b2ff08a60acbf8d339f30a1353c430f9680eb0e8d402291937d2e02c20739e44 test-timeout.patch 8c95d8794e10c97d6546a48b07af769e9c1b26870fcc53d524868ca6e57e96ad686ebcd988ddb2f355404cced81b9f19eeba99a7c832eb4641ff0066f7916749 syncthing.initd " diff --git a/community/syncthing/test-timeout.patch b/community/syncthing/test-timeout.patch deleted file mode 100644 index 59bcc50b0e5..00000000000 --- a/community/syncthing/test-timeout.patch +++ /dev/null @@ -1,13 +0,0 @@ -Tests time out on the builder often - ---- a/lib/api/api_test.go -+++ b/lib/api/api_test.go -@@ -444,7 +444,7 @@ func TestAPIServiceRequests(t *testing.T) { - // testHTTPRequest tries the given test case, comparing the result code, - // content type, and result prefix. - func testHTTPRequest(t *testing.T, baseURL string, tc httpTestCase, apikey string) { -- timeout := time.Second -+ timeout := 5 * time.Second - if tc.Timeout > 0 { - timeout = tc.Timeout - }