Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Jan 2002 09:08:42 -0800 (PST)
From:      Hendrik Scholz <hendrik@scholz.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/33477: ports/mail/razor-agents has wrong dependencies
Message-ID:  <200201021708.g02H8gA99551@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         33477
>Category:       ports
>Synopsis:       ports/mail/razor-agents has wrong dependencies
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 02 09:10:03 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Hendrik Scholz
>Release:        4.4-STABLE
>Organization:
NetUSE AG
>Environment:
FreeBSD telonius.lan.raisdorf.net 4.4-STABLE FreeBSD 4.4-STABLE #4: Sat Nov  3 16:14:58 CET 2001     hscholz@telonius.lan.raisdorf.net:/usr/src/sys/compile/TELONIUS  i386

>Description:
razor-agents consists of several perl scripts with use perl modules.
razor-discover uses Net::DNS::Resolver (in the Razor/Client.pm package).

The Makefile indicates that ports/net/p5-Net is needed.
Instead ports/net/p5-Net-DNS is needed.

razor-discover does not work when p5-Net-DNS is not installed.


>How-To-Repeat:
Install the ports/mail/razor-agent port and run razor-discover:

$ razor-discover
Can't locate Net/DNS/Resolver.pm in @INC (@INC contains: lib/ /usr/libdata/perl/5.00503/mach /usr/libdata/perl/5.00503 /usr/local/lib/perl5/site_perl/5.005/i386-freebsd /usr/local/lib/perl5/site_perl/5.005 .) at /usr/local/lib/perl5/site_perl/5.005/Razor/Client.pm line 18.
BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.005/Razor/Client.pm line 18.
BEGIN failed--compilation aborted at /usr/local/bin/razor-discover line 15.

Install ports/net/p5-Net-DNS (and deinstall p5-Net if not needed).
$ razor-discover;echo $?
0
$ wc -l .razor.lst 
       2 .razor.lst
$

>Fix:
--- Makefile.orig       Wed Jan  2 18:01:53 2002
+++ Makefile    Wed Jan  2 18:02:55 2002
@@ -7,13 +7,14 @@

 PORTNAME=      razor-agents
 PORTVERSION=   1.17
+PORTREVISION=  1
 CATEGORIES=    mail
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=    razor

 MAINTAINER=    leeym@leeym.com

-RUN_DEPENDS=   ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Net/DNS.pm:${PORTSDIR}/net/p5-Net \
+RUN_DEPENDS=   ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Net/DNS.pm:${PORTSDIR}/net/p5-Net-DNS \
                ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Time/HiRes.pm:${PORTSDIR}/devel/p5-Time-HiRes \
                ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Digest/SHA1.pm:${PORTSDIR}/security/p5-Digest-SHA1 \
                ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Mail/Internet.pm:${PORTSDIR}/mail/p5-Mail-Tools

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

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200201021708.g02H8gA99551>