Accepting request 347036 from home:posophe:branches:network:utilities

update

OBS-URL: https://build.opensuse.org/request/show/347036
OBS-URL: https://build.opensuse.org/package/show/network:utilities/nbd?expand=0&rev=35
This commit is contained in:
Martin Pluskal 2015-12-01 17:46:42 +00:00 committed by Git OBS Bridge
parent 6a043af7c6
commit b536926e86
5 changed files with 34 additions and 19 deletions

View File

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

3
nbd-3.12.1.tar.xz Normal file
View File

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

View File

@ -1,3 +1,33 @@
-------------------------------------------------------------------
Tue Dec 1 17:01:47 UTC 2015 - p.drouand@gmail.com
- Update to version 3.12.1
* ensures the source to the "nbdtab" man page is correctly shipped
with the rest of the source.
- Changes from version 3.12
* inetd mode should work again, now using the default export name
in the newstyle protocol
* when specifying an export on the server command line or not specifying
a name on a client command line, the newstyle protocol is used with
the default export name (but a warning will be produced stating
that oldstyle is no longer supported)
* All traces of oldstyle (except a few error messages) have been
removed
* We now listen on IPv4 and IPv6 by default, regardless of what
the system's configuration is like, by explicitly listening both
on 0.0.0.0 and ::.
* Some bugs in the handling of the TRIM command have been removed
* nbd *client now uses readit() in the negotiation, rather than
plain non *retrying read().
* It is now possible to listen on multiple addresses; the
"listenaddr" parameter has been changed into a comma *separated
list of addresses to listen on
* nbd *client now supports an nbdtab file, which allows connecting
a device by just using the device name
* nbd *server now uses a GThreadPool to implement asynchronous handling
of requests
* Punching holes on files is now supported on cygwin, too.
- Remove no-return-nonvoid.patch; fixed on upstream release
-------------------------------------------------------------------
Thu May 28 11:32:18 UTC 2015 - mpluskal@suse.com

View File

@ -17,7 +17,7 @@
Name: nbd
Version: 3.11
Version: 3.12.1
Release: 0
Summary: Network Block Device Server and Client Utilities
License: GPL-2.0+
@ -30,8 +30,6 @@ Source3: config.example
Source4: nbd-server.sysconfig
Patch2: nbd-2.9.25-close.diff
Patch3: nbd-2.9.25-doxyfile.diff
# fix return value
Patch4: no-return-nonvoid.patch
BuildRequires: doxygen
BuildRequires: glib2-devel >= 2.26.0
BuildRequires: xz
@ -88,7 +86,6 @@ the connection closes.
%setup -q
%patch2 -p1
%patch3 -p1
%patch4 -p1
%build
export CFLAGS="%{optflags} -fstack-protector -fno-strict-aliasing"

View File

@ -1,12 +0,0 @@
Index: nbd-3.11/nbd-server.c
===================================================================
--- nbd-3.11.orig/nbd-server.c
+++ nbd-3.11/nbd-server.c
@@ -1525,6 +1525,7 @@ CLIENT* negotiate(int net, GArray* serve
err_nonfatal("Session terminated by client");
return NULL;
}
+ return NULL;
}
void send_export_info(CLIENT* client) {