63 Commits

Author SHA1 Message Date
George Sapkin
59eabef81a syncthing: bump to 2.0.16
Changes: https://github.com/syncthing/syncthing/releases/tag/v2.0.16
Signed-off-by: George Sapkin <george@sapk.in>
2026-04-12 19:15:32 +03:00
George Sapkin
af5999ce2a syncthing: validate syncthing config
Validate UCI config for syncthing service.

Switch instance name to syncthing.

Signed-off-by: George Sapkin <george@sapk.in>
2026-03-21 15:49:07 +02:00
George Sapkin
30199decfd syncthing: validate strelaysrv config
Validate UCI config for strelaysrv service.

Switch instance name to strelaysrv.

Signed-off-by: George Sapkin <george@sapk.in>
2026-03-21 15:49:07 +02:00
George Sapkin
d26083edf8 syncthing: validate stdiscosrv config
Validate UCI config for stdiscosrv service.

Change default DB directory to /etc/stdiscosrv/db.

Switch instance name to stdiscosrv.

Signed-off-by: George Sapkin <george@sapk.in>
2026-03-21 15:49:07 +02:00
George Sapkin
6accad3bb3 syncthing: add GC and thread control variables
Add Go GC and threading control variables - GOGC, GOMEMLIMIT, and
GOMAXPROCS - to all services to allow more granular control of the
memory management on lower memory devices.

Link: https://go.dev/doc/gc-guide#GOGC
Link: https://pkg.go.dev/runtime#pkg-overview
Link: https://go.dev/blog/container-aware-gomaxprocs
Signed-off-by: George Sapkin <george@sapk.in>
2026-03-21 15:49:07 +02:00
George Sapkin
c5dd05c5bd syncthing: bump to 2.0.15
Changes: https://github.com/syncthing/syncthing/releases/tag/v2.0.15
Signed-off-by: George Sapkin <george@sapk.in>
2026-03-05 16:22:39 +02:00
George Sapkin
ec04b18514 syncthing: bump to 2.0.14
Changelog: https://github.com/syncthing/syncthing/releases/tag/v2.0.14
Signed-off-by: George Sapkin <george@sapk.in>
2026-02-05 22:04:56 +02:00
George Sapkin
de42441457 syncthing: bump 2.0.13
Changelog: https://github.com/syncthing/syncthing/releases/tag/v2.0.13
Signed-off-by: George Sapkin <george@sapk.in>
2026-01-15 20:21:42 +02:00
George Sapkin
ccdef839f5 syncthing: bump to 2.0.12
Changelog: https://github.com/syncthing/syncthing/releases/tag/v2.0.12
Signed-off-by: George Sapkin <george@sapk.in>
2025-12-03 08:30:01 +01:00
George Sapkin
bc9840b419 syncthing: bump to 2.0.11
Changelog: https://github.com/syncthing/syncthing/releases/tag/v2.0.11
Signed-off-by: George Sapkin <george@sapk.in>
2025-11-04 18:06:04 +02:00
George Sapkin
d047b4c050 syncthing: fix maxprocs config option name
Map old config option "macprocs" to new one.

Signed-off-by: George Sapkin <george@sapk.in>
2025-11-01 08:29:11 +02:00
George Sapkin
e04e9eda6f syncthing: improve argument handling readability
Remove reduntant checks when making directories.

Signed-off-by: George Sapkin <george@sapk.in>
2025-11-01 08:29:11 +02:00
George Sapkin
97e8ac4f66 syncthing: bump to 2.0.10
Changelog: https://github.com/syncthing/syncthing/releases/tag/v2.0.10
Signed-off-by: George Sapkin <george@sapk.in>
2025-10-02 00:50:17 -03:00
George Sapkin
507c5c91b6 syncthing: bump to 2.0.9
Major version change that switches DB backend from
LevelDB to SQLite. Requires golang 1.24+.

- improve syncthing argument parsing to be more
  robust
- remove unused and add updated config options

Changelog: https://github.com/syncthing/syncthing/releases/tag/v2.0.0
Changelog: https://github.com/syncthing/syncthing/releases/tag/v2.0.1
Changelog: https://github.com/syncthing/syncthing/releases/tag/v2.0.2
Changelog: https://github.com/syncthing/syncthing/releases/tag/v2.0.3
Changelog: https://github.com/syncthing/syncthing/releases/tag/v2.0.4
Changelog: https://github.com/syncthing/syncthing/releases/tag/v2.0.5
Changelog: https://github.com/syncthing/syncthing/releases/tag/v2.0.6
Changelog: https://github.com/syncthing/syncthing/releases/tag/v2.0.7
Changelog: https://github.com/syncthing/syncthing/releases/tag/v2.0.8
Changelog: https://github.com/syncthing/syncthing/releases/tag/v2.0.9
Signed-off-by: George Sapkin <george@sapk.in>

wip

Signed-off-by: George Sapkin <george@sapk.in>
2025-09-21 14:20:53 +03:00
George Sapkin
d75075ce8e syncthing: improve relay argument parsing
Fixes: 47644ba46 ("syncthing: fix discovery and relay extra args")
Signed-off-by: George Sapkin <george@sapk.in>
2025-08-24 19:43:57 +03:00
George Sapkin
6ccb3b6174 syncthing: improve discovery argument parsing
Fixes: 47644ba46 ("syncthing: fix discovery and relay extra args")
Signed-off-by: George Sapkin <george@sapk.in>
2025-08-24 19:43:57 +03:00
George Sapkin
47644ba468 syncthing: fix discovery and relay extra args
Update configuration option examples.

Fixes: #26952
Signed-off-by: George Sapkin <george@sapk.in>
2025-08-06 21:54:28 +08:00
George Sapkin
b8d95d83ab syncthing: bump to 1.30.0
Changelog: https://github.com/syncthing/syncthing/releases/tag/v1.30.0
Signed-off-by: George Sapkin <george@sapk.in>
2025-07-06 16:20:40 +08:00
George Sapkin
793a3e1969 syncthing: add George Sapkin as a maintainer
Remove Paul Spooren and add myself according to the discussion in the
PR.

Link: https://github.com/openwrt/packages/pull/26856
Signed-off-by: George Sapkin <george@sapk.in>
2025-07-06 16:20:40 +08:00
George Sapkin
cd142a1ba8 syncthing: fix relay and discovery args and permissions
Fixes: #26829
Signed-off-by: George Sapkin <george@sapk.in>
2025-07-02 08:03:42 +02:00
George Sapkin
1f6308810a syncthing: bump to 1.29.7
Changelog: https://github.com/syncthing/syncthing/compare/v1.29.6...v1.29.7
Signed-off-by: George Sapkin <george@sapk.in>
2025-06-08 22:52:38 +03:00
George Sapkin
a7f229fce5 syncthing: add discovery and relay descriptions
Signed-off-by: George Sapkin <george@sapk.in>
2025-05-09 21:50:46 +03:00
George Sapkin
9f78bed3f8 syncthing: bump to 1.29.6
- chore(lib): expose model methods to obtain progress
- feat(gui): explanation to options enabled or disabled per folder type
- fix(gui): validate device ID in canonical form
- fix(config): remove discontinued primary STUN server
- fix(stun): better error handling
- chore(config): remove discontinued secondary STUN servers
- chore(fs): speed up case normalization
- build(deps): update dependencies
- feat(fs, config): add support for custom filesystem type construction
- build: replace underscore in Debian version
- chore(model): add metric for total number of conflicts
- fix(config): properly apply defaults when reading folder configuration
- fix(config): zero filesystemtype is "basic"
- build: push artifacts to Azure
- chore(config): resolve primary STUN servers via SRV record
- chore(fs): changes to allow Filesystem to be implemented externally
- fix(strings): differentiate setup(n) and set(v) up
- fix(gui): mark unseen disconnected devices as inactive
- fix(syncthing): use separate lock file instead of locking the
  certificate
- feat(api, gui): allow authentication bypass for metrics
- chore: add missing copyright in new files from infra branch
- fix(osutil): give threads same I/O priority on Linux
- chore(syncthing): remove support for TLS 1.2 sync connections
- chore(gui): update dependency copyrights, add script for periodic
  maintenance
- chore(api): log X-Forwarded-For
- feat(config): add option for audit file
- chore(gui): use go list --deps for dependency list
- fix(strelaysrv): make the session limiter session-dependent

Changelog: https://github.com/syncthing/syncthing/compare/v1.29.5...v1.29.6
Signed-off-by: George Sapkin <george@sapk.in>
2025-05-09 21:50:46 +03:00
George Sapkin
e076de270a syncthing: bump to 1.29.5
Bugfixes:

- use separate lock file instead of locking the certificate

Changelog: https://github.com/syncthing/syncthing/releases/tag/v1.29.5
Signed-off-by: George Sapkin <george@sapk.in>
2025-04-16 18:53:35 +02:00
George Sapkin
e23dceaf4d syncthing: bump to 1.29.4
Bugfixes:

- Tildes break directory autocomplete

Changelog: https://github.com/syncthing/syncthing/releases/tag/v1.29.4
Signed-off-by: George Sapkin <george@sapk.in>
2025-04-16 18:53:35 +02:00
George Sapkin
d7525fca43 syncthing: bump to 1.29.3
Bugfixes:

- Unintelligible error message "setting metadata: lookup failed"

Changelog: https://github.com/syncthing/syncthing/releases/tag/v1.29.3
Signed-off-by: George Sapkin <george@sapk.in>
2025-04-16 18:53:35 +02:00
Yun Wang
85fa8cfe0b syncthing: Update to 1.29.2 and Change logfile path
Update to 1.29.2 and Change logfile path from /etc/syncthing/syncthing
log to /var/log/syncthing.log.
This utilizes tmpfs (memory-based storage) to prevent disk usage growth
caused by log file accumulation during extended operation.

Benefits:
- Avoids storage saturation from excessive log growth.
- Aligns with best practices for temporary log management.
- For systems using flash storage (e.g., SSDs or eMMC), storing logs in
  tmpfs avoids flash memory wear caused by frequent writes to
  /etc/syncthing.

Signed-off-by: Yun Wang <maoerpet@foxmail.com>
2025-01-21 14:34:59 +08:00
Xiang W
ed41a9d850 syncthing: fix wrong group name in syncthing.init
The group does not always have the same name as user, and when I try
to run syncthing with nobody I get an error. Since nobody belongs to
the group nogroup, I added some code to find out which group user
belongs to.

Signed-off-by: Xiang W <wxjstz@126.com>
2024-01-02 15:25:19 -08:00
Van Waholtz
b8ff725cd5 syncthing: update to 1.27.0
Add myself to maintainers

Signed-off-by: Van Waholtz <brvphoenix@gmail.com>
2023-12-18 19:00:07 +02:00
Eric Fahlgren
6849a9df90 syncthing: fix duplicate command line parameters on service
- This patch fixes 9d17ba1 and #22760

Signed-off-by: Eric Fahlgren <ericfahlgren@gmail.com>
2023-12-04 08:25:20 -08:00
Van Waholtz
86522d77f1 syncthing: update to 1.24.0
This package can be built with Go 1.21 and QUIC can be enabled.

Signed-off-by: Van Waholtz <brvphoenix@gmail.com>
2023-09-07 13:30:23 +02:00
Van Waholtz
23113ceb97 syncthing: disable quic to support GO 1.21
Signed-off-by: Van Waholtz <brvphoenix@gmail.com>
2023-08-18 09:19:42 +02:00
Van Waholtz
0449b0f394 syncthing: update to 1.23.7
Signed-off-by: Van Waholtz <brvphoenix@gmail.com>
2023-08-18 09:19:42 +02:00
Andre Heider
565866a472 treewide: refactor to use PKG_BUILD_FLAGS:=no-mips16
See commit 5c545bdb "treewide: replace PKG_USE_MIPS16:=0 with
PKG_BUILD_FLAGS:=no-mips16" on the main repository.

Signed-off-by: Andre Heider <a.heider@gmail.com>
2023-04-08 08:38:54 +02:00
Tianling Shen
a65c7f06e7 syncthing: Update to 1.23.2
Fixed build with go 1.20

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-03-26 00:01:12 +08:00
Van Waholtz
feaca51cdd syncthing: update to 1.23.0
Signed-off-by: Van Waholtz <brvphoenix@gmail.com>
2023-01-05 19:16:35 +01:00
Van Waholtz
d22bed1dc3 syncthing: update to 1.22.2
Signed-off-by: Van Waholtz <brvphoenix@gmail.com>
2022-12-12 16:32:54 +01:00
Van Waholtz
4d5c427922 syncthing: update to 1.22.1
Signed-off-by: Van Waholtz <brvphoenix@gmail.com>
2022-11-04 13:13:43 -07:00
Van Waholtz
9d17ba1a93 syncthing: add stdiscosrv and strelaysrv
Signed-off-by: Van Waholtz <brvphoenix@gmail.com>
2022-11-04 13:13:43 -07:00
Michal Vasilek
b48482fdf8 syncthing: update to 1.20.1
Signed-off-by: Michal Vasilek <michal.vasilek@nic.cz>
2022-05-06 13:34:04 +02:00
Jeffery To
4b7ff2df5e syncthing: Update to 1.19.2
Includes patch based on upstream change[1] to fix compilation with Go
1.18.

Fixes https://github.com/openwrt/packages/issues/18267.

[1]: e30898ddb3

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2022-04-10 13:40:01 +02:00
Michal Vasilek
9a172a52fb syncthing: update to 1.18.2
Signed-off-by: Michal Vasilek <michal.vasilek@nic.cz>
2021-09-17 10:50:46 -10:00
Michal Vasilek
0e4e08ff24 syncthing: update to version 1.18.1
Signed-off-by: Michal Vasilek <michal.vasilek@nic.cz>
2021-08-11 05:33:51 -10:00
Paul Spooren
2383a413ec syncthing: update to v1.18.0
See upstream release notes for changes:
https://github.com/syncthing/syncthing/releases/tag/v1.18.0

Signed-off-by: Paul Spooren <mail@aparcar.org>
2021-07-06 16:59:02 -10:00
Paul Spooren
2bb5cb0a4c syncthing: update to v1.17.0
Lenghy changelog available on GitHub[1].

[1]: https://github.com/syncthing/syncthing/releases

Signed-off-by: Paul Spooren <mail@aparcar.org>
2021-06-06 17:23:16 -10:00
Paul Spooren
2ce9215213 syncthing: update to 1.14.0
https://github.com/syncthing/syncthing/releases/tag/v1.14.0

Signed-off-by: Paul Spooren <mail@aparcar.org>
2021-03-11 11:26:56 -10:00
Paul Spooren
dda59fedcc syncthing: update to 1.13.1
Also start using $(AUTORELEASE)

Signed-off-by: Paul Spooren <mail@aparcar.org>
2021-03-01 11:02:17 -10:00
Paul Spooren
f7589c4957 syncthing: bump to 1.12.1
Signed-off-by: Paul Spooren <mail@aparcar.org>
2021-01-13 13:37:08 -10:00
Paul Spooren
75458e78a8 syncthing: bump to 1.12.0
Signed-off-by: Paul Spooren <mail@aparcar.org>
2021-01-12 14:52:45 -10:00
Paul Spooren
ab30ab04c0 syncthing: simplify runtime test
Passed argument no longer contains the release.

Signed-off-by: Paul Spooren <mail@aparcar.org>
2020-09-17 22:19:49 -10:00