Hello community,

here is the log from the commit of package syncthing for openSUSE:Leap:15.2 
checked in at 2020-03-13 10:58:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/syncthing (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.syncthing.new.3160 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "syncthing"

Fri Mar 13 10:58:28 2020 rev:40 rq:783876 version:1.3.4

Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/syncthing/syncthing.changes    2020-01-15 
16:04:52.835971895 +0100
+++ /work/SRC/openSUSE:Leap:15.2/.syncthing.new.3160/syncthing.changes  
2020-03-13 11:01:07.856595350 +0100
@@ -1,0 +2,509 @@
+Thu Feb  6 16:36:41 UTC 2020 - Marius Kittler <[email protected]>
+
+- Disable automatic updates (which do not work anyways unless you
+  run Syncthing as user root)
+
+-------------------------------------------------------------------
+Tue Feb  4 09:14:47 UTC 2020 - Martin Rey <[email protected]>
+
+- Update to 1.3.4:
+  - Bugfixes:
+    - #4570: Negative percentage and data to sync
+    - #5867: Progress bar not visible
+    - #6044: Clicking "Save" in options says "You have unsaved
+      changes" when changing automatic upgrade setting
+    - #6213: Tone down STUN logging a bit
+    - #6222: Connection Error on Listing More Locally Changed Files
+    - #6234: Docker image uses wrong path for default folder
+    - #6240: GUI: ignore patterns path is one row too low
+    - #6263: Panics due to database being closed
+
+-------------------------------------------------------------------
+Mon Feb  3 16:33:41 UTC 2020 - Dominique Leuenberger <[email protected]>
+
+- BuildRequire pkgconfig(systemd) instead of systemd: allow OBS to
+  shortcut through the -mini flavors.
+
+-------------------------------------------------------------------
+Tue Jan  7 10:33:41 UTC 2020 - Martin Rey <[email protected]>
+
+- Update to 1.3.3:
+  - Bugfixes:    
+    - #6133: Race condition in restarting folder
+    - #6139: Some sync errors get cleared despite them still being
+      valid
+  - Enhancements:   
+    - #5887: Upgrade Button Does Not Have Confirmation Dialog
+    - #6057: "Nearby devices" links should look more like links
+      (mouse pointer)
+    - #6190: Do not create .stignore if there are no ignore
+      patterns
+
+-------------------------------------------------------------------
+Wed Dec  4 14:06:40 UTC 2019 - Martin Rey <[email protected]>
+
+- Update to 1.3.2:
+  - Bugfixes:
+    - #5810: GUI theme not changing on WebKit-based/like browsers
+    - #5968: Folder "Up To Date" but has pending
+      "Revert Local Changes"
+    - #5980: (De)select all not working in add device dialog
+    - #6027: Folder shows as "Syncing" when there is no data
+      transfer
+    - #6043: Cannot exit after failed startup
+    - #6081: QUIC accept error loops too quickly, causing excessive
+      log output
+    - #6090: Pull-scan loop due to symlink traversal
+    - #6093: cmd/stdiscosrv: Data race in replication
+    - #6136: API + UI device last seen is empty/Never
+    - #6160: Uses too much RAM when syncing large files (1.3.0+)
+  - Enhancements:
+      #6056: Improve sharing tab when there are no devices to share
+      with
+      #6115: Change Web UI based on prefers-color-scheme
+
+-------------------------------------------------------------------
+Wed Nov 13 15:47:06 UTC 2019 - Martin Rey <[email protected]>
+
+- Update to 1.3.1:
+  - Bugfixes:
+    - #5993: Build information missing in discovery and relay
+      server binaries
+    - #5995: Usage-reported transfer stats are meaningless
+    - #6008: Changed file in receive-only folder cannot be ignored
+    - #6040: Shows authentication warning when listening on UNIX
+      socket
+    - #6049: Hostnames resolving to localhost are not considered
+      'local' in remote access warning
+  - Enhancements:
+    - #5583: White tab in black Interface ?
+    - #5627: Stalled scans need better UI representation
+  - Other issues:
+    - #6010: STUN server stun.voxgratia.org should be removed
+
+- Changes from 1.3.0:
+  - Bugfixes:
+    - #5985: Log spam and high CPU use if #include path is wrong in
+      .stignore
+  - Enhancements:
+    - #5138: Rate limit can be very bursty
+    - #5948: Improve free space checking when syncing
+    - #5966: Database performance: improve situation with huge
+      databases
+  - Other issues:
+    - #5924: Upgrade server JSON generator
+    - #5991: lib/api: TestHostCheck never finishes with Go 1.13rc2
+      under Docker
+    - #5999: Allow providing your own ldflags for building
+
+- Changes from 1.2.2:
+  - Bugfixes:
+    - #5824: Sync Protocol Listen Address in Actions behaves badly
+    - #5836: panic: chmod ...: operation not permitted
+    - #5839: Prevent leaking log info into stack traces
+    - #5866: No indication in GUI that Syncthing has been shut down
+    - #5888: Adding/updating pending folders is inefficient
+    - #5908: panic: close of closed channel in lib/syncthing when
+      shutting down
+    - #5920: Free space error message is unintelligeble
+    - #5934: Dialing regards any established connection as
+      successful / does not check device ID
+  - Enhancements:
+    - #5738: Avoid logging http: TLS handshake error ...
+      remote error: tls: unknown certificate
+    - #5940: TLS: Support x25519, reconsider elliptic curve
+      priority in handshake
+  - Other issues:
+    - #5115: Include systemd units in stdiscosrv/strelaysrv Debian
+      packages
+    - #5901: TestPullInvalidIgnoredSR flakyness + data race
+
+-------------------------------------------------------------------
+Fri Aug  9 11:23:25 UTC 2019 - Frederic Crozat <[email protected]>
+
+- Update to 1.2.1:
+  - Bugfixes: 
+    - #5308: FreeBSD: Create new file does not generate a fs event.
+    - #5801: panic: close of nil channel in relay client stop
+    - #5803: Web UI shows confusing description on RC builds when
+      upgrades are disabled
+    - #5828: panic: Index update for not running folder
+    - #5833: Paused folder shows filesystem watcher error
+    - #5837: panic: runtime error: index out of range in recheckFile
+    - #5849: Cannot concatenate external versioner template
+      variables ("%FOLDER_PATH%/%FILE_PATH%")
+    - #5880: panic: runtime error: invalid memory address or nil
+      pointer dereference in loadIgnoreFile
+  - Enhancements:
+    - #5811: Download progress of folders in the UI should update
+      more frequently
+
+- Changes from 1.2.0:
+  - Important notes:
+    - This release does not interoperate with Syncthing 0.14.45
+      or older.
+    - This release adds QUIC with NAT traversal as a new transport
+      protocol. TCP is usually more performant and remains the
+      preferred way of connection when possible.
+    - This release adds automatic crash reporting. See
+      https://docs.syncthing.net/users/crashrep.html for details.
+    - This release makes large / variable block size the only
+      available mode of operation; small / fixed blocks are
+      deprecated.
+      See https://docs.syncthing.net/advanced/folder-uselargeblocks.html for 
details.
+  - Bugfixes:
+    - #4170: panic: bug: ClusterConfig called on closed or
+      nonexistent connection
+    - #5609: Filesystem watching failed when parent folder is not
+      listable
+    - #5652: Connection error after closing failed items list
+      and opening another list
+    - #5765: Verioner cleanup looks at the wrong time
+    - #5766: Support bundle doesn't include errors list, instead
+      printing Support bundle: failed to create errors.json: <nil>
+    - #5770: Scan failure blocks "Rescan" button
+    - #5777: Spurious need to "revert" nonexistent changes with
+      Receive Only folder on Android
+  - Enhancements:
+    - #959: Automatic error log sending to dev. team
+    - #3345: Show last connection error per discovered address
+    - #5377: Use of QUIC for transport
+    - #5631: Dockerfile ENTRYPOINT doesn't pass along
+      extra arguments from "docker run"
+    - #5697: Handle fatal watch errors gracefully
+
+- Changes from 1.1.4:
+  - Bugfixes:
+    - #4613: Progress emitter doesn't start from config change
+      if disabled at startup
+    - #5338: Version restore not possible with custom versioning
+      path set
+    - #5421: WebGui: Locally Changed Items vanish when
+      clicking 10|25|50
+    - #5578: Filesystem watcher error when watching disk root
+      directory on Windows
+    - #5641: Syncthing gets stuck in a high CPU "Failed Files"
+      state - Possibly a symlink issue?
+    - #5649: Checking block content on unexpected request results
+      doesn't work for the last block
+    - #5654: Incorrect file info passed as argument to delete
+      existing dir/symlink
+    - #5704: Failure to fsync() files should not be fatal
+  - Enhancements:
+    - #1634: Use copy instead of rename for version folder on
+      other file systems
+    - #4531: GUI folder/device status rows should handle longer
+      values nicer
+    - #4586: Versioner file tagging is inconsistent
++++ 315 more lines (skipped)
++++ between /work/SRC/openSUSE:Leap:15.2/syncthing/syncthing.changes
++++ and /work/SRC/openSUSE:Leap:15.2/.syncthing.new.3160/syncthing.changes

Old:
----
  syncthing-source-v0.14.46.tar.gz
  syncthing-source-v0.14.46.tar.gz.asc
  syncthing.firewall

New:
----
  syncthing-source-v1.3.4.tar.gz
  syncthing-source-v1.3.4.tar.gz.asc

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ syncthing.spec ++++++
--- /var/tmp/diff_new_pack.C5vkOc/_old  2020-03-13 11:01:08.428595758 +0100
+++ /var/tmp/diff_new_pack.C5vkOc/_new  2020-03-13 11:01:08.428595758 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package syncthing
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,36 +12,46 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 Name:           syncthing
-Version:        0.14.46
+Version:        1.3.4
 Release:        0
 Summary:        Continuous File Synchronisation
 License:        MPL-2.0
 Group:          Productivity/Networking/File-Sharing
-Url:            https://syncthing.net/
+URL:            https://syncthing.net/
 Source:         
https://github.com/%{name}/%{name}/releases/download/v%{version}/%{name}-source-v%{version}.tar.gz
 Source1:        
https://github.com/%{name}/%{name}/releases/download/v%{version}/%{name}-source-v%{version}.tar.gz.asc
 Source2:        %{name}.keyring
-Source3:        %{name}.firewall
-BuildRequires:  go >= 1.8
-BuildRequires:  systemd
+BuildRequires:  golang(API) >= 1.12
 BuildRequires:  systemd-rpm-macros
+BuildRequires:  pkgconfig(systemd)
+%{?systemd_ordering}
 
 %description
 Syncthing is an application that synchronises files across multiple
 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
+%{?systemd_ordering}
+
+%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}
 
-cp -f %{SOURCE3} %{name}.firewall
-
 %build
+export BUILD_USER=abuild
 export BUILD_HOST=openSUSE
 mkdir -p build/src/ build/vendor/
 export GOPATH="$PWD/build:$PWD/build/vendor"
@@ -51,49 +61,88 @@
 cp -a vendor build/vendor/src
 
 pushd build/src/github.com/%{name}/%{name}/
-go run build.go -no-upgrade -version v%{version} install all
+# build and install stcli which has no dedicated target and can not be built 
with -no-upgrade
+go run build.go -version v%{version} install all
+# build and install syncthing without automatic updates
+go run build.go -no-upgrade -version v%{version} install
+# build and install strelaysrv without automatic updates
+go run build.go -no-upgrade -version v%{version} install strelaysrv
 popd
 
 %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  \
   %{buildroot}%{_unitdir}/%{name}-resume.service
-%if 0%{?suse_version} > 1320 || 0%{?sle_version} >= 120200
+%if 0%{?suse_version} >= 1500 || 0%{?sle_version} > 120300
 install -Dpm 0644 etc/linux-systemd/user/%{name}.service           \
   %{buildroot}%{_userunitdir}/%{name}.service
 %endif
-install -Dpm 0644 %{name}.firewall                                 \
-  %{buildroot}%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/%{name}
 
 %pre
 %service_add_pre %{name}-resume.service
 
+%pre relaysrv
+%service_add_pre strelaysrv.service
+getent group strelaysrv >/dev/null || /usr/sbin/groupadd -r strelaysrv
+getent passwd strelaysrv >/dev/null || \
+       /usr/sbin/useradd -g strelaysrv -s /bin/false -r \
+       -c "User for syncthing relay server" -d /var/lib/strelaysrv strelaysrv
+
 %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
-%if 0%{?suse_version} >= 1500
 %license LICENSE
-%else
-%doc LICENSE
-%endif
 %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-v0.14.46.tar.gz -> syncthing-source-v1.3.4.tar.gz ++++++
/work/SRC/openSUSE:Leap:15.2/syncthing/syncthing-source-v0.14.46.tar.gz 
/work/SRC/openSUSE:Leap:15.2/.syncthing.new.3160/syncthing-source-v1.3.4.tar.gz 
differ: char 5, line 1


Reply via email to