Update mhash to version 0.8.9. Changes from version 0.8.3 include:

- Bug fixes
- MD4 and MD5 now compile on big endian machines
- TIGER now compiles on big endian machines.
- Corrected Tiger implementation
- Added MD4, TIGER128 and TIGER160
- added mhash_hmac_end_m() and mhash_end_m() functions which allow to specify
  the malloc function.
- added mhash_cp() - Copy a context
- added mhash_get_mhash_algo() - Returns the name of the algorithm of the
  context
This commit is contained in:
jlam 2001-10-09 19:20:33 +00:00
parent fb4f57bbf8
commit 0a1ba1fca6
3 changed files with 42 additions and 7 deletions

View file

@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.2 2001/02/17 17:49:52 wiz Exp $
# $NetBSD: Makefile,v 1.3 2001/10/09 19:20:33 jlam Exp $
DISTNAME= mhash-0.8.3
DISTNAME= mhash-0.8.9
CATEGORIES= security devel
MASTER_SITES= http://mhash.sourceforge.net/dl/
@ -8,7 +8,8 @@ MAINTAINER= packages@netbsd.org
HOMEPAGE= http://mhash.sourceforge.net/
COMMENT= hash algorithms library
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
USE_BUILDLINK_ONLY= YES
USE_LIBTOOL= YES
GNU_CONFIGURE= YES
.include "../../mk/bsd.pkg.mk"

View file

@ -0,0 +1,34 @@
# $NetBSD: buildlink.mk,v 1.1 2001/10/09 19:20:33 jlam Exp $
#
# This Makefile fragment is included by packages that use mhash.
#
# To use this Makefile fragment, simply:
#
# (1) Optionally define BUILDLINK_DEPENDS.mhash to the dependency pattern
# for the version of mhash desired.
# (2) Include this Makefile fragment in the package Makefile,
# (3) Add ${BUILDLINK_DIR}/include to the front of the C preprocessor's header
# search path, and
# (4) Add ${BUILDLINK_DIR}/lib to the front of the linker's library search
# path.
.if !defined(MHASH_BUILDLINK_MK)
MHASH_BUILDLINK_MK= # defined
.include "../../mk/bsd.buildlink.mk"
BUILDLINK_DEPENDS.mhash?= mhash>=0.8.3
DEPENDS+= ${BUILDLINK_DEPENDS.mhash}:../../security/mhash
EVAL_PREFIX+= BUILDLINK_PREFIX.mhash=mhash
BUILDLINK_PREFIX.mhash_DEFAULT= ${LOCALBASE}
BUILDLINK_FILES.mhash= include/mhash.h
BUILDLINK_FILES.mhash+= lib/libmhash.*
BUILDLINK_TARGETS.mhash= mhash-buildlink
BUILDLINK_TARGETS+= ${BUILDLINK_TARGETS.mhash}
pre-configure: ${BUILDLINK_TARGETS.mhash}
mhash-buildlink: _BUILDLINK_USE
.endif # MHASH_BUILDLINK_MK

View file

@ -1,4 +1,4 @@
$NetBSD: distinfo,v 1.2 2001/04/19 15:40:34 agc Exp $
$NetBSD: distinfo,v 1.3 2001/10/09 19:20:33 jlam Exp $
SHA1 (mhash-0.8.3.tar.gz) = 3a256d99e105db25906b1b95db275f1a650c27b8
Size (mhash-0.8.3.tar.gz) = 218355 bytes
SHA1 (mhash-0.8.9.tar.gz) = f9098ce11b93882c6da55afb8527f482681cd999
Size (mhash-0.8.9.tar.gz) = 227895 bytes