summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorgdt <gdt@pkgsrc.org>2015-11-25 23:36:33 +0000
committergdt <gdt@pkgsrc.org>2015-11-25 23:36:33 +0000
commit9fae429c93368ff7d48398bfa6f52fac9034ab69 (patch)
tree376dae92e3787d948f2de4d806a730fd8485b27e /net
parent3225e95cdaf462a8ad3a1ec8bc5f3bbce4ed7388 (diff)
downloadpkgsrc-9fae429c93368ff7d48398bfa6f52fac9034ab69.tar.gz
Add missing patch
(This is logically part of the previous commit.)
Diffstat (limited to 'net')
-rw-r--r--net/syncthing/patches/patch-lib_config_optionsconfiguration.go13
1 files changed, 13 insertions, 0 deletions
diff --git a/net/syncthing/patches/patch-lib_config_optionsconfiguration.go b/net/syncthing/patches/patch-lib_config_optionsconfiguration.go
new file mode 100644
index 00000000000..da7012ab256
--- /dev/null
+++ b/net/syncthing/patches/patch-lib_config_optionsconfiguration.go
@@ -0,0 +1,13 @@
+$NetBSD: patch-lib_config_optionsconfiguration.go,v 1.1 2015/11/25 23:36:33 gdt Exp $
+
+--- lib/config/optionsconfiguration.go.orig 2015-11-22 15:05:20.000000000 +0000
++++ lib/config/optionsconfiguration.go
+@@ -31,7 +31,7 @@ type OptionsConfiguration struct {
+ URPostInsecurely bool `xml:"urPostInsecurely" json:"urPostInsecurely" default:"false"` // For testing
+ URInitialDelayS int `xml:"urInitialDelayS" json:"urInitialDelayS" default:"1800"`
+ RestartOnWakeup bool `xml:"restartOnWakeup" json:"restartOnWakeup" default:"true"`
+- AutoUpgradeIntervalH int `xml:"autoUpgradeIntervalH" json:"autoUpgradeIntervalH" default:"12"` // 0 for off
++ AutoUpgradeIntervalH int `xml:"autoUpgradeIntervalH" json:"autoUpgradeIntervalH" default:"0"` // 0 for off
+ KeepTemporariesH int `xml:"keepTemporariesH" json:"keepTemporariesH" default:"24"` // 0 for off
+ CacheIgnoredFiles bool `xml:"cacheIgnoredFiles" json:"cacheIgnoredFiles" default:"true"`
+ ProgressUpdateIntervalS int `xml:"progressUpdateIntervalS" json:"progressUpdateIntervalS" default:"5"`