Re: [UPDATE] Tor Browser 7.5.3 backport to -stable

2018-05-04 Thread Dumitru Mișu Moldovan
attila  wrote:

> Hi ports@,
> 
> Now that 7.5.3 has been committed to -current I'd like to propose a
> patch to backport to -stable.  This has been lightly tested on an
> amd64 -stable machine with all patches.
> 
> We're going to be building and publishing signed packages for -stable
> in the way that landry@ does for the regular Mozillan ports.
> 
> Signing Key: https://bits.torbsd.org/pub/OpenBSD/torbsd-pkg.pub
>  RWSrDOvkXBL2Z8d8BnXpVCOmmtYX/gphG1E6BPWOM2s3XZT+9KDqh0te
> Packages:https://bits.torbsd.org/pub/OpenBSD/6.3/packages/amd64/
> 
> I will announce on our blog (https://torbsd.org) the availability of
> signed packages in that directory once the backport patch is accepted.
> Until then anything you see there is a mirage.

Tried the packages myself, updated tor-browser runs surprisingly fine
here on hardware from 2008 with just 2GB of RAM (after a very slow
start-up).  Have tested it over a couple of days, it crashed once on me,
but it's very usable.  Almost as usable as SeaMonkey on this machine
(shouldn't be a surprise as both are currently based on Firefox 52 ESR).

Not sure why NoScript settings are reset after every session though.
Maybe this is a bug?

Anyway, keep up the great work!  I added your repo to my list to
check when updating packages, alongside Landry's one for Firefox…  ;-]


pgpPfv54MZOS3.pgp
Description: Semnătură digitală OpenPGP


[UPDATE] Tor Browser 7.5.3 backport to -stable

2018-04-26 Thread attila
Hi ports@,

Now that 7.5.3 has been committed to -current I'd like to propose a
patch to backport to -stable.  This has been lightly tested on an
amd64 -stable machine with all patches.

We're going to be building and publishing signed packages for -stable
in the way that landry@ does for the regular Mozillan ports.

Signing Key: https://bits.torbsd.org/pub/OpenBSD/torbsd-pkg.pub
 RWSrDOvkXBL2Z8d8BnXpVCOmmtYX/gphG1E6BPWOM2s3XZT+9KDqh0te
Packages:https://bits.torbsd.org/pub/OpenBSD/6.3/packages/amd64/

I will announce on our blog (https://torbsd.org) the availability of
signed packages in that directory once the backport patch is accepted.
Until then anything you see there is a mirage.

Pax, -A
--
https://haqistan.net/~attila | attila@{stalphonsos.com,haqistan.net}
pgp: 0x62A729CF | C2CE 2487 03AC 4C2F 101D  09C1 4068 D5D5 62A7 29CF

Index: meta/tor-browser/Makefile
===
RCS file: /cvs/ports/meta/tor-browser/Makefile,v
retrieving revision 1.11
diff -u -p -r1.11 Makefile
--- meta/tor-browser/Makefile	10 Jan 2018 13:22:25 -	1.11
+++ meta/tor-browser/Makefile	25 Apr 2018 22:18:45 -
@@ -4,12 +4,12 @@ COMMENT=	Tor Browser meta package
 
 MAINTAINER=	Sean Levy 
 
-PKGNAME=	tor-browser-7.0.11
+PKGNAME=	tor-browser-7.5.3
 
-RUN_DEPENDS=	www/tor-browser/browser>=7.0.11 \
-		www/tor-browser/torbutton>=1.9.7.10 \
-		www/tor-browser/tor-launcher>=0.2.12.3p2 \
-		www/tor-browser/noscript>=5.1.8.1 \
-		www/tor-browser/https-everywhere>=2017.12.6
+RUN_DEPENDS=	www/tor-browser/browser>=7.5.3 \
+		www/tor-browser/torbutton>=1.9.8.6 \
+		www/tor-browser/tor-launcher>=0.2.14.4 \
+		www/tor-browser/noscript>=5.1.8.4 \
+		www/tor-browser/https-everywhere>=2018.3.13
 
 .include 
Index: www/tor-browser/Makefile.inc
===
RCS file: /cvs/ports/www/tor-browser/Makefile.inc,v
retrieving revision 1.12
diff -u -p -r1.12 Makefile.inc
--- www/tor-browser/Makefile.inc	10 Jan 2018 13:22:25 -	1.12
+++ www/tor-browser/Makefile.inc	25 Apr 2018 22:18:45 -
@@ -7,7 +7,7 @@ PERMIT_PACKAGE_CDROM ?= Yes
 CATEGORIES =		www
 BROWSER_NAME =		tor-browser
 # XXX If updating, bump REVISION of any extensions which did not get updated.
-TB_VERSION =		7.0.11
+TB_VERSION =		7.5.3
 TB_PREFIX =		tb
 
 SUBST_VARS +=		BROWSER_NAME TB_VERSION
Index: www/tor-browser/browser/Makefile
===
RCS file: /cvs/ports/www/tor-browser/browser/Makefile,v
retrieving revision 1.23
diff -u -p -r1.23 Makefile
--- www/tor-browser/browser/Makefile	13 Mar 2018 19:21:08 -	1.23
+++ www/tor-browser/browser/Makefile	25 Apr 2018 22:18:45 -
@@ -9,7 +9,6 @@ ONLY_FOR_ARCHS =	amd64 i386
 MOZILLA_VERSION =	${TB_VERSION}
 MOZILLA_PROJECT =	${BROWSER_NAME}
 MOZILLA_CODENAME =	browser
-REVISION =	0
 
 EXTRACT_SUFX =		.tar.gz
 PATCHORIG =		.pat.orig
@@ -37,7 +36,7 @@ MOZILLA_USE_BUNDLED_NSS =	Yes
 MOZILLA_USE_BUNDLED_LIBEVENT =	Yes
 MOZILLA_USE_BUNDLED_SQLITE =	Yes
 
-WANTLIB +=		X11-xcb intl xcb xcb-shm ${COMPILER_LIBCXX}
+WANTLIB +=		X11-xcb intl pixman-1 xcb xcb-shm ${COMPILER_LIBCXX}
 
 LIB_DEPENDS +=		devel/gettext
 
@@ -58,7 +57,7 @@ CONFIGURE_ARGS +=	--with-app-name=${BROW
 			--with-tor-browser-version=${TB_VERSION}	\
 			--disable-tor-browser-update
 
-RUN_DEPENDS +=		net/tor>=0.3.1.9
+RUN_DEPENDS +=		net/tor>=0.3.2.10
 
 # bug 857628
 CONFIGURE_ARGS +=	--enable-pie
Index: www/tor-browser/browser/distinfo
===
RCS file: /cvs/ports/www/tor-browser/browser/distinfo,v
retrieving revision 1.11
diff -u -p -r1.11 distinfo
--- www/tor-browser/browser/distinfo	10 Jan 2018 13:22:25 -	1.11
+++ www/tor-browser/browser/distinfo	25 Apr 2018 22:18:45 -
@@ -1,2 +1,2 @@
-SHA256 (mozilla/tor-browser-7.0.11.tar.gz) = 8kL4PfuYjSkV9UtU9q/mnKfM1w6vVMwp9xXBPjgQsA0=
-SIZE (mozilla/tor-browser-7.0.11.tar.gz) = 296597747
+SHA256 (mozilla/tor-browser-7.5.3.tar.gz) = MA9Oo5DeWcFq+voe8G4buEA1wlRLXypiJDqvtlQ4Ar0=
+SIZE (mozilla/tor-browser-7.5.3.tar.gz) = 296661624
Index: www/tor-browser/browser/files/extension-overrides.js
===
RCS file: /cvs/ports/www/tor-browser/browser/files/extension-overrides.js,v
retrieving revision 1.8
diff -u -p -r1.8 extension-overrides.js
--- www/tor-browser/browser/files/extension-overrides.js	26 Sep 2017 19:55:17 -	1.8
+++ www/tor-browser/browser/files/extension-overrides.js	25 Apr 2018 22:18:45 -
@@ -8,9 +8,9 @@ pref("extensions.https_everywhere.toolba
 
 # NoScript Preferences:
 pref("capability.policy.maonoscript.javascript.enabled", "allAccess");
-pref("capability.policy.maonoscript.sites", "about: about:tbupdate about:tor chrome: resource: blob: mediasource: moz-extension: moz-safe-about: about:neterror about:certerror about:feeds about:tabcrashed about:cache");
-pref("noscript.default",