From f9f4c656061412db72429afe6bb9339803580f11c63b039fc6711d0eb3bc4942 Mon Sep 17 00:00:00 2001 From: Alexei Sorokin Date: Tue, 17 May 2016 22:15:21 +0000 Subject: [PATCH] - Update to version 0.13.0. OBS-URL: https://build.opensuse.org/package/show/network/syncthing?expand=0&rev=61 --- syncthing-source-v0.12.23.tar.gz | 3 --- syncthing-source-v0.13.0.tar.gz | 3 +++ syncthing.changes | 38 ++++++++++++++++++++++++++++++++ syncthing.spec | 28 ++++++++++++++++------- 4 files changed, 61 insertions(+), 11 deletions(-) delete mode 100644 syncthing-source-v0.12.23.tar.gz create mode 100644 syncthing-source-v0.13.0.tar.gz diff --git a/syncthing-source-v0.12.23.tar.gz b/syncthing-source-v0.12.23.tar.gz deleted file mode 100644 index 0f2f406..0000000 --- a/syncthing-source-v0.12.23.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:75ce2657aba7f85cfd2ea555272dc3e218d93631856d54174548b11a000dfb91 -size 5266067 diff --git a/syncthing-source-v0.13.0.tar.gz b/syncthing-source-v0.13.0.tar.gz new file mode 100644 index 0000000..ca1e9a5 --- /dev/null +++ b/syncthing-source-v0.13.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a0fbcf97becac34fb53a38f0db5ec54fedcc4cee85a56a65880849dd9a742772 +size 4738492 diff --git a/syncthing.changes b/syncthing.changes index eebe329..908d1d0 100644 --- a/syncthing.changes +++ b/syncthing.changes @@ -1,3 +1,41 @@ +------------------------------------------------------------------- +Tue May 17 17:13:51 UTC 2016 - sor.alexei@meowr.ru + +- Update to version 0.13.0: + * Devices now announce files that are in progress of being + downloaded, in addition to those that are already complete. + This means a device can serve parts of a file to other devices + before it has completed the download itself. + * Directory labels are now distinct from the directory ID. + The intention is for the label to be human readable and for the + ID to be machine readable and unique. When upgrading, + directory IDs are not changed. However when creating new + directories Syncthing will suggest a random, unique directory + ID. + * When receiving a connection attempt from an unknown device + Syncthing will now show the name of that device, not only it's + ID. + * Syncthing will now manage port mappings on NAT-PMP compliant + routers, in addition to the existing UPnP support. + * Ignored files can now be tagged with the prefix (?d) to + indicate that Syncthing may delete these files if they remain + when deleting a directory. Ignore patterns use less memory by + default. + * The address for sync connections, both the listening side and + for remote devices, can now be made IPv4- or IPv6-only. Use the + tcp4:// or tcp6:// schemes to specify one or the other. The + default tcp:// is still dual stack. Additionally, relays are + now treated as listen addresses and set in the same + configuration setting. + * The directory settings dialog has been cleaned up. + * The environment variable ALL_PROXY_NO_FALLBACK can be set to + disable falling back to direct connections in the absence of a + working proxy. + * The "Syncing" complete percentage for remote devices may + erroneously display more than 100% (i.e. 156% or 297%) while a + remote device is still synchronising. + * Many, many bug fixes. + ------------------------------------------------------------------- Sat May 7 07:12:54 UTC 2016 - sor.alexei@meowr.ru diff --git a/syncthing.spec b/syncthing.spec index 185a4c6..696f29c 100644 --- a/syncthing.spec +++ b/syncthing.spec @@ -17,7 +17,7 @@ Name: syncthing -Version: 0.12.23 +Version: 0.13.0 Release: 0 Summary: FOSS Continuous File Synchronisation License: MPL-2.0 @@ -28,6 +28,7 @@ Source1: %{name}.firewall BuildRequires: go >= 1.3 BuildRequires: systemd BuildRequires: systemd-rpm-macros +%{?systemd_requires} %description Syncthing replaces proprietary sync and cloud services with @@ -45,20 +46,31 @@ sed -i '/^RestartForceExitStatus=/d;s/^\(SuccessExitStatus=\).*$/\12/' \ %endif %build -export GOPATH="$PWD/build" +mkdir -p build/src/ build/vendor/ +export GOPATH="$PWD/build:$PWD/build/vendor" + mkdir -p build/src/github.com/%{name}/%{name} ls | sed '/^build$/d' | xargs cp -at build/src/github.com/%{name}/%{name} -go run build.go -no-upgrade +cp -a vendor build/vendor/src + +pushd build/src/github.com/%{name}/%{name}/ +go run build.go install all \ + -version v%{version} -no-upgrade +popd %install -install -Dm 0755 bin/%{name} %{buildroot}%{_bindir}/%{name} -install -Dm 0644 etc/linux-systemd/system/%{name}@.service \ +install -Dm 0755 build/src/github.com/%{name}/%{name}/bin/%{name} \ + %{buildroot}%{_bindir}/%{name} +install -Dm 0644 etc/linux-systemd/system/%{name}@.service \ %{buildroot}%{_unitdir}/%{name}@.service -install -Dm 0644 etc/linux-systemd/system/%{name}-resume.service \ +install -Dm 0644 etc/linux-systemd/system/%{name}-resume.service \ %{buildroot}%{_unitdir}/%{name}-resume.service -install -Dm 0644 etc/linux-systemd/user/%{name}.service \ +%if 0%{?suse_version} > 1320 +install -Dm 0644 etc/linux-systemd/user/%{name}.service \ %{buildroot}%{_userunitdir}/%{name}.service -install -Dm 0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/%{name} +%endif +install -Dm 0644 %{SOURCE1} \ + %{buildroot}%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/%{name} %pre %service_add_pre %{name}@.service %{name}-resume.service