From 935e645a192b4a2b7a549f9e3fccf070f2f9a8eb Mon Sep 17 00:00:00 2001 From: adam Date: Tue, 8 Jan 2019 08:39:55 +0000 Subject: [PATCH] tor: updated to 0.3.5.7 Changes in version 0.3.5.7: Tor 0.3.5.7 is the first stable release in its series; it includes compilation and portability fixes, and a fix for a severe problem affecting directory caches. The Tor 0.3.5 series includes several new features and performance improvements, including client authorization for v3 onion services, cleanups to bootstrap reporting, support for improved bandwidth- measurement tools, experimental support for NSS in place of OpenSSL, and much more. It also begins a full reorganization of Tor's code layout, for improved modularity and maintainability in the future. Finally, there is the usual set of performance improvements and bugfixes that we try to do in every release series. There are a couple of changes in the 0.3.5 that may affect compatibility. First, the default version for newly created onion services is now v3. Use the HiddenServiceVersion option if you want to override this. Second, some log messages related to bootstrapping have changed; if you use stem, you may need to update to the latest version so it will recognize them. We have designated 0.3.5 as a "long-term support" (LTS) series: we will continue to patch major bugs in typical configurations of 0.3.5 until at least 1 Feb 2022. (We do not plan to provide long-term support for embedding, Rust support, NSS support, running a directory authority, or unsupported platforms. For these, you will need to stick with the latest stable release.) --- net/tor/Makefile | 10 +++++----- net/tor/PLIST | 5 ++++- net/tor/distinfo | 10 +++++----- 3 files changed, 14 insertions(+), 11 deletions(-) diff --git a/net/tor/Makefile b/net/tor/Makefile index c17a793fa7ed..dc7f252f4a6b 100644 --- a/net/tor/Makefile +++ b/net/tor/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.135 2018/11/06 19:32:30 adam Exp $ +# $NetBSD: Makefile,v 1.136 2019/01/08 08:39:55 adam Exp $ -DISTNAME= tor-0.3.4.9 +DISTNAME= tor-0.3.5.7 CATEGORIES= net security MASTER_SITES= https://dist.torproject.org/ @@ -11,6 +11,7 @@ LICENSE= modified-bsd USE_LANGUAGES= c99 USE_PKGLOCALEDIR= yes +USE_TOOLS+= perl:test GNU_CONFIGURE= yes CONFIGURE_ARGS+= --localstatedir=${VARBASE} CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFBASEDIR} @@ -38,8 +39,8 @@ USER_GROUP= ${TOR_USER} ${TOR_GROUP} OWN_DIRS_PERMS+= ${PKG_HOME.${TOR_USER}} ${USER_GROUP} 0700 -CONF_FILES+= ${PREFIX}/share/examples/tor/torrc.sample \ - ${PKG_SYSCONFDIR}/torrc +CONF_FILES+= ${PREFIX}/share/examples/tor/torrc.sample \ + ${PKG_SYSCONFDIR}/torrc PRINT_PLIST_AWK+= /^man\/man/ { $$0 = "$${PLIST.doc}" $$0 } PRINT_PLIST_AWK+= /^share\/doc/ { $$0 = "$${PLIST.doc}" $$0 } @@ -65,7 +66,6 @@ BUILDLINK_API_DEPENDS.openssl+= openssl>=1.0 .include "../../mk/pthread.buildlink3.mk" ## We include this after other b3.mk files since we use PTHREAD_TYPE. -## .include "options.mk" .include "../../mk/bsd.pkg.mk" diff --git a/net/tor/PLIST b/net/tor/PLIST index 8b9b1d9a24c7..c93fb70decf0 100644 --- a/net/tor/PLIST +++ b/net/tor/PLIST @@ -1,13 +1,16 @@ -@comment $NetBSD: PLIST,v 1.13 2017/05/13 20:25:44 alnsn Exp $ +@comment $NetBSD: PLIST,v 1.14 2019/01/08 08:39:55 adam Exp $ bin/tor bin/tor-gencert +bin/tor-print-ed-signing-cert bin/tor-resolve bin/torify ${PLIST.doc}man/man1/tor-gencert.1 +${PLIST.doc}man/man1/tor-print-ed-signing-cert.1 ${PLIST.doc}man/man1/tor-resolve.1 ${PLIST.doc}man/man1/tor.1 ${PLIST.doc}man/man1/torify.1 ${PLIST.doc}share/doc/tor/tor-gencert.html +${PLIST.doc}share/doc/tor/tor-print-ed-signing-cert.html ${PLIST.doc}share/doc/tor/tor-resolve.html ${PLIST.doc}share/doc/tor/tor.html ${PLIST.doc}share/doc/tor/torify.html diff --git a/net/tor/distinfo b/net/tor/distinfo index dbc3f313103c..1627dabc4b5c 100644 --- a/net/tor/distinfo +++ b/net/tor/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.95 2018/11/06 19:32:30 adam Exp $ +$NetBSD: distinfo,v 1.96 2019/01/08 08:39:55 adam Exp $ -SHA1 (tor-0.3.4.9.tar.gz) = c6830f260c400795aaaaaa865f9f418016e16299 -RMD160 (tor-0.3.4.9.tar.gz) = a0b904105d534e790a3a380f5bbafe8c5e4d43a0 -SHA512 (tor-0.3.4.9.tar.gz) = cc254a2cc2f21b4511e9cb215ba5f05fefc4dceffcf46a402efa2d3540872a4ed8e0095245df0802ea12c1367451bc16ca60c0aea6a77e2139580f3c5ba8c02f -Size (tor-0.3.4.9.tar.gz) = 6695931 bytes +SHA1 (tor-0.3.5.7.tar.gz) = 620c4cf306ec641e203541f9990acefb6a40a8d1 +RMD160 (tor-0.3.5.7.tar.gz) = 136a4926c6b3dc157c4a1f4c5539368743adca80 +SHA512 (tor-0.3.5.7.tar.gz) = e3a7be620c228c3bc73ea9350a19abecb0ac6dae2b309d6233151ab2377c754110a9854d8d221f380f80cffa2f723d266bd09b3432ae33c319c0fe9a7e538bc9 +Size (tor-0.3.5.7.tar.gz) = 6934521 bytes