diff --git a/.gitignore b/.gitignore index 5d0cd52..1c769c1 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ /clawsker-1.1.0.tar.xz /clawsker-1.1.1.tar.xz /clawsker-1.2.0.tar.xz +/clawsker-1.3.0.tar.xz diff --git a/clawsker-1.3.0-use_tls_sni.patch b/clawsker-1.3.0-use_tls_sni.patch new file mode 100644 index 0000000..9eeafa8 --- /dev/null +++ b/clawsker-1.3.0-use_tls_sni.patch @@ -0,0 +1,48 @@ +From: Ricardo Mones +Date: Fri, 21 Dec 2018 19:26:03 +0000 (+0100) +Subject: Support new account hidden preference “use_tls_sni” +X-Git-Url: http://git.claws-mail.org/?p=clawsker.git;a=commitdiff_plain;h=3ad1b26afa004ebed74f003b29bb8f039e18091b + +Support new account hidden preference “use_tls_sni” +--- + +diff --git a/clawsker b/clawsker +index 3791165..d3a005f 100755 +--- a/clawsker ++++ b/clawsker +@@ -212,6 +212,8 @@ sub _ { + h_acc_gtls_set => _('Enables using user provided GnuTLS priority string.'), + l_acc_gtls_pri => _('GnuTLS priority'), + h_acc_gtls_pri => _('Value to use as GnuTLS priority string if custom priority check is enabled. Otherwise this value is ignored.'), ++ l_acc_tls_sni => _('Use TLS SNI extension'), ++ h_acc_tls_sni => _('Enables sending your hostname, if available, so the server can select the appropriate certificate for your domain. Useful for servers which host multiple domains on the same IP address.'), + + l_plu_gpg_alimit => _('Autocompletion limit'), + h_plu_gpg_alimit => _('Limits the number of addresses obtained from keyring through autocompletion. Use 0 to get all matches.'), +@@ -1959,14 +1961,24 @@ sub new_winpos_page() { + '3.9.0.181', + '0', + ], ++ tls_sni => [ ++ 'use_tls_sni', ++ $xl::s{l_acc_tls_sni}, ++ $xl::s{h_acc_tls_sni}, ++ 'bool', ++ '3.17.2.16', ++ '0', ++ ], + ); + + sub new_account_subpage($) { + my ($akey) = @_; +- return new_grid_pack (1, 3, [ ++ return new_grid_pack (1, 5, [ + [ _('GnuTLS priority') ], + [ new_check_button_for (\%pr::acc, 'tls_set', $ACHPVALUE{$akey}) ], +- [ new_text_box_for_nchar (\%pr::acc, 'tls_pri', $ACHPVALUE{$akey}) ] ++ [ new_text_box_for_nchar (\%pr::acc, 'tls_pri', $ACHPVALUE{$akey}) ], ++ [ _('Server Name Indication') ], ++ [ new_check_button_for (\%pr::acc, 'tls_sni', $ACHPVALUE{$akey}) ], + ]); + } + diff --git a/clawsker.spec b/clawsker.spec index 951dfa4..7eb496e 100644 --- a/clawsker.spec +++ b/clawsker.spec @@ -1,8 +1,8 @@ # Review at https://bugzilla.redhat.com/show_bug.cgi?id=620191 Name: clawsker -Version: 1.2.0 -Release: 1%{?dist} +Version: 1.3.0 +Release: 2%{?dist} Summary: Dialog to edit Claws Mail's hidden preferences Group: Applications/Internet @@ -19,8 +19,10 @@ BuildRequires: perl-generators Requires: claws-mail +Patch0: clawsker-1.3.0-use_tls_sni.patch + %description -Clawsker is a Perl-GTK2 applet to edit hidden preferences for Claws Mail, and +Clawsker is a Perl-GTK3 applet to edit hidden preferences for Claws Mail, and to do it in a safe and user friendly way, preventing users from raw editing of configuration files. @@ -28,7 +30,7 @@ Claws Mail is a fast and lightweight Mail User Agent by the Claws Mail Team. %prep -%setup -q +%autosetup -p1 %build @@ -53,6 +55,13 @@ desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop %changelog +* Mon Dec 24 2018 Michael Schwendt - 1.3.0-2 +- Merge use_tls_sni patch from git. +- Switch to %%autosetup -p1. + +* Mon Dec 3 2018 Michael Schwendt - 1.3.0-1 +- Update to 1.3.0 which has switched to using GTK+3 Perl bindings. + * Thu Aug 16 2018 Michael Schwendt - 1.2.0-1 - Update to 1.2.0. diff --git a/sources b/sources index 00a05b4..212796f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (clawsker-1.2.0.tar.xz) = 2b6e32b9ca73fee0817260c14d79768538349fe2b23235efa096a31ebe44fb7730c6f9f5849361d393c3a8a040ce4c2013ae53520d01a0dba4d2d7f7d558a734 +SHA512 (clawsker-1.3.0.tar.xz) = 63e473581081c429e2376b710e405d1d996816460761047dc51097ea9e2220413fa049c621c5c91006b6182a0027e113ff54534c8d8cd6da2f36d875656b683f