- Update to version 1.17.0:

* proto: add xNBD command NBD_CMD_CACHE to the spec
  * server: do not crash when handling child name
  * server: Close socket pair when fork fails

OBS-URL: https://build.opensuse.org/package/show/network:utilities/nbd?expand=0&rev=56
This commit is contained in:
Martin Pluskal 2018-07-09 14:52:08 +00:00 committed by Git OBS Bridge
parent 897805cda8
commit 8f8287197a
4 changed files with 22 additions and 18 deletions

View File

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

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

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

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Mon Jul 9 14:47:47 UTC 2018 - mpluskal@suse.com
- Update to version 1.17.0:
* proto: add xNBD command NBD_CMD_CACHE to the spec
* server: do not crash when handling child name
* server: Close socket pair when fork fails
-------------------------------------------------------------------
Fri Jan 5 13:15:24 UTC 2018 - mpluskal@suse.com

View File

@ -16,15 +16,11 @@
#
#Compat macro for new _fillupdir macro introduced in Nov 2017
%if ! %{defined _fillupdir}
%define _fillupdir %{_localstatedir}/adm/fillup-templates
%endif
Name: nbd
Version: 3.16.2
Version: 3.17
Release: 0
Summary: Network Block Device Server and Client Utilities
License: GPL-2.0+
License: GPL-2.0-or-later
Group: Productivity/Networking/Other
URL: http://nbd.sourceforge.net/
Source0: https://sourceforge.net/projects/nbd/files/nbd/%{version}/nbd-%{version}.tar.xz
@ -76,8 +72,8 @@ install -D -p -m 0644 %{SOURCE1} \
ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{name}-server
# autoload nbd module
install -d -m 755 %{buildroot}%{_prefix}/lib/modules-load.d/
echo "nbd" > %{buildroot}%{_prefix}/lib/modules-load.d/%{name}.conf
install -d -m 755 %{buildroot}%{_libexecdir}/modules-load.d/
echo "nbd" > %{buildroot}%{_libexecdir}/modules-load.d/%{name}.conf
#echo "#Port file options" > $RPM_BUILD_ROOT/etc/nbd-server.conf
mkdir -p %{buildroot}%{_sysconfdir}/nbd-server
@ -128,18 +124,18 @@ fi
%{_sbindir}/rcnbd-server
%{_unitdir}/%{name}@.service
%{_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}
%{_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
%dir %{_libexecdir}/modules-load.d/
%{_libexecdir}/modules-load.d/nbd.conf
%{_fillupdir}/sysconfig.%{name}-server
%changelog