aboutsummaryrefslogtreecommitdiff
path: root/system/bulk_extractor
diff options
context:
space:
mode:
Diffstat (limited to 'system/bulk_extractor')
-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=""