From 06ee3481f8e4723e3efae5dff32dc7ae621f9f7e Mon Sep 17 00:00:00 2001 From: Erik Hanson Date: Sun, 11 Jul 2010 01:22:53 -0500 Subject: system/md5deep: Updated for version 3.6. Signed-off-by: Robby Workman --- system/md5deep/README | 16 +--------------- system/md5deep/md5deep.SlackBuild | 18 +++++++++++------- system/md5deep/md5deep.info | 8 ++++---- 3 files changed, 16 insertions(+), 26 deletions(-) (limited to 'system/md5deep') 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" -- cgit v1.2.3