Hi,

Below is a patch that updates Tor Browser to 9.0.6. Briefly tested on
amd64.

Note that I'm also removing aarch64 from ONLY_FOR_ARCHS. With the
recent big update of Tor Browser, I figured I would add aarch64 to see
what would happen (given that I do not have such a machine myself).
However, the aarch64 ports build logs [1] show that the bundled copy
of nspr is causing the build to fail. I see (at least) two options here:
1) we use nspr from devel/nspr; *however*, a comment in
tor-browser/browser/Makefile mentions that we "need" to use the bundled
nss, sqlite (and I assume nspr too). I don't know yet why that is the
case. If we really need the bundled nspr, we could ...
2) apply the patches from devel/nspr to this port too. I would like
to avoid this if possible.

But until then, Tor Browser is not buildable on aarch64. I would not
mind at all if someone interested in aarch64 support for this port
takes a look at this before I get a chance to do it :)

Thanks,
Caspar Schutijser


[1] 
http://build-failures.rhaalovely.net/aarch64/2020-03-06/www/tor-browser/browser.log


Index: meta/tor-browser/Makefile
===================================================================
RCS file: /cvs/ports/meta/tor-browser/Makefile,v
retrieving revision 1.20
diff -u -p -r1.20 Makefile
--- meta/tor-browser/Makefile   16 Feb 2020 10:45:59 -0000      1.20
+++ meta/tor-browser/Makefile   13 Mar 2020 17:28:31 -0000
@@ -4,11 +4,11 @@ COMMENT=      Tor Browser meta package
 
 MAINTAINER=    Caspar Schutijser <[email protected]>
 
-PKGNAME=       tor-browser-9.0.5
-ONLY_FOR_ARCHS =       amd64 i386 aarch64
+PKGNAME=       tor-browser-9.0.6
+ONLY_FOR_ARCHS =       amd64 i386
 
-RUN_DEPENDS=   www/tor-browser/browser>=9.0.5 \
-               www/tor-browser/noscript>=11.0.13 \
+RUN_DEPENDS=   www/tor-browser/browser>=9.0.6 \
+               www/tor-browser/noscript>=11.0.15 \
                www/tor-browser/https-everywhere>=2019.11.7 \
                net/tor>=0.4.2.5
 
Index: www/tor-browser/Makefile.inc
===================================================================
RCS file: /cvs/ports/www/tor-browser/Makefile.inc,v
retrieving revision 1.20
diff -u -p -r1.20 Makefile.inc
--- www/tor-browser/Makefile.inc        16 Feb 2020 10:45:59 -0000      1.20
+++ www/tor-browser/Makefile.inc        13 Mar 2020 17:28:31 -0000
@@ -5,7 +5,7 @@ HOMEPAGE ?=             https://www.torproject.org
 PERMIT_PACKAGE ?=      Yes
 CATEGORIES =           www
 BROWSER_NAME =         tor-browser
-TB_VERSION =           9.0.5
+TB_VERSION =           9.0.6
 TB_PREFIX =            tb
 
 SUBST_VARS +=          BROWSER_NAME TB_VERSION
Index: www/tor-browser/browser/Makefile
===================================================================
RCS file: /cvs/ports/www/tor-browser/browser/Makefile,v
retrieving revision 1.39
diff -u -p -r1.39 Makefile
--- www/tor-browser/browser/Makefile    16 Feb 2020 10:45:59 -0000      1.39
+++ www/tor-browser/browser/Makefile    13 Mar 2020 17:28:31 -0000
@@ -4,7 +4,7 @@
 # Makefile when editing this one (ESR versions not always the same).
 
 COMMENT =              modified version of Firefox ESR for browsing over Tor
-ONLY_FOR_ARCHS =       amd64 i386 aarch64
+ONLY_FOR_ARCHS =       amd64 i386
 
 MOZILLA_VERSION =      ${TB_VERSION}
 MOZILLA_PROJECT =      ${BROWSER_NAME}
@@ -15,7 +15,7 @@ EXTRACT_SUFX =                .tar.xz
 PATCHORIG =            .pat.orig
 
 PKGNAME =              ${TB_PREFIX}-browser-${TB_VERSION}
-DISTNAME =             src-firefox-tor-browser-68.5.0esr-9.0-1-build2
+DISTNAME =             src-firefox-tor-browser-68.6.0esr-9.0-1-build1
 
 DISTFILES +=           ${DISTNAME}.tar.xz \
                        src-tor-launcher-${TL_VERSION}.tar.xz
Index: www/tor-browser/browser/distinfo
===================================================================
RCS file: /cvs/ports/www/tor-browser/browser/distinfo,v
retrieving revision 1.18
diff -u -p -r1.18 distinfo
--- www/tor-browser/browser/distinfo    16 Feb 2020 10:45:59 -0000      1.18
+++ www/tor-browser/browser/distinfo    13 Mar 2020 17:28:31 -0000
@@ -1,4 +1,4 @@
-SHA256 (mozilla/src-firefox-tor-browser-68.5.0esr-9.0-1-build2.tar.xz) = 
v2YS7g9jlW3QkRcqhOYyzerXn7ceshEk1LALrlX2MVo=
+SHA256 (mozilla/src-firefox-tor-browser-68.6.0esr-9.0-1-build1.tar.xz) = 
QpN2Gl6RT27dsENKLgZgHYxkjCdN/wlG/S87CCwbLLY=
 SHA256 (mozilla/src-tor-launcher-0.2.20.5.tar.xz) = 
LVEbHAxcGf49cC8NF4bVYfFD7k2GA8SX+f+VA5p7L4U=
-SIZE (mozilla/src-firefox-tor-browser-68.5.0esr-9.0-1-build2.tar.xz) = 
347703552
+SIZE (mozilla/src-firefox-tor-browser-68.6.0esr-9.0-1-build1.tar.xz) = 
348498152
 SIZE (mozilla/src-tor-launcher-0.2.20.5.tar.xz) = 210916
Index: www/tor-browser/noscript/Makefile
===================================================================
RCS file: /cvs/ports/www/tor-browser/noscript/Makefile,v
retrieving revision 1.18
diff -u -p -r1.18 Makefile
--- www/tor-browser/noscript/Makefile   16 Feb 2020 10:45:59 -0000      1.18
+++ www/tor-browser/noscript/Makefile   13 Mar 2020 17:28:31 -0000
@@ -1,7 +1,7 @@
 # $OpenBSD: Makefile,v 1.18 2020/02/16 10:45:59 landry Exp $
 
 ADDON_NAME =           noscript
-V =                    11.0.13
+V =                    11.0.15
 COMMENT =              Tor Browser add-on: flexible JS blocker
 HOMEPAGE =             https://noscript.net
 MASTER_SITES =         https://secure.informaction.com/download/releases/
Index: www/tor-browser/noscript/distinfo
===================================================================
RCS file: /cvs/ports/www/tor-browser/noscript/distinfo,v
retrieving revision 1.15
diff -u -p -r1.15 distinfo
--- www/tor-browser/noscript/distinfo   16 Feb 2020 10:45:59 -0000      1.15
+++ www/tor-browser/noscript/distinfo   13 Mar 2020 17:28:31 -0000
@@ -1,2 +1,2 @@
-SHA256 (noscript-11.0.13.xpi) = ztcY2dnnGVR9s5KthdJKetXGtUzA+T+cV/L8tEu03lY=
-SIZE (noscript-11.0.13.xpi) = 573517
+SHA256 (noscript-11.0.15.xpi) = XnlfcRJ1+RYpVzIeUkXLAXbONs6KJBDelUlmcK9RYD0=
+SIZE (noscript-11.0.15.xpi) = 581665

Reply via email to