diff options
author | agc <agc> | 2014-03-05 05:14:42 +0000 |
---|---|---|
committer | agc <agc> | 2014-03-05 05:14:42 +0000 |
commit | 5690aef7d4ad4593ea5ec17df0ee84547119d307 (patch) | |
tree | dcf8ad54b1592f45c6467e8155757af29596aaae /security/libmultigest/Makefile | |
parent | f76dbe98f5e179667c3690675670254a64e86d3d (diff) | |
download | pkgsrc-5690aef7d4ad4593ea5ec17df0ee84547119d307.tar.gz |
Import libmultigest-20140304 into the packages collection
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
Diffstat (limited to 'security/libmultigest/Makefile')
-rw-r--r-- | security/libmultigest/Makefile | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/security/libmultigest/Makefile b/security/libmultigest/Makefile new file mode 100644 index 00000000000..249930d1119 --- /dev/null +++ b/security/libmultigest/Makefile @@ -0,0 +1,33 @@ +# $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" |