* [gentoo-commits] repo/gentoo:master commit in: mail-client/sylpheed/files/, mail-client/sylpheed/
@ 2020-08-11 13:35 Akinori Hattori
0 siblings, 0 replies; only message in thread
From: Akinori Hattori @ 2020-08-11 13:35 UTC (permalink / raw
To: gentoo-commits
commit: 8655bf0b1f2df0d02e85abfaee53a431ac1a72bd
Author: Akinori Hattori <hattya <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 11 13:33:33 2020 +0000
Commit: Akinori Hattori <hattya <AT> gentoo <DOT> org>
CommitDate: Tue Aug 11 13:35:06 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8655bf0b
mail-client/sylpheed: enable SNI for TLS 1.3
Closes: https://bugs.gentoo.org/697460
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Akinori Hattori <hattya <AT> gentoo.org>
mail-client/sylpheed/files/sylpheed-tls-1.3.patch | 17 +++++++++++++++++
mail-client/sylpheed/sylpheed-3.7.0-r1.ebuild | 1 +
2 files changed, 18 insertions(+)
diff --git a/mail-client/sylpheed/files/sylpheed-tls-1.3.patch b/mail-client/sylpheed/files/sylpheed-tls-1.3.patch
new file mode 100644
index 00000000000..a8215dd2a0d
--- /dev/null
+++ b/mail-client/sylpheed/files/sylpheed-tls-1.3.patch
@@ -0,0 +1,17 @@
+https://sylpheed.sraoss.jp/redmine/issues/306
+
+Author: Antonio Ospite <ao2@ao2.it>
+
+--- a/libsylph/ssl.c
++++ b/libsylph/ssl.c
+@@ -262,6 +262,10 @@ gboolean ssl_init_socket_with_method(SockInfo *sockinfo, SSLMethod method)
+ return FALSE;
+ }
+
++#ifdef SSL_CTRL_SET_TLSEXT_HOSTNAME
++ SSL_set_tlsext_host_name(sockinfo->ssl, sockinfo->hostname);
++#endif
++
+ SSL_set_fd(sockinfo->ssl, sockinfo->sock);
+ while ((ret = SSL_connect(sockinfo->ssl)) != 1) {
+ err = SSL_get_error(sockinfo->ssl, ret);
diff --git a/mail-client/sylpheed/sylpheed-3.7.0-r1.ebuild b/mail-client/sylpheed/sylpheed-3.7.0-r1.ebuild
index aa5835e622d..86628b8d25b 100644
--- a/mail-client/sylpheed/sylpheed-3.7.0-r1.ebuild
+++ b/mail-client/sylpheed/sylpheed-3.7.0-r1.ebuild
@@ -35,6 +35,7 @@ DEPEND="${CDEPEND}
xface? ( media-libs/compface )"
BDEPEND="virtual/pkgconfig"
+PATCHES=( "${FILESDIR}"/${PN}-tls-1.3.patch )
DOCS="AUTHORS ChangeLog* NEW* PLUGIN* README* TODO*"
src_configure() {
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2020-08-11 13:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-08-11 13:35 [gentoo-commits] repo/gentoo:master commit in: mail-client/sylpheed/files/, mail-client/sylpheed/ Akinori Hattori
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox