Skip to content

Commit

Permalink
www/tor-browser: update to 12.0.5
Browse files Browse the repository at this point in the history
- 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)
  • Loading branch information
rene0 committed Apr 24, 2023
1 parent 624bde4 commit 5eb3c36
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
11 changes: 6 additions & 5 deletions 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
Expand All @@ -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
Expand All @@ -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 \
Expand All @@ -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
Expand Down
6 changes: 3 additions & 3 deletions 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

0 comments on commit 5eb3c36

Please sign in to comment.