aboutsummaryrefslogtreecommitdiff
path: root/system/open-vm-tools/open-vm-tools.SlackBuild
diff options
context:
space:
mode:
authorJEREMY HOCDE <jeremyhocde@gmail.com>2018-01-19 19:00:48 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-01-20 07:01:16 +0700
commit570ce2839d8f6c434e524d1099ea939d575b7639 (patch)
tree40331336a5739c929aec86b4ab0b6e915daa622f /system/open-vm-tools/open-vm-tools.SlackBuild
parent1f6344f12cfc655602b119b38e91e5ba2146047a (diff)
system/open-vm-tools: Update script.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/open-vm-tools/open-vm-tools.SlackBuild')
-rw-r--r--system/open-vm-tools/open-vm-tools.SlackBuild24
1 files changed, 21 insertions, 3 deletions
diff --git a/system/open-vm-tools/open-vm-tools.SlackBuild b/system/open-vm-tools/open-vm-tools.SlackBuild
index b0fd9e0ebb658..a294741688069 100644
--- a/system/open-vm-tools/open-vm-tools.SlackBuild
+++ b/system/open-vm-tools/open-vm-tools.SlackBuild
@@ -3,6 +3,7 @@
# Slackware build script for open-vm-tools
# Copyright 2017 Jeremy HOCDE
+# Copyright 2018 Alexander VERBOVETSKY
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,8 +24,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=open-vm-tools
-VERSION=${VERSION:-10.2.0_7253323}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-10.2.0_7253323} # Remember to change VERSION - to _ !!!
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
SRCVER=$(echo $VERSION | tr _ -)
@@ -56,6 +57,23 @@ else
LIBDIRSUFFIX=""
fi
+VGAUTH=${VGAUTH:-no}
+case "$VGAUTH" in
+ no)
+ VGAUTH_OPTS="--disable-vgauth"
+ ;;
+ yes)
+ VGAUTH_OPTS=""
+ ;;
+ xmlsec)
+ VGAUTH_OPTS="--enable-xmlsec1"
+ ;;
+ *)
+ echo "eRRoR with VGAUTH parameter"
+ exit 1
+ ;;
+esac
+
set -e
rm -rf $PKG
@@ -83,8 +101,8 @@ LIBS=-lcrypt \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--without-pam \
- --without-xerces \
--without-x \
+ $VGAUTH_OPTS \
--build=$ARCH-slackware-linux
make