system/ssdeep: Updated for version 2.14.1, new maintainer.

Signed-off-by: B. Watson <urchlay@slackware.uk>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2024-09-05 02:35:15 -04:00 committed by Willy Sudiarto Raharjo
parent 9c81726d50
commit a6b16d8c96
No known key found for this signature in database
GPG key ID: 3F617144D7238786
4 changed files with 32 additions and 30 deletions

View file

@ -1,5 +1,7 @@
ssdeep (program for computing context triggered piecewise hashes)
ssdeep computes a checksum based on context triggered piecewise
hashes (fuzzy hashes) for each input file. If requested, the program
hashes (fuzzy hashes) for each input file. If requested, the program
matches those checksums against a file of known checksums and reports
any possible matches. It can also examine one or more of signatures
any possible matches. It can also examine one or more of signatures
and find any matches in those signatures.

View file

@ -9,9 +9,9 @@
ssdeep: ssdeep (program for computing context triggered piecewise hashes)
ssdeep:
ssdeep: ssdeep computes a checksum based on context triggered piecewise
ssdeep: hashes (fuzzy hashes) for each input file. If requested, the program
ssdeep: hashes (fuzzy hashes) for each input file. If requested, the program
ssdeep: matches those checksums against a file of known checksums and reports
ssdeep: any possible matches. It can also examine one or more of signatures
ssdeep: any possible matches. It can also examine one or more of signatures
ssdeep: and find any matches in those signatures.
ssdeep:
ssdeep: Homepage: http://ssdeep.sourceforge.net/

View file

@ -1,13 +1,21 @@
#!/bin/bash
# Slackware build script for ssdeep
# Written by Oleg O. Chukaev <oleg.chukaev@mail.ru>
# Written by Oleg O. Chukaev
# Modified and now maintained by B. Watson <urchlay@slackware.uk>
# Original version of this script had no license; modified version
# licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
# 20240905 bkw:
# - new maintainer.
# - update for v2.14.1.
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=ssdeep
VERSION=${VERSION:-2.10}
BUILD=${BUILD:-2}
VERSION=${VERSION:-2.14.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -19,9 +27,6 @@ if [ -z "$ARCH" ]; then
esac
fi
# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
# the name of the created package would be, and then exit. This information
# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@ -54,11 +59,8 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
-exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} + -o \
\! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} +
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@ -66,21 +68,19 @@ CXXFLAGS="$SLKCFLAGS" \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--mandir=/usr/man \
--disable-static \
--enable-shared \
--build=$ARCH-slackware-linux
make
make install-strip DESTDIR=$PKG
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 -a \
AUTHORS COPYING ChangeLog FILEFORMAT INSTALL NEWS README TODO \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
rm -f $PKG/usr/lib*/*.la
gzip -9 $PKG/usr/man/man*/*
PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
mkdir -p $PKGDOC
cp -a AUTHORS COPYING ChangeLog FILEFORMAT NEWS README TODO $PKGDOC
cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc

View file

@ -1,10 +1,10 @@
PRGNAM="ssdeep"
VERSION="2.10"
VERSION="2.14.1"
HOMEPAGE="http://ssdeep.sourceforge.net/"
DOWNLOAD="http://download.sourceforge.net/ssdeep/ssdeep-2.10.tar.gz"
MD5SUM="8f65e2c555b61b9209c0854fc7f2731b"
DOWNLOAD="https://github.com/ssdeep-project/ssdeep/releases/download/release-2.14.1/ssdeep-2.14.1.tar.gz"
MD5SUM="ed4f374e20ffec72e679f56c32218581"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Oleg O. Chukaev"
EMAIL="oleg.chukaev@mail.ru"
MAINTAINER="B. Watson"
EMAIL="urchlay@slackware.uk"