mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
network/nbd: Updated for version 2.9.24.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
This commit is contained in:
parent
e4c4bb2c79
commit
883de473de
4 changed files with 19 additions and 23 deletions
|
@ -1,12 +1,12 @@
|
|||
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.
|
||||
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.
|
||||
|
||||
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.
|
||||
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.
|
||||
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.
|
|
@ -31,16 +31,14 @@
|
|||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
PRGNAM=nbd
|
||||
VERSION=2.9.21a
|
||||
VERSION=2.9.24
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
# Automatically determine the architecture we're building on:
|
||||
if [ -z "$ARCH" ]; then
|
||||
case "$( uname -m )" in
|
||||
i?86) ARCH=i486 ;;
|
||||
arm*) ARCH=arm ;;
|
||||
# Unless $ARCH is already set, use uname -m for all other archs:
|
||||
*) ARCH=$( uname -m ) ;;
|
||||
esac
|
||||
fi
|
||||
|
@ -97,10 +95,8 @@ make install DESTDIR=$PKG
|
|||
find $PKG | xargs file | grep -e "executable" -e "shared object"| grep ELF | \
|
||||
cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||
|
||||
( cd $PKG/usr/man
|
||||
find . -type f -exec gzip -9 {} \;
|
||||
for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
|
||||
)
|
||||
find $PKG/usr/man -type f -exec gzip -9 {} \;
|
||||
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a README $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
PRGNAM="nbd"
|
||||
VERSION="2.9.21a"
|
||||
VERSION="2.9.24"
|
||||
HOMEPAGE="http://nbd.sourceforge.net/"
|
||||
DOWNLOAD="http://downloads.sourceforge.net/nbd/nbd-2.9.21a.tar.bz2"
|
||||
MD5SUM="4028c77d52a13f16be5e9bf3d3bab27d"
|
||||
DOWNLOAD="http://downloads.sourceforge.net/nbd/nbd-2.9.24.tar.bz2"
|
||||
MD5SUM="39fa29a1b7c1da9d36c53bbb0a25e6cf"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
MAINTAINER="Stu Miller"
|
||||
EMAIL="slackbuilds@go4it2day.com"
|
||||
APPROVED="dsomero"
|
||||
APPROVED="dsomero,Niels Horn"
|
||||
|
|
|
@ -5,12 +5,12 @@
|
|||
# exactly 11 lines for the formatting to be correct. It's also customary to
|
||||
# leave one space after the ':'.
|
||||
|
||||
|-----handy-ruler--------------------------------------------------------|
|
||||
|-----handy-ruler------------------------------------------------------|
|
||||
nbd: nbd (Network Block Device TCP version)
|
||||
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: a local machine over a TCP/IP network. Provided in this package are
|
||||
nbd: the userland apps nbd-client and nbd-server.
|
||||
nbd:
|
||||
nbd: Homepage: http://nbd.sourceforge.net/
|
||||
nbd:
|
||||
|
|
Loading…
Reference in a new issue