aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBarry J. Grundy <bgrundy@linuxleo.com>2014-11-14 09:20:58 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-11-14 09:20:58 +0700
commit83e6b72e7e0c66540944501a5e0e94bc8e37215d (patch)
treeb8931f20b3695d812bbefa1d497619848e5df0b7
parentb95188286350c72bd5e887a7d89d9f8dbf2529b4 (diff)
system/bulk_extractor: Updated for version 1.5.5.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--system/bulk_extractor/README14
-rw-r--r--system/bulk_extractor/bulk_extractor.SlackBuild14
-rw-r--r--system/bulk_extractor/bulk_extractor.info6
3 files changed, 26 insertions, 8 deletions
diff --git a/system/bulk_extractor/README b/system/bulk_extractor/README
index 76ec8a701ff17..5540024c1e664 100644
--- a/system/bulk_extractor/README
+++ b/system/bulk_extractor/README
@@ -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
common tend to be more important.
-bulk_extractor is distinguished from other forensic tools by its speed and
-thoroughness.
+bulk_extractor is distinguished from other forensic tools by its speed and
+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.
diff --git a/system/bulk_extractor/bulk_extractor.SlackBuild b/system/bulk_extractor/bulk_extractor.SlackBuild
index 96ccb243ff345..903aa717aac01 100644
--- a/system/bulk_extractor/bulk_extractor.SlackBuild
+++ b/system/bulk_extractor/bulk_extractor.SlackBuild
@@ -22,13 +22,15 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# 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
-VERSION=${VERSION:-1.5.0}
+VERSION=${VERSION:-1.5.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+LIGHTGREP_ENABLE=${LIGHTGREP_ENABLE:-no}
+
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
@@ -71,6 +73,11 @@ 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 {} \;
+# Optional liblightgrep support (LIGHTGREP_ENABLE=yes)
+if [ "$LIGHTGREP_ENABLE" = "yes" ]; then
+ with_lightgrep="--enable-lightgrep"
+fi
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -80,6 +87,7 @@ CXXFLAGS="$SLKCFLAGS" \
--localstatedir=/var \
--mandir=/usr/man \
--build=$ARCH-slackware-linux \
+ $with_lightgrep
make
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
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
find $PKG/usr/doc -type f -exec chmod 644 {} \;
diff --git a/system/bulk_extractor/bulk_extractor.info b/system/bulk_extractor/bulk_extractor.info
index 86e555cb25064..09b76412bb017 100644
--- a/system/bulk_extractor/bulk_extractor.info
+++ b/system/bulk_extractor/bulk_extractor.info
@@ -1,8 +1,8 @@
PRGNAM="bulk_extractor"
-VERSION="1.5.0"
+VERSION="1.5.5"
HOMEPAGE="https://github.com/simsong/bulk_extractor/wiki"
-DOWNLOAD="http://digitalcorpora.org/downloads/bulk_extractor/bulk_extractor-1.5.0.tar.gz"
-MD5SUM="32adde5bb668f1c8e7da48434dfb7df9"
+DOWNLOAD="http://digitalcorpora.org/downloads/bulk_extractor/bulk_extractor-1.5.5.tar.gz"
+MD5SUM="7155ce6938876be91416def15e44d585"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""