tags 405461 + patch thanks Hi,
Attached is the diff for my jabber 1.4.3-3.2 NMU.
diff -u jabber-1.4.3/debian/changelog jabber-1.4.3/debian/changelog --- jabber-1.4.3/debian/changelog +++ jabber-1.4.3/debian/changelog @@ -1,3 +1,12 @@ +jabber (1.4.3-3.2) unstable; urgency=high + + * Non-maintainer upload. + * init-ssl.dpatch: Properly initialize the OpenSSL library; fixes issues + when using OpenSSL 0.9.8, patch originally from Sugree Phatanapherom. + (Closes: #405461) + + -- Steinar H. Gunderson <[EMAIL PROTECTED]> Wed, 28 Feb 2007 18:07:55 +0100 + jabber (1.4.3-3.1) unstable; urgency=medium [ Sergei Golovan ] diff -u jabber-1.4.3/debian/patches/00list jabber-1.4.3/debian/patches/00list --- jabber-1.4.3/debian/patches/00list +++ jabber-1.4.3/debian/patches/00list @@ -6,0 +7 @@ +init-openssl only in patch2: unchanged: --- jabber-1.4.3.orig/debian/patches/init-openssl.dpatch +++ jabber-1.4.3/debian/patches/init-openssl.dpatch @@ -0,0 +1,37 @@ +#! /bin/sh -e +## init-openssl.dpatch by Steinar H. Gunderson <[EMAIL PROTECTED]> +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Properly initialize OpenSSL, fixing issues with 0.9.8. Patch +## DP: originally by Sugree Phatanapherom. + +[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts +patch_opts="${patch_opts:--f --no-backup-if-mismatch}" + +if [ $# -ne 1 ]; then + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1 +fi +case "$1" in + -patch) patch $patch_opts -p1 < $0;; + -unpatch) patch $patch_opts -Rp1 < $0;; + *) + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1;; +esac + +exit 0 [EMAIL PROTECTED]@ +diff -urNad jabber-1.4.3~/jabberd/mio_ssl.c jabber-1.4.3/jabberd/mio_ssl.c +--- jabber-1.4.3~/jabberd/mio_ssl.c 2007-02-28 18:11:08.000000000 +0100 ++++ jabber-1.4.3/jabberd/mio_ssl.c 2007-02-28 18:12:44.008205137 +0100 +@@ -63,7 +63,8 @@ + + log_debug(ZONE, "Handling configuration using: %s", xmlnode2str(x)); + /* Generic SSL Inits */ +- OpenSSL_add_all_algorithms(); ++ SSL_library_init(); ++ OpenSSL_add_all_algorithms(); + SSL_load_error_strings(); + + /* Setup our hashtable */