From 883de473de412d29c0b7b84d1a9ca317c9e80b3c Mon Sep 17 00:00:00 2001 From: Stu Miller Date: Wed, 9 Nov 2011 09:30:09 -0200 Subject: network/nbd: Updated for version 2.9.24. Signed-off-by: Niels Horn --- network/nbd/README | 18 +++++++++--------- network/nbd/nbd.SlackBuild | 10 +++------- network/nbd/nbd.info | 8 ++++---- network/nbd/slack-desc | 6 +++--- 4 files changed, 19 insertions(+), 23 deletions(-) (limited to 'network') diff --git a/network/nbd/README b/network/nbd/README index 36d4f946df..76a0889662 100644 --- a/network/nbd/README +++ b/network/nbd/README @@ -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. -See man page nbd-client. \ No newline at end of file +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. diff --git a/network/nbd/nbd.SlackBuild b/network/nbd/nbd.SlackBuild index 21004e2aa8..916e337b0f 100644 --- a/network/nbd/nbd.SlackBuild +++ b/network/nbd/nbd.SlackBuild @@ -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 diff --git a/network/nbd/nbd.info b/network/nbd/nbd.info index b8895af7b2..21af2b24ca 100644 --- a/network/nbd/nbd.info +++ b/network/nbd/nbd.info @@ -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" diff --git a/network/nbd/slack-desc b/network/nbd/slack-desc index 1d6674c904..88c5425b70 100644 --- a/network/nbd/slack-desc +++ b/network/nbd/slack-desc @@ -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: -- cgit v1.2.3