pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/tor tor: update to 0.4.5.6.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/82cdcbec5747
branches:  trunk
changeset: 447085:82cdcbec5747
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Mon Feb 15 19:01:31 2021 +0000

description:
tor: update to 0.4.5.6.

Changes in version 0.4.5.6 - 2021-02-15
  The Tor 0.4.5.x release series is dedicated to the memory of Karsten
  Loesing (1979-2020), Tor developer, cypherpunk, husband, and father.
  Karsten is best known for creating the Tor metrics portal and leading
  the metrics team, but he was involved in Tor from the early days. For
  example, while he was still a student he invented and implemented the
  v2 onion service directory design, and he also served as an ambassador
  to the many German researchers working in the anonymity field. We
  loved him and respected him for his patience, his consistency, and his
  welcoming approach to growing our community.

  This release series introduces significant improvements in relay IPv6
  address discovery, a new "MetricsPort" mechanism for relay operators
  to measure performance, LTTng support, build system improvements to
  help when using Tor as a static library, and significant bugfixes
  related to Windows relay performance. It also includes numerous
  smaller features and bugfixes.

diffstat:

 net/tor/Makefile                |   5 ++---
 net/tor/PLIST                   |   4 ++--
 net/tor/distinfo                |  11 ++++++-----
 net/tor/options.mk              |  29 ++++++++++++++++++++++++++---
 net/tor/patches/patch-configure |  15 +++++++++++++++
 5 files changed, 51 insertions(+), 13 deletions(-)

diffs (113 lines):

diff -r 168740cd661c -r 82cdcbec5747 net/tor/Makefile
--- a/net/tor/Makefile  Mon Feb 15 19:01:10 2021 +0000
+++ b/net/tor/Makefile  Mon Feb 15 19:01:31 2021 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.159 2021/02/03 19:55:27 wiz Exp $
+# $NetBSD: Makefile,v 1.160 2021/02/15 19:01:31 wiz Exp $
 
-DISTNAME=      tor-0.4.4.7
+DISTNAME=      tor-0.4.5.6
 CATEGORIES=    net security
 MASTER_SITES=  https://dist.torproject.org/
 
@@ -66,7 +66,6 @@
 CFLAGS+=               -c99
 .endif
 
-.include "../../archivers/zstd/buildlink3.mk"
 BUILDLINK_API_DEPENDS.libevent+= libevent>=2.0
 .include "../../devel/libevent/buildlink3.mk"
 .include "../../devel/zlib/buildlink3.mk"
diff -r 168740cd661c -r 82cdcbec5747 net/tor/PLIST
--- a/net/tor/PLIST     Mon Feb 15 19:01:10 2021 +0000
+++ b/net/tor/PLIST     Mon Feb 15 19:01:31 2021 +0000
@@ -1,6 +1,6 @@
-@comment $NetBSD: PLIST,v 1.14 2019/01/08 08:39:55 adam Exp $
+@comment $NetBSD: PLIST,v 1.15 2021/02/15 19:01:31 wiz Exp $
 bin/tor
-bin/tor-gencert
+${PLIST.gencert}bin/tor-gencert
 bin/tor-print-ed-signing-cert
 bin/tor-resolve
 bin/torify
diff -r 168740cd661c -r 82cdcbec5747 net/tor/distinfo
--- a/net/tor/distinfo  Mon Feb 15 19:01:10 2021 +0000
+++ b/net/tor/distinfo  Mon Feb 15 19:01:31 2021 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.111 2021/02/03 19:55:27 wiz Exp $
+$NetBSD: distinfo,v 1.112 2021/02/15 19:01:31 wiz Exp $
 
-SHA1 (tor-0.4.4.7.tar.gz) = 5e360c61792320e8306db3c5d12ff81780b03104
-RMD160 (tor-0.4.4.7.tar.gz) = 6a9fa849da4229a417c24e52dfe67ec0d8a96614
-SHA512 (tor-0.4.4.7.tar.gz) = 356e9569eb79d81bccba1360d10af7d78f3824d5a4827fc95272a952fc8e5bebdfa9ec99fa82992c025625d6da963c15803acbabd66cd59c587c1e042af16acc
-Size (tor-0.4.4.7.tar.gz) = 7812645 bytes
+SHA1 (tor-0.4.5.6.tar.gz) = 4bcb5cbe8aeb857615b2c9107de6980e4b416d81
+RMD160 (tor-0.4.5.6.tar.gz) = 5c76b6154e2156241b195ce743d8085e1dabfc81
+SHA512 (tor-0.4.5.6.tar.gz) = 3759657a997f4aabdfef6ad3f5da16085a1dd3353015db8283a21fcb1d658ca390bc3c36387a89c99baf2069c6e1d392a1fef4b3eba24ee1f2b408acbc103f9d
+Size (tor-0.4.5.6.tar.gz) = 7926711 bytes
+SHA1 (patch-configure) = 59d0245fc0c21f4dedf62df396100a899361611c
diff -r 168740cd661c -r 82cdcbec5747 net/tor/options.mk
--- a/net/tor/options.mk        Mon Feb 15 19:01:10 2021 +0000
+++ b/net/tor/options.mk        Mon Feb 15 19:01:31 2021 +0000
@@ -1,12 +1,13 @@
-# $NetBSD: options.mk,v 1.15 2021/02/03 19:55:27 wiz Exp $
+# $NetBSD: options.mk,v 1.16 2021/02/15 19:01:31 wiz Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.tor
-PKG_SUPPORTED_OPTIONS= doc # rust
-PKG_SUGGESTED_OPTIONS+=        doc
+PKG_SUPPORTED_OPTIONS= doc lzma nss zstd # rust
+PKG_SUGGESTED_OPTIONS+=        doc zstd
 
 .include "../../mk/bsd.options.mk"
 
 PLIST_VARS+=           doc
+PLIST_VARS+=           gencert
 
 ###
 ### This enables the build of manual pages. It requires asciidoc
@@ -50,3 +51,25 @@
 #.else
 CONFIGURE_ARGS+=       --disable-rust
 #.endif
+
+.if !empty(PKG_OPTIONS:Mlzma)
+CONFIGURE_ARGS+=       --enable-lzma
+.include "../../archivers/lzmalib/buildlink3.mk"
+.else
+CONFIGURE_ARGS+=       --disable-lzma
+.endif
+
+.if !empty(PKG_OPTIONS:Mnss)
+CONFIGURE_ARGS+=       --enable-nss
+.include "../../devel/nss/buildlink3.mk"
+.else
+CONFIGURE_ARGS+=       --disable-nss
+PLIST.gencert=         yes
+.endif
+
+.if !empty(PKG_OPTIONS:Mzstd)
+CONFIGURE_ARGS+=       --enable-zstd
+.include "../../archivers/zstd/buildlink3.mk"
+.else
+CONFIGURE_ARGS+=       --disable-zstd
+.endif
diff -r 168740cd661c -r 82cdcbec5747 net/tor/patches/patch-configure
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/tor/patches/patch-configure   Mon Feb 15 19:01:31 2021 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-configure,v 1.3 2021/02/15 19:01:31 wiz Exp $
+
+Fix unportable test(1) operator.
+
+--- configure.orig     2021-02-15 15:47:45.000000000 +0000
++++ configure
+@@ -10385,7 +10385,7 @@ else
+ 
+    # This is a kludge to figure out whether compilation failed, or whether
+    # running the program failed.
+-   if test "$ac_retval" == "1"; then
++   if test "$ac_retval" = "1"; then
+       openssl_ver_mismatch=inconclusive
+    else
+       openssl_ver_mismatch=yes



Home | Main Index | Thread Index | Old Index