git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #37158 from oxij/pkgs/tor-browsers

update tor browsers

commitc940d2e1acdb17b947401f754cd3270d7ec5005c authorMichael Raskin <7c6f434c@mail.ru> dateFri 16 Mar 2018, 18:06 (9 years ago) parent276001c6093270
4 files changed+29−12
pkgs/applications/networking/browsers/firefox/packages.nix+20−3 pkgs/data/misc/cacert/default.nix+2−2 pkgs/development/libraries/nss/85_security_load.patch+4−4 pkgs/development/libraries/nss/default.nix+3−3
pkgs/applications/networking/browsers/firefox/packages.nix+20−3
@@ -149,9 +149,26 @@ in rec {
149149 src = fetchFromGitHub {
150150 owner = "SLNOS";
151151 repo = "tor-browser";
152− # branch "tor-browser-52.6.2esr-7.5-2-slnos";
153− rev = "cf1a504aaa26af962ae909a3811c0038db2d2eec";
154− sha256 = "0llbk7skh1n7yj137gv7rnxfasxsnvfjp4ss7h1fbdnw19yba115";
152+ # branch "tor-browser-52.7.0esr-7.5-1-slnos";
153+ rev = "211b2be3fea45a450915b0addcd7783aa939e24a";
154+ sha256 = "18gv4r8cjf89mamjh93a856a5yfp7dm3jrk8g05w89vxb3lrl74v";
155+ };
156+
157+ patches = nixpkgsPatches;
158+ } // commonAttrs) {};
159+
160+ tor-browser-8-0 = common (rec {
161+ pname = "tor-browser";
162+ version = "8.0.1";
163+ isTorBrowserLike = true;
164+
165+ # FIXME: fetchFromGitHub is not ideal, unpacked source is >900Mb
166+ src = fetchFromGitHub {
167+ owner = "SLNOS";
168+ repo = "tor-browser";
169+ # branch "tor-browser-52.7.0esr-8.0-1-slnos";
170+ rev = "58314ccb043882e830ee9a21c37a92d6e0d34e94";
171+ sha256 = "09gb7chw2kly53b599xwpi75azj00957rnxly9fqv8zi3n5k2pdb";
155172 };
156173
157174 patches = nixpkgsPatches;
pkgs/data/misc/cacert/default.nix+2−2
@@ -9,8 +9,8 @@ let
99
1010 certdata2pem = fetchurl {
1111 name = "certdata2pem.py";
12− url = "https://anonscm.debian.org/cgit/collab-maint/ca-certificates.git/plain/mozilla/certdata2pem.py?h=debian/20160104";
13− sha256 = "0bw11mgfrf19qziyvdnq22kirp0nn54lfsanrg5h6djs6ig1c2im";
12+ url = "https://anonscm.debian.org/cgit/collab-maint/ca-certificates.git/plain/mozilla/certdata2pem.py?h=debian/20170717";
13+ sha256 = "1d4q27j1gss0186a5m8bs5dk786w07ccyq0qi6xmd2zr1a8q16wy";
1414 };
1515
1616in
pkgs/development/libraries/nss/85_security_load.patch+4−4
@@ -13,10 +13,10 @@ diff -ru -x '*~' -x '*.orig' -x '*.rej' nss/cmd/shlibsign/shlibsign.c nss/cmd/sh
1313diff -ru -x '*~' -x '*.orig' -x '*.rej' nss/coreconf/config.mk nss/coreconf/config.mk
1414--- nss/coreconf/config.mk 2017-01-04 15:24:24.000000000 +0100
1515+++ nss/coreconf/config.mk 2017-01-24 14:43:47.989432372 +0100
16−@@ -208,3 +208,6 @@
17− # exported symbols, which causes problem when NSS is built as part of Mozilla.
18− # So we add a NSS_SSL_ENABLE_ZLIB variable to allow Mozilla to turn this off.
19− NSS_SSL_ENABLE_ZLIB = 1
16+@@ -202,3 +202,6 @@
17+
18+ # Hide old, deprecated, TLS cipher suite names when building NSS
19+ DEFINES += -DSSL_DISABLE_DEPRECATED_CIPHER_SUITE_NAMES
2020+
2121+# Nix specific stuff.
2222+DEFINES += -DNIX_NSS_LIBDIR=\"$(out)/lib/\"
pkgs/development/libraries/nss/default.nix+3−3
@@ -9,11 +9,11 @@ let
99
1010in stdenv.mkDerivation rec {
1111 name = "nss-${version}";
12− version = "3.34.1";
12+ version = "3.35";
1313
1414 src = fetchurl {
15− url = "mirror://mozilla/security/nss/releases/NSS_3_34_1_RTM/src/${name}.tar.gz";
16− sha256 = "186x33wsk4mzjz7dzbn8p0py9a0nzkgzpfkdv4rlyy5gghv5vhd3";
15+ url = "mirror://mozilla/security/nss/releases/NSS_3_35_RTM/src/${name}.tar.gz";
16+ sha256 = "1ypn68z9ncbbshi3184ywrhx5i846lyd72gps1grzqzdkgh7s4pl";
1717 };
1818
1919 buildInputs = [ perl zlib sqlite ]