update to tor-browser 10.5.5, from maintainer Caspar Schutisjer

This commit is contained in:
sthen 2021-08-23 21:25:55 +00:00
parent a08179797c
commit 560183bf69
7 changed files with 26 additions and 20 deletions

View File

@ -1,14 +1,14 @@
# $OpenBSD: Makefile,v 1.43 2021/07/14 19:27:15 sthen Exp $
# $OpenBSD: Makefile,v 1.44 2021/08/23 21:25:55 sthen Exp $
COMMENT= Tor Browser meta package
MAINTAINER= Caspar Schutijser <caspar@schutijser.com>
PKGNAME= tor-browser-10.5.2
PKGNAME= tor-browser-10.5.5
ONLY_FOR_ARCHS = amd64
RUN_DEPENDS= www/tor-browser/browser>=10.5.2 \
www/tor-browser/noscript>=11.2.9 \
net/tor>=0.4.6.5
RUN_DEPENDS= www/tor-browser/browser>=10.5.5 \
www/tor-browser/noscript>=11.2.11 \
net/tor>=0.4.6.7
.include <bsd.port.mk>

View File

@ -1,11 +1,11 @@
# $OpenBSD: Makefile.inc,v 1.42 2021/07/14 19:27:15 sthen Exp $
# $OpenBSD: Makefile.inc,v 1.43 2021/08/23 21:25:55 sthen Exp $
MAINTAINER ?= Caspar Schutijser <caspar@schutijser.com>
HOMEPAGE ?= https://www.torproject.org
PERMIT_PACKAGE ?= Yes
CATEGORIES = www
BROWSER_NAME = tor-browser
TB_VERSION = 10.5.2
TB_VERSION = 10.5.5
TB_PREFIX = tb
SUBST_VARS += BROWSER_NAME TB_VERSION

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.66 2021/07/14 19:27:15 sthen Exp $
# $OpenBSD: Makefile,v 1.67 2021/08/23 21:25:55 sthen Exp $
# Some of this comes from www/firefox-esr as apropos, since Tor
# browser is a fork of ESR. It is a good idea to look at that
# Makefile when editing this one (ESR versions not always the same).
@ -16,7 +16,7 @@ EXTRACT_SUFX = .tar.xz
PATCHORIG = .pat.orig
PKGNAME = ${TB_PREFIX}-browser-${TB_VERSION}
DISTNAME = src-firefox-tor-browser-78.12.0esr-10.5-1-build1
DISTNAME = src-firefox-tor-browser-78.13.0esr-10.5-2-build1
FIX_EXTRACT_PERMISSIONS = Yes
EXTRACT_ONLY += ${DISTNAME}.tar.xz \
@ -79,7 +79,7 @@ BUILD_DEPENDS += devel/py-virtualenv
BUILD_DEPENDS += archivers/unzip archivers/zip
RUN_DEPENDS += net/tor>=0.4.5.8
RUN_DEPENDS += net/tor>=0.4.6.7
CONFIGURE_ARGS += --enable-release #1386371
CONFIGURE_ARGS += --enable-sandbox
@ -135,6 +135,10 @@ post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/applications/
${SUBST_DATA} ${FILESDIR}/${BROWSER_NAME}.desktop \
${PREFIX}/share/applications/${BROWSER_NAME}.desktop
# install icon for desktop file
${INSTALL_DATA_DIR} ${PREFIX}/share/pixmaps/
${INSTALL_DATA} ${BROWSER_DIR}/browser/chrome/icons/default/default128.png \
${PREFIX}/share/pixmaps/${BROWSER_NAME}.png
# link default48.png to default.png to be used by default
# by non-icccm compliant wm
ln -f ${BROWSER_DIR}/browser/chrome/icons/default/default{48,}.png
@ -155,7 +159,7 @@ post-install:
# Include HTTPS Everywhere in omni.ja
mkdir -p ${WRKSRC}/https-everywhere/chrome/torbutton/content/extensions/https-everywhere/
unzip ${FULLDISTDIR}/https-everywhere-${HE_VERSION}-eff.xpi \
unzip -o ${FULLDISTDIR}/https-everywhere-${HE_VERSION}-eff.xpi \
-d ${WRKSRC}/https-everywhere/chrome/torbutton/content/extensions/https-everywhere/
cd ${WRKSRC}/https-everywhere && find chrome/ | zip -X -@ ${BROWSER_DIR}/omni.ja

View File

@ -1,8 +1,8 @@
SHA256 (mozilla/https-everywhere-2021.4.15-eff.xpi) = fl9ygI6hSL7M1BbsvfM+oevEOkMuTnhbXl4TObeitwg=
SHA256 (mozilla/src-firefox-tor-browser-78.12.0esr-10.5-1-build1.tar.xz) = 2XmP5XUzBLBFF0/WbURtxCoxZWGd419H7p3VW8DoabU=
SHA256 (mozilla/src-firefox-tor-browser-78.13.0esr-10.5-2-build1.tar.xz) = rWUxPgY4FtbDIGuG6l5yEbPEjV5FnTwzUm3Jy0HT1D0=
SHA256 (mozilla/src-tor-launcher-0.2.30.tar.xz) = gPoCbTUDHk6WYhG0PM59jy1ybE4rhH1EiR2gFFPW/C0=
SHA256 (mozilla/tor-browser-linux64-10.5.2_en-US.tar.xz) = a7qebtLVzTorTas5CxXtnXWOhpRVALA2AFLUrkE785s=
SHA256 (mozilla/tor-browser-linux64-10.5.5_en-US.tar.xz) = 9moyWgOkmamDNa18cutt0J3D8t3869LPei6IL1akhyA=
SIZE (mozilla/https-everywhere-2021.4.15-eff.xpi) = 1746434
SIZE (mozilla/src-firefox-tor-browser-78.12.0esr-10.5-1-build1.tar.xz) = 364761440
SIZE (mozilla/src-firefox-tor-browser-78.13.0esr-10.5-2-build1.tar.xz) = 364713700
SIZE (mozilla/src-tor-launcher-0.2.30.tar.xz) = 229888
SIZE (mozilla/tor-browser-linux64-10.5.2_en-US.tar.xz) = 83586008
SIZE (mozilla/tor-browser-linux64-10.5.5_en-US.tar.xz) = 83606800

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.10 2020/11/14 11:53:28 sthen Exp $
@comment $OpenBSD: PLIST,v 1.11 2021/08/23 21:25:55 sthen Exp $
@conflict tor-launcher-*
@conflict torbutton-*
@pkgpath www/tor-browser/https-everywhere
@ -122,5 +122,7 @@ lib/${BROWSER_NAME}/removed-files
lib/${BROWSER_NAME}/${BROWSER_NAME}.cfg
share/applications/${BROWSER_NAME}.desktop
@tag update-desktop-database
share/pixmaps/
share/pixmaps/tor-browser.png
share/tor-browser/
share/tor-browser/torrc-defaults

View File

@ -1,7 +1,7 @@
# $OpenBSD: Makefile,v 1.36 2021/07/14 19:27:15 sthen Exp $
# $OpenBSD: Makefile,v 1.37 2021/08/23 21:25:55 sthen Exp $
ADDON_NAME = noscript
V = 11.2.9
V = 11.2.11
COMMENT = Tor Browser add-on: flexible JS blocker
HOMEPAGE = https://noscript.net
MASTER_SITES = https://secure.informaction.com/download/releases/

View File

@ -1,2 +1,2 @@
SHA256 (noscript-11.2.9.xpi) = gwol2tBzJ64iC0dA6oNLCr5xXp7z2rwya/f+8sWvHvs=
SIZE (noscript-11.2.9.xpi) = 662868
SHA256 (noscript-11.2.11.xpi) = uDPoGCOYZkbbxHPrvumHvUd1f755ydFyAVDwi6bKm6k=
SIZE (noscript-11.2.11.xpi) = 656784