Tor Browser (TB) is a customized version of Firefox Extended Service
Release built specifically for internet browsing over the Tor
anonymity network.
TB's configuration aims to mitigate attacks on a client's anonymity,
including determining the client's actual IP address and browser
fingerprinting. Other aspects of Firefox have also been patched
to plug privacy leaks in ways not possible any other way.
You are recommended to read about TB and privacy from tor-project documentation.
Remember that there are no perfect privacy or anonymity solutions, and
this includes TB. As always you must pay attention and in many cases
modify your behavior to ensure your privacy online.
===> The following configuration options are available for tor-browser-16.0.a1_13:
CANBERRA=off: Sound theme alerts
DBUS=on: D-Bus IPC system support
DEBUG=off: Build with debugging support
FFMPEG=on: FFmpeg support (WMA, AIFF, AC3, APE...)
LIBPROXY=off: Proxy support via libproxy
LTO=off: Use Link-Time Optimization
OPTIMIZED_CFLAGS=on: Use extra compiler optimizations
PROFILE=on: Build with profiling support
TEST=off: Build and/or run tests
====> Extra cubeb audio backends (OSS is always available)
ALSA=off: ALSA audio architecture support
JACK=on: JACK audio server support
PULSEAUDIO=on: PulseAudio sound server support
SNDIO=on: Sndio audio support
===> Use 'make config' to modify these settings
wasi: consistently use the wasm32-wasip1 triple
The WebAssembly community have reclaimed wasm32-wasi, without suffix,
for a future WASI 1.0 standard. The first version of WASI, 0.1, is
now wasm32-wasip1 in triple form, WASI 0.2 is wasm32-wasip2, etc.
Starting LLVM 22 the non-suffixed form is deprecated, aligning with
Rust and Go:
https://github.com/llvm/llvm-project/issues/165344https://blog.rust-lang.org/2024/04/09/updates-to-rusts-wasi-targets/
The Mozilla build system's WASI checks always pass -Werror so
configure fails when the non-suffixed target/triple is passed using
LLVM 22:
(Only the first 15 lines of the commit message are shown above )
www/{librewolf,tor-browser,waterfox}: Fix runtime on arm64 (gecko-based ports)
Reports of crashes on arm64 with aslr enabled.
PR: 271081288512288516288504
MFH: 2025Q3
www/tor-browser: Improve port
- Improve "fix build on i386" - use www/node24 for i386 only.
- Unification of Makefile with Firefox - make it more similar.
- Use ${DESKTOPDIR} instead of ${PREFIX}/share/applications.
- Reduce the number of mkdir calls.
PR: 288108
Approved by: Martin Filla <freebsd@sysctl.cz> (maintainer)
MFH: 2025Q3
www/tor-browser: Update 14.0.9 => 14.5
Changelog:
https://blog.torproject.org/new-release-tor-browser-145/
Improve port:
- update list of LOCALES;
- move tpo-translation-* to MASTER_SITES with alternative mirrors - tor
sites are blocked in several countries and not all users can download
files from https://gitlab.torproject.org/;
- several white-space fixes.
PR: 286420
Co-authored-by: vvd
MFH: 2025Q2
Reapply "devel/wasi-libc: chase missed _DEPENDS line changes after
flavourisation"
Incorrect branch.
This reverts commit 85b72a5454c5bdcc850e153b66fdaa4e83e84f3d.
Revert "devel/wasi-libc: chase missed _DEPENDS line changes after
flavourisation"
Flavorization of the devel/wasi-libc was not MFH.
This reverts commit 0c538aad8a8708a074157b767459360aa09398f0.
www/tor-browser: Improve port
- move git tags to variables,
- move list of locales to variable,
- replace CP+CHMOD with COPYTREE_SHARE,
- sort options,
- align lines,
- strip long lines,
- pet portclippy,
- use UNZIP_NATIVE_CMD instead if direct run unzip,
- remove unnecessary BUILD_DEPENDS from zip.
PR: 282752
Approved by: Martin Filla <freebsd@sysctl.cz> (maintainer)
MFH: 2024Q4
www/tor-browser: Update to 14.0.1
Remove webrtc patches since webrtc is disabled.
PR: 281551
Approved by: Martin Filla <freebsd@sysctl.cz> (maintainer)
Co-authored-by: Martin Filla <freebsd@sysctl.cz>
wasi: update to latest commit past sdk-22
devel/wasi-libc is now flavourised per supported LLVM version. Each
flavour includes/copies the corresponding clang's stdarg.h and
stddef.h instead of simply using the latest clang release.
Technically upstream dropped support for LLVM < 18, but the commit
doing so admittedly operated under an uncertain assumption. LLVM
17 is still supported in these ports for the benefit of Rust and
gecko@ ports, which specify LLVM 17 minimum, and to facilitate LTO
with that version. LLVM 19 is also supported in this version, with
the corresponding ports to be committed separately.
Bump PORTREVISION of consumers
www/tor-browser: fix build: "pub _base: root::std::__1::_And<_Pred>, not found
in this scope"
error[E0412]: cannot find type `_Pred` in this scope
-->
/tmp/work/usr/ports/www/tor-browser/work/.build/x86_64-unknown-freebsd/release/build/style-ea1857e57f097f7a/out/gecko/structs.rs:34456:49
|
34456 | pub _base: root::std::__1::_And<_Pred>,
| ^^^^^ not found in this
scope
|
help: you might be missing a type parameter
|
34455 | pub struct tuple__EnableUTypesCtor<_Pred> {
| +++++++
Add patches from www/firefox-esr to fix this error and other.
PR: 279693
Approved by: Martin Filla <freebsd@sysctl.cz> (maintainer)
*/*: Sunset 12.4-RELEASE/12-STABLE from ports tree
- Remove all references to defunct ARCH arm
- Remove all references to defunct ARCH sparc64
- Remove x11-drivers/xf86-video-sunffb which requires defunct sparc64
ARCH
- Remove sysutils/afbinit requires defunct sparc64 ARCH
- Remove all references to bktr driver
- Remove all references to defunct FreeBSD_12
- Remove all references to OSVERSION/OSREL corresponding to 12
- Remove conditionals in Mk/Uses/cabal.mk
- Remove sparc reference from Mk/Uses/qt-dist.mk
- Remove BROKEN_sparc64/NOT_FOR_ARCH=sparc64
- Remove BROKEN_FreeBSD_12* from:
- Remove OpenSSL patches from:
- Remove conditional flags for OSVERSION >= 1300000 to fixed flags.
Also move conditional flags for non sparc64/arm ARCH to fixed flags.
Reviewed by: brooks, jbeich, rene, salvadore
Differential Revision: https://reviews.freebsd.org/D42068
wasi: update libc to sdk-20 and modularise LLVM bits
wasi-libcxx and wasi-compiler-rt now meta ports (similar to u-boot);
the build process is the same for each LLVM version so child ports
are minimal. Minimum supported LLVM version is 12, thus its
corresponding child ports are resurrected and LLVM 11 child ports
are removed.
Since all supported LLVM versions are made available at once, remove
restriction in bsd.gecko.mk and switch to USES=llvm throughout. LTO
on gecko ports should now work with later LLVM versions so long as
${DEFAULT_VERSIONS} is set properly and matches the LLVM used in
rust (if not using the PORT_LLVM option).
Reviewed by: brooks (LLVM ports interactions)
Tested by: Eric Camachat <eric[at]camachat[dot]org>
Approved by: maintainer timeout (gecko@ portion, 2+ weeks)
PR: 274896
Differential Revision: https://reviews.freebsd.org/D40098
www/tor-browser: Update to 13.01
Include locales upfront, the LOCAL/jsm l10n distfile is made
by a tor-browser-build of project l10n-firefox.
The tpo/translations do not keep tags so two files per locale
are out of sync with the linux release.
PR: 273416
PR: 272477
Tested by: Martin Filla freebsd@sysctl.cz,rene@
Approved by: freebsd@sysctl.cz (maintainer)
all: remove explicit versions in USES=python for "3.x+"
The logic in USES=python will automatically convert this to 3.8+ by
itself.
Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.
finance/quickfix: mark BROKEN with PYTHON
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp -fPIC -DPIC -o
.libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
^~~~~~~~~~
1 warning and 1 error generated.
Reviewed by: portmgr, vishwin, yuri
Differential Revision: <https://reviews.freebsd.org/D40568>
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)