55 Commits

Author SHA1 Message Date
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
Paul Spooren
0cc2a8dde3 syncthing: add runtime test
Run trivial check if the compiled binary works on the architecture.

Signed-off-by: Paul Spooren <mail@aparcar.org>
2020-09-16 10:40:16 -10:00
Paul Spooren
84763c8480 syncthing: bump to 1.9.0
This release adds the advanced folder option caseSensitiveFS
(https://docs.syncthing.net/advanced/folder-caseSensitiveFS.html) to
disable the new safe handling of case insensitive filesystems.

Bugfixes:

    #1787: Case-only renames break stuff
    #5708: Properly handle upper-/lowercase-only file name collisions
    #6613: TestWatchRename test fails on FreeBSD.
    #6793: Error status should take precedence over Local Additions
    #6850: Global state incorrect when ignoring local change
    #6864: Folder incorrectly marked “Up to Date” after switching from “Receive Only” to “Send & Receive”
    #6867: Certificate error when built with Go 1.15
    #6886: chmod permission after editing .stignore via WebUI not preserved
    #6889: test failures with Go 1.15
    #6892: Syncthing 1.8.0 trying to connect via wrong network route
    #6898: tests in TestCopyRange fail on ppc64le with "inappropriate ioctl for device"
    #6908: NAT service fails to terminate during Shutdown
    #6910: Local Additions when deleting file after changing folder type from SR to RO
    #6922: Auto accepted folders not saved
    #6938: Modifying config during first scan corrupts folder state

Enhancements:

    #2739: Syncthing should be case insensitive by default
    #5579: Avoid anti-aliasing artifacts for svg device icons
    #6873: Don't fail dirs in receive-only folders that were removed elsewhere but exist locally

Signed-off-by: Paul Spooren <mail@aparcar.org>
2020-09-09 10:58:25 -10:00
Paul Spooren
0dfa53bfba syncthing: add specific USERID
Instead of randomly adding a UID this follows the Gentoo numbering and
uses 499.

Signed-off-by: Paul Spooren <mail@aparcar.org>
2020-09-09 10:58:25 -10:00
Jeffery To
34a3e58a12 golang: Add GO_PKG_TAGS for Go packages
This adds a new Makefile variable, GO_PKG_TAGS, for Go packages. When
set, the value is passed as the parameter of the -tags option for 'go
install'.

This also updates syncthing to use this variable.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-07-15 21:09:17 -10:00
Alberto Bursi
28bcd19557 syncthing: increase inotify limit
default inotify limits at 8k are
low for serious usage
and the GUI shows errors like
"Failed to start filesystem watcher
for folder XXXX"
increase them with this config file
as instructed by syncthing's FAQ.
https://docs.syncthing.net/users/
faq.html#inotify-limits

Signed-off-by: Alberto Bursi <bobafetthotmail@gmail.com>
[bumped PKG_RELEASE]
Signed-off-by: Paul Spooren <mail@aparcar.org>
2020-07-04 20:13:49 -10:00
Paul Spooren
172221104c syncthing: bump to 1.6.1
Signed-off-by: Paul Spooren <mail@aparcar.org>
2020-06-29 15:05:21 -10:00
Paul Spooren
e2fe9bda3d syncthing: Fix GO_PKG_LDFLAGS_X position
Setting the GO_PKG_LDFLAGS_X after including golang-package does not
include them anymore after commit 25a7f00. By adding flags before they
are correctly loaded and included in `syncthing` binary.

Signed-off-by: Paul Spooren <mail@aparcar.org>
2020-06-27 10:30:29 -10:00
Marc Benoit
a9443eb0eb syncthing: configuration cleanup & hardening
Run the service under an unprivileged
user account

The following parameters are now configurable
  niceness
  max concurrency (defaults to number of CPUs)
  user

Added flags "-no-browser"
Disabled in-place upgrades (disabled in the
build already)

Redirected stderr/stdout to syslog

Added support for "reload_config"

Increased "term_timeout" to 15s to give it
plenty of time to shut down gracefully

Properly handled non-existing directories

Removed a softlink that assumes a specific naming
convention in syncthing

Added a comment that using external storage is a
recommend configration

Signed-off-by: Marc Benoit <marcb62185@gmail.com>
[increased package release]
Signed-off-by: Paul Spooren <mail@aparcar.org>
2020-03-24 10:36:51 -10:00