Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 685140 - www-client/firefox-66.0.4: version bump
Summary: www-client/firefox-66.0.4: version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 2 votes (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
: 685164 685204 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-05-05 21:18 UTC by theodor
Modified: 2019-05-06 16:17 UTC (History)
17 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
firefox-66.0.4.ebuild (firefox-66.0.4.ebuild,23.82 KB, text/plain)
2019-05-06 03:11 UTC, maurerpe
Details
66.0.x certificate addition for addons (mozilla-bug1549061-66.0.3.patch,5.10 KB, patch)
2019-05-06 03:31 UTC, Jory A. Pratt
Details | Diff
60.x esr branch certificate for addons (mozilla-bug1549061-60.6.1.patch,4.93 KB, patch)
2019-05-06 03:32 UTC, Jory A. Pratt
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description theodor 2019-05-05 21:18:24 UTC
Please update firefox quickly to 64.0.4 to make add-ons working again. Thanks in advance.
Comment 1 Martin McClure 2019-05-05 22:08:13 UTC
For stable users, an update of Firefox from 60.6.1 to 60.6.2 would also seem approrpriate to solve the same problem. All Firefox add-ons are disabled with current versions.

See
https://blog.mozilla.org/addons/2019/05/04/update-regarding-add-ons-in-firefox/

Thanks!
Comment 2 maurerpe 2019-05-06 03:11:24 UTC
Created attachment 575376 [details]
firefox-66.0.4.ebuild

Here is a working ebuild for 66.0.4.  The xpi directories appear to be missing for 66.0.4, so I am using the xpi's from 66.0.3.

There is only one line added to the ebuild:
MOZ_LANGPACK_PREFIX="66.0.3/linux-i686/xpi/"

Not the cleanest solution, but it will allow extensions to work in the mean time.
Comment 3 Jory A. Pratt gentoo-dev 2019-05-06 03:28:42 UTC
(In reply to maurerpe from comment #2)
> Created attachment 575376 [details]
> firefox-66.0.4.ebuild
> 
> Here is a working ebuild for 66.0.4.  The xpi directories appear to be
> missing for 66.0.4, so I am using the xpi's from 66.0.3.
> 
> There is only one line added to the ebuild:
> MOZ_LANGPACK_PREFIX="66.0.3/linux-i686/xpi/"
> 
> Not the cleanest solution, but it will allow extensions to work in the mean
> time.

The versioning will be wrong for xpi name, not something I am interested in dealing with. I will make the bumps in the morning, that is when all the mirrors should have the update and xpi's. If you can not wait for that you could simply patch in the intermediate certificate. I can provide the patch if you are just going crazy without your plugins.
Comment 4 Jory A. Pratt gentoo-dev 2019-05-06 03:31:25 UTC
Created attachment 575380 [details, diff]
66.0.x certificate addition for addons
Comment 5 Jory A. Pratt gentoo-dev 2019-05-06 03:32:35 UTC
Created attachment 575382 [details, diff]
60.x esr branch certificate for addons

Choose the patch based off the version your using if you want a quick solution. Other wise I will make the bump soon as the official xpi's are available.
Comment 6 Tomáš Mózes 2019-05-06 07:32:32 UTC
*** Bug 685164 has been marked as a duplicate of this bug. ***
Comment 7 Mihai Moldovan 2019-05-06 12:18:29 UTC
I noticed the missing langpack XPIs and asked in #firefox/irc.mozilla.org.

They don't plan on publishing new ones for 66.0.4. Instead, the 66.0.3 ones should continue to work and be used instead.
Comment 8 Nikos Chantziaras 2019-05-06 13:16:16 UTC
I noticed that firefox-bin also tries to download these XPIs. Is this even needed? firefox-bin should (AFAIK) be self-contained.

Anyway, if you came here for a quick fix, and you're using firefox-bin, then you can do a manual update by downloading the official firefox-66.0.4.tar.bz2 binary package to your home directory, untar it (so it's extracted into ~/firefox), and then do (as root):

  cd /opt/firefox
  find -type f -exec cp -a ~/firefox/'{}' '{}' \;

You can then delete ~/firefox and the tar.bz2.
Comment 9 Mihai Moldovan 2019-05-06 13:26:52 UTC
Yes, naturally the -bin version also needs/uses language packs. Keep in mind that users can enable multiple linguas - it doesn't make sense to keep #linguas count of binary Firefox copies around (even if, like you said, Mozilla offers one build per language). Instead, the en-US (base) binary package is installed and additional languages are being provided by also installing the respective language pack extension.


That workaround is horrible, because it completely bypasses your package manager. Please don't do that.
Comment 10 Nikos Chantziaras 2019-05-06 13:33:23 UTC
(In reply to Mihai Moldovan from comment #9)
> That workaround is horrible, because it completely bypasses your package
> manager. Please don't do that.

It's fine. The files will still be managed by the package manager because no new files are created. Just already existing ones updated.
Comment 11 Fabio Rossi 2019-05-06 14:51:10 UTC
(In reply to Jory A. Pratt from comment #4)
> Created attachment 575380 [details, diff] [details, diff]
> 66.0.x certificate addition for addons

The patch for version 66.0.3 works.

firefox should also check the addons against the new certificate, I don't know how often it's done. To speed-up the things I have set app.update.lastUpdateTime.xpi-signature-verification to 0 and restarted firefox.
Comment 12 Larry the Git Cow gentoo-dev 2019-05-06 16:00:20 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9f79d3a83f99dfdbdd031a2833b46ca3ffa4bbe

commit e9f79d3a83f99dfdbdd031a2833b46ca3ffa4bbe
Author:     Jory Pratt <anarchy@gentoo.org>
AuthorDate: 2019-05-06 15:59:19 +0000
Commit:     Jory Pratt <anarchy@gentoo.org>
CommitDate: 2019-05-06 16:00:13 +0000

    www-client/firefox-bin: Upstream fix for addon cert
    
    Closes: https://bugs.gentoo.org/685140
    
    Signed-off-by: Jory Pratt <anarchy@gentoo.org>

 www-client/firefox-bin/Manifest                    | 344 ++++++++++-----------
 ...bin-60.6.1.ebuild => firefox-bin-60.6.2.ebuild} |   3 +
 ...bin-66.0.3.ebuild => firefox-bin-66.0.4.ebuild} |   3 +
 3 files changed, 178 insertions(+), 172 deletions(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=156082760029df83903a309a327d4ff85b325423

commit 156082760029df83903a309a327d4ff85b325423
Author:     Jory Pratt <anarchy@gentoo.org>
AuthorDate: 2019-05-06 15:54:30 +0000
Commit:     Jory Pratt <anarchy@gentoo.org>
CommitDate: 2019-05-06 16:00:13 +0000

    www-client/firefox: fix addon cert missing
    
    Closes: https://bugs.gentoo.org/685140
    
    Signed-off-by: Jory Pratt <anarchy@gentoo.org>

 www-client/firefox/Manifest                        | 370 ++++++++++-----------
 ...firefox-60.6.1.ebuild => firefox-60.6.2.ebuild} |   5 +-
 ...firefox-66.0.3.ebuild => firefox-66.0.4.ebuild} |   3 +
 3 files changed, 192 insertions(+), 186 deletions(-)
Comment 13 Brian Evans (RETIRED) gentoo-dev 2019-05-06 16:17:41 UTC
*** Bug 685204 has been marked as a duplicate of this bug. ***