pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/chat/libotr Update to version 3.0.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fac00c011008
branches:  trunk
changeset: 508019:fac00c011008
user:      salo <salo%pkgsrc.org@localhost>
date:      Mon Feb 13 14:44:31 2006 +0000

description:
Update to version 3.0.0

>From Jason White, via PR pkg/32451

Changes:

- Support for OTR protocol version 2; will still interoperate with version 1
  clients (though with a warning to the user), fixes identity-binding flaw
  http://www.cypherpunks.ca/otr/Protocol-v2-3.0.0.html

diffstat:

 chat/libotr/Makefile         |   5 +--
 chat/libotr/PLIST            |   5 +++-
 chat/libotr/buildlink3.mk    |   5 +--
 chat/libotr/distinfo         |   9 +++----
 chat/libotr/patches/patch-aa |  51 --------------------------------------------
 5 files changed, 12 insertions(+), 63 deletions(-)

diffs (126 lines):

diff -r fdfda4f74ff9 -r fac00c011008 chat/libotr/Makefile
--- a/chat/libotr/Makefile      Mon Feb 13 12:37:47 2006 +0000
+++ b/chat/libotr/Makefile      Mon Feb 13 14:44:31 2006 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.4 2006/02/05 23:08:25 joerg Exp $
+# $NetBSD: Makefile,v 1.5 2006/02/13 14:44:31 salo Exp $
 
-DISTNAME=      libotr-2.0.2
-PKGREVISION=   1
+DISTNAME=      libotr-3.0.0
 CATEGORIES=    chat security
 MASTER_SITES=  http://www.cypherpunks.ca/otr/
 
diff -r fdfda4f74ff9 -r fac00c011008 chat/libotr/PLIST
--- a/chat/libotr/PLIST Mon Feb 13 12:37:47 2006 +0000
+++ b/chat/libotr/PLIST Mon Feb 13 14:44:31 2006 +0000
@@ -1,17 +1,20 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2005/03/24 21:24:13 nathanw Exp $
+@comment $NetBSD: PLIST,v 1.2 2006/02/13 14:44:31 salo Exp $
 bin/otr_mackey
 bin/otr_modify
 bin/otr_parse
 bin/otr_readforge
 bin/otr_remac
 bin/otr_sesskeys
+include/libotr/auth.h
 include/libotr/b64.h
 include/libotr/context.h
 include/libotr/dh.h
 include/libotr/mem.h
 include/libotr/message.h
+include/libotr/privkey-t.h
 include/libotr/privkey.h
 include/libotr/proto.h
+include/libotr/serial.h
 include/libotr/tlv.h
 include/libotr/userstate.h
 include/libotr/version.h
diff -r fdfda4f74ff9 -r fac00c011008 chat/libotr/buildlink3.mk
--- a/chat/libotr/buildlink3.mk Mon Feb 13 12:37:47 2006 +0000
+++ b/chat/libotr/buildlink3.mk Mon Feb 13 14:44:31 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.4 2006/02/05 23:08:25 joerg Exp $
+# $NetBSD: buildlink3.mk,v 1.5 2006/02/13 14:44:31 salo Exp $
 
 BUILDLINK_DEPTH:=      ${BUILDLINK_DEPTH}+
 LIBOTR_BUILDLINK3_MK:= ${LIBOTR_BUILDLINK3_MK}+
@@ -11,8 +11,7 @@
 BUILDLINK_PACKAGES+=   libotr
 
 .if !empty(LIBOTR_BUILDLINK3_MK:M+)
-BUILDLINK_DEPENDS.libotr+=     libotr>=2.0.1
-BUILDLINK_RECOMMENDED.libotr?= libotr>=2.0.2nb1
+BUILDLINK_DEPENDS.libotr+=     libotr>=3.0.0
 BUILDLINK_PKGSRCDIR.libotr?=   ../../chat/libotr
 .endif # LIBOTR_BUILDLINK3_MK
 
diff -r fdfda4f74ff9 -r fac00c011008 chat/libotr/distinfo
--- a/chat/libotr/distinfo      Mon Feb 13 12:37:47 2006 +0000
+++ b/chat/libotr/distinfo      Mon Feb 13 14:44:31 2006 +0000
@@ -1,6 +1,5 @@
-$NetBSD: distinfo,v 1.3 2005/07/30 21:30:53 rillig Exp $
+$NetBSD: distinfo,v 1.4 2006/02/13 14:44:31 salo Exp $
 
-SHA1 (libotr-2.0.2.tar.gz) = da8c0ce6bf23e65c094f003b8654f96be9c81b1b
-RMD160 (libotr-2.0.2.tar.gz) = 8f35c5ac0ce5743bca075eb517119a85fce5351d
-Size (libotr-2.0.2.tar.gz) = 368896 bytes
-SHA1 (patch-aa) = 5bd53e9eb7eeec29940debf63a0851c9197a5687
+SHA1 (libotr-3.0.0.tar.gz) = 5835acdf80549d1895a842245f99c559b5b9d6cd
+RMD160 (libotr-3.0.0.tar.gz) = 04574a468d096b23ad63ee026498ebe6b2a23ca1
+Size (libotr-3.0.0.tar.gz) = 392431 bytes
diff -r fdfda4f74ff9 -r fac00c011008 chat/libotr/patches/patch-aa
--- a/chat/libotr/patches/patch-aa      Mon Feb 13 12:37:47 2006 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,51 +0,0 @@
-$NetBSD: patch-aa,v 1.1 2005/07/30 21:30:53 rillig Exp $
-
-Don't do arithmetic with void pointers.
-
---- src/mem.c.orig     Fri Jan 21 16:02:03 2005
-+++ src/mem.c  Sat Jul 30 23:28:10 2005
-@@ -63,7 +63,7 @@ static void *otrl_mem_malloc(size_t n)
-     ((size_t *)p)[1] = OTRL_MEM_MAGIC;
- #endif
- 
--    return (p + header_size);
-+    return (void *)((char *)p + header_size);
- }
- 
- static int otrl_mem_is_secure(const void *p)
-@@ -73,7 +73,7 @@ static int otrl_mem_is_secure(const void
- 
- static void otrl_mem_free(void *p)
- {
--    void *real_p = p - header_size;
-+    void *real_p = (void *)((char *)p - header_size);
-     size_t n = ((size_t *)real_p)[0];
- #ifdef OTRL_MEM_MAGIC
-     if (((size_t *)real_p)[1] != OTRL_MEM_MAGIC) {
-@@ -100,7 +100,7 @@ static void *otrl_mem_realloc(void *p, s
-       otrl_mem_free(p);
-       return NULL;
-     } else {
--      void *real_p = p - header_size;
-+      void *real_p = (void *)((char *)p - header_size);
-       void *new_p;
-       size_t old_n = ((size_t *)real_p)[0];
- #ifdef OTRL_MEM_MAGIC
-@@ -121,7 +121,7 @@ static void *otrl_mem_realloc(void *p, s
- 
-       if (new_n < old_n) {
-           /* Overwrite the space we're about to stop using */
--          void *p = real_p + new_n;
-+          void *p = (void *)((char *)real_p + new_n);
-           size_t excess = old_n - new_n;
-           memset(p, 0xff, excess);
-           memset(p, 0xaa, excess);
-@@ -136,7 +136,7 @@ static void *otrl_mem_realloc(void *p, s
-       }
- 
-       ((size_t *)new_p)[0] = new_n;  /* Includes header size */
--      return (new_p + header_size);
-+      return (void *)((char *)new_p + header_size);
-     }
- }
- 



Home | Main Index | Thread Index | Old Index