From 1a443f1439f7e3d12286e9d1186096e73e7f7771 Mon Sep 17 00:00:00 2001 From: David Spencer Date: Sat, 28 May 2016 12:05:48 +0100 Subject: network/tmate: Updated for version 2.1. Signed-off-by: David Spencer --- network/tmate/tmate.SlackBuild | 17 +++++------------ network/tmate/tmate.info | 6 +++--- 2 files changed, 8 insertions(+), 15 deletions(-) (limited to 'network/tmate') diff --git a/network/tmate/tmate.SlackBuild b/network/tmate/tmate.SlackBuild index 8557370605..62847d8aa5 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 bee1a2c575..bdabdf5712 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="" -- cgit v1.2.3