Ok kn

I can test later today.



------ Исходное сообщение ------
От: Stuart Henderson <[email protected]>
Отправлено: 11 марта 2026 г. 16:40:51 GMT+03:00
Кому: Theo Buehler <[email protected]>
Копия: Martin Ziemer <[email protected]>, [email protected], [email protected], 
[email protected]
Тема: Re: net/syncthing broken (since go update?)

On 2026/03/11 14:37, Theo Buehler wrote:
> On Wed, Mar 11, 2026 at 01:33:11PM +0100, Martin Ziemer wrote:
> > Since start of the week net/syncthing keeps crashing on me. (I update my
> > systems only once a week)
> > 
> > The message is "panic: crypto/tls bug: where's my session ticket?"
> > 
> > Internet search showed me, the guys at NetBSD had the same Problem
> > since go 1.26:
> > https://mail-index.netbsd.org/tech-pkg/2026/03/02/msg032026.html
> > 
> > Don't know, how the right solution for us should look, ...
> > 
> 
> This is a problem in quic-go, fixed in:
> 
> https://github.com/quic-go/quic-go/releases/tag/v0.57.1
> 
> Updating the syncthing port to 2.0.15 should fix this since it uses a
> newer version of quic-go. No diff since I don't know the magic involved
> to accomplish this since this port is full of custom hacks.
> 

ah, this ought to be enough for the update then:

Index: Makefile
===================================================================
RCS file: /cvs/ports/net/syncthing/Makefile,v
diff -u -p -r1.78 Makefile
--- Makefile    13 Feb 2026 15:54:48 -0000      1.78
+++ Makefile    11 Mar 2026 13:39:43 -0000
@@ -1,6 +1,6 @@
 COMMENT =      open decentralized synchronization utility
 
-V =            2.0.14
+V =            2.0.15
 DISTNAME =     syncthing-${V}
 DISTFILES =    syncthing-source-v${V}${EXTRACT_SUFX}
 
Index: distinfo
===================================================================
RCS file: /cvs/ports/net/syncthing/distinfo,v
diff -u -p -r1.53 distinfo
--- distinfo    13 Feb 2026 15:54:48 -0000      1.53
+++ distinfo    11 Mar 2026 13:39:43 -0000
@@ -1,2 +1,2 @@
-SHA256 (syncthing-source-v2.0.14.tar.gz) = 
/sNs4gu81ubRy3DPsK96RcYiFYE2HZu5KAc4myRwOgI=
-SIZE (syncthing-source-v2.0.14.tar.gz) = 62621377
+SHA256 (syncthing-source-v2.0.15.tar.gz) = 
gQQJHtML3Oe7RiuZutW/aVcE3qOUWQAfOgiMTO4OE2g=
+SIZE (syncthing-source-v2.0.15.tar.gz) = 62690897
Index: patches/patch-cmd_syncthing_main_go
===================================================================
RCS file: /cvs/ports/net/syncthing/patches/patch-cmd_syncthing_main_go,v
diff -u -p -r1.5 patch-cmd_syncthing_main_go
--- patches/patch-cmd_syncthing_main_go 2 Jan 2026 09:05:39 -0000       1.5
+++ patches/patch-cmd_syncthing_main_go 11 Mar 2026 13:39:43 -0000
@@ -14,7 +14,7 @@ Index: cmd/syncthing/main.go
        "github.com/alecthomas/kong"
        "github.com/gofrs/flock"
        "github.com/thejerf/suture/v4"
-@@ -213,6 +215,24 @@ func defaultVars() kong.Vars {
+@@ -212,6 +214,24 @@ func defaultVars() kong.Vars {
  func main() {
        // Create a parser with an overridden help function to print our extra
        // help info.
Index: patches/patch-lib_syncthing_syncthing_go
===================================================================
RCS file: /cvs/ports/net/syncthing/patches/patch-lib_syncthing_syncthing_go,v
diff -u -p -r1.2 patch-lib_syncthing_syncthing_go
--- patches/patch-lib_syncthing_syncthing_go    13 Feb 2026 15:54:48 -0000      
1.2
+++ patches/patch-lib_syncthing_syncthing_go    11 Mar 2026 13:39:43 -0000
@@ -7,7 +7,7 @@ while still allowing the user to change 
 Index: lib/syncthing/syncthing.go
 --- lib/syncthing/syncthing.go.orig
 +++ lib/syncthing/syncthing.go
-@@ -286,6 +286,11 @@ func (a *App) startup() error {
+@@ -292,6 +292,11 @@ func (a *App) startup() error {
                                // Unique ID will be set and config saved below 
if necessary.
                        }
                }

Reply via email to