View | Details | Raw Unified | Return to bug 268245 | Differences between
and this patch

Collapse All | Expand All

(-)b/www/tor-browser/Makefile (-8 / +3 lines)
Lines 1-6 Link Here
1
PORTNAME=	tor-browser
1
PORTNAME=	tor-browser
2
DISTVERSION=	12.0-2
2
DISTVERSION=	12.0-2
3
PORTREVISION=	1
3
PORTREVISION=	2
4
CATEGORIES=	www net security wayland
4
CATEGORIES=	www net security wayland
5
MASTER_SITES=	https://dist.torproject.org/torbrowser/12.0/
5
MASTER_SITES=	https://dist.torproject.org/torbrowser/12.0/
6
DISTNAME=	src-firefox-tor-browser-102.5.0esr-${DISTVERSION}-build1
6
DISTNAME=	src-firefox-tor-browser-102.5.0esr-${DISTVERSION}-build1
Lines 24-36 BUILD_DEPENDS= nspr>=4.32:devel/nspr \ Link Here
24
		nasm:devel/nasm \
24
		nasm:devel/nasm \
25
		yasm:devel/yasm \
25
		yasm:devel/yasm \
26
		zip:archivers/zip
26
		zip:archivers/zip
27
LIB_DEPENDS=	libgconf-2.so:devel/gconf2 \
27
28
		libgtk-x11-2.0.so:x11-toolkits/gtk20 \
29
		libpangocairo-1.0.so:x11-toolkits/pango \
30
		libpulse.so:audio/pulseaudio \
31
		libXt.so:x11-toolkits/libXt \
32
		libIDL-2.so:devel/libIDL \
33
		libnspr4.so:devel/nspr
34
RUN_DEPENDS=	tor:security/tor \
28
RUN_DEPENDS=	tor:security/tor \
35
		obfs4proxy:security/obfs4proxy-tor
29
		obfs4proxy:security/obfs4proxy-tor
36
30
Lines 72-77 MOZ_OPTIONS= --with-tor-browser-version=12.0-2 \ Link Here
72
	--with-distribution-id=org.torproject
66
	--with-distribution-id=org.torproject
73
67
74
WRKSRC=		${WRKDIR}/firefox-tor-browser-102.5.0esr-12.0-2-build1
68
WRKSRC=		${WRKDIR}/firefox-tor-browser-102.5.0esr-12.0-2-build1
69
.include "${.CURDIR}/../../www/firefox/Makefile.options"
75
70
76
.include <bsd.port.options.mk>
71
.include <bsd.port.options.mk>
77
72
(-)b/www/tor-browser/files/patch-toolkit_xre_nsXREDirProvider.cpp (+14 lines)
Added Link Here
1
--- toolkit/xre/nsXREDirProvider.cpp.orig	2023-01-15 10:55:50.058634000 +0100
2
+++ toolkit/xre/nsXREDirProvider.cpp	2023-01-15 10:56:48.735300000 +0100
3
@@ -1653,7 +1653,11 @@
4
     ToLowerCase(folder);
5
 
6
     rv = AppendProfileString(aFile, folder.BeginReading());
7
+  } else {
8
+    nsAutoCString folder(".tor-browser-profiles");
9
+    rv = aFile->AppendNative(folder);
10
   }
11
+
12
   NS_ENSURE_SUCCESS(rv, rv);
13
 
14
 #else

Return to bug 268245