commit nbd for openSUSE:Factory

2020-10-03 Thread root
Hello community,

here is the log from the commit of package nbd for openSUSE:Factory checked in 
at 2020-10-03 18:56:08

Comparing /work/SRC/openSUSE:Factory/nbd (Old)
 and  /work/SRC/openSUSE:Factory/.nbd.new.4249 (New)


Package is "nbd"

Sat Oct  3 18:56:08 2020 rev:54 rq:838464 version:3.20

Changes:

--- /work/SRC/openSUSE:Factory/nbd/nbd.changes  2020-09-21 17:12:24.263406504 
+0200
+++ /work/SRC/openSUSE:Factory/.nbd.new.4249/nbd.changes2020-10-03 
18:56:43.721563776 +0200
@@ -7,0 +8,14 @@
+Fri Sep 11 18:22:18 UTC 2020 - Franck Bui 
+
+- Drop use of DISABLE_RESTART_ON_UPDATE=yes
+
+  This interface is deprecated and %service_del_postun_without_restart
+  should be preferred.
+
+  However the variable was misused as DISABLE_RESTART_ON_UPDATE=yes
+  was not supposed to be used with %service_add_post in %post but with
+  %service_del_postun in %postun section.
+
+  Given that no one noticed that for years let's just drop it.
+
+---
@@ -536,0 +551 @@
+Mon Jul  4 18:24:39 CEST 2005 - 



Other differences:
--
++ nbd.spec ++
--- /var/tmp/diff_new_pack.flKlFc/_old  2020-10-03 18:56:45.329565557 +0200
+++ /var/tmp/diff_new_pack.flKlFc/_new  2020-10-03 18:56:45.329565557 +0200
@@ -89,7 +89,6 @@
 install -D -p -m 0644 %{SOURCE4} 
%{buildroot}%{_fillupdir}/sysconfig.%{name}-server
 
 %post
-export DISABLE_RESTART_ON_UPDATE=yes
 %service_add_post %{name}-server.service
 %fillup_only -n nbd-server
 if test -e %{_sysconfdir}/nbd-server.conf; then




commit nbd for openSUSE:Factory

2020-09-21 Thread root
Hello community,

here is the log from the commit of package nbd for openSUSE:Factory checked in 
at 2020-09-21 17:10:42

Comparing /work/SRC/openSUSE:Factory/nbd (Old)
 and  /work/SRC/openSUSE:Factory/.nbd.new.4249 (New)


Package is "nbd"

Mon Sep 21 17:10:42 2020 rev:53 rq:835407 version:3.20

Changes:

--- /work/SRC/openSUSE:Factory/nbd/nbd.changes  2020-08-21 19:01:55.000275624 
+0200
+++ /work/SRC/openSUSE:Factory/.nbd.new.4249/nbd.changes2020-09-21 
17:12:24.263406504 +0200
@@ -1,0 +2,6 @@
+Fri Sep 18 08:53:47 UTC 2020 - MichaƂ Rostecki 
+
+- Remove firewalld service file - it's in the main firewalld
+  package now.
+
+---

Old:

  nbd.firewalld



Other differences:
--
++ nbd.spec ++
--- /var/tmp/diff_new_pack.VyLXtO/_old  2020-09-21 17:12:31.155412700 +0200
+++ /var/tmp/diff_new_pack.VyLXtO/_new  2020-09-21 17:12:31.159412704 +0200
@@ -19,11 +19,6 @@
 %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.20
 Release:0
@@ -36,9 +31,6 @@
 Source3:config.example
 Source4:nbd-server.sysconfig
 Source5:nbd-client.service
-#%%if %%{use_firewalld}
-Source10:   nbd.firewalld
-#%%endif
 Patch1: 0001_fix_setgroup.patch
 BuildRequires:  pkgconfig
 BuildRequires:  systemd-rpm-macros
@@ -96,11 +88,6 @@
 install -D -p -m 0644 %{SOURCE3} 
%{buildroot}%{_sysconfdir}/nbd-server/config.example
 install -D -p -m 0644 %{SOURCE4} 
%{buildroot}%{_fillupdir}/sysconfig.%{name}-server
 
-# install firewall information file
-%if %{use_firewalld}
-install -D -m 644 %{SOURCE10} 
%{buildroot}%{_prefix}/lib/firewalld/services/%{name}.xml
-%endif
-
 %post
 export DISABLE_RESTART_ON_UPDATE=yes
 %service_add_post %{name}-server.service
@@ -158,10 +145,5 @@
 %dir %{_prefix}/lib/modules-load.d/
 %{_prefix}/lib/modules-load.d/nbd.conf
 %{_fillupdir}/sysconfig.%{name}-server
-%if %{use_firewalld}
-%dir %{_prefix}/lib/firewalld
-%dir %{_prefix}/lib/firewalld/services
-%{_prefix}/lib/firewalld/services/%{name}.xml
-%endif
 
 %changelog




commit nbd for openSUSE:Factory

2020-08-21 Thread root
Hello community,

here is the log from the commit of package nbd for openSUSE:Factory checked in 
at 2020-08-21 19:01:38

Comparing /work/SRC/openSUSE:Factory/nbd (Old)
 and  /work/SRC/openSUSE:Factory/.nbd.new.3399 (New)


Package is "nbd"

Fri Aug 21 19:01:38 2020 rev:52 rq:828024 version:3.20

Changes:

--- /work/SRC/openSUSE:Factory/nbd/nbd.changes  2020-03-25 23:41:41.131961986 
+0100
+++ /work/SRC/openSUSE:Factory/.nbd.new.3399/nbd.changes2020-08-21 
19:01:55.000275624 +0200
@@ -1,0 +2,11 @@
+Thu Aug 20 07:03:13 UTC 2020 - Dominique Leuenberger 
+
+- Fix typo in previous commit (%{prefix/lib} ->%{_prefix}/lib).
+
+---
+Tue Aug 18 15:27:46 UTC 2020 - Dominique Leuenberger 
+
+- Fix wrong usage of %{_libexecdir} for systemd/firewalld owned
+  paths.
+
+---



Other differences:
--
++ nbd.spec ++
--- /var/tmp/diff_new_pack.i17dvp/_old  2020-08-21 19:01:57.312276997 +0200
+++ /var/tmp/diff_new_pack.i17dvp/_new  2020-08-21 19:01:57.316277000 +0200
@@ -86,8 +86,8 @@
 ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{name}-server
 
 # autoload nbd module
-install -d -m 755 %{buildroot}%{_libexecdir}/modules-load.d/
-echo "nbd" > %{buildroot}%{_libexecdir}/modules-load.d/%{name}.conf
+install -d -m 755 %{buildroot}%{_prefix}/lib/modules-load.d/
+echo "nbd" > %{buildroot}%{_prefix}/lib/modules-load.d/%{name}.conf
 
 #echo "#Port   fileoptions" > $RPM_BUILD_ROOT/etc/nbd-server.conf
 mkdir -p %{buildroot}%{_sysconfdir}/nbd-server
@@ -98,7 +98,7 @@
 
 # install firewall information file
 %if %{use_firewalld}
-install -D -m 644 %{SOURCE10} 
%{buildroot}%{_libexecdir}/firewalld/services/%{name}.xml
+install -D -m 644 %{SOURCE10} 
%{buildroot}%{_prefix}/lib/firewalld/services/%{name}.xml
 %endif
 
 %post
@@ -155,13 +155,13 @@
 %ghost %config(noreplace) %{_sysconfdir}/nbd-server/config
 %ghost %config(noreplace) %{_sysconfdir}/nbd-server/allow
 %config %{_sysconfdir}/nbd-server/config.example
-%dir %{_libexecdir}/modules-load.d/
-%{_libexecdir}/modules-load.d/nbd.conf
+%dir %{_prefix}/lib/modules-load.d/
+%{_prefix}/lib/modules-load.d/nbd.conf
 %{_fillupdir}/sysconfig.%{name}-server
 %if %{use_firewalld}
-%dir %{_libexecdir}/firewalld
-%dir %{_libexecdir}/firewalld/services
-%{_libexecdir}/firewalld/services/%{name}.xml
+%dir %{_prefix}/lib/firewalld
+%dir %{_prefix}/lib/firewalld/services
+%{_prefix}/lib/firewalld/services/%{name}.xml
 %endif
 
 %changelog




commit nbd for openSUSE:Factory

2020-03-25 Thread root
Hello community,

here is the log from the commit of package nbd for openSUSE:Factory checked in 
at 2020-03-25 23:41:38

Comparing /work/SRC/openSUSE:Factory/nbd (Old)
 and  /work/SRC/openSUSE:Factory/.nbd.new.3160 (New)


Package is "nbd"

Wed Mar 25 23:41:38 2020 rev:51 rq:786152 version:3.20

Changes:

--- /work/SRC/openSUSE:Factory/nbd/nbd.changes  2019-06-12 13:04:36.689226130 
+0200
+++ /work/SRC/openSUSE:Factory/.nbd.new.3160/nbd.changes2020-03-25 
23:41:41.131961986 +0100
@@ -1,0 +2,5 @@
+Wed Mar 18 10:36:55 UTC 2020 - Paolo Stivanin 
+
+- Update to 3.20.0 (no changelog)
+
+---

Old:

  nbd-3.19.tar.xz

New:

  nbd-3.20.tar.xz



Other differences:
--
++ nbd.spec ++
--- /var/tmp/diff_new_pack.ytjOuJ/_old  2020-03-25 23:41:41.735962184 +0100
+++ /var/tmp/diff_new_pack.ytjOuJ/_new  2020-03-25 23:41:41.739962185 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package nbd
 #
-# Copyright (c) 2019 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
@@ -25,7 +25,7 @@
 %define use_firewalld 0
 %endif
 Name:   nbd
-Version:3.19
+Version:3.20
 Release:0
 Summary:Network Block Device Server and Client Utilities
 License:GPL-2.0-or-later
@@ -73,7 +73,7 @@
 
 %build
 %configure
-make %{?_smp_mflags}
+%make_build
 
 %install
 %make_install

++ nbd-3.19.tar.xz -> nbd-3.20.tar.xz ++
 1648 lines of diff (skipped)
retrying with extended exclude list
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/nbd-3.19/cliserv.h new/nbd-3.20/cliserv.h
--- old/nbd-3.19/cliserv.h  2018-11-23 12:27:50.0 +0100
+++ new/nbd-3.20/cliserv.h  2019-04-12 17:18:59.0 +0200
@@ -76,7 +76,8 @@
 void setmysockopt(int sock);
 void err_nonfatal(const char *s);
 
-void err(const char *s) G_GNUC_NORETURN;
+void nbd_err(const char *s) G_GNUC_NORETURN;
+#define err(S) nbd_err(S)
 
 void logging(const char* name);
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/nbd-3.19/config.h.in new/nbd-3.20/config.h.in
--- old/nbd-3.19/config.h.in2019-01-30 16:34:42.0 +0100
+++ new/nbd-3.20/config.h.in2019-09-15 14:04:48.0 +0200
@@ -16,6 +16,9 @@
 /* Define to 1 if you have the  header file. */
 #undef HAVE_ARPA_INET_H
 
+/* Define to 1 if you have the BLKDISCARD ioctl */
+#undef HAVE_BLKDISCARD
+
 /* Define to 1 if you have the  header file, and it defines `DIR'.
*/
 #undef HAVE_DIRENT_H
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/nbd-3.19/configure.ac new/nbd-3.20/configure.ac
--- old/nbd-3.19/configure.ac   2019-01-30 16:24:10.0 +0100
+++ new/nbd-3.20/configure.ac   2019-09-15 14:04:36.0 +0200
@@ -13,6 +13,7 @@
 ])
 AM_INIT_AUTOMAKE(foreign dist-xz serial_tests subdir-objects)
 AM_MAINTAINER_MODE([enable])
+AM_SILENT_RULES([yes])
 AC_CONFIG_MACRO_DIR([support])
 LT_INIT
 
@@ -142,6 +143,8 @@
AC_MSG_RESULT([no])
 fi
 
+AC_CHECK_DECL([BLKDISCARD], AC_DEFINE(HAVE_BLKDISCARD, 1, [Define to 1 if you 
have the BLKDISCARD ioctl]), AC_DEFINE(HAVE_BLKDISCARD, 0), [#include 
])
+
 AC_CHECK_FUNC(splice, [HAVE_SPLICE=yes], [HAVE_SPLICE=no])
 if test "$HAVE_SPLICE" = "yes"
 then
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/nbd-3.19/doc/Makefile.am new/nbd-3.20/doc/Makefile.am
--- old/nbd-3.19/doc/Makefile.am2018-11-23 12:27:50.0 +0100
+++ new/nbd-3.20/doc/Makefile.am2019-09-15 13:35:52.0 +0200
@@ -1 +1 @@
-EXTRA_DIST = README proto.md todo.txt
+EXTRA_DIST = README proto.md todo.txt uri.md
diff -urN

commit nbd for openSUSE:Factory

2019-06-12 Thread root
Hello community,

here is the log from the commit of package nbd for openSUSE:Factory checked in 
at 2019-06-12 13:04:23

Comparing /work/SRC/openSUSE:Factory/nbd (Old)
 and  /work/SRC/openSUSE:Factory/.nbd.new.4811 (New)


Package is "nbd"

Wed Jun 12 13:04:23 2019 rev:50 rq:706327 version:3.19

Changes:

--- /work/SRC/openSUSE:Factory/nbd/nbd.changes  2019-02-04 21:18:52.931703227 
+0100
+++ /work/SRC/openSUSE:Factory/.nbd.new.4811/nbd.changes2019-06-12 
13:04:36.689226130 +0200
@@ -1,0 +2,12 @@
+Wed May 29 13:43:41 UTC 2019 - Martin Pluskal 
+
+- Update to version 3.19.0:
+  * Better error messages in case of unexpected disconnects
+  * Better compatibility with non-bash sh implementations
+(for configure.sh)
+  * Fix for a segfault in NBD_OPT_INFO handling
+  * The ability to specify whether to listen on both TCP and Unix
+domain sockets, rather than to always do so
+  * Various minor editorial and spelling fixes in the documentation.
+
+---

Old:

  nbd-3.18.tar.xz

New:

  nbd-3.19.tar.xz



Other differences:
--
++ nbd.spec ++
--- /var/tmp/diff_new_pack.o450db/_old  2019-06-12 13:04:37.337225858 +0200
+++ /var/tmp/diff_new_pack.o450db/_new  2019-06-12 13:04:37.341225857 +0200
@@ -25,7 +25,7 @@
 %define use_firewalld 0
 %endif
 Name:   nbd
-Version:3.18
+Version:3.19
 Release:0
 Summary:Network Block Device Server and Client Utilities
 License:GPL-2.0-or-later
@@ -44,6 +44,7 @@
 BuildRequires:  systemd-rpm-macros
 BuildRequires:  pkgconfig(glib-2.0) >= 2.26.0
 BuildRequires:  pkgconfig(gnutls)
+BuildRequires:  pkgconfig(libnl-3.0)
 Requires(pre):  %fillup_prereq
 Requires(pre):  coreutils
 %systemd_requires

++ 0001_fix_setgroup.patch ++
--- /var/tmp/diff_new_pack.o450db/_old  2019-06-12 13:04:37.365225847 +0200
+++ /var/tmp/diff_new_pack.o450db/_new  2019-06-12 13:04:37.365225847 +0200
@@ -16,11 +16,11 @@
  nbd-server.c | 1 +
  1 file changed, 1 insertion(+)
 
-Index: nbd-3.18/nbd-server.c
+Index: nbd-3.19/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
+--- nbd-3.19.orig/nbd-server.c
 nbd-3.19/nbd-server.c
+@@ -3476,6 +3476,7 @@ void dousers(const gchar *const username
err(str);
}
setgroups(0, NULL);

++ nbd-3.18.tar.xz -> nbd-3.19.tar.xz ++
 1779 lines of diff (skipped)
retrying with extended exclude list
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/nbd-3.18/README.md new/nbd-3.19/README.md
--- old/nbd-3.18/README.md  2018-03-16 19:22:16.0 +0100
+++ new/nbd-3.19/README.md  2018-11-23 12:27:50.0 +0100
@@ -19,7 +19,7 @@
 
 If you want to send a patch, please do not open a pull request; instead, send
 it to the
-[mailinglist](https://lists.sourceforge.net/lists/listinfo/nbd-general)
+[mailinglist](https://lists.debian.org/nbd)
 
 Using NBD
 -
@@ -108,7 +108,7 @@
 If you're packaging NBD for a different operating system that isn't in
 the above list, I'd like to know about it.
 
-For questions, please use the `nbd-gene...@lists.sourceforge.net` mailinglist.
+For questions, please use the 
[n...@other.debian.org](mailto:n...@other.debian.org) mailinglist.
 
 Badges
 ==
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/nbd-3.18/autogen.sh new/nbd-3.19/autogen.sh
--- old/nbd-3.18/autogen.sh 2017-06-05 16:18:09.0 +0200
+++ new/nbd-3.19/autogen.sh 2019-01-30 16:25:41.0 +0100
@@ -1,5 +1,5 @@
 #!/bin/sh
 set -ex
-make -C man -f Makefile.am nbd-server.1.sh.in nbd-server.5.sh.in 
nbd-client.8.sh.in nbd-trdump.1.sh.in nbdtab.5.sh.in
+make -C man -f mans.mk nbd-server.1.sh.in nbd-server.5.sh.in 
nbd-client.8.sh.in nbd-trdump.1.sh.in nbdtab.5.sh.in
 make -C systemd -f Makefile.am n...@.service.sh.in
 exec autoreconf -f -i
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude ac

commit nbd for openSUSE:Factory

2019-02-04 Thread root
Hello community,

here is the log from the commit of package nbd for openSUSE:Factory checked in 
at 2019-02-04 21:18:37

Comparing /work/SRC/openSUSE:Factory/nbd (Old)
 and  /work/SRC/openSUSE:Factory/.nbd.new.28833 (New)


Package is "nbd"

Mon Feb  4 21:18:37 2019 rev:49 rq:666270 version:3.18

Changes:

--- /work/SRC/openSUSE:Factory/nbd/nbd.changes  2018-09-18 11:42:10.847989331 
+0200
+++ /work/SRC/openSUSE:Factory/.nbd.new.28833/nbd.changes   2019-02-04 
21:18:52.931703227 +0100
@@ -1,0 +2,19 @@
+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
+
+---

Old:

  nbd-3.17.tar.xz

New:

  nbd-3.18.tar.xz



Other differences:
--
++ nbd.spec ++
--- /var/tmp/diff_new_pack.lJNKFx/_old  2019-02-04 21:18:58.187701233 +0100
+++ /var/tmp/diff_new_pack.lJNKFx/_new  2019-02-04 21:18:58.191701231 +0100
@@ -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
+  %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

++ 0001_fix_setgroup.patch ++
--- /var/tmp/diff_new_pack.lJNKFx/_old  2019-02-04 21:18:58.203701227 +0100
+++ /var/tmp/diff_new_pack.lJNKFx/_new  2019-02-04 21:18:58.207701226 +0100
@@ -16,14 +16,14 @@
  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");

++ nbd-3.17.tar.xz -> nbd-3.18.tar.xz ++
 4772 lines of diff (skipped)




commit nbd for openSUSE:Factory

2018-09-18 Thread root
Hello community,

here is the log from the commit of package nbd for openSUSE:Factory checked in 
at 2018-09-18 11:42:07

Comparing /work/SRC/openSUSE:Factory/nbd (Old)
 and  /work/SRC/openSUSE:Factory/.nbd.new (New)


Package is "nbd"

Tue Sep 18 11:42:07 2018 rev:48 rq:633981 version:3.17

Changes:

--- /work/SRC/openSUSE:Factory/nbd/nbd.changes  2018-08-20 16:16:53.320608503 
+0200
+++ /work/SRC/openSUSE:Factory/.nbd.new/nbd.changes 2018-09-18 
11:42:10.847989331 +0200
@@ -1,0 +2,5 @@
+Fri Sep  7 08:08:46 UTC 2018 - o...@aepfle.de
+
+- Provide %_fillupdir in case it is not defined
+
+---



Other differences:
--
++ nbd.spec ++
--- /var/tmp/diff_new_pack.NU0OlC/_old  2018-09-18 11:42:11.595988548 +0200
+++ /var/tmp/diff_new_pack.NU0OlC/_new  2018-09-18 11:42:11.599988543 +0200
@@ -15,6 +15,9 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+%if ! %{defined _fillupdir}
+  %define _fillupdir /var/adm/fillup-templates
+%endif
 
 %if 0%{?suse_version} >= 1500
 %define use_firewalld 1




commit nbd for openSUSE:Factory

2018-08-20 Thread root
Hello community,

here is the log from the commit of package nbd for openSUSE:Factory checked in 
at 2018-08-20 16:16:43

Comparing /work/SRC/openSUSE:Factory/nbd (Old)
 and  /work/SRC/openSUSE:Factory/.nbd.new (New)


Package is "nbd"

Mon Aug 20 16:16:43 2018 rev:47 rq:628877 version:3.17

Changes:

--- /work/SRC/openSUSE:Factory/nbd/nbd.changes  2018-07-13 10:18:33.558255659 
+0200
+++ /work/SRC/openSUSE:Factory/.nbd.new/nbd.changes 2018-08-20 
16:16:53.320608503 +0200
@@ -1,0 +2,8 @@
+Tue Jul 24 19:31:37 UTC 2018 - luizl...@gmail.com
+
+- Add firewalld service file
+- Fix some rpmlint warnings:
+  * 0001_fix_setgroup.patch (gh#NetworkBlockDevice/nbd#79)
+  * Workaround macro-in-comment (rpmlint bug)
+
+---

New:

  0001_fix_setgroup.patch
  nbd.firewalld



Other differences:
--
++ nbd.spec ++
--- /var/tmp/diff_new_pack.KO66XM/_old  2018-08-20 16:16:55.284611265 +0200
+++ /var/tmp/diff_new_pack.KO66XM/_new  2018-08-20 16:16:55.288611270 +0200
@@ -16,6 +16,12 @@
 #
 
 
+%if 0%{?suse_version} >= 1500
+%define use_firewalld 1
+%else
+%define use_firewalld 0
+%endif
+
 Name:   nbd
 Version:3.17
 Release:0
@@ -28,6 +34,10 @@
 Source3:config.example
 Source4:nbd-server.sysconfig
 Source5:nbd-client.service
+#%%if %%{use_firewalld}
+Source10:   nbd.firewalld
+#%%endif
+Patch1: 0001_fix_setgroup.patch
 BuildRequires:  pkgconfig
 BuildRequires:  systemd-rpm-macros
 BuildRequires:  pkgconfig(glib-2.0) >= 2.26.0
@@ -56,6 +66,7 @@
 
 %prep
 %setup -q
+%patch1 -p1
 
 %build
 %configure
@@ -82,6 +93,11 @@
 install -D -p -m 0644 %{SOURCE3} 
%{buildroot}%{_sysconfdir}/nbd-server/config.example
 install -D -p -m 0644 %{SOURCE4} 
%{buildroot}%{_fillupdir}/sysconfig.%{name}-server
 
+# install firewall information file
+%if %{use_firewalld}
+install -D -m 644 %{SOURCE10} 
%{buildroot}%{_libexecdir}/firewalld/services/%{name}.xml
+%endif
+
 %post
 export DISABLE_RESTART_ON_UPDATE=yes
 %service_add_post %{name}-server.service
@@ -93,10 +109,12 @@
   grep -vE '^(#|[[:blank:]]*$)' %{_sysconfdir}/nbd-server.conf |
   while read port file opts; do
 if test -z "$generic"; then
-  echo > %{_sysconfdir}/nbd-server/config
-  echo "[generic]" >> %{_sysconfdir}/nbd-server/config
-  echo "   # No generic options yet" >> %{_sysconfdir}/nbd-server/config
-  echo >> %{_sysconfdir}/nbd-server/config
+  cat >%{_sysconfdir}/nbd-server/config <<-EOF
+
+   [generic]
+  # No generic options yet
+
+   EOF
   generic=1
 fi
 FN=${file%/*}
@@ -137,5 +155,10 @@
 %dir %{_libexecdir}/modules-load.d/
 %{_libexecdir}/modules-load.d/nbd.conf
 %{_fillupdir}/sysconfig.%{name}-server
+%if %{use_firewalld}
+%dir %{_libexecdir}/firewalld
+%dir %{_libexecdir}/firewalld/services
+%{_libexecdir}/firewalld/services/%{name}.xml
+%endif
 
 %changelog

++ 0001_fix_setgroup.patch ++
>From 0cd9e3ba2a0f54d930d813bfde9ff9d57a12d9ed Mon Sep 17 00:00:00 2001
From: Luiz Angelo Daros de Luca 
Date: Tue, 24 Jul 2018 15:59:39 -0300
Subject: [PATCH] server: clean supplementary groups when setuid
Upstream: merged
References: 
https://github.com/NetworkBlockDevice/nbd/commit/0cd9e3ba2a0f54d930d813bfde9ff9d57a12d9ed
References: gh#NetworkBlockDevice/nbd#79
References: https://github.com/NetworkBlockDevice/nbd/pull/79 

When nbd-server drops privileges, it was leaving supplementary
groups untouched. As nbd-server was normally dropping from root,
nbd-server kept membership to root supplementary groups.

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);
err(str);
}
+   setgroups(0, NULL);
if(setuid(pw->pw_uid)<0) {
err("Could not set UID: %m");
}
++ nbd.firewalld ++


  NBD
  The Network Block Device is a Linux-originated lightweight block 
access protocol that allows one to export a block device to a 
client.
  




commit nbd for openSUSE:Factory

2018-07-13 Thread root
Hello community,

here is the log from the commit of package nbd for openSUSE:Factory checked in 
at 2018-07-13 10:18:28

Comparing /work/SRC/openSUSE:Factory/nbd (Old)
 and  /work/SRC/openSUSE:Factory/.nbd.new (New)


Package is "nbd"

Fri Jul 13 10:18:28 2018 rev:46 rq:621736 version:3.17

Changes:

--- /work/SRC/openSUSE:Factory/nbd/nbd.changes  2018-01-16 09:24:22.712204008 
+0100
+++ /work/SRC/openSUSE:Factory/.nbd.new/nbd.changes 2018-07-13 
10:18:33.558255659 +0200
@@ -1,0 +2,8 @@
+Mon Jul  9 14:47:47 UTC 2018 - mplus...@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
+
+---

Old:

  nbd-3.16.2.tar.xz

New:

  nbd-3.17.tar.xz



Other differences:
--
++ nbd.spec ++
--- /var/tmp/diff_new_pack.Emy3wE/_old  2018-07-13 10:18:34.446256714 +0200
+++ /var/tmp/diff_new_pack.Emy3wE/_new  2018-07-13 10:18:34.446256714 +0200
@@ -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 @@
 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   fileoptions" > $RPM_BUILD_ROOT/etc/nbd-server.conf
 mkdir -p %{buildroot}%{_sysconfdir}/nbd-server
@@ -128,18 +124,18 @@
 %{_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

++ nbd-3.16.2.tar.xz -> nbd-3.17.tar.xz ++
 5178 lines of diff (skipped)




commit nbd for openSUSE:Factory

2018-01-16 Thread root
Hello community,

here is the log from the commit of package nbd for openSUSE:Factory checked in 
at 2018-01-16 09:24:21

Comparing /work/SRC/openSUSE:Factory/nbd (Old)
 and  /work/SRC/openSUSE:Factory/.nbd.new (New)


Package is "nbd"

Tue Jan 16 09:24:21 2018 rev:45 rq:561881 version:3.16.2

Changes:

--- /work/SRC/openSUSE:Factory/nbd/nbd.changes  2017-11-30 12:36:59.468244119 
+0100
+++ /work/SRC/openSUSE:Factory/.nbd.new/nbd.changes 2018-01-16 
09:24:22.712204008 +0100
@@ -1,0 +2,11 @@
+Fri Jan  5 13:15:24 UTC 2018 - mplus...@suse.com
+
+- Update to version 1.16.2:
+  * Make the test suite less chatty
+  * Various build system improvements
+  * Fixes to the systemd unit to make it work again with recent
+systemd
+  * Point to the nbd mailinglist, rather than to the maintainer's
+personal email address, for bug reports.
+
+---

Old:

  nbd-3.16.1.tar.xz

New:

  nbd-3.16.2.tar.xz



Other differences:
--
++ nbd.spec ++
--- /var/tmp/diff_new_pack.mJYbTT/_old  2018-01-16 09:24:23.952145997 +0100
+++ /var/tmp/diff_new_pack.mJYbTT/_new  2018-01-16 09:24:23.960145623 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package nbd
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 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
@@ -18,17 +18,16 @@
 
 #Compat macro for new _fillupdir macro introduced in Nov 2017
 %if ! %{defined _fillupdir}
-  %define _fillupdir /var/adm/fillup-templates
+  %define _fillupdir %{_localstatedir}/adm/fillup-templates
 %endif
-
 Name:   nbd
-Version:3.16.1
+Version:3.16.2
 Release:0
 Summary:Network Block Device Server and Client Utilities
 License:GPL-2.0+
 Group:  Productivity/Networking/Other
-Url:http://nbd.sourceforge.net/
-Source0:
http://downloads.sourceforge.net/project/%{name}/%{name}/%{version}/%{name}-%{version}.tar.xz
+URL:http://nbd.sourceforge.net/
+Source0:
https://sourceforge.net/projects/nbd/files/nbd/%{version}/nbd-%{version}.tar.xz
 Source1:%{name}-server.service
 Source3:config.example
 Source4:nbd-server.sysconfig
@@ -122,7 +121,6 @@
 %service_del_preun %{name}-server.service
 
 %files
-%defattr(-,root,root)
 %{_sbindir}/nbd-client
 %{_bindir}/nbd-server
 %{_bindir}/nbd-trdump

++ nbd-3.16.1.tar.xz -> nbd-3.16.2.tar.xz ++
 2076 lines of diff (skipped)
retrying with extended exclude list
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/nbd-3.16.1/ChangeLog new/nbd-3.16.2/ChangeLog
--- old/nbd-3.16.1/ChangeLog1970-01-01 01:00:00.0 +0100
+++ new/nbd-3.16.2/ChangeLog2017-09-12 00:56:00.0 +0200
@@ -0,0 +1,119 @@
+commit e793db14c56cc31786d0c2d40e211c9c76336a98
+Author: Wouter Verhelst 
+Date:   Tue Sep 12 00:46:15 2017 +0200
+
+Update list address to reflect the name that was actually assigned
+
+commit bc33392cbb989b20fdee11e4e7150ce3f31094df
+Author: Wouter Verhelst 
+Date:   Sat Sep 9 14:04:53 2017 +0200
+
+Ignore the minimal (i.e., non-TLS-enabled) version of nbd-client
+
+commit 4dacee036571756891afe50a00aafe8d0553ee93
+Author: Wouter Verhelst 
+Date:   Sat Sep 9 14:01:25 2017 +0200
+
+Don't forget to actually add the configure check
+
+Fixes: 866c2d5752901e8f47c86beb64fea05acf11a825
+
+commit 7d8b8869029356379c24780bab277117588e9fd3
+Author: Wouter Verhelst 
+Date:   Sat Sep 9 14:00:20 2017 +0200
+
+Ensure that  is included when it's needed
+
+commit edbb5c36d7ef43322795d3cde7479901607f941c
+Author: Wouter Verhelst 
+Date:   Sat Sep 9 13:59:09 2017 +0200
+
+Update bugreport address to point to mailinglist (at new address), rather 
than me
+
+commit 8b251d97e659a2509e7c666af17f01c021bb01d4
+Author: Wouter Verhelst 
+Date:   Sun Jul 16 12:06:31 2017 +0200
+
+We can't do anything unless and until the network is up and running
+
+commit 74441dff9a5e151c5ea1abb1b4527414577238ef
+Author: Wouter Verhelst 
+Date:   Sun Jul 16 11:40:38 2017 +0200
+
+Ensure we get shut down properly, too
+
+Now that we have DefaultDependencies=no, we don't have the default
+Conflicts=shutdown.target anymore, which means we won't be stopped at
+shutdown time.
+
+Add an explicit dependency for that.
+
+commit 2033647beec4d9e

commit nbd for openSUSE:Factory

2017-11-30 Thread root
Hello community,

here is the log from the commit of package nbd for openSUSE:Factory checked in 
at 2017-11-30 12:36:58

Comparing /work/SRC/openSUSE:Factory/nbd (Old)
 and  /work/SRC/openSUSE:Factory/.nbd.new (New)


Package is "nbd"

Thu Nov 30 12:36:58 2017 rev:44 rq:544873 version:3.16.1

Changes:

--- /work/SRC/openSUSE:Factory/nbd/nbd.changes  2017-10-23 16:36:52.294793463 
+0200
+++ /work/SRC/openSUSE:Factory/.nbd.new/nbd.changes 2017-11-30 
12:36:59.468244119 +0100
@@ -1,0 +2,6 @@
+Thu Nov 23 13:46:10 UTC 2017 - rbr...@suse.com
+
+- Replace references to /var/adm/fillup-templates with new 
+  %_fillupdir macro (boo#1069468)
+
+---



Other differences:
--
++ nbd.spec ++
--- /var/tmp/diff_new_pack.UEscWZ/_old  2017-11-30 12:37:00.700199320 +0100
+++ /var/tmp/diff_new_pack.UEscWZ/_new  2017-11-30 12:37:00.716198739 +0100
@@ -16,6 +16,11 @@
 #
 
 
+#Compat macro for new _fillupdir macro introduced in Nov 2017
+%if ! %{defined _fillupdir}
+  %define _fillupdir /var/adm/fillup-templates
+%endif
+
 Name:   nbd
 Version:3.16.1
 Release:0
@@ -80,7 +85,7 @@
 touch %{buildroot}%{_sysconfdir}/nbd-server/config
 touch %{buildroot}%{_sysconfdir}/nbd-server/allow
 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
+install -D -p -m 0644 %{SOURCE4} 
%{buildroot}%{_fillupdir}/sysconfig.%{name}-server
 
 %post
 export DISABLE_RESTART_ON_UPDATE=yes
@@ -137,6 +142,6 @@
 %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
+%{_fillupdir}/sysconfig.%{name}-server
 
 %changelog




commit nbd for openSUSE:Factory

2017-10-23 Thread root
Hello community,

here is the log from the commit of package nbd for openSUSE:Factory checked in 
at 2017-10-23 16:36:51

Comparing /work/SRC/openSUSE:Factory/nbd (Old)
 and  /work/SRC/openSUSE:Factory/.nbd.new (New)


Package is "nbd"

Mon Oct 23 16:36:51 2017 rev:43 rq:533917 version:3.16.1

Changes:

--- /work/SRC/openSUSE:Factory/nbd/nbd.changes  2017-09-12 19:37:17.427793019 
+0200
+++ /work/SRC/openSUSE:Factory/.nbd.new/nbd.changes 2017-10-23 
16:36:52.294793463 +0200
@@ -1,0 +2,6 @@
+Fri Oct 13 09:58:54 UTC 2017 - o...@aepfle.de
+
+- Disable restart on update to keep existing client connections alive
+  (bsc#1063135)
+
+---



Other differences:
--
++ nbd.spec ++
--- /var/tmp/diff_new_pack.oLvWip/_old  2017-10-23 16:36:52.846767622 +0200
+++ /var/tmp/diff_new_pack.oLvWip/_new  2017-10-23 16:36:52.850767436 +0200
@@ -83,6 +83,7 @@
 install -D -p -m 0644 %{SOURCE4} 
%{buildroot}%{_localstatedir}/adm/fillup-templates/sysconfig.%{name}-server
 
 %post
+export DISABLE_RESTART_ON_UPDATE=yes
 %service_add_post %{name}-server.service
 %fillup_only -n nbd-server
 if test -e %{_sysconfdir}/nbd-server.conf; then




commit nbd for openSUSE:Factory

2017-09-12 Thread root
Hello community,

here is the log from the commit of package nbd for openSUSE:Factory checked in 
at 2017-09-12 19:37:16

Comparing /work/SRC/openSUSE:Factory/nbd (Old)
 and  /work/SRC/openSUSE:Factory/.nbd.new (New)


Package is "nbd"

Tue Sep 12 19:37:16 2017 rev:42 rq:522301 version:3.16.1

Changes:

--- /work/SRC/openSUSE:Factory/nbd/nbd.changes  2017-06-17 10:20:44.486776892 
+0200
+++ /work/SRC/openSUSE:Factory/.nbd.new/nbd.changes 2017-09-12 
19:37:17.427793019 +0200
@@ -1,0 +2,7 @@
+Thu Sep  7 13:21:03 UTC 2017 - o...@aepfle.de
+
+- Add nbd-client.service which will provide a nbd@.service to
+  allow other units to require a nbd@nbd0.service if /etc/nbdtab
+  is configured accordingly
+
+---

New:

  nbd-client.service



Other differences:
--
++ nbd.spec ++
--- /var/tmp/diff_new_pack.HVMWqD/_old  2017-09-12 19:37:17.979715455 +0200
+++ /var/tmp/diff_new_pack.HVMWqD/_new  2017-09-12 19:37:17.983714893 +0200
@@ -27,6 +27,7 @@
 Source1:%{name}-server.service
 Source3:config.example
 Source4:nbd-server.sysconfig
+Source5:nbd-client.service
 BuildRequires:  pkgconfig
 BuildRequires:  systemd-rpm-macros
 BuildRequires:  pkgconfig(glib-2.0) >= 2.26.0
@@ -64,6 +65,8 @@
 %make_install
 
 # install systemd unit
+install -D -p -m 0644  %{SOURCE5} \
+  %{buildroot}/%{_unitdir}/%{name}@.service
 install -D -p -m 0644  %{SOURCE1} \
   %{buildroot}/%{_unitdir}/%{name}-server.service
 ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{name}-server
@@ -119,6 +122,7 @@
 %{_bindir}/nbd-trdump
 %{_sbindir}/min-nbd-client
 %{_sbindir}/rcnbd-server
+%{_unitdir}/%{name}@.service
 %{_unitdir}/%{name}-server.service
 %{_mandir}/man1/nbd-server.1%{ext_man}
 %{_mandir}/man1/nbd-trdump.1%{ext_man}

++ nbd-client.service ++
[Unit]
Description=NBD client connection for %i
Documentation=man:nbd-client(8) man:nbdtab(5)
After=network-online.target

[Service]
Type=forking
ExecStart=/usr/sbin/nbd-client %i
ExecStop=/usr/sbin/nbd-client -d /dev/%i

[Install]
WantedBy=multi-user.target



commit nbd for openSUSE:Factory

2017-06-17 Thread root
Hello community,

here is the log from the commit of package nbd for openSUSE:Factory checked in 
at 2017-06-17 10:20:43

Comparing /work/SRC/openSUSE:Factory/nbd (Old)
 and  /work/SRC/openSUSE:Factory/.nbd.new (New)


Package is "nbd"

Sat Jun 17 10:20:43 2017 rev:41 rq:502029 version:3.16.1

Changes:

--- /work/SRC/openSUSE:Factory/nbd/nbd.changes  2017-04-11 12:38:39.309767208 
+0200
+++ /work/SRC/openSUSE:Factory/.nbd.new/nbd.changes 2017-06-17 
10:20:44.486776892 +0200
@@ -1,0 +2,18 @@
+Thu Jun  8 12:07:49 UTC 2017 - mplus...@suse.com
+
+- Update to version 3.16.1:
+  * Only change is a minor bugfix from 3.16, so that
+--enable-syslog is unbroken.
+- Changes for version 3.16.0:
+  * Implement the NBD_OPT_GO and NBD_OPT_INFO negotiation options
+in both the client and the server, and use them in preference
+over NBD_OPT_EXPORT_NAME (but fall back to the latter in case
+the serverdoesn't support NBD_OPT_GO).
+  * Make sure we still run the postrun command, even if the
+connection was  closed improperly.
+  * Add a new "waitfile" parameter.
+  * Make sure that nbd compiles on non-Linux platforms again, in
+the face of all variants of the GnuTLS options.
+  * Various fixes for issues found by Coverity
+
+---

Old:

  nbd-3.15.2.tar.xz

New:

  nbd-3.16.1.tar.xz



Other differences:
--
++ nbd.spec ++
--- /var/tmp/diff_new_pack.fdWNAC/_old  2017-06-17 10:20:46.734459825 +0200
+++ /var/tmp/diff_new_pack.fdWNAC/_new  2017-06-17 10:20:46.738459262 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   nbd
-Version:3.15.2
+Version:3.16.1
 Release:0
 Summary:Network Block Device Server and Client Utilities
 License:GPL-2.0+
@@ -117,6 +117,7 @@
 %{_sbindir}/nbd-client
 %{_bindir}/nbd-server
 %{_bindir}/nbd-trdump
+%{_sbindir}/min-nbd-client
 %{_sbindir}/rcnbd-server
 %{_unitdir}/%{name}-server.service
 %{_mandir}/man1/nbd-server.1%{ext_man}

++ nbd-3.15.2.tar.xz -> nbd-3.16.1.tar.xz ++
 4070 lines of diff (skipped)




commit nbd for openSUSE:Factory

2017-04-11 Thread root
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.0 
+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 - mplus...@suse.com
+
+- 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
+Build

commit nbd for openSUSE:Factory

2016-02-11 Thread h_root
Hello community,

here is the log from the commit of package nbd for openSUSE:Factory checked in 
at 2016-02-11 12:37:35

Comparing /work/SRC/openSUSE:Factory/nbd (Old)
 and  /work/SRC/openSUSE:Factory/.nbd.new (New)


Package is "nbd"

Changes:

--- /work/SRC/openSUSE:Factory/nbd/nbd.changes  2016-02-08 09:48:02.0 
+0100
+++ /work/SRC/openSUSE:Factory/.nbd.new/nbd.changes 2016-02-11 
12:37:36.0 +0100
@@ -1,0 +2,5 @@
+Mon Feb  8 13:20:09 UTC 2016 - dmuel...@suse.com
+
+- autoload nbd module
+
+---



Other differences:
--
++ nbd.spec ++
--- /var/tmp/diff_new_pack.lv3RDJ/_old  2016-02-11 12:37:36.0 +0100
+++ /var/tmp/diff_new_pack.lv3RDJ/_new  2016-02-11 12:37:36.0 +0100
@@ -38,6 +38,7 @@
 Suggests:   nbd-doc
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if 0%{?suse_version} >= 1210
+BuildRequires:  systemd
 BuildRequires:  systemd-rpm-macros
 %systemd_requires
 %else
@@ -107,6 +108,12 @@
 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
+
 #echo "#Port   fileoptions" > $RPM_BUILD_ROOT/etc/nbd-server.conf
 mkdir -p %{buildroot}%{_sysconfdir}/nbd-server
 touch %{buildroot}%{_sysconfdir}/nbd-server/config
@@ -134,6 +141,9 @@
 %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




commit nbd for openSUSE:Factory

2016-02-08 Thread h_root
Hello community,

here is the log from the commit of package nbd for openSUSE:Factory checked in 
at 2016-02-08 09:48:00

Comparing /work/SRC/openSUSE:Factory/nbd (Old)
 and  /work/SRC/openSUSE:Factory/.nbd.new (New)


Package is "nbd"

Changes:

--- /work/SRC/openSUSE:Factory/nbd/nbd.changes  2016-02-01 19:55:34.0 
+0100
+++ /work/SRC/openSUSE:Factory/.nbd.new/nbd.changes 2016-02-08 
09:48:02.0 +0100
@@ -1,0 +2,5 @@
+Fri Feb  5 17:11:09 UTC 2016 - dmuel...@suse.com
+
+- nbd-server.service: implement reload
+
+---



Other differences:
--
++ nbd-server.service ++
--- /var/tmp/diff_new_pack.tYbs9u/_old  2016-02-08 09:48:02.0 +0100
+++ /var/tmp/diff_new_pack.tYbs9u/_new  2016-02-08 09:48:02.0 +0100
@@ -7,6 +7,7 @@
 Type=forking
 EnvironmentFile=/etc/sysconfig/nbd-server
 ExecStart=/usr/bin/nbd-server $OPTIONS
+ExecReload=/usr/bin/kill -HUP $MAINPID
 PIDFile=/run/nbd-server.pid
 
 [Install]




commit nbd for openSUSE:Factory

2016-02-01 Thread h_root
Hello community,

here is the log from the commit of package nbd for openSUSE:Factory checked in 
at 2016-02-01 19:55:32

Comparing /work/SRC/openSUSE:Factory/nbd (Old)
 and  /work/SRC/openSUSE:Factory/.nbd.new (New)


Package is "nbd"

Changes:

--- /work/SRC/openSUSE:Factory/nbd/nbd.changes  2015-12-09 22:25:28.0 
+0100
+++ /work/SRC/openSUSE:Factory/.nbd.new/nbd.changes 2016-02-01 
19:55:34.0 +0100
@@ -1,0 +2,9 @@
+Sat Jan 23 16:59:39 UTC 2016 - mplus...@suse.com
+
+- Update to 3.13
+  * This is mainly a bugfix release, containing fixes found in 
+3.12.1 by compiling on different architectures, submitting the 
+build to Coverity Scan, and some analysis of intermittent 
+failures that found a race condition.
+
+---

Old:

  nbd-3.12.1.tar.xz

New:

  nbd-3.13.tar.xz



Other differences:
--
++ nbd.spec ++
--- /var/tmp/diff_new_pack.8lnwiT/_old  2016-02-01 19:55:35.0 +0100
+++ /var/tmp/diff_new_pack.8lnwiT/_new  2016-02-01 19:55:35.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package nbd
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 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.12.1
+Version:3.13
 Release:0
 Summary:Network Block Device Server and Client Utilities
 License:GPL-2.0+

++ nbd-2.9.25-close.diff ++
--- /var/tmp/diff_new_pack.8lnwiT/_old  2016-02-01 19:55:35.0 +0100
+++ /var/tmp/diff_new_pack.8lnwiT/_new  2016-02-01 19:55:35.0 +0100
@@ -1,8 +1,8 @@
-Index: nbd-3.11/nbd-client.c
+Index: nbd-3.13/nbd-client.c
 ===
 nbd-3.11.orig/nbd-client.c
-+++ nbd-3.11/nbd-client.c
-@@ -79,6 +79,7 @@ int check_conn(char* devname, int do_pri
+--- nbd-3.13.orig/nbd-client.c
 nbd-3.13/nbd-client.c
+@@ -81,6 +81,7 @@ int check_conn(char* devname, int do_pri
}
buf[(len < 256) ? len : 255]='\0';
if(do_print) printf("%s\n", buf);

++ nbd-2.9.25-doxyfile.diff ++
--- /var/tmp/diff_new_pack.8lnwiT/_old  2016-02-01 19:55:35.0 +0100
+++ /var/tmp/diff_new_pack.8lnwiT/_new  2016-02-01 19:55:35.0 +0100
@@ -1,7 +1,7 @@
-Index: nbd-3.11/doc/Doxyfile.in
+Index: nbd-3.13/doc/Doxyfile.in
 ===
 nbd-3.11.orig/doc/Doxyfile.in
-+++ nbd-3.11/doc/Doxyfile.in
+--- nbd-3.13.orig/doc/Doxyfile.in
 nbd-3.13/doc/Doxyfile.in
 @@ -30,7 +30,7 @@ PROJECT_NUMBER = @PACKAGE_VERSIO
  # If a relative path is entered, it will be relative to the location 
  # where doxygen was started. If left blank the current directory will be used.

++ nbd-3.12.1.tar.xz -> nbd-3.13.tar.xz ++
 2833 lines of diff (skipped)




commit nbd for openSUSE:Factory

2015-12-09 Thread h_root
Hello community,

here is the log from the commit of package nbd for openSUSE:Factory checked in 
at 2015-12-09 19:49:26

Comparing /work/SRC/openSUSE:Factory/nbd (Old)
 and  /work/SRC/openSUSE:Factory/.nbd.new (New)


Package is "nbd"

Changes:

--- /work/SRC/openSUSE:Factory/nbd/nbd.changes  2015-05-29 10:43:00.0 
+0200
+++ /work/SRC/openSUSE:Factory/.nbd.new/nbd.changes 2015-12-09 
22:25:28.0 +0100
@@ -1,0 +2,30 @@
+Tue Dec  1 17:01:47 UTC 2015 - p.drou...@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
+
+---

Old:

  nbd-3.11.tar.xz
  no-return-nonvoid.patch

New:

  nbd-3.12.1.tar.xz



Other differences:
--
++ nbd.spec ++
--- /var/tmp/diff_new_pack.zKSdIS/_old  2015-12-09 22:25:30.0 +0100
+++ /var/tmp/diff_new_pack.zKSdIS/_new  2015-12-09 22:25:30.0 +0100
@@ -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 @@
 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 @@
 %setup -q
 %patch2 -p1
 %patch3 -p1
-%patch4 -p1
 
 %build
 export CFLAGS="%{optflags} -fstack-protector -fno-strict-aliasing"

++ nbd-3.11.tar.xz -> nbd-3.12.1.tar.xz ++
 24558 lines of diff (skipped)




commit nbd for openSUSE:Factory

2015-05-29 Thread h_root
Hello community,

here is the log from the commit of package nbd for openSUSE:Factory checked in 
at 2015-05-29 10:42:58

Comparing /work/SRC/openSUSE:Factory/nbd (Old)
 and  /work/SRC/openSUSE:Factory/.nbd.new (New)


Package is "nbd"

Changes:

--- /work/SRC/openSUSE:Factory/nbd/nbd.changes  2015-05-15 07:43:19.0 
+0200
+++ /work/SRC/openSUSE:Factory/.nbd.new/nbd.changes 2015-05-29 
10:43:00.0 +0200
@@ -1,0 +2,10 @@
+Thu May 28 11:32:18 UTC 2015 - mplus...@suse.com
+
+- Update to 3.11
+  * nbd-server: fix unsafe signal handling
+  * define error values as part of the protocol
+  * docs/proto: clarify NBD_CMD_FLUSH
+- Drop nbd_signaling_CVE-2015-0847.patch as fix is included in 
+  upstream
+
+---

Old:

  nbd-3.10.tar.xz
  nbd_signaling_CVE-2015-0847.patch

New:

  nbd-3.11.tar.xz



Other differences:
--
++ nbd.spec ++
--- /var/tmp/diff_new_pack.xjx5An/_old  2015-05-29 10:43:01.0 +0200
+++ /var/tmp/diff_new_pack.xjx5An/_new  2015-05-29 10:43:01.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   nbd
-Version:3.10
+Version:3.11
 Release:0
 Summary:Network Block Device Server and Client Utilities
 License:GPL-2.0+
@@ -32,8 +32,6 @@
 Patch3: nbd-2.9.25-doxyfile.diff
 # fix return value
 Patch4: no-return-nonvoid.patch
-# fix for CVE-2015-0847 (incorrect signal handling DoD)
-Patch5: nbd_signaling_CVE-2015-0847.patch
 BuildRequires:  doxygen
 BuildRequires:  glib2-devel >= 2.26.0
 BuildRequires:  xz
@@ -91,7 +89,6 @@
 %patch2 -p1
 %patch3 -p1
 %patch4 -p1
-%patch5 -p1
 
 %build
 export CFLAGS="%{optflags} -fstack-protector -fno-strict-aliasing"

++ nbd-2.9.25-close.diff ++
--- /var/tmp/diff_new_pack.xjx5An/_old  2015-05-29 10:43:01.0 +0200
+++ /var/tmp/diff_new_pack.xjx5An/_new  2015-05-29 10:43:01.0 +0200
@@ -1,7 +1,7 @@
-Index: nbd-3.9/nbd-client.c
+Index: nbd-3.11/nbd-client.c
 ===
 nbd-3.9.orig/nbd-client.c
-+++ nbd-3.9/nbd-client.c
+--- nbd-3.11.orig/nbd-client.c
 nbd-3.11/nbd-client.c
 @@ -79,6 +79,7 @@ int check_conn(char* devname, int do_pri
}
buf[(len < 256) ? len : 255]='\0';

++ nbd-2.9.25-doxyfile.diff ++
--- /var/tmp/diff_new_pack.xjx5An/_old  2015-05-29 10:43:01.0 +0200
+++ /var/tmp/diff_new_pack.xjx5An/_new  2015-05-29 10:43:01.0 +0200
@@ -1,6 +1,8 @@
 nbd-2.9.25/doc/Doxyfile.in 2011-10-01 06:28:58.0 -0400
-+++ nbd-2.9.20/Doxyfile.in 2009-01-03 07:59:46.0 -0500
-@@ -30,7 +30,7 @@
+Index: nbd-3.11/doc/Doxyfile.in
+===
+--- nbd-3.11.orig/doc/Doxyfile.in
 nbd-3.11/doc/Doxyfile.in
+@@ -30,7 +30,7 @@ PROJECT_NUMBER = @PACKAGE_VERSIO
  # If a relative path is entered, it will be relative to the location 
  # where doxygen was started. If left blank the current directory will be used.
  
@@ -9,7 +11,7 @@
  
  # If the CREATE_SUBDIRS tag is set to YES, then doxygen will create 
  # 4096 sub-directories (in 2 levels) under the output directory of each 
output 
-@@ -459,7 +459,7 @@
+@@ -459,7 +459,7 @@ WARN_LOGFILE   =
  # directories like "/usr/src/myproject". Separate the files or directories 
  # with spaces.
  

++ nbd-3.10.tar.xz -> nbd-3.11.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nbd-3.10/configure new/nbd-3.11/configure
--- old/nbd-3.10/configure  2015-03-11 18:32:38.0 +0100
+++ new/nbd-3.11/configure  2015-05-25 12:28:35.0 +0200
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for nbd 3.10.
+# Generated by GNU Autoconf 2.69 for nbd 3.11.
 #
 # Report bugs to .
 #
@@ -590,8 +590,8 @@
 # Identity of this package.
 PACKAGE_NAME='nbd'
 PACKAGE_TARNAME='nbd'
-PACKAGE_VERSION='3.10'
-PACKAGE_STRING='nbd 3.10'
+PACKAGE_VERSION='3.11'
+PACKAGE_STRING='nbd 3.11'
 PACKAGE_BUGREPORT='wou...@debian.org'
 PACKAGE_URL=''
 
@@ -1335,7 +1335,7 @@
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures nbd 3.10 to adapt to many kinds of systems.
+\`configure' configures nbd 3.11 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1405,7 +1405,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
- short | recursive ) echo "Configuration of nbd 3.10:";;
+ short | recursive ) echo "Configuration of nbd 3.11:";;
e

commit nbd for openSUSE:Factory

2015-05-14 Thread h_root
Hello community,

here is the log from the commit of package nbd for openSUSE:Factory checked in 
at 2015-05-15 07:43:06

Comparing /work/SRC/openSUSE:Factory/nbd (Old)
 and  /work/SRC/openSUSE:Factory/.nbd.new (New)


Package is "nbd"

Changes:

--- /work/SRC/openSUSE:Factory/nbd/nbd.changes  2015-04-21 10:51:50.0 
+0200
+++ /work/SRC/openSUSE:Factory/.nbd.new/nbd.changes 2015-05-15 
07:43:19.0 +0200
@@ -1,0 +2,6 @@
+Mon May 11 08:13:48 UTC 2015 - mplus...@suse.com
+
+- Fix CVE-2015-0847
+  * nbd_signaling_CVE-2015-0847.patch
+
+---

New:

  nbd_signaling_CVE-2015-0847.patch



Other differences:
--
++ nbd.spec ++
--- /var/tmp/diff_new_pack.AAILhO/_old  2015-05-15 07:43:20.0 +0200
+++ /var/tmp/diff_new_pack.AAILhO/_new  2015-05-15 07:43:20.0 +0200
@@ -32,6 +32,8 @@
 Patch3: nbd-2.9.25-doxyfile.diff
 # fix return value
 Patch4: no-return-nonvoid.patch
+# fix for CVE-2015-0847 (incorrect signal handling DoD)
+Patch5: nbd_signaling_CVE-2015-0847.patch
 BuildRequires:  doxygen
 BuildRequires:  glib2-devel >= 2.26.0
 BuildRequires:  xz
@@ -89,6 +91,7 @@
 %patch2 -p1
 %patch3 -p1
 %patch4 -p1
+%patch5 -p1
 
 %build
 export CFLAGS="%{optflags} -fstack-protector -fno-strict-aliasing"

++ nbd_signaling_CVE-2015-0847.patch ++
Index: nbd-3.10/nbd-server.c
===
--- nbd-3.10.orig/nbd-server.c
+++ nbd-3.10/nbd-server.c
@@ -168,6 +168,16 @@ char default_authname[] = SYSCONFDIR "/n
 
 #include 
 
+static volatile sig_atomic_t is_sigchld_caught; /**< Flag set by
+SIGCHLD handler
+to mark a child
+exit */
+
+static volatile sig_atomic_t is_sigterm_caught; /**< Flag set by
+SIGTERM handler
+to mark a exit
+request */
+
 static volatile sig_atomic_t is_sighup_caught; /**< Flag set by SIGHUP
 handler to mark a
 reconfiguration
@@ -930,27 +940,16 @@ GArray* parse_cfile(gchar* f, struct gen
 }
 
 /**
- * Signal handler for SIGCHLD
+ * Handle SIGCHLD by setting atomically a flag which will be evaluated in the
+ * main loop of the root server process. This allows us to separate the signal
+ * catching from th actual task triggered by SIGCHLD and hence processing in 
the
+ * interrupt context is kept as minimial as possible.
+ *
  * @param s the signal we're handling (must be SIGCHLD, or something
  * is severely wrong)
  **/
-void sigchld_handler(int s) {
-int status;
-   int* i;
-   pid_t pid;
-
-   while((pid=waitpid(-1, &status, WNOHANG)) > 0) {
-   if(WIFEXITED(status)) {
-   msg(LOG_INFO, "Child exited with %d", 
WEXITSTATUS(status));
-   }
-   i=g_hash_table_lookup(children, &pid);
-   if(!i) {
-   msg(LOG_INFO, "SIGCHLD received for an unknown child 
with PID %ld", (long)pid);
-   } else {
-   DEBUG("Removing %d from the list of children", pid);
-   g_hash_table_remove(children, &pid);
-   }
-   }
+static void sigchld_handler(const int s G_GNUC_UNUSED) {
+is_sigchld_caught = 1;
 }
 
 /**
@@ -968,15 +967,16 @@ void killchild(gpointer key, gpointer va
 }
 
 /**
- * Handle SIGTERM and dispatch it to our children
+ * Handle SIGTERM by setting atomically a flag which will be evaluated in the
+ * main loop of the root server process. This allows us to separate the signal
+ * catching from th actual task triggered by SIGTERM and hence processing in 
the
+ * interrupt context is kept as minimial as possible.
+ *
  * @param s the signal we're handling (must be SIGTERM, or something
  * is severely wrong).
  **/
-void sigterm_handler(int s) {
-   g_hash_table_foreach(children, killchild, NULL);
-   unlink(pidfname);
-
-   exit(EXIT_SUCCESS);
+static void sigterm_handler(const int s G_GNUC_UNUSED) {
+   is_sigterm_caught = 1;
 }
 
 /**
@@ -2066,9 +2066,12 @@ spawn_child()
 goto out;
 }
 /* Child */
+
+/* Child's signal disposition is reset to default. */
 signal(SIGCHLD, SIG_DFL);
 signal(SIGTERM, SIG_DFL);
 signal(SIGHUP, SIG_DFL);
+sigemptyset(&oldset);
 out:
 sigprocmask(SIG_SETMASK, &oldset, NULL);
  

commit nbd for openSUSE:Factory

2015-04-21 Thread h_root
Hello community,

here is the log from the commit of package nbd for openSUSE:Factory checked in 
at 2015-04-21 10:51:49

Comparing /work/SRC/openSUSE:Factory/nbd (Old)
 and  /work/SRC/openSUSE:Factory/.nbd.new (New)


Package is "nbd"

Changes:

--- /work/SRC/openSUSE:Factory/nbd/nbd.changes  2015-03-18 13:04:41.0 
+0100
+++ /work/SRC/openSUSE:Factory/.nbd.new/nbd.changes 2015-04-21 
10:51:50.0 +0200
@@ -1,0 +2,7 @@
+Fri Apr 17 13:27:19 UTC 2015 - mplus...@suse.com
+
+- Update to 3.10
+  * There really is only one change since 3.9: drop of the 
+"oldstyle" support from nbd-server and nbd-client.
+
+---

Old:

  nbd-3.9.tar.xz

New:

  nbd-3.10.tar.xz



Other differences:
--
++ nbd.spec ++
--- /var/tmp/diff_new_pack.VbY2js/_old  2015-04-21 10:51:51.0 +0200
+++ /var/tmp/diff_new_pack.VbY2js/_new  2015-04-21 10:51:51.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   nbd
-Version:3.9
+Version:3.10
 Release:0
 Summary:Network Block Device Server and Client Utilities
 License:GPL-2.0+

++ nbd-3.9.tar.xz -> nbd-3.10.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nbd-3.9/configure new/nbd-3.10/configure
--- old/nbd-3.9/configure   2015-03-01 22:06:55.0 +0100
+++ new/nbd-3.10/configure  2015-03-11 18:32:38.0 +0100
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for nbd 3.9.
+# Generated by GNU Autoconf 2.69 for nbd 3.10.
 #
 # Report bugs to .
 #
@@ -590,8 +590,8 @@
 # Identity of this package.
 PACKAGE_NAME='nbd'
 PACKAGE_TARNAME='nbd'
-PACKAGE_VERSION='3.9'
-PACKAGE_STRING='nbd 3.9'
+PACKAGE_VERSION='3.10'
+PACKAGE_STRING='nbd 3.10'
 PACKAGE_BUGREPORT='wou...@debian.org'
 PACKAGE_URL=''
 
@@ -1335,7 +1335,7 @@
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures nbd 3.9 to adapt to many kinds of systems.
+\`configure' configures nbd 3.10 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1405,7 +1405,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
- short | recursive ) echo "Configuration of nbd 3.9:";;
+ short | recursive ) echo "Configuration of nbd 3.10:";;
esac
   cat <<\_ACEOF
 
@@ -1529,7 +1529,7 @@
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-nbd configure 3.9
+nbd configure 3.10
 generated by GNU Autoconf 2.69
 
 Copyright (C) 2012 Free Software Foundation, Inc.
@@ -2238,7 +2238,7 @@
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by nbd $as_me 3.9, which was
+It was created by nbd $as_me 3.10, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   $ $0 $@
@@ -3101,7 +3101,7 @@
 
 # Define the identity of the package.
  PACKAGE='nbd'
- VERSION='3.9'
+ VERSION='3.10'
 
 
 cat >>confdefs.h <<_ACEOF
@@ -14431,7 +14431,7 @@
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by nbd $as_me 3.9, which was
+This file was extended by nbd $as_me 3.10, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   CONFIG_FILES= $CONFIG_FILES
@@ -14497,7 +14497,7 @@
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; 
s/[\\""\`\$]/&/g'`"
 ac_cs_version="\\
-nbd config.status 3.9
+nbd config.status 3.10
 configured by $0, generated by GNU Autoconf 2.69,
   with options \\"\$ac_cs_config\\"
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nbd-3.9/configure.ac new/nbd-3.10/configure.ac
--- old/nbd-3.9/configure.ac2015-03-01 22:01:28.0 +0100
+++ new/nbd-3.10/configure.ac   2015-03-11 18:31:55.0 +0100
@@ -1,7 +1,7 @@
 dnl Configure script for NBD system
 dnl (c) 1998 Martin Mares , (c) 2000 Pavel Machek ,
 dnl (c) 2003-2006 Wouter Verhelst 
-AC_INIT([nbd],[3.9],[wou...@debian.org])
+AC_INIT([nbd],[3.10],[wou...@debian.org])
 AM_INIT_AUTOMAKE(foreign dist-xz serial-tests)
 AM_MAINTAINER_MODE([enable])
 LT_INIT
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nbd-3.9/man/nbd-server.5.in.sgml 
new/nbd-3.10/man/nbd-server.5.in.sgml
--- old/nbd-3.9/man/nbd-server.5.in.sgml2015-03-01 22:06:32.0 
+0100
+++ new/nbd-3.10/man/nbd-ser

commit nbd for openSUSE:Factory

2015-03-18 Thread h_root
Hello community,

here is the log from the commit of package nbd for openSUSE:Factory checked in 
at 2015-03-18 13:04:35

Comparing /work/SRC/openSUSE:Factory/nbd (Old)
 and  /work/SRC/openSUSE:Factory/.nbd.new (New)


Package is "nbd"

Changes:

--- /work/SRC/openSUSE:Factory/nbd/nbd.changes  2014-11-10 17:29:11.0 
+0100
+++ /work/SRC/openSUSE:Factory/.nbd.new/nbd.changes 2015-03-18 
13:04:41.0 +0100
@@ -1,0 +2,35 @@
+Thu Mar  5 12:28:06 UTC 2015 - mplus...@suse.com
+
+- Cleanup spec-file with spec-cleaner
+- Do not generate config.example from README
+  * add config.example as source
+- Add unit file (nbd-server.service)
+- Add sysconfig template (nbd-server.sysconfig)
+- Add no-return-nonvoid.patch
+- Update requirements
+- Update to 3.9
+  * AF_UNIX support
+  * Fixed test suite on non-GNU getopt() implementations
+  * New "treefiles" mode, which exports a gazillion of page-sized 
+files; useful for exporting things which are stored on an 
+SSHFS or amazon AWS (trough FUSE) or similar, where every 
+write causes an upload to the backend storage
+  * New "cowdir" option, allowing to specify where copy-on-write 
+files are written.
+  * Minor changes so that nbd-client can now also be compiled for 
+the Android platform. This required removal of the -swap 
+command line option, which requires the mlockall() system 
+call, unavailable on Android.
+  * Protocol update: a reserved bit is used to avoid sending 
+the 124 bytes of useless data at the beginning of the 
+negotiation. The change is implemented so that things will 
+still work with clients not supporting this option, however.
+  * gznbd is now built by the same build system, rather than 
+a separate one. Note however that gznbd is still 
+unmaintained; it should be considered a "contrib" feature.
+  * "nbd-server -V" will now output the nbd-server version number.
+  * Various fixes found through Coverity and the clang static 
+analyzer, and lots of other minor things too small to 
+mention here.
+
+---

Old:

  nbd-3.3.tar.bz2

New:

  config.example
  nbd-3.9.tar.xz
  nbd-server.service
  nbd-server.sysconfig
  no-return-nonvoid.patch



Other differences:
--
++ nbd.spec ++
--- /var/tmp/diff_new_pack.LUYUlt/_old  2015-03-18 13:04:42.0 +0100
+++ /var/tmp/diff_new_pack.LUYUlt/_new  2015-03-18 13:04:42.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package nbd
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 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,22 +17,34 @@
 
 
 Name:   nbd
-BuildRequires:  doxygen
-BuildRequires:  glib2-devel >= 2.26.0
-PreReq: %insserv_prereq coreutils
-Version:3.3
+Version:3.9
 Release:0
-Source: 
http://downloads.sourceforge.net/project/%{name}/%{name}/%{version}/%{name}-%{version}.tar.bz2
-Source2:init.nbd-server
-Patch2: nbd-2.9.25-close.diff
-Patch3: nbd-2.9.25-doxyfile.diff
 Summary:Network Block Device Server and Client Utilities
 License:GPL-2.0+
 Group:  Productivity/Networking/Other
 Url:http://nbd.sourceforge.net/
-Prefix: /usr
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+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
+# fix return value
+Patch4: no-return-nonvoid.patch
+BuildRequires:  doxygen
+BuildRequires:  glib2-devel >= 2.26.0
+BuildRequires:  xz
+Requires(pre):  %fillup_prereq
+Requires(pre):  coreutils
 Suggests:   nbd-doc
+BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+%if 0%{?suse_version} >= 1210
+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
@@ -52,15 +64,6 @@
 The package also contains the nbd-client tools, which you need to
 configure the nbd devices on the client side.
 
-
-
-Authors:
-
-Wouter Verhelst 
-Anton Altaparmakov 
-Pavel Machek 
-Paul Clements 
-
 %package doc
 Summary:Network Block Device Server and Client Utilities
 Group:  Productivity/Networking/Other
@@ -81,90 +84,111 @@
 mode wh

commit nbd for openSUSE:Factory

2014-11-10 Thread h_root
Hello community,

here is the log from the commit of package nbd for openSUSE:Factory checked in 
at 2014-11-10 17:28:52

Comparing /work/SRC/openSUSE:Factory/nbd (Old)
 and  /work/SRC/openSUSE:Factory/.nbd.new (New)


Package is "nbd"

Changes:

--- /work/SRC/openSUSE:Factory/nbd/nbd.changes  2013-04-20 17:50:44.0 
+0200
+++ /work/SRC/openSUSE:Factory/.nbd.new/nbd.changes 2014-11-10 
17:29:11.0 +0100
@@ -1,0 +2,5 @@
+Sun Nov 09 19:27:00 UTC 2014 - Led 
+
+- fix bashisms in pre script
+
+---



Other differences:
--
++ nbd.spec ++
--- /var/tmp/diff_new_pack.rGifsT/_old  2014-11-10 17:29:12.0 +0100
+++ /var/tmp/diff_new_pack.rGifsT/_new  2014-11-10 17:29:12.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package nbd
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -143,18 +143,20 @@
   # Do we have to create a generic section?
   unset generic
   if test -e /etc/nbd-server/config; then generic=1; fi
+  grep -vE '^(#|[[:blank:]]*$)' /etc/nbd-server.conf |
   while read port file opts; do
-if test -z "$port"; then continue; fi
-if test "${port:0:1}" = "#"; then continue; fi
 if test -z "$generic"; then
-  echo -e "[generic]\n\t# No generic options yet\n" > 
/etc/nbd-server/config
+  echo > /etc/nbd-server/config
+  echo "[generic]" >> /etc/nbd-server/config
+  echo "   # No generic options yet" >> /etc/nbd-server/config
+  echo >> /etc/nbd-server/config
   generic=1
 fi
 FN=${file%/*}
 nm="cvt.$port.${FN##*/}.${file##*/}"
 echo " ... convert $port $file $opts -> $nm"
 /usr/bin/nbd-server $port $file $opts -o "$nm" >> /etc/nbd-server/config
-  done < /etc/nbd-server.conf
+  done
   mv /etc/nbd-server.conf /etc/nbd-server.conf.converted
 fi
 

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit nbd for openSUSE:Factory

2013-04-20 Thread h_root
Hello community,

here is the log from the commit of package nbd for openSUSE:Factory checked in 
at 2013-04-20 17:50:42

Comparing /work/SRC/openSUSE:Factory/nbd (Old)
 and  /work/SRC/openSUSE:Factory/.nbd.new (New)


Package is "nbd", Maintainer is "m...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/nbd/nbd.changes  2012-07-12 10:49:08.0 
+0200
+++ /work/SRC/openSUSE:Factory/.nbd.new/nbd.changes 2013-04-20 
17:50:44.0 +0200
@@ -1,0 +2,7 @@
+Thu Apr 18 19:38:29 UTC 2013 - dmuel...@suse.com
+
+- update to 3.3:
+  * and various bugfixes, upgrading is strongly recommended
+  * Fix various nbd-server misbehave bugs
+
+---

Old:

  nbd-3.1.tar.bz2

New:

  nbd-3.3.tar.bz2



Other differences:
--
++ nbd.spec ++
--- /var/tmp/diff_new_pack.3gSpel/_old  2013-04-20 17:50:45.0 +0200
+++ /var/tmp/diff_new_pack.3gSpel/_new  2013-04-20 17:50:45.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package nbd
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -20,9 +20,9 @@
 BuildRequires:  doxygen
 BuildRequires:  glib2-devel >= 2.26.0
 PreReq: %insserv_prereq coreutils
-Version:3.1
+Version:3.3
 Release:0
-Source: %{name}-%{version}.tar.bz2
+Source: 
http://downloads.sourceforge.net/project/%{name}/%{name}/%{version}/%{name}-%{version}.tar.bz2
 Source2:init.nbd-server
 Patch2: nbd-2.9.25-close.diff
 Patch3: nbd-2.9.25-doxyfile.diff

++ nbd-3.1.tar.bz2 -> nbd-3.3.tar.bz2 ++
 3309 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit nbd for openSUSE:Factory

2012-07-12 Thread h_root
Hello community,

here is the log from the commit of package nbd for openSUSE:Factory checked in 
at 2012-07-12 10:49:06

Comparing /work/SRC/openSUSE:Factory/nbd (Old)
 and  /work/SRC/openSUSE:Factory/.nbd.new (New)


Package is "nbd", Maintainer is "m...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/nbd/nbd.changes  2012-05-22 08:16:58.0 
+0200
+++ /work/SRC/openSUSE:Factory/.nbd.new/nbd.changes 2012-07-12 
10:49:08.0 +0200
@@ -1,0 +2,5 @@
+Tue Jul 10 07:08:17 UTC 2012 - a...@suse.de
+
+- Fix restart_on_update usage.
+
+---



Other differences:
--
++ nbd.spec ++
--- /var/tmp/diff_new_pack.HXySoE/_old  2012-07-12 10:49:09.0 +0200
+++ /var/tmp/diff_new_pack.HXySoE/_new  2012-07-12 10:49:09.0 +0200
@@ -160,7 +160,7 @@
 
 %postun
 %{insserv_cleanup}
-%restart_on_update /etc/init.d/nbd-server
+%restart_on_update nbd-server
 
 %preun
 %{stop_on_removal nbd-server}

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit nbd for openSUSE:Factory

2012-05-21 Thread h_root
Hello community,

here is the log from the commit of package nbd for openSUSE:Factory checked in 
at 2012-05-22 08:16:56

Comparing /work/SRC/openSUSE:Factory/nbd (Old)
 and  /work/SRC/openSUSE:Factory/.nbd.new (New)


Package is "nbd", Maintainer is "m...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/nbd/nbd.changes  2012-03-01 17:21:19.0 
+0100
+++ /work/SRC/openSUSE:Factory/.nbd.new/nbd.changes 2012-05-22 
08:16:58.0 +0200
@@ -1,0 +2,8 @@
+Fri May 18 13:44:05 UTC 2012 - tabra...@novell.com
+
+- Update to nbd-3.1
+  * minor bug fixes
+  * new feature: ability for the client to list the exports a server
+supports
+
+---

Old:

  nbd-3.0.tar.bz2

New:

  nbd-3.1.tar.bz2



Other differences:
--
++ nbd.spec ++
--- /var/tmp/diff_new_pack.y74Ox1/_old  2012-05-22 08:16:59.0 +0200
+++ /var/tmp/diff_new_pack.y74Ox1/_new  2012-05-22 08:16:59.0 +0200
@@ -15,22 +15,20 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
-
 
 Name:   nbd
-BuildRequires:  doxygen glib2-devel >= 2.26.0
+BuildRequires:  doxygen
+BuildRequires:  glib2-devel >= 2.26.0
 PreReq: %insserv_prereq coreutils
-Version:3.0
-Release:1
-License:GPL-2.0+
-Group:  Productivity/Networking/Other
-AutoReqProv:on
+Version:3.1
+Release:0
 Source: %{name}-%{version}.tar.bz2
 Source2:init.nbd-server
 Patch2: nbd-2.9.25-close.diff
 Patch3: nbd-2.9.25-doxyfile.diff
 Summary:Network Block Device Server and Client Utilities
+License:GPL-2.0+
+Group:  Productivity/Networking/Other
 Url:http://nbd.sourceforge.net/
 Prefix: /usr
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
@@ -64,7 +62,6 @@
 Paul Clements 
 
 %package doc
-License:GPL-2.0+
 Summary:Network Block Device Server and Client Utilities
 Group:  Productivity/Networking/Other
 Requires:   nbd = %{version}

++ nbd-3.0.tar.bz2 -> nbd-3.1.tar.bz2 ++
 2637 lines of diff (skipped)
retrying with extended exclude list
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/nbd-3.0/README new/nbd-3.1/README
--- old/nbd-3.0/README  2011-10-01 12:28:58.0 +0200
+++ new/nbd-3.1/README  2012-05-13 17:15:38.0 +0200
@@ -9,8 +9,8 @@
 nbd-server and nbd-client on the same machine, you may run into some
 deadlock issues if you do that[1].
 
-To install the package, please see the INSTALL file. You'll need to
-install it on both the client and the server.
+To install the package, do the normal configure/make/make install dance.
+You'll need to install it on both the client and the server.
 
 Using NBD is quite easy. First, on the client, you need to create the
 device nodes:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/nbd-3.0/cliserv.h new/nbd-3.1/cliserv.h
--- old/nbd-3.0/cliserv.h   2011-10-01 12:28:58.0 +0200
+++ new/nbd-3.1/cliserv.h   2012-05-13 17:15:38.0 +0200
@@ -56,6 +56,7 @@
 
 u64 cliserv_magic = 0x00420281861253LL;
 u64 opts_magic = 0x49484156454F5054LL;
+u64 rep_magic = 0x3e889045565a9LL;
 #define INIT_PASSWD "NBDMAGIC"
 
 #define INFO(a) do { } while(0)
@@ -148,4 +149,20 @@
 * served */
 
 /* Options that the client can select to the server */
-#define NBD_OPT_EXPORT_NAME(1 << 0)/* Client wants to select a 
named export (is followed by length and name of export) */
+#define NBD_OPT_EXPORT_NAME(1) /** Client wants to select a named 
export (is followed by name of export) */
+#define NBD_OPT_ABORT  (2) /** Client wishes to abort negotiation 
*/
+#define NBD_OPT_LIST   (3) /** Client request list of supported 
exports (not followed by data) */
+
+/* Replies the server can send during negotiation */
+#define NBD_REP_ACK(1) /** ACK a request. Data: option number 
to be acked */
+#define NBD_REP_SERVER (2) /** Reply to NBD_OPT_LIST (one of these 
per server; must be followed by NBD_REP_ACK to signal the end of the list */
+#define NBD_REP_FLAG_ERROR (1 << 31

commit nbd for openSUSE:Factory

2012-03-01 Thread h_root
Hello community,

here is the log from the commit of package nbd for openSUSE:Factory checked in 
at 2012-03-01 17:21:18

Comparing /work/SRC/openSUSE:Factory/nbd (Old)
 and  /work/SRC/openSUSE:Factory/.nbd.new (New)


Package is "nbd", Maintainer is "m...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/nbd/nbd.changes  2012-01-09 16:01:21.0 
+0100
+++ /work/SRC/openSUSE:Factory/.nbd.new/nbd.changes 2012-03-01 
17:21:19.0 +0100
@@ -1,0 +2,9 @@
+Wed Feb 29 15:51:37 UTC 2012 - tabra...@novell.com
+
+-  Update to nbd-3.0
+   * minor bug fixes
+
+- removed obsolete nbd-2.9.25-have_falloc_ph.diff
+- compile with -fno-strict-aliasing to prevent breakage with new gcc
+
+---

Old:

  nbd-2.9.25-have_falloc_ph.diff
  nbd-2.9.25.tar.bz2

New:

  nbd-3.0.tar.bz2



Other differences:
--
++ nbd.spec ++
--- /var/tmp/diff_new_pack.svGCWM/_old  2012-03-01 17:21:20.0 +0100
+++ /var/tmp/diff_new_pack.svGCWM/_new  2012-03-01 17:21:20.0 +0100
@@ -21,7 +21,7 @@
 Name:   nbd
 BuildRequires:  doxygen glib2-devel >= 2.26.0
 PreReq: %insserv_prereq coreutils
-Version:2.9.25
+Version:3.0
 Release:1
 License:GPL-2.0+
 Group:  Productivity/Networking/Other
@@ -30,7 +30,6 @@
 Source2:init.nbd-server
 Patch2: nbd-2.9.25-close.diff
 Patch3: nbd-2.9.25-doxyfile.diff
-Patch4: nbd-2.9.25-have_falloc_ph.diff
 Summary:Network Block Device Server and Client Utilities
 Url:http://nbd.sourceforge.net/
 Prefix: /usr
@@ -98,10 +97,9 @@
 %setup
 %patch2 -p1
 %patch3 -p1
-%patch4 -p1
 
 %build
-export CFLAGS="$RPM_OPT_FLAGS -fstack-protector"
+export CFLAGS="$RPM_OPT_FLAGS -fstack-protector -fno-strict-aliasing"
 ./configure --with-gnu-ld --prefix=/usr --mandir=%{_mandir} \
--infodir=%{_infodir} --libdir=%{_libdir} --libexecdir=%{_libdir} \
--program-prefix="" --sysconfdir=/etc --build=%{_target_cpu}-suse-linux

++ nbd-2.9.25.tar.bz2 -> nbd-3.0.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nbd-2.9.25/Makefile.in new/nbd-3.0/Makefile.in
--- old/nbd-2.9.25/Makefile.in  2011-11-29 08:38:51.0 +0100
+++ new/nbd-3.0/Makefile.in 2012-02-10 11:23:23.0 +0100
@@ -1,9 +1,9 @@
-# Makefile.in generated by automake 1.11.1 from Makefile.am.
+# Makefile.in generated by automake 1.11.3 from Makefile.am.
 # @configure_input@
 
 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-# 2003, 2004, 2005, 2006, 2007, 2008, 2009  Free Software Foundation,
-# Inc.
+# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
+# Foundation, Inc.
 # This Makefile.in is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
@@ -111,9 +111,11 @@
 distdir = $(PACKAGE)-$(VERSION)
 top_distdir = $(distdir)
 am__remove_distdir = \
-  { test ! -d "$(distdir)" \
-|| { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
- && rm -fr "$(distdir)"; }; }
+  if test -d "$(distdir)"; then \
+find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
+  && rm -rf "$(distdir)" \
+  || { sleep 5 && rm -rf "$(distdir)"; }; \
+  else :; fi
 am__relativize = \
   dir0=`pwd`; \
   sed_first='s,^\([^/]*\)/.*$$,\1,'; \
@@ -142,6 +144,8 @@
 DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.bz2
 GZIP_ENV = --best
 distuninstallcheck_listfiles = find . -type f -print
+am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
+  | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
 distcleancheck_listfiles = find . -type f -print
 ACLOCAL = @ACLOCAL@
 AMTAR = @AMTAR@
@@ -268,7 +272,7 @@
 
 .SUFFIXES:
 .SUFFIXES: .c .o .obj
-am--refresh:
+am--refresh: Makefile
@:
 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  
$(am__configure_deps)
@for dep in $?; do \
@@ -304,10 +308,8 @@
 $(am__aclocal_m4_deps):
 
 config.h: stamp-h1
-   @if test ! -f $@; then \
- rm -f stamp-h1; \
- $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \
-   else :; fi
+   @if test ! -f $@; then rm -f stamp-h1; else :; fi
+   @if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) stamp-h1; else :; fi
 
 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
@rm -f stamp-h1
@@ -398,19 +400,19 @@
 
 clean-sbinPROGRAMS:
-test -z "$(sbin_PROGRAMS)" || rm -f $(sbin_PROGRAMS)
-make-integrityhuge$(EXEEXT): $(make_integrityhuge_OBJECTS) 
$(make_integrityhuge_DEPENDENCIES) 
+make-integrityhuge$(EXEEXT): $(make

commit nbd for openSUSE:Factory

2012-01-09 Thread h_root
Hello community,

here is the log from the commit of package nbd for openSUSE:Factory checked in 
at 2012-01-09 16:01:14

Comparing /work/SRC/openSUSE:Factory/nbd (Old)
 and  /work/SRC/openSUSE:Factory/.nbd.new (New)


Package is "nbd", Maintainer is "m...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/nbd/nbd.changes  2011-09-23 02:14:18.0 
+0200
+++ /work/SRC/openSUSE:Factory/.nbd.new/nbd.changes 2012-01-09 
16:01:21.0 +0100
@@ -1,0 +2,10 @@
+Thu Jan  5 20:31:57 UTC 2012 - tabra...@novell.com
+
+-  Update to nbd-2.9.25
+   * TRIM now uses FALLOC_FL_PUNCH_HOLE
+   * minor bug fixes
+
+- removed obsolete nbd-2.9.20-bigendian.diff
+- refreshed nbd-2.9.20-close.diff
+
+---

Old:

  nbd-2.9.20-bigendian.diff
  nbd-2.9.20-close.diff
  nbd-2.9.20.tar.bz2

New:

  nbd-2.9.25-close.diff
  nbd-2.9.25-doxyfile.diff
  nbd-2.9.25-have_falloc_ph.diff
  nbd-2.9.25.tar.bz2



Other differences:
--
++ nbd.spec ++
--- /var/tmp/diff_new_pack.xYF4kU/_old  2012-01-09 16:01:22.0 +0100
+++ /var/tmp/diff_new_pack.xYF4kU/_new  2012-01-09 16:01:22.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package nbd
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,17 +19,18 @@
 
 
 Name:   nbd
-BuildRequires:  doxygen glib2-devel
+BuildRequires:  doxygen glib2-devel >= 2.26.0
 PreReq: %insserv_prereq coreutils
-Version:2.9.20
-Release:2
+Version:2.9.25
+Release:1
 License:GPL-2.0+
 Group:  Productivity/Networking/Other
 AutoReqProv:on
 Source: %{name}-%{version}.tar.bz2
 Source2:init.nbd-server
-Patch2: nbd-2.9.20-close.diff
-Patch3: nbd-2.9.20-bigendian.diff
+Patch2: nbd-2.9.25-close.diff
+Patch3: nbd-2.9.25-doxyfile.diff
+Patch4: nbd-2.9.25-have_falloc_ph.diff
 Summary:Network Block Device Server and Client Utilities
 Url:http://nbd.sourceforge.net/
 Prefix: /usr
@@ -97,6 +98,7 @@
 %setup
 %patch2 -p1
 %patch3 -p1
+%patch4 -p1
 
 %build
 export CFLAGS="$RPM_OPT_FLAGS -fstack-protector"
@@ -104,10 +106,10 @@
--infodir=%{_infodir} --libdir=%{_libdir} --libexecdir=%{_libdir} \
--program-prefix="" --sysconfdir=/etc --build=%{_target_cpu}-suse-linux
 make
-doxygen
+doxygen doc/Doxyfile.in
 
 %install
-make install DESTDIR=$RPM_BUILD_ROOT man_MANS='nbd-client.8 nbd-server.1 
nbd-server.5'
+make install DESTDIR=$RPM_BUILD_ROOT man_MANS='nbd-client.8 nbd-server.1 
nbd-server.5 nbd-trdump.1'
 mkdir -p $RPM_BUILD_ROOT/etc/init.d
 install %SOURCE2 $RPM_BUILD_ROOT/etc/init.d/nbd-server
 mkdir -p $RPM_BUILD_ROOT/usr/bin
@@ -122,13 +124,15 @@
 %defattr(-,root,root)
 %attr(0755,root,root) /usr/sbin/nbd-client
 %attr(0755,root,root) /usr/bin/nbd-server
+%attr(0755,root,root) /usr/bin/nbd-trdump
 %attr(0755,root,root) /etc/init.d/nbd-server
 %attr(0755,root,root) /usr/bin/rcnbd-server
 %{_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
-#%config(noreplace) /etc/nbd-server.conf
+#%%config(noreplace) /etc/nbd-server.conf
 %dir /etc/nbd-server
 %ghost %config(noreplace) /etc/nbd-server/config
 %ghost %config(noreplace) /etc/nbd-server/allow
@@ -161,6 +165,7 @@
 
 %postun
 %{insserv_cleanup}
+%restart_on_update /etc/init.d/nbd-server
 
 %preun
 %{stop_on_removal nbd-server}

++ nbd-2.9.20-close.diff -> nbd-2.9.25-close.diff ++
--- /work/SRC/openSUSE:Factory/nbd/nbd-2.9.20-close.diff2011-09-23 
02:14:18.0 +0200
+++ /work/SRC/openSUSE:Factory/.nbd.new/nbd-2.9.25-close.diff   2012-01-09 
16:01:21.0 +0100
@@ -1,10 +1,10 @@
 nbd-2.9.20/nbd-client.c2009-08-05 11:52:04.0 +0200
-+++ nbd-2.9.20/nbd-client.c2009-08-05 11:54:20.0 +0200
-@@ -62,6 +62,7 @@
+--- nbd-2.9.25/nbd-client.c.orig   2012-01-05 15:40:31.962826124 -0500
 nbd-2.9.25/nbd-client.c2012-01-05 15:40:53.627555277 -0500
+@@ -70,6 +70,7 @@
len=read(fd, buf, 256);
buf[len-1]='\0';
if(do_print) printf("%s\n", buf);
-+  close (fd);
++  close(fd);
return 0;
  }
  

++ nbd-2.9.25-doxyfile.diff ++
--- nbd-2.9.25/doc/Doxyfile.in  2011-10-01 06:28:58.0 -0400
+++ nbd-2.9.20/Doxyfile.in  2009-01-03 07:59:46.0 -0500
@@ -30,7 +30,7 @@
 # If a relative path is entered, it will be relative to the location 
 # where doxygen was 

commit nbd for openSUSE:Factory

2011-12-06 Thread h_root
Hello community,

here is the log from the commit of package nbd for openSUSE:Factory checked in 
at 2011-12-06 18:31:20

Comparing /work/SRC/openSUSE:Factory/nbd (Old)
 and  /work/SRC/openSUSE:Factory/.nbd.new (New)


Package is "nbd", Maintainer is "m...@suse.com"

Changes:




Other differences:
--
++ nbd.spec ++
--- /var/tmp/diff_new_pack.uz4W8M/_old  2011-12-06 18:52:49.0 +0100
+++ /var/tmp/diff_new_pack.uz4W8M/_new  2011-12-06 18:52:49.0 +0100
@@ -23,7 +23,7 @@
 PreReq: %insserv_prereq coreutils
 Version:2.9.20
 Release:2
-License:GPLv2+
+License:GPL-2.0+
 Group:  Productivity/Networking/Other
 AutoReqProv:on
 Source: %{name}-%{version}.tar.bz2
@@ -64,7 +64,7 @@
 Paul Clements 
 
 %package doc
-License:GPLv2+
+License:GPL-2.0+
 Summary:Network Block Device Server and Client Utilities
 Group:  Productivity/Networking/Other
 Requires:   nbd = %{version}

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit nbd for openSUSE:Factory

2011-09-19 Thread h_root

Hello community,

here is the log from the commit of package nbd for openSUSE:Factory
checked in at Mon Sep 19 21:14:54 CEST 2011.




--- nbd/nbd.changes 2011-04-04 17:30:58.0 +0200
+++ /mounts/work_src_done/STABLE/nbd/nbd.changes2011-09-16 
15:46:29.0 +0200
@@ -1,0 +2,5 @@
+Fri Sep 16 13:46:09 UTC 2011 - r...@fietze-home.de
+
+- Install nbd-server.5 man page
+
+---

calling whatdependson for head-i586




Other differences:
--
++ nbd.spec ++
--- /var/tmp/diff_new_pack.K9LIws/_old  2011-09-19 21:14:45.0 +0200
+++ /var/tmp/diff_new_pack.K9LIws/_new  2011-09-19 21:14:45.0 +0200
@@ -107,7 +107,7 @@
 doxygen
 
 %install
-make install DESTDIR=$RPM_BUILD_ROOT man_MANS='nbd-client.8 nbd-server.1'
+make install DESTDIR=$RPM_BUILD_ROOT man_MANS='nbd-client.8 nbd-server.1 
nbd-server.5'
 mkdir -p $RPM_BUILD_ROOT/etc/init.d
 install %SOURCE2 $RPM_BUILD_ROOT/etc/init.d/nbd-server
 mkdir -p $RPM_BUILD_ROOT/usr/bin
@@ -125,6 +125,7 @@
 %attr(0755,root,root) /etc/init.d/nbd-server
 %attr(0755,root,root) /usr/bin/rcnbd-server
 %{_mandir}/man1/nbd-server.1.gz
+%{_mandir}/man5/nbd-server.5.gz
 %{_mandir}/man8/nbd-client.8.gz
 %doc README
 #%config(noreplace) /etc/nbd-server.conf






Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit nbd for openSUSE:Factory

2011-04-04 Thread h_root

Hello community,

here is the log from the commit of package nbd for openSUSE:Factory
checked in at Tue Apr 5 08:32:49 CEST 2011.




--- nbd/nbd.changes 2011-02-25 12:41:13.0 +0100
+++ /mounts/work_src_done/STABLE/nbd/nbd.changes2011-04-04 
17:30:58.0 +0200
@@ -1,0 +2,6 @@
+Mon Apr  4 17:30:17 CEST 2011 - m...@suse.de
+
+- socklen_t is always 32bit, size_t is 64bit. so a classical
+  big endian 64bit error (bnc #674281)
+
+---

calling whatdependson for head-i586


New:

  nbd-2.9.20-bigendian.diff



Other differences:
--
++ nbd.spec ++
--- /var/tmp/diff_new_pack.mvOfew/_old  2011-04-05 08:31:19.0 +0200
+++ /var/tmp/diff_new_pack.mvOfew/_new  2011-04-05 08:31:19.0 +0200
@@ -22,13 +22,14 @@
 BuildRequires:  doxygen glib2-devel
 PreReq: %insserv_prereq coreutils
 Version:2.9.20
-Release:1
+Release:2
 License:GPLv2+
 Group:  Productivity/Networking/Other
 AutoReqProv:on
 Source: %{name}-%{version}.tar.bz2
 Source2:init.nbd-server
 Patch2: nbd-2.9.20-close.diff
+Patch3: nbd-2.9.20-bigendian.diff
 Summary:Network Block Device Server and Client Utilities
 Url:http://nbd.sourceforge.net/
 Prefix: /usr
@@ -95,6 +96,7 @@
 %prep
 %setup
 %patch2 -p1
+%patch3 -p1
 
 %build
 export CFLAGS="$RPM_OPT_FLAGS -fstack-protector"

++ nbd-2.9.20-bigendian.diff ++
--- nbd-2.9.20/nbd-server.c 2011-01-28 13:34:16.0 +0100
+++ nbd-2.9.20/nbd-server.c 2011-04-04 17:03:04.0 +0200
@@ -1620,7 +1620,7 @@
struct sockaddr_storage netaddr;
struct sockaddr_in  *netaddr4 = NULL;
struct sockaddr_in6 *netaddr6 = NULL;
-   size_t addrinlen = sizeof( addrin );
+   socklen_t addrinlen = sizeof( addrin );
struct addrinfo hints;
struct addrinfo *ai = NULL;
char peername[NI_MAXHOST];
@@ -1630,10 +1630,10 @@
int e;
int shift;
 
-   if (getpeername(net, (struct sockaddr *) &addrin, (socklen_t 
*)&addrinlen) < 0)
+   if (getpeername(net, (struct sockaddr *) &addrin, &addrinlen) < 0)
err("getsockname failed: %m");
 
-   getnameinfo((struct sockaddr *)&addrin, (socklen_t)addrinlen,
+   getnameinfo((struct sockaddr *)&addrin, addrinlen,
peername, sizeof (peername), NULL, 0, NI_NUMERICHOST);
 
memset(&hints, '\0', sizeof (hints));
@@ -1666,7 +1666,7 @@

(netaddr4->sin_addr).s_addr>>=32-(client->server->cidrlen);

(netaddr4->sin_addr).s_addr<<=32-(client->server->cidrlen);
 
-   getnameinfo((struct sockaddr *) netaddr4, 
(socklen_t) addrinlen,
+   getnameinfo((struct sockaddr *) netaddr4, 
addrinlen,
netname, sizeof 
(netname), NULL, 0, NI_NUMERICHOST);
tmp=g_strdup_printf("%s/%s", netname, peername);
}else if(ai->ai_family == AF_INET6) {
@@ -1682,7 +1682,7 @@
(netaddr6->sin6_addr).s6_addr32[i]>>=shift;
(netaddr6->sin6_addr).s6_addr32[i]<<=shift;
 
-   getnameinfo((struct sockaddr *)netaddr6, 
(socklen_t)addrinlen,
+   getnameinfo((struct sockaddr *)netaddr6, 
addrinlen,
netname, sizeof(netname), NULL, 0, 
NI_NUMERICHOST);
tmp=g_strdup_printf("%s/%s", netname, peername);
}





Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit nbd for openSUSE:Factory

2011-02-25 Thread h_root

Hello community,

here is the log from the commit of package nbd for openSUSE:Factory
checked in at Fri Feb 25 15:28:12 CET 2011.




--- nbd/nbd.changes 2009-08-05 12:02:50.0 +0200
+++ /mounts/work_src_done/STABLE/nbd/nbd.changes2011-02-25 
12:41:13.0 +0100
@@ -1,0 +2,8 @@
+Fri Feb 25 12:40:16 CET 2011 - m...@suse.de
+
+- Update to nbd-2.9.20:
+  * Documentation update
+  * Fix buffer size checking (bnc #674281)
+  * Extend test suite and fix named exports
+
+---

calling whatdependson for head-i586


Old:

  nbd-2.9.13-close.diff
  nbd-2.9.13-doc.diff
  nbd-2.9.13-warn.diff
  nbd-2.9.13.tar.bz2

New:

  nbd-2.9.20-close.diff
  nbd-2.9.20.tar.bz2



Other differences:
--
++ nbd.spec ++
--- /var/tmp/diff_new_pack.GNA8c9/_old  2011-02-25 15:26:22.0 +0100
+++ /var/tmp/diff_new_pack.GNA8c9/_new  2011-02-25 15:26:22.0 +0100
@@ -1,7 +1,7 @@
 #
-# spec file for package nbd (Version 2.9.13)
+# spec file for package nbd
 #
-# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -21,16 +21,14 @@
 Name:   nbd
 BuildRequires:  doxygen glib2-devel
 PreReq: %insserv_prereq coreutils
-Version:2.9.13
-Release:2
-License:GPL v2 or later
+Version:2.9.20
+Release:1
+License:GPLv2+
 Group:  Productivity/Networking/Other
 AutoReqProv:on
 Source: %{name}-%{version}.tar.bz2
 Source2:init.nbd-server
-Patch2: nbd-2.9.13-warn.diff
-Patch3: nbd-2.9.13-doc.diff
-Patch4: nbd-2.9.13-close.diff
+Patch2: nbd-2.9.20-close.diff
 Summary:Network Block Device Server and Client Utilities
 Url:http://nbd.sourceforge.net/
 Prefix: /usr
@@ -65,7 +63,7 @@
 Paul Clements 
 
 %package doc
-License:GPL v2 or later
+License:GPLv2+
 Summary:Network Block Device Server and Client Utilities
 Group:  Productivity/Networking/Other
 Requires:   nbd = %{version}
@@ -97,14 +95,9 @@
 %prep
 %setup
 %patch2 -p1
-%patch3 -p1
-%patch4 -p1
-touch nbd-client.8
 
 %build
-autoreconf --force --install
 export CFLAGS="$RPM_OPT_FLAGS -fstack-protector"
-#export CFLAGS="$RPM_OPT_FLAGS"
 ./configure --with-gnu-ld --prefix=/usr --mandir=%{_mandir} \
--infodir=%{_infodir} --libdir=%{_libdir} --libexecdir=%{_libdir} \
--program-prefix="" --sysconfdir=/etc --build=%{_target_cpu}-suse-linux

++ nbd-2.9.13-close.diff -> nbd-2.9.20-close.diff ++
--- nbd/nbd-2.9.13-close.diff   2009-08-05 12:02:48.0 +0200
+++ /mounts/work_src_done/STABLE/nbd/nbd-2.9.20-close.diff  2011-02-25 
12:41:12.0 +0100
@@ -1,5 +1,5 @@
 nbd-2.9.13/nbd-client.c2009-08-05 11:52:04.0 +0200
-+++ nbd-2.9.13/nbd-client.c2009-08-05 11:54:20.0 +0200
+--- nbd-2.9.20/nbd-client.c2009-08-05 11:52:04.0 +0200
 nbd-2.9.20/nbd-client.c2009-08-05 11:54:20.0 +0200
 @@ -62,6 +62,7 @@
len=read(fd, buf, 256);
buf[len-1]='\0';

++ nbd-2.9.13.tar.bz2 -> nbd-2.9.20.tar.bz2 ++
 20760 lines of diff (skipped)






Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org