fd52e7dac1
libmultigest is a library interface to calculate multiple digests at the same time, without having to re-scan data. This is to protect against any single digest algorithm being found to have second pre-images. Up to 32 digests can be specified on the command line. The data being used as input to the digest can be modified by using a regular expression-based substitution operation, so that any Version Control System identifiers can be normalised before being digested. If no substitution regular expression is provided, the input data will be used as-is. The list of digests provided is: BLAKE2, CRC32C, MD5, RMD160, SHA1, SHA256, SHA512, SHA3-224, SHA3-256, SHA3-384, SHA3-512, SIZE, TIGER, TIGER2, WHIRLPOOL
33 lines
777 B
Makefile
33 lines
777 B
Makefile
# $NetBSD: Makefile,v 1.1.1.1 2014/03/05 05:14:42 agc Exp $
|
|
|
|
DISTNAME= libmultigest-${VERSION}
|
|
CATEGORIES= security
|
|
MASTER_SITES= # empty
|
|
DISTFILES= # empty
|
|
|
|
MAINTAINER= agc@NetBSD.org
|
|
HOMEPAGE= http://www.NetBSD.org/
|
|
COMMENT= Multiple, concatenated digest value calculation library
|
|
LICENSE= modified-bsd
|
|
|
|
FILESDIR= ${.CURDIR}/../../security/multigest/files
|
|
|
|
GNU_CONFIGURE= yes
|
|
.if !defined(BOOTSTRAP)
|
|
USE_LIBTOOL= yes
|
|
.endif
|
|
AUTO_MKDIRS= yes
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
VERSION!= ${AWK} '/\#define.*MULTIGEST_H_/ {print $$3}' ${FILESDIR}/multigest.h
|
|
|
|
do-extract:
|
|
${CP} -R ${FILESDIR} ${WRKSRC}
|
|
.if defined(BOOTSTRAP)
|
|
cd ${WRKSRC} && ${CP} Makefile.lib.in Makefile.in
|
|
.else
|
|
cd ${WRKSRC} && ${CP} Makefile.libtool.in Makefile.in
|
|
.endif
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|