Gentoo Archives: gentoo-commits

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: www-client/firefox/
Date: Mon, 12 Jul 2021 23:32:52
Message-Id: 1626132712.8a3b0f3b569543a5d356973cb3fcea0ca280e5e7.whissi@gentoo
1 commit: 8a3b0f3b569543a5d356973cb3fcea0ca280e5e7
2 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jul 12 23:16:00 2021 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Mon Jul 12 23:31:52 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a3b0f3b
7
8 www-client/firefox: check for SECCOMP support in kernel
9
10 Bug: https://bugs.gentoo.org/790398
11 Package-Manager: Portage-3.0.21, Repoman-3.0.3
12 Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
13
14 www-client/firefox/firefox-78.12.0.ebuild | 8 ++++++--
15 www-client/firefox/firefox-90.0.ebuild | 8 ++++++--
16 2 files changed, 12 insertions(+), 4 deletions(-)
17
18 diff --git a/www-client/firefox/firefox-78.12.0.ebuild b/www-client/firefox/firefox-78.12.0.ebuild
19 index 36a8533d36e..3e0e8d7fc1e 100644
20 --- a/www-client/firefox/firefox-78.12.0.ebuild
21 +++ b/www-client/firefox/firefox-78.12.0.ebuild
22 @@ -37,8 +37,8 @@ MOZ_P="${MOZ_PN}-${MOZ_PV}"
23 MOZ_PV_DISTFILES="${MOZ_PV}${MOZ_PV_SUFFIX}"
24 MOZ_P_DISTFILES="${MOZ_PN}-${MOZ_PV_DISTFILES}"
25
26 -inherit autotools check-reqs desktop flag-o-matic gnome2-utils llvm \
27 - multiprocessing pax-utils python-any-r1 toolchain-funcs \
28 +inherit autotools check-reqs desktop flag-o-matic gnome2-utils linux-info \
29 + llvm multiprocessing pax-utils python-any-r1 toolchain-funcs \
30 virtualx xdg
31
32 MOZ_SRC_BASE_URI="https://archive.mozilla.org/pub/${MOZ_PN}/releases/${MOZ_PV}"
33 @@ -475,6 +475,10 @@ pkg_setup() {
34 # Ensure we use C locale when building, bug #746215
35 export LC_ALL=C
36 fi
37 +
38 + CONFIG_CHECK="~SECCOMP"
39 + WARNING_SECCOMP="CONFIG_SECCOMP not set! This system will be unable to play DRM-protected content."
40 + linux-info_pkg_setup
41 }
42
43 src_unpack() {
44
45 diff --git a/www-client/firefox/firefox-90.0.ebuild b/www-client/firefox/firefox-90.0.ebuild
46 index 9ecfb11e4d5..b2acecd2054 100644
47 --- a/www-client/firefox/firefox-90.0.ebuild
48 +++ b/www-client/firefox/firefox-90.0.ebuild
49 @@ -37,8 +37,8 @@ MOZ_P="${MOZ_PN}-${MOZ_PV}"
50 MOZ_PV_DISTFILES="${MOZ_PV}${MOZ_PV_SUFFIX}"
51 MOZ_P_DISTFILES="${MOZ_PN}-${MOZ_PV_DISTFILES}"
52
53 -inherit autotools check-reqs desktop flag-o-matic gnome2-utils llvm \
54 - multiprocessing pax-utils python-any-r1 toolchain-funcs \
55 +inherit autotools check-reqs desktop flag-o-matic gnome2-utils linux-info \
56 + llvm multiprocessing pax-utils python-any-r1 toolchain-funcs \
57 virtualx xdg
58
59 MOZ_SRC_BASE_URI="https://archive.mozilla.org/pub/${MOZ_PN}/releases/${MOZ_PV}"
60 @@ -474,6 +474,10 @@ pkg_setup() {
61 # Ensure we use C locale when building, bug #746215
62 export LC_ALL=C
63 fi
64 +
65 + CONFIG_CHECK="~SECCOMP"
66 + WARNING_SECCOMP="CONFIG_SECCOMP not set! This system will be unable to play DRM-protected content."
67 + linux-info_pkg_setup
68 }
69
70 src_unpack() {