diff options
author | Mart Raudsepp <leio@gentoo.org> | 2019-02-27 14:09:20 +0200 |
---|---|---|
committer | Mart Raudsepp <leio@gentoo.org> | 2019-02-27 14:39:44 +0200 |
commit | ca5f5ea5804f18ff2915a4dec97e80400d94419c (patch) | |
tree | 427a4374cdf3f8002acc12472633d9ea879615b9 /gnome-extra/evolution-data-server/files | |
parent | sys-kernel/gentoo-sources: Linux patch 4.20.13 (diff) | |
download | gentoo-ca5f5ea5804f18ff2915a4dec97e80400d94419c.tar.gz gentoo-ca5f5ea5804f18ff2915a4dec97e80400d94419c.tar.bz2 gentoo-ca5f5ea5804f18ff2915a4dec97e80400d94419c.zip |
gnome-extra/evolution-data-server: fix libgdata enabling logic, backport a patch
ENABLE_GOOGLE needs to be enabled if GOA or OAUTH2 to support
google tasks/calendars, not OAUTH2.
Backport a patch that is needed by a evolution-ews certificate
checking security fix.
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Mart Raudsepp <leio@gentoo.org>
Diffstat (limited to 'gnome-extra/evolution-data-server/files')
-rw-r--r-- | gnome-extra/evolution-data-server/files/3.30.5-collection-auth.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/gnome-extra/evolution-data-server/files/3.30.5-collection-auth.patch b/gnome-extra/evolution-data-server/files/3.30.5-collection-auth.patch new file mode 100644 index 000000000000..5d1c2780162a --- /dev/null +++ b/gnome-extra/evolution-data-server/files/3.30.5-collection-auth.patch @@ -0,0 +1,35 @@ +From 6672b8236139bd6ef41ecb915f4c72e2a052dba5 Mon Sep 17 00:00:00 2001 +From: Milan Crha <mcrha@redhat.com> +Date: Tue, 4 Dec 2018 18:19:30 +0100 +Subject: [PATCH] Let child source with 'none' authentication method use + collection source authentication + +That might be the same as having set NULL authentication method. + +Related to https://gitlab.gnome.org/GNOME/evolution-ews/issues/27 +--- + src/libedataserver/e-data-server-util.c | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +diff --git a/src/libedataserver/e-data-server-util.c b/src/libedataserver/e-data-server-util.c +index 47fd4d2ec..bd209c980 100644 +--- a/src/libedataserver/e-data-server-util.c ++++ b/src/libedataserver/e-data-server-util.c +@@ -3259,11 +3259,13 @@ e_util_can_use_collection_as_credential_source (ESource *collection_source, + if (can_use_collection) { + gchar *method_source, *method_collection; + +- /* Also check the method; if different, then rather not use the collection */ ++ /* Also check the method; if different, then rather not use the collection. ++ Consider 'none' method on the child as the same as the collection method. */ + method_source = e_source_authentication_dup_method (auth_source); + method_collection = e_source_authentication_dup_method (auth_collection); + + can_use_collection = !method_source || !method_collection || ++ g_ascii_strcasecmp (method_source, "none") == 0 || + g_ascii_strcasecmp (method_source, method_collection) == 0; + + g_free (method_source); +-- +2.17.0 + |