Hello community, here is the log from the commit of package syncthing for openSUSE:Factory checked in at 2019-02-28 21:43:50 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/syncthing (Old) and /work/SRC/openSUSE:Factory/.syncthing.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "syncthing" Thu Feb 28 21:43:50 2019 rev:80 rq:679608 version:1.0.1 Changes: -------- --- /work/SRC/openSUSE:Factory/syncthing/syncthing.changes 2019-02-04 14:25:12.981059325 +0100 +++ /work/SRC/openSUSE:Factory/.syncthing.new.28833/syncthing.changes 2019-02-28 21:43:52.173513156 +0100 @@ -1,0 +2,31 @@ +Tue Feb 26 11:11:02 UTC 2019 - Bernd Wachter <[email protected]> + +- Package additional binaries + * Add CLI (stcli) to main package + * Add relay server (strelaysrv) to relaysrv subpackage + +------------------------------------------------------------------- +Tue Feb 19 10:45:23 UTC 2019 - Marius Kittler <[email protected]> + +- Update to version 1.0.1: + * Directory status "box" character not readable by + screen readers / not colour blindness friendly + (gh#syncthing/syncthing#2697). + * "Automatic upgrades" web GUI option in pre-release versions is + misleading (gh#syncthing/syncthing#4216). + * Incorrectly out of synch, sequence number oddness + (gh#syncthing/syncthing#5340). + * Deleted files show up as failed scans + (gh#syncthing/syncthing#5385). + * gui: Missing icon in footer (gh#syncthing/syncthing#5389). + * Data race in model.(*folder).startWatch() + (gh#syncthing/syncthing#5392). + * Scan errors about ignored files displayed in web UI + (gh#syncthing/syncthing#5397). + * panic: runtime error: Invalid memory address or nil pointer + dereference in ignore.go (gh#syncthing/syncthing#5401). + * Illegal characters in directory name on auto accept + (gh#syncthing/syncthing#5411). + * Consider switching to Go modules (gh#syncthing/syncthing#5148). + +------------------------------------------------------------------- Old: ---- syncthing-source-v1.0.0.tar.gz syncthing-source-v1.0.0.tar.gz.asc New: ---- syncthing-source-v1.0.1.tar.gz syncthing-source-v1.0.1.tar.gz.asc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ syncthing.spec ++++++ --- /var/tmp/diff_new_pack.DFygOR/_old 2019-02-28 21:43:52.797512890 +0100 +++ /var/tmp/diff_new_pack.DFygOR/_new 2019-02-28 21:43:52.797512890 +0100 @@ -17,7 +17,7 @@ Name: syncthing -Version: 1.0.0 +Version: 1.0.1 Release: 0 Summary: Continuous File Synchronisation License: MPL-2.0 @@ -36,6 +36,16 @@ devices. This means the creation, modification or deletion of files on one machine will automatically be replicated to other devices. +%package relaysrv +Summary: Relay server for syncthing +Group: Productivity/Networking/File-Sharing +Requires(pre): pwdutils + +%description relaysrv +Syncthing requires relay servers for NAT traversal. This package +contains the necessary files for setting up a relay server, either +joined to the syncthing relay pool or private. + %prep %setup -q -n %{name} @@ -58,6 +68,17 @@ %install install -Dpm 0755 build/src/github.com/%{name}/%{name}/bin/%{name} \ %{buildroot}%{_bindir}/%{name} +install -Dpm 0755 build/src/github.com/%{name}/%{name}/bin/stcli \ + %{buildroot}%{_bindir}/stcli +install -Dpm 0755 build/src/github.com/%{name}/%{name}/bin/strelaysrv \ + %{buildroot}%{_bindir}/strelaysrv +install -dm 0750 %{buildroot}/%{_localstatedir}/lib/strelaysrv +install -Dpm 0644 cmd/strelaysrv/etc/linux-systemd/strelaysrv.service \ + %{buildroot}%{_unitdir}/strelaysrv.service +sed -i '/Service\]/a EnvironmentFile=-\/etc\/default/strelaysrv' \ + %{buildroot}%{_unitdir}/strelaysrv.service +sed -i 's,^ExecStart=.*,ExecStart=/usr/bin/strelaysrv $OPTIONS,' \ + %{buildroot}%{_unitdir}/strelaysrv.service install -Dpm 0644 etc/linux-systemd/system/%{name}@.service \ %{buildroot}%{_unitdir}/%{name}@.service install -Dpm 0644 etc/linux-systemd/system/%{name}-resume.service \ @@ -72,33 +93,53 @@ %pre %service_add_pre %{name}-resume.service +%pre relaysrv +%service_add_pre strelaysrv.service +/usr/sbin/groupadd -r strelaysrv &>/dev/null ||: +/usr/sbin/useradd -g strelaysrv -s /bin/false -r -c "User for syncthing relay server" -d /var/lib/strelaysrv strelaysrv &>/dev/null ||: + %post %service_add_post %{name}-resume.service %if 0%{?suse_version} >= 1500 || 0%{?sle_version} > 120300 %systemd_user_post %{name}.service %endif +%post relaysrv +%service_add_post strelaysrv.service + %preun %service_del_preun %{name}@.service %{name}-resume.service %if 0%{?suse_version} >= 1500 || 0%{?sle_version} > 120300 %systemd_user_preun %{name}.service %endif +%preun relaysrv +%service_del_preun strelaysrv.service + %postun %service_del_postun %{name}-resume.service %if 0%{?suse_version} >= 1500 || 0%{?sle_version} > 120300 %systemd_user_postun %{name}.service %endif +%postun relaysrv +%service_del_postun strelaysrv.service + %files %license LICENSE %doc AUTHORS CONDUCT.md CONTRIBUTING.md README.md %config %{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/%{name} %{_bindir}/%{name} +%{_bindir}/stcli %{_unitdir}/%{name}@.service %{_unitdir}/%{name}-resume.service %if 0%{?suse_version} >= 1500 || 0%{?sle_version} > 120300 %{_userunitdir}/%{name}.service %endif +%files relaysrv +%{_bindir}/strelaysrv +%{_unitdir}/strelaysrv.service +%dir %attr(750,strelaysrv,strelaysrv) %{_localstatedir}/lib/strelaysrv + %changelog ++++++ syncthing-source-v1.0.0.tar.gz -> syncthing-source-v1.0.1.tar.gz ++++++ /work/SRC/openSUSE:Factory/syncthing/syncthing-source-v1.0.0.tar.gz /work/SRC/openSUSE:Factory/.syncthing.new.28833/syncthing-source-v1.0.1.tar.gz differ: char 5, line 1
