summaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorBarry J. Grundy <bgrundy AT linuxleo.com>2022-05-12 17:57:56 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-05-14 19:28:00 +0700
commit1548ab286959c54d78ff5add2e1f7ae58ce054bd (patch)
treec1c222604e51f461f148dd821cb99ef8c27a8cc5 /system
parent23d779c2186498872390742bf3c0f28a6fa86699 (diff)
downloadslackbuilds-1548ab286959c54d78ff5add2e1f7ae58ce054bd.tar.gz
system/volatility: Fixed dependencies. Explicit python2 call.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system')
-rw-r--r--system/volatility/volatility.SlackBuild6
-rw-r--r--system/volatility/volatility.info2
2 files changed, 4 insertions, 4 deletions
diff --git a/system/volatility/volatility.SlackBuild b/system/volatility/volatility.SlackBuild
index 911fccc8b1..48a357200d 100644
--- a/system/volatility/volatility.SlackBuild
+++ b/system/volatility/volatility.SlackBuild
@@ -21,13 +21,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
-# Updated to v2.6.1, March 2019
+# Updated deps and explicit call to python2 - v2.6.1, May, 2022
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=volatility
VERSION=${VERSION:-2.6.1}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -80,7 +80,7 @@ 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 {} \;
-python setup.py install --root=$PKG
+python2 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/system/volatility/volatility.info b/system/volatility/volatility.info
index ef514f3855..1130e081ae 100644
--- a/system/volatility/volatility.info
+++ b/system/volatility/volatility.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/volatilityfoundation/volatility/archive/2.6.1/volat
MD5SUM="53319b202ac6fb6c3a5422bdf0a9f7a0"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="distorm python2-pycrypto yara-python"
+REQUIRES="python2-distorm python2-pycrypto python2-yara"
MAINTAINER="Barry J. Grundy"
EMAIL="bgrundy AT linuxleo.com"