SHA256
1
0
forked from pool/syncthing
Dominique Leuenberger 2017-01-27 10:10:29 +00:00 committed by Git OBS Bridge
commit 6c60122d16
7 changed files with 103 additions and 35 deletions

View File

@ -1,15 +0,0 @@
--- a/cmd/strelaysrv/main.go
+++ b/cmd/strelaysrv/main.go
@@ -129,10 +129,10 @@ func main() {
laddr.Port = 0
transport, ok := http.DefaultTransport.(*http.Transport)
if ok {
- transport.DialContext = (&net.Dialer{
+ transport.Dial = (&net.Dialer{
Timeout: 30 * time.Second,
LocalAddr: laddr,
- }).DialContext
+ }).Dial
}
}

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f1190173f2ba2f341920faf7aa1a05af775bac6cd4cff0f003c4b0831022c67d
size 7418996

View File

@ -1,11 +0,0 @@
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQEcBAABCAAGBQJYPWkJAAoJENJubtAAZUo+GCkH/2A19wgQagu/KS1TWsbmRbOU
9epnP6gjvBAABUxWHtrXoAsjhBrK7QPdAFHKEaUFumYoCHzfT1ZbNjc+Rwd5rv3O
Ind4yLYbTXj4wn2bwwLOasr9nhk27ZCFlvaic1a5ZqT2msisVh0RpNuI64doN+8X
Wol3svGOEKupL5ffISdbNn1ovGoUiCO89RJR2Ha1drIxrCe0nUlQ4JZkgub/YNEe
yCTKJlI326cIZiPNqTUNYn59iZ4PBz87dsFfdgJ0BD58wF5qPOL2owFH6gERR9me
mzKx792vemH/qn0p4KleQ4t0YLEhVxKVmAapc4qrq4/2XkhSfCU6ckSp3dY4ksI=
=8wbB
-----END PGP SIGNATURE-----

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:00bf4a221407f70b98033b7206854bf0e1c49575edfd1f548397efb42e8aef65
size 7721602

View File

@ -0,0 +1,11 @@
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQEcBAABCAAGBQJYdJR8AAoJENJubtAAZUo+TXoH/1dWTJ+3Nc6iTiHXrDDkI9hk
X4My3JJSQ8kjC3mDy7yyDGpWfFJwtwSrKEngclIh9p4GS19u0+DHXSTBDDOb4IGR
EXNrsTGj/HprJGjMdwYFYY/7RLrJgbz7x4uGgGkOZgvcRth4eTKsWjG9gt/JNa/+
gR5qsfVJ2BT55o8Ds+qAzYKIgNuqSyynLuPKtEfxape2NBfwPUhS1Timg9HYTtst
S0YTS8/c28WGeDJqJw2E+d04kAanIo8xDeu7Bc87HmlX5mk1H6C8HBwvS0jb3eab
J7w8XxnjZDR/dYNwUFqcjSt7ncNvXz2JPSyIBlB3zJEUFLPuRrgl55BSz9yRR2U=
=lU5c
-----END PGP SIGNATURE-----

View File

@ -1,3 +1,88 @@
-------------------------------------------------------------------
Mon Jan 16 17:25:40 UTC 2017 - sor.alexei@meowr.ru
- Update to version 0.14.19:
* Changing bandwidth rate limits now takes effect immediately
without restart (gh#syncthing/syncthing#3846)
* The event log (-audit) can now be directed to stderr for
piping into an another application
(gh#syncthing/syncthing#3859).
* A panic on directory listing at startup has been fixed
(gh#syncthing/syncthing#3584).
* When a directory is deleted, the .stfolder marker is also
removed. The ignore file and .stversions directory are
retained, if present (gh#syncthing/syncthing#3857).
* Several scenarios where a device would get stuck with
'not a directory' errors are now handled again
(gh#syncthing/syncthing#3819).
* Third party copyrights in the about box are now more up to
date (gh#syncthing/syncthing#3839).
* Hashing performance has been improved
(gh#syncthing/syncthing#3861)
-------------------------------------------------------------------
Fri Jan 6 11:12:27 UTC 2017 - sor.alexei@meowr.ru
- Update to version 0.14.18:
* Fix connections to older Syncthing versions being no longer
closed due to an unmarshalling message:
'proto: wrong wireType = 2 for field BlockIndexes'
(gh#syncthing/syncthing#3855).
-------------------------------------------------------------------
Tue Dec 27 15:05:20 UTC 2016 - sor.alexei@meowr.ru
- Update to version 0.14.17:
* Panics caused by corrupt on disc database are now better
explained in the panic message (gh#syncthing/syncthing#3689).
* Statically configured device addresses without port number now
correctly defaulted to port 22000 again
(gh#syncthing/syncthing#3817).
* Inotify clients no longer cause 'invalid subpath' errors to be
displayed (gh#syncthing/syncthing#3829).
* Directories can now be paused (gh#syncthing/syncthing#215).
* "Master" directories are now called "send only" in order to
standardise on a terminology of sending and receiving changes
(gh#syncthing/syncthing#2679).
* Pausing devices and directories now persists across restarts
(gh#syncthing/syncthing#3407).
* A rolling checksum is used to identify and reuse blocks that
have moved within a file (gh#syncthing/syncthing#3527).
* Syncthing allows setting the type-of-service field on outgoing
packets, configured by the advanced setting "trafficClass"
(gh#syncthing/syncthing#3790).
* Which device introduced another device is now visible in the
GUI (gh#syncthing/syncthing#3809).
- Remove syncthing-go-1.4-compat.patch: becoming impossible to fix.
-------------------------------------------------------------------
Fri Dec 23 10:36:02 UTC 2016 - sor.alexei@meowr.ru
- Update to version 0.14.16:
* Fix a regression introduced in v0.14.14: an 'invalid subpath'
error on syncthing-inotify full directory sync trigger
(gh#syncthing/syncthing#3829).
-------------------------------------------------------------------
Sat Dec 17 12:36:37 UTC 2016 - sor.alexei@meowr.ru
- Update to version 0.14.15 (changes since 0.14.13):
* Fix a security issue resulted in Syncthing accepting index
entries for files like '../../foo', thus resulting in a path
above the configured directory.
* Fix a security issue resulted in symlinks be used to trick
Syncthing and escape constraints of the configured directory by
creating a symlink 'foo -> ../../' and then requesting the
contents of 'foo/something' (boo#1016161).
Syncing symlinks between v0.14.14+ and previous versions will
not work.
* The build no longer requires Go 1.7
(gh#syncthing/syncthing#3753).
* The wording in the GUI around "last file received" is now
clearer (gh#syncthing/syncthing#3769).
- Remove syncthing-0.14.13-go-1.6-compat.patch: fixed upstream.
- Add syncthing-go-1.4-compat.patch: Fix Go 1.4 compatibility.
-------------------------------------------------------------------
Wed Dec 7 12:13:25 UTC 2016 - sor.alexei@meowr.ru

View File

@ -1,7 +1,7 @@
#
# spec file for package syncthing
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,7 +17,7 @@
Name: syncthing
Version: 0.14.13
Version: 0.14.19
Release: 0
Summary: FOSS Continuous File Synchronisation
License: MPL-2.0
@ -27,9 +27,7 @@ Source: https://github.com/%{name}/%{name}/releases/download/v%{version}
Source1: https://github.com/%{name}/%{name}/releases/download/v%{version}/%{name}-source-v%{version}.tar.gz.asc
Source2: %{name}.keyring
Source3: %{name}.firewall
# PATCH-FIX-UPSTREAM syncthing-0.14.13-go-1.6-compat.patch -- Fix Go 1.6 and older compatibility (commit 0dcf2f1).
Patch0: %{name}-0.14.13-go-1.6-compat.patch
BuildRequires: go >= 1.3
BuildRequires: go >= 1.5
BuildRequires: systemd
BuildRequires: systemd-rpm-macros
@ -42,7 +40,7 @@ Internet.
%prep
%setup -q -n %{name}
%patch0 -p1
cp -f %{SOURCE3} %{name}.firewall
%if !(0%{?suse_version} > 1320 || 0%{?sle_version} >= 120200)
# Remove entries which only exist since systemd 215.