Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 766345 - dev-vcs/git[perl] git send-email fails to send to TLS based SMTP server
Summary: dev-vcs/git[perl] git send-email fails to send to TLS based SMTP server
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-21 03:46 UTC by Bertrand Jacquin
Modified: 2021-01-21 05:45 UTC (History)
3 users (show)

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


Attachments
emerge --info (emerge--info.log,20.31 KB, text/x-log)
2021-01-21 03:47 UTC, Bertrand Jacquin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bertrand Jacquin 2021-01-21 03:46:19 UTC
Hi,

Since https://bugs.gentoo.org/665574, git send-email fails if dev-perl/IO-Socket-SSL is not installed if the email is sent to a TLS based SMTP server:

$ git send-email --smtp-server=localhost --smtp-encryption=tls -1 --to self@localhost
..
Not using SSL_VERIFY_PEER due to out-of-date IO::Socket::SSL.
To use SSL please install IO::Socket::SSL with version>=2.007 at /usr/lib64/perl5/5.30.3/Net/SMTP.pm line 268

While https://bugs.gentoo.org/665574 was correct mentioning Net::SMTP (part of dev-lang/perl) can do TLS natively, it still does require dev-perl/IO-Socket-SSL for TLS based connection.

Would it make sense to add a ssl USE flag to dev-vcs/git or to dev-lang/perl so all dependency are covered for such use case ?

Reproducible: Always
Comment 1 Bertrand Jacquin 2021-01-21 03:47:45 UTC
Created attachment 683941 [details]
emerge --info