ports/116854: [update] mail/p5-Mail-Tools broken distfile, patch for v1.77

Cory R. King coryking at mozimedia.com
Wed Oct 3 05:30:01 UTC 2007


>Number:         116854
>Category:       ports
>Synopsis:       [update] mail/p5-Mail-Tools broken distfile, patch for v1.77
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct 03 05:30:01 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Cory R. King
>Release:        you dont want to know on this box....
>Organization:
Mozi Media Group, LLC.
>Environment:
i'm ashamed to admit this patch was on a 5.0 box :-(.... it is gonna get upgraded soon.  It works on all my 6.2 boxes though
>Description:
I marked this as serious because the port cannot download the old 1.74 distfile from CPAN anymore and thus breaks p5-Mail-SpamAssasin.  Looking at the last time it was updated, it seems like CPAN pulled the distfile too...

Sorry for the ghetto nature of the diff file.  It is a pretty straight forward update but let me know if my patch gives you crap.  If you ditch mine, just make sure you are aware of the new dependency MailTools now requires.

Here is the new distinfo:

MD5 (MailTools-1.77.tar.gz) = c1bcd6627cb9bab271b77a8323d62c48
SIZE (MailTools-1.77.tar.gz) = 48574

>How-To-Repeat:

>Fix:
--- Makefile.bak        Tue Oct  2 22:00:31 2007
+++ Makefile    Tue Oct  2 22:15:55 2007
@@ -6,7 +6,7 @@
 #

 PORTNAME=      Mail-Tools
-PORTVERSION=   1.74
+PORTVERSION=   1.77
 CATEGORIES=    mail perl5
 MASTER_SITES=  ${MASTER_SITE_PERL_CPAN}
 MASTER_SITE_SUBDIR=    Mail
@@ -15,7 +15,7 @@

 MAINTAINER=    kuriyama at FreeBSD.org
 COMMENT=       Perl5 modules for dealing with Internet e-mail messages
-
+USE_PERL5=     5.6.0+
 PERL_CONFIGURE=        yes

 MAN3=          Mail::Address.3 \
@@ -29,11 +29,13 @@
                Mail::Send.3 \
                Mail::Util.3

+RUN_DEPENDS+=  p5-TimeDate>=1.16:${PORTSDIR}/devel/p5-TimeDate
+
 .include <bsd.port.pre.mk>

 .if ${PERL_LEVEL} < 500800
 BUILD_DEPENDS= ${SITE_PERL}/Net/SMTP.pm:${PORTSDIR}/net/p5-Net
-RUN_DEPENDS=   ${BUILD_DEPENDS}
+RUN_DEPENDS+=  ${BUILD_DEPENDS}
 .endif

 .include <bsd.port.post.mk>


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



More information about the freebsd-ports-bugs mailing list