ports/113034: [PATCH] mail/p5-Mail-DKIM: update to 0.25

Gea-Suan Lin gslin at gslin.org
Sat May 26 17:00:11 UTC 2007


>Number:         113034
>Category:       ports
>Synopsis:       [PATCH] mail/p5-Mail-DKIM: update to 0.25
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat May 26 17:00:10 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Gea-Suan Lin
>Release:        FreeBSD 6.2-RELEASE-p4 i386
>Organization:
>Environment:
System: FreeBSD netnews.NCTU.edu.tw 6.2-RELEASE-p4 FreeBSD 6.2-RELEASE-p4 #0: Sat Apr 28 00:53:10 CST 2007
>Description:
- Update to 0.25
- MIME::Base64 In Perl 5.8+ now
- Install two scripts (dkimsign.pl and dkimverify.pl)
- Remove Perl version < 5.6 warning
- Use %%SITE_PERL%% and %%PERL_ARCH%% in pkg-plist

Port maintainer (yanagisawa at csg.is.titech.ac.jp) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- p5-Mail-DKIM-0.25.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/mail/p5-Mail-DKIM/Makefile /home/staff/gslin/work/ports/p5-Mail-DKIM/Makefile
--- /usr/ports/mail/p5-Mail-DKIM/Makefile	Sun Mar 18 03:25:38 2007
+++ /home/staff/gslin/work/ports/p5-Mail-DKIM/Makefile	Sat May 26 02:16:35 2007
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	Mail-DKIM
-PORTVERSION=	0.24
+PORTVERSION=	0.25
 CATEGORIES=	mail perl5
 MASTER_SITES=	${MASTER_SITE_PERL_CPAN}
 MASTER_SITE_SUBDIR=	Mail
@@ -15,17 +15,13 @@
 MAINTAINER=	yanagisawa at csg.is.titech.ac.jp
 COMMENT=	Perl5 module to process and/or create DKIM email
 
-BUILD_DEPENDS=	${SITE_PERL}/${PERL_ARCH}/Crypt/OpenSSL/RSA.pm:${PORTSDIR}/security/p5-Crypt-OpenSSL-RSA \
+RUN_DEPENDS=	${SITE_PERL}/${PERL_ARCH}/Crypt/OpenSSL/RSA.pm:${PORTSDIR}/security/p5-Crypt-OpenSSL-RSA \
 		${SITE_PERL}/${PERL_ARCH}/Digest/SHA.pm:${PORTSDIR}/security/p5-Digest-SHA \
 		${SITE_PERL}/${PERL_ARCH}/Digest/SHA1.pm:${PORTSDIR}/security/p5-Digest-SHA1 \
+		${SITE_PERL}/${PERL_ARCH}/Net/DNS.pm:${PORTSDIR}/dns/p5-Net-DNS \
 		${SITE_PERL}/Error.pm:${PORTSDIR}/lang/p5-Error \
-		${SITE_PERL}/Mail/Address.pm:${PORTSDIR}/mail/p5-Mail-Tools \
-		${SITE_PERL}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64 \
-		${SITE_PERL}/${PERL_ARCH}/Net/DNS.pm:${PORTSDIR}/dns/p5-Net-DNS
-RUN_DEPENDS=	${BUILD_DEPENDS}
-
-MASTER_SITE_BACKUP+=	http://freebsd.unixfreunde.de/sources/ \
-			http://jason.long.name/dkimproxy/
+		${SITE_PERL}/Mail/Address.pm:${PORTSDIR}/mail/p5-Mail-Tools
+BUILD_DEPENDS=	${RUN_DEPENDS}
 
 PERL_CONFIGURE=	yes
 
@@ -42,10 +38,7 @@
 		Mail::DKIM::SignerPolicy.3 \
 		Mail::DKIM::Verifier.3
 
-.include <bsd.port.pre.mk>
-
-.if ${PERL_LEVEL} < 500600
-IGNORE=		require Perl 5.8 or newer. Install lang/perl5.8 and try again
-.endif
+post-install:
+	${INSTALL_SCRIPT} ${WRKSRC}/scripts/dkim*.pl ${PREFIX}/bin
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff -ruN --exclude=CVS /usr/ports/mail/p5-Mail-DKIM/distinfo /home/staff/gslin/work/ports/p5-Mail-DKIM/distinfo
--- /usr/ports/mail/p5-Mail-DKIM/distinfo	Sun Mar 18 03:25:38 2007
+++ /home/staff/gslin/work/ports/p5-Mail-DKIM/distinfo	Sat May 26 02:16:28 2007
@@ -1,3 +1,3 @@
-MD5 (Mail-DKIM-0.24.tar.gz) = 9d50bc57eeb41d36b9ccc1cb72a64e9a
-SHA256 (Mail-DKIM-0.24.tar.gz) = 108bc39e8955d5d5a9d16d9cedca8bd1168cb0ded9a55ea9002d18dbd1a23d49
-SIZE (Mail-DKIM-0.24.tar.gz) = 44325
+MD5 (Mail-DKIM-0.25.tar.gz) = f8a9b91ae16eeabbd72da098550ec569
+SHA256 (Mail-DKIM-0.25.tar.gz) = 4b284ec27ac64ccbec94e4311f2d1f1a3d4684135ac349e7367460cb165c1b38
+SIZE (Mail-DKIM-0.25.tar.gz) = 47549
diff -ruN --exclude=CVS /usr/ports/mail/p5-Mail-DKIM/pkg-plist /home/staff/gslin/work/ports/p5-Mail-DKIM/pkg-plist
--- /usr/ports/mail/p5-Mail-DKIM/pkg-plist	Wed Nov  1 05:56:24 2006
+++ /home/staff/gslin/work/ports/p5-Mail-DKIM/pkg-plist	Sat May 26 02:17:15 2007
@@ -1,30 +1,35 @@
-lib/perl5/site_perl/5.8.8/Mail/DKIM.pm
-lib/perl5/site_perl/5.8.8/Mail/DKIM/Algorithm/Base.pm
-lib/perl5/site_perl/5.8.8/Mail/DKIM/Algorithm/dk_rsa_sha1.pm
-lib/perl5/site_perl/5.8.8/Mail/DKIM/Algorithm/rsa_sha1.pm
-lib/perl5/site_perl/5.8.8/Mail/DKIM/Algorithm/rsa_sha256.pm
-lib/perl5/site_perl/5.8.8/Mail/DKIM/Canonicalization/Base.pm
-lib/perl5/site_perl/5.8.8/Mail/DKIM/Canonicalization/DkCommon.pm
-lib/perl5/site_perl/5.8.8/Mail/DKIM/Canonicalization/DkimCommon.pm
-lib/perl5/site_perl/5.8.8/Mail/DKIM/Canonicalization/dk_nofws.pm
-lib/perl5/site_perl/5.8.8/Mail/DKIM/Canonicalization/dk_simple.pm
-lib/perl5/site_perl/5.8.8/Mail/DKIM/Canonicalization/nowsp.pm
-lib/perl5/site_perl/5.8.8/Mail/DKIM/Canonicalization/relaxed.pm
-lib/perl5/site_perl/5.8.8/Mail/DKIM/Canonicalization/simple.pm
-lib/perl5/site_perl/5.8.8/Mail/DKIM/Common.pm
-lib/perl5/site_perl/5.8.8/Mail/DKIM/DkSignature.pm
-lib/perl5/site_perl/5.8.8/Mail/DKIM/Key.pm
-lib/perl5/site_perl/5.8.8/Mail/DKIM/KeyValueList.pm
-lib/perl5/site_perl/5.8.8/Mail/DKIM/MessageParser.pm
-lib/perl5/site_perl/5.8.8/Mail/DKIM/Policy.pm
-lib/perl5/site_perl/5.8.8/Mail/DKIM/PrivateKey.pm
-lib/perl5/site_perl/5.8.8/Mail/DKIM/PublicKey.pm
-lib/perl5/site_perl/5.8.8/Mail/DKIM/Signature.pm
-lib/perl5/site_perl/5.8.8/Mail/DKIM/Signer.pm
-lib/perl5/site_perl/5.8.8/Mail/DKIM/SignerPolicy.pm
-lib/perl5/site_perl/5.8.8/Mail/DKIM/Verifier.pm
-lib/perl5/site_perl/5.8.8/mach/auto/Mail/DKIM/.packlist
- at dirrm lib/perl5/site_perl/5.8.8/mach/auto/Mail/DKIM
- at dirrm lib/perl5/site_perl/5.8.8/Mail/DKIM/Canonicalization
- at dirrm lib/perl5/site_perl/5.8.8/Mail/DKIM/Algorithm
- at dirrm lib/perl5/site_perl/5.8.8/Mail/DKIM
+ at comment $FreeBSD$
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Mail/DKIM/.packlist
+%%SITE_PERL%%/Mail/DKIM.pm
+%%SITE_PERL%%/Mail/DKIM/Algorithm/Base.pm
+%%SITE_PERL%%/Mail/DKIM/Algorithm/dk_rsa_sha1.pm
+%%SITE_PERL%%/Mail/DKIM/Algorithm/rsa_sha1.pm
+%%SITE_PERL%%/Mail/DKIM/Algorithm/rsa_sha256.pm
+%%SITE_PERL%%/Mail/DKIM/Canonicalization/Base.pm
+%%SITE_PERL%%/Mail/DKIM/Canonicalization/DkCommon.pm
+%%SITE_PERL%%/Mail/DKIM/Canonicalization/DkimCommon.pm
+%%SITE_PERL%%/Mail/DKIM/Canonicalization/dk_nofws.pm
+%%SITE_PERL%%/Mail/DKIM/Canonicalization/dk_simple.pm
+%%SITE_PERL%%/Mail/DKIM/Canonicalization/nowsp.pm
+%%SITE_PERL%%/Mail/DKIM/Canonicalization/relaxed.pm
+%%SITE_PERL%%/Mail/DKIM/Canonicalization/simple.pm
+%%SITE_PERL%%/Mail/DKIM/Common.pm
+%%SITE_PERL%%/Mail/DKIM/DkSignature.pm
+%%SITE_PERL%%/Mail/DKIM/Key.pm
+%%SITE_PERL%%/Mail/DKIM/KeyValueList.pm
+%%SITE_PERL%%/Mail/DKIM/MessageParser.pm
+%%SITE_PERL%%/Mail/DKIM/Policy.pm
+%%SITE_PERL%%/Mail/DKIM/PrivateKey.pm
+%%SITE_PERL%%/Mail/DKIM/PublicKey.pm
+%%SITE_PERL%%/Mail/DKIM/Signature.pm
+%%SITE_PERL%%/Mail/DKIM/Signer.pm
+%%SITE_PERL%%/Mail/DKIM/SignerPolicy.pm
+%%SITE_PERL%%/Mail/DKIM/Verifier.pm
+bin/dkimsign.pl
+bin/dkimverify.pl
+ at dirrm %%SITE_PERL%%/Mail/DKIM/Canonicalization
+ at dirrm %%SITE_PERL%%/Mail/DKIM/Algorithm
+ at dirrm %%SITE_PERL%%/Mail/DKIM
+ at dirrm %%SITE_PERL%%/Mail
+ at dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Mail/DKIM
+ at dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Mail
--- p5-Mail-DKIM-0.25.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list