network/nbd: Updated for version 2.9.21a.

Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
Stu Miller 2011-05-31 23:02:28 -04:00 committed by Robby Workman
parent c5137b75f2
commit 2a398cb06b
4 changed files with 31 additions and 28 deletions

View file

@ -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.

View file

@ -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

View file

@ -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"

View file

@ -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: