NetBSD Problem Report #41688

From www@NetBSD.org  Thu Jul  9 09:02:23 2009
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id 3460563B976
	for <gnats-bugs@gnats.netbsd.org>; Thu,  9 Jul 2009 09:02:23 +0000 (UTC)
Message-Id: <20090709090222.F2E1463B913@www.NetBSD.org>
Date: Thu,  9 Jul 2009 09:02:22 +0000 (UTC)
From: athaba@inode.at
Reply-To: athaba@inode.at
To: gnats-bugs@NetBSD.org
Subject: Maintainer Update: net/tor to 0.2.0.35
X-Send-Pr-Version: www-1.0

>Number:         41688
>Category:       pkg
>Synopsis:       Maintainer Update: net/tor to 0.2.0.35
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Thu Jul 09 09:05:00 +0000 2009
>Closed-Date:    Thu Jul 09 11:55:44 +0000 2009
>Last-Modified:  Thu Jul 16 09:25:01 +0000 2009
>Originator:     Christian Sturm
>Release:        NetBSD 5.0
>Organization:
-
>Environment:
NetBSD cabal 5.0 NetBSD 5.0 (GENERIC) #0: Sun Apr 26 06:32:14 UTC 2009  builds@b6.netbsd.org:/home/builds/ab/netbsd-5-0-RELEASE/amd64/200904260229Z-obj/home/builds/ab/netbsd-5-0-RELEASE/src/sys/arch/amd64/compile/GENERIC amd64
>Description:
- Update net/tor to 0.2.0.35
- add LICENSE
- use AUTO_MKDIRS as suggested by pkglint
>How-To-Repeat:

>Fix:
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/net/tor/Makefile,v
retrieving revision 1.63
diff -u -p -r1.63 Makefile
--- Makefile    27 Feb 2009 22:53:47 -0000      1.63
+++ Makefile    9 Jul 2009 08:54:52 -0000
@@ -1,14 +1,14 @@
 # $NetBSD: Makefile,v 1.63 2009/02/27 22:53:47 wiz Exp $
 #

-DISTNAME=              tor-0.2.0.34
-PKGREVISION=           1
+DISTNAME=              tor-0.2.0.35
 CATEGORIES=            net security
 MASTER_SITES=          http://www.torproject.org/dist/

 MAINTAINER=            athaba@inode.at
 HOMEPAGE=              http://www.torproject.org/
 COMMENT=               Anonymizing overlay network for TCP
+LICENSE=               modified-bsd

 PKG_DESTDIR_SUPPORT=   user-destdir

@@ -40,6 +40,8 @@ USER_GROUP=           ${TOR_USER} ${TOR_GROUP}

 OWN_DIRS_PERMS+=       ${PKG_HOME} ${USER_GROUP} 0700

+AUTO_MKDIRS=           yes
+
 CONFIGURE_ARGS+=       --localstatedir=${VARBASE:Q}

 CONF_FILES+=           ${PREFIX}/share/examples/tor/tor-tsocks.conf    \
@@ -57,7 +59,6 @@ CFLAGS+=              -c99
 .endif

 post-install:
-       ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/tor
        ${INSTALL_DATA} ${WRKSRC}/src/config/torrc.sample               \
                ${DESTDIR}${PREFIX}/share/examples/tor/torrc.sample
        ${INSTALL_DATA} ${WRKSRC}/contrib/tor-tsocks.conf               \
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/net/tor/distinfo,v
retrieving revision 1.34
diff -u -p -r1.34 distinfo
--- distinfo    15 Feb 2009 07:59:02 -0000      1.34
+++ distinfo    9 Jul 2009 08:54:52 -0000
@@ -1,7 +1,7 @@
 $NetBSD: distinfo,v 1.34 2009/02/15 07:59:02 obache Exp $

-SHA1 (tor-0.2.0.34.tar.gz) = 6797b85cf4bd44a3a1c3ff1ccb9c46b55f9391f9
-RMD160 (tor-0.2.0.34.tar.gz) = a7a1a78b32072524472c6b2973117689aab4823b
-Size (tor-0.2.0.34.tar.gz) = 2170871 bytes
+SHA1 (tor-0.2.0.35.tar.gz) = 6216887e0575c4a18f46e53faea1ebdb04bf7905
+RMD160 (tor-0.2.0.35.tar.gz) = ecc98c602b5c153a8aa8f6e651166705bc05c972
+Size (tor-0.2.0.35.tar.gz) = 2221852 bytes
 SHA1 (patch-aa) = 630e1e0a9591c136987b504e73c64ff9f53b54e9
 SHA1 (patch-ab) = 3363efdcf8b9918c1249add1046077f2323a11ff

>Release-Note:

>Audit-Trail:
From: OBATA Akio <obache@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/41688 CVS commit: pkgsrc/net/tor
Date: Thu, 9 Jul 2009 11:52:31 +0000

 Module Name:	pkgsrc
 Committed By:	obache
 Date:		Thu Jul  9 11:52:31 UTC 2009

 Modified Files:
 	pkgsrc/net/tor: Makefile distinfo

 Log Message:
 Update tor to 0.2.0.35.
 maintainer update request via PR 41688.

 Changes in version 0.2.0.35 - 2009-06-24
   o Security fix:
     - Avoid crashing in the presence of certain malformed descriptors.
       Found by lark, and by automated fuzzing.
     - Fix an edge case where a malicious exit relay could convince a
       controller that the client's DNS question resolves to an internal IP
       address. Bug found and fixed by "optimist"; bugfix on 0.1.2.8-beta.

   o Major bugfixes:
     - Finally fix the bug where dynamic-IP relays disappear when their
       IP address changes: directory mirrors were mistakenly telling
       them their old address if they asked via begin_dir, so they
       never got an accurate answer about their new address, so they
       just vanished after a day. For belt-and-suspenders, relays that
       don't set Address in their config now avoid using begin_dir for
       all direct connections. Should fix bugs 827, 883, and 900.
     - Fix a timing-dependent, allocator-dependent, DNS-related crash bug
       that would occur on some exit nodes when DNS failures and timeouts
       occurred in certain patterns. Fix for bug 957.

   o Minor bugfixes:
     - When starting with a cache over a few days old, do not leak
       memory for the obsolete router descriptors in it. Bugfix on
       0.2.0.33; fixes bug 672.
     - Hidden service clients didn't use a cached service descriptor that
       was older than 15 minutes, but wouldn't fetch a new one either,
       because there was already one in the cache. Now, fetch a v2
       descriptor unless the same descriptor was added to the cache within
       the last 15 minutes. Fixes bug 997; reported by Marcus Griep.


 To generate a diff of this commit:
 cvs rdiff -u -r1.63 -r1.64 pkgsrc/net/tor/Makefile
 cvs rdiff -u -r1.34 -r1.35 pkgsrc/net/tor/distinfo

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->closed
State-Changed-By: obache@NetBSD.org
State-Changed-When: Thu, 09 Jul 2009 11:55:44 +0000
State-Changed-Why:
Updated.  Thanks!


From: Matthias Scheler <tron@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/41688 CVS commit: [pkgsrc-2009Q2] pkgsrc/net/tor
Date: Thu, 16 Jul 2009 09:23:44 +0000

 Module Name:	pkgsrc
 Committed By:	tron
 Date:		Thu Jul 16 09:23:44 UTC 2009

 Modified Files:
 	pkgsrc/net/tor [pkgsrc-2009Q2]: Makefile distinfo

 Log Message:
 Pullup ticket #2813 - requested by obache
 tor: security update

 Revisions pulled up:
 - net/tor/Makefile		1.64
 - net/tor/distinfo		1.35
 ---
 Module Name:	pkgsrc
 Committed By:	obache
 Date:		Thu Jul  9 11:52:31 UTC 2009

 Modified Files:
 	pkgsrc/net/tor: Makefile distinfo

 Log Message:
 Update tor to 0.2.0.35.
 maintainer update request via PR 41688.

 Changes in version 0.2.0.35 - 2009-06-24
   o Security fix:
     - Avoid crashing in the presence of certain malformed descriptors.
       Found by lark, and by automated fuzzing.
     - Fix an edge case where a malicious exit relay could convince a
       controller that the client's DNS question resolves to an internal IP
       address. Bug found and fixed by "optimist"; bugfix on 0.1.2.8-beta.

   o Major bugfixes:
     - Finally fix the bug where dynamic-IP relays disappear when their
       IP address changes: directory mirrors were mistakenly telling
       them their old address if they asked via begin_dir, so they
       never got an accurate answer about their new address, so they
       just vanished after a day. For belt-and-suspenders, relays that
       don't set Address in their config now avoid using begin_dir for
       all direct connections. Should fix bugs 827, 883, and 900.
     - Fix a timing-dependent, allocator-dependent, DNS-related crash bug
       that would occur on some exit nodes when DNS failures and timeouts
       occurred in certain patterns. Fix for bug 957.

   o Minor bugfixes:
     - When starting with a cache over a few days old, do not leak
       memory for the obsolete router descriptors in it. Bugfix on
       0.2.0.33; fixes bug 672.
     - Hidden service clients didn't use a cached service descriptor that
       was older than 15 minutes, but wouldn't fetch a new one either,
       because there was already one in the cache. Now, fetch a v2
       descriptor unless the same descriptor was added to the cache within
       the last 15 minutes. Fixes bug 997; reported by Marcus Griep.


 To generate a diff of this commit:
 cvs rdiff -u -r1.63 -r1.63.4.1 pkgsrc/net/tor/Makefile
 cvs rdiff -u -r1.34 -r1.34.4.1 pkgsrc/net/tor/distinfo

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.