Bug 112883 - Net::SMTP->auth() from dev-perl/libnet requires MIME::Base64 and Authen::SASL
Bug#: 112883 Product:  Gentoo Linux Version: unspecified Platform: x86
OS/Version: Linux Status: RESOLVED Severity: major Priority: P2
Resolution: FIXED Assigned To: perl@gentoo.org Reported By: ervin.peters@ervnet.de
Component: Unspecified
URL: 
Summary: Net::SMTP->auth() from dev-perl/libnet requires MIME::Base64 and Authen::SASL
Keywords:  
Status Whiteboard: 
Opened: 2005-11-18 00:27 0000
Description:   Opened: 2005-11-18 00:27 0000
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 From Michael Cummings (RETIRED) 2005-11-19 05:57:44 0000 -------
authen-sasl added as optional dep (mime-base64 doesn't specify a version, no
need to dep the external ebuild)