diff --git a/0001_fix_setgroup.patch b/0001_fix_setgroup.patch index 750559c..69b569a 100644 --- a/0001_fix_setgroup.patch +++ b/0001_fix_setgroup.patch @@ -16,14 +16,14 @@ Signed-off-by: Luiz Angelo Daros de Luca nbd-server.c | 1 + 1 file changed, 1 insertion(+) -diff --git a/nbd-server.c b/nbd-server.c -index 1d1f4c8d..b0720ea1 100644 ---- a/nbd-server.c -+++ b/nbd-server.c -@@ -3470,6 +3470,7 @@ void dousers(const gchar *const username, const gchar *const groupname) { - str = g_strdup_printf("Invalid user name: %s", username); +Index: nbd-3.18/nbd-server.c +=================================================================== +--- nbd-3.18.orig/nbd-server.c ++++ nbd-3.18/nbd-server.c +@@ -3471,6 +3471,7 @@ void dousers(const gchar *const username err(str); } + setgroups(0, NULL); + setgroups(0, NULL); if(setuid(pw->pw_uid)<0) { err("Could not set UID: %m"); diff --git a/nbd-3.17.tar.xz b/nbd-3.17.tar.xz deleted file mode 100644 index 6456241..0000000 --- a/nbd-3.17.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d95c6bb1a3ab33b953af99b73fb4833e123bd25433513b32d57dbeb1a0a0d189 -size 511224 diff --git a/nbd-3.18.tar.xz b/nbd-3.18.tar.xz new file mode 100644 index 0000000..43d9b43 --- /dev/null +++ b/nbd-3.18.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d83762cefc3e87171283652b71595e5d01a54f95d912315b823a49b0a3d46031 +size 527436 diff --git a/nbd.changes b/nbd.changes index 5e54d48..f327408 100644 --- a/nbd.changes +++ b/nbd.changes @@ -1,3 +1,22 @@ +------------------------------------------------------------------- +Tue Jan 15 15:09:19 UTC 2019 - Martin Pluskal + +- Update to version 1.18.0: + * Client: Add the "-g" option to avoid even trying the NBD_OPT_GO + message + * Server: fixes to inetd mode + * Don't make gnutls and libnl automagic. + * Server: bugfixes in handling of some export names during verification. + * Server: clean supplementary groups when changing user. + * Client: when using the netlink protocol, only set a timeout + when there actually is a timeout, rather than defaulting to 0 + seconds + * Improve documentation on the nbdtab file + * Minor improvements to some error messages + * Improvements to test suite so it works better on non-GNU + userland environments +- Refresh 0001_fix_setgroup.patch + ------------------------------------------------------------------- Fri Sep 7 08:08:46 UTC 2018 - olaf@aepfle.de diff --git a/nbd.spec b/nbd.spec index 4592390..5fd9806 100644 --- a/nbd.spec +++ b/nbd.spec @@ -1,7 +1,7 @@ # # spec file for package nbd # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 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 @@ -12,21 +12,20 @@ # 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/ # -%if ! %{defined _fillupdir} - %define _fillupdir /var/adm/fillup-templates -%endif +%if ! %{defined _fillupdir} + %define _fillupdir %{_localstatedir}/adm/fillup-templates +%endif %if 0%{?suse_version} >= 1500 %define use_firewalld 1 %else %define use_firewalld 0 %endif - Name: nbd -Version: 3.17 +Version: 3.18 Release: 0 Summary: Network Block Device Server and Client Utilities License: GPL-2.0-or-later