diff options
author | tron <tron> | 2009-01-27 13:14:37 +0000 |
---|---|---|
committer | tron <tron> | 2009-01-27 13:14:37 +0000 |
commit | 11173d40b710132e8a29e4babf2ed79503194aff (patch) | |
tree | 0c20d67aa30dd1278dadf50891f6066424b4cca8 /net | |
parent | 7c84983c8f0f2d57d0acbfb9b5c10ec521b1df06 (diff) | |
download | pkgsrc-11173d40b710132e8a29e4babf2ed79503194aff.tar.gz |
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 (limited to 'net')
-rw-r--r-- | net/tor/Makefile | 4 | ||||
-rw-r--r-- | net/tor/distinfo | 9 | ||||
-rw-r--r-- | net/tor/patches/patch-ac | 13 |
3 files changed, 20 insertions, 6 deletions
diff --git a/net/tor/Makefile b/net/tor/Makefile index d833dad73d0..40fb47a6aaf 100644 --- a/net/tor/Makefile +++ b/net/tor/Makefile @@ -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 --git a/net/tor/distinfo b/net/tor/distinfo index 75879a335f9..1717eea8444 100644 --- a/net/tor/distinfo +++ b/net/tor/distinfo @@ -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 --git a/net/tor/patches/patch-ac b/net/tor/patches/patch-ac new file mode 100644 index 00000000000..77a7600edcb --- /dev/null +++ b/net/tor/patches/patch-ac @@ -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 |