Accepting request 364754 from server:irc

1

OBS-URL: https://build.opensuse.org/request/show/364754
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/irssi?expand=0&rev=34
This commit is contained in:
Dominique Leuenberger 2016-03-07 12:26:35 +00:00 committed by Git OBS Bridge
commit 055c52d921
7 changed files with 66 additions and 62 deletions

View File

@ -1,33 +0,0 @@
From: http://bugs.irssi.org/index.php?do=details&task_id=305
-> http://bugs.irssi.org/index.php?getfile=298
Redraw logic removed.
Index: src/core/network-openssl.c
===================================================================
--- src/core/network-openssl.c.orig
+++ src/core/network-openssl.c
@@ -418,6 +418,16 @@ static GIOFuncs irssi_ssl_channel_funcs
irssi_ssl_get_flags
};
+static int getpass_cb(char *buf, int size, int rwflag, void *keyname)
+{
+ char *pp, prompt[256];
+ snprintf(prompt, 256, "Enter PEM pass phrase:"); // for %s:", keyname);
+ pp = getpass(prompt);
+ strncpy(buf, pp, size);
+ buf[size - 1] = '\0';
+ return(strlen(buf));
+}
+
static gboolean irssi_ssl_init(void)
{
SSL_library_init();
@@ -484,6 +494,8 @@ static GIOChannel *irssi_ssl_get_iochann
scert = convert_home(mycert);
if (mypkey && *mypkey)
spkey = convert_home(mypkey);
+ SSL_CTX_set_default_passwd_cb(ctx, getpass_cb);
+ SSL_CTX_set_default_passwd_cb_userdata(ctx, spkey);
if (! SSL_CTX_use_certificate_file(ctx, scert, SSL_FILETYPE_PEM))
g_warning("Loading of client certificate '%s' failed: %s", mycert, ERR_reason_error_string(ERR_get_error()));
else if (! SSL_CTX_use_PrivateKey_file(ctx, spkey ? spkey : scert, SSL_FILETYPE_PEM))

View File

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

View File

@ -1,7 +0,0 @@
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iEYEABECAAYFAlQ48uYACgkQAMy1h92+8OEmggCghPKYty2Gv+btIxTXb76H688d
x2UAniMP8okW5q5dmLdcn2UAKC+bFWsT
=zvHR
-----END PGP SIGNATURE-----

3
irssi-0.8.18.tar.xz Normal file
View File

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

6
irssi-0.8.18.tar.xz.asc Normal file
View File

@ -0,0 +1,6 @@
-----BEGIN PGP SIGNATURE-----
iEYEABECAAYFAlbQv18ACgkQAMy1h92+8OF24QCcCLc8+FfV+U6i9lf5JAEUqOmW
XUEAn1/b9BhmfujvQA5Bv5hqbGFk6SR2
=9VSx
-----END PGP SIGNATURE-----

View File

@ -1,8 +1,54 @@
-------------------------------------------------------------------
Wed Mar 2 08:18:10 UTC 2016 - idonmez@suse.com
- Update to version 0.8.18
New Features
+ CAP SASL PLAIN login is now supported natively.
+ Paste bracket markers can be requested from terminal with
/set paste_use_bracketed_mode on
+ "Self messages" generated by some bouncers can now be received in
the proper window.
+ Try to split long lines on spaces to avoid words being splitted.
Adds a new option: split_line_on_space which defaults to on.
+ Add setting hilight_nick_matches_everywhere (#56).
+ The config parser is more robust and prints out better diagnostics
on incorrect config files.
+ Ctrl+^ (FS#721) and Ctrl+J can now be bound.
+ Command history can be cleared with /window history -clear
+ /hilight -mask -line is now supported (FS#275).
+ CHANTYPES are now supported.
+ Improved reload speed of ignores.
+ Add -date feature to /lastlog
+ irssiproxy can be more easily enabled and disabled.
+ Expando for hostname (FS#829).
+ UNIX sockets can now also be specified in the config file.
+ Disable SSLv3 due to the POODLE vulnerability.
+ SSL ciphers can now be specified per server.
+ Added SNI support for SSL.
Bugfixes
+ /ignore now respects -pattern on merge (#78).
+ irssiproxy (BNC) module now uses correct line endings.
+ Fix missing lines on large pastes (FS#905).
+ Correctly preserve STATUSMSG prefixes (#291).
+ Fix infinite recursion in key bindings (FS#817).
+ Fix incomplete awaylog caused by buffering.
+ Fix calculation of UTF-8 string length display in some cases.
+ Fix some Perl warnings related to @ISA.
+ EXEC windowitems now get proper references on the Perl side.
+ Incremental help file improvements.
+ ANSI attributes are now properly reset.
+ Fixed regression where text would blink when terminal lacks color support.
+ Permit the usage of Freenode extban syntax in /ban (#150)
+ Fixed regression in scriptassist on unload of scripts.
+ Fixed regression in -actcolor %n
- Remove irssi-0.8.15-ssl-passphrase.patch, fixed upstream.
-------------------------------------------------------------------
Sun Jan 10 21:46:19 UTC 2016 - astieger@suse.com
- downloads moved to github
- verify source signatature
- verify source signature
-------------------------------------------------------------------
Thu Jan 1 22:18:21 UTC 2015 - meissner@suse.com

View File

@ -19,12 +19,8 @@
%bcond_with socks
Name: irssi
Version: 0.8.17
Version: 0.8.18
Release: 0
%define pkg_name irssi
%define pkg_version 0.8.17
#
#
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if %{with socks}
%if 0%{?suse_version} > 1110
@ -42,20 +38,17 @@ BuildRequires: update-desktop-files
BuildRequires: perl-macros
%endif
BuildRequires: perl
Conflicts: %{pkg_name}-snapshot
Conflicts: %{name}-snapshot
#
Url: http://www.irssi.org
# irssi-import will become irssi for > 0.8.17
Source: https://github.com/irssi-import/irssi/releases/download/%{pkg_version}/%{pkg_name}-%{pkg_version}.tar.bz2
Source: https://github.com/irssi/irssi/releases/download/%{version}/irssi-%{version}.tar.xz
Source1: irssi.desktop
Source2: irssi.png
Source3: https://github.com/irssi-import/irssi/releases/download/%{pkg_version}/%{pkg_name}-%{pkg_version}.tar.bz2.sig
Source3: https://github.com/irssi/irssi/releases/download/%{version}/irssi-%{version}.tar.xz.asc
# https://sks-keyservers.net/pks/lookup?op=get&search=0x00CCB587DDBEF0E1
Source4: %{name}.keyring
Source99: irssi-rpmlintrc
Patch: irssi-0.8.15_ssl_proxy.patch
# PATCH-FIX-OPENSUSE irssi-0.8.15-ssl-passphrase.patch bnc#842532
Patch1: irssi-0.8.15-ssl-passphrase.patch
# PATCH-FIX-OPENSUSE irssi-0.8.16_missing_prototype_warnings.patch
Patch2: irssi-0.8.16_missing_prototype_warnings.patch
#
@ -87,7 +80,7 @@ Authors:
Timo Sirainen <cras@irssi.org>
%package devel
Requires: %{pkg_name} = %{version}
Requires: %{name} = %{version}
Requires: dante-devel
#
Summary: Development package for irssi
@ -104,9 +97,8 @@ Authors:
Timo Sirainen <cras@irssi.org>
%prep
%setup -q -n %{pkg_name}-%{pkg_version}
%setup -q
#patch
#patch1
%patch2
%build
@ -135,7 +127,7 @@ export LDFLAGS="-pie"
%__make %{?jobs:-j%{jobs}} all
%install
%makeinstall docdir=%{_docdir}/%{pkg_name}
%makeinstall docdir=%{_docdir}/%{name}
%perl_process_packlist
%__rm %{buildroot}%{_libdir}/irssi/modules/libirc_proxy.{a,la}
@ -156,8 +148,8 @@ export LDFLAGS="-pie"
%dir %{_libdir}/irssi/modules
%{_libdir}/irssi/modules/*.so*
# scripts & themes
%dir %{_datadir}/%{pkg_name}
%{_datadir}/%{pkg_name}/*
%dir %{_datadir}/%{name}
%{_datadir}/%{name}/*
#perl
%dir %perl_vendorarch/Irssi
%perl_vendorarch/Irssi.pm
@ -171,7 +163,7 @@ export LDFLAGS="-pie"
%{_datadir}/applications/%{name}.desktop
%{_datadir}/pixmaps/irssi.png
%if 0%{?suse_version} <= 1130
/var/adm/perl-modules/%{pkg_name}
/var/adm/perl-modules/%{name}
%endif
%files devel