8675aec011
* lib/Mail/DKIM/DkSignature.pm, Signature.pm: avoid calling lc() on an undefined value (this generates warnings in Perl 5.12.x). * lib/Mail/DKIM/PrivateKey.pm (load): fix bug where a private key file named '0' could not be loaded * lib/Mail/DKIM/DkSignature.pm (new): accept Key parameter when constructing a DomainKey signature object * t/external_signer.t: test use of an alternate object for Key during a "sign" operation * lib/Mail/DKIM/Signer.pm: document use of an alternate object for PrivateKey objects * lib/Mail/DKIM/Signer.pm: import PrivateKey.pm in this module, rather than in the Algorithm modules * lib/Mail/DKIM/PrivateKey.pm: document the sign_digest() method * lib/Mail/DKIM/Algorithm/*: use sign_digest() rather than sign_sha1_digest() * t/public_key.t: test that DNS failure reason is given, when DNS returns no results * lib/Mail/DKIM/DNS.pm: bugfix (introduced by async_dns branch): preserve $@ in case of no error * lib/Mail/DKIM/{DNS,Signature,PublicKey,Policy}.pm: merged my "async dns" branch * lib/Mail/DKIM/Policy.pm: new fetch_async method, seems to work * lib/Mail/DKIM/Signature.pm: new fetch_public_key method, which starts an asynchronous query for the public key referenced by this signature; redesign get_public_key to know how to complete the query * lib/Mail/DKIM/PublicKey.pm: new fetch_async method: starts a query and returns a subref that when called will complete the query * lib/Mail/DKIM/DNS.pm: new query_async method: starts a query and returns a subref that when called will complete the query * MANIFEST: include sample_mime_lite.pl script in tarball * lib/Mail/DKIM/DNS.pm: restart timer after a DNS lookup
34 lines
1.1 KiB
Makefile
34 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.16 2010/10/20 19:57:35 pettai Exp $
|
|
#
|
|
|
|
DISTNAME= Mail-DKIM-0.38
|
|
PKGNAME= p5-${DISTNAME}
|
|
SVR4_PKGNAME= p5mdk
|
|
CATEGORIES= mail perl5
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Mail/}
|
|
|
|
MAINTAINER= heinz@NetBSD.org
|
|
HOMEPAGE= http://search.cpan.org/dist/Mail-DKIM/
|
|
COMMENT= Perl5 module for DKIM-based mail-signing and -verifying
|
|
LICENSE= ${PERL5_LICENSE}
|
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
DEPENDS+= p5-Crypt-OpenSSL-RSA>=0.24:../../security/p5-Crypt-OpenSSL-RSA
|
|
DEPENDS+= p5-Digest-SHA-[0-9]*:../../security/p5-Digest-SHA
|
|
DEPENDS+= p5-MailTools-[0-9]*:../../mail/p5-MailTools
|
|
DEPENDS+= p5-MIME-Base64-[0-9]*:../../converters/p5-MIME-Base64
|
|
DEPENDS+= p5-Net-DNS-[0-9]*:../../net/p5-Net-DNS
|
|
|
|
USE_LANGUAGES= # empty
|
|
PERL5_PACKLIST= auto/Mail/DKIM/.packlist
|
|
|
|
REPLACE_PERL+= lib/Mail/DKIM.pm
|
|
REPLACE_PERL+= lib/Mail/DKIM/*.pm
|
|
REPLACE_PERL+= lib/Mail/DKIM/Algorithm/*.pm
|
|
REPLACE_PERL+= lib/Mail/DKIM/Canonicalization/*.pm
|
|
REPLACE_PERL+= sample_mime_lite.pl
|
|
|
|
.include "../../lang/perl5/module.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|