summaryrefslogtreecommitdiff
path: root/libraries/Impacket
diff options
context:
space:
mode:
authorBrenton Earl <brent@exitstatusone.com>2016-12-15 06:59:40 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-12-15 22:32:06 +0700
commit1723090bf5df91cc4a91f454365872c1bf017908 (patch)
treebf4a428dfa20689f155212c2901df8d569dd3570 /libraries/Impacket
parent083f79cf4a2fea96b049abb24b3723258e729398 (diff)
downloadslackbuilds-1723090bf5df91cc4a91f454365872c1bf017908.tar.gz
libraries/Impacket: Updated for version 0.9.15.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/Impacket')
-rw-r--r--libraries/Impacket/Impacket.SlackBuild26
-rw-r--r--libraries/Impacket/Impacket.info6
2 files changed, 22 insertions, 10 deletions
diff --git a/libraries/Impacket/Impacket.SlackBuild b/libraries/Impacket/Impacket.SlackBuild
index 9f21cf7734..76f29b6483 100644
--- a/libraries/Impacket/Impacket.SlackBuild
+++ b/libraries/Impacket/Impacket.SlackBuild
@@ -1,11 +1,9 @@
#!/bin/sh
# Slackware build script for Impacket.
-#
-# Copyright 2015 Brenton Earl <brent@exitstatusone.com>
-# All rights reserved.
-#
+
# Copyright 2009-2010 Marco Bonetti <sid77@slackware.it>
+# Copyright 2015-2016 Brenton Earl <brent@exitstatusone.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -27,13 +25,13 @@
PRGNAM=Impacket
SRCNAM=impacket
-VERSION=${VERSION:-0.9.13}
+VERSION=${VERSION:-0.9.15}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -44,7 +42,21 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
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
diff --git a/libraries/Impacket/Impacket.info b/libraries/Impacket/Impacket.info
index 5896e77d86..f48698ff0d 100644
--- a/libraries/Impacket/Impacket.info
+++ b/libraries/Impacket/Impacket.info
@@ -1,8 +1,8 @@
PRGNAM="Impacket"
-VERSION="0.9.13"
+VERSION="0.9.15"
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"
-MD5SUM="db305aff0dae6a3c09f873a2da248387"
+DOWNLOAD="https://github.com/CoreSecurity/impacket/releases/download/impacket_0_9_15/impacket-0.9.15.tar.gz"
+MD5SUM="53fb6d1c375dd3ef8fff4ce2b7ff8f15"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="pyasn1 pycrypto"