pkgsrc-Changes archive

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

CVS commit: pkgsrc/net/tor



Module Name:    pkgsrc
Committed By:   wiz
Date:           Mon Feb 15 19:01:31 UTC 2021

Modified Files:
        pkgsrc/net/tor: Makefile PLIST distinfo options.mk
Added Files:
        pkgsrc/net/tor/patches: patch-configure

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.159 -r1.160 pkgsrc/net/tor/Makefile
cvs rdiff -u -r1.14 -r1.15 pkgsrc/net/tor/PLIST
cvs rdiff -u -r1.111 -r1.112 pkgsrc/net/tor/distinfo
cvs rdiff -u -r1.15 -r1.16 pkgsrc/net/tor/options.mk
cvs rdiff -u -r0 -r1.3 pkgsrc/net/tor/patches/patch-configure

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

Modified files:

Index: pkgsrc/net/tor/Makefile
diff -u pkgsrc/net/tor/Makefile:1.159 pkgsrc/net/tor/Makefile:1.160
--- pkgsrc/net/tor/Makefile:1.159       Wed Feb  3 19:55:27 2021
+++ pkgsrc/net/tor/Makefile     Mon Feb 15 19:01:31 2021
@@ -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 @@ REPLACE_PERL+=                scripts/maint/checkSpace
 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"

Index: pkgsrc/net/tor/PLIST
diff -u pkgsrc/net/tor/PLIST:1.14 pkgsrc/net/tor/PLIST:1.15
--- pkgsrc/net/tor/PLIST:1.14   Tue Jan  8 08:39:55 2019
+++ pkgsrc/net/tor/PLIST        Mon Feb 15 19:01:31 2021
@@ -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

Index: pkgsrc/net/tor/distinfo
diff -u pkgsrc/net/tor/distinfo:1.111 pkgsrc/net/tor/distinfo:1.112
--- pkgsrc/net/tor/distinfo:1.111       Wed Feb  3 19:55:27 2021
+++ pkgsrc/net/tor/distinfo     Mon Feb 15 19:01:31 2021
@@ -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

Index: pkgsrc/net/tor/options.mk
diff -u pkgsrc/net/tor/options.mk:1.15 pkgsrc/net/tor/options.mk:1.16
--- pkgsrc/net/tor/options.mk:1.15      Wed Feb  3 19:55:27 2021
+++ pkgsrc/net/tor/options.mk   Mon Feb 15 19:01:31 2021
@@ -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 @@ CONFIGURE_ARGS+=     --disable-asciidoc
 #.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

Added files:

Index: pkgsrc/net/tor/patches/patch-configure
diff -u /dev/null pkgsrc/net/tor/patches/patch-configure:1.3
--- /dev/null   Mon Feb 15 19:01:31 2021
+++ pkgsrc/net/tor/patches/patch-configure      Mon Feb 15 19:01:31 2021
@@ -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