Hi, as much as appreciate the Tor Browser on FreeBSD ... creating the config in the main HOME dir is definitelly not wanted. % ls ~ | grep default f5o2xdjb.default Please use ~/.config/tor-browser so ~/.config/tor-browser/f5o2xdjb.default will be created ... or something similar. Regards.
% cat ~/profiles.ini [Profile0] Name=default IsRelative=1 Path=1lktvvnd.default Default=1 [General] StartWithLastProfile=1 Version=2 % Whatever the fix for comment #0, should also lead to a better path (not the root of the home directory) for the profiles.ini file. Thanks
I have modified the ~/profiles.ini with '.tor-browser/' prefix for 'Path' so at least Tor Browser profile is not in the ${HOME} directory directly: % cat profiles.ini [Profile0] Name=default IsRelative=1 Path=.tor-browser/f5o2xdjb.default Default=1 [General] StartWithLastProfile=1 Version=2 ... but that does not solves the 'problem' of 'unwanted' ~/profiles.ini file. IMHO it would be great to modify Tor Browser installation/default configuration to at least use ~/.profiles.ini or ~/.tor-browser-profiles.ini instead. If course the 'preffered' way would be to be compliant with XDG standarts and use ~/.config/tor-browser but ~/.profiles.ini or ~/.tor-browser-profiles.ini and profiles in ~/.tor-browser by default would be a good start. Regards.
Created attachment 239486 [details] profile root dir patch, add to files This moves profile root into ~/.tor-broser-profiles. And should also move the cache dir.
*** Bug 268590 has been marked as a duplicate of this bug. ***
Committing this together with an upgrade and some other improvements.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=5ab09c70073a08928f4b3fc3930167dbea964845 commit 5ab09c70073a08928f4b3fc3930167dbea964845 Author: Jesper Schmitz Mouridsen <jsm@FreeBSD.org> AuthorDate: 2023-02-12 15:06:41 +0000 Commit: Rene Ladan <rene@FreeBSD.org> CommitDate: 2023-02-12 15:34:10 +0000 www/tor-browser: various improvements - use a dedicated directory [1] - enable building without PulseAudio, use Gecko framework more [2] No PORTREVISION bump because the next commit will update the port to a new version. PR: 268584 [1] PR: 268245 [2] (attachment 3 [details]) Approved by: maintainer timeout (freebsd@sysctl.cz, 6 weeks) www/tor-browser/Makefile | 8 +------- .../files/patch-toolkit_xre_nsXREDirPRovider.cpp (new) | 14 ++++++++++++++ 2 files changed, 15 insertions(+), 7 deletions(-)