OBS User unknown 2009-07-09 11:57:14 +00:00 committed by Git OBS Bridge
parent 797e5b43a3
commit ec73d620c7
6 changed files with 29 additions and 109 deletions

View File

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

3
nbd-2.9.13.tar.bz2 Normal file
View File

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

View File

@ -1,3 +1,24 @@
-------------------------------------------------------------------
Thu Jul 9 11:41:55 CEST 2009 - ms@suse.de
- Update to nbd-2.9.13:
* Documentation update
* Don't try working on partitions
When a partition is given to the -d or -c command line options, reduce
it to the master device instead. This assumes udev-style naming
of device entries, though.
* Fix autodetection
Everything else in nbd-server was already 64bit-clean, but this part,
where the size of a block device is autodected, wasn't.
Replace the ioctl() to BLKGETSIZE with its 64bit version, so that trying
to detect the size of a multi-terabyte block device does not fail.
* Avoid unaligned access
* Actually go daemon
just doing chdir("/") leave file descriptors open, which is not ideal.
Doing it this way closes everything, including any system-specific
things we're not aware of.
* Remove support for timeout option
------------------------------------------------------------------- -------------------------------------------------------------------
Mon May 4 10:40:15 CEST 2009 - ms@suse.de Mon May 4 10:40:15 CEST 2009 - ms@suse.de

111
nbd.spec
View File

@ -1,5 +1,5 @@
# #
# spec file for package nbd (Version 2.9.12) # spec file for package nbd (Version 2.9.13)
# #
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
# #
@ -21,15 +21,15 @@
Name: nbd Name: nbd
BuildRequires: doxygen glib2-devel BuildRequires: doxygen glib2-devel
PreReq: %insserv_prereq coreutils PreReq: %insserv_prereq coreutils
Version: 2.9.12 Version: 2.9.13
Release: 1 Release: 1
License: GPL v2 or later License: GPL v2 or later
Group: Productivity/Networking/Other Group: Productivity/Networking/Other
AutoReqProv: on AutoReqProv: on
Source: %{name}-%{version}.tar.bz2 Source: %{name}-%{version}.tar.bz2
Source2: init.nbd-server Source2: init.nbd-server
Patch2: nbd-2.9.12-warn.diff Patch2: nbd-2.9.13-warn.diff
Patch3: nbd-2.9.12-doc.diff Patch3: nbd-2.9.13-doc.diff
Summary: Network Block Device Server and Client Utilities Summary: Network Block Device Server and Client Utilities
Url: http://nbd.sourceforge.net/ Url: http://nbd.sourceforge.net/
Prefix: /usr Prefix: /usr
@ -166,106 +166,5 @@ fi
%preun %preun
%{stop_on_removal nbd-server} %{stop_on_removal nbd-server}
%changelog %changelog
* Mon May 04 2009 ms@suse.de
- Update to nbd-2.9.12:
* use atoll instead of atol ... so that multi-terabyte exports work, too
* Change meaning of -swap option: rather than trying to use a kernel patch
which has been effectively dead since sometime around 2.1.something, do an
mlockall() so that the kernel won't throw us out. The MCL_CURRENT | MCL_FUTURE
bit might prove to be problematic, but if so, we'll deal with it when
we get there
* Use right printf() format string
* Wed Aug 20 2008 garloff@suse.de
- Update to nbd-2.9.11:
* nbd-client: new option -c to check for connection, -d to
drop connection, -persist to infinitely retry connections
dropped by server. timeout= setting
* nbd-server: drop autoreadonly option
* Thu Nov 15 2007 garloff@suse.de
- Update to nbd-2.9.9:
* Document -C option of nbd-server.
* Fix name of /var/run/ file.
* Wed Nov 07 2007 garloff@suse.de
- Split nbd into nbd and nbd-doc packages.
- Update to nbd-2.9.8:
* nbd-server can now setuid to specified user and group.
* prerun and postrun scripts can be specified.
* IP address to bind to (listenaddress) can be configured.
* Socket Direct Protocol (sdp) -- not enabled.
* server exits now after connection has gone (oops!).
* nbd-client: timeout parameter.
* Mon Jul 30 2007 garloff@suse.de
- Convert options from old nbd-server.conf to new nbd-server/config
on update and drop support for old config file syntax.
- Fix daemonize(0) segfault and pid filename.
- Fix compiler warnings.
- Fix /dev filename docu.
- Use startproc, killproc, checkproc in init script
- nbd-server does not support SIGHUP, fix init script accordingly.
* Tue Jul 17 2007 garloff@suse.de
- Update to nbd-2.9.5:
* Support for more platforms, pkgconfig, debug build.
* -o option to convert cmdline options to config file.
* Fix duplication in handling nonblocking server socket.
* Tue Mar 13 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
- Update to nbd-2.8.7:
* A fix for build against nbd.h for kernel 2.6.18 (and above,
presumably)
* Fri Oct 13 2006 ro@suse.de
- include linux/types.h before linux/nbd.h
* Mon Aug 07 2006 garloff@suse.de
- Update to nbd-2.8.6:
* performance/reliability improvements: Use select() rather than
accept() and waitpid() with WNOHANG rather than wait().
- Update to nbd-2.8.5:
* -persist option.
* Add export verification.
* Make sure queue is empty for write requests to read-only export.
- Update to nbd-2.8.4:
* Includes the previous fix (closing server socket)
* Mon Mar 06 2006 garloff@suse.de
- Make sure children quit when they finish serving, rather than
trying to do stuff with a server socket that they've closed
already in a loop. Whoops. (Fix from nbd-2.8.4.)
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Mon Jan 23 2006 garloff@suse.de
- Enable -fstack-protector.
* Mon Jan 09 2006 garloff@suse.de
- Update to nbd-2.8.3:
* CVE-2005-3534.
* A fix for 64bit systems regarding the BLKGETSIZE ioctl().
* Better handling of SIGCHLD.
* Tue Dec 20 2005 garloff@suse.de
- Update to nbd-2.8.2:
* Enable LFS by default.
* Wed Nov 02 2005 dmueller@suse.de
- don't build as root
* Fri Oct 28 2005 garloff@suse.de
- Update to version 2.8.1.
- Documentation added.
* Mon Jul 04 2005 garloff@suse.de
- Initial creation of package.