diff options
Diffstat (limited to 'network/sshuttle')
-rw-r--r-- | network/sshuttle/sshuttle.SlackBuild | 31 | ||||
-rw-r--r-- | network/sshuttle/sshuttle.info | 8 |
2 files changed, 10 insertions, 29 deletions
diff --git a/network/sshuttle/sshuttle.SlackBuild b/network/sshuttle/sshuttle.SlackBuild index c463ee9943..1e00e4a35d 100644 --- a/network/sshuttle/sshuttle.SlackBuild +++ b/network/sshuttle/sshuttle.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for "sshuttle". -# Copyright 2014-2015 Marcel Saegebarth <marc@mos6581.de> +# Copyright 2014-2016 Marcel Saegebarth <marc@mos6581.de> # All rights reserved. # # Redistribution and use in source and binary forms, with or without @@ -25,8 +25,8 @@ # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=sshuttle -VERSION=${VERSION:-0.61} -BUILD=${BUILD:-2} +VERSION=${VERSION:-0.77.2} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -62,8 +62,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -unzip $CWD/$PRGNAM-$VERSION.zip || unzip $CWD/$PRGNAM-$PRGNAM-$VERSION.zip -mv $PRGNAM-$PRGNAM-$VERSION $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . find -L . \ @@ -72,25 +71,7 @@ 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 {} \; -sed -i 's#DIR=.*#DIR=/usr/share/sshuttle#' sshuttle - -make - -if [ ! -f $TMP/$PRGNAM-$VERSION/Documentation/$PRGNAM.8 ]; then - echo "Missing dependencies for creating manpages" - exit 1 -fi - -mkdir -p $PKG/usr/bin -install -m 0755 $TMP/$PRGNAM-$VERSION/$PRGNAM $PKG/usr/bin - -mkdir -p $PKG/usr/share/$PRGNAM -cp -a $TMP/$PRGNAM-$VERSION/*.py $PKG/usr/share/$PRGNAM - -for file in compat version ; do - mkdir -p $PKG/usr/share/$PRGNAM/$file - cp -a $TMP/$PRGNAM-$VERSION/$file/*.py $PKG/usr/share/$PRGNAM/$file -done +python setup.py install --root=$PKG mkdir -p $PKG/usr/man/man8 cat $TMP/$PRGNAM-$VERSION/Documentation/$PRGNAM.8 | gzip -9c > \ @@ -98,7 +79,7 @@ $PKG/usr/man/man8/$PRGNAM.8.gz mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - LICENSE README.md \ + CHANGES.rst LICENSE README.rst \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/network/sshuttle/sshuttle.info b/network/sshuttle/sshuttle.info index 2c8ef9212a..8bef52438e 100644 --- a/network/sshuttle/sshuttle.info +++ b/network/sshuttle/sshuttle.info @@ -1,10 +1,10 @@ PRGNAM="sshuttle" -VERSION="0.61" +VERSION="0.77.2" HOMEPAGE="https://github.com/apenwarr/sshuttle/" -DOWNLOAD="https://github.com/apenwarr/sshuttle/archive/sshuttle-0.61.zip" -MD5SUM="cf2be7cd80a252025119497af74c2d6c" +DOWNLOAD="https://pypi.python.org/packages/source/s/sshuttle/sshuttle-0.77.2.tar.gz" +MD5SUM="833dd5ff86523199dbf54356db5d4bb5" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="Markdown BeautifulSoup" +REQUIRES="" MAINTAINER="Marcel Saegebarth" EMAIL="marc@mos6581.de" |