system/bulk_extractor: Updated for version 1.5.5.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Barry J. Grundy 2014-11-14 09:20:58 +07:00 committed by Willy Sudiarto Raharjo
parent b951882863
commit 83e6b72e7e
3 changed files with 26 additions and 8 deletions

View file

@ -5,6 +5,16 @@ easily inspected, parsed, or processed with automated tools. bulk_extractor
also creates histograms of features that it finds, as features that are more also creates histograms of features that it finds, as features that are more
common tend to be more important. common tend to be more important.
bulk_extractor is distinguished from other forensic tools by its speed and bulk_extractor is distinguished from other forensic tools by its speed and
thoroughness. thoroughness.
Optional dependancies include libewf (recognized if installed), afflib
(recognized if installed), and liblightgrep.
To add optional liblightgrep support:
LIGHTGREP_ENABLE=yes ./bulk_extractor.SlackBuild
NOTE:
When running bulk_extractor with lightgrep, use
"-x find -e lightgrep -F findlist.txt" in addition to regular options.

View file

@ -22,13 +22,15 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# edited for v 1.5.0 August 2014 # edited for v 1.5.5 November 2014 - added LightGrep option.
PRGNAM=bulk_extractor PRGNAM=bulk_extractor
VERSION=${VERSION:-1.5.0} VERSION=${VERSION:-1.5.5}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
LIGHTGREP_ENABLE=${LIGHTGREP_ENABLE:-no}
if [ -z "$ARCH" ]; then if [ -z "$ARCH" ]; then
case "$( uname -m )" in case "$( uname -m )" in
i?86) ARCH=i486 ;; i?86) ARCH=i486 ;;
@ -71,6 +73,11 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# Optional liblightgrep support (LIGHTGREP_ENABLE=yes)
if [ "$LIGHTGREP_ENABLE" = "yes" ]; then
with_lightgrep="--enable-lightgrep"
fi
CFLAGS="$SLKCFLAGS" \ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \
./configure \ ./configure \
@ -80,6 +87,7 @@ CXXFLAGS="$SLKCFLAGS" \
--localstatedir=/var \ --localstatedir=/var \
--mandir=/usr/man \ --mandir=/usr/man \
--build=$ARCH-slackware-linux \ --build=$ARCH-slackware-linux \
$with_lightgrep
make make
make install DESTDIR=$PKG make install DESTDIR=$PKG
@ -91,7 +99,7 @@ find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -ar AUTHORS COPYING ChangeLog INSTALL NEWS README ROADMAP.txt doc/ $PKG/usr/doc/$PRGNAM-$VERSION cp -ar AUTHORS COPYING ChangeLog INSTALL NEWS README doc/ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
find $PKG/usr/doc -type f -exec chmod 644 {} \; find $PKG/usr/doc -type f -exec chmod 644 {} \;

View file

@ -1,8 +1,8 @@
PRGNAM="bulk_extractor" PRGNAM="bulk_extractor"
VERSION="1.5.0" VERSION="1.5.5"
HOMEPAGE="https://github.com/simsong/bulk_extractor/wiki" HOMEPAGE="https://github.com/simsong/bulk_extractor/wiki"
DOWNLOAD="http://digitalcorpora.org/downloads/bulk_extractor/bulk_extractor-1.5.0.tar.gz" DOWNLOAD="http://digitalcorpora.org/downloads/bulk_extractor/bulk_extractor-1.5.5.tar.gz"
MD5SUM="32adde5bb668f1c8e7da48434dfb7df9" MD5SUM="7155ce6938876be91416def15e44d585"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
REQUIRES="" REQUIRES=""