git: 5eb3c36f3a38 - main - www/tor-browser: update to 12.0.5

From: Rene Ladan <rene_at_FreeBSD.org>
Date: Mon, 24 Apr 2023 18:00:13 UTC
The branch main has been updated by rene:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5eb3c36f3a3887ef59f0fc7175359e55c4ab5ee3

commit 5eb3c36f3a3887ef59f0fc7175359e55c4ab5ee3
Author:     Rene Ladan <rene@FreeBSD.org>
AuthorDate: 2023-04-23 11:51:07 +0000
Commit:     Rene Ladan <rene@FreeBSD.org>
CommitDate: 2023-04-24 17:59:25 +0000

    www/tor-browser: update to 12.0.5
    
    - This updates the Firefox-ESR code to 102.10, no local changes since 102.7
    - Only enable rust-simd on amd64 as it breaks the build on at least i386
      (www/firefox-esr has it disabled globally)
    
    While here bump USES=python to 3.7+
    
    PR:             271043
    Approved by:    maintainer (freebsd@sysctl.cz)
---
 www/tor-browser/Makefile | 11 ++++++-----
 www/tor-browser/distinfo |  6 +++---
 2 files changed, 9 insertions(+), 8 deletions(-)

diff --git a/www/tor-browser/Makefile b/www/tor-browser/Makefile
index 682f9793fecd..7e0c90cbb75b 100644
--- a/www/tor-browser/Makefile
+++ b/www/tor-browser/Makefile
@@ -1,10 +1,9 @@
 PORTNAME=	tor-browser
-DISTVERSION=	12.0.2
-PORTREVISION=	7 # previous DISTVERSION was 12.0-2 which becomes 12.0.2 too in 1
+DISTVERSION=	12.0.5
 CATEGORIES=	www net security wayland
 MASTER_SITES=	TOR
 MASTER_SITE_SUBDIR=torbrowser/${DISTVERSION}
-DISTNAME=	src-firefox-tor-browser-102.7.0esr-${DISTVERSION:R}-1-build1
+DISTNAME=	src-firefox-tor-browser-102.10.0esr-${DISTVERSION:R}-1-build2
 
 MAINTAINER=	freebsd@sysctl.cz
 COMMENT=	Tor Browser for FreeBSD
@@ -29,7 +28,7 @@ RUN_DEPENDS=	tor:security/tor \
 		obfs4proxy:security/obfs4proxy-tor
 
 USES=		compiler:c++11-lib libtool \
-		perl5 pkgconfig python:3.4+ shebangfix localbase:ldflags tar:xz
+		perl5 pkgconfig python:3.7+ shebangfix localbase:ldflags tar:xz
 USE_GECKO=	gecko
 
 SSP_UNSAFE=	yes
@@ -51,7 +50,6 @@ MOZ_EXPORT+=	MOZ_TELEMETRY_REPORTING="" \
 MOZ_OPTIONS=	--with-tor-browser-version=${DISTVERSION}-1 \
 	--enable-official-branding \
 	--enable-optimize \
-	--enable-rust-simd \
 	--enable-bundled-fonts \
 	--disable-tests \
 	--disable-debug \
@@ -70,6 +68,9 @@ WRKSRC=		${WRKDIR}/${DISTNAME:S/src-//}
 .include	"${.CURDIR}/../../www/firefox/Makefile.options"
 .include <bsd.port.options.mk>
 
+.if ${ARCH} == amd64
+MOZ_OPTIONS+=	--enable-rust-simd
+.endif
 .if ${ARCH} == powerpc64
 MOZ_OPTIONS+=	--disable-webrtc --without-wasm-sandboxed-libraries
 .else
diff --git a/www/tor-browser/distinfo b/www/tor-browser/distinfo
index decaa1298c6f..8a1145e1d515 100644
--- a/www/tor-browser/distinfo
+++ b/www/tor-browser/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1674405921
-SHA256 (src-firefox-tor-browser-102.7.0esr-12.0-1-build1.tar.xz) = da8c3a9775f4f808ea78428cadbe848d0f2fdf26a6c193b3452590e24f557bf3
-SIZE (src-firefox-tor-browser-102.7.0esr-12.0-1-build1.tar.xz) = 511809384
+TIMESTAMP = 1682198187
+SHA256 (src-firefox-tor-browser-102.10.0esr-12.0-1-build2.tar.xz) = 2c8eae982f992e7c4b8b38d91664123c0080f081f6f832319b981f65d40c912f
+SIZE (src-firefox-tor-browser-102.10.0esr-12.0-1-build2.tar.xz) = 511962796