diff options
author | Stu Miller <slackbuilds@go4it2day.com> | 2011-05-31 23:02:28 -0400 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2011-06-13 01:33:39 -0400 |
commit | 2a398cb06beb891b8d5acf8174e550af808dbe98 (patch) | |
tree | 2b8f9a4a3483766840fc4a5b56e6e71238d2be9d /network/nbd | |
parent | c5137b75f202ae38907001d5e98f1a4d0b13d3c6 (diff) |
network/nbd: Updated for version 2.9.21a.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'network/nbd')
-rw-r--r-- | network/nbd/README | 18 | ||||
-rw-r--r-- | network/nbd/nbd.SlackBuild | 13 | ||||
-rw-r--r-- | network/nbd/nbd.info | 10 | ||||
-rw-r--r-- | network/nbd/slack-desc | 18 |
4 files changed, 31 insertions, 28 deletions
diff --git a/network/nbd/README b/network/nbd/README index 18f1ebcb931aa..36d4f946df497 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 c5498ba091f2c..21004e2aa878e 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 <atelszewski@gmail.com> -# All rights reserved. -# +# Maintained by Stu Miller <slackbuilds@go4it2day.com> +# # 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 1d9f66b10e6f8..b8895af7b2bfc 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 c88819f46af1c..1d6674c904b18 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: |