aboutsummaryrefslogtreecommitdiff
path: root/network/guacamole-server/guacamole-server.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/guacamole-server/guacamole-server.SlackBuild')
-rw-r--r--network/guacamole-server/guacamole-server.SlackBuild15
1 files changed, 9 insertions, 6 deletions
diff --git a/network/guacamole-server/guacamole-server.SlackBuild b/network/guacamole-server/guacamole-server.SlackBuild
index 29c6bd95a5f1a..769094b7e57a6 100644
--- a/network/guacamole-server/guacamole-server.SlackBuild
+++ b/network/guacamole-server/guacamole-server.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for guacamole-server
-# Copyright 2015 Zhu Qun-Ying
+# Copyright 2015-2018 Zhu Qun-Ying
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=guacamole-server
-VERSION=${VERSION:-0.9.9}
+VERSION=${VERSION:-0.9.14}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -35,6 +35,7 @@ if [ -z "$ARCH" ]; then
esac
fi
+SRC_DIR=$PRGNAM-$VERSION
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
@@ -59,9 +60,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
+rm -rf $SRC_DIR
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
+cd $SRC_DIR
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -70,7 +71,9 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# use system uuid library from util-linux instead of OSSP uuid
-patch -p1 < $CWD/uuid.patch
+for file in $CWD/patch/* ; do
+ patch -p1 < $file
+done
autoreconf -fi
CFLAGS="$SLKCFLAGS" \
@@ -93,7 +96,7 @@ 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 LICENSE ChangeLog AUTHORS $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a README LICENSE NOTICE CONTRIBUTING $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install