summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--system/sleuthkit/README2
-rw-r--r--system/sleuthkit/sleuthkit.SlackBuild12
-rw-r--r--system/sleuthkit/sleuthkit.info10
3 files changed, 15 insertions, 9 deletions
diff --git a/system/sleuthkit/README b/system/sleuthkit/README
index 8032c2a882..0d3bcb40ce 100644
--- a/system/sleuthkit/README
+++ b/system/sleuthkit/README
@@ -5,4 +5,4 @@ acquired during incident response or from live systems. The
Sleuth Kit is open source, which allows investigators to verify
the actions of the tool or customize it to specific needs.
-Sleuthkit can use libewf and afflib, available at Slackbuilds.org \ No newline at end of file
+Sleuthkit can use libewf and afflib.
diff --git a/system/sleuthkit/sleuthkit.SlackBuild b/system/sleuthkit/sleuthkit.SlackBuild
index 4063759981..0ddaa23f18 100644
--- a/system/sleuthkit/sleuthkit.SlackBuild
+++ b/system/sleuthkit/sleuthkit.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=sleuthkit
-VERSION=3.0.1
+VERSION=3.1.0
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -35,10 +35,13 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
fi
set -e
@@ -56,11 +59,12 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --mandir=/usr/man \
--sysconfdir=/etc \
--localstatedir=/var \
--disable-static \
- --build=$ARCH-slackware-linux \
- --host=$ARCH-slackware-linux
+ --build=$ARCH-slackware-linux
make
make install-strip DESTDIR=$PKG
@@ -79,4 +83,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/system/sleuthkit/sleuthkit.info b/system/sleuthkit/sleuthkit.info
index 3b469976ec..807cebd3d8 100644
--- a/system/sleuthkit/sleuthkit.info
+++ b/system/sleuthkit/sleuthkit.info
@@ -1,8 +1,10 @@
PRGNAM="sleuthkit"
-VERSION="3.0.1"
+VERSION="3.1.0"
HOMEPAGE="http://www.sleuthkit.org/sleuthkit/"
-DOWNLOAD="http://downloads.sourceforge.net/sleuthkit/sleuthkit-3.0.1.tar.gz"
-MD5SUM="55956dd3bbfa6c9e2ebcc685c2a9569d"
+DOWNLOAD="http://downloads.sourceforge.net/sleuthkit/sleuthkit-3.1.0.tar.gz"
+DOWNLOAD_x86_64=""
+MD5SUM="a97899eabe792cad77536cdc5e5825d4"
+MD5SUM_x86_64=""
MAINTAINER="Barry J. Grundy"
EMAIL="bgrundy<at>linuxleo.com"
-APPROVED="dsomero"
+APPROVED="Erik Hanson"