pkgsrc-Changes-HG archive

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

[pkgsrc/pkgsrc-2008Q4]: pkgsrc/net/tor Pullup ticket #2656 - requested by dro...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/07d86fb972a0
branches:  pkgsrc-2008Q4
changeset: 552263:07d86fb972a0
user:      tron <tron%pkgsrc.org@localhost>
date:      Tue Jan 27 13:14:37 2009 +0000

description:
Pullup ticket #2656 - requested by drochner
tor: security update

Revisions pulled up:
- net/tor/Makefile              1.61
- net/tor/distinfo              1.32-1.33
- net/tor/patches/patch-ac      1.6
---
Module Name:    pkgsrc
Committed By:   drochner
Date:           Thu Jan 22 12:46:51 UTC 2009

Modified Files:
        pkgsrc/net/tor: distinfo
Added Files:
        pkgsrc/net/tor/patches: patch-ac

Log Message:
make this build with 64-bit time_t
(There are some unclean typecasts in the code, but the cases I've
seen are harmless -- as long as poll intervals, cert lifetimes etc
don't reach into y2037 which would be problematic in any case.)
---
Module Name:    pkgsrc
Committed By:   drochner
Date:           Thu Jan 22 12:50:57 UTC 2009

Modified Files:
        pkgsrc/net/tor: Makefile distinfo

Log Message:
update to 0.2.0.33
changes:
-Security fix:
 Fix a heap-corruption bug that may be remotely triggerable on
 some platforms.
-many bugfixes

diffstat:

 net/tor/Makefile         |   4 ++--
 net/tor/distinfo         |   9 +++++----
 net/tor/patches/patch-ac |  13 +++++++++++++
 3 files changed, 20 insertions(+), 6 deletions(-)

diffs (46 lines):

diff -r 901fdae374fd -r 07d86fb972a0 net/tor/Makefile
--- a/net/tor/Makefile  Thu Jan 22 21:48:18 2009 +0000
+++ b/net/tor/Makefile  Tue Jan 27 13:14:37 2009 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.60 2008/12/30 09:33:59 wiz Exp $
+# $NetBSD: Makefile,v 1.60.2.1 2009/01/27 13:14:37 tron Exp $
 #
 
-DISTNAME=              tor-0.2.0.32
+DISTNAME=              tor-0.2.0.33
 CATEGORIES=            net security
 MASTER_SITES=          http://www.torproject.org/dist/
 
diff -r 901fdae374fd -r 07d86fb972a0 net/tor/distinfo
--- a/net/tor/distinfo  Thu Jan 22 21:48:18 2009 +0000
+++ b/net/tor/distinfo  Tue Jan 27 13:14:37 2009 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.31 2008/12/21 11:10:27 obache Exp $
+$NetBSD: distinfo,v 1.31.2.1 2009/01/27 13:14:37 tron Exp $
 
-SHA1 (tor-0.2.0.32.tar.gz) = 0e48d0706f1717afc6d19228a8878c3bc379b25d
-RMD160 (tor-0.2.0.32.tar.gz) = e87bee7d7dadf17280bf0b11245b0bad70d68fc2
-Size (tor-0.2.0.32.tar.gz) = 2159864 bytes
+SHA1 (tor-0.2.0.33.tar.gz) = 4cc94dd6fdb5eb0bd4854631cc5f3cddba7a815f
+RMD160 (tor-0.2.0.33.tar.gz) = 8649ec953f99a7cd27a25019b26302fd300c84f9
+Size (tor-0.2.0.33.tar.gz) = 2167542 bytes
 SHA1 (patch-aa) = 630e1e0a9591c136987b504e73c64ff9f53b54e9
 SHA1 (patch-ab) = 3363efdcf8b9918c1249add1046077f2323a11ff
+SHA1 (patch-ac) = 00afc6a897816db3efc925a47cb1de459e4b382a
diff -r 901fdae374fd -r 07d86fb972a0 net/tor/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/tor/patches/patch-ac  Tue Jan 27 13:14:37 2009 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.5.6.1 2009/01/27 13:14:37 tron Exp $
+
+--- ./src/common/torint.h.orig 2009-01-22 12:02:50.000000000 +0100
++++ ./src/common/torint.h
+@@ -290,6 +290,8 @@ typedef uint32_t uintptr_t;
+ #define TIME_MAX ((time_t)INT_MAX)
+ #elif (SIZEOF_TIME_T == SIZEOF_LONG)
+ #define TIME_MAX ((time_t)LONG_MAX)
++#elif (SIZEOF_TIME_T == 8)
++#define TIME_MAX ((time_t)INT64_MAX)
+ #else
+ #error "Can't define (signed) TIME_MAX"
+ #endif



Home | Main Index | Thread Index | Old Index