summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"