Hello community, here is the log from the commit of package nbd checked in at Tue Mar 13 00:59:39 CET 2007. -------- --- nbd/nbd.changes 2006-11-18 01:49:23.000000000 +0100 +++ /mounts/work_src_done/STABLE/nbd/nbd.changes 2007-03-12 23:52:13.361305000 +0100 @@ -1,0 +2,23 @@ +Mon Mar 12 23:45:45 CET 2007 - garloff@suse.de + +- Update to 2.9.2: + * make child socket nonblocking + * Reintegrate fix for 64bit on looking for file size. + * Fix cross-compiling + * Search for libraries to allow linking on Solaris +- Update to 2.9.1: + * A fix for a piece of code following a null pointer, and one + for a memory leak (if only minor). +- Update to 2.9.0: + * * Configuration file support + * The ability to server multiple nbd-server exports from one server + * Better multiple-file support (files can now be of any random size) + * Better support for virtualizing servers (in addition to replacing + %s with the client's IP address, it is now also possible to use + other options which allow for hashed directories) + * Support for changing uid and gid after startup + * The ability to do the copy-on-write stuff with a sparse file rather + than a mapped file (specified by a config file option), which may be + slightly faster. + +------------------------------------------------------------------- Old: ---- nbd-2.8.7.tar.bz2 nbd-doc.diff nbd-types.diff New: ---- nbd-2.9.2.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ nbd.spec ++++++ --- /var/tmp/diff_new_pack.j16391/_old 2007-03-13 00:59:21.000000000 +0100 +++ /var/tmp/diff_new_pack.j16391/_new 2007-03-13 00:59:21.000000000 +0100 @@ -1,7 +1,7 @@ # -# spec file for package nbd (Version 2.8.7) +# spec file for package nbd (Version 2.9.2) # -# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # @@ -13,15 +13,13 @@ Name: nbd BuildRequires: doxygen glib2-devel PreReq: %insserv_prereq -Version: 2.8.7 -Release: 12 +Version: 2.9.2 +Release: 1 License: GNU General Public License (GPL) Group: Productivity/Networking/Other Autoreqprov: on Source: %{name}-%{version}.tar.bz2 Source2: init.nbd-server -Patch1: nbd-doc.diff -Patch2: nbd-types.diff Summary: Network Block Device Server and Client Utilities URL: http://nbd.sourceforge.net/ Prefix: /usr @@ -56,8 +54,6 @@ %prep %setup -%patch1 -p1 -%patch2 touch nbd-client.8 %build @@ -96,7 +92,27 @@ %postun %{insserv_cleanup} -%changelog -n nbd +%changelog +* Mon Mar 12 2007 - garloff@suse.de +- Update to 2.9.2: + * make child socket nonblocking + * Reintegrate fix for 64bit on looking for file size. + * Fix cross-compiling + * Search for libraries to allow linking on Solaris +- Update to 2.9.1: + * A fix for a piece of code following a null pointer, and one + for a memory leak (if only minor). +- Update to 2.9.0: + * * Configuration file support + * The ability to server multiple nbd-server exports from one server + * Better multiple-file support (files can now be of any random size) + * Better support for virtualizing servers (in addition to replacing + %%s with the client's IP address, it is now also possible to use + other options which allow for hashed directories) + * Support for changing uid and gid after startup + * The ability to do the copy-on-write stuff with a sparse file rather + than a mapped file (specified by a config file option), which may be + slightly faster. * Sat Nov 18 2006 - garloff@suse.de - Add nbd-server init script (parses /etc/nbd-server.conf). * Thu Oct 19 2006 - garloff@suse.de ++++++ init.nbd-server ++++++ --- nbd/init.nbd-server 2006-11-18 01:48:58.000000000 +0100 +++ /mounts/work_src_done/STABLE/nbd/init.nbd-server 2007-03-13 00:00:20.293004000 +0100 @@ -29,7 +29,12 @@ # Check for existence of needed config file and read it NBD_CONFIG=/etc/nbd-server.conf -test -r $NBD_CONFIG || { echo "$NBD_CONFIG not existing"; +NBD29_CONFIG=/etc/nbd-server/config +test -r $NBD_CONFIG && { + echo "$NBD_CONFIG: Using old style config file deprecated"; +} +test -r $NBD_CONFIG || test -r $NBD29_CONFIG || { + echo "No config file $NBD29_CONFIG existing"; if [ "$1" = "stop" ]; then exit 0; else exit 6; fi; } @@ -44,9 +49,13 @@ echo -n "Starting nbd-server " ## Start daemon with startproc(8). If this fails ## the return value is set appropriately by startproc. - declare -i started - started=0 - while read port file options; do + if test -r $NBD29_CONFIG; then + $NBD_BIN + rc_check + else + declare -i started + started=0 + while read port file options; do if test -z "$port"; then continue; fi if test "${port:0:1}" = "#"; then continue; fi echo -n " $port" @@ -54,7 +63,8 @@ $NBD_BIN $port $file $options rc_check let started+=1 - done < $NBD_CONFIG + done < $NBD_CONFIG + fi # Remember status and be verbose if test $_rc_status = 0 -a $started = 0; then rc_status -s @@ -67,14 +77,16 @@ echo -n "Shutting down nbd-server " ## Stop daemon with killproc(8) and if this fails ## killproc sets the return value according to LSB. - - while read port file options; do + if test -r $NBD29_CONFIG; then + killall ${NBD_BIN##*/} + else + while read port file options; do if test -z "$port"; then continue; fi if test "${port:0:1}" = "#"; then continue; fi echo -n " $port" /sbin/killproc -p /var/run/nbd-server.$port.pid $NBD_BIN $port $file $options - done < $NBD_CONFIG - + done < $NBD_CONFIG + fi # Remember status and be verbose rc_status -v ;; ++++++ nbd-2.8.7.tar.bz2 -> nbd-2.9.2.tar.bz2 ++++++ ++++ 10809 lines of diff (skipped) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org