debian/0000755000000000000000000000000012235525600007166 5ustar debian/patches/0000755000000000000000000000000012235524202010612 5ustar debian/patches/03-drop-stanzas-on-fail.patch0000644000000000000000000000260311733714344016036 0ustar From: Sjoerd Simons Date: Tue, 13 Jan 2009 11:28:44 +0000 Subject: [PATCH] Drop stanzas when failing to convert them to LmMessages when a stanza comes in that for some reason can't be parsed into an LmMessage, just drop them on the floor instead of blocking the parser. I've seen this issue happen in practise because some (buggy?) client sending an iq with a prefix e.g. --- loudmouth/lm-parser.c | 15 ++++++--------- 1 files changed, 6 insertions(+), 9 deletions(-) diff --git a/loudmouth/lm-parser.c b/loudmouth/lm-parser.c index 1938d56..89f6675 100644 --- a/loudmouth/lm-parser.c +++ b/loudmouth/lm-parser.c @@ -151,19 +151,16 @@ parser_end_node_cb (GMarkupParseContext *context, if (!m) { g_warning ("Couldn't create message: %s\n", parser->cur_root->name); - return; - } - - g_log (LM_LOG_DOMAIN, LM_LOG_LEVEL_PARSER, + } else { + g_log (LM_LOG_DOMAIN, LM_LOG_LEVEL_PARSER, "Have a new message\n"); - if (parser->function) { - (* parser->function) (parser, m, parser->user_data); + if (parser->function) { + (* parser->function) (parser, m, parser->user_data); + } + lm_message_unref (m); } - lm_message_unref (m); lm_message_node_unref (parser->cur_root); - - parser->cur_node = parser->cur_root = NULL; } else { LmMessageNode *tmp_node; -- 1.5.6.5 debian/patches/05-use-packaged-libasyncns.patch0000644000000000000000000000446511733714344016574 0ustar diff -Nru loudmouth-1.4.3.old/configure.ac loudmouth-1.4.3/configure.ac --- loudmouth-1.4.3.old/configure.ac 2010-11-24 23:37:48.994107108 +0100 +++ loudmouth-1.4.3/configure.ac 2010-11-24 23:19:05.362100587 +0100 @@ -92,6 +92,11 @@ AC_DEFINE(HAVE_IDN, 1, [Define if IDN support is included]) fi +PKG_CHECK_MODULES(LIBASYNCNS, libasyncns, have_asyncns=yes, have_asyncns=no) +if test "x$have_asyncns" = "xyes"; then + AC_DEFINE(HAVE_ASYNCNS, 1, [Define if ASYNCNS support is included]) +fi + # Check Unit test framework (defined in acinclude.m4) IDT_PATH_CHECK(0.9.2, have_check=yes, have_check=no) diff -Nru loudmouth-1.4.3.old/loudmouth/lm-utils.c loudmouth-1.4.3/loudmouth/lm-utils.c --- loudmouth-1.4.3.old/loudmouth/lm-utils.c 2010-11-24 23:37:48.994107108 +0100 +++ loudmouth-1.4.3/loudmouth/lm-utils.c 2010-11-24 23:19:05.502100894 +0100 @@ -36,6 +36,10 @@ #include #endif +#ifdef HAVE_ASYNCNS +#include +#endif + #include "lm-internals.h" #include "lm-utils.h" diff -Nru loudmouth-1.4.3.old/loudmouth/Makefile.am loudmouth-1.4.3/loudmouth/Makefile.am --- loudmouth-1.4.3.old/loudmouth/Makefile.am 2010-11-24 23:37:48.994107108 +0100 +++ loudmouth-1.4.3/loudmouth/Makefile.am 2010-11-24 23:19:05.502100894 +0100 @@ -7,6 +7,7 @@ -I$(top_srcdir) \ $(LOUDMOUTH_CFLAGS) \ $(LIBIDN_CFLAGS) \ + $(LIBASYNCNS_CFLAGS) \ -DLM_COMPILATION \ -DRUNTIME_ENDIAN \ $(NULL) @@ -51,8 +52,6 @@ lm-sock.c \ lm-socket.c \ lm-socket.h \ - asyncns.c \ - asyncns.h \ lm-sasl.c \ lm-sasl.h \ md5.c \ @@ -76,6 +75,7 @@ libloudmouth_1_la_LIBADD = \ $(LOUDMOUTH_LIBS) \ $(LIBIDN_LIBS) \ + $(LIBASYNCNS_LIBS) \ -lresolv libloudmouth_1_la_LDFLAGS = \ diff -Nru loudmouth-1.4.3.old/loudmouth-1.0.pc.in loudmouth-1.4.3/loudmouth-1.0.pc.in --- loudmouth-1.4.3.old/loudmouth-1.0.pc.in 2010-11-24 22:43:59.534107425 +0100 +++ loudmouth-1.4.3/loudmouth-1.0.pc.in 2010-11-24 23:36:15.172338565 +0100 @@ -7,5 +7,5 @@ Description: libloudmouth Requires: glib-2.0 Version: @VERSION@ -Libs: -L${libdir} -lloudmouth-1 @LIBIDN_LIBS@ +Libs: -L${libdir} -lloudmouth-1 @LIBIDN_LIBS@ @LIBASYNCNS_LIBS@ Cflags: -I${includedir}/loudmouth-1.0 debian/patches/09-libcheck-pthread.patch0000644000000000000000000000072312235524202015254 0ustar Description: Fix the configure check for the check library Author: Matthias Klose Forwarded: no Last-Update: 2013-11-03 --- This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ --- a/acinclude.m4 +++ b/acinclude.m4 @@ -77,7 +77,7 @@ CHECK_LIBS="-L$with_check/lib -lcheck" else CHECK_CFLAGS="" - CHECK_LIBS="-lcheck" + CHECK_LIBS="`pkg-config --libs check` -lpthread" fi ac_save_CFLAGS="$CFLAGS" debian/patches/02-fix-async-resolving.patch0000644000000000000000000000261711733714344016001 0ustar commit fc21de5fd06bee1714d38f92c60a2af75a7b5c29 Author: Senko Rasic Date: Sun Nov 30 10:20:08 2008 +0100 Don't check for sync dns problems when using asyncns [#33] lm_socket_create() checks for sync DNS failure, but the check is executed even if Loudmouth is using asyncns, in which case Loudmouth crashes. diff --git a/loudmouth/lm-socket.c b/loudmouth/lm-socket.c index 63ef84f..8add572 100644 --- a/loudmouth/lm-socket.c +++ b/loudmouth/lm-socket.c @@ -1022,7 +1022,7 @@ _lm_socket_create_phase2 (LmSocket *socket, struct addrinfo *ans) if (socket->connect_func) { (socket->connect_func) (socket, FALSE, socket->user_data); } - g_free (socket->connect_data); + g_free (socket->connect_data); socket->connect_data = NULL; return; } @@ -1107,6 +1107,10 @@ lm_socket_create (GMainContext *context, _lm_socket_create_phase1 (socket, NULL, 0); } +#ifndef HAVE_ASYNCNS + /* Only do this check if we are not using asyncns or it will crash. + * Report and patch by Senko. + */ if (socket->connect_data == NULL) { /* Open failed synchronously, probably a DNS lookup problem */ lm_socket_unref(socket); @@ -1118,6 +1122,7 @@ lm_socket_create (GMainContext *context, return NULL; } +#endif /* HAVE_ASYNCNS */ /* If the connection fails synchronously, we don't want to call the debian/patches/08-fix-ipv6-connect.patch0000644000000000000000000000176312103504030015155 0ustar Description: fix crash when falling back from IPv6 to IPv4 Previously, loudmouth would set socket->watch_connect to NULL when encountering an error. When the connection attempt (to a different IPv6) succeeded later on, _lm_socket_succeeded would therefore not remove the socket_connect_cb watcher, leading to socket_connect_cb being called upon socket activity and segfaulting the program. Author: Michael Stapelberg Bug-Debian: http://bugs.debian.org/631729 Forwarded: no Last-Update: 2013-02-03 --- a/loudmouth/lm-socket.c +++ b/loudmouth/lm-socket.c @@ -529,7 +529,6 @@ /* error condition, but might be possible to recover * from it (by connecting to the next host) */ if (!_lm_socket_failed_with_error (connect_data, err)) { - socket->watch_connect = NULL; goto out; } } @@ -560,7 +559,6 @@ _lm_sock_close (connect_data->fd); _lm_socket_failed_with_error (connect_data, err); - socket->watch_connect = NULL; goto out; } } debian/patches/04-use-pkg-config-for-gnutls.patch0000644000000000000000000000171211733714344017003 0ustar Description: use pkg-config to detect gnutls Debian: http://bugs.debian.org/529835 Origin: http://groups.google.com/group/loudmouth-dev/browse_thread/thread/3f78255837048daf# --- a/configure.ac.orig 2009-08-16 20:29:36.000000000 +0200 +++ b/configure.ac 2009-08-16 20:30:43.000000000 +0200 @@ -146,10 +146,12 @@ AC_ARG_WITH(openssl-libs, enable_ssl=no if test "x$ac_ssl" = "xgnutls"; then dnl Look for GnuTLS - AM_PATH_LM_LIBGNUTLS($GNUTLS_REQUIRED, have_libgnutls=yes, have_libgnutls=no) - if test "x$have_libgnutls" = "xyes"; then - CFLAGS="$CFLAGS $LIBGNUTLS_CFLAGS" - LIBS="$LIBS $LIBGNUTLS_LIBS" + PKG_CHECK_MODULES(GNUTLS, gnutls >= $GNUTLS_REQUIRED, have_gnutls=yes, have_gnutls=no) + if test "x$have_gnutls" = "xyes"; then + AC_SUBST(ASYNCNS_CFLAGS) + AC_SUBST(ASYNCNS_LIBS) + CFLAGS="$CFLAGS $GNUTLS_CFLAGS" + LIBS="$LIBS $GNUTLS_LIBS" AC_DEFINE(HAVE_GNUTLS, 1, [whether to use GnuTSL support.]) enable_ssl=GnuTLS else debian/patches/06_-lasyncns.patch0000644000000000000000000000102511733714344014057 0ustar diff -Nur -x '*.orig' -x '*~' loudmouth-1.4.3//loudmouth-1.0.pc.in loudmouth-1.4.3.new//loudmouth-1.0.pc.in --- loudmouth-1.4.3//loudmouth-1.0.pc.in 2010-12-05 12:18:24.000000000 +0100 +++ loudmouth-1.4.3.new//loudmouth-1.0.pc.in 2010-12-05 12:19:12.000000000 +0100 @@ -7,5 +7,6 @@ Description: libloudmouth Requires: glib-2.0 Version: @VERSION@ -Libs: -L${libdir} -lloudmouth-1 @LIBIDN_LIBS@ @LIBASYNCNS_LIBS@ +Libs: -L${libdir} -lloudmouth-1 @LIBIDN_LIBS@ +Libs.private: @LIBASYNCNS_LIBS@ Cflags: -I${includedir}/loudmouth-1.0 debian/patches/07-glib-single-include.patch0000644000000000000000000000114211733715620015702 0ustar Description: Fix build failure with glib 2.32 where including individual glib headers is no longer allowed. Author: Michael Biebl Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=665576 Index: loudmouth-1.4.3/loudmouth/lm-error.c =================================================================== --- loudmouth-1.4.3.orig/loudmouth/lm-error.c 2008-10-29 21:48:15.000000000 +0100 +++ loudmouth-1.4.3/loudmouth/lm-error.c 2012-03-26 00:24:19.518939657 +0200 @@ -19,7 +19,7 @@ */ #include -#include +#include #include "lm-error.h" /** debian/patches/01-fix-sasl-md5-digest-uri.patch0000644000000000000000000000144311733714673016355 0ustar Index: loudmouth-1.4.3/loudmouth/lm-connection.c =================================================================== --- loudmouth-1.4.3.orig/loudmouth/lm-connection.c 2008-10-29 21:38:26.000000000 +0100 +++ loudmouth-1.4.3/loudmouth/lm-connection.c 2012-03-26 00:18:32.698929733 +0200 @@ -1442,10 +1442,17 @@ connection->jid, connection->resource); if (connection->use_sasl) { + gchar *domain = NULL; + + if (!connection_get_server_from_jid (connection->jid, &domain)) { + domain = g_strdup (connection->server); + } + lm_sasl_authenticate (connection->sasl, username, password, - connection->server, + domain, connection_sasl_auth_finished); + g_free (domain); connection->features_cb = lm_message_handler_new (connection_features_cb, debian/patches/series0000644000000000000000000000040412235524047012034 0ustar 01-fix-sasl-md5-digest-uri.patch 02-fix-async-resolving.patch 03-drop-stanzas-on-fail.patch 04-use-pkg-config-for-gnutls.patch 05-use-packaged-libasyncns.patch 06_-lasyncns.patch 07-glib-single-include.patch 08-fix-ipv6-connect.patch 09-libcheck-pthread.patch debian/libloudmouth1-0.docs0000644000000000000000000000001411733714344012767 0ustar NEWS README debian/compat0000644000000000000000000000000211733714344010373 0ustar 5 debian/source/0000755000000000000000000000000011733717545010503 5ustar debian/source/format0000644000000000000000000000001411733714530011700 0ustar 3.0 (quilt) debian/libloudmouth1-0.symbols0000644000000000000000000001153011733716636013542 0ustar libloudmouth-1.so.0 libloudmouth1-0 #MINVER# #DEPRECATED: 1.3.3# _lm_connection_failed@Base 1.1.4 #DEPRECATED: 1.3.3# _lm_connection_failed_with_error@Base 1.1.4 #DEPRECATED: 1.3.3# _lm_connection_succeeded@Base 1.1.4 #DEPRECATED: 1.3.3# _lm_message_handler_handle_message@Base 1.1.4 #DEPRECATED: 1.3.3# _lm_message_new_from_node@Base 1.1.4 #DEPRECATED: 1.3.3# _lm_message_node_add_child_node@Base 1.1.4 #DEPRECATED: 1.3.3# _lm_message_node_new@Base 1.1.4 #DEPRECATED: 1.3.3# _lm_message_sub_type_to_string@Base 1.1.4 #DEPRECATED: 1.3.3# _lm_message_type_to_string@Base 1.1.4 #DEPRECATED: 1.3.3# _lm_proxy_connect_cb@Base 1.1.4 #DEPRECATED: 1.3.3# _lm_sock_addrinfo_get_error_str@Base 1.1.4 _lm_sock_close@Base 1.1.4 _lm_sock_connect@Base 1.1.4 _lm_sock_get_error@Base 1.1.4 #DEPRECATED: 1.3.3# _lm_sock_get_error_str@Base 1.1.4 _lm_sock_get_last_error@Base 1.1.4 #DEPRECATED: 1.3.3# _lm_sock_get_local_host@Base 1.2.3 _lm_sock_is_blocking_error@Base 1.1.4 _lm_sock_is_blocking_success@Base 1.1.4 _lm_sock_library_init@Base 1.1.4 #DEPRECATED: 1.3.3# _lm_sock_library_shutdown@Base 1.1.4 _lm_sock_makesocket@Base 1.1.4 _lm_sock_set_blocking@Base 1.1.4 _lm_sock_shutdown@Base 1.1.4 #DEPRECATED: 1.3.3# _lm_ssl_base_free_fields@Base 1.1.4 #DEPRECATED: 1.3.3# _lm_ssl_base_init@Base 1.1.4 #DEPRECATED: 1.3.3# _lm_ssl_begin@Base 1.1.4 #DEPRECATED: 1.3.3# _lm_ssl_close@Base 1.1.4 #DEPRECATED: 1.3.3# _lm_ssl_free@Base 1.1.4 #DEPRECATED: 1.3.3# _lm_ssl_func_always_continue@Base 1.1.4 #DEPRECATED: 1.3.3# _lm_ssl_initialize@Base 1.1.4 #DEPRECATED: 1.3.3# _lm_ssl_new@Base 1.1.4 #DEPRECATED: 1.3.3# _lm_ssl_read@Base 1.1.4 #DEPRECATED: 1.3.3# _lm_ssl_send@Base 1.1.4 #DEPRECATED: 1.3.3# _lm_utils_base64_encode@Base 1.1.4 _lm_utils_free_callback@Base 1.1.4 #DEPRECATED: 1.3.3# _lm_utils_generate_id@Base 1.1.4 _lm_utils_hostname_to_punycode@Base 1.1.4 _lm_utils_new_callback@Base 1.1.4 lm_connection_authenticate@Base 1.1.4 lm_connection_authenticate_and_block@Base 1.1.4 lm_connection_cancel_open@Base 1.1.4 lm_connection_close@Base 1.1.4 lm_connection_get_full_jid@Base 1.2.3 lm_connection_get_jid@Base 1.1.4 lm_connection_get_local_host@Base 1.2.3 lm_connection_get_port@Base 1.1.4 lm_connection_get_proxy@Base 1.1.4 lm_connection_get_server@Base 1.1.4 lm_connection_get_ssl@Base 1.1.4 lm_connection_get_state@Base 1.1.4 lm_connection_is_authenticated@Base 1.1.4 lm_connection_is_open@Base 1.1.4 lm_connection_new@Base 1.1.4 lm_connection_new_with_context@Base 1.1.4 lm_connection_open@Base 1.1.4 lm_connection_open_and_block@Base 1.1.4 lm_connection_ref@Base 1.1.4 lm_connection_register_message_handler@Base 1.1.4 lm_connection_send@Base 1.1.4 lm_connection_send_raw@Base 1.1.4 lm_connection_send_with_reply@Base 1.1.4 lm_connection_send_with_reply_and_block@Base 1.1.4 lm_connection_set_disconnect_function@Base 1.1.4 lm_connection_set_jid@Base 1.1.4 lm_connection_set_keep_alive_rate@Base 1.1.4 lm_connection_set_port@Base 1.1.4 lm_connection_set_proxy@Base 1.1.4 lm_connection_set_server@Base 1.1.4 lm_connection_set_ssl@Base 1.1.4 lm_connection_unref@Base 1.1.4 lm_connection_unregister_message_handler@Base 1.1.4 lm_debug_init@Base 1.1.4 lm_error_quark@Base 1.1.4 lm_message_get_node@Base 1.1.4 lm_message_get_sub_type@Base 1.1.4 lm_message_get_type@Base 1.1.4 lm_message_handler_invalidate@Base 1.1.4 lm_message_handler_is_valid@Base 1.1.4 lm_message_handler_new@Base 1.1.4 lm_message_handler_ref@Base 1.1.4 lm_message_handler_unref@Base 1.1.4 lm_message_new@Base 1.1.4 lm_message_new_with_sub_type@Base 1.1.4 lm_message_node_add_child@Base 1.1.4 lm_message_node_find_child@Base 1.1.4 lm_message_node_get_attribute@Base 1.1.4 lm_message_node_get_child@Base 1.1.4 lm_message_node_get_raw_mode@Base 1.1.4 lm_message_node_get_value@Base 1.1.4 lm_message_node_ref@Base 1.1.4 lm_message_node_set_attribute@Base 1.1.4 lm_message_node_set_attributes@Base 1.1.4 lm_message_node_set_raw_mode@Base 1.1.4 lm_message_node_set_value@Base 1.1.4 lm_message_node_to_string@Base 1.1.4 lm_message_node_unref@Base 1.1.4 lm_message_ref@Base 1.1.4 lm_message_unref@Base 1.1.4 lm_parser_free@Base 1.1.4 lm_parser_new@Base 1.1.4 lm_parser_parse@Base 1.1.4 lm_proxy_get_password@Base 1.1.4 lm_proxy_get_port@Base 1.1.4 lm_proxy_get_server@Base 1.1.4 lm_proxy_get_type@Base 1.1.4 lm_proxy_get_username@Base 1.1.4 lm_proxy_new@Base 1.1.4 lm_proxy_new_with_server@Base 1.1.4 lm_proxy_ref@Base 1.1.4 lm_proxy_set_password@Base 1.1.4 lm_proxy_set_port@Base 1.1.4 lm_proxy_set_server@Base 1.1.4 lm_proxy_set_type@Base 1.1.4 lm_proxy_set_username@Base 1.1.4 lm_proxy_unref@Base 1.1.4 lm_sha_hash@Base 1.1.4 lm_ssl_get_fingerprint@Base 1.1.4 lm_ssl_get_require_starttls@Base 1.3.3 lm_ssl_get_use_starttls@Base 1.3.3 lm_ssl_is_supported@Base 1.1.4 lm_ssl_new@Base 1.1.4 lm_ssl_ref@Base 1.1.4 lm_ssl_unref@Base 1.1.4 lm_ssl_use_starttls@Base 1.3.3 lm_utils_get_localtime@Base 1.1.4 debian/control0000644000000000000000000000414612235525620010600 0ustar # This file is autogenerated. DO NOT EDIT! # # Modifications should be made to debian/control.in instead. # This file is regenerated automatically in the clean target. Source: loudmouth Section: libs Priority: optional Maintainer: Ross Burton Build-Depends: debhelper (>= 5), cdbs (>= 0.2.11), gnome-pkg-tools, autotools-dev, dh-autoreconf, gtk-doc-tools (>= 1.1-2), libglib2.0-dev, libgnutls-dev, dpkg-dev (>= 1.13.19), libidn11-dev, libasyncns-dev, check Uploaders: Debian GNOME Maintainers , Emilio Pozuelo Monfort , Michael Biebl , Sjoerd Simons Standards-Version: 3.9.5 Package: libloudmouth1-dev Section: libdevel Architecture: any Depends: ${misc:Depends}, libloudmouth1-0 (= ${binary:Version}), libglib2.0-dev, libgnutls-dev, libidn11-dev Conflicts: libloudmouth-dev Description: Development files for Loudmouth Jabber library The development headers and API documentation for the LoudMouth Jabber library. See the description of libloudmouth1-0 for a more detailed description. Package: libloudmouth1-0 Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: Lightweight C Jabber library Loudmouth is a lightweight and easy-to-use C library for programming with the Jabber protocol. It's designed to be easy to get started with and yet extensible to let you do anything the Jabber protocol allows. Package: libloudmouth1-0-dbg Section: debug Priority: extra Architecture: any Depends: ${misc:Depends}, libloudmouth1-0 (= ${binary:Version}) Description: Lightweight C Jabber library (debugging symbols) Loudmouth is a lightweight and easy-to-use C library for programming with the Jabber protocol. It's designed to be easy to get started with and yet extensible to let you do anything the Jabber protocol allows. . This package contains detached debugging symbols. debian/control.in0000644000000000000000000000342012235525572011205 0ustar Source: loudmouth Section: libs Priority: optional Maintainer: Ross Burton Build-Depends: debhelper (>= 5), cdbs (>= 0.2.11), gnome-pkg-tools, autotools-dev, dh-autoreconf, gtk-doc-tools (>= 1.1-2), libglib2.0-dev, libgnutls-dev, dpkg-dev (>= 1.13.19), libidn11-dev, libasyncns-dev, check Uploaders: @GNOME_TEAM@ Standards-Version: 3.9.5 Package: libloudmouth1-dev Section: libdevel Architecture: any Depends: ${misc:Depends}, libloudmouth1-0 (= ${binary:Version}), libglib2.0-dev, libgnutls-dev, libidn11-dev Conflicts: libloudmouth-dev Description: Development files for Loudmouth Jabber library The development headers and API documentation for the LoudMouth Jabber library. See the description of libloudmouth1-0 for a more detailed description. Package: libloudmouth1-0 Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: Lightweight C Jabber library Loudmouth is a lightweight and easy-to-use C library for programming with the Jabber protocol. It's designed to be easy to get started with and yet extensible to let you do anything the Jabber protocol allows. Package: libloudmouth1-0-dbg Section: debug Priority: extra Architecture: any Depends: ${misc:Depends}, libloudmouth1-0 (= ${binary:Version}) Description: Lightweight C Jabber library (debugging symbols) Loudmouth is a lightweight and easy-to-use C library for programming with the Jabber protocol. It's designed to be easy to get started with and yet extensible to let you do anything the Jabber protocol allows. . This package contains detached debugging symbols. debian/libloudmouth1-0.install0000644000000000000000000000003511733714344013510 0ustar debian/tmp/usr/lib/lib*.so.* debian/rules0000755000000000000000000000136211733715253010257 0ustar #! /usr/bin/make -f include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/gnome.mk include /usr/share/cdbs/1/rules/utils.mk include /usr/share/cdbs/1/rules/autoreconf.mk include /usr/share/gnome-pkg-tools/1/rules/uploaders.mk -include /usr/share/gnome-pkg-tools/1/rules/gnome-get-source.mk DEB_CONFIGURE_EXTRA_FLAGS := --enable-gtk-doc --enable-idn --with-asyncns=yes DEB_DH_MAKESHLIBS_ARGS_ALL := -V DEB_DH_STRIP_ARGS := --dbg-package=libloudmouth1-0-dbg DEB_MAKE_CHECK_TARGET := check common-binary-predeb-arch:: list-missing clean:: rm -fr docs/reference/html rm -fr docs/reference/xml rm -f docs/reference/loudmouth-decl.txt rm -f docs/reference/loudmouth-decl-list.txt rm -f docs/reference/loudmouth-undocumented.txt debian/watch0000644000000000000000000000015311733714344010225 0ustar version=3 http://ftp.acc.umu.se/pub/gnome/sources/loudmouth/([\d\.]+)[02468]/ loudmouth-([\d\.]+)\.tar\.gz debian/copyright0000644000000000000000000000236311733717336011140 0ustar This package was debianized by Ross Burton on Thu, 13 Mar 2003 14:46:16 +0000. It was downloaded from http://ftp.gnome.org/pub/gnome/sources/loudmouth/ Upstream Author: Mikael Hallendal Copyright: Copyright (C) 2003-2007 Imendio AB Copyright (C) 2006 Nokia Corporation. All rights reserved. Copyright (C) 2007 Collabora Ltd. License: This package is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. On Debian systems, the complete text of the GNU Lesser General Public License can be found in `/usr/share/common-licenses/LGPL'. debian/libloudmouth1-dev.install0000644000000000000000000000022011733714344014123 0ustar debian/tmp/usr/include/* debian/tmp/usr/lib/lib*.a debian/tmp/usr/lib/lib*.so debian/tmp/usr/lib/pkgconfig/* debian/tmp/usr/share/gtk-doc/html/ debian/libloudmouth1-dev.examples0000644000000000000000000000001511733714344014275 0ustar examples/*.c debian/libloudmouth1-dev.links0000644000000000000000000000010511733714344013577 0ustar usr/share/gtk-doc/html/loudmouth usr/share/doc/libloudmouth1-dev/api debian/changelog0000644000000000000000000003252312235524613011050 0ustar loudmouth (1.4.3-10) unstable; urgency=low * Team upload. * 09-libcheck-pthread.patch: new patch by Matthias Klose. Fixes build failure, correcting the the configure check for the check library, and manually add -lpthread (see #712140). Closes: #713710. * Bump Standards-Version to 3.9.5, no changes needed. -- Sébastien Villemot Sun, 03 Nov 2013 20:52:23 +0100 loudmouth (1.4.3-9) unstable; urgency=low * Team upload. * debian/patches/08-fix-ipv6-connect.patch: Fix crash when falling back from IPv6 to IPv4. Thanks to Michael Stapelberg for the patch. Closes: #631729 -- Sébastien Villemot Sun, 03 Feb 2013 17:07:05 +0100 loudmouth (1.4.3-8) unstable; urgency=low * Switch to dpkg source format 3.0 (quilt). * Use dh-autoreconf: - Drop debian/patches/90_autoreconf.patch - Add Build-Depends on dh-autoreconf. - Include /usr/share/cdbs/1/rules/autoreconf.mk in debian/rules. * debian/patches/07-glib-single-include.patch: Fix build failure with glib 2.32. where including individual glib headers is no longer allowed. Closes: #665576 * debian/libloudmouth1-0.symbols: Strip debian revision from symbol versions. * debian/copyright: Add copyright information. -- Michael Biebl Mon, 26 Mar 2012 00:42:14 +0200 loudmouth (1.4.3-7) unstable; urgency=low * debian/patches/06_-lasyncns.patch: - Move libasyncns from Libs to Libs.private. It's not needed to link dynamically and that's causing build failures in other packages because we don't depend on libasyncns-dev. Closes: #605992. -- Emilio Pozuelo Monfort Sun, 05 Dec 2010 12:37:49 +0100 loudmouth (1.4.3-6) unstable; urgency=low [ Tanguy Ortolo ] * debian/patches/05-use-packaged-libasyncns.patch: Use packaged libasyncns instead of embedded one. (Closes: #566143) * debian/patches/90_autoreconf.patch: Run libtoolize and autoreconf on top of the above patch. [ Emilio Pozuelo Monfort ] * debian/control.in: - Build depend on libasyncns-dev. -- Emilio Pozuelo Monfort Mon, 29 Nov 2010 23:54:53 +0100 loudmouth (1.4.3-5) unstable; urgency=low * Use both whitespace and TCP keepalives. Some routers don't notice TCP keepalive and some XMPP server time out clients after a certain amount of idleness on the application layer (Openfire). (Closes: #520572) -- Sjoerd Simons Mon, 07 Dec 2009 22:28:46 +0000 loudmouth (1.4.3-4) unstable; urgency=low * debian/rules, debian/watch: use ftp.gnome.org * debian/patches/04-use-pkg-config-for-gnutls.patch: Use pkg-config to look for gnutls. Closes: #529835. * debian/patches/90_autoreconf.patch: Run autoreconf on top of the above patch. * debian/control.in: Let libloudmouth1-0-dbg and libloudmouth1-dev depend on ${misc:Depends}. * Standards-Version is 3.8.2, no changes needed. * Inherit section from the source stanza. * -dbg package is section debug. * Remove note that people won't usually need the -dbg package from its description. * Run tests during build, build depend on check. -- Emilio Pozuelo Monfort Mon, 17 Aug 2009 00:51:34 +0200 loudmouth (1.4.3-3) unstable; urgency=low * debian/control: Added myself to Uploaders. * debian/patches/03-drop-stanzas-on-fail.patch: - Added. Drop stanzas that can't be parsed instead of blocking the parser. Patch from upstream bug tracker. -- Jonny Lamb Thu, 04 Jun 2009 18:10:08 +0100 loudmouth (1.4.3-2) unstable; urgency=low * debian/patches/02-fix-async-resolving.patch - Fix sync resolving, patch from upstream git. * Enable async DNS resolving -- Sjoerd Simons Wed, 20 May 2009 17:35:57 +0100 loudmouth (1.4.3-1) unstable; urgency=low * New upstream release * patches/01-fix-sasl-md5-digest-uri.patch - Added. Fix sasl md5 digest-uri when using SRV lookups, which prevented loudmouth from logging into recent versions of ejabberd -- Sjoerd Simons Wed, 01 Apr 2009 16:36:18 +0100 loudmouth (1.4.2-2) unstable; urgency=high * Set -DONLY_TCP_KEEP_ALIVE in CFLAGS as a workaround to revert the 1.4.0 -> 1.4.1 changes for lenny; closes: #494940. -- Loic Minier Mon, 20 Oct 2008 21:20:35 +0200 loudmouth (1.4.2-1) unstable; urgency=low * New upstream release. -- Norbert Tretkowski Sun, 07 Sep 2008 22:26:15 +0200 loudmouth (1.4.1-1) unstable; urgency=low * New upstream release. -- Norbert Tretkowski Sun, 03 Aug 2008 16:51:39 +0200 loudmouth (1.4.0-1) unstable; urgency=low * New upstream release. -- Norbert Tretkowski Wed, 23 Jul 2008 13:49:28 +0200 loudmouth (1.3.4-1) unstable; urgency=low * New upstream release. * Drop patch 00_xmpp_with_old_style_auth.patch. * Enable IDN support. (closes: #463101) -- Norbert Tretkowski Tue, 04 Mar 2008 13:42:12 +0100 loudmouth (1.3.3-2) unstable; urgency=low * debian/paches/00_xmpp_with_old_style_auth.patch - Add support for using obsolete XEP-0078 authentication with XMPP 1.0 servers that don't implement SASL -- Sjoerd Simons Wed, 13 Feb 2008 11:16:01 +0100 loudmouth (1.3.3-1) unstable; urgency=low * New upstream release * debian/libloudmouth1-0.symbols: Add a symbols file for loudmouth -- Sjoerd Simons Tue, 08 Jan 2008 15:25:51 +0100 loudmouth (1.3.2-1) experimental; urgency=low * New upstream release. -- Norbert Tretkowski Wed, 31 Oct 2007 23:31:43 +0100 loudmouth (1.2.3-3) UNRELEASED; urgency=low * Use binary:version and source:Version for binnNMU-safe uploads as added in dpkg-dev 1.13.19. Add to Build-Depends accordingly. -- Kilian Krause Sat, 22 Sep 2007 12:47:08 +0200 loudmouth (1.2.3-2) unstable; urgency=low * Configure with --disable-idn. (closes: #427490) -- Norbert Tretkowski Tue, 12 Jun 2007 19:44:23 +0200 loudmouth (1.2.3-1) unstable; urgency=low * New upstream release. -- Norbert Tretkowski Mon, 11 Jun 2007 20:18:50 +0200 loudmouth (1.2.2-1) unstable; urgency=low [ Loic Minier ] * Fix description of the -dbg package. * Wrap build-deps and deps. * Use http://ftp.imendio.com/pub/imendio/loudmouth/src in copyright. * Track all versions in watch file. [ Norbert Tretkowski ] * New upstream release. (closes: #426684) * Added patch from Ubuntu to fix crash when connection_data->connection is used as a pointer. -- Norbert Tretkowski Wed, 30 May 2007 15:08:24 +0200 loudmouth (1.2.1-1) unstable; urgency=low [ Loic Minier ] * Add a get-orig-source target to retrieve the upstream tarball. [ Sjoerd Simons ] * New upstream release * debian/patches/01_64bit-clean.patch - Dropped. Fixed upstream * debian/patches/01_dont_free_parser_while_parsing.patch - Dropped. Fixed upstream * debian/ptaches/01_escape_xml_entities.patch - Dropped. Fixed upstream -- Sjoerd Simons Mon, 16 Apr 2007 14:37:21 +0200 loudmouth (1.1.4-2) unstable; urgency=low [ Dafydd Harries ] * Apply patches from CVS that fix crashes/forced disconnections: - 01_dont_free_parser_while_parsing.patch - 01_escape_xml_entities.patch [ Ross Burton ] * Apply patch from CVS to fix warnings on 64-bit archs: - 01_64bit-clean.patch -- Ross Burton Thu, 7 Dec 2006 16:59:11 +0000 loudmouth (1.1.4-1) unstable; urgency=low * New upstream version. -- Dafydd Harries Sat, 30 Sep 2006 19:34:07 +0100 loudmouth (1.0.4-2) unstable; urgency=low * Add dependency libloudmouth1-dev -> libgnutls-dev. -- Dafydd Harries Thu, 29 Jun 2006 18:59:33 +0100 loudmouth (1.0.4-1) unstable; urgency=low * New upstream release. * debian/watch: point at ftp.imendio.com. -- Dafydd Harries Thu, 29 Jun 2006 12:55:05 +0100 loudmouth (1.0.3-1) unstable; urgency=low * New upstream release. * This package is built against libgnutls13 (closes: #335761) * Use Debhelper compat version 5, and bump build-depends accordingly. * Add -dbg package. * Bump standards version (no changes). -- Dafydd Harries Mon, 19 Jun 2006 14:41:52 +0100 loudmouth (1.0.1-5) unstable; urgency=low * Don't install the .la file * Update FSF address -- Ross Burton Fri, 5 May 2006 16:28:53 +0100 loudmouth (1.0.1-4) unstable; urgency=low * Change Build-Depends to libgnutls-dev (#335761) -- Ross Burton Wed, 26 Oct 2005 09:41:16 +0100 loudmouth (1.0.1-3) unstable; urgency=low * Put symlink to API docs in the right directory. -- Ross Burton Thu, 29 Sep 2005 12:07:49 +0100 loudmouth (1.0.1-2) unstable; urgency=low * Add dependency on libglib2.0-dev to libloudmouth1-dev (closes: #327117) * Add the examples to libloudmouth1-dev -- Ross Burton Mon, 12 Sep 2005 09:21:33 +0100 loudmouth (1.0.1-1) unstable; urgency=low * New upstream release. -- Ross Burton Wed, 17 Aug 2005 09:35:16 +0100 loudmouth (1.0-1) unstable; urgency=low * New upstream release (closes: #322410, #320718, #320719) -- Ross Burton Mon, 15 Aug 2005 10:45:58 +0100 loudmouth (0.90-1) unstable; urgency=low * New upstream release (closes: #319751) - Remove lm-ssl-disconnect.diff * Use list-missing to check installed files * Install the .la file -- Ross Burton Sun, 31 Jul 2005 17:02:29 +0100 loudmouth (0.17.2-2) unstable; urgency=low * debian/patches/lm-ssl-disconnect.diff: Fix crash when SSL servers disconnect (closes: #299571) * Add debian/watch -- Ross Burton Thu, 31 Mar 2005 16:23:44 +0100 loudmouth (0.17.2-1) unstable; urgency=low * New upstream release * 64-bit builds fixed (closes: 272421) -- Ross Burton Tue, 2 Nov 2004 13:33:30 +0000 loudmouth (0.17.1-1) unstable; urgency=low * New upstream release. -- Ross Burton Tue, 31 Aug 2004 17:50:05 +0100 loudmouth (0.17-1) unstable; urgency=low * New upstream release. -- Ross Burton Fri, 27 Aug 2004 08:01:44 +0100 loudmouth (0.16-3) unstable; urgency=low * GNOME team upload. * debian/control.in: switch to gnutls11. -- Jordi Mallach Sun, 1 Aug 2004 13:28:28 +0200 loudmouth (0.16-2) unstable; urgency=low * GNOME Team Upload * Rebuilt in unstable with gnutls10. -- Sebastien Bacher Thu, 27 May 2004 21:31:17 +0200 loudmouth (0.16-1) experimental; urgency=low * New upstream release * debian/control.in: we need gnutls10. -- Ross Burton Fri, 16 Apr 2004 11:57:13 +0100 loudmouth (0.15-1) unstable; urgency=low * New upstream release * Rename packages for new upstrem versioning scheme * debian/copyright: Update home page URL * Move to GNOME Packaging Team -- Ross Burton Mon, 2 Feb 2004 18:11:43 +0000 loudmouth (0.14.1-1) unstable; urgency=low * New upstream release (closes: #215214) -- Ross Burton Mon, 13 Oct 2003 11:24:08 +0100 loudmouth (0.14-1) unstable; urgency=low * New upstream release -- Ross Burton Fri, 10 Oct 2003 10:56:31 +0100 loudmouth (0.13.2-1) unstable; urgency=low * New upstream release -- Ross Burton Fri, 15 Aug 2003 14:23:30 +0100 loudmouth (0.13-2) unstable; urgency=low * Rebuild with libgnutls7-dev. -- Ross Burton Tue, 5 Aug 2003 12:07:13 +0100 loudmouth (0.13-1) unstable; urgency=low * New upstream release -- Ross Burton Tue, 5 Aug 2003 11:53:29 +0100 loudmouth (0.12-1) unstable; urgency=low * Maintainer upload. Thanks to Jordi for the NMU whilst I was in Greece, doing nothing. * Push Standards to 3.6.0 whilst I'm uploading. -- Ross Burton Tue, 22 Jul 2003 17:49:55 +0100 loudmouth (0.12-0.1) unstable; urgency=low * Non-Maintainer Upload. Ross, I hope it's ok! * New upstream release. * debian/control: + build depend on libgnutls5-dev. We can't use libgnutls7 because libgnome still uses gnutls5. + bump gtk-doc-tools to (>= 1.1-2) for local DTD fixes. This should now build ok on ARM (closes: #200601). -- Jordi Mallach Mon, 21 Jul 2003 11:28:18 +0200 loudmouth (0.10-1) unstable; urgency=low * New upstream release -- Ross Burton Thu, 26 Jun 2003 17:46:12 +0100 loudmouth (0.9.1-3) unstable; urgency=low * debian/rules: declare variables after includes (closes: #198245) -- Ross Burton Tue, 24 Jun 2003 12:32:44 +0100 loudmouth (0.9.1-2) unstable; urgency=low * Add Build-depend on gtk-doc-tools (closes: #195469) * Add Build-depend on autotools-dev, pre-empting the buildd's * Build-depend on CDBS 0.2.11 so that dh_link is called for us. -- Ross Burton Mon, 2 Jun 2003 07:59:02 +0100 loudmouth (0.9.1-1) unstable; urgency=low * New upstream release * debian/rules: upgrade to CDBS * debian/rocks: unused with CDBS -- Ross Burton Wed, 28 May 2003 18:32:36 +0100 loudmouth (0.9-1) unstable; urgency=low * Initial Release. (closes: #183826) -- Ross Burton Sun, 13 Apr 2003 19:21:57 +0100