Gentoo Archives: gentoo-commits

From: Ian Stakenvicius <axs@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/mozilla:master commit in: www-client/firefox/
Date: Thu, 31 Mar 2016 16:15:58
Message-Id: 1459433335.d9ea8a1a13c4168671d0f5ef9b4d698e0a535f09.axs@gentoo
1 commit: d9ea8a1a13c4168671d0f5ef9b4d698e0a535f09
2 Author: Ian Stakenvicius <axs <AT> gentoo <DOT> org>
3 AuthorDate: Thu Mar 31 14:08:49 2016 +0000
4 Commit: Ian Stakenvicius <axs <AT> gentoo <DOT> org>
5 CommitDate: Thu Mar 31 14:08:55 2016 +0000
6 URL: https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=d9ea8a1a
7
8 bump firefox-46 to beta6, put back optional jit
9
10 Testing on hardened showed that despite upstream's declaration that all RWX bits of code
11 are now W^X, there are still a number of mprotect related errors. Putting back the jit flag
12 so that it can be disabled for hardened, and reintroducing the various patches etc to support
13 non-jit builds.
14
15 www-client/firefox/Manifest | 4 ++--
16 ...46.0_beta4.ebuild => firefox-46.0_beta6.ebuild} | 22 +++++++---------------
17 2 files changed, 9 insertions(+), 17 deletions(-)
18
19 diff --git a/www-client/firefox/Manifest b/www-client/firefox/Manifest
20 index d3536ed..6232e95 100644
21 --- a/www-client/firefox/Manifest
22 +++ b/www-client/firefox/Manifest
23 @@ -79,5 +79,5 @@ DIST firefox-45.0.1-xh.xpi 429734 SHA256 638b3ac560c1e61f410ff8ee53125e58d6a0fe7
24 DIST firefox-45.0.1-zh-CN.xpi 469931 SHA256 69dcf93c1e3ea55d248834f653d2d80706a1c91038f745b183f9f670116728e2 SHA512 21ad24eb635321ddf979217181c6f8c42b673ffc266e35d22078508ac7d6857986955299070b01ffb9a45938d3bf19905ce24c7ca4fc759b040491a8a4c2d4a8 WHIRLPOOL eeed1f803a52558dfe48a0eab30dfbcad69652ff748355e76dcd6d0e7ad2bffbc74e9f91a12945aed08d668ae9cc09c57d634101ed29543bd3ec9ae1704fa8bc
25 DIST firefox-45.0.1-zh-TW.xpi 460795 SHA256 b5ed300a15623e1f8207e5b566864f2cba8772ddcec5fff460b8b37e5a9f2cbd SHA512 7ee83363c5f5b0317d50ba1ba90ad910a8e01a2d83ea3da0ba1a533bca413e32f4220dbc2ccdc2cdbb75dbcf7b23fa5c32a6fa5f9bec9416b6d06f188a5f061e WHIRLPOOL cc114e9aad479dec70eecf03c42c6f17965cdf96bec90011f4287d8bd2c865eefcc8fe040c28ce2812173922f53cc938cfeaad18e851b1f5f72b893e5f7dd3d8
26 DIST firefox-45.0.1.source.tar.xz 184009616 SHA256 d1814ac6d8cd687696bd0d98da3bb525f6df11fe655e0d668742b21fca57d9c8 SHA512 ff28116aff3dd07bf9c43724c7870cac8e4764639c5ee1248cc1003a4f6005f86b823a0f7969425970e2aeba3eca22e4aa88fa3c5d912c253373d398257d8438 WHIRLPOOL 10bf50ca841136a91410ea71de577f97b7a29c56258882a4a48d68ac872ad49bf0f900b8d5a2f19172346229bc83ffbfc87d5cf29080f3589b8fd372ffc2ca55
27 -DIST firefox-46.0-patches-0.2.tar.xz 14388 SHA256 f34c0b1550a356a231c307bb92386482e2a6531845fe88acd7cbcda645b64063 SHA512 27466e933eefa18f1a5d3ed27d57c0d1548c1106bc51275d7fa1acb43f30ed51e31be3d26806f9eddfc01f0526d0865b3e98a22c719b45dd3aa7029374c9d228 WHIRLPOOL 579b7bc67300557d2172de58539e9026d2806e1f6395f41fe956c98a17ccd7075094d412c4b5c8a53e247b69bcd1b3082d1c27fba5eef2059f4c898bffdc8715
28 -DIST firefox-46.0b4.source.tar.xz 186991436 SHA256 4b230040dbd16fdb51616a02ee97827a3299f1147b14086b4163c6f03fe24f79 SHA512 24d9a3f7b1c5fc757c769e2698ae0947df80aa366a555c853f3db494eaffbdb11fd170edacec3221bfd1b8ff9c8944ef3b28a80db62804e341228712a7ff2a69 WHIRLPOOL 7cd8d24294a2a3606ece0ce46d37023ad19f035bed970a246539588745457b0c854edc5379c5caad2f5ea90fa8453e1f964fada944b5b769d51b501cd200323f
29 +DIST firefox-46.0-patches-0.3.tar.xz 14376 SHA256 3db42f35a0b86e8b1621bbc3f499f4b6d3f317728faa468f7acfe2ec34162ef9 SHA512 e593bc6751cd88e6e004012292d8ff39008e5ed46bcea73702f88365ec714e17f468ba4c297e06b07052706ff98a13dca69b4a05b4f2c45f7070d2b1fd4571bd WHIRLPOOL 6179d9f4e8e3a2c66632e15db3a4db4a79b8ea7c7a92d15754438f6fb5a38ad09c852e047952c99d37cff8f42b4ffc1ddbd4df6e8855a1d800561306d1320779
30 +DIST firefox-46.0b6.source.tar.xz 187289468 SHA256 9a265fa8a236b1f0f0878f667b4fd5f2b6931bddaffc2c4d8337b34f4e1be926 SHA512 b4f53fd59014f85f8c2ff0d115873a4ee4d75df0511168fe8489ed2ce20c178f218cd91f9d0b50d06b32eb482b4b9ef4a6e13996ea401646b626a22b0d190dc4 WHIRLPOOL f857c0320e2c66c34a230044926f2d01ca09939c8059ab2c764922a53c91e96ae442d992397c1044698fc32f1fb0c8b6a581a79970bce53f4fb049180dbd4b09
31
32 diff --git a/www-client/firefox/firefox-46.0_beta4.ebuild b/www-client/firefox/firefox-46.0_beta6.ebuild
33 similarity index 94%
34 rename from www-client/firefox/firefox-46.0_beta4.ebuild
35 rename to www-client/firefox/firefox-46.0_beta6.ebuild
36 index 99bda6c..6dd062f 100644
37 --- a/www-client/firefox/firefox-46.0_beta4.ebuild
38 +++ b/www-client/firefox/firefox-46.0_beta6.ebuild
39 @@ -27,13 +27,13 @@ if [[ ${MOZ_ESR} == 1 ]]; then
40 fi
41
42 # Patch version
43 -PATCH="${PN}-46.0-patches-0.2"
44 +PATCH="${PN}-46.0-patches-0.3"
45 MOZ_HTTP_URI="https://archive.mozilla.org/pub/${PN}/releases"
46
47 MOZCONFIG_OPTIONAL_GTK2ONLY=1
48 #MOZCONFIG_OPTIONAL_QT5=1 -- fails to build so leave it off until the code can be patched
49 MOZCONFIG_OPTIONAL_WIFI=1
50 -#MOZCONFIG_OPTIONAL_JIT="enabled" -- forcing jit no matter what, hardened should work due to W^X support
51 +MOZCONFIG_OPTIONAL_JIT="enabled"
52
53 inherit check-reqs flag-o-matic toolchain-funcs eutils gnome2-utils mozconfig-v6.46 pax-utils fdo-mime autotools virtualx mozlinguas
54
55 @@ -130,14 +130,9 @@ src_unpack() {
56 }
57
58 src_prepare() {
59 - # Clear patches no longer needed
60 - rm -f "${WORKDIR}"/firefox/8005_gtk3_fix_transparent_tooltip_bkg_bug1197165_moz47.patch
61 -
62 # Apply our patches
63 eapply "${WORKDIR}/firefox"
64 -# "${FILESDIR}"/${PN}-45-qt-widget-fix.patch \
65 -# "${FILESDIR}"/${P}-jitless-atomic-operations-ppc64.patch \
66 -# "${FILESDIR}"/${P}-jitless-atomic-operations-x86.patch
67 +# "${FILESDIR}"/${PN}-45-qt-widget-fix.patch
68
69 # Allow user to apply any additional patches without modifing ebuild
70 eapply_user
71 @@ -217,9 +212,6 @@ src_configure() {
72 echo -n "${_google_api_key}" > "${S}"/google-api-key
73 mozconfig_annotate '' --with-google-api-keyfile="${S}/google-api-key"
74
75 - # upstream W^X support should mean we can enable jit all the time
76 - mozconfig_annotate '' --enable-ion
77 -
78 mozconfig_annotate '' --enable-extensions="${MEXTENSIONS}"
79 mozconfig_annotate '' --disable-mailnews
80
81 @@ -366,11 +358,11 @@ PROFILE_EOF
82 fi
83
84 # Required in order to use plugins and even run firefox on hardened, with jit useflag.
85 -# if use jit; then
86 -# pax-mark m "${ED}"${MOZILLA_FIVE_HOME}/{firefox,firefox-bin,plugin-container}
87 -# else
88 + if use jit; then
89 + pax-mark m "${ED}"${MOZILLA_FIVE_HOME}/{firefox,firefox-bin,plugin-container}
90 + else
91 pax-mark m "${ED}"${MOZILLA_FIVE_HOME}/plugin-container
92 -# fi
93 + fi
94
95 # very ugly hack to make firefox not sigbus on sparc
96 # FIXME: is this still needed??