summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Erik Hanson2010-07-11 08:22:53 +0200
committer Robby Workman2010-07-11 08:22:53 +0200
commit06ee3481f8e4723e3efae5dff32dc7ae621f9f7e (patch)
tree6cb263ccc364e81375530fd8b1d8799f26fa07e2
parent83eee6ea304c9db53e263b7c9d0ef6d883feca6f (diff)
downloadslackbuilds-06ee3481f8e4723e3efae5dff32dc7ae621f9f7e.tar.gz
system/md5deep: Updated for version 3.6.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
-rw-r--r--system/md5deep/README16
-rw-r--r--system/md5deep/md5deep.SlackBuild18
-rw-r--r--system/md5deep/md5deep.info8
3 files changed, 16 insertions, 26 deletions
diff --git a/system/md5deep/README b/system/md5deep/README
index 1278761314..20824fe48f 100644
--- a/system/md5deep/README
+++ b/system/md5deep/README
@@ -1,18 +1,4 @@
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
is similar to the md5sum program found in the GNU Coreutils package, but has
-the following 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.
+additional features.
diff --git a/system/md5deep/md5deep.SlackBuild b/system/md5deep/md5deep.SlackBuild
index b34a07886c..8b35161c86 100644
--- a/system/md5deep/md5deep.SlackBuild
+++ b/system/md5deep/md5deep.SlackBuild
@@ -1,7 +1,7 @@
#!/bin/sh
-#
+
# Slackware build script for md5deep
-#
+
# Copyright 2009-2010 Erik W. Hanson, Minneapolis, MN, USA
# All rights reserved.
#
@@ -23,16 +23,14 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=md5deep
-VERSION=3.5.1
+VERSION=3.6
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -75,11 +73,17 @@ CFLAGS="$SLKCFLAGS" \
--build=$ARCH-slackware-linux
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?/*
+
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
mkdir -p $PKG/install
diff --git a/system/md5deep/md5deep.info b/system/md5deep/md5deep.info
index d7fe4d544d..d5e9131ede 100644
--- a/system/md5deep/md5deep.info
+++ b/system/md5deep/md5deep.info
@@ -1,10 +1,10 @@
PRGNAM="md5deep"
-VERSION="3.5.1"
+VERSION="3.6"
HOMEPAGE="http://md5deep.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/md5deep/md5deep-3.5.1.tar.gz"
-MD5SUM="c568d1193e83d0a76b501396abca2be7"
+DOWNLOAD="http://downloads.sourceforge.net/md5deep/md5deep-3.6.tar.gz"
+MD5SUM="1042f66125537a9da7442c741c9e0f4e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Erik Hanson"
EMAIL="erik@slackbuilds.org"
-APPROVED="dsomero"
+APPROVED="rworkman"