pkgsrc/mail/p5-Mail-DKIM/Makefile

31 lines
1 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.27 2014/10/09 14:06:39 wiz Exp $
#
DISTNAME= Mail-DKIM-0.40
PKGNAME= p5-${DISTNAME}
CATEGORIES= mail perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Mail/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://search.cpan.org/dist/Mail-DKIM/
COMMENT= Perl5 module for DKIM-based mail-signing and -verifying
Updated to version 0.37. Pkgsrc changes: - Added LICENSE Relevant changes since version 0.32: ==================================== Version 0.37 - released 2009-09-08 * New/changed functionality: * ADSP records now check whether the domain itself exists, in accordance to the ADSP specification * bugfixes: * fixed regexp used to detect header field names (issue #2803465) * various fixes to ADSP checking Version 0.36 - released 2009-06-02 * API changes: * restore the as_string() method which was accidentally removed in version 0.34 Version 0.35 - released 2009-05-22 * bugfixes: * fixed a runaway regular expression in the canonicalization routines (patch provided by Mark Martinec) Version 0.34 - released 2009-05-20 * New/changed functionality: * support for ADSP (author-domain-signing-practices) records * removed support for pre-standardized DKIM signatures (i.e. these are DKIM signatures without a v= or bh= tag). * DNS resolver errors are detected and reported as such * API changes: * renamed Mail::DKIM::Policy to Mail::DKIM::DkPolicy. Programs using the former name to create policy objects directly (though it would be more expected to fetch the objects through Mail::DKIM::Verifier) should update their code * new policies() method in Mail::DKIM::Verifier for fetching all applicable sender/author signing policies * bugfixes: * Signer object would die if first line of input wasn't a header (rt.cpan.org issue #46179) Version 0.33 - released 2009-03-10 * bugfixes: * signature wrapping would sometimes cause improper preparation of DKIM signatures, with "simple" canonicalization (issue #2257046) * test scripts: * the included corpus is now verified using a fake-DNS resolver, which means the test corpus can validate even when your DNS servers are really slow
2009-11-05 23:53:12 +01:00
LICENSE= ${PERL5_LICENSE}
DEPENDS+= p5-Crypt-OpenSSL-RSA>=0.27:../../security/p5-Crypt-OpenSSL-RSA
DEPENDS+= {perl>=5.9.3,p5-Digest-SHA-[0-9]*}:../../security/p5-Digest-SHA
DEPENDS+= p5-MailTools-[0-9]*:../../mail/p5-MailTools
DEPENDS+= {perl>=5.7.3,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
-- VERSION 0.38 -- * 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
2010-10-20 21:57:35 +02:00
REPLACE_PERL+= sample_mime_lite.pl
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"