Tue Mar 2 11:25:59 2010 UTC ()
Update tor to 0.2.1.24 per maintainer update request by PR#42911.

Changes in version 0.2.1.24 - 2010-02-21
  Tor 0.2.1.24 makes Tor work again on the latest OS X -- this time
  for sure!

  o Minor bugfixes:
    - Work correctly out-of-the-box with even more vendor-patched versions
      of OpenSSL. In particular, make it so Debian and OS X don't need
      customized patches to run/build.

Changes in version 0.2.1.23 - 2010-02-13
  Tor 0.2.1.23 fixes a huge client-side performance bug, makes Tor work
  again on the latest OS X, and updates the location of a directory
  authority.

  o Major bugfixes (performance):
    - We were selecting our guards uniformly at random, and then weighting
      which of our guards we'd use uniformly at random. This imbalance
      meant that Tor clients were severely limited on throughput (and
      probably latency too) by the first hop in their circuit. Now we
      select guards weighted by currently advertised bandwidth. We also
      automatically discard guards picked using the old algorithm. Fixes
      bug 1217; bugfix on 0.2.1.3-alpha. Found by Mike Perry.

  o Major bugfixes:
    - Make Tor work again on the latest OS X: when deciding whether to
      use strange flags to turn TLS renegotiation on, detect the OpenSSL
      version at run-time, not compile time. We need to do this because
      Apple doesn't update its dev-tools headers when it updates its
      libraries in a security patch.
    - Fix a potential buffer overflow in lookup_last_hid_serv_request()
      that could happen on 32-bit platforms with 64-bit time_t. Also fix
      a memory leak when requesting a hidden service descriptor we've
      requested before. Fixes bug 1242, bugfix on 0.2.0.18-alpha. Found
      by aakova.

  o Minor bugfixes:
    - Refactor resolve_my_address() to not use gethostbyname() anymore.
      Fixes bug 1244; bugfix on 0.0.2pre25. Reported by Mike Mestnik.

  o Minor features:
    - Avoid a mad rush at the beginning of each month when each client
      rotates half of its guards. Instead we spread the rotation out
      throughout the month, but we still avoid leaving a precise timestamp
      in the state file about when we first picked the guard. Improves
      over the behavior introduced in 0.1.2.17.


(obache)
diff -r1.70 -r1.71 pkgsrc/net/tor/Makefile
diff -r1.39 -r1.40 pkgsrc/net/tor/distinfo

cvs diff -r1.70 -r1.71 pkgsrc/net/tor/Makefile (switch to unified diff)

--- pkgsrc/net/tor/Makefile 2010/01/21 11:47:23 1.70
+++ pkgsrc/net/tor/Makefile 2010/03/02 11:25:59 1.71
@@ -1,71 +1,71 @@ @@ -1,71 +1,71 @@
1# $NetBSD: Makefile,v 1.70 2010/01/21 11:47:23 wiz Exp $ 1# $NetBSD: Makefile,v 1.71 2010/03/02 11:25:59 obache Exp $
2# 2#
3 3
4DISTNAME= tor-0.2.1.22 4DISTNAME= tor-0.2.1.24
5CATEGORIES= net security 5CATEGORIES= net security
6MASTER_SITES= http://www.torproject.org/dist/ 6MASTER_SITES= http://www.torproject.org/dist/
7 7
8MAINTAINER= athaba@inode.at 8MAINTAINER= athaba@inode.at
9HOMEPAGE= http://www.torproject.org/ 9HOMEPAGE= http://www.torproject.org/
10COMMENT= Anonymizing overlay network for TCP 10COMMENT= Anonymizing overlay network for TCP
11LICENSE= modified-bsd 11LICENSE= modified-bsd
12 12
13PKG_DESTDIR_SUPPORT= user-destdir 13PKG_DESTDIR_SUPPORT= user-destdir
14 14
15.include "../../mk/bsd.prefs.mk" 15.include "../../mk/bsd.prefs.mk"
16 16
17USE_LANGUAGES+= c99 17USE_LANGUAGES+= c99
18USE_PKGLOCALEDIR= yes 18USE_PKGLOCALEDIR= yes
19GNU_CONFIGURE= yes 19GNU_CONFIGURE= yes
20 20
21CONFIGURE_ENV+= CPP=${CPP:Q} 21CONFIGURE_ENV+= CPP=${CPP:Q}
22CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFBASEDIR:Q} 22CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFBASEDIR:Q}
23 23
24TEST_TARGET= check 24TEST_TARGET= check
25 25
26TOR_USER?= tor 26TOR_USER?= tor
27TOR_GROUP?= tor 27TOR_GROUP?= tor
28PKG_HOME?= ${VARBASE}/chroot/tor 28PKG_HOME?= ${VARBASE}/chroot/tor
29BUILD_DEFS+= VARBASE 29BUILD_DEFS+= VARBASE
30PKG_SYSCONFSUBDIR= tor 30PKG_SYSCONFSUBDIR= tor
31 31
32PKG_GROUPS_VARS+= TOR_GROUP 32PKG_GROUPS_VARS+= TOR_GROUP
33PKG_USERS_VARS+= TOR_USER 33PKG_USERS_VARS+= TOR_USER
34 34
35RCD_SCRIPTS= tor 35RCD_SCRIPTS= tor
36RCD_SCRIPT_SRC.tor= ${FILESDIR}/tor.in 36RCD_SCRIPT_SRC.tor= ${FILESDIR}/tor.in
37PKG_GROUPS= ${TOR_GROUP} 37PKG_GROUPS= ${TOR_GROUP}
38PKG_USERS= ${TOR_USER}:${TOR_GROUP}::Torifier:${PKG_HOME} 38PKG_USERS= ${TOR_USER}:${TOR_GROUP}::Torifier:${PKG_HOME}
39USER_GROUP= ${TOR_USER} ${TOR_GROUP} 39USER_GROUP= ${TOR_USER} ${TOR_GROUP}
40 40
41OWN_DIRS_PERMS+= ${PKG_HOME} ${USER_GROUP} 0700 41OWN_DIRS_PERMS+= ${PKG_HOME} ${USER_GROUP} 0700
42 42
43CONFIGURE_ARGS+= --localstatedir=${VARBASE:Q} 43CONFIGURE_ARGS+= --localstatedir=${VARBASE:Q}
44 44
45CONF_FILES+= ${PREFIX}/share/examples/tor/tor-tsocks.conf \ 45CONF_FILES+= ${PREFIX}/share/examples/tor/tor-tsocks.conf \
46 ${PKG_SYSCONFDIR}/tor-tsocks.conf 46 ${PKG_SYSCONFDIR}/tor-tsocks.conf
47CONF_FILES+= ${PREFIX}/share/examples/tor/torrc.sample \ 47CONF_FILES+= ${PREFIX}/share/examples/tor/torrc.sample \
48 ${PKG_SYSCONFDIR}/torrc 48 ${PKG_SYSCONFDIR}/torrc
49 49
50FILES_SUBST+= PKG_HOME=${PKG_HOME:Q} 50FILES_SUBST+= PKG_HOME=${PKG_HOME:Q}
51FILES_SUBST+= TOR_USER=${TOR_USER:Q} TOR_GROUP=${TOR_GROUP:Q} 51FILES_SUBST+= TOR_USER=${TOR_USER:Q} TOR_GROUP=${TOR_GROUP:Q}
52 52
53INSTALL_MAKE_FLAGS+= sysconfdir=${PREFIX}/share/examples 53INSTALL_MAKE_FLAGS+= sysconfdir=${PREFIX}/share/examples
54 54
55CHECK_PORTABILITY_SKIP+=contrib/* 55CHECK_PORTABILITY_SKIP+=contrib/*
56 56
57.if !empty(PKGSRC_COMPILER:Mmipspro) 57.if !empty(PKGSRC_COMPILER:Mmipspro)
58CFLAGS+= -c99 58CFLAGS+= -c99
59.endif 59.endif
60 60
61BUILDLINK_API_DEPENDS.libevent+= libevent>=1.2 61BUILDLINK_API_DEPENDS.libevent+= libevent>=1.2
62.include "../../devel/libevent/buildlink3.mk" 62.include "../../devel/libevent/buildlink3.mk"
63.include "../../devel/zlib/buildlink3.mk" 63.include "../../devel/zlib/buildlink3.mk"
64.include "../../security/openssl/buildlink3.mk" 64.include "../../security/openssl/buildlink3.mk"
65.include "../../mk/pthread.buildlink3.mk" 65.include "../../mk/pthread.buildlink3.mk"
66 66
67## We include this after other b3.mk files since we use PTHREAD_TYPE. 67## We include this after other b3.mk files since we use PTHREAD_TYPE.
68## 68##
69.include "options.mk" 69.include "options.mk"
70 70
71.include "../../mk/bsd.pkg.mk" 71.include "../../mk/bsd.pkg.mk"

cvs diff -r1.39 -r1.40 pkgsrc/net/tor/distinfo (switch to unified diff)

--- pkgsrc/net/tor/distinfo 2010/01/21 11:47:23 1.39
+++ pkgsrc/net/tor/distinfo 2010/03/02 11:25:59 1.40
@@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
1$NetBSD: distinfo,v 1.39 2010/01/21 11:47:23 wiz Exp $ 1$NetBSD: distinfo,v 1.40 2010/03/02 11:25:59 obache Exp $
2 2
3SHA1 (tor-0.2.1.22.tar.gz) = bf6114592570e0a0d0d8b23de991ecc03bfc6633 3SHA1 (tor-0.2.1.24.tar.gz) = 7b51c9e2f9ad5b70dea2fbe73728cd64213fc505
4RMD160 (tor-0.2.1.22.tar.gz) = 382829f8772a16fb94883b9a88e1f3e3ff0f16a6 4RMD160 (tor-0.2.1.24.tar.gz) = d6c65499fbc942afc94e508a8e553091aeadb159
5Size (tor-0.2.1.22.tar.gz) = 2408280 bytes 5Size (tor-0.2.1.24.tar.gz) = 2396864 bytes