2007-08-19 17:39:08 +02:00
|
|
|
# $NetBSD: Makefile,v 1.9 2007/08/19 15:39:08 heinz Exp $
|
2006-02-25 00:02:38 +01:00
|
|
|
#
|
|
|
|
|
2007-08-19 17:39:08 +02:00
|
|
|
DISTNAME= Mail-DKIM-0.28
|
2006-02-25 00:02:38 +01:00
|
|
|
PKGNAME= p5-${DISTNAME}
|
|
|
|
SVR4_PKGNAME= p5mdk
|
|
|
|
CATEGORIES= mail perl5
|
2006-06-07 23:30:10 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Mail/}
|
2006-02-25 00:02:38 +01:00
|
|
|
|
|
|
|
MAINTAINER= heinz@NetBSD.org
|
2006-06-07 23:30:10 +02:00
|
|
|
HOMEPAGE= http://search.cpan.org/dist/Mail-DKIM/
|
2006-02-25 00:02:38 +01:00
|
|
|
COMMENT= Perl5 module for DKIM-based mail-signing and -verifying
|
|
|
|
|
2007-08-19 17:39:08 +02:00
|
|
|
DEPENDS+= p5-Crypt-OpenSSL-RSA>=0.24:../../security/p5-Crypt-OpenSSL-RSA
|
2006-06-07 23:30:10 +02:00
|
|
|
DEPENDS+= p5-Digest-SHA-[0-9]*:../../security/p5-Digest-SHA
|
2006-02-25 00:02:38 +01:00
|
|
|
DEPENDS+= p5-Digest-SHA1-[0-9]*:../../security/p5-Digest-SHA1
|
|
|
|
DEPENDS+= p5-Error-[0-9]*:../../devel/p5-Error
|
|
|
|
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
|
|
|
|
|
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
Updated to version 0.24.
Pkgsrc changes:
- Enabled DESTDIR support.
- Switched to using PERL5_SUB_INSTALLVENDORLIB (from lang/perl5/vars.mk)
instead of constructing a relative path for CHECK_INTERPRETER_SKIP myself.
Changes since version 0.22:
===========================
-- VERSION 0.24 --
2007-03-09: Jason Long <jlong@messiah.edu>
* lib/Mail/DKIM/PublicKey.pm, lib/Mail/DKIM/Signature.pm,
lib/Mail/DKIM/KeyValueList.pm: fix for linebreaks in public key data;
provided by Mark Martinec.
* lib/Mail/DKIM/Signature.pm: fix default value q=dns/txt; this fixes a bug
for DKIM signatures without q= tags
* t/verifier.t: added six new tests that test problems with the public key
(e.g. revoked, syntax, etc.)
-- VERSION 0.23 --
2007-02-22: Jason Long <jlong@messiah.edu>
* lib/Mail/DKIM/PublicKey.pm: catch certain OpenSSL errors; tweak
diagnostics
* lib/Mail/DKIM/Verifier.pm: changed OpenSSL error catching code to
match that found in PublicKey; document more possible diagnostic codes
* lib/Mail/DKIM/Signature.pm: tweaked diagnostics for missing public key
* Makefile.PL: check for Test::Simple, which is required for `make test'
2007-02-21: Jason Long <jlong@messiah.edu>
* t/signer_policy.t: signature should still work even if no value is
returned from signer policy
* t/signer.t: now uses v=0.5 signature, which changes the signature
* t/verifier.t: added three tests of empty body messages
* lib/Mail/DKIM/Signer.pm: fixed bug where if signer policy was a
sub ref, and didn't return a true value, the message would get skipped
* lib/Mail/DKIM/Canonicalization/simple.pm: argh, hack for handling
empty body
* lib/Mail/DKIM/MessageParser.pm: fixed bug in handling of messages
without bodies
* lib/Mail/DKIM/Signature.pm: output v=0.5 signatures now
* scripts/dkimsign.pl: new --binary option to disable line-ending conversion
2007-02-19: Jason Long <jlong@messiah.edu>
* lib/Mail/DKIM/DkSignature: provide default value for a= tag
(thanks to mark.martinec@ijs.si for the patch)
* t/corpus/good_dk_2.txt: test for missing q= and a= tags on DomainKey
signature
2007-02-09: Jason Long <jlong@messiah.edu>
* lib/Mail/DKIM/Verifier.pm, DkSignature.pm: better diagnostic messages;
allow missing q= tag for domainkey signatures
(thanks to mark.martinec@ijs.si for the patch)
2007-03-24 20:08:38 +01:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
2006-02-25 00:02:38 +01:00
|
|
|
|
|
|
|
USE_LANGUAGES= # empty
|
|
|
|
PERL5_PACKLIST= auto/Mail/DKIM/.packlist
|
2007-04-22 11:00:21 +02:00
|
|
|
|
|
|
|
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
|
2006-02-25 00:02:38 +01:00
|
|
|
|
|
|
|
.include "../../lang/perl5/module.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|