Package: irssi-plugin-xmpp / 0.52+git20140102-2

Metadata

Package Version Patches format
irssi-plugin-xmpp 0.52+git20140102-2 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
useless dependency on libidn.patch | (download)

src/core/Makefile | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 do not link against libidn
 dpkg-shlibdeps warns "package could avoid a useless dependency if
 libxmpp_core.so was not linked against libidn.so.11 (it uses none of the
 library's symbols)"
hardening.patch | (download)

src/rules.mk | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 enable the use of dh-provided hardening flags
GTalk MUC support.patch | (download)

src/core/xep/muc-events.c | 46 27 + 19 - 0 !
1 file changed, 27 insertions(+), 19 deletions(-)

 gtalk support by github/freemandrew

This patch is a merge of the following commits from
https://github.com/freemandrew/irssi-xmpp:

- simple gtalk chatroom fix (a1935b7dd0279df7c3cde71e34e524391b610831)
- more presence changes to interop with gtalk (f7c4611d6ce90856a89d74c00abda2bd2225df32)
- test (6a7ffd9aaf5e56f353b3624a5f4a44218c37590f)
- the "lm_message_node_get_child(parent, ..." hunk from "works with some stuff now but not others, awesome" (e96a1a9850ad7ed33aa89b96bcfa78352b2d82c5)
- missed one! (a968ecf495e0e41ac30c1aa30ef6d391764d00f1)

Support for GTalk
==============

I'm new to github so I hope this note suffices for now.  I updated this plugin
mainly to get IRSSI working with GTalk.  In group chats, I've recently started
to get segfaults but haven't had the time to track down the issue.  For the most
part, it works...

singpolyma 0001 Set presence in one place.patch | (download)

src/core/xmpp-servers.c | 12 2 + 10 - 0 !
1 file changed, 2 insertions(+), 10 deletions(-)

 [patch 01/18] set presence in one place

Had two bits of code to set presence, one on initial connect, and one when changing.  No reason to do that, snip out the code duplication.

singpolyma 0002 Generalize get_password.patch | (download)

src/core/xmpp-servers.c | 10 5 + 5 - 0 !
src/core/xmpp-servers.h | 5 3 + 2 - 0 !
2 files changed, 8 insertions(+), 7 deletions(-)

 [patch 02/18] generalize get_password

So that we can use it to get other passwords as well.

singpolyma 0003 If an OpenPGP KeyID is set sign presence.patch | (download)

src/core/protocol.c | 98 91 + 7 - 0 !
src/core/xmpp-servers.c | 1 1 + 0 - 0 !
src/core/xmpp.h | 2 2 + 0 - 0 !
3 files changed, 94 insertions(+), 7 deletions(-)

 [patch 03/18] if an openpgp keyid is set, sign presence


singpolyma 0004 Move call_gpg into tools make more robust.patch | (download)

src/core/protocol.c | 63 1 + 62 - 0 !
src/core/tools.c | 95 95 + 0 - 0 !
src/core/tools.h | 2 2 + 0 - 0 !
3 files changed, 98 insertions(+), 62 deletions(-)

 [patch 04/18] move call_gpg into tools, make more robust

Move to tools.[ch]
Allow passing in two bits of data.
Only get password if we need it.
Allow caller to specify in_data (that is, that we should return all output)

singpolyma 0005 Verify signed presences.patch | (download)

src/core/rosters.c | 42 38 + 4 - 0 !
src/core/rosters.h | 1 1 + 0 - 0 !
2 files changed, 39 insertions(+), 4 deletions(-)

 [patch 05/18] verify signed presences

And store the keyID in the resource structure

singpolyma 0006 Display verified keyID in roster.patch | (download)

src/fe-common/fe-rosters.c | 9 6 + 3 - 0 !
src/fe-common/module-formats.c | 3 2 + 1 - 0 !
src/fe-common/module-formats.h | 1 1 + 0 - 0 !
3 files changed, 9 insertions(+), 4 deletions(-)

 [patch 06/18] display verified keyid in roster


singpolyma 0007 Fix segfault.patch | (download)

src/core/rosters.c | 5 3 + 2 - 0 !
1 file changed, 3 insertions(+), 2 deletions(-)

 [patch 07/18] fix segfault


singpolyma 0008 Command to turn encryption on off.patch | (download)

src/core/rosters.h | 1 1 + 0 - 0 !
src/core/xmpp-commands.c | 28 28 + 0 - 0 !
2 files changed, 29 insertions(+)

 [patch 08/18] command to turn encryption on/off


singpolyma 0009 Encrypt outgoing messages when told to.patch | (download)

src/core/xmpp-servers.c | 37 37 + 0 - 0 !
1 file changed, 37 insertions(+)

 [patch 09/18] encrypt outgoing messages when told to

Also, sign messages when we have a keyid

singpolyma 0010 More robuse call_gpg invocation.patch | (download)

src/core/protocol.c | 2 1 + 1 - 0 !
src/core/rosters.c | 2 1 + 1 - 0 !
src/core/tools.c | 23 19 + 4 - 0 !
src/core/tools.h | 3 2 + 1 - 0 !
src/core/xmpp-servers.c | 4 2 + 2 - 0 !
5 files changed, 25 insertions(+), 9 deletions(-)

 [patch 10/18] more robuse call_gpg invocation


singpolyma 0011 Fix some potential crashing issues.patch | (download)

src/core/protocol.c | 8 5 + 3 - 0 !
src/core/rosters.c | 2 1 + 1 - 0 !
2 files changed, 6 insertions(+), 4 deletions(-)

 [patch 11/18] fix some potential crashing issues


singpolyma 0012 Ask again for password if wrong.patch | (download)

src/core/tools.c | 6 5 + 1 - 0 !
1 file changed, 5 insertions(+), 1 deletion(-)

 [patch 12/18] ask again for password if wrong


singpolyma 0013 Decrypt incoming messages.patch | (download)

src/core/protocol.c | 37 33 + 4 - 0 !
1 file changed, 33 insertions(+), 4 deletions(-)

 [patch 13/18] decrypt incoming messages


singpolyma 0014 fix some assertion failures.patch | (download)

src/core/xmpp-commands.c | 2 1 + 1 - 0 !
src/core/xmpp-servers.c | 18 10 + 8 - 0 !
2 files changed, 11 insertions(+), 9 deletions(-)

 [patch 14/18] fix some assertion failures


singpolyma 0015 Format keyID the same everywhere.patch | (download)

src/fe-common/fe-rosters.c | 7 5 + 2 - 0 !
1 file changed, 5 insertions(+), 2 deletions(-)

 [patch 15/18] format keyid the same everywhere


singpolyma 0016 trust keys.patch | (download)

src/core/tools.c | 6 3 + 3 - 0 !
1 file changed, 3 insertions(+), 3 deletions(-)

 [patch 16/18] trust keys


singpolyma 0017 Many fewer temp files.patch | (download)

src/core/Makefile | 1 1 + 0 - 0 !
src/core/tools.c | 43 19 + 24 - 0 !
2 files changed, 20 insertions(+), 24 deletions(-)

 [patch 17/18] many fewer temp files


singpolyma 0018 Option to use gpg agent.patch | (download)

src/core/tools.c | 10 8 + 2 - 0 !
src/core/xmpp-servers.c | 1 1 + 0 - 0 !
2 files changed, 9 insertions(+), 2 deletions(-)

 [patch 18/18] option to use gpg-agent


singpolyma 0019 Forgot these files.patch | (download)

src/core/popenRWE.c | 93 93 + 0 - 0 !
src/core/popenRWE.h | 7 7 + 0 - 0 !
2 files changed, 100 insertions(+)

 [patch] forgot these files


require starttls.patch | (download)

src/core/xmpp-servers.c | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 require tls-on-connect or starttls
 This patch disables unencrypted connections, which is in line with the
 XMPP manifesto of early 2014. As a side effect, it protects against
 SSL-stripping attacks (closes: #754839)
set_ssl conflicting declarations.patch | (download)

src/core/xep/registration.c | 11 8 + 3 - 0 !
1 file changed, 8 insertions(+), 3 deletions(-)

 fix conflicting declarations of function set_ssl
 causing a stack underflow (closes: #749411). Also, use
 STARTTLS if TLS-on-connect was not specified