Commit Graph

41 Commits

Author SHA1 Message Date
George Sapkin
00a59e728b 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>
(cherry picked from commit 9f78bed3f8)
2025-05-11 21:57:33 +03:00
George Sapkin
0081573a07 syncthing: add discovery and relay descriptions
Signed-off-by: George Sapkin <george@sapk.in>
(cherry picked from commit a7f229fce5)
2025-05-11 21:57:33 +03:00
George Sapkin
9ce0af5e31 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>
(cherry picked from commit e076de270a)
2025-04-24 19:36:38 +08:00
George Sapkin
773671e2fb 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>
(cherry picked from commit e23dceaf4d)
2025-04-24 19:36:38 +08:00
George Sapkin
9c5d1502fa 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>
(cherry picked from commit d7525fca43)
2025-04-24 19:36:38 +08:00
Yun Wang
bb823a5514 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>
(cherry picked from commit 85fa8cfe0b)
Signed-off-by: George Sapkin <george@sapk.in>
2025-04-24 19:36:38 +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
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
Paul Spooren
3a651638ce syncthing: bump to 1.4.0
Release information:
https://github.com/syncthing/syncthing/releases/tag/v1.4.0

Signed-off-by: Paul Spooren <mail@aparcar.org>
2020-03-23 17:18:01 -10:00
Paul Spooren
b85e387cc2 syncthing: fixup version detection
Since upstream commit dc92994 the LDFLAGS used for settings the version
(and build host and user) changed resulting in "unknown" versions in
syncthing.

Correct version detection is important for syncthing to assure
compatibility with other running instances. The "unknown" version fails
to communicate and sync with correctly compiled instances.

This patch updates the syncthing Makefile to inject the correct
variables and thereby fixes the version detection in syncthing.

Signed-off-by: Paul Spooren <mail@aparcar.org>
2020-03-23 16:37:36 -10:00
Marc Benoit
6f6877460a syncthing: enable via config, lower priority, cleanup
Added the ability to enable/disable via a config file;
the default is enabled for backwards compatibility.

This is an additional service, so running it the
same priority as dnsmasq, etc does not make sense.

Added USE_PROCD=1

"done" starts at "START=95", so this should start earlier

Added STOP=10 to stop syncthing early

Compile-tested on: ipq806x, ipq40xx
Runtime-tested on: ipq806x, ipq40xx

Signed-off-by: Marc Benoit <marcb62185@gmail.com>
2020-03-01 18:53:27 -05:00
Paul Spooren
7c1d6571ca syncthing: bump to 1.3.4
Signed-off-by: Paul Spooren <mail@aparcar.org>
2020-02-07 10:51:36 -10:00
Paul Spooren
373d3b2420 syncthing: add package
Signed-off-by: Paul Spooren <mail@aparcar.org>
2019-08-21 15:21:36 -10:00