ports/64374: correct perl core module depencency in security/amavisd-new
Toshiya SAITOH
toshiya at saitoh.nu
Wed Mar 17 15:10:15 UTC 2004
>Number: 64374
>Category: ports
>Synopsis: correct perl core module depencency in security/amavisd-new
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Wed Mar 17 07:10:14 PST 2004
>Closed-Date:
>Last-Modified:
>Originator: Toshiya SAITOH
>Release: FreeBSD 4.9-RELEASE-p3 i386
>Organization:
>Environment:
System: FreeBSD int.saitoh.nu 4.9-RELEASE-p3 FreeBSD 4.9-RELEASE-p3 #3: Mon Mar 8 14:35:30 JST 2004 toshiya at int.saitoh.nu:/usr/obj/usr/src/sys/MEDIA i386
>Description:
If we use perl-5.8.0 and later, this ports overwrite perl core modules.
So, please correct to check the dependency on perl version and perl core module strictly.
Thanks!
>How-To-Repeat:
patch for Makefile.
>Fix:
--- Makefile.orig Wed Mar 17 23:14:58 2004
+++ Makefile Wed Mar 17 23:42:18 2004
@@ -17,15 +17,14 @@
MAINTAINER= blaz at si.FreeBSD.org
COMMENT= Performance-enhanced daemonized version of amavis-perl
-RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Time/HiRes.pm:${PORTSDIR}/devel/p5-Time-HiRes \
- ${SITE_PERL}/${PERL_ARCH}/Unix/Syslog.pm:${PORTSDIR}/sysutils/p5-Unix-Syslog \
+
+RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Unix/Syslog.pm:${PORTSDIR}/sysutils/p5-Unix-Syslog \
${SITE_PERL}/MIME/Words.pm:${PORTSDIR}/mail/p5-MIME-Tools \
${SITE_PERL}/Convert/TNEF.pm:${PORTSDIR}/converters/p5-Convert-TNEF \
${SITE_PERL}/${PERL_ARCH}/Convert/UUlib.pm:${PORTSDIR}/converters/p5-Convert-UUlib \
${SITE_PERL}/${PERL_ARCH}/Compress/Zlib.pm:${PORTSDIR}/archivers/p5-Compress-Zlib \
${SITE_PERL}/Archive/Tar.pm:${PORTSDIR}/archivers/p5-Archive-Tar \
${SITE_PERL}/Archive/Zip.pm:${PORTSDIR}/archivers/p5-Archive-Zip \
- ${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5 \
${SITE_PERL}/Net/Server.pm:${PORTSDIR}/net/p5-Net-Server \
${SITE_PERL}/Mail/SpamAssassin.pm:${PORTSDIR}/mail/p5-Mail-SpamAssassin \
${LOCALBASE}/bin/arc:${PORTSDIR}/archivers/arc \
@@ -106,7 +105,12 @@
.include <bsd.port.pre.mk>
-.if ${PERL_LEVEL} < 500601
+.if ${PERL_LEVEL} < 500800
+RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5 \
+ ${SITE_PERL}/${PERL_ARCH}/Time/HiRes.pm:${PORTSDIR}/devel/p5-Time-HiRes
+.endif
+
+.if ${PERL_LEVEL} < 500600
RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/IO/Socket/UNIX.pm:${PORTSDIR}/devel/p5-IO
.endif
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list