git: 22506da25a26 - main - net/syncthing: Update to 2.0.1

From: Dan Langille <dvl_at_FreeBSD.org>
Date: Fri, 15 Aug 2025 11:25:17 UTC
The branch main has been updated by dvl:

URL: https://cgit.FreeBSD.org/ports/commit/?id=22506da25a26b9e2a9da8736ce6ce77563dedd7e

commit 22506da25a26b9e2a9da8736ce6ce77563dedd7e
Author:     Dan Langille <dvl@FreeBSD.org>
AuthorDate: 2025-08-15 11:14:17 +0000
Commit:     Dan Langille <dvl@FreeBSD.org>
CommitDate: 2025-08-15 11:25:04 +0000

    net/syncthing: Update to 2.0.1
    
    Single-dash long options are no longer supported. -home must be given
    as --home. Please review any syncthing_args in rc.conf settings.
    
    * https://github.com/syncthing/syncthing/releases/tag/v2.0.1
    * https://github.com/syncthing/syncthing/releases/tag/v2.0.0
---
 UPDATING                         | 10 ++++++++++
 net/syncthing/Makefile           |  3 +--
 net/syncthing/distinfo           |  6 +++---
 net/syncthing/files/syncthing.in |  2 +-
 4 files changed, 15 insertions(+), 6 deletions(-)

diff --git a/UPDATING b/UPDATING
index 6820e6f14eb7..0b5f2a67296d 100644
--- a/UPDATING
+++ b/UPDATING
@@ -5,6 +5,16 @@ they are unavoidable.
 You should get into the habit of checking this file for changes each time
 you update your ports collection, before attempting any port upgrades.
 
+20250815:
+  AFFECTS: users of net/syncthing
+  AUTHOR: dvl@FreeBSD.org
+
+  Old single-dash long options are no longer supported, e.g. -home must be
+  given as --home. Database backend switched from LevelDB to SQLite. No
+  changes to run-time dependencies. There is a migration on first launch
+  which can be lengthy for larger setups.
+
+  More at https://github.com/syncthing/syncthing/releases/tag/v2.0.0
 
 20250813:
   AFFECTS: users of security/py-fail2ban
diff --git a/net/syncthing/Makefile b/net/syncthing/Makefile
index 53b9f1281835..fa2f3fef10bb 100644
--- a/net/syncthing/Makefile
+++ b/net/syncthing/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	syncthing
 DISTVERSIONPREFIX=	v
-DISTVERSION=	1.30.0
-PORTREVISION=	3
+DISTVERSION=	2.0.1
 CATEGORIES=	net
 MASTER_SITES=	https://github.com/${PORTNAME}/${PORTNAME}/releases/download/v${DISTVERSION}/
 DISTNAME=	${PORTNAME}-source-${DISTVERSIONFULL}
diff --git a/net/syncthing/distinfo b/net/syncthing/distinfo
index b4dcc70d7506..992ac6abdfb8 100644
--- a/net/syncthing/distinfo
+++ b/net/syncthing/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1751369794
-SHA256 (syncthing-source-v1.30.0.tar.gz) = ef1be71c66753c04212ab1c9c548e678d468bad98dc5461e83540a4ef5c2fcba
-SIZE (syncthing-source-v1.30.0.tar.gz) = 16142834
+TIMESTAMP = 1755169692
+SHA256 (syncthing-source-v2.0.1.tar.gz) = 18ae0ecf6d5e8f6eec5dd1af8e3cc7819d575b434433043a50ed902564d974a6
+SIZE (syncthing-source-v2.0.1.tar.gz) = 62647700
diff --git a/net/syncthing/files/syncthing.in b/net/syncthing/files/syncthing.in
index 8b96017031aa..3eba70d6a976 100644
--- a/net/syncthing/files/syncthing.in
+++ b/net/syncthing/files/syncthing.in
@@ -35,7 +35,7 @@ load_rc_config $name
 pidfile=/var/run/syncthing.pid
 procname="%%PREFIX%%/bin/syncthing"
 command="/usr/sbin/daemon"
-command_args="-cf -p ${pidfile} ${procname} ${syncthing_home:+-home=${syncthing_home}} ${syncthing_log_file:+-logfile=${syncthing_log_file}} -no-browser ${syncthing_args}"
+command_args="-cf -p ${pidfile} ${procname} ${syncthing_home:+--home=${syncthing_home}} ${syncthing_log_file:+--logfile=${syncthing_log_file}} --no-browser ${syncthing_args}"
 
 start_precmd=syncthing_startprecmd