summaryrefslogtreecommitdiff
path: root/net/syncthing
diff options
context:
space:
mode:
Diffstat (limited to 'net/syncthing')
-rw-r--r--net/syncthing/Makefile7
-rw-r--r--net/syncthing/distinfo6
-rw-r--r--net/syncthing/files/syncthing.in2
3 files changed, 9 insertions, 6 deletions
diff --git a/net/syncthing/Makefile b/net/syncthing/Makefile
index 72f35c526703..31c0ec86c155 100644
--- a/net/syncthing/Makefile
+++ b/net/syncthing/Makefile
@@ -1,6 +1,7 @@
PORTNAME= syncthing
DISTVERSIONPREFIX= v
-DISTVERSION= 1.29.7
+DISTVERSION= 2.0.2
+PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}/releases/download/v${DISTVERSION}/
DISTNAME= ${PORTNAME}-source-${DISTVERSIONFULL}
@@ -12,7 +13,7 @@ WWW= https://syncthing.net/
LICENSE= MPL20
LICENSE_FILE= ${WRKSRC}/${PORTNAME}/LICENSE
-USES= cpe go:1.23,modules
+USES= cpe go:modules
USE_RC_SUBR= syncthing syncthing-discosrv syncthing-relaysrv \
syncthing-relaypoolsrv
@@ -29,6 +30,8 @@ NO_WRKSUBDIR= yes
USERS= syncthing
GROUPS= syncthing
+CONFLICTS= syncthing1
+
.for x in ${BINS}
PLIST_FILES+= bin/${x}
.endfor
diff --git a/net/syncthing/distinfo b/net/syncthing/distinfo
index 2e2a43e1545b..49cb27008b8a 100644
--- a/net/syncthing/distinfo
+++ b/net/syncthing/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1748891751
-SHA256 (syncthing-source-v1.29.7.tar.gz) = 7b29b2bb1fb85adf6f3baf120ff725a19b06ed13b95011fe67dd952349e0e212
-SIZE (syncthing-source-v1.29.7.tar.gz) = 16139632
+TIMESTAMP = 1755342797
+SHA256 (syncthing-source-v2.0.2.tar.gz) = 8738cf2a9563bfbf4c6c8923b4c048176c1e80baa88cd92778ef7fbed3f55a6a
+SIZE (syncthing-source-v2.0.2.tar.gz) = 62642068
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