UPDATE: Tor Browser 10.0.8

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

UPDATE: Tor Browser 10.0.8

Caspar Schutijser
Hi,

The diff below updates Tor Browser to 10.0.8. Tested on amd64. More
information can be found here:
https://blog.torproject.org/new-release-tor-browser-1008

In addition to that, I found out that upstream provides distfiles for
old releases on archive.torproject.org so from now on, let's use that
instead of my own machine as the second MASTER_SITES.

Thanks,
Caspar Schutijser


Index: meta/tor-browser/Makefile
===================================================================
RCS file: /cvs/ports/meta/tor-browser/Makefile,v
retrieving revision 1.33
diff -u -p -r1.33 Makefile
--- meta/tor-browser/Makefile 16 Dec 2020 21:33:14 -0000 1.33
+++ meta/tor-browser/Makefile 13 Jan 2021 20:57:10 -0000
@@ -4,11 +4,11 @@ COMMENT= Tor Browser meta package
 
 MAINTAINER= Caspar Schutijser <[hidden email]>
 
-PKGNAME= tor-browser-10.0.7
+PKGNAME= tor-browser-10.0.8
 ONLY_FOR_ARCHS = amd64 i386
 
-RUN_DEPENDS= www/tor-browser/browser>=10.0.7 \
- www/tor-browser/noscript>=11.1.5 \
+RUN_DEPENDS= www/tor-browser/browser>=10.0.8 \
+ www/tor-browser/noscript>=11.1.7 \
  net/tor>=0.4.4.6
 
 .include <bsd.port.mk>
Index: www/tor-browser/Makefile.inc
===================================================================
RCS file: /cvs/ports/www/tor-browser/Makefile.inc,v
retrieving revision 1.33
diff -u -p -r1.33 Makefile.inc
--- www/tor-browser/Makefile.inc 16 Dec 2020 21:33:14 -0000 1.33
+++ www/tor-browser/Makefile.inc 13 Jan 2021 20:57:10 -0000
@@ -5,7 +5,7 @@ HOMEPAGE ?= https://www.torproject.org
 PERMIT_PACKAGE ?= Yes
 CATEGORIES = www
 BROWSER_NAME = tor-browser
-TB_VERSION = 10.0.7
+TB_VERSION = 10.0.8
 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.54
diff -u -p -r1.54 Makefile
--- www/tor-browser/browser/Makefile 16 Dec 2020 21:33:14 -0000 1.54
+++ www/tor-browser/browser/Makefile 13 Jan 2021 20:57:10 -0000
@@ -16,7 +16,7 @@ EXTRACT_SUFX = .tar.xz
 PATCHORIG = .pat.orig
 
 PKGNAME = ${TB_PREFIX}-browser-${TB_VERSION}
-DISTNAME = src-firefox-tor-browser-78.6.0esr-10.0-1-build1
+DISTNAME = src-firefox-tor-browser-78.6.1esr-10.0-1-build1
 
 FIX_EXTRACT_PERMISSIONS = Yes
 EXTRACT_ONLY += ${DISTNAME}.tar.xz \
@@ -35,7 +35,7 @@ MOZILLA_LIBS += nspr4 mozsqlite3 plc4 p
 PERMIT_PACKAGE= Yes
 
 MASTER_SITES = https://dist.torproject.org/torbrowser/${TB_VERSION}/ \
- https://temp.schutijser.com/~caspar/tor-browser/
+ https://archive.torproject.org/tor-package-archive/torbrowser/${TB_VERSION}/
 MASTER_SITES0 = https://www.eff.org/files/
 
 MODULES = www/mozilla lang/python
Index: www/tor-browser/browser/distinfo
===================================================================
RCS file: /cvs/ports/www/tor-browser/browser/distinfo,v
retrieving revision 1.32
diff -u -p -r1.32 distinfo
--- www/tor-browser/browser/distinfo 16 Dec 2020 21:33:14 -0000 1.32
+++ www/tor-browser/browser/distinfo 13 Jan 2021 20:57:10 -0000
@@ -1,8 +1,8 @@
 SHA256 (mozilla/https-everywhere-2020.11.17-eff.xpi) = lKAbLNrgTxWrKNuf3qvu8X3zqWxYe1L/xj3GfW8Ypv4=
-SHA256 (mozilla/src-firefox-tor-browser-78.6.0esr-10.0-1-build1.tar.xz) = rWiL5DEC3jjxOOV2zfcAGsnZIGrVjxQ038BGTMkFA3A=
+SHA256 (mozilla/src-firefox-tor-browser-78.6.1esr-10.0-1-build1.tar.xz) = y74FAo0ybauMf7HsM3pegA55gTpIGoCWhHe1wfKi1PY=
 SHA256 (mozilla/src-tor-launcher-0.2.26.tar.xz) = JNovULiGxs68qC1A5c4zKaZHGGGlpj9ohKT8nQFKmNU=
-SHA256 (mozilla/tor-browser-linux64-10.0.7_en-US.tar.xz) = owBaWJ00hJOiOaavzn6pWeDYCfSPQhZC0GArmlzTGN4=
+SHA256 (mozilla/tor-browser-linux64-10.0.8_en-US.tar.xz) = 23sp9vMbXg/c4o9wm+G0bW4KaP7lCUMpSQNK/5mSmeo=
 SIZE (mozilla/https-everywhere-2020.11.17-eff.xpi) = 1739720
-SIZE (mozilla/src-firefox-tor-browser-78.6.0esr-10.0-1-build1.tar.xz) = 364785260
+SIZE (mozilla/src-firefox-tor-browser-78.6.1esr-10.0-1-build1.tar.xz) = 364117308
 SIZE (mozilla/src-tor-launcher-0.2.26.tar.xz) = 217792
-SIZE (mozilla/tor-browser-linux64-10.0.7_en-US.tar.xz) = 85897204
+SIZE (mozilla/tor-browser-linux64-10.0.8_en-US.tar.xz) = 85903736
Index: www/tor-browser/browser/patches/patch-dom_webgpu_ipc_WebGPUParent_cpp
===================================================================
RCS file: www/tor-browser/browser/patches/patch-dom_webgpu_ipc_WebGPUParent_cpp
diff -N www/tor-browser/browser/patches/patch-dom_webgpu_ipc_WebGPUParent_cpp
--- www/tor-browser/browser/patches/patch-dom_webgpu_ipc_WebGPUParent_cpp 5 Jan 2021 10:29:44 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,28 +0,0 @@
-$OpenBSD: patch-dom_webgpu_ipc_WebGPUParent_cpp,v 1.1 2021/01/05 10:29:44 landry Exp $
-
-https://hg.mozilla.org/releases/mozilla-esr78/rev/a1f99bfc3ee5
-
-Index: dom/webgpu/ipc/WebGPUParent.cpp
---- dom/webgpu/ipc/WebGPUParent.cpp.orig
-+++ dom/webgpu/ipc/WebGPUParent.cpp
-@@ -423,17 +423,15 @@ ipc::IPCResult WebGPUParent::RecvDeviceCreateBindGroup
-     switch (entry.mType) {
-       case SerialBindGroupEntryType::Buffer:
-         bgb.resource.tag = ffi::WGPUBindingResource_Buffer;
--        bgb.resource.buffer._0.buffer = entry.mValue;
--        bgb.resource.buffer._0.offset = entry.mBufferOffset;
--        bgb.resource.buffer._0.size = entry.mBufferSize;
-+        bgb.resource.buffer = {entry.mValue, entry.mBufferOffset, entry.mBufferSize};
-         break;
-       case SerialBindGroupEntryType::Texture:
-         bgb.resource.tag = ffi::WGPUBindingResource_TextureView;
--        bgb.resource.texture_view._0 = entry.mValue;
-+        bgb.resource.texture_view = {entry.mValue};
-         break;
-       case SerialBindGroupEntryType::Sampler:
-         bgb.resource.tag = ffi::WGPUBindingResource_Sampler;
--        bgb.resource.sampler._0 = entry.mValue;
-+        bgb.resource.sampler = {entry.mValue};
-         break;
-       default:
-         MOZ_CRASH("unreachable");
Index: www/tor-browser/noscript/Makefile
===================================================================
RCS file: /cvs/ports/www/tor-browser/noscript/Makefile,v
retrieving revision 1.28
diff -u -p -r1.28 Makefile
--- www/tor-browser/noscript/Makefile 14 Nov 2020 11:53:28 -0000 1.28
+++ www/tor-browser/noscript/Makefile 13 Jan 2021 20:57:10 -0000
@@ -1,7 +1,7 @@
 # $OpenBSD: Makefile,v 1.28 2020/11/14 11:53:28 sthen Exp $
 
 ADDON_NAME = noscript
-V = 11.1.5
+V = 11.1.7
 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.25
diff -u -p -r1.25 distinfo
--- www/tor-browser/noscript/distinfo 14 Nov 2020 11:53:28 -0000 1.25
+++ www/tor-browser/noscript/distinfo 13 Jan 2021 20:57:10 -0000
@@ -1,2 +1,2 @@
-SHA256 (noscript-11.1.5.xpi) = BMppyQUC87Zs0YpPgyy5FbeJsUf/2Ua0jx37EhXrU5g=
-SIZE (noscript-11.1.5.xpi) = 601882
+SHA256 (noscript-11.1.7.xpi) = nWX8JQIKofAtmoARIifNTB5FiNtthzcth6jxUTIITEM=
+SIZE (noscript-11.1.7.xpi) = 603151

Reply | Threaded
Open this post in threaded view
|

Re: UPDATE: Tor Browser 10.0.8

Dimitri Karamazov
On Mon, Jan 13, 2021 at 08:57:58PM +0000, Caspar Schutijser wrote:

> Hi,
>
> The diff below updates Tor Browser to 10.0.8. Tested on amd64. More
> information can be found here:
> https://blog.torproject.org/new-release-tor-browser-1008
>
> In addition to that, I found out that upstream provides distfiles for
> old releases on archive.torproject.org so from now on, let's use that
> instead of my own machine as the second MASTER_SITES.
>
> Thanks,
> Caspar Schutijser
>
Works fine for me :)

regards,
  Dimitri

>
> Index: meta/tor-browser/Makefile
> ===================================================================
> RCS file: /cvs/ports/meta/tor-browser/Makefile,v
> retrieving revision 1.33
> diff -u -p -r1.33 Makefile
> --- meta/tor-browser/Makefile 16 Dec 2020 21:33:14 -0000 1.33
> +++ meta/tor-browser/Makefile 13 Jan 2021 20:57:10 -0000
> @@ -4,11 +4,11 @@ COMMENT= Tor Browser meta package
>  
>  MAINTAINER= Caspar Schutijser <[hidden email]>
>  
> -PKGNAME= tor-browser-10.0.7
> +PKGNAME= tor-browser-10.0.8
>  ONLY_FOR_ARCHS = amd64 i386
>  
> -RUN_DEPENDS= www/tor-browser/browser>=10.0.7 \
> - www/tor-browser/noscript>=11.1.5 \
> +RUN_DEPENDS= www/tor-browser/browser>=10.0.8 \
> + www/tor-browser/noscript>=11.1.7 \
>   net/tor>=0.4.4.6
>  
>  .include <bsd.port.mk>
> Index: www/tor-browser/Makefile.inc
> ===================================================================
> RCS file: /cvs/ports/www/tor-browser/Makefile.inc,v
> retrieving revision 1.33
> diff -u -p -r1.33 Makefile.inc
> --- www/tor-browser/Makefile.inc 16 Dec 2020 21:33:14 -0000 1.33
> +++ www/tor-browser/Makefile.inc 13 Jan 2021 20:57:10 -0000
> @@ -5,7 +5,7 @@ HOMEPAGE ?= https://www.torproject.org
>  PERMIT_PACKAGE ?= Yes
>  CATEGORIES = www
>  BROWSER_NAME = tor-browser
> -TB_VERSION = 10.0.7
> +TB_VERSION = 10.0.8
>  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.54
> diff -u -p -r1.54 Makefile
> --- www/tor-browser/browser/Makefile 16 Dec 2020 21:33:14 -0000 1.54
> +++ www/tor-browser/browser/Makefile 13 Jan 2021 20:57:10 -0000
> @@ -16,7 +16,7 @@ EXTRACT_SUFX = .tar.xz
>  PATCHORIG = .pat.orig
>  
>  PKGNAME = ${TB_PREFIX}-browser-${TB_VERSION}
> -DISTNAME = src-firefox-tor-browser-78.6.0esr-10.0-1-build1
> +DISTNAME = src-firefox-tor-browser-78.6.1esr-10.0-1-build1
>  
>  FIX_EXTRACT_PERMISSIONS = Yes
>  EXTRACT_ONLY += ${DISTNAME}.tar.xz \
> @@ -35,7 +35,7 @@ MOZILLA_LIBS += nspr4 mozsqlite3 plc4 p
>  PERMIT_PACKAGE= Yes
>  
>  MASTER_SITES = https://dist.torproject.org/torbrowser/${TB_VERSION}/ \
> - https://temp.schutijser.com/~caspar/tor-browser/
> + https://archive.torproject.org/tor-package-archive/torbrowser/${TB_VERSION}/
>  MASTER_SITES0 = https://www.eff.org/files/
>  
>  MODULES = www/mozilla lang/python
> Index: www/tor-browser/browser/distinfo
> ===================================================================
> RCS file: /cvs/ports/www/tor-browser/browser/distinfo,v
> retrieving revision 1.32
> diff -u -p -r1.32 distinfo
> --- www/tor-browser/browser/distinfo 16 Dec 2020 21:33:14 -0000 1.32
> +++ www/tor-browser/browser/distinfo 13 Jan 2021 20:57:10 -0000
> @@ -1,8 +1,8 @@
>  SHA256 (mozilla/https-everywhere-2020.11.17-eff.xpi) = lKAbLNrgTxWrKNuf3qvu8X3zqWxYe1L/xj3GfW8Ypv4=
> -SHA256 (mozilla/src-firefox-tor-browser-78.6.0esr-10.0-1-build1.tar.xz) = rWiL5DEC3jjxOOV2zfcAGsnZIGrVjxQ038BGTMkFA3A=
> +SHA256 (mozilla/src-firefox-tor-browser-78.6.1esr-10.0-1-build1.tar.xz) = y74FAo0ybauMf7HsM3pegA55gTpIGoCWhHe1wfKi1PY=
>  SHA256 (mozilla/src-tor-launcher-0.2.26.tar.xz) = JNovULiGxs68qC1A5c4zKaZHGGGlpj9ohKT8nQFKmNU=
> -SHA256 (mozilla/tor-browser-linux64-10.0.7_en-US.tar.xz) = owBaWJ00hJOiOaavzn6pWeDYCfSPQhZC0GArmlzTGN4=
> +SHA256 (mozilla/tor-browser-linux64-10.0.8_en-US.tar.xz) = 23sp9vMbXg/c4o9wm+G0bW4KaP7lCUMpSQNK/5mSmeo=
>  SIZE (mozilla/https-everywhere-2020.11.17-eff.xpi) = 1739720
> -SIZE (mozilla/src-firefox-tor-browser-78.6.0esr-10.0-1-build1.tar.xz) = 364785260
> +SIZE (mozilla/src-firefox-tor-browser-78.6.1esr-10.0-1-build1.tar.xz) = 364117308
>  SIZE (mozilla/src-tor-launcher-0.2.26.tar.xz) = 217792
> -SIZE (mozilla/tor-browser-linux64-10.0.7_en-US.tar.xz) = 85897204
> +SIZE (mozilla/tor-browser-linux64-10.0.8_en-US.tar.xz) = 85903736
> Index: www/tor-browser/browser/patches/patch-dom_webgpu_ipc_WebGPUParent_cpp
> ===================================================================
> RCS file: www/tor-browser/browser/patches/patch-dom_webgpu_ipc_WebGPUParent_cpp
> diff -N www/tor-browser/browser/patches/patch-dom_webgpu_ipc_WebGPUParent_cpp
> --- www/tor-browser/browser/patches/patch-dom_webgpu_ipc_WebGPUParent_cpp 5 Jan 2021 10:29:44 -0000 1.1
> +++ /dev/null 1 Jan 1970 00:00:00 -0000
> @@ -1,28 +0,0 @@
> -$OpenBSD: patch-dom_webgpu_ipc_WebGPUParent_cpp,v 1.1 2021/01/05 10:29:44 landry Exp $
> -
> -https://hg.mozilla.org/releases/mozilla-esr78/rev/a1f99bfc3ee5
> -
> -Index: dom/webgpu/ipc/WebGPUParent.cpp
> ---- dom/webgpu/ipc/WebGPUParent.cpp.orig
> -+++ dom/webgpu/ipc/WebGPUParent.cpp
> -@@ -423,17 +423,15 @@ ipc::IPCResult WebGPUParent::RecvDeviceCreateBindGroup
> -     switch (entry.mType) {
> -       case SerialBindGroupEntryType::Buffer:
> -         bgb.resource.tag = ffi::WGPUBindingResource_Buffer;
> --        bgb.resource.buffer._0.buffer = entry.mValue;
> --        bgb.resource.buffer._0.offset = entry.mBufferOffset;
> --        bgb.resource.buffer._0.size = entry.mBufferSize;
> -+        bgb.resource.buffer = {entry.mValue, entry.mBufferOffset, entry.mBufferSize};
> -         break;
> -       case SerialBindGroupEntryType::Texture:
> -         bgb.resource.tag = ffi::WGPUBindingResource_TextureView;
> --        bgb.resource.texture_view._0 = entry.mValue;
> -+        bgb.resource.texture_view = {entry.mValue};
> -         break;
> -       case SerialBindGroupEntryType::Sampler:
> -         bgb.resource.tag = ffi::WGPUBindingResource_Sampler;
> --        bgb.resource.sampler._0 = entry.mValue;
> -+        bgb.resource.sampler = {entry.mValue};
> -         break;
> -       default:
> -         MOZ_CRASH("unreachable");
> Index: www/tor-browser/noscript/Makefile
> ===================================================================
> RCS file: /cvs/ports/www/tor-browser/noscript/Makefile,v
> retrieving revision 1.28
> diff -u -p -r1.28 Makefile
> --- www/tor-browser/noscript/Makefile 14 Nov 2020 11:53:28 -0000 1.28
> +++ www/tor-browser/noscript/Makefile 13 Jan 2021 20:57:10 -0000
> @@ -1,7 +1,7 @@
>  # $OpenBSD: Makefile,v 1.28 2020/11/14 11:53:28 sthen Exp $
>  
>  ADDON_NAME = noscript
> -V = 11.1.5
> +V = 11.1.7
>  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.25
> diff -u -p -r1.25 distinfo
> --- www/tor-browser/noscript/distinfo 14 Nov 2020 11:53:28 -0000 1.25
> +++ www/tor-browser/noscript/distinfo 13 Jan 2021 20:57:10 -0000
> @@ -1,2 +1,2 @@
> -SHA256 (noscript-11.1.5.xpi) = BMppyQUC87Zs0YpPgyy5FbeJsUf/2Ua0jx37EhXrU5g=
> -SIZE (noscript-11.1.5.xpi) = 601882
> +SHA256 (noscript-11.1.7.xpi) = nWX8JQIKofAtmoARIifNTB5FiNtthzcth6jxUTIITEM=
> +SIZE (noscript-11.1.7.xpi) = 603151