aboutsummaryrefslogtreecommitdiff
path: root/network/tmate
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2016-05-28 12:05:48 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-05-29 09:43:06 +0700
commit1a443f1439f7e3d12286e9d1186096e73e7f7771 (patch)
treedacf9149587c7b1614fcb58d2419bd54c37fee21 /network/tmate
parentceb971a4a54da20788812daca73f1eab0734f221 (diff)
network/tmate: Updated for version 2.1.
Signed-off-by: David Spencer <baildon.research@googlemail.com>
Diffstat (limited to 'network/tmate')
-rw-r--r--network/tmate/tmate.SlackBuild17
-rw-r--r--network/tmate/tmate.info6
2 files changed, 8 insertions, 15 deletions
diff --git a/network/tmate/tmate.SlackBuild b/network/tmate/tmate.SlackBuild
index 855737060587..62847d8aa5ac 100644
--- a/network/tmate/tmate.SlackBuild
+++ b/network/tmate/tmate.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=tmate
-VERSION=${VERSION:-1.8.10}
+VERSION=${VERSION:-2.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -60,11 +60,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-if [ -f $CWD/$VERSION.tar.gz ]; then
- tar xvf $CWD/$VERSION.tar.gz
-else
- tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-fi
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -73,11 +69,6 @@ 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 {} \;
-# Fix for gcc-5.2.0
-# "ISO C does not support ‘__FUNCTION__’ predefined identifier"
-sed -i -e 's/ -pedantic -pedantic-errors//' \
- libssh/cmake/Modules/DefineCompilerFlags.cmake
-
./autogen.sh
CFLAGS="$SLKCFLAGS" \
@@ -101,7 +92,9 @@ 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 CHANGES FAQ README-tmux README.md SYNCING TODO $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ CHANGES COPYING FAQ README SYNCING TODO \
+ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/network/tmate/tmate.info b/network/tmate/tmate.info
index bee1a2c57509..bdabdf57122b 100644
--- a/network/tmate/tmate.info
+++ b/network/tmate/tmate.info
@@ -1,8 +1,8 @@
PRGNAM="tmate"
-VERSION="1.8.10"
+VERSION="2.1"
HOMEPAGE="http://tmate.io/"
-DOWNLOAD="https://github.com/nviennot/tmate/archive/1.8.10.tar.gz"
-MD5SUM="bfe6cc7e7e0232c7199a83f5c06494ab"
+DOWNLOAD="https://github.com/nviennot/tmate/archive/2.1/tmate-2.1.tar.gz"
+MD5SUM="246f2464bc51c1df517069cbc3e882b5"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""