system/sleuthkit: Updated for version 3.1.0

This commit is contained in:
Barry J. Grundy 2010-05-13 00:41:47 +02:00 committed by Erik Hanson
parent e550883348
commit 63b09cb4cf
3 changed files with 15 additions and 9 deletions

View File

@ -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
Sleuthkit can use libewf and afflib.

View File

@ -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}

View File

@ -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"