Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 112883 - Net::SMTP->auth() from dev-perl/libnet requires MIME::Base64 and Authen::SASL
Summary: Net::SMTP->auth() from dev-perl/libnet requires MIME::Base64 and Authen::SASL
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-18 00:27 UTC by Ervin Peters
Modified: 2005-11-19 05:57 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ervin Peters 2005-11-18 00:27:33 UTC
While debugging an smtp-authentication error in a small routemonitoring script I
discovered that there are some 'requirements' to Net::SMTP:

balu Net # grep 'require ' SMTP.pm
require 5.001;
        require MIME::Base64;
        require Authen::SASL;

Without that the Net::SMTP->auth() function fails.

Shoudn't there be some ebuild dependencies managed by use-flags?
e.g <useflag>sasl</useflag>:

...
DEPEND="sasl? ( perl-core/MIME-Base64 dev-perl/Authen-SASL)"
...

ervin


Reproducible: Always
Steps to Reproduce:
1. make a virgin minimal install
2. emerge dev-perl/libnet
3. try some perl with Net::SMTP authenticates at the mail relay

Actual Results:  
Authentication error

Expected Results:  
Authentication ok.
Comment 1 Michael Cummings (RETIRED) gentoo-dev 2005-11-19 05:57:44 UTC
authen-sasl added as optional dep (mime-base64 doesn't specify a version, no
need to dep the external ebuild)