summaryrefslogtreecommitdiffstats
path: root/system/md5deep
diff options
context:
space:
mode:
author Willy Sudiarto Raharjo <willysr@slackbuilds.org>2020-06-25 00:11:30 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2020-06-25 00:11:30 +0700
commit4010330cb8e201c676f64f0bf88d0ab541155be4 (patch)
tree4157ccd45b87b435f5aff72e69ad4b5dfc06d491 /system/md5deep
parentd6f543cfe866e69b043f40e83af6508371ada72c (diff)
downloadslackbuilds-4010330cb8e201c676f64f0bf88d0ab541155be4.tar.gz
slackbuilds-4010330cb8e201c676f64f0bf88d0ab541155be4.tar.xz
system/md5deep: Fix build on -current.
Thanks to Dennis <laaber77@gmx.de> for bug report. Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/md5deep')
-rw-r--r--system/md5deep/md5deep.SlackBuild10
-rw-r--r--system/md5deep/md5deep.info2
2 files changed, 8 insertions, 4 deletions
diff --git a/system/md5deep/md5deep.SlackBuild b/system/md5deep/md5deep.SlackBuild
index 9f4760f7a0..b049d8efab 100644
--- a/system/md5deep/md5deep.SlackBuild
+++ b/system/md5deep/md5deep.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for md5deep
# Copyright 2009-2015 Erik W. Hanson, Minneapolis, MN, USA
-# Copyright 2015-2016 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Copyright 2015-2020 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -26,7 +26,7 @@
PRGNAM=md5deep
SRCNAM=hashdeep
VERSION=${VERSION:-4.4}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -62,9 +62,13 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $SRCNAM-release-$VERSION
-tar xvf $CWD/$SRCNAM-release-$VERSION.tar.gz || tar xvf $CWD/release-$VERSION.tar.gz
+tar xvf $CWD/$SRCNAM-release-$VERSION.tar.gz
cd $SRCNAM-release-$VERSION
chown -R root:root .
+
+# Remove loop
+rm -rf tests/testfiles/symlinktest/
+
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
diff --git a/system/md5deep/md5deep.info b/system/md5deep/md5deep.info
index 655b55c6ac..eaed42214d 100644
--- a/system/md5deep/md5deep.info
+++ b/system/md5deep/md5deep.info
@@ -1,7 +1,7 @@
PRGNAM="md5deep"
VERSION="4.4"
HOMEPAGE="https://github.com/jessek/hashdeep/"
-DOWNLOAD="https://github.com/jessek/hashdeep/archive/release-4.4.tar.gz"
+DOWNLOAD="https://github.com/jessek/hashdeep/archive/release-4.4/hashdeep-release-4.4.tar.gz"
MD5SUM="9ccfd5ba3e3d9cffddeb118cacad0c27"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""