aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libraries/libsigscan/README52
-rw-r--r--libraries/libsigscan/libsigscan.SlackBuild25
-rw-r--r--libraries/libsigscan/libsigscan.info6
3 files changed, 36 insertions, 47 deletions
diff --git a/libraries/libsigscan/README b/libraries/libsigscan/README
index b5466a67d1da..cac21d71b206 100644
--- a/libraries/libsigscan/README
+++ b/libraries/libsigscan/README
@@ -1,32 +1,20 @@
-libsigscan (libYAL binary signature scanning)
-
-libsigscan is a library and set of tools that can be used to search a
-source file for binary signatures.
-
-It is configured to scan for the following (an alternate configuration
-file can be specified):
-
-7z
-bzip2
-esedb
-evt
-evtx
-ewf_e01
-ewf_l01
-gzip
-lnk
-msiecf
-nk2
-olecf
-olecf_beta
-pdf
-pff
-qcow
-rar
-regf
-tar
-vhdi_header
-vhdi_footer
-wtcdb_cache
-wtcdb_index
-zip
+libsigscan is a library for binary signature scanning.
+
+Project information:
+
+* Status: experimental
+* Licence: LGPLv3+
+
+Work in progress:
+
+* Unbound scan tree support
+
+Planned:
+
+* Multi-threading support
+
+For more information see:
+
+* Project documentation: https://github.com/libyal/libsigscan/wiki/Home
+* How to build from source:
+ https://github.com/libyal/libsigscan/wiki/Building
diff --git a/libraries/libsigscan/libsigscan.SlackBuild b/libraries/libsigscan/libsigscan.SlackBuild
index bb624cac6162..73013310ade8 100644
--- a/libraries/libsigscan/libsigscan.SlackBuild
+++ b/libraries/libsigscan/libsigscan.SlackBuild
@@ -1,8 +1,8 @@
#!/bin/bash
# Slackware build script for libsigscan
-
-# Copyright 2014-2019 Barry J. Grundy (bgrundy<at>linuxleo.com)
+#
+# Copyright 2014-2022 Barry J. Grundy (bgrundy<at>linuxleo.com)
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -21,20 +21,21 @@
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-# Updated to version 20190103, March 2019
+#
+# Updated to version 20220124 May 2022
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=libsigscan
-VERSION=${VERSION:-20190103}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-20220124}
+STATUS=${STATUS:-experimental}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -52,8 +53,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -72,7 +73,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/"$PRGNAM"_"$VERSION".orig.tar.gz
+tar xvf $CWD/"$PRGNAM"-"$STATUS"-"$VERSION".tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -90,7 +91,7 @@ CXXFLAGS="$SLKCFLAGS -std=gnu89" \
--localstatedir=/var \
--mandir=/usr/man \
--disable-static \
- --enable-python \
+ --enable-python3 \
--build=$ARCH-slackware-linux
make
@@ -100,7 +101,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 ABOUT-NLS AUTHORS ChangeLog COPYING INSTALL README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -ar ABOUT-NLS AUTHORS ChangeLog COPYING README $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
rm -f $PKG/usr/lib*/*.la
diff --git a/libraries/libsigscan/libsigscan.info b/libraries/libsigscan/libsigscan.info
index 1f43f6055f38..8508ff3e1f28 100644
--- a/libraries/libsigscan/libsigscan.info
+++ b/libraries/libsigscan/libsigscan.info
@@ -1,8 +1,8 @@
PRGNAM="libsigscan"
-VERSION="20190103"
+VERSION="20220124"
HOMEPAGE="https://github.com/libyal/libsigscan"
-DOWNLOAD="http://deb.debian.org/debian/pool/main/libs/libsigscan/libsigscan_20190103.orig.tar.gz"
-MD5SUM="b45f2c216a4db1c9ad1ad9421e025b76"
+DOWNLOAD="https://linuxleo.com/Source/libsigscan-experimental-20220124.tar.gz"
+MD5SUM="04e1e7bdfc032400c8ea0271b539ca23"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""