SHA256
1
0
forked from pool/syncthing

- Update to version 0.13.0.

OBS-URL: https://build.opensuse.org/package/show/network/syncthing?expand=0&rev=61
This commit is contained in:
Alexei Sorokin 2016-05-17 22:15:21 +00:00 committed by Git OBS Bridge
parent 57c37450b7
commit f9f4c65606
4 changed files with 61 additions and 11 deletions

View File

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

View File

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

View File

@ -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

View File

@ -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