alpine: backport upstream fix for Yahoo SMTP.

http://mailman13.u.washington.edu/pipermail/alpine-info/2019-August/008566.html
This commit is contained in:
Leah Neukirchen 2019-09-02 10:19:47 +02:00
parent a35ae159d2
commit b35f2af1a9
2 changed files with 23 additions and 1 deletions

View file

@ -0,0 +1,22 @@
From 418e8bc5789d9ef223f043848619b6a648748dcc Mon Sep 17 00:00:00 2001
From: Eduardo Chappa <chappa@washington.edu>
Date: Thu, 22 Aug 2019 19:11:53 -0600
Subject: [PATCH 1/1] * Ignore extra text in challenge from smtp server
during authentication.
---
imap/src/c-client/smtp.c | 1 +
pith/pine.hlp | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
--- imap/src/c-client/smtp.c
+++ imap/src/c-client/smtp.c
@@ -363,6 +363,7 @@ void *smtp_challenge (void *s,unsigned long *len)
sprintf (tmp,"SMTP SERVER BUG (invalid challenge, continuing): %.80s",stream->reply+4);
mm_log (tmp,ERROR);
ret = cpystr(""); /* This is silly: fake a reply, it will be ignored */
+ *len = 0L;
}
return ret;
}

View file

@ -1,7 +1,7 @@
# Template file for 'alpine'
pkgname=alpine
version=2.21.99999
revision=1
revision=2
_githash=abeb2c25935ef8c75f1e5deef0f81276754dc975
_gitshort="${_githash:0:7}"
wrksrc="${pkgname}-${_gitshort}"