ports/58667: Net::DNS not required for perl-5.8 users

Jeremy Chadwick freebsd at jdc.parodius.com
Wed Oct 29 01:30:17 UTC 2003


>Number:         58667
>Category:       ports
>Synopsis:       Net::DNS not required for perl-5.8 users
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 28 17:30:14 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Jeremy Chadwick
>Release:        FreeBSD 4.9-RC i386
>Organization:
Parodius Networking
>Environment:
System: FreeBSD pentarou.parodius.com 4.9-RC FreeBSD 4.9-RC #0: Fri Oct 3 14:20:31 PDT 2003 root at pentarou.parodius.com:/usr/obj/usr/src/sys/PARODIUS-SMP i386
>Description:
p5-Net-DNS is required regardless of perl version.  perl-5.8 comes
with Net::DNS out-of-the-box.  There is no need to require it in
this case.

A proper perl-5.8 box should look something like this when doing
a "make clean" in ports/mail/p5-Mail-SpamAssassin (shown for
dependancies):

===>  Cleaning for p5-Mail-Tools-1.60
===>  Cleaning for razor-agents-2.36_1
===>  Cleaning for p5-URI-1.27
===>  Cleaning for p5-Digest-Nilsimsa-0.06
===>  Cleaning for p5-Digest-SHA1-2.06
===>  Cleaning for p5-HTML-Parser-3.32
===>  Cleaning for p5-HTML-Tagset-3.03
===>  Cleaning for p5-Mail-SpamAssassin-2.60
>How-To-Repeat:
Build (and install) ports/mail/p5-Mail-SpamAssassin on a box with
perl-5.8 installed (I tested with perl-5.8.1_2).  There will be
two copies of Net::DNS floating around.
>Fix:
Apply the below patch.  This patch moves p5-Net-DNS outside of the
pre-requisites list for all perl versions and into the list only
required for versions below 5.8.0.

f you know of someone who uses perl 5.6, please have them check
to see if Net::DNS is included in 5.6; if it is, we should move
the p5-Net-DNS check into the PERL_LEVEL 500600 section instead.

Also: For razor-agent issues (if any), see PR #58663 for my
proposed recommendations.

Thanks!

--- Makefile.orig	Sat Oct 25 17:53:11 2003
+++ Makefile	Tue Oct 28 17:06:58 2003
@@ -16,8 +16,7 @@
 MAINTAINER=	DougB at FreeBSD.org
 COMMENT=	A highly efficient mail filter for identifying spam
 
-BUILD_DEPENDS=	${SITE_PERL}/Net/DNS.pm:${PORTSDIR}/dns/p5-Net-DNS \
-		${SITE_PERL}/${PERL_ARCH}/HTML/Parser.pm:${PORTSDIR}/www/p5-HTML-Parser \
+BUILD_DEPENDS=	${SITE_PERL}/${PERL_ARCH}/HTML/Parser.pm:${PORTSDIR}/www/p5-HTML-Parser \
 		${SITE_PERL}/Mail/Internet.pm:${PORTSDIR}/mail/p5-Mail-Tools
 RUN_DEPENDS=	${BUILD_DEPENDS} \
 		razor-client:${PORTSDIR}/mail/razor-agents
@@ -32,6 +31,7 @@
 
 .if ${PERL_LEVEL} < 500800
 RUN_DEPENDS+=	${SITE_PERL}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64
+BUILD_DEPENDS+=	${SITE_PERL}/Net/DNS.pm:${PORTSDIR}/dns/p5-Net-DNS
 .endif
 
 PERL_CONFIGURE=	yes
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list