[gentoo-commits] repo/gentoo:master commit in: www-client/firefox/files/, www-client/firefox/

2023-06-20 Thread Georgy Yakovlev
commit: 9aab476a565acfa2270a22c92d1efa129c3f8693
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Tue Jun 20 19:31:12 2023 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Tue Jun 20 21:16:20 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9aab476a

www-client/firefox: fix/keyword 114.0 on ppc64

Bug: https://bugs.gentoo.org/908297
Signed-off-by: Georgy Yakovlev  gentoo.org>

 .../firefox/files/firefox-114-ppc64-webrtc.patch   | 35 ++
 www-client/firefox/firefox-114.0.ebuild|  7 -
 2 files changed, 41 insertions(+), 1 deletion(-)

diff --git a/www-client/firefox/files/firefox-114-ppc64-webrtc.patch 
b/www-client/firefox/files/firefox-114-ppc64-webrtc.patch
new file mode 100644
index ..14e8c4a6baaa
--- /dev/null
+++ b/www-client/firefox/files/firefox-114-ppc64-webrtc.patch
@@ -0,0 +1,35 @@
+#https://www.talospace.com/2023/06/firefox-114-on-power.html
+#https://gist.github.com/classilla/95b5dd53627528448f8512a82205672c
+
+diff -r 954df08c7f0b third_party/libwebrtc/moz.build
+--- a/third_party/libwebrtc/moz.build  Tue Jun 06 08:55:21 2023 +
 b/third_party/libwebrtc/moz.build  Mon Jun 19 09:33:12 2023 -0700
+@@ -595,16 +595,28 @@
+ "/third_party/libwebrtc/modules/desktop_capture/primitives_gn",
+ "/third_party/libwebrtc/modules/portal/portal_gn",
+ "/third_party/libwebrtc/third_party/drm/drm_gn",
+ "/third_party/libwebrtc/third_party/gbm/gbm_gn",
+ "/third_party/libwebrtc/third_party/libepoxy/libepoxy_gn",
+ "/third_party/libwebrtc/third_party/pipewire/pipewire_gn"
+ ]
+ 
++if CONFIG["CPU_ARCH"] == "ppc64" and CONFIG["OS_TARGET"] == "Linux":
++
++DIRS += [
++"/third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn",
++"/third_party/libwebrtc/modules/desktop_capture/primitives_gn",
++"/third_party/libwebrtc/modules/portal/portal_gn",
++"/third_party/libwebrtc/third_party/drm/drm_gn",
++"/third_party/libwebrtc/third_party/gbm/gbm_gn",
++"/third_party/libwebrtc/third_party/libepoxy/libepoxy_gn",
++"/third_party/libwebrtc/third_party/pipewire/pipewire_gn"
++]
++
+ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "OpenBSD":
+ 
+ DIRS += [
+ "/third_party/libwebrtc/common_audio/common_audio_neon_c_gn",
+ "/third_party/libwebrtc/common_audio/common_audio_neon_gn"
+ ]
+ 
+ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "OpenBSD":

diff --git a/www-client/firefox/firefox-114.0.ebuild 
b/www-client/firefox/firefox-114.0.ebuild
index bdf003b7fd5c..2c6e7a02b3f9 100644
--- a/www-client/firefox/firefox-114.0.ebuild
+++ b/www-client/firefox/firefox-114.0.ebuild
@@ -647,7 +647,12 @@ src_unpack() {
 
 src_prepare() {
use lto && rm -v 
"${WORKDIR}"/firefox-patches/*-LTO-Only-enable-LTO-*.patch
-   ! use ppc64 && rm -v 
"${WORKDIR}"/firefox-patches/*bmo-1775202-ppc64*.patch
+   #! use ppc64 && rm -v 
"${WORKDIR}"/firefox-patches/*bmo-1775202-ppc64*.patch
+
+   # temp workaround for https://bugs.gentoo.org/908297 until patch added 
to tarball
+   rm -v "${WORKDIR}"/firefox-patches/*bmo-1775202-ppc64*.patch
+   use ppc64 && eapply "${FILESDIR}"/firefox-114-ppc64-webrtc.patch
+   # end temp workaround
 
eapply "${WORKDIR}/firefox-patches"
 



[gentoo-commits] repo/gentoo:master commit in: www-client/firefox/files/, www-client/firefox/

2022-03-12 Thread Piotr Karbowski
commit: 37e6804880a2d52fdd8426a93bfcf8171395dfbe
Author: Piotr Karbowski  gentoo  org>
AuthorDate: Sat Mar 12 18:52:53 2022 +
Commit: Piotr Karbowski  gentoo  org>
CommitDate: Sat Mar 12 18:55:25 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37e68048

www-client/firefox: 98 version bump; more hwaccel flags.

This release enables Quantum WebRender and forces EGL when running
under X11 for USE=hwaccel flag.

Signed-off-by: Piotr Karbowski  gentoo.org>

 www-client/firefox/Manifest|   99 ++
 .../firefox/files/gentoo-hwaccel-prefs.js-r1   |5 +
 www-client/firefox/firefox-98.0.ebuild | 1248 
 3 files changed, 1352 insertions(+)

diff --git a/www-client/firefox/Manifest b/www-client/firefox/Manifest
index 1cc5da841bc1..cffa4576745e 100644
--- a/www-client/firefox/Manifest
+++ b/www-client/firefox/Manifest
@@ -294,3 +294,102 @@ DIST firefox-97.0.2-xh.xpi 423176 BLAKE2B 
afa607e090c77fc00db80e7b74f1f88af61e9c
 DIST firefox-97.0.2-zh-CN.xpi 580065 BLAKE2B 
e2fe09fdaa8b9a6704b4190ce19037b9d588c9ab86dbafeb5fda3cc4b9874e28b95ba2477ed1146189d43d9b89daf6129dff856de34c2e8cc64171f9ace81447
 SHA512 
e48476858a687bedecb8da7b0f8a192fd179b1b0c86bd53ac29571819cd1fb41406172c90e695330bc3975f9851a6b8f8b0ea35e4a797f73b929514877913b0b
 DIST firefox-97.0.2-zh-TW.xpi 581184 BLAKE2B 
a34a30f759d18a5aa14eecc2d7b7445a0a5f6f39720f10631d33d664ea831cc3cc84bfda6742dadfe438d80dd058ed4b281208db826109a80eb89de28051
 SHA512 
2b704f0f190bc749ebff8ac230ed984dc3a198de06b10a6bedf4e89b14ef8dd69b3abdb259ea1cbd6f8c5cb5567c093194eff82817c1805b92c402ddb1055180
 DIST firefox-97.0.2.source.tar.xz 491844932 BLAKE2B 
de90887882d35278b5dc0e9520511fd67fdf58338a64955caa893222fa7aa9ed5af4e581d7ed1dacba376dbdad6ba22edb2b1186ebf89622a54d174eff0f14ee
 SHA512 
efbf33723f5979025454b6cc183927afb4bc72a51c00b5d45940122da596b8ac99080f3a6a59f5dd85a725e356349ec57e7eba1c36cdab7d55a28b04895d274c
+DIST firefox-98-patches-03j.tar.xz 17340 BLAKE2B 
d1c9ff486510cfebc0cad708657203e3bdf9007e150af603a4625b29421f983ca1f3b1c6468d07fb7f1ebb967f4bd03ba6fa545a5ca420e957480a0b27c04632
 SHA512 
f4d9f95d7b88efd1b3f19957c7a1b1f971ce0f25fdd461cda701a4d8adf6d1733eaf055624342b79531f84ebc46c9c4edd4f0f23204b7fae9cdd6f9708c6ba41
+DIST firefox-98.0-ach.xpi 449119 BLAKE2B 
d4a47310862e17beb810346eb67f5884f1570273515196121e3d26d3b515b9491ac3020aabd49dfeb2e7961792893aa1b3150ddaec96d426f116cddc6d15e2f4
 SHA512 
3a4edcc0cc74653f6bb8dff1118f469cbd729af57dd6b67bf675200db57ffeb31e06f4dccbc551a7878ebb820636cecb7a3eb2e0b4d351667e913e41520c2e22
+DIST firefox-98.0-af.xpi 415414 BLAKE2B 
ba219310384e23e7a20ef59b280035087980f73fb1d729ef359d9432235afc13185869b8b0545993460e29e57e7006caaca894d878797781954c399a368a81de
 SHA512 
defa5a73f1de658824a7ce13c43e3d240b1c4a3babf4fd265c60ccace775e6f775afe6607c6a17768182d8a9d140e3a4cf3d7a29a692ca52812342c02d1fbfed
+DIST firefox-98.0-an.xpi 495401 BLAKE2B 
4cabaccebc1f73229c7234b85c237c3e26a05dd9acdb4aa90bbdc3c075ca39fe48690a196c95f0d60e29e78a47e2b8dd04201280136dc505c9cee505c22b2118
 SHA512 
c8fd61cd3a51f8a3825df5a928d2dc25e5ad819e0e0ecf98db46495e8653b37349ea0171327783671a9ae39c4cea35b2f45506d8a1d8ef6faf9266487346cc7f
+DIST firefox-98.0-ar.xpi 564944 BLAKE2B 
b49e31c611b798f65eef08c05dbd2b0979031844ed3961a2f9996a16bd291c9e9afda9377dcc8cba670b3b8a693fe8b90ccf0b79fd17b8198827c7d9a5e20096
 SHA512 
aee9d84b81a2cc496c69d3101d8760f8549fe876ede01098dabf33d5bf1141b9730c32600807c725f684b9d73201a0e611d2ae01e571ab322528474ad89d8060
+DIST firefox-98.0-ast.xpi 493525 BLAKE2B 
d272ac586db16dd2f7a5d2c12d3713423c96ff71897b6b935ff7b3971528964f09b00fae2e4883cc6eaea2d01ca009d347fa40dee15e7368f5ee3b3d70d4c071
 SHA512 
962fabec757886421d07319c86b0aa80101edb52445a7a11623eec920baebead7f5884a459deb4f803bce085e3128dcbc7e70a983665db4947b9ad2e64879c22
+DIST firefox-98.0-az.xpi 484504 BLAKE2B 
35e54332419c111485a935e69c2e54c40c2bba41422e82ba0240d7a69584f356ec8c860b74442312714e674a22eafd1544beb51910423360c01072bddb5c2ada
 SHA512 
483ba85bf5a5c301cf34baa5717c411014b9fe14eb8ebe893459e3aef84b3bc0575aa5ff15bf640869a94c2aa2b7eac98e2103c6a505a7d7740efa77a6641759
+DIST firefox-98.0-be.xpi 622390 BLAKE2B 
a5fffdcd96692b0113084f4fadb33b6fb8de0defd45e76f9fcf621d8ddbe043f3a0fe635f39eb6d1f4c1f1be334ff6bcb7bc0c916435cb97763b8add085c3ca1
 SHA512 
3147dd5cdd5a1764aeef5a860ff8aba02618ec45dd1a8a8f1aee6556b672f5af14c1a49ffbdd202fec19dfe6044cb78ad92dd0a668eb7313696fd27950b9ea83
+DIST firefox-98.0-bg.xpi 564850 BLAKE2B 
31f4f3b08805319826279acdde1d601c788978aca5082d62b75878447198ec045b99cb055c68751489b41d69a3b951e4905bb53f76a8410154bd1e18345b06ff
 SHA512 
18ff9588ff06011f2e97c76ed1a97b7b7dff27cd49e7a63c824a5366b66af3f78208ff46310e1341d2eb67c77e28b76db3662415bfa8af3423ea477df7a1548e
+DIST firefox-98.0-bn.xpi 554267 BLAKE2B 
bfb6e28d98ab761b24674d225ddfcd7576e961a26b606ecf74f61a513044230e11c12c6d9345c0d3e21f139046bfba4eecf9fd4b8128b06a6e21f6f2d4255d38
 SHA512 

[gentoo-commits] repo/gentoo:master commit in: www-client/firefox/files/, www-client/firefox/

2022-02-10 Thread Joonas Niilola
commit: 87e4d048cf7c2c53963be2a7224791c8a28218a3
Author: Joonas Niilola  gentoo  org>
AuthorDate: Thu Feb 10 17:01:12 2022 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Thu Feb 10 17:09:08 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87e4d048

www-client/firefox: 97.0 fixes

 - also export the 2nd MACH_SYSTEM_ASSERTED_COMPATIBLE variable,
 - disable sandbox feature with ppc64, as it's currently only
   supported for amd64, arm, arm64 and x86,
 - include the skip-pip-check.patch in the full patch set.

Bug: https://bugs.gentoo.org/832975
Bug: https://bugs.gentoo.org/828999
Closes: https://bugs.gentoo.org/833001
Signed-off-by: Joonas Niilola  gentoo.org>

 www-client/firefox/Manifest   |  2 +-
 www-client/firefox/files/firefox-skip-pip-check.patch | 14 --
 www-client/firefox/firefox-97.0.ebuild| 16 +++-
 3 files changed, 12 insertions(+), 20 deletions(-)

diff --git a/www-client/firefox/Manifest b/www-client/firefox/Manifest
index 35b0432339fe..b6f0256c2718 100644
--- a/www-client/firefox/Manifest
+++ b/www-client/firefox/Manifest
@@ -393,7 +393,7 @@ DIST firefox-96.0.3-xh.xpi 424482 BLAKE2B 
992b037fb299c6fb9a4336e5f0c42180e31db8
 DIST firefox-96.0.3-zh-CN.xpi 576718 BLAKE2B 
5f3f90d0b882284e7792837fdf69a0013318a1f620f2ee6cc808b8978073a939e62082050876ae84c553470b699fef04994a37436db1b7b1bb3578ee0cf84823
 SHA512 
ffdba2148ddda29ce31a5bc550cb1a520de5e3b4be21a324d28ae5259175dc034293380b84bb1cc89a6b3dc2aa866aeed916f1785029bb861ed538225721b43f
 DIST firefox-96.0.3-zh-TW.xpi 577835 BLAKE2B 
6e7dcd8ee056afd73f3270d1d337b4900134241fc14ba1f0c0850f61a7196912b0b7de59869fd6bf7712aabcfcb043c5e161d159bc4c72b2b22b2242b4c8d966
 SHA512 
aaa2b1cfec87e2fc6450b427ebbe4474320acd6a54b16a15a9d8118528f7856155e01acca884afedf75b9b98e13fab81f10c2fb85d9f899f417f5cfdcc02acc2
 DIST firefox-96.0.3.source.tar.xz 406721708 BLAKE2B 
93f5f6258fb76323c45b21d15415d30069bcf2347d37b939b90d0f51d592224bd811972844848f1e1f9dab0f055e140b07693b4d9bb9e9f375358d2a56d00fcb
 SHA512 
3dd5fbc96e369d5f4fb3eca778c2bd3e2313d089f867de9fac3556810a797e9b5629ef1b8840fb2f22a18df7de95ea1993eee052f691d861a555cea544b05966
-DIST firefox-97-patches-01j.tar.xz 16772 BLAKE2B 
adc0370358cfee820a8a74f81aca35591f6e61e7795b786f357fb93b1972c8b5f4506224a499560cb4d7ba3adee88a8b46a64aa411b4eef80c6789df25d69be9
 SHA512 
f82996a07d6218f9a507a42fb079d8d8e0c3ca661d8ea554b50f7a08989e130f42082b57b248eecfd6bb6a25febcf67657c6a31df89883031463053e9cc6ae8c
+DIST firefox-97-patches-02j.tar.xz 17004 BLAKE2B 
ecf13fcf814de06e6e93f6f81e3ac3046c51ed576eed13386299630f4a3fb171d380c6dc955a2d785916714a8e8b53919449d1dfffa5d82e786fec4080f92cef
 SHA512 
5dc145f026893180ab07c46a4fedc5885ff08d7212a5bc59fab7bdd4edf29f6b8ab244e32a1ac8d9dd528fa0f146f20aa00b1c0631f55f9d23509de8dbdf6efd
 DIST firefox-97.0-ach.xpi 453065 BLAKE2B 
ae6a2ff0b39659d8b6367388bbbeadef61ea7cf91ae85fe594a87476a2402af5500d93f07d6bf1edf24da22de0198050b8fd44bd905cb840e971099be64a0c25
 SHA512 
82ccb67bfca8e402467d7cfe3b0c95e5eece0b85625a2232cb8c21df8ec8d6a91c9643736dac4cbcac8a54de87b7bf7a22586e1d89a798a7c4b1246d60870361
 DIST firefox-97.0-af.xpi 419749 BLAKE2B 
6efd866c643327868539d500aa51ebe0a044033a9be9cf1465f63c60b6e99a4c090574379b6f7fb917b4b3348696e47c640fcea37a4e90866f09753c4aa29715
 SHA512 
f1e3e016dd880f65600c3c161dd56a3d1cf9014c7eaee87eb58e294213df30aa12fbb65745861418bd05bb71098db42264cfd7e3f2314dbeb98fd07ce930b4fc
 DIST firefox-97.0-an.xpi 499584 BLAKE2B 
8696e412eb40458a90a590247ebee524a8713091277f2d4c8fe8a8fbd74b7ffe97cca85993435ef5b8eee6ef724b14004762cc8033391627699dd061d27afa8f
 SHA512 
0651eb1b317dba01b5954741bbe3319a693e58be91216b730423c6fb4b9ab2a7463900bfe007e9b232daaea17e5f9bfbadde3fa1e87ff8db1555060cf9f462e3

diff --git a/www-client/firefox/files/firefox-skip-pip-check.patch 
b/www-client/firefox/files/firefox-skip-pip-check.patch
deleted file mode 100644
index dba1056baf94..
--- a/www-client/firefox/files/firefox-skip-pip-check.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-diff --git a/python/mach/mach/site.py b/python/mach/mach/site.py
-index 8fef9bfaf8..61c3101c11 100644
 a/python/mach/mach/site.py
-+++ b/python/mach/mach/site.py
-@@ -940,6 +940,9 @@ def _assert_pip_check(topsrcdir, pthfile_lines, 
virtualenv_name):
- If there's an incompatibility, raise an exception and allow it to bubble 
up since
- it will require user intervention to resolve.
- """
-+
-+return True
-+
- if os.environ.get(
- 
f"MACH_SYSTEM_ASSERTED_COMPATIBLE_WITH_{virtualenv_name.upper()}_SITE", None
- ):

diff --git a/www-client/firefox/firefox-97.0.ebuild 
b/www-client/firefox/firefox-97.0.ebuild
index 1e4506d759ef..89c1930260dc 100644
--- a/www-client/firefox/firefox-97.0.ebuild
+++ b/www-client/firefox/firefox-97.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI="7"
 
-FIREFOX_PATCHSET="firefox-97-patches-01j.tar.xz"
+FIREFOX_PATCHSET="firefox-97-patches-02j.tar.xz"
 
 LLVM_MAX_SLOT=13
 
@@ -579,9 +579,6 @@ 

[gentoo-commits] repo/gentoo:master commit in: www-client/firefox/files/, www-client/firefox/

2022-02-09 Thread Piotr Karbowski
commit: 2ecd527b97c3966044d4828ac44cfcbc882ad789
Author: Piotr Karbowski  gentoo  org>
AuthorDate: Wed Feb  9 23:19:27 2022 +
Commit: Piotr Karbowski  gentoo  org>
CommitDate: Wed Feb  9 23:20:33 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ecd527b

www-client/firefox: 97.0: stub pip check.

Closes: https://bugs.gentoo.org/828999
Signed-off-by: Piotr Karbowski  gentoo.org>

 www-client/firefox/files/firefox-skip-pip-check.patch | 14 ++
 www-client/firefox/firefox-97.0.ebuild|  3 +++
 2 files changed, 17 insertions(+)

diff --git a/www-client/firefox/files/firefox-skip-pip-check.patch 
b/www-client/firefox/files/firefox-skip-pip-check.patch
new file mode 100644
index ..dba1056baf94
--- /dev/null
+++ b/www-client/firefox/files/firefox-skip-pip-check.patch
@@ -0,0 +1,14 @@
+diff --git a/python/mach/mach/site.py b/python/mach/mach/site.py
+index 8fef9bfaf8..61c3101c11 100644
+--- a/python/mach/mach/site.py
 b/python/mach/mach/site.py
+@@ -940,6 +940,9 @@ def _assert_pip_check(topsrcdir, pthfile_lines, 
virtualenv_name):
+ If there's an incompatibility, raise an exception and allow it to bubble 
up since
+ it will require user intervention to resolve.
+ """
++
++return True
++
+ if os.environ.get(
+ 
f"MACH_SYSTEM_ASSERTED_COMPATIBLE_WITH_{virtualenv_name.upper()}_SITE", None
+ ):

diff --git a/www-client/firefox/firefox-97.0.ebuild 
b/www-client/firefox/firefox-97.0.ebuild
index 065a1f5c089e..1e4506d759ef 100644
--- a/www-client/firefox/firefox-97.0.ebuild
+++ b/www-client/firefox/firefox-97.0.ebuild
@@ -579,6 +579,9 @@ src_unpack() {
 }
 
 src_prepare() {
+   # Don't run pip check on the host that builds firefox.
+   eapply "${FILESDIR}"/firefox-skip-pip-check.patch
+
use lto && rm -v 
"${WORKDIR}"/firefox-patches/*-LTO-Only-enable-LTO-*.patch
eapply "${WORKDIR}/firefox-patches"
 



[gentoo-commits] repo/gentoo:master commit in: www-client/firefox/files/, www-client/firefox/

2021-12-17 Thread Joonas Niilola
commit: 9b9c3e8c24ff1f44f62ddb98f5fb93d3eab323fa
Author: Joonas Niilola  gentoo  org>
AuthorDate: Fri Dec 17 08:47:50 2021 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Fri Dec 17 09:06:49 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b9c3e8c

www-client/firefox: add 95.0.1

 - include a patch from mgorny to disable fatal pip invocation in
   case pip is found, and "pip check" fails sanity check.

Closes: https://bugs.gentoo.org/828999
Signed-off-by: Joonas Niilola  gentoo.org>

 www-client/firefox/Manifest|   98 ++
 .../firefox-95-fix-fatal-pip-invocation.patch  |   13 +
 www-client/firefox/firefox-95.0.1.ebuild   | 1240 
 3 files changed, 1351 insertions(+)

diff --git a/www-client/firefox/Manifest b/www-client/firefox/Manifest
index 4e5b6a49b394..8dc62e059fdf 100644
--- a/www-client/firefox/Manifest
+++ b/www-client/firefox/Manifest
@@ -195,4 +195,102 @@ DIST firefox-95.0-vi.xpi 569408 BLAKE2B 
ea2d973c250c3a46621567bde9d6e9805dc22315
 DIST firefox-95.0-xh.xpi 424123 BLAKE2B 
35ebded6af47343021066ff726501b1c5a36bf96c2d2805883ea7f0c27820807a7745a59c9e5a0ae7d0697935501ebcdd4ab26d4bc4ec27900d02562215331c7
 SHA512 
9335a43b2bcd62a8521c04c1698ef021b839b124a20c00ff8a8c3a4b641273fcbab5938b8f207fbc94e26c03a05e4a213f2a43e64814da1114178951068d2c66
 DIST firefox-95.0-zh-CN.xpi 571142 BLAKE2B 
ef68a507ae28c7fc9fdae15a3b2f760ed50889245dd3a3c463f170642deb14383feb0bd1a7dcd2806b6c88aca14101b0253879ddc85773a355667e98f8fc7b47
 SHA512 
006518e8c34db43fc96f371970737751df6a36b95a89172d2934f776c3eda3372cc4fcf674fd81b8a9f4471fe2be7a212a725ea9772dbd0d82b9a1fc56ba75e1
 DIST firefox-95.0-zh-TW.xpi 571955 BLAKE2B 
a41c01347771a0fe5609ebb61b2046695d9354c35f61e238db116401da8b8b50c31b07ee8455347f6f2714a2ad3fba5dacdaa8cc4b0794e90db16c8ec30741d1
 SHA512 
68395d78cb17ad8c9ce7b70e23b5f019bfda25e6aeb615babfafdb715dc3c83cff049ae8b9d6c3520919a8fc46cc606b136276af1e86dfb5e82ba3978e7b
+DIST firefox-95.0.1-ach.xpi 450519 BLAKE2B 
0b6dcb80640bf21a3c17c5ca531370873e15c7bb9252cf416779bcafbd006d3699f92c027766d11dbe0fe1594b3f78d06d6488f159dc54e17f9e8eb78b6be09a
 SHA512 
a82a89ea29857e192e4265a4c48c7dd86eb20d10adc7d7a1e867d5452e049a8634c97b477520639b48e7fc65b092b4a0eb8dcb21f961895152d1edb75033eb12
+DIST firefox-95.0.1-af.xpi 421586 BLAKE2B 
a788cbcddba0f0ed130353766a8c020a22895c64dcf22bb7a160a4235beff98e9ad6297f67737dec00ff29921eb6df61d2ebae02e6b5ad635cb050acb7bdfcd1
 SHA512 
feaae211061edfeb2b5c010615cac3df6043429b694e65e0aa9f0314d7d115a5a90ef574ce2432f3e04c33d0661639d694943a3660a160059bf6a3b9a65b238e
+DIST firefox-95.0.1-an.xpi 497837 BLAKE2B 
62af2f9fb8fd88fe1a8f23d7bb62dbdf850e2b6969e8b01a75fe752e563e440a4d43aa05f00ae0813813c96029c6aee5c95a3aa82d74f503578ca26a100ab0bc
 SHA512 
8835c70622c56b348bccec6eb9745838ec356188326167af69825c80b144332930ab1b52ad8efe88d90e9fa20f878465309b1b05c9f45313b0dc258f58ce27a7
+DIST firefox-95.0.1-ar.xpi 556954 BLAKE2B 
1c39c4fce341b86deb32eaf04d7310795ef6060d7fc5b4d0ff2b9e938fca87ff20614ba5eb4ff314d0bbfda6867a368939b7d6d0a366c041a66f06e7e7f5a4d1
 SHA512 
6fdd293e38f10b8686335d3e57914d674b40d6d52ed2d9801c5776d96778db03efa1743a9d9bc8e67d48b882d3d83708a4d2fbfcf0d5a3cf3e7a2a2bed4d749f
+DIST firefox-95.0.1-ast.xpi 495639 BLAKE2B 
fd34877069c2f0621042bb415b1fae7a5295932f86d673778ccb865ec65a2bafb20cdab0570c5a2d9106b9ca70006fb1a9b12d77545bfc0898a3cfd18d952603
 SHA512 
7ec1b2f5a6d3f946805bb19b89079a75cf795c43f16d8530141dc91128d242e1b6a4943d6d2f69078425af15ac63a95908b5ee4afd2a9646860de8e8b544ad06
+DIST firefox-95.0.1-az.xpi 486489 BLAKE2B 
af3d64bba8c6d2fdcfc4d4f3b078a6934e564875fa30d00e17013965d029d2d927eabb0360d0f2b8767241ff655bf7a46e00f81a0a61a57f21d5e6299291d304
 SHA512 
4b70feebd894a4c8ffe153f7480fe9178a1c88dae0a4e354ae94258b8c383378f997461ce5db67f6d106c825b8a77a5f8c46d020abb83bfd8f2ae111b4f139c3
+DIST firefox-95.0.1-be.xpi 617811 BLAKE2B 
a6e6b61e9db2e6403ce26c9209af4984b1d26172a2d4d82c6b55175f692ea7edd4d2de036358ddf2394b5df17c68dd3737b4d81d8e9a32240705927cb650fec7
 SHA512 
d0cee31b7ff312a98fb855a3c7905171641d656db4cac5c8d368bfc45d300c507c1a7665f957c36e2e0d2f281e8dfe1a245e0ad7cf6ea93e082626c3da2933d0
+DIST firefox-95.0.1-bg.xpi 564532 BLAKE2B 
d982253c25ba1be9c1c104ee2e45383bbdda414487a14c7d31a28f81768dca8a72b2fbed0a8a2d4f4317115875ad253825cb8faf970b0b38884a038697fadd29
 SHA512 
7669a8ee8f9d1e440904cd76281c5fb25da1cc83e3dd1b0a38d7a118b1d0083055f39489eff33fe3082dd5b1649f67e37a824955c37aea7f907623e957853fbb
+DIST firefox-95.0.1-bn.xpi 553376 BLAKE2B 
df7dce4de8665485f3df2a0ab550429e552e8fd8e33c464127d7fc832ccb295477831b9664e8b05761c69f0f86b87527b64db4ecbe8bcbbb2446734be19af073
 SHA512 
320039de296fb52f8ad50345c4f86044d62469c59be4c1de6ebd3aa9efad7e8e7226bd60aacc8f99eeaf78036282bd3fb44432d1e020c242b81779eae0f6d187
+DIST firefox-95.0.1-br.xpi 524083 BLAKE2B 
7398e294b576ecb466680a5c5f846c66a9512d5b7ef49261f5c797268f7214fd3ffe817e9498ba8a887ba7c1b36e40cb28467dd7610064a70ef02eb8d7c36197
 SHA512 

[gentoo-commits] repo/gentoo:master commit in: www-client/firefox/files/, www-client/firefox/

2020-03-30 Thread Thomas Deutschmann
commit: de3255e329bf23cd3e8247e475e75b374e53aec9
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Sun Mar 29 00:46:42 2020 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Mon Mar 30 11:45:10 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de3255e3

www-client/firefox: use wrapper

This change will replace /usr/bin/firefox symlink with a
wrapper script:

- Using a wrapper will allow us to set additional variables
  more easily.

- The wrapper will address an issue that prevented external applications
  from opening links when a Firefox instance was already running.

- In general, the wrapper will allow user to execute 'firefox' from
  wherever and whenever they like without getting an error that an
  instance is already running.

Signed-off-by: Thomas Deutschmann  gentoo.org>

 www-client/firefox/files/firefox-wayland.sh |   7 ++
 www-client/firefox/files/firefox-x11.sh |   7 ++
 www-client/firefox/files/firefox.sh | 105 
 www-client/firefox/firefox-74.0-r2.ebuild   |  62 ++--
 4 files changed, 174 insertions(+), 7 deletions(-)

diff --git a/www-client/firefox/files/firefox-wayland.sh 
b/www-client/firefox/files/firefox-wayland.sh
new file mode 100644
index 000..44280250fb9
--- /dev/null
+++ b/www-client/firefox/files/firefox-wayland.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+#
+# Run Mozilla Firefox under Wayland
+#
+export MOZ_ENABLE_WAYLAND=1
+exec @PREFIX@/bin/firefox "$@"

diff --git a/www-client/firefox/files/firefox-x11.sh 
b/www-client/firefox/files/firefox-x11.sh
new file mode 100644
index 000..756556690cf
--- /dev/null
+++ b/www-client/firefox/files/firefox-x11.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+#
+# Run Mozilla Firefox on X11
+#
+export MOZ_DISABLE_WAYLAND=1
+exec @PREFIX@/bin/firefox "$@"

diff --git a/www-client/firefox/files/firefox.sh 
b/www-client/firefox/files/firefox.sh
new file mode 100644
index 000..d942087ffa8
--- /dev/null
+++ b/www-client/firefox/files/firefox.sh
@@ -0,0 +1,105 @@
+#!/bin/bash
+
+##
+## Usage:
+##
+## $ firefox
+##
+## This script is meant to run Mozilla Firefox in Gentoo.
+
+cmdname=$(basename "$0")
+
+##
+## Variables
+##
+MOZ_ARCH=$(uname -m)
+case ${MOZ_ARCH} in
+   x86_64|s390x|sparc64)
+   MOZ_LIB_DIR="@PREFIX@/lib64"
+   SECONDARY_LIB_DIR="@PREFIX@/lib"
+   ;;
+   *)
+   MOZ_LIB_DIR="@PREFIX@/lib"
+   SECONDARY_LIB_DIR="@PREFIX@/lib64"
+   ;;
+esac
+
+MOZ_FIREFOX_FILE="firefox"
+
+if [[ ! -r ${MOZ_LIB_DIR}/firefox/${MOZ_FIREFOX_FILE} ]]; then
+   if [[ ! -r ${SECONDARY_LIB_DIR}/firefox/${MOZ_FIREFOX_FILE} ]]; then
+   echo "Error: ${MOZ_LIB_DIR}/firefox/${MOZ_FIREFOX_FILE} not 
found" >&2
+   if [[ -d $SECONDARY_LIB_DIR ]]; then
+   echo "   
${SECONDARY_LIB_DIR}/firefox/${MOZ_FIREFOX_FILE} not found" >&2
+   fi
+   exit 1
+   fi
+   MOZ_LIB_DIR="$SECONDARY_LIB_DIR"
+fi
+MOZILLA_FIVE_HOME="${MOZ_LIB_DIR}/firefox"
+MOZ_EXTENSIONS_PROFILE_DIR="${HOME}/.mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}"
+MOZ_PROGRAM="${MOZILLA_FIVE_HOME}/${MOZ_FIREFOX_FILE}"
+DESKTOP_FILE="firefox"
+
+##
+## Enable Wayland backend?
+##
+if @DEFAULT_WAYLAND@ && [[ -z ${MOZ_DISABLE_WAYLAND} ]]; then
+   if [[ -n "$WAYLAND_DISPLAY" ]]; then
+   DESKTOP_FILE="firefox-wayland"
+   export MOZ_ENABLE_WAYLAND=1
+   fi
+elif [[ -n ${MOZ_DISABLE_WAYLAND} ]]; then
+   DESKTOP_FILE="firefox-x11"
+fi
+
+##
+## Use D-Bus remote exclusively when there's Wayland display.
+##
+if [[ -n "${WAYLAND_DISPLAY}" ]]; then
+   export MOZ_DBUS_REMOTE=1
+fi
+
+##
+## Make sure that we set the plugin path
+##
+MOZ_PLUGIN_DIR="plugins"
+
+if [[ -n "${MOZ_PLUGIN_PATH}" ]]; then
+   
MOZ_PLUGIN_PATH=${MOZ_PLUGIN_PATH}:${MOZ_LIB_DIR}/mozilla/${MOZ_PLUGIN_DIR}
+else
+   MOZ_PLUGIN_PATH=${MOZ_LIB_DIR}/mozilla/${MOZ_PLUGIN_DIR}
+fi
+
+if [[ -d "${SECONDARY_LIB_DIR}/mozilla/${MOZ_PLUGIN_DIR}" ]]; then
+   
MOZ_PLUGIN_PATH=${MOZ_PLUGIN_PATH}:${SECONDARY_LIB_DIR}/mozilla/${MOZ_PLUGIN_DIR}
+fi
+
+export MOZ_PLUGIN_PATH
+
+##
+## Set MOZ_APP_LAUNCHER for gnome-session
+##
+export MOZ_APP_LAUNCHER="@PREFIX@/bin/${cmdname}"
+
+##
+## Disable the GNOME crash dialog, Moz has it's own
+##
+if [[ "$XDG_CURRENT_DESKTOP" == "GNOME" ]]; then
+   GNOME_DISABLE_CRASH_DIALOG=1
+   export GNOME_DISABLE_CRASH_DIALOG
+fi
+
+# Don't throw "old profile" dialog box.
+export MOZ_ALLOW_DOWNGRADE=1
+
+##
+## Route to the correct .desktop file to get proper
+## names and contect menus
+##
+if [[ $@ != *"--name "* ]]; then
+   set -- "--name ${DESKTOP_FILE}" "$@"
+fi
+
+# Run the browser
+exec ${MOZ_PROGRAM} $@

diff --git a/www-client/firefox/firefox-74.0-r2.ebuild 
b/www-client/firefox/firefox-74.0-r2.ebuild
index f59e1224f9f..bd04eca22ba 100644
--- 

[gentoo-commits] repo/gentoo:master commit in: www-client/firefox/files/, www-client/firefox/

2020-02-15 Thread Jory Pratt
commit: 1271c2e45284b16f2083fadbadaa57b405b94f1c
Author: Jory Pratt  gentoo  org>
AuthorDate: Sun Feb 16 03:05:42 2020 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Sun Feb 16 03:07:17 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1271c2e4

www-client/firefox: Fix llvm9 build failure

Closes: https://bugs.gentoo.org/704924
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Jory Pratt  gentoo.org>

 www-client/firefox/files/firefox-73.0_fix_llvm9.patch | 19 +++
 www-client/firefox/firefox-73.0.ebuild|  1 +
 2 files changed, 20 insertions(+)

diff --git a/www-client/firefox/files/firefox-73.0_fix_llvm9.patch 
b/www-client/firefox/files/firefox-73.0_fix_llvm9.patch
new file mode 100644
index 000..e12417e6a02
--- /dev/null
+++ b/www-client/firefox/files/firefox-73.0_fix_llvm9.patch
@@ -0,0 +1,19 @@
+diff --git a/config/gcc-stl-wrapper.template.h 
b/config/gcc-stl-wrapper.template.h
+--- a/config/gcc-stl-wrapper.template.h
 b/config/gcc-stl-wrapper.template.h
+@@ -32,6 +32,14 @@
+ #  define moz_dont_include_mozalloc_for_cstdlib
+ #endif
+ 
++#ifndef moz_dont_include_mozalloc_for_type_traits
++#  define moz_dont_include_mozalloc_for_type_traits
++#endif
++
++#ifndef moz_dont_include_mozalloc_for_limits
++#  define moz_dont_include_mozalloc_for_limits
++#endif
++
+ // Include mozalloc after the STL header and all other headers it includes
+ // have been preprocessed.
+ #if !defined(MOZ_INCLUDE_MOZALLOC_H) && \
+

diff --git a/www-client/firefox/firefox-73.0.ebuild 
b/www-client/firefox/firefox-73.0.ebuild
index c4fb0b23ad1..6e104cb56f9 100644
--- a/www-client/firefox/firefox-73.0.ebuild
+++ b/www-client/firefox/firefox-73.0.ebuild
@@ -258,6 +258,7 @@ src_prepare() {
eapply "${WORKDIR}/firefox"
 
eapply "${FILESDIR}/${PN}-73.0_fix_lto_pgo_builds.patch"
+   eapply "${FILESDIR}/${PN}-73.0_fix_llvm9.patch"
 
# Allow user to apply any additional patches without modifing ebuild
eapply_user



[gentoo-commits] repo/gentoo:master commit in: www-client/firefox/files/, www-client/firefox/

2019-12-09 Thread Jory Pratt
commit: c40cc87ed9378492d84a2c6c5e45fa3d399ba7a2
Author: Jory Pratt  gentoo  org>
AuthorDate: Mon Dec  9 23:51:50 2019 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Mon Dec  9 23:52:11 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c40cc87e

www-client/firefox: Fix segfault with gcc lto builds

Closes: https://bugs.gentoo.org/show_bug.cgi?id=701866
Package-Manager: Portage-2.3.81, Repoman-2.3.20
Signed-off-by: Jory Pratt  gentoo.org>

 .../files/mozilla-bug1601707-gcc-fixup.patch   | 114 +
 www-client/firefox/firefox-71.0.ebuild |   1 +
 2 files changed, 115 insertions(+)

diff --git a/www-client/firefox/files/mozilla-bug1601707-gcc-fixup.patch 
b/www-client/firefox/files/mozilla-bug1601707-gcc-fixup.patch
new file mode 100644
index 000..7002c6d70b7
--- /dev/null
+++ b/www-client/firefox/files/mozilla-bug1601707-gcc-fixup.patch
@@ -0,0 +1,114 @@
+diff -up firefox-71.0/dom/indexedDB/ActorsParent.cpp.gcc-workaround 
firefox-71.0/dom/indexedDB/ActorsParent.cpp
+--- firefox-71.0/dom/indexedDB/ActorsParent.cpp.gcc-workaround 2019-12-02 
13:22:58.0 +0100
 firefox-71.0/dom/indexedDB/ActorsParent.cpp2019-12-08 
21:52:54.449199120 +0100
+@@ -24311,11 +24311,11 @@ nsresult ObjectStoreAddOrPutRequestOp::D
+   // if we allow overwrite or not. By not allowing overwrite we raise
+   // detectable errors rather than corrupting data.
+   DatabaseConnection::CachedStatement stmt;
+-  const auto& optReplaceDirective = (!mOverwrite || keyUnset)
+-? NS_LITERAL_CSTRING("")
+-: NS_LITERAL_CSTRING("OR REPLACE ");
+   rv = aConnection->GetCachedStatement(
+-  NS_LITERAL_CSTRING("INSERT ") + optReplaceDirective +
++  NS_LITERAL_CSTRING("INSERT ") +
++((!mOverwrite || keyUnset)
++   ? NS_LITERAL_CSTRING("")
++   : NS_LITERAL_CSTRING("OR REPLACE ")) +
+   NS_LITERAL_CSTRING("INTO object_data "
+  "(object_store_id, key, file_ids, data) "
+  "VALUES (:") +
+@@ -25869,11 +25869,8 @@ void Cursor::OpenOp::PrepareIndexKeyCond
+ }
+   }
+ 
+-  const auto& comparisonChar =
+-  isIncreasingOrder ? NS_LITERAL_CSTRING(">") : NS_LITERAL_CSTRING("<");
+-
+   mCursor->mContinueToQuery =
+-  aQueryStart + NS_LITERAL_CSTRING(" AND sort_column ") + comparisonChar +
++  aQueryStart + NS_LITERAL_CSTRING(" AND sort_column ") + 
(isIncreasingOrder ? NS_LITERAL_CSTRING(">") : NS_LITERAL_CSTRING("<")) +
+   NS_LITERAL_CSTRING("= :") + kStmtParamNameCurrentKey;
+ 
+   switch (mCursor->mDirection) {
+@@ -25881,11 +25878,11 @@ void Cursor::OpenOp::PrepareIndexKeyCond
+ case IDBCursor::PREV:
+   mCursor->mContinueQuery =
+   aQueryStart + NS_LITERAL_CSTRING(" AND sort_column ") +
+-  comparisonChar + NS_LITERAL_CSTRING("= :") +
++  (isIncreasingOrder ? NS_LITERAL_CSTRING(">") : 
NS_LITERAL_CSTRING("<")) + NS_LITERAL_CSTRING("= :") +
+   kStmtParamNameCurrentKey + NS_LITERAL_CSTRING(" AND ( sort_column 
") +
+-  comparisonChar + NS_LITERAL_CSTRING(" :") + 
kStmtParamNameCurrentKey +
++  (isIncreasingOrder ? NS_LITERAL_CSTRING(">") : 
NS_LITERAL_CSTRING("<")) + NS_LITERAL_CSTRING(" :") + kStmtParamNameCurrentKey +
+   NS_LITERAL_CSTRING(" OR ") + aObjectDataKeyPrefix +
+-  NS_LITERAL_CSTRING("object_data_key ") + comparisonChar +
++  NS_LITERAL_CSTRING("object_data_key ") + (isIncreasingOrder ? 
NS_LITERAL_CSTRING(">") : NS_LITERAL_CSTRING("<")) +
+   NS_LITERAL_CSTRING(" :") + kStmtParamNameObjectStorePosition +
+   NS_LITERAL_CSTRING(" ) ");
+ 
+@@ -25896,12 +25893,12 @@ void Cursor::OpenOp::PrepareIndexKeyCond
+   "(sort_column == :") +
+   kStmtParamNameCurrentKey + NS_LITERAL_CSTRING(" AND ") +
+   aObjectDataKeyPrefix + NS_LITERAL_CSTRING("object_data_key ") +
+-  comparisonChar + NS_LITERAL_CSTRING("= :") +
++  (isIncreasingOrder ? NS_LITERAL_CSTRING(">") : 
NS_LITERAL_CSTRING("<")) + NS_LITERAL_CSTRING("= :") +
+   kStmtParamNameObjectStorePosition +
+   NS_LITERAL_CSTRING(
+   ") OR "
+   "sort_column ") +
+-  comparisonChar + NS_LITERAL_CSTRING(" :") + 
kStmtParamNameCurrentKey +
++  (isIncreasingOrder ? NS_LITERAL_CSTRING(">") : 
NS_LITERAL_CSTRING("<")) + NS_LITERAL_CSTRING(" :") + kStmtParamNameCurrentKey +
+   NS_LITERAL_CSTRING(")");
+   break;
+ 
+@@ -25909,7 +25906,7 @@ void Cursor::OpenOp::PrepareIndexKeyCond
+ case IDBCursor::PREV_UNIQUE:
+   mCursor->mContinueQuery =
+   aQueryStart + NS_LITERAL_CSTRING(" AND sort_column ") +
+-  comparisonChar + NS_LITERAL_CSTRING(" :") + 
kStmtParamNameCurrentKey;
++  (isIncreasingOrder ? NS_LITERAL_CSTRING(">") : 
NS_LITERAL_CSTRING("<")) + NS_LITERAL_CSTRING(" :") + 

[gentoo-commits] repo/gentoo:master commit in: www-client/firefox/files/, www-client/firefox/

2019-11-08 Thread Thomas Deutschmann
commit: 39b51a6c42517379eb2abe1ccf9db04780ca6ae0
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Fri Nov  8 12:46:14 2019 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Fri Nov  8 12:46:25 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39b51a6c

www-client/firefox: unbreak rust-1.39.0

Package-Manager: Portage-2.3.78, Repoman-2.3.17
Signed-off-by: Thomas Deutschmann  gentoo.org>

 .../firefox/files/firefox-68.2.0-rust-1.39+.patch  | 170 +
 .../firefox/files/firefox-70.0.1-rust-1.39+.patch  | 163 
 www-client/firefox/firefox-68.2.0.ebuild   |   3 +-
 www-client/firefox/firefox-70.0.1.ebuild   |   3 +-
 4 files changed, 337 insertions(+), 2 deletions(-)

diff --git a/www-client/firefox/files/firefox-68.2.0-rust-1.39+.patch 
b/www-client/firefox/files/firefox-68.2.0-rust-1.39+.patch
new file mode 100644
index 000..bfb71cbb788
--- /dev/null
+++ b/www-client/firefox/files/firefox-68.2.0-rust-1.39+.patch
@@ -0,0 +1,170 @@
+Based on https://github.com/rust-lang/rust/issues/64710
+
+--- a/third_party/rust/bindgen/.cargo-checksum.json
 b/third_party/rust/bindgen/.cargo-checksum.json
+@@ -1 +1 @@
+-{"files":{"Cargo.toml":"9af635e7bad9021a49742a312faf6178b757dbd48aabc998931d6f491f14c179","LICENSE":"c23953d9deb0a3312dbeaf6c128a657f3591acee45067612fa68405eaa4525db","README.md":"5a1f556c6a57c0a6ccc65e19c27718e0f4b32381a8efcc80f6601b33c58c5d59","build.rs":"a9f6915c54d75f357ce32f96327bf4df53dc81a505b70831978f9dac6f43841d","src/callbacks.rs":"b24d7982332c6a35928f134184ddf4072fe4545a45546b97b9b0e0c1fbb77c08","src/clang.rs":"e9203eb5a1b432efebafcd011896e35e8c9145037bf99e7bb3709dc1b8e8e783","src/codegen/bitfield_unit.rs":"88b0604322dc449fc9284850eadc1f5d14b42fa747d4258bae0b6b9535f52dfd","src/codegen/bitfield_unit_tests.rs":"2073ac6a36e0bc9afaef5b1207966817c8fb7a1a9f6368c3b1b8f79822efbfba","src/codegen/error.rs":"2613af1d833377fd4a70719f4a09951d9d45dc9227827b9a2a938a1bcaaea2dd","src/codegen/helpers.rs":"fbd23e68dd51ccaddeb9761394d5df2db49baded0e2dccf6bbc52a2d6de502eb","src/codegen/impl_debug.rs":"f82969461d522fb758eca552ceaf189122a404cbb47fcc16008bfe52fc62aefa","src/codegen/impl_partial
 
eq.rs":"d40d9ee2849c4d3d557b033c4d3af5e6de4a44347f67c0f016198086338811af","src/codegen/mod.rs":"238d989e13b7556e5d120a2bfe85b43332fba56cbe8df886d4c32e650fff1247","src/codegen/struct_layout.rs":"3fa5524aff82365ce292b0cc85080514c85a6dbd31bce90f001773b995dda28e","src/extra_assertions.rs":"494534bd4f18b80d89b180c8a93733e6617edcf7deac413e9a73fd6e7bc9ced7","src/features.rs":"c5fd7149f4a3b41fd4f89ade08505170942f4bc791bcb6a34f3ae61856f8","src/ir/analysis/derive.rs":"325d4c1c1e6194e743f42a2316f1501b0ef852fe309f2e9cac3434825ad235f0","src/ir/analysis/has_destructor.rs":"63644f479738df35e531d3324ff892614083c3656e0747aa34d9f20dada878ec","src/ir/analysis/has_float.rs":"76162a309e4285a806755a08c687a3e7bc894a100a63da4e88584035e215b11d","src/ir/analysis/has_type_param_in_array.rs":"fdbc0af28a144c88ea2de83e6e6da5e1ffb40e3dd63fd7a708095d085bb06f94","src/ir/analysis/has_vtable.rs":"5788372d27bdbaaf0454bc17be31a5480918bc41a8a1c4832e8c61185c07f9cd","src/ir/analysis/mod.rs":"1f218e15c19f512908abc8
 
53fa7ff9ca5d0fafd94f026d9e4b0ce287ec3c","src/ir/analysis/sizedness.rs":"8dc10043d872e68e660ef96edca4d9733f95be45cdad4893462fa929b335014f","src/ir/analysis/template_params.rs":"6312c008bbc80f50e72a766756c8daddea0b6eeb31ec924b83a231df931e170e","src/ir/annotations.rs":"39a5ab19f4d5dfa617577e4a0d0d2b67b5369d480c7cca4b14d172458c9843f0","src/ir/comment.rs":"c48abe01c5af0f09f583a89f1394bc6c161b40f6c8f0f600bbfe3c907b47969b","src/ir/comp.rs":"ca439407faefbe3a198246f0a1dbdf4e40307e45eaaad317e85d1aab37bb31fc","src/ir/context.rs":"599226eb04d337a1b1b13af91af91bdb02dbd5f26f274cbc0ebc4489eb144fc0","src/ir/derive.rs":"34f9aa76b6c9c05136bb69dcd6455397faef571a567254d2c541d50a962994db","src/ir/dot.rs":"95ed2968fc3239d87892e9f1edf1ed6dd18630d949564961765967ea1d16960c","src/ir/enum_ty.rs":"9cc242d6b3c185594e8b306860ee39c0ea42d22198d46b7fded473fe3e84","src/ir/function.rs":"2d41d9df19f42b0c383f338be4c026c005853a8d1caf5f3e5a2f3a8dad202232","src/ir/int.rs":"07e0c7dbd2dd977177fae3acd2a14adf271c6cf9ff4b5
 

[gentoo-commits] repo/gentoo:master commit in: www-client/firefox/files/, www-client/firefox/

2018-10-31 Thread Thomas Deutschmann
commit: d01d14fc67b3a1a4ead16e9235d72971d38ee843
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Wed Oct 31 21:29:00 2018 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Wed Oct 31 21:29:00 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d01d14fc

www-client/firefox: security cleanup (bug #669430)

Package-Manager: Portage-2.3.51, Repoman-2.3.11
Signed-off-by: Thomas Deutschmann  gentoo.org>

 www-client/firefox/Manifest| 185 -
 www-client/firefox/files/bug_1461221.patch |  36 -
 .../files/firefox-60.0-blessings-TERM.patch|  70 --
 .../files/firefox-60.0-do-not-force-lld.patch  | 262 
 ...missing-errno_h-in-SandboxOpenedFiles_cpp.patch |  27 -
 .../files/firefox-60.0-rust-1.29-comp.patch|  37 -
 .../firefox/files/firefox-60.0-sandbox-lto.patch   |  13 -
 .../files/firefox-60.0-update-cc-to-honor-CC.patch | 745 -
 www-client/firefox/firefox-60.2.2.ebuild   | 413 
 www-client/firefox/firefox-62.0.3.ebuild   | 614 -
 10 files changed, 2402 deletions(-)

diff --git a/www-client/firefox/Manifest b/www-client/firefox/Manifest
index 34c225376c5..88f3d85174b 100644
--- a/www-client/firefox/Manifest
+++ b/www-client/firefox/Manifest
@@ -92,98 +92,6 @@ DIST firefox-52.9.0esr-zh-CN.xpi 461679 BLAKE2B 
745b2cfb86e93a379e13fa73b7e3721b
 DIST firefox-52.9.0esr-zh-TW.xpi 453068 BLAKE2B 
84e08ea4fd119db1f1c6f84b212fbbb5d6999c5ac6010c0e7836d8734726d281107f3d91ba7bac1aeaf855dc36d3b018ae3913dccdbe2b11aad02a8d8aaa893c
 SHA512 
a99042ef7d00820e341dfcf2c45a8b5bd77eaf2cc8ecf0ff5ee982b7bd9beac7cb4bf051c57ef3b7a5d9b67cd35858dca396d21e65718e248f3b1fdba5273999
 DIST firefox-52.9.0esr.source.tar.xz 214087304 BLAKE2B 
eba5305ae3fc9a4306cbcbcd8d4610272ca5b75e369367961e9d94919b003de8aae8f3c58fe1c628787d98105a85fab575ae2b051e92a0b35bbb8b402c100766
 SHA512 
bfca42668ca78a12a9fb56368f4aae5334b1f7a71966fbba4c32b9c5e6597aac79a6e340ac3966779d2d5563eb47c054ab33cc40bfb7306172138ccbd3adb2b9
 DIST firefox-60.0-patches-04.tar.xz 120496 BLAKE2B 
4b4fd58a91d8fd9603c3a7bdb669f275f7cbd7b9add7c790a2e326f46a540e77a390e9da3f85e81feee8e5354cb25c93e140fb2f721cdcd0fe197b7c24ea0091
 SHA512 
d8aaa1fafe22dcef8cba609ba6e2d322c18b46f4d3b91897696651958108f887510a068295b55bb21d84b660bbe7574a6533a57d8e26f96d2877139864dba828
-DIST firefox-60.2.2esr-ach.xpi 496840 BLAKE2B 
1419b3ee223a1e5505d6d596068f68c4d3f6df3152112b877926b23515d33f701aeeeac9ccc7a1d2fca828ceb314a6e1fd2fe4c1619283dbbe763ff05a3e35ac
 SHA512 
765d6859e15189d410cb08d42ca565de42f56413e7d4fb88c1d500eaf199c32089e2dd4a567681e9ff083995378a8dc220a46ba7740847096572f4de7a49c1e2
-DIST firefox-60.2.2esr-af.xpi 487308 BLAKE2B 
f9cbbaa1d7ddd32f13d0d0181fc669bf2602dab285733e360d3304a3b19ef4e6d0c1b58e3f8918a77050f2e0767e8acbd2baeafc4f645820d6a249f24dab
 SHA512 
b272b4c3a032e11db1db44be0a2c3e0734b0a2029cf5cc130877ee6f288b4c7c47cd676da7ef369d2835025540c03f676f4906c6655b4e738f9b36635bc397dc
-DIST firefox-60.2.2esr-an.xpi 520494 BLAKE2B 
304bc120fb2e1cc3dbf9ce138d9c69e27ddaa8680814d66a5e86c0ab1fe1ef24d684549f5bc71c8ab4bcad6285fdfb97b1683a2606305bc3ca7f07f1811cb3a9
 SHA512 
5263e17bb9ae3ae4bfdc8952a749508fca145a5f1fc80768df5ac69328d7f34d37ace69068b18010e91f300dc359b653d62a227c66b2f23716c97f53fb34ef5c
-DIST firefox-60.2.2esr-ar.xpi 547818 BLAKE2B 
1f0e1645ad37b4f6b6a89b22d4af935ebb57edf73ee5b1e641dd03e12fe53a854d73ae8b9771d1a70e6b61870e1c0c70287428901587debed7e29afe41f376ab
 SHA512 
e8748fe47580e41dd3f8f47a8d3d28a069b65f161340d4b183d60b3016c6822d559f7390c2b8eb09e9a83d005a93bdb7704997cbc5585d1bac97cf910ccf3077
-DIST firefox-60.2.2esr-as.xpi 530719 BLAKE2B 
4f02b2671a8a8ebf65d8fcad68a706f9f607fc6d7eccfaed79eb7339c3a479b1476032478d2026ecd1815d9c783f4e11df09a2b2b4068942645051543c456ad3
 SHA512 
3ec556467464933c1060d3ec8e36189e205082d826f49c30f6e9d8c99049b7cea951cd9dcbbcff585a51c4badbf39495946310a01f4c35c9070cf2205f6ba157
-DIST firefox-60.2.2esr-ast.xpi 508650 BLAKE2B 
c0ca69499f4387ace206e214fc818f25f6a4bd3164ebeee4b3f092394141c82bfd80d454987c51287577b1b07ace82e23d6a19bd6830b62d260a7f239943f446
 SHA512 
08508a24513f51fed657904279aeb079bdb41484e4f8726b0bb096e53ca62a8e57aff82e7ca2484f521961ec107a600fb262307b5146de690021f1db7ccc3fe8
-DIST firefox-60.2.2esr-az.xpi 524745 BLAKE2B 
c952d62f4a40b572551ee07e9f4aded116ef28a27b94b112cff0f5a7440405b113a8a3c1755ba43291fc7e07810914d346aef303ba8fe563de25ba0d779a3269
 SHA512 
b94f5b8c53bd238776f5d7f3c8070541fa733e3bad7f8f3571707b5e74a004dfa797fb398f295d0b9198cf82b893313474ffa3beb276e9a5fdab9081949ba7f1
-DIST firefox-60.2.2esr-bg.xpi 573853 BLAKE2B 
4272e4d2358ff2942f6ea7ef35ed2e38375df97de9c270959edeac4be26b6eaea25c49e162919a03a5744631ce331a9f919a2b0dfffae4882444c88e944c208a
 SHA512 
274fd36bda8a851b60d3e060865336b01af76cc4f1b96b6398f7ba20c658e4632ade35c49c623abbddae518bbde6482f80bc4f035a776ec07587f38b98995370
-DIST firefox-60.2.2esr-bn-BD.xpi 590419 BLAKE2B 

[gentoo-commits] repo/gentoo:master commit in: www-client/firefox/files/, www-client/firefox/

2018-10-04 Thread Thomas Deutschmann
commit: 87ee38a17afd372982e6411cc9c22bbf3229ed0c
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Thu Oct  4 13:35:23 2018 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Thu Oct  4 13:35:39 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87ee38a1

www-client/firefox: make rust cc honor CC env variable

Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1496270
Package-Manager: Portage-2.3.50, Repoman-2.3.11
Signed-off-by: Thomas Deutschmann  gentoo.org>

 .../files/firefox-60.0-update-cc-to-honor-CC.patch | 745 +
 www-client/firefox/firefox-60.2.2.ebuild   |   1 +
 2 files changed, 746 insertions(+)

diff --git a/www-client/firefox/files/firefox-60.0-update-cc-to-honor-CC.patch 
b/www-client/firefox/files/firefox-60.0-update-cc-to-honor-CC.patch
new file mode 100644
index 000..9bca3f57a0a
--- /dev/null
+++ b/www-client/firefox/files/firefox-60.0-update-cc-to-honor-CC.patch
@@ -0,0 +1,745 @@
+https://bugzilla.mozilla.org/show_bug.cgi?id=1496270
+https://bugzilla.mozilla.org/show_bug.cgi?id=1445528
+
+--- a/third_party/rust/cc/.cargo-checksum.json
 b/third_party/rust/cc/.cargo-checksum.json
+@@ -1 +1 @@
+-{"files":{".travis.yml":"1a4a3f7f90349924378e93acbb524b9127e37c02cfbc6dc59fd904bbdc1c8d0b","Cargo.toml":"623dd06a83bcbf2f292ab51af93e9b79b689e3be06a62968b79f4e36f1bb769f","LICENSE-APACHE":"a60eea817514531668d7e00765731449fe14d059d3249e0bc93b36de45f759f2","LICENSE-MIT":"378f5840b258e2779c39418f3f2d7b2ba96f1c7917dd6be0713f88305dbda397","README.md":"186c5c8a62520cb7a3d90d77161c954b52ae8456fca0e0669bc3a5b889592a43","appveyor.yml":"ab45bfdcf2596f357225a54e730c34d518a8f3ad56c2ed33af682cfd45bddc02","src/bin/gcc-shim.rs":"d6be9137cb48b86891e7b263adbf492e1193ffe682db9ba4a88eb1079b874b58","src/com.rs":"0cb06f5db0fb70d27db0e5917ca337de6e7032119e6aabfea1bad9c719f5f34b","src/lib.rs":"996b650e19d5ccd6e64e741789427017c913644e980862a7286ec4ed53c14a17","src/registry.rs":"3876ef9573e3bbc050aef41a684b9a510cc1a91b15ae874fe032cf4377b4d116","src/setup_config.rs":"1a3eeb11c6847c31f2a4685b62ab35c76f0b6d5a17f7ed99e9df164283a771f7","src/winapi.rs":"cb5e6cab3eb570b0f97c660ca448ccfb5024262c0c7b245c181daad91a7
 
9f211","src/windows_registry.rs":"6de548aa94215e449f0e58e9a3b1702939d7c2f7b63a9040901c948bf138201d","tests/cc_env.rs":"7402315eea7ffa23b29b393c1de8e236294ede9de562ff0a562704a157135341","tests/support/mod.rs":"092551f9f6e3a999fa0aa02f93314aac0bda2b09268f948c423df56a43575e0b","tests/test.rs":"b1164258714e13173f3861126e97bedf1e29aa24618993c4eb0edd57c431dcc7"},"package":"deaf9ec656256bb25b404c51ef50097207b9cbb29c933d31f92cae5a8a0ffee0"}
+\ No newline at end of file
++{"files":{".travis.yml":"1a4a3f7f90349924378e93acbb524b9127e37c02cfbc6dc59fd904bbdc1c8d0b","Cargo.toml":"623dd06a83bcbf2f292ab51af93e9b79b689e3be06a62968b79f4e36f1bb769f","LICENSE-APACHE":"a60eea817514531668d7e00765731449fe14d059d3249e0bc93b36de45f759f2","LICENSE-MIT":"378f5840b258e2779c39418f3f2d7b2ba96f1c7917dd6be0713f88305dbda397","README.md":"186c5c8a62520cb7a3d90d77161c954b52ae8456fca0e0669bc3a5b889592a43","appveyor.yml":"ab45bfdcf2596f357225a54e730c34d518a8f3ad56c2ed33af682cfd45bddc02","src/bin/gcc-shim.rs":"d6be9137cb48b86891e7b263adbf492e1193ffe682db9ba4a88eb1079b874b58","src/com.rs":"0cb06f5db0fb70d27db0e5917ca337de6e7032119e6aabfea1bad9c719f5f34b","src/lib.rs":"6e8cea99f5fc8e5982b1ea9a336ee2f9a6158a9498c8f0c36f1e8cee8c99716e","src/registry.rs":"3876ef9573e3bbc050aef41a684b9a510cc1a91b15ae874fe032cf4377b4d116","src/setup_config.rs":"1a3eeb11c6847c31f2a4685b62ab35c76f0b6d5a17f7ed99e9df164283a771f7","src/winapi.rs":"cb5e6cab3eb570b0f97c660ca448ccfb5024262c0c7b245c181daad91a7
 
9f211","src/windows_registry.rs":"6de548aa94215e449f0e58e9a3b1702939d7c2f7b63a9040901c948bf138201d","tests/cc_env.rs":"7402315eea7ffa23b29b393c1de8e236294ede9de562ff0a562704a157135341","tests/support/mod.rs":"092551f9f6e3a999fa0aa02f93314aac0bda2b09268f948c423df56a43575e0b","tests/test.rs":"b1164258714e13173f3861126e97bedf1e29aa24618993c4eb0edd57c431dcc7"},"package":"deaf9ec656256bb25b404c51ef50097207b9cbb29c933d31f92cae5a8a0ffee0"}
+\ No newline at end of file
+--- a/third_party/rust/cc/src/lib.rs
 b/third_party/rust/cc/src/lib.rs
+@@ -61,15 +61,14 @@
+ extern crate rayon;
+ 
+ use std::env;
+-use std::ffi::{OsString, OsStr};
++use std::ffi::{OsStr, OsString};
+ use std::fs;
+-use std::path::{PathBuf, Path};
+-use std::process::{Command, Stdio, Child};
+-use std::io::{self, BufReader, BufRead, Read, Write};
++use std::path::{Path, PathBuf};
++use std::process::{Child, Command, Stdio};
++use std::io::{self, BufRead, BufReader, Read, Write};
+ use std::thread::{self, JoinHandle};
+-
+-#[cfg(feature = "parallel")]
+-use std::sync::Mutex;
++use std::collections::HashMap;
++use std::sync::{Arc, Mutex};
+ 
+ // These modules are all glue to support reading the MSVC version from
+ // the registry and from COM interfaces
+@@ -97,6 +96,7 @@ pub struct Build {
+ objects: Vec,
+ flags: Vec,
+  

[gentoo-commits] repo/gentoo:master commit in: www-client/firefox/files/, www-client/firefox/

2018-09-28 Thread Thomas Deutschmann
commit: 1a9acbce822f8f8459f2cc8dfe187fd036cf116b
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Fri Sep 28 11:59:39 2018 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Fri Sep 28 12:00:09 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a9acbce

www-client/firefox: add missing "errno.h" include in SandboxOpenedFiles.cpp

In addition, patch "firefox-60.0-rust-1.29-comp.patch" was dropped from
firefox-62.x wchi was added in previous commit b1e7185593b8d3f4c46481d4
because patch is already present.

Closes: https://bugs.gentoo.org/667096
Signed-off-by: Thomas Deutschmann  gentoo.org>
Package-Manager: Portage-2.3.50, Repoman-2.3.11

 ...missing-errno_h-in-SandboxOpenedFiles_cpp.patch | 27 ++
 www-client/firefox/firefox-60.2.1-r1.ebuild|  1 +
 www-client/firefox/firefox-62.0.2.ebuild   |  2 +-
 3 files changed, 29 insertions(+), 1 deletion(-)

diff --git 
a/www-client/firefox/files/firefox-60.0-missing-errno_h-in-SandboxOpenedFiles_cpp.patch
 
b/www-client/firefox/files/firefox-60.0-missing-errno_h-in-SandboxOpenedFiles_cpp.patch
new file mode 100644
index 000..c746c73940e
--- /dev/null
+++ 
b/www-client/firefox/files/firefox-60.0-missing-errno_h-in-SandboxOpenedFiles_cpp.patch
@@ -0,0 +1,27 @@
+https://bugs.gentoo.org/667096
+
+https://bugzilla.mozilla.org/show_bug.cgi?id=1480554
+--- a/security/sandbox/linux/SandboxOpenedFiles.cpp
 b/security/sandbox/linux/SandboxOpenedFiles.cpp
+@@ -4,16 +4,17 @@
+  * License, v. 2.0. If a copy of the MPL was not distributed with this file,
+  * You can obtain one at http://mozilla.org/MPL/2.0/. */
+ 
+ #include "SandboxOpenedFiles.h"
+ 
+ #include "mozilla/Move.h"
+ #include "SandboxLogging.h"
+ 
++#include 
+ #include 
+ #include 
+ 
+ namespace mozilla {
+ 
+ // The default move constructor almost works, but Atomic isn't
+ // move-constructable and the fd needs some special handling.
+ SandboxOpenedFile::SandboxOpenedFile(SandboxOpenedFile&& aMoved)
+
+
+
+

diff --git a/www-client/firefox/firefox-60.2.1-r1.ebuild 
b/www-client/firefox/firefox-60.2.1-r1.ebuild
index 89ad061bccf..36964cc42d0 100644
--- a/www-client/firefox/firefox-60.2.1-r1.ebuild
+++ b/www-client/firefox/firefox-60.2.1-r1.ebuild
@@ -127,6 +127,7 @@ src_prepare() {
eapply "${FILESDIR}"/bug_1461221.patch
eapply "${FILESDIR}"/${PN}-60.0-blessings-TERM.patch # 654316
eapply "${FILESDIR}"/${PN}-60.0-rust-1.29-comp.patch
+   eapply 
"${FILESDIR}"/${PN}-60.0-missing-errno_h-in-SandboxOpenedFiles_cpp.patch
 
# Enable gnomebreakpad
if use debug ; then

diff --git a/www-client/firefox/firefox-62.0.2.ebuild 
b/www-client/firefox/firefox-62.0.2.ebuild
index 82a6728b4ee..bee2af62419 100644
--- a/www-client/firefox/firefox-62.0.2.ebuild
+++ b/www-client/firefox/firefox-62.0.2.ebuild
@@ -187,7 +187,7 @@ src_prepare() {
eapply "${FILESDIR}"/${PN}-60.0-blessings-TERM.patch # 654316
eapply "${FILESDIR}"/${PN}-60.0-do-not-force-lld.patch
eapply "${FILESDIR}"/${PN}-60.0-sandbox-lto.patch # 666580
-   eapply "${FILESDIR}"/${PN}-60.0-rust-1.29-comp.patch
+   eapply 
"${FILESDIR}"/${PN}-60.0-missing-errno_h-in-SandboxOpenedFiles_cpp.patch
 
# Enable gnomebreakpad
if use debug ; then



[gentoo-commits] repo/gentoo:master commit in: www-client/firefox/files/, www-client/firefox/

2018-09-28 Thread Thomas Deutschmann
commit: b1e7185593b8d3f4c46481d43da41176c5628126
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Fri Sep 28 11:39:43 2018 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Fri Sep 28 11:43:51 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1e71855

www-client/firefox: add rust-1.29+ support

Closes: https://bugs.gentoo.org/666898
Signed-off-by: Thomas Deutschmann  gentoo.org>
Package-Manager: Portage-2.3.50, Repoman-2.3.11

 .../files/firefox-60.0-rust-1.29-comp.patch| 37 ++
 www-client/firefox/firefox-60.2.1-r1.ebuild|  1 +
 www-client/firefox/firefox-62.0.2.ebuild   |  1 +
 3 files changed, 39 insertions(+)

diff --git a/www-client/firefox/files/firefox-60.0-rust-1.29-comp.patch 
b/www-client/firefox/files/firefox-60.0-rust-1.29-comp.patch
new file mode 100644
index 000..6fbd13fe639
--- /dev/null
+++ b/www-client/firefox/files/firefox-60.0-rust-1.29-comp.patch
@@ -0,0 +1,37 @@
+https://bugs.gentoo.org/666898
+
+https://bugzilla.mozilla.org/show_bug.cgi?id=1479540
+--- a/build/moz.configure/init.configure
 b/build/moz.configure/init.configure
+@@ -572,17 +572,26 @@ option('--target', nargs=1,
+ @imports(_from='__builtin__', _import='KeyError')
+ @imports(_from='__builtin__', _import='ValueError')
+ def split_triplet(triplet, allow_unknown=False):
+ # The standard triplet is defined as
+ #   CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM
+ # There is also a quartet form:
+ #   CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM
+ # But we can consider the "KERNEL-OPERATING_SYSTEM" as one.
+-cpu, manufacturer, os = triplet.split('-', 2)
++# Additionally, some may omit "unknown" when the manufacturer
++# is not specified and emit
++#   CPU_TYPE-OPERATING_SYSTEM
++parts = triplet.split('-', 2)
++if len(parts) == 3:
++cpu, _, os = parts
++elif len(parts) == 2:
++cpu, os = parts
++else:
++die("Unexpected triplet string: %s" % triplet)
+ 
+ # Autoconf uses config.sub to validate and canonicalize those triplets,
+ # but the granularity of its results has never been satisfying to our
+ # use, so we've had our own, different, canonicalization. We've also
+ # historically not been very consistent with how we use the canonicalized
+ # values. Hopefully, this will help us make things better.
+ # The tests are inherited from our decades-old autoconf-based configure,
+ # which can probably be improved/cleaned up because they are based on a
+
+
+
+

diff --git a/www-client/firefox/firefox-60.2.1-r1.ebuild 
b/www-client/firefox/firefox-60.2.1-r1.ebuild
index 03ffedb5a69..89ad061bccf 100644
--- a/www-client/firefox/firefox-60.2.1-r1.ebuild
+++ b/www-client/firefox/firefox-60.2.1-r1.ebuild
@@ -126,6 +126,7 @@ src_prepare() {
 
eapply "${FILESDIR}"/bug_1461221.patch
eapply "${FILESDIR}"/${PN}-60.0-blessings-TERM.patch # 654316
+   eapply "${FILESDIR}"/${PN}-60.0-rust-1.29-comp.patch
 
# Enable gnomebreakpad
if use debug ; then

diff --git a/www-client/firefox/firefox-62.0.2.ebuild 
b/www-client/firefox/firefox-62.0.2.ebuild
index 426d2ba9bc0..82a6728b4ee 100644
--- a/www-client/firefox/firefox-62.0.2.ebuild
+++ b/www-client/firefox/firefox-62.0.2.ebuild
@@ -187,6 +187,7 @@ src_prepare() {
eapply "${FILESDIR}"/${PN}-60.0-blessings-TERM.patch # 654316
eapply "${FILESDIR}"/${PN}-60.0-do-not-force-lld.patch
eapply "${FILESDIR}"/${PN}-60.0-sandbox-lto.patch # 666580
+   eapply "${FILESDIR}"/${PN}-60.0-rust-1.29-comp.patch
 
# Enable gnomebreakpad
if use debug ; then



[gentoo-commits] repo/gentoo:master commit in: www-client/firefox/files/, www-client/firefox/

2018-09-22 Thread Thomas Deutschmann
commit: 59c9e92b639712d4c37ece540582db83afdc8608
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Sun Sep 23 00:51:42 2018 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Sun Sep 23 01:30:35 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59c9e92b

www-client/firefox: add explicit Clang and LTO support

- Set USE=lto to enable Link Time Optimization (LTO). It works with
  either GCC or Clang.

- When you want to use Clang to build Firefox you now have to set
  USE=clang. If not set, GCC will be used.

- Using Clang will require lld linker provided by sys-devel/lld.

Closes: https://bugs.gentoo.org/666580
Closes: https://bugs.gentoo.org/663846
Package-Manager: Portage-2.3.49, Repoman-2.3.10
Signed-off-by: Thomas Deutschmann  gentoo.org>

 .../files/firefox-60.0-do-not-force-lld.patch  | 262 +
 .../firefox/files/firefox-60.0-sandbox-lto.patch   |  13 +
 www-client/firefox/firefox-62.0.2.ebuild   |  53 -
 www-client/firefox/metadata.xml|   3 +
 4 files changed, 323 insertions(+), 8 deletions(-)

diff --git a/www-client/firefox/files/firefox-60.0-do-not-force-lld.patch 
b/www-client/firefox/files/firefox-60.0-do-not-force-lld.patch
new file mode 100644
index 000..a8325bc745b
--- /dev/null
+++ b/www-client/firefox/files/firefox-60.0-do-not-force-lld.patch
@@ -0,0 +1,262 @@
+https://hg.mozilla.org/mozilla-central/rev/e8c173a632a4
+https://hg.mozilla.org/mozilla-central/rev/dbeb248015cc
+https://hg.mozilla.org/mozilla-central/rev/de7abe2c2b3e
+
+--- a/build/moz.configure/toolchain.configure
 b/build/moz.configure/toolchain.configure
+@@ -1331,10 +1331,6 @@ def lto(value, c_compiler):
+ 
+ # clang and clang-cl
+ if c_compiler.type in ('clang', 'clang-cl'):
+-# Until Bug 1457168 is fixed, we have to hardcode -fuse-ld=lld here
+-if c_compiler.type == 'clang':
+-flags.append("-fuse-ld=lld")
+-
+ if len(value) and value[0].lower() == 'full':
+ flags.append("-flto")
+ ldflags.append("-flto")
+@@ -1362,8 +1358,6 @@ add_old_configure_assignment('MOZ_LTO', lto.enabled)
+ add_old_configure_assignment('MOZ_LTO_CFLAGS', lto.flags)
+ add_old_configure_assignment('MOZ_LTO_LDFLAGS', lto.ldflags)
+ 
+-imply_option('--enable-linker', 'lld', when='--enable-lto')
+-
+ # ASAN
+ # ==
+ 
+@@ -1566,7 +1560,7 @@ set_config('CARGO_INCREMENTAL', cargo_incremental)
+ 
+ @depends(target)
+ def is_linker_option_enabled(target):
+-if target.kernel not in ('Darwin', 'WINNT', 'SunOS'):
++if target.kernel not in ('WINNT', 'SunOS'):
+ return True
+ 
+ 
+@@ -1578,21 +1572,40 @@ option('--enable-gold',
+ imply_option('--enable-linker', 'gold', when='--enable-gold')
+ 
+ js_option('--enable-linker', nargs=1,
+-  help='Select the linker {bfd, gold, lld, lld-*}',
++  help='Select the linker {bfd, gold, ld64, lld, lld-*}',
+   when=is_linker_option_enabled)
+ 
+ 
+ @depends('--enable-linker', c_compiler, developer_options, '--enable-gold',
+- extra_toolchain_flags, when=is_linker_option_enabled)
++ extra_toolchain_flags, target, lto.enabled,
++ when=is_linker_option_enabled)
+ @checking('for linker', lambda x: x.KIND)
+ @imports('os')
+ @imports('shutil')
+ def select_linker(linker, c_compiler, developer_options, enable_gold,
+-  toolchain_flags):
+-
+-linker = linker[0] if linker else None
++  toolchain_flags, target, lto):
++
++if linker:
++linker = linker[0]
++elif lto and c_compiler.type == 'clang' and target.kernel != 'Darwin':
++# If no linker was explicitly given, and building with clang for 
non-macOS,
++# prefer lld. For macOS, we prefer ld64, or whatever the default 
linker is.
++linker = 'lld'
++else:
++linker = None
+ 
+-if linker not in ('bfd', 'gold', 'lld', None) and not 
linker.startswith("lld-"):
++def is_valid_linker(linker):
++if target.kernel == 'Darwin':
++valid_linkers = ('ld64', 'lld')
++else:
++valid_linkers = ('bfd', 'gold', 'lld')
++if linker in valid_linkers:
++return True
++if 'lld' in valid_linkers and linker.startswith('lld-'):
++return True
++return False
++
++if linker and not is_valid_linker(linker):
+ # Check that we are trying to use a supported linker
+ die('Unsupported linker ' + linker)
+ 
+@@ -1602,13 +1615,34 @@ def select_linker(linker, c_compiler, 
developer_options, enable_gold,
+ 
+ def try_linker(linker):
+ # Generate the compiler flag
+-linker_flag = ["-fuse-ld=" + linker] if linker else []
++if linker == 'ld64':
++linker_flag = ['-fuse-ld=ld']
++elif linker:
++linker_flag = ["-fuse-ld=" + linker]
++else:
++linker_flag 

[gentoo-commits] repo/gentoo:master commit in: www-client/firefox/files/, www-client/firefox/

2018-07-08 Thread Jory Pratt
commit: 290085ddf5cee5ebe06c91cc5db29a7e62dd2d5a
Author: Jory A. Pratt  gentoo  org>
AuthorDate: Sun Jul  8 22:03:03 2018 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Sun Jul  8 22:03:41 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=290085dd

www-client/firefox: Fix mozHunspell, bug #660726

Package-Manager: Portage-2.3.41, Repoman-2.3.9

 .../firefox/files/firefox-61.0-mozHunspell.patch   | 25 ++
 www-client/firefox/firefox-61.0-r1.ebuild  |  1 +
 2 files changed, 26 insertions(+)

diff --git a/www-client/firefox/files/firefox-61.0-mozHunspell.patch 
b/www-client/firefox/files/firefox-61.0-mozHunspell.patch
new file mode 100644
index 000..2002bd1da50
--- /dev/null
+++ b/www-client/firefox/files/firefox-61.0-mozHunspell.patch
@@ -0,0 +1,25 @@
+From 5bdc1dc7a4541338b13096ae52627ceecd0cca9e Mon Sep 17 00:00:00 2001
+From: nvinson...@gmail.com
+Date: Sun, 8 Jul 2018 16:52:04 -0500
+Subject: [PATCH] Add missing include of nsCOMPtr.h, bug #660726
+
+Signed-off-by: nvinson...@gmail.com
+---
+ extensions/spellcheck/hunspell/glue/mozHunspellFileMgr.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/extensions/spellcheck/hunspell/glue/mozHunspellFileMgr.h 
b/extensions/spellcheck/hunspell/glue/mozHunspellFileMgr.h
+index dc33fdfb3..415e00973 100644
+--- a/extensions/spellcheck/hunspell/glue/mozHunspellFileMgr.h
 b/extensions/spellcheck/hunspell/glue/mozHunspellFileMgr.h
+@@ -13,6 +13,7 @@
+ #include "mozilla/ResultExtensions.h"
+ #include "nsIInputStream.h"
+ #include "nsReadLine.h"
++#include "nsCOMPtr.h"
+ 
+ // Note: This class name and lack of namespacing terrible, but are necessary
+ // for Hunspell compatibility.
+-- 
+2.18.0
+

diff --git a/www-client/firefox/firefox-61.0-r1.ebuild 
b/www-client/firefox/firefox-61.0-r1.ebuild
index bdcf985eb99..fc312e57d18 100644
--- a/www-client/firefox/firefox-61.0-r1.ebuild
+++ b/www-client/firefox/firefox-61.0-r1.ebuild
@@ -125,6 +125,7 @@ src_prepare() {
eapply "${WORKDIR}/firefox"
 
eapply "${FILESDIR}/bug_1461221.patch"
+   eapply "${FILESDIR}/${PN}-61.0-mozHunspell.patch"
 
# Enable gnomebreakpad
if use debug ; then



[gentoo-commits] repo/gentoo:master commit in: www-client/firefox/files/, www-client/firefox/

2018-04-25 Thread Lars Wendler
commit: 5021e95a40c125ad5d78f8d8e499362bced9a4d2
Author: Lars Wendler  gentoo  org>
AuthorDate: Wed Apr 25 10:19:13 2018 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Wed Apr 25 10:20:51 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5021e95a

www-client/firefox: Bump to version 59.0.2

Closes: https://bugs.gentoo.org/650472
Package-Manager: Portage-2.3.31, Repoman-2.3.9

 www-client/firefox/Manifest|  93 ++
 www-client/firefox/files/gentoo-default-prefs.js-2 |  17 +
 www-client/firefox/firefox-59.0.2.ebuild   | 370 +
 3 files changed, 480 insertions(+)

diff --git a/www-client/firefox/Manifest b/www-client/firefox/Manifest
index ca721554584..ef9058cf00a 100644
--- a/www-client/firefox/Manifest
+++ b/www-client/firefox/Manifest
@@ -461,3 +461,96 @@ DIST firefox-58.0.1-xh.xpi 467880 BLAKE2B 
1aa8d232b5d4bf8e14bb65bfae4da111cc71de
 DIST firefox-58.0.1-zh-CN.xpi 490106 BLAKE2B 
80fa9939dbbe7a854edaedafca5a5afe68aef6ae76dec18d2e2d63b38aa1f0f65a589c3afa193afd17b26f5c3bc700d2b148bd4f6dd2e035619fc750a7e49c50
 SHA512 
6058b305983c055101878c928b5c7774e7c64f40b7839142308a49a53b953a41a3fcc13094a464106bb1e13abf881eb390da5fa48397565b48987994dc2edae0
 DIST firefox-58.0.1-zh-TW.xpi 488340 BLAKE2B 
66285959b64e1551b2ca3ac5d63a628785169823254e0e2cd463ec7a60b804be988534965b04945ebcb8f450406309739fc6dc2c1d47f5aa96054dfd452da0e3
 SHA512 
6019a4b88c805145eb336446a8b9d808ec5f8a9bb6146ad5757f767642753c882a1c17d4ecfc002eddc2e3b4658783f3677abb2e57d374002d6e7da36c42
 DIST firefox-58.0.1.source.tar.xz 248933088 BLAKE2B 
d0453766d51fcf0ace8041adc5ae3db8839be971d51ec4047412e15a807ad3e5bb174f185181a5e23895bf4618e86160379cd28b42b3f75e76d80c6dc502
 SHA512 
65a6a68f95dac93fc68c4e240742b172a6417e7fafca2671ab13f398329ba0ef3195bbaaecea2d9f8b2992217cfaa7912af6c0351a1efe4cf2d2bba838ecd711
+DIST firefox-59.0-patches-01.tar.xz 10660 BLAKE2B 
694417d544b565663ccd86b8d3c9745dbd0441e12525c4bf2e7e4592d3191609ac877fc513237f16c026a312fdfb5ea7d51b3febdd24dacfa87bc029e1e02e04
 SHA512 
211d80fac2d11b7beff93ba3f95b63b6795b8ab5711c1626ccc2e4084d3eb7e0394052fb0c300397892cb440b704c230d19fabdeae13b3617fdd48165964e0b0
+DIST firefox-59.0.2-ach.xpi 439227 BLAKE2B 
a1da5dc7cd2db53ca856e22ff4fb18ba48f567841b3feca16aeefd4ddb8037c8051904636b2b8e73701aa4743e157250f54f59178892ecef3d807b5cb9fb602b
 SHA512 
907221e0434fe2735ab23f00508dc8d40fc2dc99caa64770ec8be2d5e1279fb44e624e4bd288ea11f3be5da33e9a62265c55891e52f800e5e76cf7325fc206dd
+DIST firefox-59.0.2-af.xpi 436731 BLAKE2B 
87f179a4a0aae268e6ea4a0a79bab6d205ed97bb0b4de168c33cfdd154347b9e8f72c1f40d15386943d9d17eb9618baba8fb76d546d62fc130416542668b8839
 SHA512 
9f52af21dd832ba2ee718d6bd7df7e7330ba64687089ffa728468d29c1e627be1900738118cc31597a1202d22df229085c98f92142239cb5de17cd6288ee64c2
+DIST firefox-59.0.2-an.xpi 463405 BLAKE2B 
ca3444d106d27eb6c0745c30469a8f182030a5967998e5d23c472d0965398c76f0c10ec32ba7239b834db2b5419006754eada433c4bcf128ccc5a59b00ec71fa
 SHA512 
e46be9045b8c5486ebc60866be0d3e0b2ea115985cfb7f4e6f3985ded611183fc9ca03602143b76f044899a6ada15b8f3c6eb2970e676c8ccc71ff78b40f10ec
+DIST firefox-59.0.2-ar.xpi 486633 BLAKE2B 
f889128dfe03ab3e5b718b8dc8e217481d5f80667d6be39dc88b43d4475b761298bc57fbc8fa20ce75933b0d3b0f9322547a30d3bbc6e306713ad7fe60b7af27
 SHA512 
027dec5f2e632bb63b0b8111697de0573c577bc59cdac4e0e7fd0bb466ad04e285b37135afc97ac7746d7dd53882d326976675c7f4256d3051a8f583c0e4ce52
+DIST firefox-59.0.2-as.xpi 483301 BLAKE2B 
2a1c25b3cd5293580e7100d4cbe26241addf7c528946de66440801ee88e4c0d814300c5cfb436178fb33ec09036af73dceafb87fa86bbdb30fa068e1f61cf8a4
 SHA512 
484c9049851ae3c24138c65cd5f5b6a3c8a316675cdf83c161b5d4998992d26d74499b4427e2d5a062c05391735de5e2ced1806c1c1fafe057df9ca60791f708
+DIST firefox-59.0.2-ast.xpi 454343 BLAKE2B 
7abd1292141cdd048c5bd35212661b1427047dfca20d945ac7a6faad20f83e6110a9175080bf0ba141eb243bcfa1386be859541d4d53b7a1e004c6addb075449
 SHA512 
43fe699036808f979bfbc8af99a7f56c6b3dc4a5b809b1aada3f72cdda102d16f7c0f067d9cdc22cdde93355e2d4984d12ce8cd64c75e025b45bfc0be78503fa
+DIST firefox-59.0.2-az.xpi 464270 BLAKE2B 
c9848311e2512f11a81093d456c4166fd35af70c7f8b6b809fe5c339ac0deb63d2bead6a2a177cafa89503393b0ad9bd047ddfc4b2e5928fdbd1f98fd6f32228
 SHA512 
04a2e5bd74f616650025540f592859346690aa4500927943fa41e70d44415a208a2fa2e05c821e80df4976eaae55cdf1d77cebe5b2abd84a4b190d7442d3c1f9
+DIST firefox-59.0.2-bg.xpi 508613 BLAKE2B 
4fcf6fa28fbd1210335e744f555e065d1836d4f0307c2c3cf5415058ddd782ed77350ecda1a52b7f71e1e15aa2cfe0f4b11995c6f8995661a3171220e88ecc8e
 SHA512 
d255045eac64ee8d58cc7865fb01599cdfc2faefd40be9fd64a6f2466230d38b0eaba234f9d24932977671a08727317310be4bdfda12c785becc7600531c1086
+DIST firefox-59.0.2-bn-BD.xpi 526352 BLAKE2B 
7c35c4a34c5a4e8dae7d4233c9d4a790f02fb981aa48b4c1d9a75f8b6f4eb8877378f11e0624cb5996e45a9e39fbad54a778f853a2a967b1af4d0850ac947cac
 SHA512 

[gentoo-commits] repo/gentoo:master commit in: www-client/firefox/files/, www-client/firefox/

2018-01-05 Thread Ian Stakenvicius
commit: ffa4ef4e9136e1843a19b02ae71305fa1c328ef9
Author: Ian Stakenvicius  gentoo  org>
AuthorDate: Fri Jan  5 17:44:19 2018 +
Commit: Ian Stakenvicius  gentoo  org>
CommitDate: Sat Jan  6 00:38:57 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ffa4ef4e

www-client/firefox: bump to 57.0.4 for Meltdown/Spectre, backport pkcs11 support

57.0.4 mitigates new timing-based attacks (Meltdown and Spectre), for more info
please see https://www.mozilla.org/en-US/firefox/57.0.4/releasenotes/

Also backported the pkcs11 support from 58 to 57 to support extensions that
require it, thanks to leio for the patch.

Package-Manager: Portage-2.3.13, Repoman-2.3.3

 www-client/firefox/Manifest| 184 +++
 .../files/firefox-57.0-pkcs11-backport.patch   | 529 +
 ...firefox-57.0.1.ebuild => firefox-57.0.4.ebuild} |   3 +-
 3 files changed, 623 insertions(+), 93 deletions(-)

diff --git a/www-client/firefox/Manifest b/www-client/firefox/Manifest
index 453ec015328..b4c826e416c 100644
--- a/www-client/firefox/Manifest
+++ b/www-client/firefox/Manifest
@@ -278,95 +278,95 @@ DIST firefox-52.5.2esr-zh-CN.xpi 461694 BLAKE2B 
63c39764c2ad138dba0849bc9a018309
 DIST firefox-52.5.2esr-zh-TW.xpi 472534 BLAKE2B 
5ef9625facf35d4e220c0b2272c25786a21b0ee36ec2fb62f260168401979df50a90e41fb2e85ad963b426f08b27d52540f0eae4484a67b94a59d0a966ff76b8
 SHA512 
c64c65b31aa2e4f3534d394183e0dfa96672721f0d8e070daa142263fccdf71236b6a2ab7e45b88cc49b96bb46165cf6c36aaa981ee23385c19be54f2537fdfb
 DIST firefox-52.5.2esr.source.tar.xz 214094820 BLAKE2B 
f9eb9b5aa333d16639a59e6b36a4adef276d84b807868c671a464cb16060e275bdf7b0b45e1c72bc71930c71455fcfbff590df0f97ca3a97dfb651c3fefa0722
 SHA512 
bbc7dcc4cb392f06fe2e963a3b6372efcfbbcc1ca7218a3ef05885285fe00c9e87e0f8d307bd9363668327eb43542c0600443bd9e6744de64494b96dd00efa5a
 DIST firefox-57.0-patches-01.tar.xz 10964 BLAKE2B 
207ad3ddbf924224efabc880e94a051076386102224dcc54e6f2b99466d87e9e5da29ba29d14d3f2024c9d50e3def1a39fceac5b3aac5f789a781c2ac3ab5039
 SHA512 
5f4c668eb1ae9b4067997973e7f5fcfa4d3de7b60520f7cc2a96b97b0814e921f777862e45fa0ffad231040d99e98f259e2482d4a5d7be096abc5d5860bfc593
-DIST firefox-57.0.1-ach.xpi 441113 BLAKE2B 
dbab6535791c08cff6dc6eacb2f76f285b2d932d6dfb49f48debb98657853ef4d05886c445ebbc4528b6ec5c15343456d23cca3c8912ee471ee97433749fd614
 SHA512 
239b67d8e1c9e26f2400dac57986eb352c20efc5a9319908418e65fcaf8b17e69f9416561b7e3d7f4bf86c333b292534c8b78be67167e11ce95771673da65480
-DIST firefox-57.0.1-af.xpi 442206 BLAKE2B 
f683812558cff77c68a5aec700bccc5d20b3126f5ab586195dd783b47400ae62f69a1144b8da2e94f32577838a274032b36fe7a814f3bd970680b2c47ecb9de2
 SHA512 
df4827d47773ee699c9abf81bff0931dd00b5a67c4253d50ea62cd5824feeacab832d4ea041c161d06a0b8947b0ea7dc4a01cf59282d5217588a52dfc57c1ed4
-DIST firefox-57.0.1-an.xpi 462778 BLAKE2B 
41216564524bff884d3f278ab2363f93895f1e1077adcb79bfdfd6f83687743a1904f5f85e616599828b9b4074aa4aeebb1bf43e6a1c6980e47f527bc9299cb0
 SHA512 
8d646c564e4c07de4ac888e08eb182197850f6380f1b8d2ecdbcfabfa1edd9b86946e1f4dc5531fa0d22f26772c933f9787bc64c3df611f8e808e9f78adf5798
-DIST firefox-57.0.1-ar.xpi 488160 BLAKE2B 
551bc6661572aa0041ab1fa0d42080e2eb14614b2708df4f82e77d08761070d715bb0bbc8ce38e42de44136df2b3e085c6432311e2364033dffdec7515c3602a
 SHA512 
17ce0ac626f0b5acd2b1e093903a50373b748024c90ba1e2a7b95195ef4c76e2cc249a9b58ce8207c5861dff32a1f9fa67676d23b129139a53fec7456d2f889b
-DIST firefox-57.0.1-as.xpi 491075 BLAKE2B 
cff094f8915d66d50f31c00b571bf96959e29516a8846c056680105bfd095a31fed7bfb3c8d5a511d2d71e797a6b990240e389708e79b35883e881347a6b4491
 SHA512 
dfd888380fc99abc2aaac9be0e01576a090d624c4011b9f85386cfaef868c1db34bf821621164eab5e41e11977b1c16c2a9117ae88f868f757c60ca659291044
-DIST firefox-57.0.1-ast.xpi 455504 BLAKE2B 
9a0c7ba2aa4ab8c356094e012202c32e876046588d27d7536357dc5876cec25ab469403e656e3c8f92b21c4fc04423f70d8075c61f18fc26e167a0e6b73b7a85
 SHA512 
6b6a907f2fa74c9dd748baed0e751df9a5f5ea55ea7b619501e8e0bb8065c0b284d0a6878249813a64b3e8c4aa5e7f8677c9b4901e869373cc36b179a8ea8e7a
-DIST firefox-57.0.1-az.xpi 466044 BLAKE2B 
3f9585be3f94bd9274aeb53b7e3a334a043c428de889d1af29fa8ffea0b8621c88caae3f621d734a1a00fd3edbdb2b4b9ed7e430ee6becf14c5d0261f658ed96
 SHA512 
ec4f5530541f65e86ba8185009983e08f675980e4b090f55fb262718646fe979c4a1ac16939dd2c5977b397c7f882c9b9dc8bf6e4264dfb04106f730feb00748
-DIST firefox-57.0.1-bg.xpi 510352 BLAKE2B 
cbc3baaa1d34716f44dddf0ca1f966320f75eaef8b273617fc25c2efc8d01563939b804d4782fd975da7ef401d5e677f8ea4a19091f591c54c809ea844274d3c
 SHA512 
3f8eca12a5d8c9f21ac773a14159f9042613b16126cd96859afbd623b4639e52b38cd4dfbb70a468ba8f324489fd2860777668bab04dbfa8b4d2257ab145e05b
-DIST firefox-57.0.1-bn-BD.xpi 527190 BLAKE2B 
9db3d7248d78d7dce16bf1e9d09f631c40d6a4d431d5c20c3b7e6fbbbe32ad2b145a462f4937ea5d518d91f447ec66bf558c59aa82bd0dd1b71c010f4cf439e9
 SHA512 

[gentoo-commits] repo/gentoo:master commit in: www-client/firefox/files/, www-client/firefox/

2017-08-08 Thread Lars Wendler
commit: ed8c667047e68e37fd973a6d0f0800663c2c6e97
Author: Lars Wendler  gentoo  org>
AuthorDate: Tue Aug  8 12:19:38 2017 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Tue Aug  8 12:23:56 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed8c6670

www-client/firefox: Removed old.

Package-Manager: Portage-2.3.6, Repoman-2.3.3

 www-client/firefox/Manifest| 180 -
 ...firefox-53-turn_off_crash_on_seccomp_fail.patch | 100 -
 .../firefox/files/fix_hardened_pie_detection.patch |  36 --
 .../files/mozilla_configure_regexp_esr.patch   |  32 --
 .../files/musl_drop_hunspell_alloc_hooks.patch |  13 -
 www-client/firefox/files/update_h2_curve.patch |  30 --
 www-client/firefox/firefox-45.8.0.ebuild   | 369 ---
 www-client/firefox/firefox-52.1.0-r1.ebuild| 405 -
 www-client/firefox/metadata.xml|   1 -
 9 files changed, 1166 deletions(-)

diff --git a/www-client/firefox/Manifest b/www-client/firefox/Manifest
index d3f6e85529b..531b7cf3587 100644
--- a/www-client/firefox/Manifest
+++ b/www-client/firefox/Manifest
@@ -1,183 +1,3 @@
-DIST firefox-45.0-patches-12.tar.xz 22040 SHA256 
563d7bbe67aa4379ab0a9b460aa397aa2a8e9d1cadcf776490beb7349230c6c1 SHA512 
be9981818e549d79f8557427dd506b9c473922c0043384563c1fd92e4c6c96c91afb8bb01d4499a3a61b463ecf2875bc776fef0f279c0f2fc3625602cb47880b
 WHIRLPOOL 
4f100eadb5aae49731344d526ba482c97dfecebfd20de533e4986e3a0463ebe31853bf1f9faf914a6fcfab82936a52cbda2add84c019fd6ab15ea086115e5bef
-DIST firefox-45.8.0esr-ach.xpi 426530 SHA256 
e8337d1951aa8484bfade7a3157529a78a0d6882c4d332e880e1ac1063e028f1 SHA512 
d28c5bed4cc0fe07825859e6b0894c45de183be642a0a1152faea336e323428ebba201add73ff4e4e44f4a9255ef4e579372f7aac1d70a10bad99d082179e663
 WHIRLPOOL 
43a3d9d9e3cee0f371218e87eab80fa87bf60c2df7c6f556aca3f616cadba8e149eea2f7bf7aeba9a6ded69d9f3470e18b38c57d9ffcdf81a52757f6fc2d
-DIST firefox-45.8.0esr-af.xpi 439353 SHA256 
b0d0ff680ae288fca3f319fa54a2607f980845c0384e153523b764fcf4d475b4 SHA512 
262f715bd7e89a33a95755b79d84d446bdc1c614948129eeb82bc0c4314679e91309adf0e1c5a4a1b5eab19aafb15e738332113ff74b51a32f6a014b2c4980cd
 WHIRLPOOL 
8713b616c58feb07ffb7a38c45342bab1f02957dcc1da57fc6a6213804171a332686fd2f0b07619d39318f101db5ffafe0768c2d92adf3c881a3721fafad657e
-DIST firefox-45.8.0esr-an.xpi 449036 SHA256 
8897ebf779339512753770d00cafad01e514e8eec6f89e1887cde3c5c5256209 SHA512 
3c12373e2c3ff3aacf0a1e1ccc768ca62a14489d9350cb9a1fcf818570587b25c08cb9388f1425f7fd569d6dfa46c75a336e12ead6b50fe47887d221c543e7f8
 WHIRLPOOL 
e53e3827f728f1d73969d15ca75d83ec5fbab2f998ba4da16cbe614f77fb077ec92b31974b41b73c9562b22e57427fba57f354114045d555bf401695428d69a6
-DIST firefox-45.8.0esr-ar.xpi 474961 SHA256 
7a2142e9eee1f9d798070da889301b0750b7c80aaea511fac6dfa38dc1e2e873 SHA512 
2a685db116c88707b19077a03c966e0fd7e0b0d548c35c34c4c997133d757e58da10a438c840af712bbd7f04c10974b3ef0058a1370e62b717f914a5236f9047
 WHIRLPOOL 
c0de95563be2c88271fad35fecc6e85e7469f284ba0976b12434f398a724ead1831f50901c6b234dca09684d1c3633324ed62d79aae0f5cd88a7b231b6509300
-DIST firefox-45.8.0esr-as.xpi 483096 SHA256 
58a788699e8f2930085b72edbfa03939e82f170258db92bdc7d8b44a4ec695e6 SHA512 
f974f57a3e5668ddc9806968dd17efc27f51138bdfaade9eddb29b84252c729599972c63ec7392c7637f28d62c27004b22877e889c2f83b2bcebfeb8b63807a5
 WHIRLPOOL 
47bca8425dc4b6fca2306e898189143753a88c2f891bec1bb0296de7cb048e5c8be76b192ded07febcaa683f78bbe98835c6177634a957da6479955dd9238c1d
-DIST firefox-45.8.0esr-ast.xpi 419250 SHA256 
b0dabf6bd67b1bece44728ad600c919bfa0498bc593228b5a2ca46ad0574c7a5 SHA512 
adb5956de20b336778e044a3f1886a47fab94d0ed75cd22d3ff6ff7efecc4e5258a80cda751ea61eaab0b9374af53b20bc566b6ef898c44a40a2d7f10db33e7a
 WHIRLPOOL 
e18f7e644518d26867559222d455137e232295a156aa48a7c5630ba254710aa32c96669cb89fa1dabe16d96c44b57582fbc13e41410b189c47bf02de91e8959a
-DIST firefox-45.8.0esr-az.xpi 464018 SHA256 
e794b077c1a3e1d0c560dc95f69dcb90a03168032f34ab7822eb44c31ac5782a SHA512 
fae45159368a162582cb29dd55d21d8de918d1f5a0145a84a28b7fb9b9e2543bd3eb603989059f9f6fb33bac4c99d65db886ccff307fbe3c84ef42977da14274
 WHIRLPOOL 
03d3c4e3829c832272f229289f529673fe9ead6d6c26288fef74584a413f0842a6eda695b2a07f712463d49b0dda2406c0d451d8d8c4f6e216a12565c527
-DIST firefox-45.8.0esr-be.xpi 442619 SHA256 
42c9a3eaf47d5dc59a137b756f80bd8ee79771825f63c8edfdd8366e0a95b63b SHA512 
7f65d1c81f1ce3b27a128b58b33c939450da29e4fdce4394b2e70f4353d898863da1bd2757a16e532aa633c772d5dbaacfe9a63195d60acdabb11e1baa6096ea
 WHIRLPOOL 
d2c50ce9c58f214b645813edc471b03b416a746fab397ca81c77d0a5f6d38b7d7c26eb7482d62eb7929e6c748a05dce1dcfa499dcca73a7e0742a3cee9c60bd7
-DIST firefox-45.8.0esr-bg.xpi 460809 SHA256 
5972247e018f6b7165f5f2349a8693475aa046a0fbabd829a4b16d83170be637 SHA512 
83c1e6ff149372a6fca37ca9afe579f65600f6fd48594b7f860c353ef4d98e5b5e32260597f0c11b0047f4ae8ad665a68f2c72ef3e24caf1c6118f650a8e
 WHIRLPOOL 

[gentoo-commits] repo/gentoo:master commit in: www-client/firefox/files/, www-client/firefox/

2017-05-19 Thread Ian Stakenvicius
commit: fc0e8a516716dab4430d5fd44d603c61f415e6cb
Author: Ian Stakenvicius  gentoo  org>
AuthorDate: Thu May 18 14:55:15 2017 +
Commit: Ian Stakenvicius  gentoo  org>
CommitDate: Fri May 19 19:44:28 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc0e8a51

www-client/firefox: disable seccomp fatality so widevinecdm doesn't crash

This is a backport of a commit introduced to firefox-54.

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 ...firefox-53-turn_off_crash_on_seccomp_fail.patch | 100 +
 ...{firefox-53.0.ebuild => firefox-53.0-r1.ebuild} |   1 +
 2 files changed, 101 insertions(+)

diff --git 
a/www-client/firefox/files/firefox-53-turn_off_crash_on_seccomp_fail.patch 
b/www-client/firefox/files/firefox-53-turn_off_crash_on_seccomp_fail.patch
new file mode 100644
index 000..2d0c06b3e76
--- /dev/null
+++ b/www-client/firefox/files/firefox-53-turn_off_crash_on_seccomp_fail.patch
@@ -0,0 +1,100 @@
+
+# HG changeset patch
+# User Jed Davis 
+# Date 1485552350 25200
+# Node ID 7781de08a1c6d84a92e9d54a78ac9f54f8c4c240
+# Parent  952f0a7824ad897dd0f76318b567341e7d8ad46d
+Bug 1286865 - Step 0: Turn off crash-on-seccomp-fail by default on 
non-nightly. r=gcp
+
+MozReview-Commit-ID: 1It6HNizbAc
+
+diff --git a/security/sandbox/linux/Sandbox.cpp 
b/security/sandbox/linux/Sandbox.cpp
+--- a/security/sandbox/linux/Sandbox.cpp
 b/security/sandbox/linux/Sandbox.cpp
+@@ -68,16 +68,18 @@ MOZ_IMPORT_API void
+ } // extern "C"
+ #endif // MOZ_ASAN
+ 
+ // Signal number used to enable seccomp on each thread.
+ int gSeccompTsyncBroadcastSignum = 0;
+ 
+ namespace mozilla {
+ 
++static bool gSandboxCrashOnError = false;
++
+ // This is initialized by SandboxSetCrashFunc().
+ SandboxCrashFunc gSandboxCrashFunc;
+ 
+ #ifdef MOZ_GMP_SANDBOX
+ // For media plugins, we can start the sandbox before we dlopen the
+ // module, so we have to pre-open the file and simulate the sandboxed
+ // open().
+ static SandboxOpenedFile gMediaPluginFile;
+@@ -143,25 +145,28 @@ SigSysHandler(int nr, siginfo_t *info, v
+   args[2] = SECCOMP_PARM3();
+   args[3] = SECCOMP_PARM4();
+   args[4] = SECCOMP_PARM5();
+   args[5] = SECCOMP_PARM6();
+ 
+   // TODO, someday when this is enabled on MIPS: include the two extra
+   // args in the error message.
+   SANDBOX_LOG_ERROR("seccomp sandbox violation: pid %d, syscall %d,"
+-" args %d %d %d %d %d %d.  Killing process.",
++" args %d %d %d %d %d %d.%s",
+ pid, syscall_nr,
+-args[0], args[1], args[2], args[3], args[4], args[5]);
++args[0], args[1], args[2], args[3], args[4], args[5],
++gSandboxCrashOnError ? "  Killing process." : "");
+ 
+-  // Bug 1017393: record syscall number somewhere useful.
+-  info->si_addr = reinterpret_cast(syscall_nr);
++  if (gSandboxCrashOnError) {
++// Bug 1017393: record syscall number somewhere useful.
++info->si_addr = reinterpret_cast(syscall_nr);
+ 
+-  gSandboxCrashFunc(nr, info, );
+-  _exit(127);
++gSandboxCrashFunc(nr, info, );
++_exit(127);
++  }
+ }
+ 
+ /**
+  * This function installs the SIGSYS handler.  This is slightly
+  * complicated because we want to use Chromium's handler to dispatch
+  * to specific trap handlers defined in the policy, but we also need
+  * the full original signal context to give to Breakpad for crash
+  * dumps.  So we install Chromium's handler first, then retrieve its
+@@ -510,16 +515,31 @@ void
+ SandboxEarlyInit(GeckoProcessType aType)
+ {
+   const SandboxInfo info = SandboxInfo::Get();
+   if (info.Test(SandboxInfo::kUnexpectedThreads)) {
+ return;
+   }
+   MOZ_RELEASE_ASSERT(IsSingleThreaded());
+ 
++  // Set gSandboxCrashOnError if appropriate.  This doesn't need to
++  // happen this early, but for now it's here so that I don't need to
++  // add NSPR dependencies for PR_GetEnv.
++  //
++  // This also means that users with "unexpected threads" setups won't
++  // crash even on nightly.
++#ifdef NIGHTLY_BUILD
++  gSandboxCrashOnError = true;
++#endif
++  if (const char* envVar = getenv("MOZ_SANDBOX_CRASH_ON_ERROR")) {
++if (envVar[0]) {
++  gSandboxCrashOnError = envVar[0] != '0';
++}
++  }
++
+   // Which kinds of resource isolation (of those that need to be set
+   // up at this point) can be used by this process?
+   bool canChroot = false;
+   bool canUnshareNet = false;
+   bool canUnshareIPC = false;
+ 
+   switch (aType) {
+   case GeckoProcessType_Default:
+

diff --git a/www-client/firefox/firefox-53.0.ebuild 
b/www-client/firefox/firefox-53.0-r1.ebuild
similarity index 99%
rename from www-client/firefox/firefox-53.0.ebuild
rename to www-client/firefox/firefox-53.0-r1.ebuild
index a911896f0de..80f3c55995f 100644
--- a/www-client/firefox/firefox-53.0.ebuild
+++ b/www-client/firefox/firefox-53.0-r1.ebuild
@@ -125,6 +125,7 @@ src_prepare() {
# Apply our 

[gentoo-commits] repo/gentoo:master commit in: www-client/firefox/files/, www-client/firefox/

2017-01-29 Thread Jory Pratt
commit: 50a543bdfe736ec8faa708c93471e1e31ef1e8eb
Author: Jory A. Pratt  gentoo  org>
AuthorDate: Mon Jan 30 03:01:01 2017 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Mon Jan 30 03:01:01 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50a543bd

www-client/firefox: Fix pie detection on hardened toolchain, bug #607350

 .../firefox/files/fix_hardened_pie_detection.patch | 36 ++
 www-client/firefox/firefox-51.0.ebuild |  3 +-
 2 files changed, 38 insertions(+), 1 deletion(-)

diff --git a/www-client/firefox/files/fix_hardened_pie_detection.patch 
b/www-client/firefox/files/fix_hardened_pie_detection.patch
new file mode 100644
index ..7cc74cd
--- /dev/null
+++ b/www-client/firefox/files/fix_hardened_pie_detection.patch
@@ -0,0 +1,36 @@
+From: Jory A. Pratt 
+
+CFLAGS must contain -fPIC when checking the linker
+
+https://bugs.gentoo.org/show_bug.cgi?id=607350
+
+diff --git a/build/autoconf/compiler-opts.m4 b/build/autoconf/compiler-opts.m4
+--- a/build/autoconf/compiler-opts.m4
 b/build/autoconf/compiler-opts.m4
+@@ -263,23 +263,26 @@ fi
+ 
+ MOZ_ARG_ENABLE_BOOL(pie,
+ [  --enable-pie   Enable Position Independent Executables],
+ MOZ_PIE=1,
+ MOZ_PIE= )
+ 
+ if test "$GNU_CC" -a -n "$MOZ_PIE"; then
+ AC_MSG_CHECKING([for PIE support])
++_SAVE_CFLAGS=$CFLAGS
++CFLAGS="$CFLAGS -fPIC"
+ _SAVE_LDFLAGS=$LDFLAGS
+ LDFLAGS="$LDFLAGS -pie"
+ AC_TRY_LINK(,,AC_MSG_RESULT([yes])
+   [MOZ_PROGRAM_LDFLAGS="$MOZ_PROGRAM_LDFLAGS -pie"],
+   AC_MSG_RESULT([no])
+   AC_MSG_ERROR([--enable-pie requires PIE support from the 
linker.]))
+ LDFLAGS=$_SAVE_LDFLAGS
++CFLAGS=$_SAVE_CFLAGS
+ fi
+ 
+ AC_SUBST(MOZ_PROGRAM_LDFLAGS)
+ 
+ dnl ASan assumes no symbols are being interposed, and when that happens,
+ dnl it's not happy with it. Unconveniently, since Firefox is exporting
+ dnl libffi symbols and Gtk+3 pulls system libffi via libwayland-client,
+ dnl system libffi interposes libffi symbols that ASan assumes are in

diff --git a/www-client/firefox/firefox-51.0.ebuild 
b/www-client/firefox/firefox-51.0.ebuild
index f1f2b1c..579ef6e 100644
--- a/www-client/firefox/firefox-51.0.ebuild
+++ b/www-client/firefox/firefox-51.0.ebuild
@@ -127,7 +127,8 @@ src_unpack() {
 
 src_prepare() {
# Apply our patches
-   eapply "${WORKDIR}/firefox"
+   eapply "${WORKDIR}/firefox" \
+   "${FILESDIR}"/fix_hardened_pie_detection.patch
 
# Enable gnomebreakpad
if use debug ; then



[gentoo-commits] repo/gentoo:master commit in: www-client/firefox/files/, www-client/firefox/

2017-01-08 Thread Jory Pratt
commit: 7792f12a30bf5c99ed3348ec2eb4b8f53375c5d8
Author: Jory A. Pratt  gentoo  org>
AuthorDate: Sun Jan  8 21:32:39 2017 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Sun Jan  8 21:40:26 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7792f12a

www-client/firefox - Fix sed-4.3 support, add support for >=nss-3.28

 .../firefox/files/mozilla_configure_regexp.patch   | 22 +++
 .../files/mozilla_configure_regexp_esr.patch   | 32 ++
 www-client/firefox/files/update_h2_curve.patch | 30 
 ...efox-45.6.0.ebuild => firefox-45.6.0-r1.ebuild} |  4 ++-
 ...efox-50.1.0.ebuild => firefox-50.1.0-r1.ebuild} |  2 ++
 5 files changed, 89 insertions(+), 1 deletion(-)

diff --git a/www-client/firefox/files/mozilla_configure_regexp.patch 
b/www-client/firefox/files/mozilla_configure_regexp.patch
new file mode 100644
index ..f35e445
--- /dev/null
+++ b/www-client/firefox/files/mozilla_configure_regexp.patch
@@ -0,0 +1,22 @@
+From: Jory A. Pratt 
+
+Note: the first occurrence of :space: is [:space:] (with a single pair
+of []), where it should be [[:space:]] (with two pairs of []).
+
+This causes the sed command to fail (with the error message quoted in
+my original report), driving to failure the whole configure step.
+
+https://bugzilla.mozilla.org/show_bug.cgi?id=1329252
+
+diff --git a/build/autoconf/icu.m4 b/build/autoconf/icu.m4
+--- a/build/autoconf/icu.m4
 b/build/autoconf/icu.m4
+@@ -70,7 +70,7 @@
+ fi
+ fi
+ 
+-version=`sed -n 
's/^[[:space:]]*#[[:space:]]*define[[:space:]][[:space:]]*U_ICU_VERSION_MAJOR_NUM[[:space:]][[:space:]]*\([0-9][0-9]*\)[[:space:]]*$/\1/p'
 "$icudir/common/unicode/uvernum.h"`
++version=`sed -n 
's/^[[[:space:]]]*#[[:space:]]*define[[:space:]][[:space:]]*U_ICU_VERSION_MAJOR_NUM[[:space:]][[:space:]]*\([0-9][0-9]*\)[[:space:]]*$/\1/p'
 "$icudir/common/unicode/uvernum.h"`
+ if test x"$version" = x; then
+AC_MSG_ERROR([cannot determine icu version number from uvernum.h 
header file $lineno])
+ fi
\ No newline at end of file

diff --git a/www-client/firefox/files/mozilla_configure_regexp_esr.patch 
b/www-client/firefox/files/mozilla_configure_regexp_esr.patch
new file mode 100644
index ..9e165ff
--- /dev/null
+++ b/www-client/firefox/files/mozilla_configure_regexp_esr.patch
@@ -0,0 +1,32 @@
+From: Jory A. Pratt 
+
+Note: the first occurrence of :space: is [:space:] (with a single pair
+of []), where it should be [[:space:]] (with two pairs of []).
+
+This causes the sed command to fail (with the error message quoted in
+my original report), driving to failure the whole configure step.
+
+https://bugzilla.mozilla.org/show_bug.cgi?id=1329252
+
+diff --git a/build/autoconf/icu.m4 b/build/autoconf/icu.m4
+--- a/build/autoconf/icu.m4
 b/build/autoconf/icu.m4
+@@ -68,17 +68,17 @@ if test -n "$USE_ICU"; then
+ icudir="$_topsrcdir/intl/icu/source"
+ if test ! -d "$icudir"; then
+ icudir="$_topsrcdir/../../intl/icu/source"
+ if test ! -d "$icudir"; then
+ AC_MSG_ERROR([Cannot find the ICU directory])
+ fi
+ fi
+ 
+-version=`sed -n 
's/^[[:space:]]*#[[:space:]]*define[[:space:]][[:space:]]*U_ICU_VERSION_MAJOR_NUM[[:space:]][[:space:]]*\([0-9][0-9]*\)[[:space:]]*$/\1/p'
 "$icudir/common/unicode/uvernum.h"`
++version=`sed -n 
's/^[[[:space:]]]*#[[:space:]]*define[[:space:]][[:space:]]*U_ICU_VERSION_MAJOR_NUM[[:space:]][[:space:]]*\([0-9][0-9]*\)[[:space:]]*$/\1/p'
 "$icudir/common/unicode/uvernum.h"`
+ if test x"$version" = x; then
+AC_MSG_ERROR([cannot determine icu version number from uvernum.h 
header file $lineno])
+ fi
+ MOZ_ICU_VERSION="$version"
+ 
+ if test "$OS_TARGET" = WINNT; then
+ MOZ_SHARED_ICU=1
+ fi

diff --git a/www-client/firefox/files/update_h2_curve.patch 
b/www-client/firefox/files/update_h2_curve.patch
new file mode 100644
index ..a1f0ffa
--- /dev/null
+++ b/www-client/firefox/files/update_h2_curve.patch
@@ -0,0 +1,30 @@
+From: Franziskus Kiefer 
+
+Update keybits in H2
+
+https://bugzilla.mozilla.org/show_bug.cgi?id=1290037
+
+diff --git a/netwerk/protocol/http/Http2Session.cpp 
b/netwerk/protocol/http/Http2Session.cpp
+--- a/netwerk/protocol/http/Http2Session.cpp
 b/netwerk/protocol/http/Http2Session.cpp
+@@ -3516,18 +3516,18 @@ Http2Session::ConfirmTLSProfile()
+ RETURN_SESSION_ERROR(this, INADEQUATE_SECURITY);
+   }
+ 
+   uint32_t keybits = ssl->GetKEAKeyBits();
+   if (kea == ssl_kea_dh && keybits < 2048) {
+ LOG3(("Http2Session::ConfirmTLSProfile %p FAILED due to DH %d < 2048\n",
+   this, keybits));
+ RETURN_SESSION_ERROR(this, INADEQUATE_SECURITY);
+-  } else if (kea == ssl_kea_ecdh && keybits < 256) { // 256 bits is "security 
level" of 128
+-LOG3(("Http2Session::ConfirmTLSProfile %p FAILED due to ECDH %d < 256\n",
++  } 

[gentoo-commits] repo/gentoo:master commit in: www-client/firefox/files/, www-client/firefox/

2015-11-26 Thread Jory Pratt
commit: efaac387ea54fd27e9d18c0e1a78624c3bbe22e8
Author: Jory A. Pratt  gentoo  org>
AuthorDate: Fri Nov 27 00:07:22 2015 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Fri Nov 27 00:07:22 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=efaac387

www-client/firefox - Fix misc crash issues via cairo, add musl support

 www-client/firefox/Manifest|  2 +-
 www-client/firefox/files/gentoo-default-prefs.js-2 | 21 
 ...{firefox-42.0.ebuild => firefox-42.0-r2.ebuild} | 29 +++---
 3 files changed, 42 insertions(+), 10 deletions(-)

diff --git a/www-client/firefox/Manifest b/www-client/firefox/Manifest
index 51b89d1..669aa7f 100644
--- a/www-client/firefox/Manifest
+++ b/www-client/firefox/Manifest
@@ -297,7 +297,7 @@ DIST firefox-42.0-nl.xpi 451272 SHA256 
a2470132d8b8a80b71471527a4c2468e7cd9e2440
 DIST firefox-42.0-nn-NO.xpi 447406 SHA256 
4bff7cf5b4178a6d85da579ad1356af88d332d9b48cfbfaa067d51c8f190dd27 SHA512 
0b6c8cc62dedbafe0d7e2010463d676908eb36f27045f0c8caa88ce9cf7315e919578d0b7b66fd523014ee5abf3f5162927e6af411eaf151ed35d3afcf67d303
 WHIRLPOOL 
1baef82c6956dd36a56f2021c1847ed90d8ad5f83e3bed6a7d5141ad4901b238650a5e01af266a5b54a56f447039c5fd07a1587a1efa253018da2996344dc85b
 DIST firefox-42.0-or.xpi 533314 SHA256 
c3f211d325a7bac64c71b239ccc95918153f5d5ae987b29031245bf7475eb329 SHA512 
f4a2fc595163a15ad787c39cac8f26a6802f51549dfbf74955bd659298dcd59298fd55d567ca751e6c98cdc87ef683b0627b3f44d025197ad4c14f5a127bfa87
 WHIRLPOOL 
895f9d419a92ceddb74fe884948006158886da1ef06a4f53ced6172a30a28edfeac37440a4b28b3fb6da6e582b2e644e2f290c3bb218cd1ba22eb3ba5b58
 DIST firefox-42.0-pa-IN.xpi 507205 SHA256 
af2e3dec61be29064b9a72846fd1148f0ff02e7e2290a3ed60077e932cdb614a SHA512 
615c5940db69e973199fcf8d914bf6b099edd4b79f58aa3226f76eda9b0fd6e045e0936f278afb5f69c4dec0ffb88297281a26540a94d1a772701ad7ae89dc36
 WHIRLPOOL 
bdd4a03fbafdf21fec296cf65b5576cf7fbdc3e2c6e2318739033acfe3ebbf9e0553d95e80f5b63067a66a35f2957824a0fbaac6054659838765e665275915b1
-DIST firefox-42.0-patches-02.tar.xz 6424 SHA256 
6c8a89c75ea4a359bf720f011e1bb856b653cd6676767b33ccb9d2f807a089e3 SHA512 
d40266c98aa5bfeed243e3bd42f9146bc73492bd20bd07ac4941df83793a7e3a832220b65fc8c9eeb5f3a00089087251a2b758df5fc0d3dd3403468ec0b9eb53
 WHIRLPOOL 
93356507e31a5dca653a5fcc844c24acc1de6b2a01f3dbd7227c1e23eda4e8799a59cf1a50bb49b721249cb82c744d49f4671bfb7188275101c6de955afdb149
+DIST firefox-42.0-patches-0.3.tar.xz 13360 SHA256 
8f1b592454695a27cd8ab6a234705d73363af0a5ecc5e64c30072def05fd5fc8 SHA512 
4aa1ab7b8482b2d6af35cc293443678eb3c33a6eb2577fc0553ec94b3c3a3cbd7c322d50c004ac646296491fe1f67f5d199635750b0c50cc4f0742af704a9cac
 WHIRLPOOL 
e755b9fd4da821e8d0490e138531dcc55e9c9dd6ebbbf33771fffda9fe932df79c1d26dc8ad6b6dc9e8a444ee47659f7ef90846dc076299793db4726be06b94e
 DIST firefox-42.0-pl.xpi 403227 SHA256 
34498568481fc7d720742e2add62e0ea55c6150bf90abc3040186ca5d26881f2 SHA512 
9faccaeb287eb5ba36d8303046bc36e6716d3979821956e789fc8dfe830cb9985f0fc06f1566ff68498cfac6d0c1ff8622c404e79b2389b011d4e30fbeb4
 WHIRLPOOL 
29cbacd46f7fe86f8a62d1123baf8564de11aa8825ac04d66ef0f17fa838fb6b40cfd50fe0b232c6c451e2240b58f7fc50d7b99287876549151ae5cd55056133
 DIST firefox-42.0-pt-BR.xpi 468096 SHA256 
b0c9a80cd76142fd9886fd70a141dc0d8e4203e8fbdb72b649c84ee3b0d373bf SHA512 
7518e2fa20857a71156980c5e4e3884f89f6bf737596a667ef4d2168b7b0549bcd712a50c0a90123e858d5d63baf4cad8e769300c18e9d55c44837f1bcdb463c
 WHIRLPOOL 
64387553add0cc66c9b518acc2b5c5d97b4dfb050d709972cc1d895eaf8c20d942c523ac44d927a44b45f6808e89427b5bad186226a64f3bdffb92270520968c
 DIST firefox-42.0-pt-PT.xpi 448920 SHA256 
63b5e59bd240b67fe683618b9be9d824ae8f77133d8345889b32ba0930d77687 SHA512 
d64c8a4d4eb6d541f20f288b332fea15d09d89153ac2e110942bcc8a753fc758ab643b52096fd77424c1f0a86fd517d1a3998f37b106976fe9b7abf0b033e74a
 WHIRLPOOL 
93a1643c66bd92c00f1100a935404dc95d90b0d08fde99cf008815cd7d447a3b2308e5d37f38ad19f5eafaaba2343c2249259e8f668dad07ab3ec90cbf31

diff --git a/www-client/firefox/files/gentoo-default-prefs.js-2 
b/www-client/firefox/files/gentoo-default-prefs.js-2
new file mode 100644
index 000..ad8cbb5
--- /dev/null
+++ b/www-client/firefox/files/gentoo-default-prefs.js-2
@@ -0,0 +1,21 @@
+pref("app.update.enabled", false);
+pref("app.update.autoInstallEnabled",  false);
+pref("browser.display.use_system_colors",  true);
+pref("browser.link.open_external", 3);
+pref("general.smoothScroll",   true);
+pref("general.autoScroll", false);
+pref("browser.tabs.tabMinWidth",   15);
+pref("browser.backspace_action",   0);
+pref("browser.urlbar.hideGoButton",true);
+pref("accessibility.typeaheadfind",true);
+pref("browser.shell.checkDefaultBrowser",  false); 
+pref("browser.EULA.override",  true); 
+pref("general.useragent.vendor", "Gentoo");
+pref("intl.locale.matchOS", true);
+pref("general.useragent.locale", 

[gentoo-commits] repo/gentoo:master commit in: www-client/firefox/files/, www-client/firefox/

2015-10-06 Thread Ian Stakenvicius
commit: 944ff0ea33dc14b6fcb6c2f0008d07276f1e48d1
Author: Ian Stakenvicius  gentoo  org>
AuthorDate: Tue Oct  6 17:11:40 2015 +
Commit: Ian Stakenvicius  gentoo  org>
CommitDate: Tue Oct  6 17:20:48 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=944ff0ea

www-client/firefox: cleanup old ebuilds and patches

Package-Manager: portage-2.2.20.1

 www-client/firefox/Manifest| 161 -
 .../files/firefox-32.0-hppa-js-configure.patch |  21 --
 .../files/firefox-38-hppa-js-syntax-error.patch|  30 --
 www-client/firefox/firefox-38.2.1.ebuild   | 397 
 www-client/firefox/firefox-40.0.3.ebuild   | 399 -
 5 files changed, 1008 deletions(-)

diff --git a/www-client/firefox/Manifest b/www-client/firefox/Manifest
index 8331254..f050e76 100644
--- a/www-client/firefox/Manifest
+++ b/www-client/firefox/Manifest
@@ -80,86 +80,6 @@ DIST firefox-38.2.0esr-xh.xpi 450242 SHA256 
d41ee639470dce1ff3a103987c16ad5dc32c
 DIST firefox-38.2.0esr-zh-CN.xpi 488277 SHA256 
6b58c8a6fd5e62933d8ec42758a6fc7dd4794b7f659855331debc876e8b80bec SHA512 
f17a3d9160a907c5d135d1e66f5a114b6580c34e4da57faa7b55af6d8910bce2d37845489e203fb906e2f124eb1bc874c32018458c349230b23f0363370453e4
 WHIRLPOOL 
eacb3d22b097b05dcbff08078ad534e89fcb4184641b502fac3aea6d7ac73fc0b581b8edbc7b53fa93c883aff09ce1ed115997347a7261928a689e4979b05c5a
 DIST firefox-38.2.0esr-zh-TW.xpi 467844 SHA256 
bb22672b52104fd11c28d5609d2c039dd0b3636445b091523dfb90538cf84e94 SHA512 
e29a7bfbd03629eaf3bd9a51224e5caf6042febb6e5861435e11a2d16673f1db4b862867e5016c2465ea2445efa5ab9f6a07d3719cd79e5be749c8302893e8c7
 WHIRLPOOL 
f8488aa526c7c1e99e49bba22ccc67ec2f180dd339e72411a458cbb68a7080bbf65187ecb01a41742cbb1b23ece00f9db3f70350d4c5a3901a21c44165bb4e28
 DIST firefox-38.2.0esr.source.tar.bz2 180722192 SHA256 
55867254f21cfc610aa63c8aa0d7156df6eb4c0cb37ebac30259e4890170aacb SHA512 
65df7ea87b6a48d328096a26bfc6e2d19d9fa45c35cc576f401e2266f884708d5fd4cc6cd1344b70a8c9bd611a439df11ea1a978bf1d9f1719a240b109489b1f
 WHIRLPOOL 
f001d27a402f5fee5ed1500fad61dab07468e315e353598107f638bee08e4b2be63715fd1ad7b6527a0d289a855a520201c753636a45842ff1329efc6f2ecf3c
-DIST firefox-38.2.1esr-af.xpi 483326 SHA256 
2939af5389d2d480ad9b0b5fd4e13d725a07b47f1e025d7abe232e25bd6f93f3 SHA512 
6a55abc6fa0b27a0029b7693d7b8e15105ab40f3e28e905f268ebf172963f2678bda470277144eae2c54eb99ebe9b31a41a7b4965ff546f103cec75cf3713e74
 WHIRLPOOL 
c87f75bc984de737d89c5ddf6dcebd95dedf67d6bff96db0ccff3a3bbf95a070c27cc1e59ff9e617213cb90f15f57d0e3c394c31e0187e671d779d0172a7a2b3
-DIST firefox-38.2.1esr-ar.xpi 516495 SHA256 
840e732a96c8478d0815888c79496d1c62dcbd6133d2304b0920f93d0f6eb3db SHA512 
51d47bc01f197c07464e19a7f7d8c1c978415d76b1734bba7fba2c56736f980d6fc1def6c8bd91a9dd213bd4d55cbc82968b2e04df56761abb232aa40b8512b1
 WHIRLPOOL 
7ed57f922148ee417a6aa0dcf1c4272febd662333923e4a17218a3e00a612757bae6c9e9cab19f75b3318dc94af9decd9c434082e7135e74c602f209541d
-DIST firefox-38.2.1esr-as.xpi 509574 SHA256 
3aad4f54d6b17a1e50ecff8f88d43723fa7d423ef5523a01e80b2eedd4d40ca4 SHA512 
87c427da29d9ab579e036cc83e29926b2dd75dd362c84dde8e380cf46a482041b0226b7bcc037fabd41720e8f19b184f83776be35879178078a3f2663049e40f
 WHIRLPOOL 
be532efabfbf65852bc153aff5e9a5f29786578724cd0434d11178bfa9763cab96202e20d05fea0419e34d6f94c4508ccf7aee444ccc218603494d2c91212c48
-DIST firefox-38.2.1esr-ast.xpi 397202 SHA256 
9a3dad64dd09a11293936ad421d9cf54a112363497fcf2263e56fe4dc059b648 SHA512 
99977baab4d1f6bb474cbd1a41ba93bb91e31c49de58078f76164f66b1c7ef9c1b398bc0e81ca0b832aaba736c402e4d28e6e2495500fb8906054a5e251b79f0
 WHIRLPOOL 
e7c3ad01756599f497b26e5d791a75f5f728ecdb6f7b15ab8f5e684cebe4b3494a6a6212761beb35ca5d754a5894c4469629ec980403b2cd26f8a3490d458647
-DIST firefox-38.2.1esr-be.xpi 441057 SHA256 
fd6d9e058da409985c1f9e04b608c897e3ccf81cff733029c4c6571e7d128022 SHA512 
118f0efb28216d03ef7dfc17f82e5d085ca407a21cd071072c4cbd766759c398e4d274bcb4c0c51912eaf848baf418c0af7fbeedbf44e2ba2f2ae3ac545f0a81
 WHIRLPOOL 
caffc0685b15291779fdaee15a239c954b7fe4bfcd4ceb0a07fe9c9105fe9deb3dddf2b050d9c2b9a4c89bd97dbb9af3c0e05c2c805602bff14f2b97e665fe70
-DIST firefox-38.2.1esr-bg.xpi 487819 SHA256 
389edc15450db4664667237ce42a7f207278777bf13fb7531ebba54a09df460d SHA512 
06c8c37ec7ad1424bb2e5a1d893095174491db9046a6dc91ed655af243b94b374a765dfccd461e719faea5786c5082a201479b48167cf0c6e8605552f68e51c7
 WHIRLPOOL 
996c9166e026ca61f0ea28943b3e2a0823d31156ccc177ae37a114a0f6be526ff055ee863a207b201cdab7dc9c24b12397d7d6686a3cfd04f311caf913348a46
-DIST firefox-38.2.1esr-bn-BD.xpi 528690 SHA256 
8acb41f8dce61a494f04e2d3f43eb0a23e7f21179928b803d6f0fac42ee1b4a3 SHA512 
b0b2118f4ba9f24811b51a19cd14a5f18a805cb333f004519717a3da9d9b462c0949d414e3e4baa418c87ff38b6e42edd607176deed0ac7b315d3f5ff9860dfa
 WHIRLPOOL 
12e74c874490a890b99de0bcc974b9a8e64e07b609f792dffca5922358d384d7a03b42e39100794db16ab97880465a0e45c41aa676f50d3b29a29a8d47afbfb0
-DIST firefox-38.2.1esr-bn-IN.xpi 527927