diff options
author | jlam <jlam> | 2001-10-09 19:20:33 +0000 |
---|---|---|
committer | jlam <jlam> | 2001-10-09 19:20:33 +0000 |
commit | e504c649252eef47b62e237b9b71dff08b95e38c (patch) | |
tree | 8a356ccc139e55dcf047302b31ceb0385b8d1e33 | |
parent | 40a72b6085653eb12d7cb2b76689b8f9e60045cf (diff) | |
download | pkgsrc-e504c649252eef47b62e237b9b71dff08b95e38c.tar.gz |
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
-rw-r--r-- | security/mhash/Makefile | 9 | ||||
-rw-r--r-- | security/mhash/buildlink.mk | 34 | ||||
-rw-r--r-- | security/mhash/distinfo | 6 |
3 files changed, 42 insertions, 7 deletions
diff --git a/security/mhash/Makefile b/security/mhash/Makefile index f374c4d0a26..f2ea033ddc1 100644 --- a/security/mhash/Makefile +++ b/security/mhash/Makefile @@ -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" diff --git a/security/mhash/buildlink.mk b/security/mhash/buildlink.mk new file mode 100644 index 00000000000..536ab814aef --- /dev/null +++ b/security/mhash/buildlink.mk @@ -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 diff --git a/security/mhash/distinfo b/security/mhash/distinfo index 3450d6eb584..9643f6165fa 100644 --- a/security/mhash/distinfo +++ b/security/mhash/distinfo @@ -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 |