aboutsummaryrefslogtreecommitdiff
path: root/libraries/Impacket
diff options
context:
space:
mode:
authorIsaac Yu <isaacyu1@isaacyu1.com>2023-04-29 14:40:33 -0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-05-05 07:52:24 +0700
commite077700940d27215e9925bb8cdfeabb426beac07 (patch)
tree642cf513c74a46470699386e9f5e78287eb3b19b /libraries/Impacket
parent2868cec0c3beebf9a87ccbcc0538cd88bea38bdd (diff)
libraries/Impacket: Update DEPs
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/Impacket')
-rw-r--r--libraries/Impacket/Impacket.SlackBuild10
-rw-r--r--libraries/Impacket/Impacket.info2
2 files changed, 4 insertions, 8 deletions
diff --git a/libraries/Impacket/Impacket.SlackBuild b/libraries/Impacket/Impacket.SlackBuild
index 5880ca0ac837..929d02518ad8 100644
--- a/libraries/Impacket/Impacket.SlackBuild
+++ b/libraries/Impacket/Impacket.SlackBuild
@@ -31,7 +31,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=Impacket
SRCNAM=impacket
VERSION=${VERSION:-0.9.21}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -83,12 +83,8 @@ 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
+python2 setup.py install --root=$PKG
+python3 setup.py install --root=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
diff --git a/libraries/Impacket/Impacket.info b/libraries/Impacket/Impacket.info
index ebaf20c4b9a0..b259b7b4fdef 100644
--- a/libraries/Impacket/Impacket.info
+++ b/libraries/Impacket/Impacket.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://pypi.io/packages/source/i/impacket/impacket-0.9.21.tar.gz"
MD5SUM="c0a71706c09c7343905c9395076d7e31"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="pyasn1 python2-pycrypto"
+REQUIRES="python2-pyasn1 python2-pycrypto python3-pyasn1"
MAINTAINER="Brenton Earl"
EMAIL="brent@exitstatusone.com"