From b35f2af1a9a9f3375f36c71b1408109be4d8f97e Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Mon, 2 Sep 2019 10:19:47 +0200 Subject: [PATCH] alpine: backport upstream fix for Yahoo SMTP. http://mailman13.u.washington.edu/pipermail/alpine-info/2019-August/008566.html --- srcpkgs/alpine/patches/418e8bc5.patch | 22 ++++++++++++++++++++++ srcpkgs/alpine/template | 2 +- 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/alpine/patches/418e8bc5.patch diff --git a/srcpkgs/alpine/patches/418e8bc5.patch b/srcpkgs/alpine/patches/418e8bc5.patch new file mode 100644 index 00000000000..7cc8dc7a8c8 --- /dev/null +++ b/srcpkgs/alpine/patches/418e8bc5.patch @@ -0,0 +1,22 @@ +From 418e8bc5789d9ef223f043848619b6a648748dcc Mon Sep 17 00:00:00 2001 +From: Eduardo Chappa +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; + } + diff --git a/srcpkgs/alpine/template b/srcpkgs/alpine/template index 9c8a0f8bb4e..6557a6debc6 100644 --- a/srcpkgs/alpine/template +++ b/srcpkgs/alpine/template @@ -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}"