SHA256
1
0
forked from pool/fetchmail

Accepting request 989820 from home:david.anes:branches:server:mail

- update to 6.4.31
  * Bugfixes:
    - Try to fix ./configure --with-ssl=... for systems that have 
      multiple OpenSSL versions installed.  Issues reported by 
      Dennis Putnam.
    - The netrc parser now reports its errors to syslog or logfile 
      when appropriate, previously it would always log to stderr.
    - Add error checking to .netrc parser.
  * Changes:
    - manpage: use .UR/.UE macros instead of .URL for URIs.
    - manpage: fix contractions. Found with FreeBSD's igor tool.
    - manpage: HTML now built with pandoc -> python-docutils
      (manServer.pl was dropped)

OBS-URL: https://build.opensuse.org/request/show/989820
OBS-URL: https://build.opensuse.org/package/show/server:mail/fetchmail?expand=0&rev=135
This commit is contained in:
David Anes 2022-07-18 08:36:00 +00:00 committed by Git OBS Bridge
parent 8d79cc8c79
commit da873517b9
7 changed files with 69 additions and 49 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:35824c20aa1d8d97e3f1611fef49b9f7f68396f7cbc4d3a807fed27ae9ea445a
size 1333524

View File

@ -1,16 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE3EplW9mTzUhx+oIQ5BKxVu/zhVoFAmJoRYwACgkQ5BKxVu/z
hVodSQ/9Epl8qsZEVuMV+wwtAJrlhgySOJTbvAs5b85pBlFCO7Yy1UZqqO44skO4
ZgdcFTFf8DwY29b7DK/7bjoz6gWitJlwBRoqoPpRbbyxzIcdCUTHb9w3hDxPJO9j
qF6V/Sj6wXtJWzXXeJ485/QmkmW1gTIU6mBwfPJJetsgDbNE8maB5S9a6TGY8XeD
jmOkuf/ayPymoeKUziQI0YwV3zDpXiwqCRd32jLd1Np9GpQxvVSm8BdUV1GGR70M
I3/fgry+m/3J+O3Gx5cjrZDwCcqsxQwtIiFp8NkhPbxxsgJMweBNgQt5CvoZbI91
4Ot/kKscrKVTLgMfdArENd5ccG8lZPqOLb4GzmZBhwmOn9HMXYoSVVsiL6qAPD6j
M6PwbJ0b2BHjYquWkLoNzb3J5SQBgj59IdhhevM7S5uydlZuGT0K+YFTHsanWRwY
GUjEpK73QtiRqnNt8Br1zesMr66Mwjgk/s9mfXAfa1Vccsln18YNV5K12wTTSBxO
A5A1VejoaYGN1GxdtlIDQm2MU+p613A7/ExwYjww6KzYD41usgJ7IU546oc3O5mA
um92XZg4tCqu4c1+oFirUFq8gLCMR+mHhUhe8Z1PSqsZtXVOWCYG+03usMcybe2U
XNZVdR7MxKlpz+Xtmr9BNn+x3weOIRhRhRkEl3H3kTXP4PilQ6U=
=ralo
-----END PGP SIGNATURE-----

3
fetchmail-6.4.31.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:904bf9247054df8e91b47b1a9fe15a31dda8478c25b5291da0424653744a28f7
size 1332264

View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE3EplW9mTzUhx+oIQ5BKxVu/zhVoFAmLSqQMACgkQ5BKxVu/z
hVrjsA/+I8V87c81U2FUpfD08h0SQFJVyTC7+kNt6kHt8T5rh0Nvh9F3mhyLefkJ
aPVwVECFRAJxxiPyOFhYWVU8lpvOD0tKFFZ91h3IVEAQDWqynlVozQ8T6UWw0T1u
UUkrb3vVgBDvi3x06cVFthJ+rxbxDy+hPIt+rYX96HSeVSWQGy0jEmBHofAWwYMH
//dHySnKlvb53sUb8YtI43b+w+3uLgCual7UdovtSydSM1c3RhKjeqjgLgk1ncx6
S8am+1zLBIU4AKIl9SHsuD6kBszOEJBvVVmcn+C+vBIut6MLaHFvghROsdpyoHll
NzoyyTmOkqbF1ElUvkgqL27uOzhvdKk7SWSH4UIvshfk4I6mXybazplvV7fRM9cb
JYHp4CGQGJw32yg2FgPbGOgBhb0UvDljtdI39QeC6r8f8XY2WAFchfH+ovv6kcro
7HGEt4JE4QApdeoysthapGvRIZNQlsZ8vykCzoHDgJnJrMyaiLJEhD+gFywLeICn
YO4fHoZyFL8uBvG5JU3qn6HuIryu90Celhf0d4myMGHtHmDx/tDfbKdVlxrJv7Ox
h47TIrOnjz94bOnydvLhtx5avnuJuUTDBzgftXaovBXhIRP3UAmOKFWMw+/jKgER
lcnfVfKIAPkvXPT27khXu2oU/QUU3dsdz3NfzoUfupZLNi3vfOU=
=79QY
-----END PGP SIGNATURE-----

View File

@ -17,10 +17,10 @@ When configured, it will also fall back on trying xoauth2.
rcfile_l.l | 1
8 files changed, 136 insertions(+), 3 deletions(-)
Index: fetchmail-6.4.25/conf.c
Index: fetchmail-6.4.31/conf.c
===================================================================
--- fetchmail-6.4.25.orig/conf.c
+++ fetchmail-6.4.25/conf.c
--- fetchmail-6.4.31.orig/conf.c
+++ fetchmail-6.4.31/conf.c
@@ -288,6 +288,8 @@ void dump_config(struct runctl *runp, st
stringdump("auth", "otp");
else if (ctl->server.authenticate == A_MSN)
@ -30,10 +30,10 @@ Index: fetchmail-6.4.25/conf.c
#ifdef HAVE_RES_SEARCH
booldump("dns", ctl->server.dns);
Index: fetchmail-6.4.25/fetchmail.c
Index: fetchmail-6.4.31/fetchmail.c
===================================================================
--- fetchmail-6.4.25.orig/fetchmail.c
+++ fetchmail-6.4.25/fetchmail.c
--- fetchmail-6.4.31.orig/fetchmail.c
+++ fetchmail-6.4.31/fetchmail.c
@@ -1783,6 +1783,9 @@ static void dump_params (struct runctl *
case A_SSH:
printf(GT_(" End-to-end encryption assumed.\n"));
@ -44,10 +44,10 @@ Index: fetchmail-6.4.25/fetchmail.c
}
if (ctl->server.principal != (char *) NULL)
printf(GT_(" Mail service principal is: %s\n"), ctl->server.principal);
Index: fetchmail-6.4.25/fetchmail.h
Index: fetchmail-6.4.31/fetchmail.h
===================================================================
--- fetchmail-6.4.25.orig/fetchmail.h
+++ fetchmail-6.4.25/fetchmail.h
--- fetchmail-6.4.31.orig/fetchmail.h
+++ fetchmail-6.4.31/fetchmail.h
@@ -79,6 +79,7 @@ struct addrinfo;
#define A_SSH 8 /* authentication at session level */
#define A_MSN 9 /* same as NTLM with keyword MSN */
@ -64,11 +64,11 @@ Index: fetchmail-6.4.25/fetchmail.h
#define PASSWORDLEN 256 /* max password length */
#define DIGESTLEN 33 /* length of MD5 digest */
Index: fetchmail-6.4.25/fetchmail.man
Index: fetchmail-6.4.31/fetchmail.man
===================================================================
--- fetchmail-6.4.25.orig/fetchmail.man
+++ fetchmail-6.4.25/fetchmail.man
@@ -1001,7 +1001,7 @@ AUTHENTICATION below for details). The
--- fetchmail-6.4.31.orig/fetchmail.man
+++ fetchmail-6.4.31/fetchmail.man
@@ -1004,7 +1004,7 @@ AUTHENTICATION below for details). The
\&\fBpassword\fP, \fBkerberos_v5\fP, \fBkerberos\fP (or, for
excruciating exactness, \fBkerberos_v4\fP), \fBgssapi\fP,
\fBcram\-md5\fP, \fBotp\fP, \fBntlm\fP, \fBmsn\fP (only for POP3),
@ -77,10 +77,13 @@ Index: fetchmail-6.4.25/fetchmail.man
When \fBany\fP (the default) is specified, fetchmail tries
first methods that do not require a password (EXTERNAL, GSSAPI, KERBEROS\ IV,
KERBEROS\ 5); then it looks for methods that mask your password
@@ -1025,6 +1025,23 @@ GSSAPI or K4. Choosing KPOP protocol au
authentication. This option does not work with ETRN. GSSAPI service names are
@@ -1029,8 +1029,24 @@ authentication. This option does not wo
in line with RFC-2743 and IANA registrations, see
.URL https://www.iana.org/assignments/gssapi-service-names/ "Generic Security Service Application Program Interface (GSSAPI)/Kerberos/Simple Authentication and Security Layer (SASL) Service Names" .
.UR https://www.iana.org/assignments/gssapi-service-names/
Generic Security Service Application Program Interface (GSSAPI)/Kerberos/Simple
-Authentication and Security Layer (SASL) Service Names
-.UE .
+Authentication and Security Layer (SASL) Service Names .
+.sp
+\fBoauthbearer\fP expects the supplied password to be an oauth2 authentication
+token instead of a password, as used by services like gmail.
@ -101,7 +104,7 @@ Index: fetchmail-6.4.25/fetchmail.man
.SS Miscellaneous Options
.TP
.B \-f <pathname> | \-\-fetchmailrc <pathname>
@@ -2322,7 +2339,9 @@ Legal protocol identifiers for use with
@@ -2323,7 +2339,9 @@ Legal protocol identifiers for use with
.PP
Legal authentication types are 'any', 'password', 'kerberos',
\&'kerberos_v4', 'kerberos_v5' and 'gssapi', 'cram\-md5', 'otp', 'msn'
@ -112,10 +115,10 @@ Index: fetchmail-6.4.25/fetchmail.man
The 'password' type specifies
authentication by normal transmission of a password (the password may be
plain text or subject to protocol-specific encryption as in CRAM-MD5);
Index: fetchmail-6.4.25/fetchmailconf.py
Index: fetchmail-6.4.31/fetchmailconf.py
===================================================================
--- fetchmail-6.4.25.orig/fetchmailconf.py
+++ fetchmail-6.4.25/fetchmailconf.py
--- fetchmail-6.4.31.orig/fetchmailconf.py
+++ fetchmail-6.4.31/fetchmailconf.py
@@ -500,7 +500,7 @@ defaultports = {"auto":None,
"ODMR":"odmr"}
@ -125,10 +128,10 @@ Index: fetchmail-6.4.25/fetchmailconf.py
listboxhelp = {
'title' : 'List Selection Help',
Index: fetchmail-6.4.25/imap.c
Index: fetchmail-6.4.31/imap.c
===================================================================
--- fetchmail-6.4.25.orig/imap.c
+++ fetchmail-6.4.25/imap.c
--- fetchmail-6.4.31.orig/imap.c
+++ fetchmail-6.4.31/imap.c
@@ -26,6 +26,10 @@
#define IMAP4 0 /* IMAP4 rev 0, RFC1730 */
#define IMAP4rev1 1 /* IMAP4 rev 1, RFC2060 */
@ -268,10 +271,10 @@ Index: fetchmail-6.4.25/imap.c
/* Yahoo hack - we'll just try ID if it was offered by the server,
* and IGNORE errors. */
{
Index: fetchmail-6.4.25/options.c
Index: fetchmail-6.4.31/options.c
===================================================================
--- fetchmail-6.4.25.orig/options.c
+++ fetchmail-6.4.25/options.c
--- fetchmail-6.4.31.orig/options.c
+++ fetchmail-6.4.31/options.c
@@ -421,6 +421,8 @@ int parsecmdline (int argc /** argument
ctl->server.authenticate = A_ANY;
else if (strcmp(optarg, "msn") == 0)
@ -281,10 +284,10 @@ Index: fetchmail-6.4.25/options.c
else {
fprintf(stderr,GT_("Invalid authentication `%s' specified.\n"), optarg);
errflag++;
Index: fetchmail-6.4.25/rcfile_l.l
Index: fetchmail-6.4.31/rcfile_l.l
===================================================================
--- fetchmail-6.4.25.orig/rcfile_l.l
+++ fetchmail-6.4.25/rcfile_l.l
--- fetchmail-6.4.31.orig/rcfile_l.l
+++ fetchmail-6.4.31/rcfile_l.l
@@ -106,6 +106,7 @@ cram(-md5)? { SETSTATE(0); yylval.proto
msn { SETSTATE(0); yylval.proto = A_MSN; return AUTHTYPE;}
ntlm { SETSTATE(0); yylval.proto = A_NTLM; return AUTHTYPE;}

View File

@ -1,3 +1,20 @@
-------------------------------------------------------------------
Mon Jul 18 08:26:23 UTC 2022 - David Anes <david.anes@suse.com>
- update to 6.4.31
* Bugfixes:
- Try to fix ./configure --with-ssl=... for systems that have
multiple OpenSSL versions installed. Issues reported by
Dennis Putnam.
- The netrc parser now reports its errors to syslog or logfile
when appropriate, previously it would always log to stderr.
- Add error checking to .netrc parser.
* Changes:
- manpage: use .UR/.UE macros instead of .URL for URIs.
- manpage: fix contractions. Found with FreeBSD's igor tool.
- manpage: HTML now built with pandoc -> python-docutils
(manServer.pl was dropped)
-------------------------------------------------------------------
Tue Jun 21 13:43:53 UTC 2022 - Stefan Schubert <schubi@suse.com>

View File

@ -21,7 +21,7 @@
%define _fillupdir %{_localstatedir}/adm/fillup-templates
%endif
Name: fetchmail
Version: 6.4.30
Version: 6.4.31
Release: 0
Summary: Full-Featured POP and IMAP Mail Retrieval Daemon
License: GPL-2.0-or-later