diff --git a/.gitignore b/.gitignore index f48195a..53b71ce 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,3 @@ /zoitechat-2.18.2.tar.gz +/zoitechat-2.18.3.tar.gz +/v2.19.0.tar.gz diff --git a/sources b/sources index e4a2bfb..9330fcf 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (zoitechat-2.18.2.tar.gz) = 8f28d80240efa794875456c64de15be63fb0f2309f5fa0de07907b307b5ad699b1d2f39d2acb19ba94e5e66615f0fb93863b21678e55d6a5c37ed42daaeabf90 +SHA512 (v2.19.0.tar.gz) = a28f4f69c9f7b0177e845e0aa90f9bedc3f8148495ccbef33c5d066736ef1adb3b2b2242dbaa5d5719765afe76b7228723f0ebfb1fbf26962936eda9b91793fc diff --git a/zoitechat-honor-system-crypto-policy.patch b/zoitechat-honor-system-crypto-policy.patch new file mode 100644 index 0000000..dbd7f41 --- /dev/null +++ b/zoitechat-honor-system-crypto-policy.patch @@ -0,0 +1,13 @@ +diff --git a/src/common/ssl.c b/src/common/ssl.c +--- a/src/common/ssl.c ++++ b/src/common/ssl.c +@@ -97,8 +97,7 @@ _SSL_context_init (void (*info_cb_func)) + |SSL_OP_NO_TICKET + |SSL_OP_NO_RENEGOTIATION); + SSL_CTX_set_min_proto_version (ctx, TLS1_2_VERSION); +- SSL_CTX_set_cipher_list (ctx, "HIGH:!aNULL:!eNULL:!EXPORT:!DES:!RC4:!MD5:!PSK:!SRP:!DSS"); +- SSL_CTX_set_ciphersuites (ctx, "TLS_AES_256_GCM_SHA384:TLS_CHACHA20_POLY1305_SHA256:TLS_AES_128_GCM_SHA256"); ++ SSL_CTX_set_cipher_list (ctx, "PROFILE=SYSTEM"); + + #if OPENSSL_VERSION_NUMBER >= 0x00908000L && !defined (OPENSSL_NO_COMP) /* workaround for OpenSSL 0.9.8 */ + sk_SSL_COMP_zero(SSL_COMP_get_compression_methods()); diff --git a/zoitechat.spec b/zoitechat.spec index 20acb3c..579abe1 100644 --- a/zoitechat.spec +++ b/zoitechat.spec @@ -1,10 +1,11 @@ Name: zoitechat -Version: 2.18.2 +Version: 2.19.0 Release: %autorelease Summary: HexChat-based IRC client License: GPL-2.0-or-later WITH cryptsetup-OpenSSL-exception URL: https://github.com/ZoiteChat/zoitechat -Source0: %{url}/archive/refs/tags/%{name}-%{version}.tar.gz +Source0: %{url}/archive/refs/tags/v%{version}.tar.gz +Patch0: zoitechat-honor-system-crypto-policy.patch BuildRequires: desktop-file-utils BuildRequires: gcc @@ -46,7 +47,7 @@ ZoiteChat is a HexChat-based IRC client for Windows and UNIX-like operating systems. %prep -%autosetup -C +%autosetup -C -p1 %build %meson \