summaryrefslogtreecommitdiff
path: root/network/nbd/nbd.SlackBuild
diff options
context:
space:
mode:
authorChristoph Willing <chris.willing@iinet.net.au>2016-08-08 17:19:00 +1000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-08-13 07:22:49 +0700
commit744fb04ef3f5d8c8f32adb5f90476d0ef69cf188 (patch)
treeee233aad7eb25e6db71e6ab8cd9b6d655cd8b0db /network/nbd/nbd.SlackBuild
parentb3c224122509dbc30515a01a38b8c962dc083cc9 (diff)
downloadslackbuilds-744fb04ef3f5d8c8f32adb5f90476d0ef69cf188.tar.gz
network/nbd: Updated for version 3.14
Signed-off-by: Christoph Willing <chris.willing@iinet.net.au>
Diffstat (limited to 'network/nbd/nbd.SlackBuild')
-rw-r--r--network/nbd/nbd.SlackBuild14
1 files changed, 9 insertions, 5 deletions
diff --git a/network/nbd/nbd.SlackBuild b/network/nbd/nbd.SlackBuild
index cc72e77af8..6ba059af09 100644
--- a/network/nbd/nbd.SlackBuild
+++ b/network/nbd/nbd.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for NBD (Network Block Device)
# Previously maintained by Stu Miller <slackbuilds@go4it2day.com>
-# Currently maintained by Christoph Willing <chris.willing@linux.com"
+# Maintained 2013-2016 by Christoph Willing <chris.willing@linux.com>
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
@@ -32,13 +32,13 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=nbd
-VERSION=${VERSION:-3.13}
+VERSION=${VERSION:-3.14}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -49,8 +49,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -71,6 +71,8 @@ cd $TMP
rm -rf $TMP/$PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
cd $PRGNAM-$VERSION
+patch -p0 <$CWD/010_no-systemd.diff
+chmod a+x support/genver.sh
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -78,6 +80,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+autoreconf -fiv
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \