summaryrefslogtreecommitdiff
path: root/source/n/nfs-utils
diff options
context:
space:
mode:
Diffstat (limited to 'source/n/nfs-utils')
-rw-r--r--source/n/nfs-utils/nfs-utils-1.2.2.tar.bz2.sign (renamed from source/n/nfs-utils/nfs-utils-1.1.4.tar.bz2.sign)6
-rwxr-xr-xsource/n/nfs-utils/nfs-utils.SlackBuild19
2 files changed, 18 insertions, 7 deletions
diff --git a/source/n/nfs-utils/nfs-utils-1.1.4.tar.bz2.sign b/source/n/nfs-utils/nfs-utils-1.2.2.tar.bz2.sign
index 3457f1ef..a4b95a79 100644
--- a/source/n/nfs-utils/nfs-utils-1.1.4.tar.bz2.sign
+++ b/source/n/nfs-utils/nfs-utils-1.2.2.tar.bz2.sign
@@ -2,7 +2,7 @@
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: See http://www.kernel.org/signature.html for info
-iD8DBQBI+KqOyGugalF9Dw4RAuC3AJ97L3+wXMajwG6cIy+8GJJUQYWi3ACgkyET
-zLF2+bn5et1RX1dGiiijnhs=
-=VrzL
+iD8DBQBLfTsAyGugalF9Dw4RAgLSAJ0TnlJLHcU7dEWZ80LA775ZuQnrigCgjnWB
+bxbY8o9jiBY9G422Fh6b8bA=
+=dG1E
-----END PGP SIGNATURE-----
diff --git a/source/n/nfs-utils/nfs-utils.SlackBuild b/source/n/nfs-utils/nfs-utils.SlackBuild
index 1e3f5cbf..8f3e3ef8 100755
--- a/source/n/nfs-utils/nfs-utils.SlackBuild
+++ b/source/n/nfs-utils/nfs-utils.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/sh
-# Copyright 2008, 2009 Patrick J. Volkerding, Sebeka, MN, USA
+# Copyright 2008, 2009, 2010 Patrick J. Volkerding, Sebeka, MN, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -21,10 +21,19 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-VERSION=1.1.4
-ARCH=${ARCH:-x86_64}
+VERSION=1.2.2
BUILD=${BUILD:-1}
+# Automatically determine the architecture we're building on:
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) export ARCH=i486 ;;
+ arm*) export ARCH=arm ;;
+ # Unless $ARCH is already set, use uname -m for all other archs:
+ *) export ARCH=$( uname -m ) ;;
+ esac
+fi
+
NUMJOBS=${NUMJOBS:-" -j7 "}
if [ "$ARCH" = "i486" ]; then
@@ -33,6 +42,8 @@ elif [ "$ARCH" = "s390" ]; then
SLKCFLAGS="-O2"
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
+else
+ SLKCFLAGS="-O2"
fi
CWD=$(pwd)
@@ -75,7 +86,7 @@ CFLAGS="$SLKCFLAGS" \
--enable-nfsv3 \
--enable-nfsv4=no \
--enable-gss=no \
- --enable-secure-statd \
+ --enable-tirpc=no \
--program-prefix= \
--program-suffix= \
--build=$ARCH-slackware-linux