diff options
author | Brenton Earl <brent@exitstatusone.com> | 2020-09-26 06:47:14 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-09-26 16:10:55 +0700 |
commit | 587a44bd8168c7a82f4fc4fe7a46d1e35fec23da (patch) | |
tree | 405b82cf48f6e0e3219eec0b8bfa85b91bd796cd /libraries/Impacket/Impacket.SlackBuild | |
parent | 187eea753b4a4b7687a95b00a99b55e4fa59149a (diff) | |
download | slackbuilds-587a44bd8168c7a82f4fc4fe7a46d1e35fec23da.tar.gz |
libraries/Impacket: Updated for version 0.9.21.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/Impacket/Impacket.SlackBuild')
-rw-r--r-- | libraries/Impacket/Impacket.SlackBuild | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/libraries/Impacket/Impacket.SlackBuild b/libraries/Impacket/Impacket.SlackBuild index 1d22002ffa..3f5ab040fb 100644 --- a/libraries/Impacket/Impacket.SlackBuild +++ b/libraries/Impacket/Impacket.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for Impacket. # Copyright 2009-2010 Marco Bonetti <sid77@slackware.it> -# Copyright 2015-2016, 2018 Brenton Earl <brent@exitstatusone.com> +# Copyright 2015-2020, Brenton Earl <brent@exitstatusone.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,8 +25,7 @@ PRGNAM=Impacket SRCNAM=impacket -SRCVER=_0_9_17 -VERSION=${VERSION:-0.9.17} +VERSION=${VERSION:-0.9.21} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -64,9 +63,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $SRCNAM-$SRCNAM$SRCVER -tar -xzvf $CWD/$SRCNAM-$SRCNAM$SRCVER.tar.gz -cd $SRCNAM-$SRCNAM$SRCVER +rm -rf $SRCNAM-$VERSION +tar -xzvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -74,6 +73,11 @@ 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 {} \; +# Python3 support +if $(python3 -c 'import sys' 2>/dev/null); then + python3 setup.py install --root=$PKG +fi + python setup.py install --root=$PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ |