Compare commits

...

No commits in common. 'i8' and 'c9' have entirely different histories.
i8 ... c9

@ -5,4 +5,3 @@
d744f92e874688cc4b5376477dfdd639a97a6cd4 SOURCES/nspr-4.35.0-1.el8_1.src.rpm d744f92e874688cc4b5376477dfdd639a97a6cd4 SOURCES/nspr-4.35.0-1.el8_1.src.rpm
f466d7213e85773e002c48897524eaf909480046 SOURCES/nss-3.101.0-7.el8_2.src.rpm f466d7213e85773e002c48897524eaf909480046 SOURCES/nss-3.101.0-7.el8_2.src.rpm
0413d22a58ba1bba99acec9c3c2a4db56a4100c7 SOURCES/nss-3.101.0-7.el9_2.src.rpm 0413d22a58ba1bba99acec9c3c2a4db56a4100c7 SOURCES/nss-3.101.0-7.el9_2.src.rpm
d9df5043d0405b3f5ddaacb74db36623dd3969dc SOURCES/32dc5c21-98c7-4355-8603-398c9f5eec49

@ -1,77 +0,0 @@
From cdd5830a51a592098af841da33e3ff74d3d80b47 Mon Sep 17 00:00:00 2001
From: tigro <tigro@msvsphere-os.ru>
Date: Thu, 19 Sep 2024 10:34:02 +0300
Subject: [PATCH] Overt telemetry disabling
---
modules/libpref/init/all.js | 27 ++++++++++++++++++++++-----
1 file changed, 22 insertions(+), 5 deletions(-)
diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js
index 2cbb736212..721e81128d 100644
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -576,15 +576,30 @@ pref("toolkit.sqlitejsm.loglevel", "Error");
pref("toolkit.tabbox.switchByScrolling", false);
// Telemetry settings.
+// MSVSphere disable telemetry and geolocation by default
+pref("toolkit.telemetry.updatePing.enabled", false);
+pref("browser.newtabpage.activity-stream.feeds.telemetry", false);
+pref("browser.newtabpage.activity-stream.telemetry", false);
+pref("browser.ping-centre.telemetry", false);
+pref("toolkit.telemetry.bhrPing.enabled", false);
+pref("toolkit.telemetry.enabled", false);
+pref("toolkit.telemetry.firstShutdownPing.enabled", false);
+pref("toolkit.telemetry.hybridContent.enabled", false);
+pref("toolkit.telemetry.newProfilePing.enabled", false);
+pref("toolkit.telemetry.reportingpolicy.firstRun", false);
+pref("toolkit.telemetry.shutdownPingSender.enabled", false);
+pref("toolkit.telemetry.archive.enabled", false);
+pref("devtools.onboarding.telemetry.logged", false);
+
// Server to submit telemetry pings to.
-pref("toolkit.telemetry.server", "https://incoming.telemetry.mozilla.org");
+pref("toolkit.telemetry.server", "");
// Telemetry server owner. Please change if you set toolkit.telemetry.server to a different server
-pref("toolkit.telemetry.server_owner", "Mozilla");
+pref("toolkit.telemetry.server_owner", "MSVSphere");
// Determines whether full SQL strings are returned when they might contain sensitive info
// i.e. dynamically constructed SQL strings or SQL executed by addons against addon DBs
pref("toolkit.telemetry.debugSlowSql", false);
// Whether to use the unified telemetry behavior, requires a restart.
-pref("toolkit.telemetry.unified", true);
+pref("toolkit.telemetry.unified", false);
// DAP related preferences
pref("toolkit.telemetry.dap_enabled", false);
@@ -3226,6 +3241,8 @@ pref("network.psl.onUpdate_notify", false);
// All the Geolocation preferences are here.
//
+// MSVSphere Geo location sends location data
+pref("geo.enabled", false);
pref("geo.provider.network.url", "https://www.googleapis.com/geolocation/v1/geolocate?key=%GOOGLE_LOCATION_SERVICE_API_KEY%");
// Timeout to wait before sending the location request.
@@ -3857,7 +3874,7 @@ pref("toolkit.aboutProcesses.profileDuration", 5);
pref("toolkit.legacyUserProfileCustomizations.stylesheets", false);
#ifdef MOZ_DATA_REPORTING
- pref("datareporting.policy.dataSubmissionEnabled", true);
+ pref("datareporting.policy.dataSubmissionEnabled", false);
pref("datareporting.policy.dataSubmissionPolicyNotifiedTime", "0");
pref("datareporting.policy.dataSubmissionPolicyAcceptedVersion", 0);
pref("datareporting.policy.dataSubmissionPolicyBypassNotification", false);
@@ -3872,7 +3889,7 @@ pref("toolkit.legacyUserProfileCustomizations.stylesheets", false);
pref("datareporting.healthreport.infoURL", "https://www.mozilla.org/legal/privacy/firefox.html#health-report");
// Health Report is enabled by default on all channels.
- pref("datareporting.healthreport.uploadEnabled", true);
+ pref("datareporting.healthreport.uploadEnabled", false);
#endif
#endif
--
2.46.0

@ -1,53 +0,0 @@
From 70366cd339ac14a32e5b0cdab05a25166ec169a3 Mon Sep 17 00:00:00 2001
From: tigro <tigro@msvsphere-os.ru>
Date: Fri, 1 Nov 2024 14:58:02 +0300
Subject: [PATCH] Return Yandex engine support
---
services/settings/dumps/main/moz.build | 2 ++
.../components/backgroundtasks/BackgroundTask_message.sys.mjs | 2 +-
toolkit/modules/AppConstants.sys.mjs | 2 +-
3 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/services/settings/dumps/main/moz.build b/services/settings/dumps/main/moz.build
index 5b1e881..6a89f0d 100644
--- a/services/settings/dumps/main/moz.build
+++ b/services/settings/dumps/main/moz.build
@@ -62,6 +62,8 @@ if CONFIG["MOZ_BUILD_APP"] == "browser":
"search-config-icons/2e835b0e-9709-d1bb-9725-87f59f3445ca.meta.json",
"search-config-icons/32d26d19-aeb0-5c01-32e8-f8970be9246f",
"search-config-icons/32d26d19-aeb0-5c01-32e8-f8970be9246f.meta.json",
+ "search-config-icons/32dc5c21-98c7-4355-8603-398c9f5eec49",
+ "search-config-icons/32dc5c21-98c7-4355-8603-398c9f5eec49.meta.json",
"search-config-icons/39979158-80cf-4f0c-8bd6-9220eb09e751",
"search-config-icons/39979158-80cf-4f0c-8bd6-9220eb09e751.meta.json",
"search-config-icons/47da97b5-600f-c450-fd15-a52bb2169c11",
diff --git a/toolkit/components/backgroundtasks/BackgroundTask_message.sys.mjs b/toolkit/components/backgroundtasks/BackgroundTask_message.sys.mjs
index aafe4a6..6ef1c45 100644
--- a/toolkit/components/backgroundtasks/BackgroundTask_message.sys.mjs
+++ b/toolkit/components/backgroundtasks/BackgroundTask_message.sys.mjs
@@ -71,7 +71,7 @@ ChromeUtils.defineESModuleGetters(lazy, {
Utils: "resource://services-settings/Utils.sys.mjs",
});
-const SERVER_STAGE = "https://firefox.settings.services.allizom.org/v1";
+const SERVER_STAGE = "https://127.0.0.1";
// Default profile targeting snapshot.
let defaultProfileTargetingSnapshot = {};
diff --git a/toolkit/modules/AppConstants.sys.mjs b/toolkit/modules/AppConstants.sys.mjs
index 4678835..4913eca 100644
--- a/toolkit/modules/AppConstants.sys.mjs
+++ b/toolkit/modules/AppConstants.sys.mjs
@@ -421,7 +421,7 @@ export var AppConstants = Object.freeze({
#ifdef MOZ_THUNDERBIRD
"https://thunderbird-settings.thunderbird.net/v1",
#else
- "https://firefox.settings.services.mozilla.com/v1",
+ "https://127.0.0.1",
#endif
REMOTE_SETTINGS_VERIFY_SIGNATURE:
--
2.47.0

@ -29,5 +29,3 @@ mk_add_options MOZ_SERVICES_HEALTHREPORT=
mk_add_options BUILD_OFFICIAL=1 mk_add_options BUILD_OFFICIAL=1
mk_add_options MOZILLA_OFFICIAL=1 mk_add_options MOZILLA_OFFICIAL=1
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/objdir mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/objdir
# Disable telemetry
unset MOZ_TELEMETRY_REPORTING

@ -14,10 +14,8 @@ pref("browser.shell.checkDefaultBrowser", false);
pref("network.manage-offline-status", true); pref("network.manage-offline-status", true);
pref("extensions.shownSelectionUI", true); pref("extensions.shownSelectionUI", true);
pref("ui.SpellCheckerUnderlineStyle", 1); pref("ui.SpellCheckerUnderlineStyle", 1);
pref("startup.homepage_override_url", "https://msvsphere-os.ru"); pref("startup.homepage_override_url", "%HOMEPAGE%");
pref("startup.homepage_welcome_url", "https://msvsphere-os.ru"); pref("startup.homepage_welcome_url", "%HOMEPAGE%");
pref("browser.bookmarks.file", "/usr/share/bookmarks/default-bookmarks.html");
pref("browser.places.importBookmarksHTML", true);
pref("browser.startup.homepage", "data:text/plain,browser.startup.homepage=file:///%PREFIX%/share/doc/HTML/index.html"); pref("browser.startup.homepage", "data:text/plain,browser.startup.homepage=file:///%PREFIX%/share/doc/HTML/index.html");
pref("media.gmp-gmpopenh264.autoupdate",true); pref("media.gmp-gmpopenh264.autoupdate",true);
pref("media.gmp-gmpopenh264.enabled",false); pref("media.gmp-gmpopenh264.enabled",false);

@ -4,9 +4,7 @@
<id>firefox.desktop</id> <id>firefox.desktop</id>
<metadata_license>CC0-1.0</metadata_license> <metadata_license>CC0-1.0</metadata_license>
<name>Firefox</name> <name>Firefox</name>
<name xml:lang="ru">Веб-браузер Firefox</name>
<summary>Web Browser</summary> <summary>Web Browser</summary>
<summary xml:lang="ru">Веб-браузер</summary>
<summary xml:lang="ca">Navegador web</summary> <summary xml:lang="ca">Navegador web</summary>
<summary xml:lang="cs">Webový prohlížeč</summary> <summary xml:lang="cs">Webový prohlížeč</summary>
<summary xml:lang="es">Navegador web</summary> <summary xml:lang="es">Navegador web</summary>
@ -34,13 +32,6 @@
function will include possible matches from your browsing history, bookmarked function will include possible matches from your browsing history, bookmarked
sites and open tabs. sites and open tabs.
</p> </p>
<p xml:lang="ru">
Объединяя все виды потрясающих возможностей, мы делаем просмотр более удобным для вас.
Быстро переходите на свои любимые сайты даже если вы не помните URL-адреса.
Введите термин в адресную строку (также известную как Awesome Bar), и функция
автозаполнения будет включать возможные совпадения из вашей истории просмотров,
сайтов из закладок и открытых вкладок.
</p>
</description> </description>
<url type="homepage">https://www.mozilla.org</url> <url type="homepage">https://www.mozilla.org</url>
<update_contact>stransky@redhat.com</update_contact> <update_contact>stransky@redhat.com</update_contact>

@ -1,7 +1,6 @@
[Desktop Entry] [Desktop Entry]
Version=1.0 Version=1.0
Name=Firefox Name=Firefox
Name[ru]=Веб-браузер Firefox
GenericName=Web Browser GenericName=Web Browser
GenericName[ca]=Navegador web GenericName[ca]=Navegador web
GenericName[cs]=Webový prohlížeč GenericName[cs]=Webový prohlížeč
@ -21,7 +20,6 @@ GenericName[pl]=Przeglądarka WWW
GenericName[pt]=Navegador Web GenericName[pt]=Navegador Web
GenericName[pt_BR]=Navegador Web GenericName[pt_BR]=Navegador Web
GenericName[sk]=Internetový prehliadač GenericName[sk]=Internetový prehliadač
GenericName[ru]=Веб браузер
GenericName[sv]=Webbläsare GenericName[sv]=Webbläsare
Comment=Browse the Web Comment=Browse the Web
Comment[ca]=Navegueu per el web Comment[ca]=Navegueu per el web
@ -43,7 +41,6 @@ Comment[pl]=Przeglądanie stron WWW
Comment[pt]=Navegue na Internet Comment[pt]=Navegue na Internet
Comment[pt_BR]=Navegue na Internet Comment[pt_BR]=Navegue na Internet
Comment[sk]=Prehliadanie internetu Comment[sk]=Prehliadanie internetu
Comment[ru]=Просматривайте веб-страницы
Comment[sv]=Surfa på webben Comment[sv]=Surfa på webben
Exec=firefox %u Exec=firefox %u
Icon=firefox Icon=firefox
@ -275,5 +272,4 @@ Exec=firefox --private-window %u
Name=Open the Profile Manager Name=Open the Profile Manager
Name[cs]=Správa profilů Name[cs]=Správa profilů
Name[de]=Profilverwaltung öffnen Name[de]=Profilverwaltung öffnen
Name[ru]=Откройте диспетчер профилей
Exec=firefox --ProfileManager Exec=firefox --ProfileManager

@ -1,9 +0,0 @@
{
"policies": {
"Certificates": {
"ImportEnterpriseRoots": true,
"Install": ["rootca_ssl_rsa2022.cer",
"/usr/lib64/firefox/defaults/rootca_ssl_rsa2022.cer"]
}
}
}

@ -1,33 +0,0 @@
-----BEGIN CERTIFICATE-----
MIIFwjCCA6qgAwIBAgICEAAwDQYJKoZIhvcNAQELBQAwcDELMAkGA1UEBhMCUlUx
PzA9BgNVBAoMNlRoZSBNaW5pc3RyeSBvZiBEaWdpdGFsIERldmVsb3BtZW50IGFu
ZCBDb21tdW5pY2F0aW9uczEgMB4GA1UEAwwXUnVzc2lhbiBUcnVzdGVkIFJvb3Qg
Q0EwHhcNMjIwMzAxMjEwNDE1WhcNMzIwMjI3MjEwNDE1WjBwMQswCQYDVQQGEwJS
VTE/MD0GA1UECgw2VGhlIE1pbmlzdHJ5IG9mIERpZ2l0YWwgRGV2ZWxvcG1lbnQg
YW5kIENvbW11bmljYXRpb25zMSAwHgYDVQQDDBdSdXNzaWFuIFRydXN0ZWQgUm9v
dCBDQTCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAMfFOZ8pUAL3+r2n
qqE0Zp52selXsKGFYoG0GM5bwz1bSFtCt+AZQMhkWQheI3poZAToYJu69pHLKS6Q
XBiwBC1cvzYmUYKMYZC7jE5YhEU2bSL0mX7NaMxMDmH2/NwuOVRj8OImVa5s1F4U
zn4Kv3PFlDBjjSjXKVY9kmjUBsXQrIHeaqmUIsPIlNWUnimXS0I0abExqkbdrXbX
YwCOXhOO2pDUx3ckmJlCMUGacUTnylyQW2VsJIyIGA8V0xzdaeUXg0VZ6ZmNUr5Y
Ber/EAOLPb8NYpsAhJe2mXjMB/J9HNsoFMBFJ0lLOT/+dQvjbdRZoOT8eqJpWnVD
U+QL/qEZnz57N88OWM3rabJkRNdU/Z7x5SFIM9FrqtN8xewsiBWBI0K6XFuOBOTD
4V08o4TzJ8+Ccq5XlCUW2L48pZNCYuBDfBh7FxkB7qDgGDiaftEkZZfApRg2E+M9
G8wkNKTPLDc4wH0FDTijhgxR3Y4PiS1HL2Zhw7bD3CbslmEGgfnnZojNkJtcLeBH
BLa52/dSwNU4WWLubaYSiAmA9IUMX1/RpfpxOxd4Ykmhz97oFbUaDJFipIggx5sX
ePAlkTdWnv+RWBxlJwMQ25oEHmRguNYf4Zr/Rxr9cS93Y+mdXIZaBEE0KS2iLRqa
OiWBki9IMQU4phqPOBAaG7A+eP8PAgMBAAGjZjBkMB0GA1UdDgQWBBTh0YHlzlpf
BKrS6badZrHF+qwshzAfBgNVHSMEGDAWgBTh0YHlzlpfBKrS6badZrHF+qwshzAS
BgNVHRMBAf8ECDAGAQH/AgEEMA4GA1UdDwEB/wQEAwIBhjANBgkqhkiG9w0BAQsF
AAOCAgEAALIY1wkilt/urfEVM5vKzr6utOeDWCUczmWX/RX4ljpRdgF+5fAIS4vH
tmXkqpSCOVeWUrJV9QvZn6L227ZwuE15cWi8DCDal3Ue90WgAJJZMfTshN4OI8cq
W9E4EG9wglbEtMnObHlms8F3CHmrw3k6KmUkWGoa+/ENmcVl68u/cMRl1JbW2bM+
/3A+SAg2c6iPDlehczKx2oa95QW0SkPPWGuNA/CE8CpyANIhu9XFrj3RQ3EqeRcS
AQQod1RNuHpfETLU/A2gMmvn/w/sx7TB3W5BPs6rprOA37tutPq9u6FTZOcG1Oqj
C/B7yTqgI7rbyvox7DEXoX7rIiEqyNNUguTk/u3SZ4VXE2kmxdmSh3TQvybfbnXV
4JbCZVaqiZraqc7oZMnRoWrXRG3ztbnbes/9qhRGI7PqXqeKJBztxRTEVj8ONs1d
WN5szTwaPIvhkhO3CO5ErU2rVdUr89wKpNXbBODFKRtgxUT70YpmJ46VVaqdAhOZ
D9EUUn4YaeLaS8AjSF/h7UkjOibNc4qVDiPP+rkehFWM66PVnP1Msh93tc+taIfC
EYVMxjh8zNbFuoc7fzvvrFILLe7ifvEIUqSVIC/AzplM/Jxw7buXFeGP1qVCBEHq
391d/9RAfaZ12zkwFsl+IKwE/OZxW8AHa9i1p4GO0YSNuczzEm4=
-----END CERTIFICATE-----

@ -1,171 +0,0 @@
import datetime
import json
import os
import shutil
import sys
YANDEX_SEARCH_ENGINE_SECTION = json.loads('''
{
"base": {
"aliases": [
"yandex"
],
"classification": "general",
"name": "Yandex",
"partnerCode": "",
"urls": {
"search": {
"base": "https://yandex.ru/search/",
"params": [
{
"name": "clid",
"value": "{partnerCode}"
}
],
"searchTermParamName": "text"
},
"suggestions": {
"base": "https://suggest.yandex.ru/suggest-ff.cgi",
"params": [
{
"name": "clid",
"value": "{partnerCode}"
}
],
"searchTermParamName": "part"
}
}
},
"id": "",
"identifier": "yandex",
"last_modified": 0,
"recordType": "engine",
"schema": 0,
"variants": [
{
"environment": {
"allRegionsAndLocales": true
}
}
]
}
''')
YANDEX_ICON_SECTION = json.loads('''
{
"schema": 0,
"imageSize": 32,
"attachment": {
"hash": "6bb91f1d74389b18bce6e71772e4c5573648c1a4823338193f700afdf8216be5",
"size": 5750,
"filename": "yandex-32-firefox.png",
"location": "main-workspace/search-config-icons/1f0aef96-9d62-4519-906d-379b710a80e8.ico",
"mimetype": "image/x-icon"
},
"engineIdentifiers": [
"yandex"
],
"filter_expression": "env.appinfo.ID == \\"{ec8030f7-c20a-464f-9b0e-13a3a9e97384}\\"",
"id": "",
"last_modified": 0
}
''')
YANDEX_SEARCH_ENGINE_ID = "403a24ac-3e95-4581-88e4-a479eb4ce558"
YANDEX_ICON_ID = "32dc5c21-98c7-4355-8603-398c9f5eec49"
# ROSA Linux
PARTNER_CLID = "2800424"
SEARCH_CONFIG_RELATIVE_PATH = "services/settings/dumps/main/search-config-v2.json"
SEARCH_CONFIG_ICONS_RELATIVE_PATH = "services/settings/dumps/main/search-config-icons.json"
YANDEX_ICON_META_RELATIVE_DIR = "services/settings/dumps/main/search-config-icons/"
search_config_path = SEARCH_CONFIG_RELATIVE_PATH
if not os.path.isfile(search_config_path):
print(search_config_path, "not found")
exit(1)
search_config_icons_path = SEARCH_CONFIG_ICONS_RELATIVE_PATH
if not os.path.isfile(search_config_icons_path):
print(search_config_icons_path, "not found")
exit(2)
yandex_icon_meta_path = os.path.join(YANDEX_ICON_META_RELATIVE_DIR, YANDEX_ICON_ID + ".meta.json")
YANDEX_SEARCH_ENGINE_SECTION["id"] = YANDEX_SEARCH_ENGINE_ID
YANDEX_SEARCH_ENGINE_SECTION["base"]["partnerCode"] = PARTNER_CLID
timestamp = int( datetime.datetime.now().timestamp() ) * 1000
YANDEX_SEARCH_ENGINE_SECTION["last_modified"] = timestamp
YANDEX_SEARCH_ENGINE_SECTION["schema"] = timestamp
YANDEX_ICON_SECTION["id"] = YANDEX_ICON_ID
YANDEX_ICON_SECTION["last_modified"] = timestamp
YANDEX_ICON_SECTION["schema"] = timestamp
search_config = None
with open(search_config_path) as f:
search_config = json.load(f)
f.close()
yandex_search_engine_inserted = False
for i, engine in enumerate(search_config["data"]):
if "globalDefault" in engine:
engine["globalDefault"] = "yandex"
engine["last_modified"] = timestamp
engine["schema"] = timestamp
elif "orders" in engine:
for order in engine["orders"]:
if "order" in order:
yandex_inserted = False
for s in order["order"]:
if s == "yandex":
yandex_inserted = True
if not yandex_inserted:
order["order"] = ["yandex"] + order["order"]
engine["last_modified"] = timestamp
engine["schema"] = timestamp
elif "id" in engine and engine["id"] == YANDEX_SEARCH_ENGINE_ID:
yandex_search_engine_inserted = True
search_config["data"][i] = YANDEX_SEARCH_ENGINE_SECTION
search_config["timestamp"] = timestamp
if not yandex_search_engine_inserted:
search_config["data"] = [YANDEX_SEARCH_ENGINE_SECTION] + search_config["data"]
with open(search_config_path, 'w', encoding='utf8') as f:
json.dump(search_config, f, ensure_ascii=False, indent=2)
f.close()
search_config_icons = None
with open(search_config_icons_path) as f:
search_config_icons = json.load(f)
f.close()
yandex_icon_inserted = False
for i, icon in enumerate(search_config_icons["data"]):
if "id" in icon and icon["id"] == YANDEX_ICON_ID:
yandex_icon_inserted = True
search_config_icons["data"][i] = YANDEX_ICON_SECTION
search_config_icons["timestamp"] = timestamp
if not yandex_icon_inserted:
search_config_icons["data"] = [YANDEX_ICON_SECTION] + search_config_icons["data"]
with open(search_config_icons_path, 'w', encoding='utf8') as f:
json.dump(search_config_icons, f, ensure_ascii=False, indent=2)
f.close()
with open(yandex_icon_meta_path, 'w', encoding='utf8') as f:
json.dump(YANDEX_ICON_SECTION, f, ensure_ascii=False)
f.close()
YANDEX_ICON_RELATIVE_DIR = "services/settings/dumps/main/search-config-icons/"
src_icon_path = os.path.join(os.path.dirname(os.path.realpath(__file__)), YANDEX_ICON_ID)
dst_icon_path = os.path.join(YANDEX_ICON_RELATIVE_DIR, YANDEX_ICON_ID)
shutil.copy(src_icon_path, dst_icon_path)
exit(0)

@ -138,7 +138,7 @@ end}
Summary: Mozilla Firefox Web browser Summary: Mozilla Firefox Web browser
Name: firefox Name: firefox
Version: 128.4.0 Version: 128.4.0
Release: 1%{?dist}.inferit Release: 1%{?dist}
URL: https://www.mozilla.org/firefox/ URL: https://www.mozilla.org/firefox/
License: MPLv1.1 or GPLv2+ or LGPLv2+ License: MPLv1.1 or GPLv2+ or LGPLv2+
@ -196,15 +196,6 @@ Source402: nspr-4.35.0-1.el8_1.src.rpm
Source403: nss-3.101.0-7.el8_2.src.rpm Source403: nss-3.101.0-7.el8_2.src.rpm
Source404: nss-3.101.0-7.el9_2.src.rpm Source404: nss-3.101.0-7.el9_2.src.rpm
# MSVSphere added Russian Trusted Root CA
Source500: rootca_ssl_rsa2022.cer
Source501: policies.json
# apply script from ROSA to set Yandex provides
# as default search provider for Firefox
# https://abf.rosalinux.ru/import/firefox/raw/rosa2023.1/use_yandex_search_as_default.py
Source502: 32dc5c21-98c7-4355-8603-398c9f5eec49
Source503: use_yandex_search_as_default.py
# ---- RHEL specific patches --- # ---- RHEL specific patches ---
# -- Downstream only -- # -- Downstream only --
Patch01: build-disable-elfhack.patch Patch01: build-disable-elfhack.patch
@ -258,10 +249,6 @@ Patch202: D224588.1728128098.diff
# ---- Security patches ---- # ---- Security patches ----
# MSVSphere
Patch10000: 0001-Overt-telemetry-disabling.patch
Patch10001: 0001-Return-Yandex-engine-support.patch
# BUILD REQURES/REQUIRES # BUILD REQURES/REQUIRES
%if %{?system_nss} && !0%{?bundle_nss} %if %{?system_nss} && !0%{?bundle_nss}
BuildRequires: pkgconfig(nspr) >= %{nspr_version} BuildRequires: pkgconfig(nspr) >= %{nspr_version}
@ -1196,11 +1183,8 @@ echo "--------------------------------------------"
%patch -P202 -p1 -b .D224588 %patch -P202 -p1 -b .D224588
%endif %endif
# ---- Security patches ----
# MSVSphere # ---- Security patches ----
%patch -P10000 -p1 -b .0001-Overt-telemetry-disabling
%patch -P10001 -p1 -b .0001-Return-Yandex-engine-support
%{__rm} -f .mozconfig %{__rm} -f .mozconfig
%{__cp} %{SOURCE10} .mozconfig %{__cp} %{SOURCE10} .mozconfig
@ -1288,10 +1272,6 @@ chmod a-x third_party/rust/ash/src/extensions/ext/*.rs
chmod a-x third_party/rust/ash/src/extensions/khr/*.rs chmod a-x third_party/rust/ash/src/extensions/khr/*.rs
chmod a-x third_party/rust/ash/src/extensions/nv/*.rs chmod a-x third_party/rust/ash/src/extensions/nv/*.rs
# Return Yandex engine support
cp %{SOURCE502} .
python3 %{SOURCE503}
#--------------------------------------------------------------------- #---------------------------------------------------------------------
%build %build
@ -1598,11 +1578,10 @@ EOF
%endif %endif
# set up our default bookmarks # set up our default bookmarks
# INF-613 Bookmarks import from default-bookmarks.html from system-bookmarks %if !0%{?flatpak}
#%%if !0%{?flatpak} %global default_bookmarks_file /usr/share/bookmarks/default-bookmarks.html
#%%global default_bookmarks_file /usr/share/bookmarks/default-bookmarks.html %{__cp} -p %{default_bookmarks_file} objdir/dist/bin/browser/chrome/browser/content/browser/default-bookmarks.html
#%%{__cp} -p %{default_bookmarks_file} objdir/dist/bin/browser/chrome/browser/content/browser/default-bookmarks.html %endif
#%%endif
# Make sure locale works for langpacks # Make sure locale works for langpacks
%{__cat} > objdir/dist/bin/browser/defaults/preferences/firefox-l10n.js << EOF %{__cat} > objdir/dist/bin/browser/defaults/preferences/firefox-l10n.js << EOF
@ -1732,11 +1711,6 @@ sed -i -e 's|%HOMEPAGE%|%{homepage}|' %{buildroot}%{mozappdir}/defaults/preferen
# System config dir # System config dir
%{__mkdir_p} %{buildroot}/%{_sysconfdir}/%{name}/pref %{__mkdir_p} %{buildroot}/%{_sysconfdir}/%{name}/pref
# MSVSphere added Russian Trusted Root CA
%{__mkdir_p} %{buildroot}/%{_sysconfdir}/%{name}/policies
%{__cp} %{SOURCE500} %{buildroot}%{mozappdir}/defaults
%{__cp} %{SOURCE501} %{buildroot}/%{_sysconfdir}/%{name}/policies
# System extensions # System extensions
%global firefox_app_id \{ec8030f7-c20a-464f-9b0e-13a3a9e97384\} %global firefox_app_id \{ec8030f7-c20a-464f-9b0e-13a3a9e97384\}
%{__mkdir_p} %{buildroot}%{_datadir}/mozilla/extensions/%{firefox_app_id} %{__mkdir_p} %{buildroot}%{_datadir}/mozilla/extensions/%{firefox_app_id}
@ -1833,7 +1807,6 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%doc %{_mandir}/man1/* %doc %{_mandir}/man1/*
%dir %{_sysconfdir}/%{name} %dir %{_sysconfdir}/%{name}
%dir %{_sysconfdir}/%{name}/* %dir %{_sysconfdir}/%{name}/*
%{_sysconfdir}/%{name}/policies
%dir %{_datadir}/mozilla/extensions/* %dir %{_datadir}/mozilla/extensions/*
%dir %{_libdir}/mozilla/extensions/* %dir %{_libdir}/mozilla/extensions/*
%{_datadir}/applications/%{name}.desktop %{_datadir}/applications/%{name}.desktop
@ -1842,7 +1815,6 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%dir %{mozappdir} %dir %{mozappdir}
%license %{mozappdir}/LICENSE %license %{mozappdir}/LICENSE
%{mozappdir}/browser/chrome %{mozappdir}/browser/chrome
%{mozappdir}/defaults/*.cer
%{mozappdir}/defaults/preferences/* %{mozappdir}/defaults/preferences/*
%{mozappdir}/browser/defaults/preferences %{mozappdir}/browser/defaults/preferences
%{mozappdir}/browser/features/*.xpi %{mozappdir}/browser/features/*.xpi
@ -1911,31 +1883,6 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
* Tue Aug 27 2024 Jan Horak <jhorak@redhat.com> - 128.2.0-1 * Tue Aug 27 2024 Jan Horak <jhorak@redhat.com> - 128.2.0-1
- Update to 128.2.0 - Update to 128.2.0
* Thu Aug 01 2024 Eike Rathke <erack@redhat.com> - 115.14.0-2
- Update to 115.14.0 build2
* Tue Jul 30 2024 Eike Rathke <erack@redhat.com> - 115.14.0-1
- Update to 115.14.0 build1
* Mon Jul 08 2024 Tomas Popela <tpopela@redhat.com> - 115.13.0-3
- Update to 115.13.0 build3
* Tue Jul 02 2024 Eike Rathke <erack@redhat.com> - 115.13.0-2
- Update to 115.13.0 build2
* Mon Jul 01 2024 Eike Rathke <erack@redhat.com> - 115.13.0-1
- Update to 115.13.0 build1
* Tue Jun 18 2024 Sergey Cherevko <s.cherevko@msvsphere-os.ru> - 115.12.0-1.inferit
- Update to 115.12.0-1
- Rebuilt for MSVSphere 8.10
* Tue Jun 04 2024 Eike Rathke <erack@redhat.com> - 115.12.0-1
- Update to 115.12.0 build1
* Tue May 07 2024 Eike Rathke <erack@redhat.com> - 115.11.0-1
- Update to 115.11.0 build1
* Tue Apr 09 2024 Eike Rathke <erack@redhat.com> - 115.10.0-1 * Tue Apr 09 2024 Eike Rathke <erack@redhat.com> - 115.10.0-1
- Update to 115.10.0 build1 - Update to 115.10.0 build1
@ -1952,22 +1899,12 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
- Update to 115.9.0 build1 - Update to 115.9.0 build1
- Fix expat CVE-2023-52425 - Fix expat CVE-2023-52425
* Mon Mar 11 2024 Sergey Cherevko <s.cherevko@msvsphere-os.ru> - 115.8.0-1.inferit
- Update to 115.8.0-1
* Tue Feb 13 2024 Eike Rathke <erack@redhat.com> - 115.8.0-1 * Tue Feb 13 2024 Eike Rathke <erack@redhat.com> - 115.8.0-1
- Update to 115.8.0 build1 - Update to 115.8.0 build1
* Tue Jan 16 2024 Eike Rathke <erack@redhat.com> - 115.7.0-1 * Tue Jan 16 2024 Eike Rathke <erack@redhat.com> - 115.7.0-1
- Update to 115.7.0 build1 - Update to 115.7.0 build1
* Thu Dec 14 2023 Sergey Cherevko <s.cherevko@msvsphere-os.ru> - 115.5.0-1.inferit
- Update to 115.5.0-1
* Thu Dec 14 2023 Sergey Cherevko <s.cherevko@msvsphere-os.ru> - 102.9.0-3.inferit.3
- Drop distribution info from About dialog (INF-733) (Arkady L. Shane <tigro@msvsphere-os.ru>)
- fixup! Disable telemetry and geolocation by default
* Tue Dec 12 2023 Eike Rathke <erack@redhat.com> - 115.6.0-1 * Tue Dec 12 2023 Eike Rathke <erack@redhat.com> - 115.6.0-1
- Update to 115.6.0 build1 - Update to 115.6.0 build1
@ -1991,9 +1928,6 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
* Wed Aug 2 2023 Jan Horak <jhorak@redhat.com> - 115.1.0-1 * Wed Aug 2 2023 Jan Horak <jhorak@redhat.com> - 115.1.0-1
- Update to 115.1.0 ESR - Update to 115.1.0 ESR
* Tue Jul 25 2023 MSVSphere Packaging Team <packager@msvsphere.ru> - 115.0.2-1
- Rebuilt for MSVSphere 8.8
* Mon Jul 17 2023 Jan Horak <jhorak@redhat.com> - 115.0.2-1 * Mon Jul 17 2023 Jan Horak <jhorak@redhat.com> - 115.0.2-1
- Update to 115.0.2 ESR - Update to 115.0.2 ESR

Loading…
Cancel
Save