mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-24 10:02:29 +01:00
system/md5deep: Updated for version 3.6.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
parent
83eee6ea30
commit
06ee3481f8
3 changed files with 16 additions and 26 deletions
|
@ -1,18 +1,4 @@
|
||||||
md5deep is a cross-platform set of programs to compute MD5, SHA-1, SHA-256,
|
md5deep is a cross-platform set of programs to compute MD5, SHA-1, SHA-256,
|
||||||
Tiger, or Whirlpool message digests on an arbitrary number of files. md5deep
|
Tiger, or Whirlpool message digests on an arbitrary number of files. md5deep
|
||||||
is similar to the md5sum program found in the GNU Coreutils package, but has
|
is similar to the md5sum program found in the GNU Coreutils package, but has
|
||||||
the following additional features:
|
additional features.
|
||||||
* Recursive operation - md5deep is able to recursive examine an entire
|
|
||||||
directory tree. That is, compute the MD5 for every file in a directory and
|
|
||||||
for every file in every subdirectory.
|
|
||||||
* Comparison mode - md5deep can accept a list of known hashes and compare them
|
|
||||||
to a set of input files. The program can display either those input files
|
|
||||||
that match the list of known hashes or those that do not match. Hashes sets
|
|
||||||
can be drawn from Encase, the National Software Reference Library, iLook
|
|
||||||
Investigator, Hashkeeper, md5sum, BSD md5, and other generic hash generating
|
|
||||||
programs. Users are welcome to add functionality to read other formats too!
|
|
||||||
* Time estimation - md5deep can produce a time estimate when it's processing
|
|
||||||
very large files.
|
|
||||||
* Piecewise hashing - Hash input files in arbitrary sized blocks
|
|
||||||
* File type mode - md5deep can process only files of a certain type, such as
|
|
||||||
regular files, block devices, etc.
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
#
|
|
||||||
# Slackware build script for md5deep
|
# Slackware build script for md5deep
|
||||||
#
|
|
||||||
# Copyright 2009-2010 Erik W. Hanson, Minneapolis, MN, USA
|
# Copyright 2009-2010 Erik W. Hanson, Minneapolis, MN, USA
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
|
@ -23,16 +23,14 @@
|
||||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
PRGNAM=md5deep
|
PRGNAM=md5deep
|
||||||
VERSION=3.5.1
|
VERSION=3.6
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
|
||||||
# Automatically determine the architecture we're building on:
|
|
||||||
if [ -z "$ARCH" ]; then
|
if [ -z "$ARCH" ]; then
|
||||||
case "$( uname -m )" in
|
case "$( uname -m )" in
|
||||||
i?86) ARCH=i486 ;;
|
i?86) ARCH=i486 ;;
|
||||||
arm*) ARCH=arm ;;
|
arm*) ARCH=arm ;;
|
||||||
# Unless $ARCH is already set, use uname -m for all other archs:
|
|
||||||
*) ARCH=$( uname -m ) ;;
|
*) ARCH=$( uname -m ) ;;
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
@ -75,11 +73,17 @@ CFLAGS="$SLKCFLAGS" \
|
||||||
--build=$ARCH-slackware-linux
|
--build=$ARCH-slackware-linux
|
||||||
|
|
||||||
make
|
make
|
||||||
make install-strip DESTDIR=$PKG
|
make install DESTDIR=$PKG
|
||||||
|
|
||||||
|
# Manually strip, thanks to Oleg O. Chukaev.
|
||||||
|
find $PKG | xargs file | grep -e "executable" | grep ELF \
|
||||||
|
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
|
||||||
|
|
||||||
gzip -9 $PKG/usr/man/man?/*
|
gzip -9 $PKG/usr/man/man?/*
|
||||||
|
|
||||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README TODO $PKG/usr/doc/$PRGNAM-$VERSION
|
cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README TODO \
|
||||||
|
$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
|
||||||
|
|
||||||
mkdir -p $PKG/install
|
mkdir -p $PKG/install
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
PRGNAM="md5deep"
|
PRGNAM="md5deep"
|
||||||
VERSION="3.5.1"
|
VERSION="3.6"
|
||||||
HOMEPAGE="http://md5deep.sourceforge.net/"
|
HOMEPAGE="http://md5deep.sourceforge.net/"
|
||||||
DOWNLOAD="http://downloads.sourceforge.net/md5deep/md5deep-3.5.1.tar.gz"
|
DOWNLOAD="http://downloads.sourceforge.net/md5deep/md5deep-3.6.tar.gz"
|
||||||
MD5SUM="c568d1193e83d0a76b501396abca2be7"
|
MD5SUM="1042f66125537a9da7442c741c9e0f4e"
|
||||||
DOWNLOAD_x86_64=""
|
DOWNLOAD_x86_64=""
|
||||||
MD5SUM_x86_64=""
|
MD5SUM_x86_64=""
|
||||||
MAINTAINER="Erik Hanson"
|
MAINTAINER="Erik Hanson"
|
||||||
EMAIL="erik@slackbuilds.org"
|
EMAIL="erik@slackbuilds.org"
|
||||||
APPROVED="dsomero"
|
APPROVED="rworkman"
|
||||||
|
|
Loading…
Reference in a new issue