Hello community,

here is the log from the commit of package nbd for openSUSE:Factory checked in 
at 2017-04-11 12:38:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/nbd (Old)
 and      /work/SRC/openSUSE:Factory/.nbd.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "nbd"

Tue Apr 11 12:38:38 2017 rev:40 rq:482629 version:3.15.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/nbd/nbd.changes  2016-02-11 12:37:36.000000000 
+0100
+++ /work/SRC/openSUSE:Factory/.nbd.new/nbd.changes     2017-04-11 
12:38:39.309767208 +0200
@@ -1,0 +2,58 @@
+Fri Mar 24 12:16:55 UTC 2017 - [email protected]
+
+- Update to version 3.15.2:
+  * Fix the copyonwrite situation with multiple threads. This has
+    been broken since nbd 3.12, where multiple outstanding writes
+    could corrupt the copyonwrite diff file.
+  * Build system improvements so that things work again if
+    nbd-client isn't buildable while GnuTLS is enabled
+  * Documentation updates
+  * Fixes to the GnuTLS usage, and the ability to configure the
+    priority string for that library
+- Changes for version 3.15.1:
+  * minor but crucial fix in the handling of the WRITE_ZEROES
+    command, which would otherwise not work in cooperation with
+    TLS.
+- Changes for version 3.15.0:
+  * Implement NBD_CMD_WRITE_ZEROES, for efficiently writing large
+    numbers of zeroes (server side implementation only)
+  * (optional) support for NBD_OPT_STARTTLS, using GnuTLS.
+  * Support for multiplexing commands over multiple connections,
+    for improving performance (requires Linux 4.10 or above).
+  * Support for using splice(), also for improving performance
+  * Protocol errors during negotiation now are accompanied by a 
+    human-readable error string.
+  * Fix the handling of maxconnections, so that it is not a global
+    setting (over all exports) but rather a per-export setting.
+  * Fix handling of unknown options sent to the server. Previously
+    we would desync from the protocol, causing another error and a
+    disconnect.
+  * Produce a log message when the address family of the client
+    socket does not match the expected address family in the
+    authfile handling. A proper fix would convert IPv4 sockets to
+    v6-mapped v4 sockets, but that's much more complicated.
+  * and various other minor fixes too small to mention here; see
+    the changelog
+- Changes for version 3.14.0:
+  * Major review of doc/proto.md, with many clarifications.
+  * Some bug fixes for nbd-server that were discovered during the
+    extensive updates to proto.md
+  * Some fixes for non-Linux platforms,
+  * Some minor incremental improvements to the new nbdtab
+    functionality,
+  * Fix the way we tell the kernel about really small exports,
+  * Removal of references to the no longer supported oldstyle from
+    all documentation
+  * Minor updates, clarifications, and syntax fixes for man pages
+    and other documentation
+  * Addition of a systemd unit file for nbd-client. This requires a
+    kernel which issues change events upon disconnect
+    (commit 37091fdd83), and a udev which correctly sets
+    SYSTEMD_READY
+- Drop init.nbd-server and support for non systemd distributions
+- Drop patches:
+  * nbd-2.9.25-close.diff (upstreamed)
+  * nbd-2.9.25-doxyfile.diff (no longer needed)
+- Do not build doc subpackage
+
+-------------------------------------------------------------------

Old:
----
  init.nbd-server
  nbd-2.9.25-close.diff
  nbd-2.9.25-doxyfile.diff
  nbd-3.13.tar.xz

New:
----
  nbd-3.15.2.tar.xz

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

Other differences:
------------------
++++++ nbd.spec ++++++
--- /var/tmp/diff_new_pack.SffYIS/_old  2017-04-11 12:38:39.989671141 +0200
+++ /var/tmp/diff_new_pack.SffYIS/_new  2017-04-11 12:38:39.993670576 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package nbd
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:           nbd
-Version:        3.13
+Version:        3.15.2
 Release:        0
 Summary:        Network Block Device Server and Client Utilities
 License:        GPL-2.0+
@@ -25,25 +25,15 @@
 Url:            http://nbd.sourceforge.net/
 Source0:        
http://downloads.sourceforge.net/project/%{name}/%{name}/%{version}/%{name}-%{version}.tar.xz
 Source1:        %{name}-server.service
-Source2:        init.nbd-server
 Source3:        config.example
 Source4:        nbd-server.sysconfig
-Patch2:         nbd-2.9.25-close.diff
-Patch3:         nbd-2.9.25-doxyfile.diff
-BuildRequires:  doxygen
-BuildRequires:  glib2-devel >= 2.26.0
-BuildRequires:  xz
+BuildRequires:  pkgconfig
+BuildRequires:  systemd-rpm-macros
+BuildRequires:  pkgconfig(glib-2.0) >= 2.26.0
+BuildRequires:  pkgconfig(gnutls)
 Requires(pre):  %fillup_prereq
 Requires(pre):  coreutils
-Suggests:       nbd-doc
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-%if 0%{?suse_version} >= 1210
-BuildRequires:  systemd
-BuildRequires:  systemd-rpm-macros
 %systemd_requires
-%else
-Requires(pre):  %insserv_prereq
-%endif
 
 %description
 This package contains nbd-server. It is the server backend for the nbd
@@ -63,100 +53,35 @@
 The package also contains the nbd-client tools, which you need to
 configure the nbd devices on the client side.
 
-%package doc
-Summary:        Network Block Device Server and Client Utilities
-Group:          Productivity/Networking/Other
-Requires:       nbd = %{version}
-
-%description doc
-This package contains the HTML documentation for the network block
-device (nbd) utilities.
-
-nbd can be used to have a filesystem stored on another machine. It does
-provide a block device, not a file system; so unless you put a
-clustering filesystem on top of it, you can't access it simultaneously
-from more than one client. Use NFS or a real cluster FS (such as
-ocfs2) if you want to do this. nbd-server can export a file (which may
-contain a filesystem image) or a partition. Swapping over nbd is
-possible as well, though it's said not to be safe against OOM and
-should not be used for that case. nbd-server also has a copy-on-write
-mode where changes are saved to a separate file and thrown away when
-the connection closes.
-
 %prep
 %setup -q
-%patch2 -p1
-%patch3 -p1
 
 %build
-export CFLAGS="%{optflags} -fstack-protector -fno-strict-aliasing"
 %configure
-
 make %{?_smp_mflags}
-doxygen doc/Doxyfile.in
 
 %install
-make install DESTDIR=%{buildroot} man_MANS='nbd-client.8 nbd-server.1 
nbd-server.5 nbd-trdump.1'
-mkdir -p %{buildroot}%{_sysconfdir}/init.d
-mkdir -p %{buildroot}%{_prefix}/bin
+%make_install
 
-%if 0%{?suse_version} >= 1210
-install -D -m 0644  %{SOURCE1} %{buildroot}/%{_unitdir}/%{name}-server.service
+# install systemd unit
+install -D -p -m 0644  %{SOURCE1} \
+  %{buildroot}/%{_unitdir}/%{name}-server.service
 ln -s          %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{name}-server
-%else
-install %{SOURCE2} %{buildroot}%{_initddir}/nbd-server
-ln -s ../..%{_initddir}/nbd-server %{buildroot}%{_sbindir}/rc%{name}-server
-%endif
 
-%if 0%{?suse_version} >= 1210
 # autoload nbd module
-install -d -m 750 %{buildroot}/etc/modules-load.d/
-echo "nbd" > %{buildroot}/etc/modules-load.d/%name.conf
-%endif
+install -d -m 755 %{buildroot}%{_prefix}/lib/modules-load.d/
+echo "nbd" > %{buildroot}%{_prefix}/lib/modules-load.d/%{name}.conf
 
 #echo "#Port   file    options" > $RPM_BUILD_ROOT/etc/nbd-server.conf
 mkdir -p %{buildroot}%{_sysconfdir}/nbd-server
 touch %{buildroot}%{_sysconfdir}/nbd-server/config
 touch %{buildroot}%{_sysconfdir}/nbd-server/allow
-install -D -m 0644 %{SOURCE3} 
%{buildroot}%{_sysconfdir}/nbd-server/config.example
-install -D -m 0644 %{SOURCE4} 
%{buildroot}%{_localstatedir}/adm/fillup-templates/sysconfig.%{name}-server
-
-%files
-%defattr(-,root,root)
-%attr(0755,root,root) %{_sbindir}/nbd-client
-%attr(0755,root,root) %{_bindir}/nbd-server
-%attr(0755,root,root) %{_bindir}/nbd-trdump
-%{_sbindir}/rcnbd-server
-%if 0%{?suse_version} >= 1210
-%{_unitdir}/%{name}-server.service
-%else
-%{_initddir}/%{name}-server
-%endif
-%{_mandir}/man1/nbd-server.1.gz
-%{_mandir}/man1/nbd-trdump.1.gz
-%{_mandir}/man5/nbd-server.5.gz
-%{_mandir}/man8/nbd-client.8.gz
-%doc README.md
-%dir %{_sysconfdir}/nbd-server
-%ghost %config(noreplace) %{_sysconfdir}/nbd-server/config
-%ghost %config(noreplace) %{_sysconfdir}/nbd-server/allow
-%config %{_sysconfdir}/nbd-server/config.example
-%if 0%{?suse_version} >= 1210
-%{_sysconfdir}/modules-load.d/%name.conf
-%endif
-%{_localstatedir}/adm/fillup-templates/sysconfig.%{name}-server
-
-%files doc
-%defattr(-,root,root)
-%doc doc/html
+install -D -p -m 0644 %{SOURCE3} 
%{buildroot}%{_sysconfdir}/nbd-server/config.example
+install -D -p -m 0644 %{SOURCE4} 
%{buildroot}%{_localstatedir}/adm/fillup-templates/sysconfig.%{name}-server
 
 %post
-%if 0%{?suse_version} >= 1210
 %service_add_post %{name}-server.service
 %fillup_only -n nbd-server
-%else
-%{fillup_and_insserv -f nbd-server}
-%endif
 if test -e %{_sysconfdir}/nbd-server.conf; then
   # Do we have to create a generic section?
   unset generic
@@ -179,23 +104,33 @@
 fi
 
 %postun
-%if 0%{?suse_version} >= 1210
 %service_del_postun %{name}-server.service
-%else
-%insserv_cleanup
-%restart_on_update nbd-server
-%endif
 
 %pre
-%if 0%{?suse_version} >= 1210
 %service_add_pre %{name}-server.service
-%endif
 
 %preun
-%if 0%{?suse_version} >= 1210
 %service_del_preun %{name}-server.service
-%else
-%{stop_on_removal nbd-server}
-%endif
+
+%files
+%defattr(-,root,root)
+%{_sbindir}/nbd-client
+%{_bindir}/nbd-server
+%{_bindir}/nbd-trdump
+%{_sbindir}/rcnbd-server
+%{_unitdir}/%{name}-server.service
+%{_mandir}/man1/nbd-server.1%{ext_man}
+%{_mandir}/man1/nbd-trdump.1%{ext_man}
+%{_mandir}/man5/nbd-server.5%{ext_man}
+%{_mandir}/man8/nbd-client.8%{ext_man}
+%{_mandir}/man5/nbdtab.5%{ext_man}
+%doc README.md
+%dir %{_sysconfdir}/nbd-server
+%ghost %config(noreplace) %{_sysconfdir}/nbd-server/config
+%ghost %config(noreplace) %{_sysconfdir}/nbd-server/allow
+%config %{_sysconfdir}/nbd-server/config.example
+%dir %{_prefix}/lib/modules-load.d/
+%{_prefix}/lib/modules-load.d/nbd.conf
+%{_localstatedir}/adm/fillup-templates/sysconfig.%{name}-server
 
 %changelog

++++++ nbd-3.13.tar.xz -> nbd-3.15.2.tar.xz ++++++
++++ 31295 lines of diff (skipped)


Reply via email to