summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2018-07-13 15:26:32 +0000
committeradam <adam@pkgsrc.org>2018-07-13 15:26:32 +0000
commite53adfc5168d324d0cde0641da220b1c24a9041c (patch)
tree21d95113e6466a48312af753584a11e1a30398cb
parent26b2d2c2d4b0ba5c6f44b8cc95fa1d3a9162813a (diff)
downloadpkgsrc-e53adfc5168d324d0cde0641da220b1c24a9041c.tar.gz
tor: updated to 0.3.3.8
Changes in version 0.3.3.8: Tor 0.3.3.8 backports several changes from the 0.3.4.x series, including fixes for a memory leak affecting directory authorities. o Major bugfixes (directory authority, backport from 0.3.4.3-alpha): - Stop leaking memory on directory authorities when planning to vote. This bug was crashing authorities by exhausting their memory. Fixes bug 26435; bugfix on 0.3.3.6. o Major bugfixes (rust, testing, backport from 0.3.4.3-alpha): - Make sure that failing tests in Rust will actually cause the build to fail: previously, they were ignored. Fixes bug 26258; bugfix on 0.3.3.4-alpha. o Minor features (compilation, backport from 0.3.4.4-rc): - When building Tor, prefer to use Python 3 over Python 2, and more recent (contemplated) versions over older ones. Closes ticket 26372. o Minor features (geoip): - Update geoip and geoip6 to the July 3 2018 Maxmind GeoLite2 Country database. Closes ticket 26674. o Minor features (relay, diagnostic, backport from 0.3.4.3-alpha): - Add several checks to detect whether Tor relays are uploading their descriptors without specifying why they regenerated them. Diagnostic for ticket 25686. o Minor bugfixes (circuit path selection, backport from 0.3.4.1-alpha): - Don't count path selection failures as circuit build failures. This change should eliminate cases where Tor blames its guard or the network for situations like insufficient microdescriptors and/or overly restrictive torrc settings. Fixes bug 25705; bugfix on 0.3.3.1-alpha. o Minor bugfixes (compilation, backport from 0.3.4.4-rc): - Fix a compilation warning on some versions of GCC when building code that calls routerinfo_get_my_routerinfo() twice, assuming that the second call will succeed if the first one did. Fixes bug 26269; bugfix on 0.2.8.2-alpha. o Minor bugfixes (control port, backport from 0.3.4.4-rc): - Handle the HSADDRESS= argument to the HSPOST command properly. (Previously, this argument was misparsed and thus ignored.) Fixes bug 26523; bugfix on 0.3.3.1-alpha. Patch by "akwizgran". o Minor bugfixes (memory, correctness, backport from 0.3.4.4-rc): - Fix a number of small memory leaks identified by coverity. Fixes bug 26467; bugfix on numerous Tor versions. o Minor bugfixes (relay, backport from 0.3.4.3-alpha): - Relays now correctly block attempts to re-extend to the previous relay by Ed25519 identity. Previously they would warn in this case, but not actually reject the attempt. Fixes bug 26158; bugfix on 0.3.0.1-alpha. o Minor bugfixes (restart-in-process, backport from 0.3.4.1-alpha): - When shutting down, Tor now clears all the flags in the control.c module. This should prevent a bug where authentication cookies are not generated on restart. Fixes bug 25512; bugfix on 0.3.3.1-alpha. o Minor bugfixes (testing, compatibility, backport from 0.3.4.4-rc): - When running the hs_ntor_ref.py test, make sure only to pass strings (rather than "bytes" objects) to the Python subprocess module. Python 3 on Windows seems to require this. Fixes bug 26535; bugfix on 0.3.1.1-alpha. - When running the ntor_ref.py test, make sure only to pass strings (rather than "bytes" objects) to the Python subprocess module. Python 3 on Windows seems to require this. Fixes bug 26535; bugfix on 0.2.5.5-alpha.
-rw-r--r--net/tor/Makefile12
-rw-r--r--net/tor/distinfo10
2 files changed, 10 insertions, 12 deletions
diff --git a/net/tor/Makefile b/net/tor/Makefile
index 9f4b978fda1..da8f253588c 100644
--- a/net/tor/Makefile
+++ b/net/tor/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.131 2018/06/17 08:29:11 wiz Exp $
+# $NetBSD: Makefile,v 1.132 2018/07/13 15:26:32 adam Exp $
-DISTNAME= tor-0.3.3.7
+DISTNAME= tor-0.3.3.8
CATEGORIES= net security
-MASTER_SITES= http://www.torproject.org/dist/
+MASTER_SITES= https://dist.torproject.org/
MAINTAINER= reezer@reezer.org
HOMEPAGE= http://www.torproject.org/
@@ -12,9 +12,9 @@ LICENSE= modified-bsd
USE_LANGUAGES= c99
USE_PKGLOCALEDIR= yes
GNU_CONFIGURE= yes
-
-CONFIGURE_ENV+= CPP=${CPP:Q}
+CONFIGURE_ARGS+= --localstatedir=${VARBASE}
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFBASEDIR}
+CONFIGURE_ENV+= CPP=${CPP:Q}
# one test failure in 0.3.0.10
# https://trac.torproject.org/projects/tor/ticket/23250
@@ -38,8 +38,6 @@ USER_GROUP= ${TOR_USER} ${TOR_GROUP}
OWN_DIRS_PERMS+= ${PKG_HOME.${TOR_USER}} ${USER_GROUP} 0700
-CONFIGURE_ARGS+= --localstatedir=${VARBASE}
-
CONF_FILES+= ${PREFIX}/share/examples/tor/torrc.sample \
${PKG_SYSCONFDIR}/torrc
diff --git a/net/tor/distinfo b/net/tor/distinfo
index c49b49eb69e..c3f54266300 100644
--- a/net/tor/distinfo
+++ b/net/tor/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.91 2018/06/17 08:29:11 wiz Exp $
+$NetBSD: distinfo,v 1.92 2018/07/13 15:26:32 adam Exp $
-SHA1 (tor-0.3.3.7.tar.gz) = fda0d35a38abc664e0f5aaebf99c0fd8fcdf6d62
-RMD160 (tor-0.3.3.7.tar.gz) = 04024193bfd7cb992410460b076117f77d7980f9
-SHA512 (tor-0.3.3.7.tar.gz) = 70c7d089fecde7d5c4ccf4fc0c774aa3da2121f297012065292f9e5efda54206365ef1fa830116ee143b027f5023a5eadcd6fd4629c4d2d930c12fa9fa7abf9d
-Size (tor-0.3.3.7.tar.gz) = 6564968 bytes
+SHA1 (tor-0.3.3.8.tar.gz) = 80a812a228731258dd3f87ebca87250d7a8f07d4
+RMD160 (tor-0.3.3.8.tar.gz) = 391e291703d1ce5a2359fc32cdf3d5607dd2e9f4
+SHA512 (tor-0.3.3.8.tar.gz) = b937f7f429690fa92d112d5bc48234c4b96f69614f319f04dab62e5b11b87e5e141d48642afac89e1dfe62a394d56b82ebf7fb1ac10de91923135a434a79718f
+Size (tor-0.3.3.8.tar.gz) = 6564878 bytes