mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
libraries/Impacket: Updated for version 0.9.15.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
083f79cf4a
commit
1723090bf5
2 changed files with 22 additions and 10 deletions
|
@ -1,11 +1,9 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
# Slackware build script for Impacket.
|
# Slackware build script for Impacket.
|
||||||
#
|
|
||||||
# Copyright 2015 Brenton Earl <brent@exitstatusone.com>
|
|
||||||
# All rights reserved.
|
|
||||||
#
|
|
||||||
# Copyright 2009-2010 Marco Bonetti <sid77@slackware.it>
|
# Copyright 2009-2010 Marco Bonetti <sid77@slackware.it>
|
||||||
|
# Copyright 2015-2016 Brenton Earl <brent@exitstatusone.com>
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use of this script, with or without modification, is
|
# Redistribution and use of this script, with or without modification, is
|
||||||
|
@ -27,13 +25,13 @@
|
||||||
|
|
||||||
PRGNAM=Impacket
|
PRGNAM=Impacket
|
||||||
SRCNAM=impacket
|
SRCNAM=impacket
|
||||||
VERSION=${VERSION:-0.9.13}
|
VERSION=${VERSION:-0.9.15}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
|
||||||
if [ -z "$ARCH" ]; then
|
if [ -z "$ARCH" ]; then
|
||||||
case "$( uname -m )" in
|
case "$( uname -m )" in
|
||||||
i?86) ARCH=i486 ;;
|
i?86) ARCH=i586 ;;
|
||||||
arm*) ARCH=arm ;;
|
arm*) ARCH=arm ;;
|
||||||
*) ARCH=$( uname -m ) ;;
|
*) ARCH=$( uname -m ) ;;
|
||||||
esac
|
esac
|
||||||
|
@ -44,7 +42,21 @@ TMP=${TMP:-/tmp/SBo}
|
||||||
PKG=$TMP/package-$PRGNAM
|
PKG=$TMP/package-$PRGNAM
|
||||||
OUTPUT=${OUTPUT:-/tmp}
|
OUTPUT=${OUTPUT:-/tmp}
|
||||||
|
|
||||||
DOCS="LICENSE PKG-INFO README"
|
DOCS="ChangeLog LICENSE README.md"
|
||||||
|
|
||||||
|
if [ "$ARCH" = "i586" ]; then
|
||||||
|
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
|
||||||
|
LIBDIRSUFFIX=""
|
||||||
|
elif [ "$ARCH" = "i686" ]; then
|
||||||
|
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||||
|
LIBDIRSUFFIX=""
|
||||||
|
elif [ "$ARCH" = "x86_64" ]; then
|
||||||
|
SLKCFLAGS="-O2 -fPIC"
|
||||||
|
LIBDIRSUFFIX="64"
|
||||||
|
else
|
||||||
|
SLKCFLAGS="-O2"
|
||||||
|
LIBDIRSUFFIX=""
|
||||||
|
fi
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
PRGNAM="Impacket"
|
PRGNAM="Impacket"
|
||||||
VERSION="0.9.13"
|
VERSION="0.9.15"
|
||||||
HOMEPAGE="http://www.coresecurity.com/corelabs-research/open-source-tools/impacket"
|
HOMEPAGE="http://www.coresecurity.com/corelabs-research/open-source-tools/impacket"
|
||||||
DOWNLOAD="https://pypi.python.org/packages/source/i/impacket/impacket-0.9.13.tar.gz"
|
DOWNLOAD="https://github.com/CoreSecurity/impacket/releases/download/impacket_0_9_15/impacket-0.9.15.tar.gz"
|
||||||
MD5SUM="db305aff0dae6a3c09f873a2da248387"
|
MD5SUM="53fb6d1c375dd3ef8fff4ce2b7ff8f15"
|
||||||
DOWNLOAD_x86_64=""
|
DOWNLOAD_x86_64=""
|
||||||
MD5SUM_x86_64=""
|
MD5SUM_x86_64=""
|
||||||
REQUIRES="pyasn1 pycrypto"
|
REQUIRES="pyasn1 pycrypto"
|
||||||
|
|
Loading…
Reference in a new issue