2021-07-14 19:27:15 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.66 2021/07/14 19:27:15 sthen Exp $
|
Import (finally!) Tor Browser 6.0.5.
All the credit goes to Sean Levy - attila at stalphonsos dot com, from
the tor BSD diversity project, https://torbsd.github.io/ - who
spent countless hours polishing and improving this out of tree.
This bundles 5 ports:
* tb-browser, a Firefox ESR fork
* torbutton 1.9.5.7, a button to configure parameters
* tor-launcher 0.2.9.3, to manage a tor instance
* tb-noscript 2.9.0.14, a well known js blocker
* tb-https-everwhere 5.2.4, try to force https where possible
Note that the extensions are installed within tb-browser directory and
won't work as-is in a regular Firefox instance.
======================================================================
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.
TB includes custom Firefox add-ons only meant for TB, including
NoScript, HTTPS Everywhere, TorButton and Tor-Launcher. This package
provides merely the modified version of Firefox ESR. Please install
the tor-browser meta-package to make sure you have everything installed
correctly.
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. Note that JS is
blocked everywhere by default in TB using NoScript.
======================================================================
On a personal note (as a Mozilla developer), i'll just add that Tor
Browser is heavily patched in various ways, so think before putting your
browsing habits in someone's hands - read
https://www.torproject.org/projects/torbrowser/design/ to make up your
mind.
Of course, having this in the ports tree doesn't mean that the OpenBSD
project specifically endorses or recommends usage of Tor or Tor Browser.
If you want to keep your privacy, *use your brain* or stay offline.
ok danj@
2016-11-13 21:15:43 +00:00
|
|
|
# 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).
|
|
|
|
|
|
|
|
COMMENT = modified version of Firefox ESR for browsing over Tor
|
2021-05-21 16:47:13 +00:00
|
|
|
ONLY_FOR_ARCHS = amd64
|
2019-10-01 04:39:31 +00:00
|
|
|
|
Import (finally!) Tor Browser 6.0.5.
All the credit goes to Sean Levy - attila at stalphonsos dot com, from
the tor BSD diversity project, https://torbsd.github.io/ - who
spent countless hours polishing and improving this out of tree.
This bundles 5 ports:
* tb-browser, a Firefox ESR fork
* torbutton 1.9.5.7, a button to configure parameters
* tor-launcher 0.2.9.3, to manage a tor instance
* tb-noscript 2.9.0.14, a well known js blocker
* tb-https-everwhere 5.2.4, try to force https where possible
Note that the extensions are installed within tb-browser directory and
won't work as-is in a regular Firefox instance.
======================================================================
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.
TB includes custom Firefox add-ons only meant for TB, including
NoScript, HTTPS Everywhere, TorButton and Tor-Launcher. This package
provides merely the modified version of Firefox ESR. Please install
the tor-browser meta-package to make sure you have everything installed
correctly.
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. Note that JS is
blocked everywhere by default in TB using NoScript.
======================================================================
On a personal note (as a Mozilla developer), i'll just add that Tor
Browser is heavily patched in various ways, so think before putting your
browsing habits in someone's hands - read
https://www.torproject.org/projects/torbrowser/design/ to make up your
mind.
Of course, having this in the ports tree doesn't mean that the OpenBSD
project specifically endorses or recommends usage of Tor or Tor Browser.
If you want to keep your privacy, *use your brain* or stay offline.
ok danj@
2016-11-13 21:15:43 +00:00
|
|
|
MOZILLA_VERSION = ${TB_VERSION}
|
|
|
|
MOZILLA_PROJECT = ${BROWSER_NAME}
|
|
|
|
MOZILLA_CODENAME = browser
|
2021-07-14 19:27:15 +00:00
|
|
|
TL_VERSION = 0.2.30
|
2021-06-04 12:02:07 +00:00
|
|
|
HE_VERSION = 2021.4.15
|
Import (finally!) Tor Browser 6.0.5.
All the credit goes to Sean Levy - attila at stalphonsos dot com, from
the tor BSD diversity project, https://torbsd.github.io/ - who
spent countless hours polishing and improving this out of tree.
This bundles 5 ports:
* tb-browser, a Firefox ESR fork
* torbutton 1.9.5.7, a button to configure parameters
* tor-launcher 0.2.9.3, to manage a tor instance
* tb-noscript 2.9.0.14, a well known js blocker
* tb-https-everwhere 5.2.4, try to force https where possible
Note that the extensions are installed within tb-browser directory and
won't work as-is in a regular Firefox instance.
======================================================================
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.
TB includes custom Firefox add-ons only meant for TB, including
NoScript, HTTPS Everywhere, TorButton and Tor-Launcher. This package
provides merely the modified version of Firefox ESR. Please install
the tor-browser meta-package to make sure you have everything installed
correctly.
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. Note that JS is
blocked everywhere by default in TB using NoScript.
======================================================================
On a personal note (as a Mozilla developer), i'll just add that Tor
Browser is heavily patched in various ways, so think before putting your
browsing habits in someone's hands - read
https://www.torproject.org/projects/torbrowser/design/ to make up your
mind.
Of course, having this in the ports tree doesn't mean that the OpenBSD
project specifically endorses or recommends usage of Tor or Tor Browser.
If you want to keep your privacy, *use your brain* or stay offline.
ok danj@
2016-11-13 21:15:43 +00:00
|
|
|
|
2020-02-13 07:41:53 +00:00
|
|
|
EXTRACT_SUFX = .tar.xz
|
2017-07-26 20:50:39 +00:00
|
|
|
PATCHORIG = .pat.orig
|
|
|
|
|
Import (finally!) Tor Browser 6.0.5.
All the credit goes to Sean Levy - attila at stalphonsos dot com, from
the tor BSD diversity project, https://torbsd.github.io/ - who
spent countless hours polishing and improving this out of tree.
This bundles 5 ports:
* tb-browser, a Firefox ESR fork
* torbutton 1.9.5.7, a button to configure parameters
* tor-launcher 0.2.9.3, to manage a tor instance
* tb-noscript 2.9.0.14, a well known js blocker
* tb-https-everwhere 5.2.4, try to force https where possible
Note that the extensions are installed within tb-browser directory and
won't work as-is in a regular Firefox instance.
======================================================================
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.
TB includes custom Firefox add-ons only meant for TB, including
NoScript, HTTPS Everywhere, TorButton and Tor-Launcher. This package
provides merely the modified version of Firefox ESR. Please install
the tor-browser meta-package to make sure you have everything installed
correctly.
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. Note that JS is
blocked everywhere by default in TB using NoScript.
======================================================================
On a personal note (as a Mozilla developer), i'll just add that Tor
Browser is heavily patched in various ways, so think before putting your
browsing habits in someone's hands - read
https://www.torproject.org/projects/torbrowser/design/ to make up your
mind.
Of course, having this in the ports tree doesn't mean that the OpenBSD
project specifically endorses or recommends usage of Tor or Tor Browser.
If you want to keep your privacy, *use your brain* or stay offline.
ok danj@
2016-11-13 21:15:43 +00:00
|
|
|
PKGNAME = ${TB_PREFIX}-browser-${TB_VERSION}
|
2021-07-14 19:27:15 +00:00
|
|
|
DISTNAME = src-firefox-tor-browser-78.12.0esr-10.5-1-build1
|
2020-02-13 07:41:53 +00:00
|
|
|
|
2020-04-13 16:25:42 +00:00
|
|
|
FIX_EXTRACT_PERMISSIONS = Yes
|
2020-10-23 07:04:09 +00:00
|
|
|
EXTRACT_ONLY += ${DISTNAME}.tar.xz \
|
2020-04-13 16:25:42 +00:00
|
|
|
src-tor-launcher-${TL_VERSION}.tar.xz \
|
|
|
|
tor-browser-linux64-${TB_VERSION}_en-US.tar.xz
|
2020-10-23 07:04:09 +00:00
|
|
|
DISTFILES = ${EXTRACT_ONLY} \
|
|
|
|
https-everywhere-${HE_VERSION}-eff.xpi:0
|
Import (finally!) Tor Browser 6.0.5.
All the credit goes to Sean Levy - attila at stalphonsos dot com, from
the tor BSD diversity project, https://torbsd.github.io/ - who
spent countless hours polishing and improving this out of tree.
This bundles 5 ports:
* tb-browser, a Firefox ESR fork
* torbutton 1.9.5.7, a button to configure parameters
* tor-launcher 0.2.9.3, to manage a tor instance
* tb-noscript 2.9.0.14, a well known js blocker
* tb-https-everwhere 5.2.4, try to force https where possible
Note that the extensions are installed within tb-browser directory and
won't work as-is in a regular Firefox instance.
======================================================================
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.
TB includes custom Firefox add-ons only meant for TB, including
NoScript, HTTPS Everywhere, TorButton and Tor-Launcher. This package
provides merely the modified version of Firefox ESR. Please install
the tor-browser meta-package to make sure you have everything installed
correctly.
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. Note that JS is
blocked everywhere by default in TB using NoScript.
======================================================================
On a personal note (as a Mozilla developer), i'll just add that Tor
Browser is heavily patched in various ways, so think before putting your
browsing habits in someone's hands - read
https://www.torproject.org/projects/torbrowser/design/ to make up your
mind.
Of course, having this in the ports tree doesn't mean that the OpenBSD
project specifically endorses or recommends usage of Tor or Tor Browser.
If you want to keep your privacy, *use your brain* or stay offline.
ok danj@
2016-11-13 21:15:43 +00:00
|
|
|
|
2020-10-23 07:04:09 +00:00
|
|
|
SO_VERSION = 6.0
|
2018-09-28 14:54:26 +00:00
|
|
|
MOZILLA_LIBS = xul clearkey lgpllibs mozavcodec mozavutil mozgtk
|
2020-10-23 07:04:09 +00:00
|
|
|
MOZILLA_LIBS += freebl3 nss3 nssckbi
|
Import (finally!) Tor Browser 6.0.5.
All the credit goes to Sean Levy - attila at stalphonsos dot com, from
the tor BSD diversity project, https://torbsd.github.io/ - who
spent countless hours polishing and improving this out of tree.
This bundles 5 ports:
* tb-browser, a Firefox ESR fork
* torbutton 1.9.5.7, a button to configure parameters
* tor-launcher 0.2.9.3, to manage a tor instance
* tb-noscript 2.9.0.14, a well known js blocker
* tb-https-everwhere 5.2.4, try to force https where possible
Note that the extensions are installed within tb-browser directory and
won't work as-is in a regular Firefox instance.
======================================================================
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.
TB includes custom Firefox add-ons only meant for TB, including
NoScript, HTTPS Everywhere, TorButton and Tor-Launcher. This package
provides merely the modified version of Firefox ESR. Please install
the tor-browser meta-package to make sure you have everything installed
correctly.
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. Note that JS is
blocked everywhere by default in TB using NoScript.
======================================================================
On a personal note (as a Mozilla developer), i'll just add that Tor
Browser is heavily patched in various ways, so think before putting your
browsing habits in someone's hands - read
https://www.torproject.org/projects/torbrowser/design/ to make up your
mind.
Of course, having this in the ports tree doesn't mean that the OpenBSD
project specifically endorses or recommends usage of Tor or Tor Browser.
If you want to keep your privacy, *use your brain* or stay offline.
ok danj@
2016-11-13 21:15:43 +00:00
|
|
|
MOZILLA_LIBS += nssutil3 smime3 softokn3 ssl3
|
2018-09-28 14:54:26 +00:00
|
|
|
MOZILLA_LIBS += nspr4 mozsqlite3 plc4 plds4
|
Import (finally!) Tor Browser 6.0.5.
All the credit goes to Sean Levy - attila at stalphonsos dot com, from
the tor BSD diversity project, https://torbsd.github.io/ - who
spent countless hours polishing and improving this out of tree.
This bundles 5 ports:
* tb-browser, a Firefox ESR fork
* torbutton 1.9.5.7, a button to configure parameters
* tor-launcher 0.2.9.3, to manage a tor instance
* tb-noscript 2.9.0.14, a well known js blocker
* tb-https-everwhere 5.2.4, try to force https where possible
Note that the extensions are installed within tb-browser directory and
won't work as-is in a regular Firefox instance.
======================================================================
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.
TB includes custom Firefox add-ons only meant for TB, including
NoScript, HTTPS Everywhere, TorButton and Tor-Launcher. This package
provides merely the modified version of Firefox ESR. Please install
the tor-browser meta-package to make sure you have everything installed
correctly.
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. Note that JS is
blocked everywhere by default in TB using NoScript.
======================================================================
On a personal note (as a Mozilla developer), i'll just add that Tor
Browser is heavily patched in various ways, so think before putting your
browsing habits in someone's hands - read
https://www.torproject.org/projects/torbrowser/design/ to make up your
mind.
Of course, having this in the ports tree doesn't mean that the OpenBSD
project specifically endorses or recommends usage of Tor or Tor Browser.
If you want to keep your privacy, *use your brain* or stay offline.
ok danj@
2016-11-13 21:15:43 +00:00
|
|
|
|
2020-10-23 07:04:09 +00:00
|
|
|
# mozilla public license for the browser; GPLv2+ for HTTPS Everywhere
|
2019-07-12 20:50:46 +00:00
|
|
|
PERMIT_PACKAGE= Yes
|
Import (finally!) Tor Browser 6.0.5.
All the credit goes to Sean Levy - attila at stalphonsos dot com, from
the tor BSD diversity project, https://torbsd.github.io/ - who
spent countless hours polishing and improving this out of tree.
This bundles 5 ports:
* tb-browser, a Firefox ESR fork
* torbutton 1.9.5.7, a button to configure parameters
* tor-launcher 0.2.9.3, to manage a tor instance
* tb-noscript 2.9.0.14, a well known js blocker
* tb-https-everwhere 5.2.4, try to force https where possible
Note that the extensions are installed within tb-browser directory and
won't work as-is in a regular Firefox instance.
======================================================================
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.
TB includes custom Firefox add-ons only meant for TB, including
NoScript, HTTPS Everywhere, TorButton and Tor-Launcher. This package
provides merely the modified version of Firefox ESR. Please install
the tor-browser meta-package to make sure you have everything installed
correctly.
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. Note that JS is
blocked everywhere by default in TB using NoScript.
======================================================================
On a personal note (as a Mozilla developer), i'll just add that Tor
Browser is heavily patched in various ways, so think before putting your
browsing habits in someone's hands - read
https://www.torproject.org/projects/torbrowser/design/ to make up your
mind.
Of course, having this in the ports tree doesn't mean that the OpenBSD
project specifically endorses or recommends usage of Tor or Tor Browser.
If you want to keep your privacy, *use your brain* or stay offline.
ok danj@
2016-11-13 21:15:43 +00:00
|
|
|
|
2020-02-13 07:41:53 +00:00
|
|
|
MASTER_SITES = https://dist.torproject.org/torbrowser/${TB_VERSION}/ \
|
2021-01-18 08:07:33 +00:00
|
|
|
https://archive.torproject.org/tor-package-archive/torbrowser/${TB_VERSION}/
|
2020-10-23 07:04:09 +00:00
|
|
|
MASTER_SITES0 = https://www.eff.org/files/
|
2020-02-13 07:41:53 +00:00
|
|
|
|
Import (finally!) Tor Browser 6.0.5.
All the credit goes to Sean Levy - attila at stalphonsos dot com, from
the tor BSD diversity project, https://torbsd.github.io/ - who
spent countless hours polishing and improving this out of tree.
This bundles 5 ports:
* tb-browser, a Firefox ESR fork
* torbutton 1.9.5.7, a button to configure parameters
* tor-launcher 0.2.9.3, to manage a tor instance
* tb-noscript 2.9.0.14, a well known js blocker
* tb-https-everwhere 5.2.4, try to force https where possible
Note that the extensions are installed within tb-browser directory and
won't work as-is in a regular Firefox instance.
======================================================================
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.
TB includes custom Firefox add-ons only meant for TB, including
NoScript, HTTPS Everywhere, TorButton and Tor-Launcher. This package
provides merely the modified version of Firefox ESR. Please install
the tor-browser meta-package to make sure you have everything installed
correctly.
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. Note that JS is
blocked everywhere by default in TB using NoScript.
======================================================================
On a personal note (as a Mozilla developer), i'll just add that Tor
Browser is heavily patched in various ways, so think before putting your
browsing habits in someone's hands - read
https://www.torproject.org/projects/torbrowser/design/ to make up your
mind.
Of course, having this in the ports tree doesn't mean that the OpenBSD
project specifically endorses or recommends usage of Tor or Tor Browser.
If you want to keep your privacy, *use your brain* or stay offline.
ok danj@
2016-11-13 21:15:43 +00:00
|
|
|
MODULES = www/mozilla lang/python
|
|
|
|
|
2017-07-26 20:50:39 +00:00
|
|
|
MODPY_RUNDEP = No
|
|
|
|
|
2017-11-16 23:20:37 +00:00
|
|
|
COMPILER = base-clang ports-clang
|
2017-07-26 20:50:39 +00:00
|
|
|
MODCLANG_ARCHS = amd64 i386
|
|
|
|
|
2018-09-28 14:54:26 +00:00
|
|
|
# tor-browser needs built-in nss, sqlite
|
|
|
|
MOZILLA_USE_BUNDLED_NSPR = Yes
|
|
|
|
MOZILLA_USE_BUNDLED_NSS = Yes
|
2020-02-13 07:41:53 +00:00
|
|
|
# 63 requires node because why not #1483595
|
|
|
|
BUILD_DEPENDS += lang/node
|
|
|
|
# 63 requires cbindgen #1478813
|
2020-10-23 07:04:09 +00:00
|
|
|
BUILD_DEPENDS += devel/cbindgen>=0.14.3
|
Import (finally!) Tor Browser 6.0.5.
All the credit goes to Sean Levy - attila at stalphonsos dot com, from
the tor BSD diversity project, https://torbsd.github.io/ - who
spent countless hours polishing and improving this out of tree.
This bundles 5 ports:
* tb-browser, a Firefox ESR fork
* torbutton 1.9.5.7, a button to configure parameters
* tor-launcher 0.2.9.3, to manage a tor instance
* tb-noscript 2.9.0.14, a well known js blocker
* tb-https-everwhere 5.2.4, try to force https where possible
Note that the extensions are installed within tb-browser directory and
won't work as-is in a regular Firefox instance.
======================================================================
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.
TB includes custom Firefox add-ons only meant for TB, including
NoScript, HTTPS Everywhere, TorButton and Tor-Launcher. This package
provides merely the modified version of Firefox ESR. Please install
the tor-browser meta-package to make sure you have everything installed
correctly.
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. Note that JS is
blocked everywhere by default in TB using NoScript.
======================================================================
On a personal note (as a Mozilla developer), i'll just add that Tor
Browser is heavily patched in various ways, so think before putting your
browsing habits in someone's hands - read
https://www.torproject.org/projects/torbrowser/design/ to make up your
mind.
Of course, having this in the ports tree doesn't mean that the OpenBSD
project specifically endorses or recommends usage of Tor or Tor Browser.
If you want to keep your privacy, *use your brain* or stay offline.
ok danj@
2016-11-13 21:15:43 +00:00
|
|
|
|
2020-02-13 07:41:53 +00:00
|
|
|
# uses pledge()
|
2020-10-23 07:04:09 +00:00
|
|
|
WANTLIB += X11-xcb Xcursor Xi intl xcb xcb-shm harfbuzz ${COMPILER_LIBCXX}
|
Import (finally!) Tor Browser 6.0.5.
All the credit goes to Sean Levy - attila at stalphonsos dot com, from
the tor BSD diversity project, https://torbsd.github.io/ - who
spent countless hours polishing and improving this out of tree.
This bundles 5 ports:
* tb-browser, a Firefox ESR fork
* torbutton 1.9.5.7, a button to configure parameters
* tor-launcher 0.2.9.3, to manage a tor instance
* tb-noscript 2.9.0.14, a well known js blocker
* tb-https-everwhere 5.2.4, try to force https where possible
Note that the extensions are installed within tb-browser directory and
won't work as-is in a regular Firefox instance.
======================================================================
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.
TB includes custom Firefox add-ons only meant for TB, including
NoScript, HTTPS Everywhere, TorButton and Tor-Launcher. This package
provides merely the modified version of Firefox ESR. Please install
the tor-browser meta-package to make sure you have everything installed
correctly.
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. Note that JS is
blocked everywhere by default in TB using NoScript.
======================================================================
On a personal note (as a Mozilla developer), i'll just add that Tor
Browser is heavily patched in various ways, so think before putting your
browsing habits in someone's hands - read
https://www.torproject.org/projects/torbrowser/design/ to make up your
mind.
Of course, having this in the ports tree doesn't mean that the OpenBSD
project specifically endorses or recommends usage of Tor or Tor Browser.
If you want to keep your privacy, *use your brain* or stay offline.
ok danj@
2016-11-13 21:15:43 +00:00
|
|
|
|
|
|
|
# Regression tests are too hard to adapt to run here
|
|
|
|
NO_TEST = Yes
|
|
|
|
|
2020-02-13 07:41:53 +00:00
|
|
|
WRKDIST = ${WRKDIR}/${DISTNAME:S/src-//}
|
|
|
|
|
2017-07-26 20:50:39 +00:00
|
|
|
CONFIGURE_STYLE = simple
|
|
|
|
CONFIGURE_ARGS += --prefix=${PREFIX}
|
2020-02-13 07:41:53 +00:00
|
|
|
MAKE_ENV += BUILD_VERBOSE_LOG="1" CARGOFLAGS="-j${MAKE_JOBS}"
|
2017-07-26 20:50:39 +00:00
|
|
|
|
2018-09-28 14:54:26 +00:00
|
|
|
# app-name etc. for tor-browser
|
|
|
|
CONFIGURE_ARGS += --with-app-name=${BROWSER_NAME} \
|
|
|
|
--with-tor-browser-version=${TB_VERSION} \
|
|
|
|
--disable-tor-browser-update
|
|
|
|
|
Import (finally!) Tor Browser 6.0.5.
All the credit goes to Sean Levy - attila at stalphonsos dot com, from
the tor BSD diversity project, https://torbsd.github.io/ - who
spent countless hours polishing and improving this out of tree.
This bundles 5 ports:
* tb-browser, a Firefox ESR fork
* torbutton 1.9.5.7, a button to configure parameters
* tor-launcher 0.2.9.3, to manage a tor instance
* tb-noscript 2.9.0.14, a well known js blocker
* tb-https-everwhere 5.2.4, try to force https where possible
Note that the extensions are installed within tb-browser directory and
won't work as-is in a regular Firefox instance.
======================================================================
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.
TB includes custom Firefox add-ons only meant for TB, including
NoScript, HTTPS Everywhere, TorButton and Tor-Launcher. This package
provides merely the modified version of Firefox ESR. Please install
the tor-browser meta-package to make sure you have everything installed
correctly.
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. Note that JS is
blocked everywhere by default in TB using NoScript.
======================================================================
On a personal note (as a Mozilla developer), i'll just add that Tor
Browser is heavily patched in various ways, so think before putting your
browsing habits in someone's hands - read
https://www.torproject.org/projects/torbrowser/design/ to make up your
mind.
Of course, having this in the ports tree doesn't mean that the OpenBSD
project specifically endorses or recommends usage of Tor or Tor Browser.
If you want to keep your privacy, *use your brain* or stay offline.
ok danj@
2016-11-13 21:15:43 +00:00
|
|
|
# for nss build system
|
|
|
|
MAKE_ENV += BUILD_OPT=1 \
|
|
|
|
LOCALBASE="${LOCALBASE}" \
|
|
|
|
NSS_ENABLE_ECC=1 \
|
|
|
|
XCFLAGS="-I${LOCALBASE}/include ${CFLAGS}"
|
|
|
|
BUILD_DEPENDS += devel/py-virtualenv
|
|
|
|
|
2020-10-23 07:04:09 +00:00
|
|
|
BUILD_DEPENDS += archivers/unzip archivers/zip
|
|
|
|
|
2021-06-04 12:02:07 +00:00
|
|
|
RUN_DEPENDS += net/tor>=0.4.5.8
|
Import (finally!) Tor Browser 6.0.5.
All the credit goes to Sean Levy - attila at stalphonsos dot com, from
the tor BSD diversity project, https://torbsd.github.io/ - who
spent countless hours polishing and improving this out of tree.
This bundles 5 ports:
* tb-browser, a Firefox ESR fork
* torbutton 1.9.5.7, a button to configure parameters
* tor-launcher 0.2.9.3, to manage a tor instance
* tb-noscript 2.9.0.14, a well known js blocker
* tb-https-everwhere 5.2.4, try to force https where possible
Note that the extensions are installed within tb-browser directory and
won't work as-is in a regular Firefox instance.
======================================================================
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.
TB includes custom Firefox add-ons only meant for TB, including
NoScript, HTTPS Everywhere, TorButton and Tor-Launcher. This package
provides merely the modified version of Firefox ESR. Please install
the tor-browser meta-package to make sure you have everything installed
correctly.
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. Note that JS is
blocked everywhere by default in TB using NoScript.
======================================================================
On a personal note (as a Mozilla developer), i'll just add that Tor
Browser is heavily patched in various ways, so think before putting your
browsing habits in someone's hands - read
https://www.torproject.org/projects/torbrowser/design/ to make up your
mind.
Of course, having this in the ports tree doesn't mean that the OpenBSD
project specifically endorses or recommends usage of Tor or Tor Browser.
If you want to keep your privacy, *use your brain* or stay offline.
ok danj@
2016-11-13 21:15:43 +00:00
|
|
|
|
2018-09-28 14:54:26 +00:00
|
|
|
CONFIGURE_ARGS += --enable-release #1386371
|
2020-10-23 07:04:09 +00:00
|
|
|
CONFIGURE_ARGS += --enable-sandbox
|
2020-02-13 07:41:53 +00:00
|
|
|
CONFIGURE_ARGS += --with-libclang-path=${LOCALBASE}/lib
|
2020-10-23 07:04:09 +00:00
|
|
|
|
|
|
|
# XXX badly formed debug in libxul ?
|
|
|
|
DWZ = :
|
|
|
|
#DEBUG_PACKAGES = ${BUILD_PACKAGES}
|
|
|
|
DEBUG_CONFIGURE_ARGS += --enable-debug-symbols \
|
|
|
|
--disable-install-strip
|
2020-02-13 07:41:53 +00:00
|
|
|
|
|
|
|
post-extract:
|
2020-04-13 16:25:42 +00:00
|
|
|
mv ${WRKDIR}/tor-browser_en-US ${WRKSRC}
|
2020-02-13 07:41:53 +00:00
|
|
|
mv ${WRKDIR}/tor-launcher-${TL_VERSION}/ \
|
|
|
|
${WRKSRC}/browser/extensions/tor-launcher
|
Import (finally!) Tor Browser 6.0.5.
All the credit goes to Sean Levy - attila at stalphonsos dot com, from
the tor BSD diversity project, https://torbsd.github.io/ - who
spent countless hours polishing and improving this out of tree.
This bundles 5 ports:
* tb-browser, a Firefox ESR fork
* torbutton 1.9.5.7, a button to configure parameters
* tor-launcher 0.2.9.3, to manage a tor instance
* tb-noscript 2.9.0.14, a well known js blocker
* tb-https-everwhere 5.2.4, try to force https where possible
Note that the extensions are installed within tb-browser directory and
won't work as-is in a regular Firefox instance.
======================================================================
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.
TB includes custom Firefox add-ons only meant for TB, including
NoScript, HTTPS Everywhere, TorButton and Tor-Launcher. This package
provides merely the modified version of Firefox ESR. Please install
the tor-browser meta-package to make sure you have everything installed
correctly.
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. Note that JS is
blocked everywhere by default in TB using NoScript.
======================================================================
On a personal note (as a Mozilla developer), i'll just add that Tor
Browser is heavily patched in various ways, so think before putting your
browsing habits in someone's hands - read
https://www.torproject.org/projects/torbrowser/design/ to make up your
mind.
Of course, having this in the ports tree doesn't mean that the OpenBSD
project specifically endorses or recommends usage of Tor or Tor Browser.
If you want to keep your privacy, *use your brain* or stay offline.
ok danj@
2016-11-13 21:15:43 +00:00
|
|
|
|
|
|
|
post-patch:
|
|
|
|
# hack config/baseconfig.mk to not use MOZ_APP_VERSION in a few places
|
|
|
|
sed -i.bak -e 's/-$$(MOZ_APP_VERSION)/-${TB_VERSION}/' \
|
|
|
|
${WRKSRC}/config/baseconfig.mk
|
2017-08-27 08:54:08 +00:00
|
|
|
# drop in sh front end to configure.py so CONFIGURE_STYLE=simple works
|
|
|
|
${SUBST_PROGRAM} ${FILESDIR}/configure ${WRKSRC}/configure
|
|
|
|
${SUBST_PROGRAM} ${FILESDIR}/configure ${WRKSRC}/js/src/configure
|
2020-02-16 10:45:59 +00:00
|
|
|
${SUBST_CMD} ${WRKSRC}/browser/extensions/tor-launcher/src/defaults/preferences/torlauncher-prefs.js
|
2020-04-13 16:25:42 +00:00
|
|
|
# Not using a patch for this; patch context would contain UTF-8
|
|
|
|
sed -i 's/#ifdef XP_LINUX/#if defined(XP_LINUX) || defined(XP_OPENBSD)/' \
|
|
|
|
${WRKSRC}/browser/app/profile/000-tor-browser.js
|
Import (finally!) Tor Browser 6.0.5.
All the credit goes to Sean Levy - attila at stalphonsos dot com, from
the tor BSD diversity project, https://torbsd.github.io/ - who
spent countless hours polishing and improving this out of tree.
This bundles 5 ports:
* tb-browser, a Firefox ESR fork
* torbutton 1.9.5.7, a button to configure parameters
* tor-launcher 0.2.9.3, to manage a tor instance
* tb-noscript 2.9.0.14, a well known js blocker
* tb-https-everwhere 5.2.4, try to force https where possible
Note that the extensions are installed within tb-browser directory and
won't work as-is in a regular Firefox instance.
======================================================================
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.
TB includes custom Firefox add-ons only meant for TB, including
NoScript, HTTPS Everywhere, TorButton and Tor-Launcher. This package
provides merely the modified version of Firefox ESR. Please install
the tor-browser meta-package to make sure you have everything installed
correctly.
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. Note that JS is
blocked everywhere by default in TB using NoScript.
======================================================================
On a personal note (as a Mozilla developer), i'll just add that Tor
Browser is heavily patched in various ways, so think before putting your
browsing habits in someone's hands - read
https://www.torproject.org/projects/torbrowser/design/ to make up your
mind.
Of course, having this in the ports tree doesn't mean that the OpenBSD
project specifically endorses or recommends usage of Tor or Tor Browser.
If you want to keep your privacy, *use your brain* or stay offline.
ok danj@
2016-11-13 21:15:43 +00:00
|
|
|
|
2018-09-28 14:54:26 +00:00
|
|
|
BROWSER_DIR = ${PREFIX}/lib/${BROWSER_NAME}
|
2020-04-13 16:25:42 +00:00
|
|
|
TRUEBROWSER_DIR = ${TRUEPREFIX}/lib/${BROWSER_NAME}
|
Import (finally!) Tor Browser 6.0.5.
All the credit goes to Sean Levy - attila at stalphonsos dot com, from
the tor BSD diversity project, https://torbsd.github.io/ - who
spent countless hours polishing and improving this out of tree.
This bundles 5 ports:
* tb-browser, a Firefox ESR fork
* torbutton 1.9.5.7, a button to configure parameters
* tor-launcher 0.2.9.3, to manage a tor instance
* tb-noscript 2.9.0.14, a well known js blocker
* tb-https-everwhere 5.2.4, try to force https where possible
Note that the extensions are installed within tb-browser directory and
won't work as-is in a regular Firefox instance.
======================================================================
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.
TB includes custom Firefox add-ons only meant for TB, including
NoScript, HTTPS Everywhere, TorButton and Tor-Launcher. This package
provides merely the modified version of Firefox ESR. Please install
the tor-browser meta-package to make sure you have everything installed
correctly.
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. Note that JS is
blocked everywhere by default in TB using NoScript.
======================================================================
On a personal note (as a Mozilla developer), i'll just add that Tor
Browser is heavily patched in various ways, so think before putting your
browsing habits in someone's hands - read
https://www.torproject.org/projects/torbrowser/design/ to make up your
mind.
Of course, having this in the ports tree doesn't mean that the OpenBSD
project specifically endorses or recommends usage of Tor or Tor Browser.
If you want to keep your privacy, *use your brain* or stay offline.
ok danj@
2016-11-13 21:15:43 +00:00
|
|
|
BROWSER_CFG = ${BROWSER_DIR}/${BROWSER_NAME}.cfg
|
2017-10-21 20:18:45 +00:00
|
|
|
BROWSER_INI = ${BROWSER_DIR}/distribution/distribution.ini
|
Import (finally!) Tor Browser 6.0.5.
All the credit goes to Sean Levy - attila at stalphonsos dot com, from
the tor BSD diversity project, https://torbsd.github.io/ - who
spent countless hours polishing and improving this out of tree.
This bundles 5 ports:
* tb-browser, a Firefox ESR fork
* torbutton 1.9.5.7, a button to configure parameters
* tor-launcher 0.2.9.3, to manage a tor instance
* tb-noscript 2.9.0.14, a well known js blocker
* tb-https-everwhere 5.2.4, try to force https where possible
Note that the extensions are installed within tb-browser directory and
won't work as-is in a regular Firefox instance.
======================================================================
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.
TB includes custom Firefox add-ons only meant for TB, including
NoScript, HTTPS Everywhere, TorButton and Tor-Launcher. This package
provides merely the modified version of Firefox ESR. Please install
the tor-browser meta-package to make sure you have everything installed
correctly.
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. Note that JS is
blocked everywhere by default in TB using NoScript.
======================================================================
On a personal note (as a Mozilla developer), i'll just add that Tor
Browser is heavily patched in various ways, so think before putting your
browsing habits in someone's hands - read
https://www.torproject.org/projects/torbrowser/design/ to make up your
mind.
Of course, having this in the ports tree doesn't mean that the OpenBSD
project specifically endorses or recommends usage of Tor or Tor Browser.
If you want to keep your privacy, *use your brain* or stay offline.
ok danj@
2016-11-13 21:15:43 +00:00
|
|
|
|
2020-04-13 16:25:42 +00:00
|
|
|
SUBST_VARS += TRUEBROWSER_DIR
|
|
|
|
|
Import (finally!) Tor Browser 6.0.5.
All the credit goes to Sean Levy - attila at stalphonsos dot com, from
the tor BSD diversity project, https://torbsd.github.io/ - who
spent countless hours polishing and improving this out of tree.
This bundles 5 ports:
* tb-browser, a Firefox ESR fork
* torbutton 1.9.5.7, a button to configure parameters
* tor-launcher 0.2.9.3, to manage a tor instance
* tb-noscript 2.9.0.14, a well known js blocker
* tb-https-everwhere 5.2.4, try to force https where possible
Note that the extensions are installed within tb-browser directory and
won't work as-is in a regular Firefox instance.
======================================================================
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.
TB includes custom Firefox add-ons only meant for TB, including
NoScript, HTTPS Everywhere, TorButton and Tor-Launcher. This package
provides merely the modified version of Firefox ESR. Please install
the tor-browser meta-package to make sure you have everything installed
correctly.
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. Note that JS is
blocked everywhere by default in TB using NoScript.
======================================================================
On a personal note (as a Mozilla developer), i'll just add that Tor
Browser is heavily patched in various ways, so think before putting your
browsing habits in someone's hands - read
https://www.torproject.org/projects/torbrowser/design/ to make up your
mind.
Of course, having this in the ports tree doesn't mean that the OpenBSD
project specifically endorses or recommends usage of Tor or Tor Browser.
If you want to keep your privacy, *use your brain* or stay offline.
ok danj@
2016-11-13 21:15:43 +00:00
|
|
|
post-install:
|
|
|
|
# install prefs, bookmarks, app config file for Tor browser
|
|
|
|
${INSTALL_DATA_DIR} ${BROWSER_DIR}/browser/defaults/preferences
|
|
|
|
${SUBST_DATA} ${FILESDIR}/all-openbsd.js \
|
|
|
|
${BROWSER_DIR}/browser/defaults/preferences/all-openbsd.js
|
|
|
|
${INSTALL_DATA_DIR} ${BROWSER_DIR}/browser/defaults/profile
|
|
|
|
${INSTALL_DATA} ${FILESDIR}/bookmarks.html \
|
|
|
|
${BROWSER_DIR}/browser/defaults/profile
|
2018-09-28 14:54:26 +00:00
|
|
|
# tor-browser JS config file
|
|
|
|
${INSTALL_DATA} ${FILESDIR}/${BROWSER_NAME}.cfg ${BROWSER_CFG}
|
Import (finally!) Tor Browser 6.0.5.
All the credit goes to Sean Levy - attila at stalphonsos dot com, from
the tor BSD diversity project, https://torbsd.github.io/ - who
spent countless hours polishing and improving this out of tree.
This bundles 5 ports:
* tb-browser, a Firefox ESR fork
* torbutton 1.9.5.7, a button to configure parameters
* tor-launcher 0.2.9.3, to manage a tor instance
* tb-noscript 2.9.0.14, a well known js blocker
* tb-https-everwhere 5.2.4, try to force https where possible
Note that the extensions are installed within tb-browser directory and
won't work as-is in a regular Firefox instance.
======================================================================
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.
TB includes custom Firefox add-ons only meant for TB, including
NoScript, HTTPS Everywhere, TorButton and Tor-Launcher. This package
provides merely the modified version of Firefox ESR. Please install
the tor-browser meta-package to make sure you have everything installed
correctly.
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. Note that JS is
blocked everywhere by default in TB using NoScript.
======================================================================
On a personal note (as a Mozilla developer), i'll just add that Tor
Browser is heavily patched in various ways, so think before putting your
browsing habits in someone's hands - read
https://www.torproject.org/projects/torbrowser/design/ to make up your
mind.
Of course, having this in the ports tree doesn't mean that the OpenBSD
project specifically endorses or recommends usage of Tor or Tor Browser.
If you want to keep your privacy, *use your brain* or stay offline.
ok danj@
2016-11-13 21:15:43 +00:00
|
|
|
chown ${SHAREOWN}:${SHAREGRP} ${BROWSER_CFG}
|
|
|
|
chmod ${SHAREMODE} ${BROWSER_CFG}
|
2017-07-26 20:50:39 +00:00
|
|
|
# install distribution.ini file
|
|
|
|
${INSTALL_DATA_DIR} ${BROWSER_DIR}/distribution
|
2017-10-21 20:18:45 +00:00
|
|
|
echo "[Global]\nid=OpenBSD\nversion=${OSREV}\n" > ${BROWSER_INI}
|
|
|
|
echo "about=Packaged by ${MAINTAINER}\n" >> ${BROWSER_INI}
|
2018-01-10 13:22:25 +00:00
|
|
|
# install desktop file
|
Import (finally!) Tor Browser 6.0.5.
All the credit goes to Sean Levy - attila at stalphonsos dot com, from
the tor BSD diversity project, https://torbsd.github.io/ - who
spent countless hours polishing and improving this out of tree.
This bundles 5 ports:
* tb-browser, a Firefox ESR fork
* torbutton 1.9.5.7, a button to configure parameters
* tor-launcher 0.2.9.3, to manage a tor instance
* tb-noscript 2.9.0.14, a well known js blocker
* tb-https-everwhere 5.2.4, try to force https where possible
Note that the extensions are installed within tb-browser directory and
won't work as-is in a regular Firefox instance.
======================================================================
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.
TB includes custom Firefox add-ons only meant for TB, including
NoScript, HTTPS Everywhere, TorButton and Tor-Launcher. This package
provides merely the modified version of Firefox ESR. Please install
the tor-browser meta-package to make sure you have everything installed
correctly.
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. Note that JS is
blocked everywhere by default in TB using NoScript.
======================================================================
On a personal note (as a Mozilla developer), i'll just add that Tor
Browser is heavily patched in various ways, so think before putting your
browsing habits in someone's hands - read
https://www.torproject.org/projects/torbrowser/design/ to make up your
mind.
Of course, having this in the ports tree doesn't mean that the OpenBSD
project specifically endorses or recommends usage of Tor or Tor Browser.
If you want to keep your privacy, *use your brain* or stay offline.
ok danj@
2016-11-13 21:15:43 +00:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/applications/
|
|
|
|
${SUBST_DATA} ${FILESDIR}/${BROWSER_NAME}.desktop \
|
|
|
|
${PREFIX}/share/applications/${BROWSER_NAME}.desktop
|
|
|
|
# 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
|
|
|
|
|
2020-02-13 07:41:53 +00:00
|
|
|
# install torrc-defaults for Tor Launcher
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/${BROWSER_NAME}
|
|
|
|
${SUBST_DATA} ${FILESDIR}/torrc-defaults \
|
|
|
|
${PREFIX}/share/${BROWSER_NAME}/torrc-defaults
|
|
|
|
|
2020-04-13 16:25:42 +00:00
|
|
|
# install fonts.conf and fonts
|
|
|
|
${INSTALL_DATA_DIR} ${BROWSER_DIR}/browser/fontconfig
|
|
|
|
${SUBST_DATA} \
|
|
|
|
${WRKSRC}/tor-browser_en-US/Browser/TorBrowser/Data/fontconfig/fonts.conf \
|
|
|
|
${BROWSER_DIR}/browser/fontconfig/fonts.conf
|
|
|
|
${INSTALL_DATA_DIR} ${BROWSER_DIR}/browser/fonts
|
|
|
|
cp ${WRKSRC}/tor-browser_en-US/Browser/fonts/* \
|
|
|
|
${BROWSER_DIR}/browser/fonts
|
|
|
|
|
2020-10-23 07:04:09 +00:00
|
|
|
# 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 \
|
|
|
|
-d ${WRKSRC}/https-everywhere/chrome/torbutton/content/extensions/https-everywhere/
|
|
|
|
cd ${WRKSRC}/https-everywhere && find chrome/ | zip -X -@ ${BROWSER_DIR}/omni.ja
|
|
|
|
|
2020-04-13 16:25:42 +00:00
|
|
|
# install wrapper script (remove symlink first)
|
|
|
|
rm ${PREFIX}/bin/${BROWSER_NAME}
|
|
|
|
${SUBST_PROGRAM} ${FILESDIR}/${BROWSER_NAME} \
|
|
|
|
${PREFIX}/bin/${BROWSER_NAME}
|
|
|
|
|
2020-10-23 07:04:09 +00:00
|
|
|
.for f in unveil.content unveil.gpu unveil.main pledge.content pledge.gpu pledge.main
|
|
|
|
${INSTALL_DATA} ${FILESDIR}/${f} ${BROWSER_DIR}/browser/defaults/preferences/
|
|
|
|
.endfor
|
|
|
|
|
Import (finally!) Tor Browser 6.0.5.
All the credit goes to Sean Levy - attila at stalphonsos dot com, from
the tor BSD diversity project, https://torbsd.github.io/ - who
spent countless hours polishing and improving this out of tree.
This bundles 5 ports:
* tb-browser, a Firefox ESR fork
* torbutton 1.9.5.7, a button to configure parameters
* tor-launcher 0.2.9.3, to manage a tor instance
* tb-noscript 2.9.0.14, a well known js blocker
* tb-https-everwhere 5.2.4, try to force https where possible
Note that the extensions are installed within tb-browser directory and
won't work as-is in a regular Firefox instance.
======================================================================
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.
TB includes custom Firefox add-ons only meant for TB, including
NoScript, HTTPS Everywhere, TorButton and Tor-Launcher. This package
provides merely the modified version of Firefox ESR. Please install
the tor-browser meta-package to make sure you have everything installed
correctly.
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. Note that JS is
blocked everywhere by default in TB using NoScript.
======================================================================
On a personal note (as a Mozilla developer), i'll just add that Tor
Browser is heavily patched in various ways, so think before putting your
browsing habits in someone's hands - read
https://www.torproject.org/projects/torbrowser/design/ to make up your
mind.
Of course, having this in the ports tree doesn't mean that the OpenBSD
project specifically endorses or recommends usage of Tor or Tor Browser.
If you want to keep your privacy, *use your brain* or stay offline.
ok danj@
2016-11-13 21:15:43 +00:00
|
|
|
.include <bsd.port.mk>
|