Compare commits

...
Sign in to create a new pull request.

13 commits

Author SHA1 Message Date
Fabio Valentini
327fbf23f0
Update to version 1.27.6; Fixes RHBZ#2272690 2024-04-11 13:49:05 +02:00
Fabio Valentini
3a5bd09175
Re-enable lib/api tests and raise timeout to resolve failures 2024-04-11 13:49:03 +02:00
Fabio Valentini
ad522e44eb
Ignore some very unreliable tests for now 2024-04-11 13:49:02 +02:00
Fabio Valentini
17c5fa1473
Update to version 1.27.4; Fixes RHBZ#2267805 2024-04-11 13:49:00 +02:00
Fabio Valentini
f77e4ea9a3
Update to version 1.27.3; Fixes RHBZ#2263121 2024-02-12 23:18:57 +01:00
Fabio Valentini
fda65d34e4
Update to version 1.27.2; Fixes RHBZ#2256512 2024-01-08 15:58:26 +01:00
Fabio Valentini
d14555990c
Update to version 1.27.1; Fixes RHBZ#2252714 2023-12-28 16:08:22 +01:00
Fabio Valentini
53c88fc16f
Update to version 1.26.1; Fixes RHBZ#2250334 2023-11-28 00:26:53 +01:00
Fabio Valentini
b4f0b4e502
Update to version 1.26.0; Fixes RHBZ#2248507 2023-11-09 13:25:19 +01:00
Fabio Valentini
c91e617077
Ignore some test timeouts on s390x 2023-10-28 00:37:23 +02:00
Fabio Valentini
429da14581
Update to version 1.25.0; Fixes RHBZ#2242032 2023-10-28 00:09:43 +02:00
Fabio Valentini
33a634feec
Update to version 1.24.0; Fixes RHBZ#2237824 2023-09-17 11:47:47 +02:00
Fabio Valentini
0eb97150de
Update to version 1.23.7; Fixes RHBZ#2230629 2023-09-01 21:35:54 +02:00
4 changed files with 126 additions and 56 deletions

10
.gitignore vendored
View file

@ -76,3 +76,13 @@
/syncthing-source-v1.23.4.tar.gz
/syncthing-source-v1.23.5.tar.gz
/syncthing-source-v1.23.6.tar.gz
/syncthing-source-v1.23.7.tar.gz
/syncthing-source-v1.24.0.tar.gz
/syncthing-source-v1.25.0.tar.gz
/syncthing-source-v1.26.0.tar.gz
/syncthing-source-v1.26.1.tar.gz
/syncthing-source-v1.27.1.tar.gz
/syncthing-source-v1.27.2.tar.gz
/syncthing-source-v1.27.3.tar.gz
/syncthing-source-v1.27.4.tar.gz
/syncthing-source-v1.27.6.tar.gz

View file

@ -0,0 +1,27 @@
From 0eb79d77f145cb6794ab31506e7a40bdfbbdef10 Mon Sep 17 00:00:00 2001
From: Fabio Valentini <decathorpe@gmail.com>
Date: Mon, 11 Mar 2024 14:03:37 +0100
Subject: [PATCH] lib/api/api_test: increase timeout from 1 second to 60
seconds
When run in parellel, 1 second is not enough for tests to work reliably.
---
lib/api/api_test.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/api/api_test.go b/lib/api/api_test.go
index cfdcb42..8badf19 100644
--- 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 := 60 * time.Second
if tc.Timeout > 0 {
timeout = tc.Timeout
}
--
2.44.0

View file

@ -1 +1 @@
SHA512 (syncthing-source-v1.23.6.tar.gz) = 32162bcf1677015d3359a141968c9e3544c8bd631905489a11bf79f45fa4ae442e8dc0f24c19c2b55defd88b3d5b56ae35d352aac9c09f6b82c50fd8b27fc796
SHA512 (syncthing-source-v1.27.6.tar.gz) = 2dbffd6002d557cc7ec3beab10d00f0e531d71ba60ed75fc20fd49f3d0c79b28197ed1c6795ef42717d12b8f4f594d1cadc8a67d0925f7f7f1cd20d1baa6edae

View file

@ -1,6 +1,6 @@
%bcond_with devel
%global basever 1.23.6
%global basever 1.27.6
#%%global rcnum 0
Name: syncthing
@ -17,12 +17,16 @@ Release: %autorelease
# - angular, bootstrap, daterangepicker, fancytree, jQuery, moment (MIT),
# - ForkAwesome (MIT, OFL-1.1, CC-BY-3.0), and
# - a number of go packages (Apache-2.0, BSD-2-Clause, BSD-2-Clause-Views, BSD-3-Clause, ISC, MIT, MPL-2.0)
License: MPL-2.0 AND Apache-2.0 AND BSD-2-Clause AND BSD-2-Clause-Views AND BSD-3-Clause AND CC-BY-3.0 AND ISC AND MIT AND MPL-2.0 AND OFL-1.1
License: MPL-2.0 AND Apache-2.0 AND BSD-2-Clause AND BSD-2-Clause-Views AND BSD-3-Clause AND CC-BY-3.0 AND ISC AND MIT AND OFL-1.1
URL: https://syncthing.net
# use official release tarball (contains vendored dependencies)
Source0: %{gourl}/releases/download/%{tag}/%{name}-source-%{tag}.tar.gz
# * increase some test timeouts to fix failures when running tests in parallel:
# https://github.com/syncthing/syncthing/issues/9455
Patch: 0001-lib-api-api_test-increase-timeout-from-1-second-to-6.patch
BuildRequires: desktop-file-utils
BuildRequires: systemd-rpm-macros
@ -46,18 +50,18 @@ Provides: bundled(moment) = 2.19.4
# manually check licenses for new deps and update License tag if necessary
# generate with "./vendor2provides.py path/to/vendor/modules.txt"
# github.com/AudriusButkevicius/pfilter : MIT
Provides: bundled(golang(github.com/AudriusButkevicius/pfilter)) = 0.0.11
# github.com/AudriusButkevicius/recli : MPL-2.0
Provides: bundled(golang(github.com/AudriusButkevicius/recli)) = d000ce8
# github.com/Azure/go-ntlmssp : MIT
Provides: bundled(golang(github.com/Azure/go-ntlmssp)) = 754e693
# github.com/alecthomas/kong : MIT
Provides: bundled(golang(github.com/alecthomas/kong)) = 0.7.1
Provides: bundled(golang(github.com/alecthomas/kong)) = 0.9.0
# github.com/alexbrainman/sspi : BSD-3-Clause
Provides: bundled(golang(github.com/alexbrainman/sspi)) = 1a75b47
# github.com/beorn7/perks : MIT
Provides: bundled(golang(github.com/beorn7/perks)) = 1.0.1
# github.com/calmh/incontainer : MIT
Provides: bundled(golang(github.com/calmh/incontainer)) = b3e71b1
Provides: bundled(golang(github.com/calmh/incontainer)) = 1.0.0
# github.com/calmh/xdr : MIT
Provides: bundled(golang(github.com/calmh/xdr)) = 1.1.0
# github.com/ccding/go-stun : Apache-2.0
@ -65,43 +69,51 @@ Provides: bundled(golang(github.com/ccding/go-stun)) = 0.1.4
# github.com/certifi/gocertifi : MPL-2.0
Provides: bundled(golang(github.com/certifi/gocertifi)) = 431795d
# github.com/cespare/xxhash : MIT
Provides: bundled(golang(github.com/cespare/xxhash/v2)) = 2.2.0
Provides: bundled(golang(github.com/cespare/xxhash/v2)) = 2.3.0
# github.com/chmduquesne/rollinghash : MIT
Provides: bundled(golang(github.com/chmduquesne/rollinghash)) = 4.0.0+incompatible
# github.com/cpuguy83/go-md2man : MIT
Provides: bundled(golang(github.com/cpuguy83/go-md2man/v2)) = 2.0.2
Provides: bundled(golang(github.com/cpuguy83/go-md2man/v2)) = 2.0.4
# github.com/d4l3k/messagediff : MIT
Provides: bundled(golang(github.com/d4l3k/messagediff)) = 1.2.1
# github.com/davecgh/go-spew : ISC
Provides: bundled(golang(github.com/davecgh/go-spew)) = 1.1.1
# github.com/flynn-archive/go-shlex : Apache-2.0
Provides: bundled(golang(github.com/flynn-archive/go-shlex)) = 3f9db97
# github.com/fsnotify/fsnotify : BSD-3-Clause
Provides: bundled(golang(github.com/fsnotify/fsnotify)) = 1.7.0
# github.com/getsentry/raven-go : BSD-3-Clause
Provides: bundled(golang(github.com/getsentry/raven-go)) = 0.2.0
# github.com/go-asn1-ber/asn1-ber : MIT
Provides: bundled(golang(github.com/go-asn1-ber/asn1-ber)) = 1.5.4
Provides: bundled(golang(github.com/go-asn1-ber/asn1-ber)) = 1.5.5
# github.com/go-ldap/ldap : MIT
Provides: bundled(golang(github.com/go-ldap/ldap/v3)) = 3.4.5
Provides: bundled(golang(github.com/go-ldap/ldap/v3)) = 3.4.6
# github.com/go-logr/logr : Apache-2.0
Provides: bundled(golang(github.com/go-logr/logr)) = 1.4.1
# github.com/go-ole/go-ole : MIT
Provides: bundled(golang(github.com/go-ole/go-ole)) = 1.2.6
Provides: bundled(golang(github.com/go-ole/go-ole)) = 1.3.0
# github.com/go-task/slim-sprig : MIT
Provides: bundled(golang(github.com/go-task/slim-sprig)) = 52ccab3
# github.com/gobwas/glob : MIT
Provides: bundled(golang(github.com/gobwas/glob)) = 0.2.3
# github.com/gogo/protobuf : BSD-3-Clause
Provides: bundled(golang(github.com/gogo/protobuf)) = 1.3.2
# github.com/golang/mock : Apache-2.0
Provides: bundled(golang(github.com/golang/mock)) = 1.6.0
# github.com/golang/protobuf : BSD-3-Clause
Provides: bundled(golang(github.com/golang/protobuf)) = 1.5.3
# github.com/golang/snappy : BSD-3-Clause
Provides: bundled(golang(github.com/golang/snappy)) = 0.0.4
# github.com/google/pprof : Apache-2.0
Provides: bundled(golang(github.com/google/pprof)) = 00490a6
Provides: bundled(golang(github.com/google/pprof)) = 29b9bb0
# github.com/google/uuid : BSD-3-Clause
Provides: bundled(golang(github.com/google/uuid)) = 1.6.0
# github.com/greatroar/blobloom : Apache-2.0
Provides: bundled(golang(github.com/greatroar/blobloom)) = 0.7.2
# github.com/hashicorp/errwrap : MPL-2.0
Provides: bundled(golang(github.com/hashicorp/errwrap)) = 1.1.0
# github.com/hashicorp/go-multierror : MPL-2.0
Provides: bundled(golang(github.com/hashicorp/go-multierror)) = 1.1.1
# github.com/hashicorp/golang-lru : MPL-2.0
Provides: bundled(golang(github.com/hashicorp/golang-lru/v2)) = 2.0.3
Provides: bundled(golang(github.com/hashicorp/golang-lru/v2)) = 2.0.7
# github.com/jackpal/gateway : BSD-3-Clause
Provides: bundled(golang(github.com/jackpal/gateway)) = 1.0.10
Provides: bundled(golang(github.com/jackpal/gateway)) = 1.0.14
# github.com/jackpal/go-nat-pmp : Apache-2.0
Provides: bundled(golang(github.com/jackpal/go-nat-pmp)) = 1.0.2
# github.com/julienschmidt/httprouter : BSD-3-Clause
@ -109,85 +121,101 @@ Provides: bundled(golang(github.com/julienschmidt/httprouter)) = 1.3.0
# github.com/kballard/go-shellquote : MIT
Provides: bundled(golang(github.com/kballard/go-shellquote)) = 95032a8
# github.com/klauspost/cpuid : MIT
Provides: bundled(golang(github.com/klauspost/cpuid/v2)) = 2.2.5
Provides: bundled(golang(github.com/klauspost/cpuid/v2)) = 2.2.7
# github.com/kr/text : MIT
Provides: bundled(golang(github.com/kr/text)) = 0.2.0
# github.com/lib/pq : MIT
Provides: bundled(golang(github.com/lib/pq)) = 1.10.9
# github.com/maruel/panicparse : Apache-2.0
Provides: bundled(golang(github.com/maruel/panicparse/v2)) = 2.3.1
# github.com/matttproud/golang_protobuf_extensions : Apache-2.0
Provides: bundled(golang(github.com/matttproud/golang_protobuf_extensions)) = 1.0.4
# github.com/maxbrunsfeld/counterfeiter : MIT
Provides: bundled(golang(github.com/maxbrunsfeld/counterfeiter/v6)) = 6.5.0
Provides: bundled(golang(github.com/maxbrunsfeld/counterfeiter/v6)) = 6.8.1
# github.com/minio/sha256-simd : Apache-2.0
Provides: bundled(golang(github.com/minio/sha256-simd)) = 1.0.1
# github.com/miscreant/miscreant.go : MIT
Provides: bundled(golang(github.com/miscreant/miscreant.go)) = 26d3763
# github.com/nxadm/tail : MIT
Provides: bundled(golang(github.com/nxadm/tail)) = 1.4.11
# github.com/onsi/ginkgo : MIT
Provides: bundled(golang(github.com/onsi/ginkgo/v2)) = 2.10.0
Provides: bundled(golang(github.com/onsi/ginkgo/v2)) = 2.17.1
# github.com/onsi/gomega : MIT
Provides: bundled(golang(github.com/onsi/gomega)) = 1.31.1
# github.com/oschwald/geoip2-golang : ISC
Provides: bundled(golang(github.com/oschwald/geoip2-golang)) = 1.8.0
Provides: bundled(golang(github.com/oschwald/geoip2-golang)) = 1.9.0
# github.com/oschwald/maxminddb-golang : ISC
Provides: bundled(golang(github.com/oschwald/maxminddb-golang)) = 1.10.0
# github.com/petermattis/goid : Apache-2.0
Provides: bundled(golang(github.com/petermattis/goid)) = 80aa455
Provides: bundled(golang(github.com/oschwald/maxminddb-golang)) = 1.12.0
# github.com/pierrec/lz4 : BSD-3-Clause
Provides: bundled(golang(github.com/pierrec/lz4/v4)) = 4.1.17
Provides: bundled(golang(github.com/pierrec/lz4/v4)) = 4.1.21
# github.com/pkg/errors : BSD-2-Clause
Provides: bundled(golang(github.com/pkg/errors)) = 0.9.1
# github.com/pmezard/go-difflib : BSD-3-Clause
Provides: bundled(golang(github.com/pmezard/go-difflib)) = 1.0.0
# github.com/posener/complete : MIT
Provides: bundled(golang(github.com/posener/complete)) = 1.2.3
# github.com/power-devops/perfstat : MIT
Provides: bundled(golang(github.com/power-devops/perfstat)) = 62379fc
Provides: bundled(golang(github.com/power-devops/perfstat)) = 82ca368
# github.com/prometheus/client_golang : Apache-2.0
Provides: bundled(golang(github.com/prometheus/client_golang)) = 1.15.1
Provides: bundled(golang(github.com/prometheus/client_golang)) = 1.19.0
# github.com/prometheus/client_model : Apache-2.0
Provides: bundled(golang(github.com/prometheus/client_model)) = 0.4.0
Provides: bundled(golang(github.com/prometheus/client_model)) = 0.6.1
# github.com/prometheus/common : Apache-2.0
Provides: bundled(golang(github.com/prometheus/common)) = 0.44.0
Provides: bundled(golang(github.com/prometheus/common)) = 0.52.2
# github.com/prometheus/procfs : Apache-2.0
Provides: bundled(golang(github.com/prometheus/procfs)) = 0.10.1
# github.com/quic-go/qtls-go1-19 : BSD-3-Clause
Provides: bundled(golang(github.com/quic-go/qtls-go1-19)) = 0.3.2
# github.com/quic-go/qtls-go1-20 : BSD-3-Clause
Provides: bundled(golang(github.com/quic-go/qtls-go1-20)) = 0.2.2
Provides: bundled(golang(github.com/prometheus/procfs)) = 0.13.0
# github.com/quic-go/quic-go : MIT
Provides: bundled(golang(github.com/quic-go/quic-go)) = 0.34.0
Provides: bundled(golang(github.com/quic-go/quic-go)) = 0.42.0
# github.com/rcrowley/go-metrics : BSD-2-Clause-Views
Provides: bundled(golang(github.com/rcrowley/go-metrics)) = cf1acfc
# github.com/riywo/loginshell : MIT
Provides: bundled(golang(github.com/riywo/loginshell)) = 7d26008
# github.com/russross/blackfriday : BSD-2-Clause
Provides: bundled(golang(github.com/russross/blackfriday/v2)) = 2.1.0
# github.com/sasha-s/go-deadlock : Apache-2.0
Provides: bundled(golang(github.com/sasha-s/go-deadlock)) = 0.3.1
# github.com/shirou/gopsutil : BSD-3-Clause
Provides: bundled(golang(github.com/shirou/gopsutil/v3)) = 3.23.5
Provides: bundled(golang(github.com/shirou/gopsutil/v3)) = 3.24.3
# github.com/stretchr/objx : MIT
Provides: bundled(golang(github.com/stretchr/objx)) = 0.5.2
# github.com/stretchr/testify : MIT
Provides: bundled(golang(github.com/stretchr/testify)) = 1.9.0
# github.com/syncthing/notify : MIT
Provides: bundled(golang(github.com/syncthing/notify)) = c6b7342
# github.com/syndtr/goleveldb : BSD-2-Clause
Provides: bundled(golang(github.com/syndtr/goleveldb)) = 126854a
# github.com/thejerf/suture : MIT
Provides: bundled(golang(github.com/thejerf/suture/v4)) = 4.0.2
Provides: bundled(golang(github.com/thejerf/suture/v4)) = 4.0.5
# github.com/urfave/cli : MIT
Provides: bundled(golang(github.com/urfave/cli)) = 1.22.14
# github.com/vitrun/qart : Apache-2.0 AND BSD-3-Clause
Provides: bundled(golang(github.com/vitrun/qart)) = bf64b92
# github.com/willabides/kongplete : MIT
Provides: bundled(golang(github.com/willabides/kongplete)) = 0.4.0
# github.com/yusufpapurcu/wmi : MIT
Provides: bundled(golang(github.com/yusufpapurcu/wmi)) = 1.2.3
Provides: bundled(golang(github.com/yusufpapurcu/wmi)) = 1.2.4
# go.uber.org/automaxprocs : MIT
Provides: bundled(golang(go.uber.org/automaxprocs)) = 1.5.3
# go.uber.org/mock : Apache-2.0
Provides: bundled(golang(go.uber.org/mock)) = 0.4.0
# golang.org/x/crypto : BSD-3-Clause
Provides: bundled(golang(golang.org/x/crypto)) = 0.10.0
Provides: bundled(golang(golang.org/x/crypto)) = 0.22.0
# golang.org/x/exp : BSD-3-Clause
Provides: bundled(golang(golang.org/x/exp)) = 2e198f4
Provides: bundled(golang(golang.org/x/exp)) = c0f41cb
# golang.org/x/mod : BSD-3-Clause
Provides: bundled(golang(golang.org/x/mod)) = 0.10.0
Provides: bundled(golang(golang.org/x/mod)) = 0.17.0
# golang.org/x/net : BSD-3-Clause
Provides: bundled(golang(golang.org/x/net)) = 0.11.0
Provides: bundled(golang(golang.org/x/net)) = 0.24.0
# golang.org/x/sync : BSD-3-Clause
Provides: bundled(golang(golang.org/x/sync)) = 0.7.0
# golang.org/x/sys : BSD-3-Clause
Provides: bundled(golang(golang.org/x/sys)) = 0.9.0
Provides: bundled(golang(golang.org/x/sys)) = 0.19.0
# golang.org/x/text : BSD-3-Clause
Provides: bundled(golang(golang.org/x/text)) = 0.10.0
Provides: bundled(golang(golang.org/x/text)) = 0.14.0
# golang.org/x/time : BSD-3-Clause
Provides: bundled(golang(golang.org/x/time)) = 0.3.0
Provides: bundled(golang(golang.org/x/time)) = 0.5.0
# golang.org/x/tools : BSD-3-Clause
Provides: bundled(golang(golang.org/x/tools)) = 0.9.3
Provides: bundled(golang(golang.org/x/tools)) = 0.20.0
# google.golang.org/protobuf : BSD-3-Clause
Provides: bundled(golang(google.golang.org/protobuf)) = 1.30.0
Provides: bundled(golang(google.golang.org/protobuf)) = 1.33.0
# gopkg.in/yaml.v3 : MIT AND Apache-2.0
Provides: bundled(golang(gopkg.in/yaml.v3)) = 3.0.1
%description
Syncthing replaces other file synchronization services with something
@ -341,11 +369,13 @@ export GO111MODULE=off
%gotest %{goipath}/cmd/stdiscosrv
%gotest %{goipath}/cmd/strelaypoolsrv
%gotest %{goipath}/cmd/syncthing
%gotest %{goipath}/lib/api
%gotest %{goipath}/lib/beacon
%gotest %{goipath}/lib/config
%gotest %{goipath}/lib/connections
# This test times out on s390x
%gotest %{goipath}/lib/connections || :
%gotest %{goipath}/lib/db
%gotest %{goipath}/lib/dialer
%gotest %{goipath}/lib/discover
@ -370,14 +400,17 @@ export GO111MODULE=off
%gotest %{goipath}/lib/relay/client
%gotest %{goipath}/lib/relay/protocol
%gotest %{goipath}/lib/scanner
%gotest %{goipath}/lib/semaphore
%gotest %{goipath}/lib/signature
%gotest %{goipath}/lib/stats
%gotest %{goipath}/lib/stringutil
%gotest %{goipath}/lib/structutil
%gotest %{goipath}/lib/svcutil
%gotest %{goipath}/lib/sync
%gotest %{goipath}/lib/syncthing
%gotest %{goipath}/lib/tlsutil
%gotest %{goipath}/lib/upgrade
%gotest %{goipath}/lib/upnp
%gotest %{goipath}/lib/util
# This test sometimes fails dependent on load on some architectures:
# https://github.com/syncthing/syncthing/issues/4351