02b1d30ca3
The Digest::Hashcash Perl module calculates n-bit partial hash collisions on chosen texts. The idea of using partial hashes is that they can be made arbitrarily expensive to compute (by choosing the desired number of bits of collision), and yet can be verified instantly. This can be used as the basis for an e-cash system measured in burnt CPU cycles. Such cash systems can be used to throttle systematic abuses of un-metered internet resources.
22 lines
587 B
Makefile
22 lines
587 B
Makefile
# $NetBSD: Makefile,v 1.1.1.1 2003/12/28 01:07:58 heinz Exp $
|
|
#
|
|
|
|
DISTNAME= Digest-Hashcash-0.02
|
|
PKGNAME= p5-${DISTNAME}
|
|
SVR4_PKGNAME= p5hca
|
|
CATEGORIES= security perl5
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Digest/}
|
|
|
|
MAINTAINER= heinz@NetBSD.org
|
|
HOMEPAGE= http://search.cpan.org/dist/Digest-Hashcash/
|
|
COMMENT= Perl5 extension module for hashcash hashes
|
|
|
|
DEPENDS+= p5-Time-HiRes>=1.2:../../time/p5-Time-HiRes
|
|
|
|
USE_BUILDLINK2= YES
|
|
|
|
PERL5_CONFIGURE= YES
|
|
PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Digest/Hashcash/.packlist
|
|
|
|
.include "../../lang/perl5/module.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|