From f9f4c656061412db72429afe6bb9339803580f11c63b039fc6711d0eb3bc4942 Mon Sep 17 00:00:00 2001 From: Alexei Sorokin Date: Tue, 17 May 2016 22:15:21 +0000 Subject: [PATCH 1/3] - 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 From 4e2014fc9ec2022a1ce8a91505d880eac991b158cd453ed91986c54748eed930 Mon Sep 17 00:00:00 2001 From: Alexei Sorokin Date: Wed, 18 May 2016 09:23:45 +0000 Subject: [PATCH 2/3] Accepting request 396577 from home:jengelh:branches:network something like this (untested) - Drop unnecessary systemd install-time dependencies. [bnc#980389] Only pass template units to preun (disable); no other actions are defined for them. OBS-URL: https://build.opensuse.org/request/show/396577 OBS-URL: https://build.opensuse.org/package/show/network/syncthing?expand=0&rev=62 --- syncthing.changes | 7 +++++++ syncthing.spec | 7 +++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/syncthing.changes b/syncthing.changes index 908d1d0..d11677e 100644 --- a/syncthing.changes +++ b/syncthing.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Wed May 18 08:54:32 UTC 2016 - jengelh@inai.de + +- Drop unnecessary systemd install-time dependencies. [bnc#980389] + Only pass template units to preun (disable); no other actions + are defined for them. + ------------------------------------------------------------------- Tue May 17 17:13:51 UTC 2016 - sor.alexei@meowr.ru diff --git a/syncthing.spec b/syncthing.spec index 696f29c..da44d3e 100644 --- a/syncthing.spec +++ b/syncthing.spec @@ -28,7 +28,6 @@ Source1: %{name}.firewall BuildRequires: go >= 1.3 BuildRequires: systemd BuildRequires: systemd-rpm-macros -%{?systemd_requires} %description Syncthing replaces proprietary sync and cloud services with @@ -73,10 +72,10 @@ install -Dm 0644 %{SOURCE1} \ %{buildroot}%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/%{name} %pre -%service_add_pre %{name}@.service %{name}-resume.service +%service_add_pre %{name}-resume.service %post -%service_add_post %{name}@.service %{name}-resume.service +%service_add_post %{name}-resume.service %if 0%{?suse_version} > 1320 %systemd_user_post %{name}.service %endif @@ -88,7 +87,7 @@ install -Dm 0644 %{SOURCE1} \ %endif %postun -%service_del_postun %{name}@.service %{name}-resume.service +%service_del_postun %{name}-resume.service %if 0%{?suse_version} > 1320 %systemd_user_postun %{name}.service %endif From 5a3068ae4520b7e8267e0071f515878196183d1240f943d734a32dbf6b1082ff Mon Sep 17 00:00:00 2001 From: Alexei Sorokin Date: Thu, 19 May 2016 07:44:33 +0000 Subject: [PATCH 3/3] Accepting request 396714 from home:dliedke:branches:network Update to version 0.13.1 OBS-URL: https://build.opensuse.org/request/show/396714 OBS-URL: https://build.opensuse.org/package/show/network/syncthing?expand=0&rev=63 --- syncthing-source-v0.13.0.tar.gz | 3 --- syncthing-source-v0.13.1.tar.gz | 3 +++ syncthing.changes | 9 +++++++++ syncthing.spec | 2 +- 4 files changed, 13 insertions(+), 4 deletions(-) delete mode 100644 syncthing-source-v0.13.0.tar.gz create mode 100644 syncthing-source-v0.13.1.tar.gz diff --git a/syncthing-source-v0.13.0.tar.gz b/syncthing-source-v0.13.0.tar.gz deleted file mode 100644 index ca1e9a5..0000000 --- a/syncthing-source-v0.13.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a0fbcf97becac34fb53a38f0db5ec54fedcc4cee85a56a65880849dd9a742772 -size 4738492 diff --git a/syncthing-source-v0.13.1.tar.gz b/syncthing-source-v0.13.1.tar.gz new file mode 100644 index 0000000..ced0706 --- /dev/null +++ b/syncthing-source-v0.13.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ca6873a48d25c888755fa883802086de3ac959fb8a2d5f68e064e85af787100d +size 4740961 diff --git a/syncthing.changes b/syncthing.changes index d11677e..c8b0e50 100644 --- a/syncthing.changes +++ b/syncthing.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Thu May 19 05:54:18 UTC 2016 - liedke@rz.uni-mannheim.de + +- Update to version 0.13.1: + * lib/config: Don't migrate non-HTTPS-URL discovery servers to new + path + * gui, lib: Add missing licenses + * lib/connections: Correctly add port to portless tcp:// URLs + ------------------------------------------------------------------- Wed May 18 08:54:32 UTC 2016 - jengelh@inai.de diff --git a/syncthing.spec b/syncthing.spec index da44d3e..edfc338 100644 --- a/syncthing.spec +++ b/syncthing.spec @@ -17,7 +17,7 @@ Name: syncthing -Version: 0.13.0 +Version: 0.13.1 Release: 0 Summary: FOSS Continuous File Synchronisation License: MPL-2.0