diff --git a/network/nbd/README b/network/nbd/README index 18f1ebcb93..36d4f946df 100644 --- a/network/nbd/README +++ b/network/nbd/README @@ -1,8 +1,12 @@ -With NBD you can access block device on remote host just as it was in your -local /dev. It works with companion with the kernel nbd driver and consists -of a server and a client. Communication between client and server works over -TCP/IP networking, but to the client program this is hidden: it looks like -a regular local file access to a block device special file such as /dev/nd0. +Network Block Devices (NBD) is used to access a remote block device on a local +machine over a TCP/IP network. Provided in this package are the userland apps +nbd-client and nbd-server. -NBD kernel driver location: Device Drivers -> Block devices -> Network block -device support The kernel driver needs only to be compiled on client side. +The nbd-server is used to export a block device over a TCP/IP network to a +remote client. It defaults to /etc/nbd-server/config for settings. +See man page nbd-server. + +The nbd-client is used to connect to the remote nbd-server block device over +a TCP/IP network. It requires the nbd kernel module provided by Slackware +which creates /dev/nbd0 through /dev/nbd15 for local use. +See man page nbd-client. \ No newline at end of file diff --git a/network/nbd/nbd.SlackBuild b/network/nbd/nbd.SlackBuild index c5498ba091..21004e2aa8 100644 --- a/network/nbd/nbd.SlackBuild +++ b/network/nbd/nbd.SlackBuild @@ -2,9 +2,8 @@ # Slackware build script for NBD (Network Block Device) -# Copyright (c) 2008 Andrzej Telszewski -# All rights reserved. -# +# Maintained by Stu Miller +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: @@ -32,7 +31,7 @@ # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=nbd -VERSION=2.9.11 +VERSION=2.9.21a BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -68,7 +67,7 @@ fi set -e rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT +mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $TMP/$PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 || exit 1 @@ -92,7 +91,7 @@ CXXFLAGS="$SLKCFLAGS" \ --disable-debug \ --build=$ARCH-slackware-linux -make +make make install DESTDIR=$PKG find $PKG | xargs file | grep -e "executable" -e "shared object"| grep ELF | \ @@ -104,7 +103,7 @@ find $PKG | xargs file | grep -e "executable" -e "shared object"| grep ELF | \ ) mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a INSTALL README $PKG/usr/doc/$PRGNAM-$VERSION +cp -a README $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/network/nbd/nbd.info b/network/nbd/nbd.info index 1d9f66b10e..b8895af7b2 100644 --- a/network/nbd/nbd.info +++ b/network/nbd/nbd.info @@ -1,10 +1,10 @@ PRGNAM="nbd" -VERSION="2.9.11" +VERSION="2.9.21a" HOMEPAGE="http://nbd.sourceforge.net/" -DOWNLOAD="http://downloads.sourceforge.net/nbd/nbd-2.9.11.tar.bz2" -MD5SUM="f6a6e09ef1833a4fd9408a84c8a18249" +DOWNLOAD="http://downloads.sourceforge.net/nbd/nbd-2.9.21a.tar.bz2" +MD5SUM="4028c77d52a13f16be5e9bf3d3bab27d" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -MAINTAINER="Andrzej Telszewski" -EMAIL="atelszewski@gmail.com" +MAINTAINER="Stu Miller" +EMAIL="slackbuilds@go4it2day.com" APPROVED="dsomero" diff --git a/network/nbd/slack-desc b/network/nbd/slack-desc index c88819f46a..1d6674c904 100644 --- a/network/nbd/slack-desc +++ b/network/nbd/slack-desc @@ -7,13 +7,13 @@ |-----handy-ruler--------------------------------------------------------| nbd: nbd (Network Block Device TCP version) -nbd: -nbd: With NBD you can access block device on remote host just as it was in -nbd: your local /dev. It works with companion with the kernel nbd driver and -nbd: consists of a server and a client. Communication between client and -nbd: server works over TCP/IP networking, but to the client program this is -nbd: hidden: it looks like a regular local file access to a block device -nbd: special file such as /dev/nd0. -nbd: +nbd: +nbd: Network Block Devices (NBD) is used to access a remote block device on +nbd: a local machine over a TCP/IP network. Provided in this package are the +nbd: userland apps nbd-client and nbd-server. +nbd: nbd: Homepage: http://nbd.sourceforge.net/ -nbd: +nbd: +nbd: +nbd: +nbd: