SHA256
1
0
forked from pool/syncthing
Dominique Leuenberger 2016-05-23 14:38:54 +00:00 committed by Git OBS Bridge
commit 446b82f740
4 changed files with 79 additions and 14 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:ca6873a48d25c888755fa883802086de3ac959fb8a2d5f68e064e85af787100d
size 4740961

View File

@ -1,3 +1,57 @@
-------------------------------------------------------------------
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
- 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
- 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.1
Release: 0
Summary: FOSS Continuous File Synchronisation
License: MPL-2.0
@ -45,26 +45,37 @@ 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 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 \
%{buildroot}%{_unitdir}/%{name}-resume.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
%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
@ -76,7 +87,7 @@ install -Dm 0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/sysconfig/SuSEfirewall2.d
%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