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>
This commit is contained in:
Brenton Earl 2020-09-26 06:47:14 +01:00 committed by Willy Sudiarto Raharjo
parent 187eea753b
commit 587a44bd81
No known key found for this signature in database
GPG key ID: 3F617144D7238786
4 changed files with 20 additions and 16 deletions

View file

@ -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 \

View file

@ -1,10 +1,10 @@
PRGNAM="Impacket"
VERSION="0.9.17"
HOMEPAGE="https://www.coresecurity.com/corelabs-research/open-source-tools/impacket"
DOWNLOAD="https://github.com/CoreSecurity/impacket/archive/impacket_0_9_17/impacket-impacket_0_9_17.tar.gz"
MD5SUM="a53a34898856307c79c02fcd8b8b1cb4"
VERSION="0.9.21"
HOMEPAGE="https://github.com/SecureAuthCorp/impacket"
DOWNLOAD="https://pypi.io/packages/source/i/impacket/impacket-0.9.21.tar.gz"
MD5SUM="c0a71706c09c7343905c9395076d7e31"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="pyasn1 pycrypto six"
REQUIRES="pyasn1 pycrypto six python3-six"
MAINTAINER="Brenton Earl"
EMAIL="brent@exitstatusone.com"

View file

@ -3,7 +3,7 @@ to network packets. Impacket allows Python developers to craft and
decode network packets in simple and consistent manner. It includes
support for low-level protocols such as IP, UDP and TCP, as well as
higher-level protocols such as NMB and SMB. Impacket is highly effective
when used in conjunction with a packet capture utility or package such as
Pcapy. Packets can be constructed from scratch, as well as parsed from
raw data. Furthermore, the object oriented API makes it simple to work
with deep protocol hierarchies.
when used in conjunction with a packet capture utility or package such
as Pcapy. Packets can be constructed from scratch, as well as parsed
from raw data. Furthermore, the object oriented API makes it simple to
work with deep protocol hierarchies.

View file

@ -14,6 +14,6 @@ Impacket: decode network packets in simple and consistent manner. It includes
Impacket: support for low-level protocols such as IP, UDP and TCP, as well as
Impacket: higher-level protocols such as NMB and SMB.
Impacket:
Impacket: Home page: https://github.com/CoreSecurity/impacket
Impacket: Home page: https://github.com/SecureAuthCorp/impacket
Impacket:
Impacket: