Update to libotr 4.1.0. Tested with pidgin-otr and climm. Any additional tests? OKs?
Index: Makefile =================================================================== RCS file: /cvs/ports/security/libotr/Makefile,v retrieving revision 1.25 diff -u -p -r1.25 Makefile --- Makefile 16 Mar 2015 18:07:54 -0000 1.25 +++ Makefile 3 Apr 2015 09:40:23 -0000 @@ -9,13 +9,12 @@ COMMENT= portable OTR messaging library and toolkit -DISTNAME= libotr-4.0.0 +DISTNAME= libotr-4.1.0 CATEGORIES= security -REVISION= 0 -SHARED_LIBS += otr 4.0 # 5.0 +SHARED_LIBS += otr 4.1 # 5.0 -HOMEPAGE= http://www.cypherpunks.ca/otr/ +HOMEPAGE= http://otr.cypherpunks.ca/ MASTER_SITES= ${HOMEPAGE} Index: distinfo =================================================================== RCS file: /cvs/ports/security/libotr/distinfo,v retrieving revision 1.8 diff -u -p -r1.8 distinfo --- distinfo 15 Aug 2013 16:33:22 -0000 1.8 +++ distinfo 3 Apr 2015 09:36:51 -0000 @@ -1,2 +1,2 @@ -SHA256 (libotr-4.0.0.tar.gz) = P5EZlECYmOdFJ3MHRe817XXDUsaVoYIqZ3o0ss8Ck7Q= -SIZE (libotr-4.0.0.tar.gz) = 441441 +SHA256 (libotr-4.1.0.tar.gz) = T9uJGUDsidMAGQqY9pqROCSNy4yNM3Yz+5gbjQqc2TA= +SIZE (libotr-4.1.0.tar.gz) = 576771 Index: patches/patch-src_message_c =================================================================== RCS file: patches/patch-src_message_c diff -N patches/patch-src_message_c --- patches/patch-src_message_c 15 Aug 2013 16:33:22 -0000 1.3 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,13 +0,0 @@ -$OpenBSD: patch-src_message_c,v 1.3 2013/08/15 16:33:22 stsp Exp $ -Fix crash with net/bitlbee,otr. ---- src/message.c.orig Wed Aug 14 17:26:39 2013 -+++ src/message.c Wed Aug 14 17:27:59 2013 -@@ -441,7 +441,7 @@ fragment: - /* Fragment and send according to policy */ - if (!err && messagep && *messagep) { - if (context) { -- err = fragment_and_send(ops, NULL, context, *messagep, -+ err = fragment_and_send(ops, opdata, context, *messagep, - fragPolicy, messagep); - } - }