forked from pool/MozillaFirefox
70fb53e62e
* Firefox 84 is the final release to support Adobe Flash * WebRender is enabled by default when run on GNOME-based X11 Linux desktops MFSA 2020-54 (bsc#1180039)) * CVE-2020-16042 (bmo#1679003) Operations on a BigInt could have caused uninitialized memory to be exposed * CVE-2020-26971 (bmo#1663466) Heap buffer overflow in WebGL * CVE-2020-26972 (bmo#1671382) Use-After-Free in WebGL * CVE-2020-26973 (bmo#1680084) CSS Sanitizer performed incorrect sanitization * CVE-2020-26974 (bmo#1681022) Incorrect cast of StyleGenericFlexBasis resulted in a heap use-after-free * CVE-2020-26975 (bmo#1661071) Malicious applications on Android could have induced Firefox for Android into sending arbitrary attacker-specified headers * CVE-2020-26976 (bmo#1674343) HTTPS pages could have been intercepted by a registered service worker when they should not have been * CVE-2020-26977 (bmo#1676311) URL spoofing via unresponsive port in Firefox for Android * CVE-2020-26978 (bmo#1677047) Internal network hosts could have been probed by a malicious webpage * CVE-2020-26979 (bmo#1641287, bmo#1673299) When entering an address in the address or search bars, a OBS-URL: https://build.opensuse.org/package/show/mozilla:Factory/MozillaFirefox?expand=0&rev=880
50 lines
1.4 KiB
Diff
50 lines
1.4 KiB
Diff
Author: Bernhard M. Wiedemann <bwiedemann suse de>
|
|
Date: 2019-07-22
|
|
|
|
Allow to override build date with SOURCE_DATE_EPOCH
|
|
in order to make builds reproducible.
|
|
See https://reproducible-builds.org/ for why this is good
|
|
and https://reproducible-builds.org/specs/source-date-epoch/
|
|
for the definition of this variable.
|
|
|
|
diff --git a/python/mozbuild/mozbuild/action/langpack_manifest.py b/python/mozbuild/mozbuild/action/langpack_manifest.py
|
|
--- a/python/mozbuild/mozbuild/action/langpack_manifest.py
|
|
+++ b/python/mozbuild/mozbuild/action/langpack_manifest.py
|
|
@@ -11,16 +11,17 @@
|
|
from __future__ import absolute_import, print_function, unicode_literals
|
|
|
|
import argparse
|
|
import sys
|
|
import os
|
|
import json
|
|
import io
|
|
import datetime
|
|
+import time
|
|
import requests
|
|
import mozversioncontrol
|
|
import mozpack.path as mozpath
|
|
from mozpack.chrome.manifest import (
|
|
Manifest,
|
|
ManifestLocale,
|
|
parse_manifest,
|
|
)
|
|
@@ -100,17 +101,17 @@ def get_dt_from_hg(path):
|
|
# ts == "20170914215617"
|
|
###
|
|
def get_timestamp_for_locale(path):
|
|
dt = None
|
|
if os.path.isdir(os.path.join(path, ".hg")):
|
|
dt = get_dt_from_hg(path)
|
|
|
|
if dt is None:
|
|
- dt = datetime.datetime.utcnow()
|
|
+ dt = datetime.datetime.utcfromtimestamp(int(os.environ.get('SOURCE_DATE_EPOCH', time.time())))
|
|
|
|
dt = dt.replace(microsecond=0)
|
|
return dt.strftime("%Y%m%d%H%M%S")
|
|
|
|
|
|
###
|
|
# Parses multiple defines files into a single key-value pair object.
|
|
#
|