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:   leot
Date:           Sat Sep 19 18:22:01 UTC 2020

Modified Files:
        pkgsrc/net/tor: Makefile
Added Files:
        pkgsrc/net/tor: hacks.mk

Log Message:
tor: disable backtrace(3) support on netbsd-9 evbarm

backtrace(3) does not work on netbsd-9 ending up in a SIGSEGV and tor
process hanging forever (a simple way to reproduce without configuring
tor is just invoking tor via `tor --version').

Workaround for PR port-evbarm/55669.

PKGREVISION++


To generate a diff of this commit:
cvs rdiff -u -r1.156 -r1.157 pkgsrc/net/tor/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/net/tor/hacks.mk

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.156 pkgsrc/net/tor/Makefile:1.157
--- pkgsrc/net/tor/Makefile:1.156       Tue Sep 15 19:12:55 2020
+++ pkgsrc/net/tor/Makefile     Sat Sep 19 18:22:01 2020
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.156 2020/09/15 19:12:55 wiz Exp $
+# $NetBSD: Makefile,v 1.157 2020/09/19 18:22:01 leot Exp $
 
 DISTNAME=      tor-0.4.4.5
+PKGREVISION=   1
 CATEGORIES=    net security
 MASTER_SITES=  https://dist.torproject.org/
 

Added files:

Index: pkgsrc/net/tor/hacks.mk
diff -u /dev/null pkgsrc/net/tor/hacks.mk:1.1
--- /dev/null   Sat Sep 19 18:22:01 2020
+++ pkgsrc/net/tor/hacks.mk     Sat Sep 19 18:22:01 2020
@@ -0,0 +1,17 @@
+# $NetBSD: hacks.mk,v 1.1 2020/09/19 18:22:01 leot Exp $
+
+.if !defined(TOR_HACKS_MK)
+TOR_HACKS_MK=  defined
+
+# [Sat Sep 19 15:51:04 UTC 2020 : leot]
+# On NetBSD/evbarm - and only on netbsd-9 - calling backtrace(3) ends
+# up in a SIGSEGV, documented via PR port-evbarm/55669.
+# To reproduce with Tor, after removing this hack, calling
+# `tor --version' should ends up in the Tor process hanging forever
+# (instead printing the version to the stdout).
+.if !empty(MACHINE_PLATFORM:MNetBSD-9.*-*arm*)
+PKG_HACKS+=            disable-backtrace
+CONFIGURE_ENV+=                ac_cv_search_backtrace=no
+.endif
+
+.endif # TOR_HACKS_MK



Home | Main Index | Thread Index | Old Index