git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH v2] send-email: Net::SMTP::SSL is obsolete, use only when necessary

From
Jonathan Nieder <jrnieder@gmail.com>
Date
May 31, 2017, 22:53 UTC
Message-ID
<20170531225348.GD81679@aiede.mtv.corp.google.com>
In-Reply-To
<xmqq7f0wabxn.fsf@gitster.mtv.corp.google.com>
Hi,
Jun 01, 2017 at 07:39:16AM +0900, Junio C Hamano wrote:
> Jonathan Nieder <jrnieder@gmail.com> writes:
Show 7 quoted lines
>> This broke git send-email for me.  The error message is
>>
>>   Can't locate object method "starttls" via package "Net::SMTP" at /usr/lib/git-core/git-send-email line 1410.
>>
>> Is 1.28 the right minimum version?
>>
>>   $ perl -e 'require Net::SMTP; print version->parse($Net::SMTP::VERSION); print "\n"'
[...]
Show 8 quoted lines
>>   $ grep starttls /usr/share/perl/5.18.2/Net/SMTP.pm
>>   $ dpkg-query -W perl
>>   perl    5.18.2-2ubuntu1.1
>
> Thanks.
>
> Let's revert the merge for now until we know (this time for certain)
> what the minimum version is.

Thanks. I just sent http://public-inbox.org/git/20170531224415.GC81679@aiede.mtv.corp.google.com in response to another thread. That uses 3.01 as minimum version, since it is the minimum version imported to core perl with starttls support.

I haven't tried testing with historical Net::SMTP versions, though. Is there a git repository available with all Net::SMTP versions from CPAN, or is https://perl5.git.perl.org/perl.git as good as it gets?

Regards, Jonathan

Previous: Junio C Hamano
Message 16 of 16 in “Remove dependency on deprecated Net::SMTP::SSL”
  1. Remove dependency on deprecated Net::SMTP::SSLMike Fisher, Nov 20, 2016
  2. brian m. carlsonNov 20, 2016
  3. Renato BotelhoJan 13, 2017
  4. Torsten BögershausenNov 21, 2016
  5. send-email: Net::SMTP::SSL is obsolete, use only when necessaryDennis Kaarsemaker, Mar 18, 2017
  6. Ævar Arnfjörð BjarmasonMar 18, 2017
  7. Dennis KaarsemakerMar 18, 2017
  8. send-email: Net::SMTP::SSL is obsolete, use only when necessaryDennis Kaarsemaker, Mar 24, 2017
  9. Dennis KaarsemakerMay 4, 2017
  10. Dennis KaarsemakerMay 19, 2017
  11. Ævar Arnfjörð BjarmasonMay 20, 2017
  12. Junio C HamanoMay 31, 2017
  13. Dennis KaarsemakerJun 1, 2017
  14. Jonathan NiederMay 31, 2017
  15. Junio C HamanoMay 31, 2017
  16. Jonathan NiederMay 31, 2017

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.