Граф коммитов

181 Коммитов

Автор SHA1 Сообщение Дата
Rob Lemley c697a90088 Bug 1845535 - Update fluent.migratetb to version 0.12.0. r=dandarnell
Aligns with fluent.migrate 0.12.0, which mozilla-central updated to in
bug 1812539.

Depends on D184751

Differential Revision: https://phabricator.services.mozilla.com/D184752

--HG--
extra : moz-landing-system : lando
2023-07-27 21:57:24 +00:00
Rob Lemley 3729eeb247 Bug 1845535 - Add mach vendor file for fluent.migratetb. r=dandarnell
Differential Revision: https://phabricator.services.mozilla.com/D184751

--HG--
extra : moz-landing-system : lando
2023-07-27 21:57:24 +00:00
Rob Lemley 1e09a00d26 Bug 1843535 - Follow-up: Update README.rnp and remove old update script. r=dandarnell
Differential Revision: https://phabricator.services.mozilla.com/D184156

Depends on D184153

--HG--
extra : histedit_source : 887534d1da59cf2f725febfb7636689b64bcea10
2023-07-20 19:04:58 +00:00
Rob Lemley 30dbbea9fa Bug 1843535 - Follow-up: Add applied patch to RNP vendoring manifest. r=dandarnell
Also bump RNP version to indicate the source is patched.

Differential Revision: https://phabricator.services.mozilla.com/D184153

--HG--
extra : histedit_source : 9d2011f5d5ee04bab48d6c04234b8f0ce0f6ce29
2023-07-20 19:04:06 +00:00
Rob Lemley ec8255207e Bug 1843535 - Apply upstream patch to fix building librnp with gcc-13. r=kaie
Cherry pick bd8f7d2510
to fix building with gcc-13.

Differential Revision: https://phabricator.services.mozilla.com/D183791

--HG--
extra : moz-landing-system : lando
2023-07-20 17:42:31 +00:00
Rob Lemley 4dad432458 Bug 1830858 - Update build code for RNP 0.17.0. r=kaie
Differential Revision: https://phabricator.services.mozilla.com/D177338

--HG--
extra : amend_source : 0c7f602670327f74e153da84df2637c7435d32e0
2023-06-05 20:10:44 +00:00
Rob Lemley 2f12fa460b Bug 1830858 - Run mach vendor to update RNP to v0.17.0. r=kaie
Does not include build code changes.

Differential Revision: https://phabricator.services.mozilla.com/D177337
2023-06-05 20:10:39 +00:00
Rob Lemley 9d9b099b50 Bug 1830858 - Update RNP moz.yaml for v0.17.0. r=kaie
Depends on D177334 from Bug 1831682 in mozilla-central.

Differential Revision: https://phabricator.services.mozilla.com/D177575
2023-06-05 20:10:27 +00:00
Rob Lemley a807dfb0a8 Bug 1830992 - Add moz.yaml file to vendor RNP source code. r=kaie
Differential Revision: https://phabricator.services.mozilla.com/D177317

--HG--
extra : amend_source : 5e1322169c68b1b2a392ae610e463b93cd31856c
2023-05-18 14:08:17 +10:00
Rob Lemley 8a02b4523a Bug 1830992 - Update rnp build code to process version.h at build time. r=kaie
Instead of generating a version.h file for librnp in advance, generate it
at build time. This will result in RNP_VERSION_FULL having less information
than previously - no timestamp and no git revision hash. Since Thunderbird
generally sticks to release versions now that RNP is stable, this should not
be a big problem.

If MZLA does apply patches to RNP, version.txt should be updated accordingly
so that the patch is reflected in version strings.

Differential Revision: https://phabricator.services.mozilla.com/D177336

--HG--
rename : python/rocbuild/process_cmake_define_files.py => python/thirdroc/thirdroc/cmake_define_files.py
extra : amend_source : b07788d9443bd6c4648336867b5135eef37de477
2023-05-18 14:07:50 +10:00
Kai Engert c684c16f44 Bug 1828465 - Update to RNP version v0.16.3 . r=rjl
Differential Revision: https://phabricator.services.mozilla.com/D176901

--HG--
extra : rebase_source : 3035147d06e5b29483f684f948708b120a82e446
2023-05-02 11:53:45 +02:00
Rob Lemley 04d6698b53 Bug 1825583 - Stop looking for clang_rt.builtins at configure. r=dandarnell
This change only affects Windows builds.
Clang's runtime libraries' path is added during configure thanks to bug 1718171,
so it's no longer necessary to look for it in openpgp.configure.

Differential Revision: https://phabricator.services.mozilla.com/D174187

--HG--
extra : moz-landing-system : lando
2023-04-05 18:26:54 +00:00
Rob Lemley 8973a540de Bug 1824978 - Update RNP version to reflect patched version. r=kaie
--HG--
extra : rebase_source : c88dfa2834fff7ca0ba7004d531e4ba5b25c009d
2023-03-30 08:56:47 -04:00
Kai Engert 75b84aaa7c Bug 1824978 - Apply upstream RNP patch to add more checks during PKESK/SKESK parsing. r=o.nickolay
Differential Revision: https://phabricator.services.mozilla.com/D174067

--HG--
extra : rebase_source : 82c42fc3bcdd11484ba684ef240248b86187c0f5
2023-03-30 11:21:40 +02:00
Rob Lemley 48a503ee61 Bug 1825557 - Silence deprecated-non-prototype warnings from zlib. r=dandarnell
Differential Revision: https://phabricator.services.mozilla.com/D174119

--HG--
extra : moz-landing-system : lando
2023-04-04 04:38:56 +00:00
Rob Lemley f7037c98e3 Bug 1816956 - Vendor tb-fluent-migrate into comm/third_party/python. r=dandarnell
This is the forked fluent.migrate that is used to run Thunderbird Fluent
string migrations.

Differential Revision: https://phabricator.services.mozilla.com/D172511

--HG--
extra : amend_source : f92e3e68430a789e025b2de05cdf53368cfc5bfe
2023-03-25 20:17:12 +11:00
Rob Lemley ffca7da7ce Backed out 2 changesets (bug 1816956) - incorrect file content. r=backout a=rjl DONTBUILD
Backed out changeset 4450f0adaf4f (bug 1816956)
Backed out changeset 6623231564b7 (bug 1816956)
2023-03-21 18:27:32 -04:00
Rob Lemley e835aafeac Bug 1816956 - Vendor tb-fluent-migrate into comm/third_party/python. r=dandarnell
This is the forked fluent.migrate that is used to run Thunderbird Fluent
string migrations.

Differential Revision: https://phabricator.services.mozilla.com/D172511

--HG--
extra : moz-landing-system : lando
2023-03-21 21:54:56 +00:00
Geoff Lankow a2be10064e Bug 1819512 - Port bug 1807907: Cache compiler invocation results during configure. rs=bustage-fix 2023-03-01 17:23:29 +13:00
Rob Lemley d7fdc4d6bc Bug 1816266 - Remove use of $(moztopsrcdir) and friends from Makefiles. r=dandarnell
$moztopsrcdir is always the same as $topsrcdir. This is a leftover from when
it was posssible to build Thunderbird with comm-central as a parent of
mozilla-central in the local filesystem. It's just confusing to have now.

Differential Revision: https://phabricator.services.mozilla.com/D169564

--HG--
extra : moz-landing-system : lando
2023-02-15 19:52:11 +00:00
Ping Chen 936387d0f8 Bug 1813034 - Port bug 1811633: Use our own asn1js bundle without depending on m-c. r=freaktechnik
Differential Revision: https://phabricator.services.mozilla.com/D168737

--HG--
extra : amend_source : 42ed69fa269b522a338ad3f936d697e5f380dbf4
2023-02-09 21:39:19 +11:00
Rob Lemley 5f85a03d25 Bug 1813034 - mach vendor asn1js. r=mkmelin
Executed: ../mach vendor -r v3.0.5 -f third_party/asn1js/moz.yaml

Differential Revision: https://phabricator.services.mozilla.com/D168736

--HG--
extra : amend_source : 8b73b92f1e2a13c6212c5fb3000874a8dd366f56
2023-02-09 21:38:36 +11:00
Rob Lemley 9ee43ceb82 Bug 1813034 - Add mach vendor config for asn1js. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D168735

--HG--
extra : amend_source : e22f86ad9f1bc987f6efe9c0949a90180ea65a28
2023-02-09 21:38:07 +11:00
Rob Lemley d3b64c3e4e Backed out changeset ca8189b2fb42 (Bug 1813034). r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D169003

--HG--
extra : amend_source : efa11abd0dbda85fa48faaa572d3e04f0e441a45
2023-02-09 21:37:34 +11:00
Ping Chen 43bda0c863 Bug 1813034 - Port bug 1811633: Use our own asn1js bundle without depending on m-c. r=freaktechnik
Differential Revision: https://phabricator.services.mozilla.com/D168354

--HG--
extra : rebase_source : 06352c9e48ff4594cd7b9accd50122429ff51656
2023-01-31 23:04:24 +00:00
Rob Lemley 0a3539e523 Bug 1803829 - Reformat Python files to standard line length of 99 via black. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D164734

--HG--
extra : moz-landing-system : lando
2022-12-19 21:10:10 +00:00
Magnus Melin 0c249af664 Bug 1805215 - follow-up, fix linting. rs=black-lint DONTBUILD
--HG--
extra : amend_source : 63ce640d2c723baaa86232fbc6e063d6ba5f879e
2022-12-13 22:06:27 +11:00
Jan Horak 3baa5f036b Bug 1805215 - Require openssl >= 1.1.1e. r=kaie
The EVP_PKEY_CTX_set_dsa_paramgen_q_bits is declared only in >= 1.1.1e.

Differential Revision: https://phabricator.services.mozilla.com/D164468

--HG--
extra : amend_source : d81054713a6087580ce0895db54d3929a4cb9af2
2022-12-13 21:31:16 +11:00
Alessandro Castellani 5d6fd3036f Bug 1802379 - Update target_is_linux with target_has_linux_kernel in config files. r=darktrojan
Differential Revision: https://phabricator.services.mozilla.com/D163060

--HG--
extra : moz-landing-system : lando
2022-11-24 23:47:46 +00:00
Rob Lemley 4096f34362 Bug 1799489 - Fix shellcheck errors in update_rnp.sh. r=dandarnell
Differential Revision: https://phabricator.services.mozilla.com/D161610

--HG--
extra : moz-landing-system : lando
2022-11-16 22:29:04 +00:00
Magnus Melin 43ce368fc8 Bug 1799123 - follow-up to fix linting. rs=black-lint DONTBUILD
--HG--
extra : amend_source : 392e2d67c7f369c93a9c34a474ea11e640257e90
2022-11-16 13:56:22 +11:00
Rob Lemley 438031f158 Bug 1799123 - Build and OpenSSL notes related to librnp. r=kaie
There are a number of configure options that affect how librnp is
built. Documenting them will make things easier for anyone interested
in using them.

Differential Revision: https://phabricator.services.mozilla.com/D161380

--HG--
extra : moz-landing-system : lando
2022-11-15 19:23:42 +00:00
Rob Lemley e62413380e Bug 1799123 - Only allow librnp OpenSSL backend on Linux targets. r=kaie
Also a fix for OpenSSL 1.1.1 failing to configure.

Differential Revision: https://phabricator.services.mozilla.com/D161895

--HG--
extra : moz-landing-system : lando
2022-11-15 19:23:42 +00:00
Rob Lemley facff328c1 Bug 1799123 - Add --with-librnp-backend configure option. r=kaie,dandarnell
Based on D161272, contributed by Jan Horak of Red Hat.

Use --with-librnp-backend=openssl to build librnp using OpenSSL backend.
To use OpenSSL from a prefix not provided by PkgConfig, use
--with-openssl=/path/to/prefix.

OpenSSL 1.1.1 and OpenSSL 3.0.x are supported.

Differential Revision: https://phabricator.services.mozilla.com/D161379

--HG--
extra : moz-landing-system : lando
2022-11-15 19:23:41 +00:00
Rob Lemley 73f43e1498 Bug 1799123 - Update README.rnp to match current state. r=kaie
Removed information about patches and updated removed/changed files.

Differential Revision: https://phabricator.services.mozilla.com/D161378

--HG--
extra : moz-landing-system : lando
2022-11-15 19:23:41 +00:00
Rob Lemley f8f90c0d22 Bug 1795709 - Update zlib source to v1.2.13. r=mkmelin
Result of running:
../mach vendor -r v1.2.13 third_party/zlib/moz.yaml

Depends on D159550

Differential Revision: https://phabricator.services.mozilla.com/D159551

--HG--
extra : moz-landing-system : lando
2022-10-18 21:46:30 +00:00
Rob Lemley 949abe94ed Bug 1795709 - Use mach vendor to update zlib sources. r=mkmelin
moz.yaml drives mach vendor, it requires a LICENSE file (grabbed from zlib
v1.2.13). Updated README.zlib so mach vendor can update it. Removing zlib.def
as it's not needed.

Differential Revision: https://phabricator.services.mozilla.com/D159550

--HG--
extra : moz-landing-system : lando
2022-10-18 21:46:30 +00:00
Rob Lemley 0507031547 Bug 1790662 - Update librnp compiler include path for new location of json-c's json.h r=dandarnell
json.h from json-c is now a preprocessed file and is found in the object directory
rather than the source directory.

Depends on D157961

Differential Revision: https://phabricator.services.mozilla.com/D157962

--HG--
extra : histedit_source : a7907707c38f93302e05d9410c10872c4d22fbe9
2022-09-13 17:45:41 +00:00
Rob Lemley 4123c2f991 Bug 1790662 - Update json-c vendored source to 0.16. r=dandarnell
Differential Revision: https://phabricator.services.mozilla.com/D157961

--HG--
extra : histedit_source : 32e88f0186458b782cb75d7f1e971841b7b6632f
2022-09-13 17:41:15 +00:00
Rob Lemley 9cf338bcac Bug 1790116 - mozbuild changes for RNP v0.16.2. r=kaie
hash_sha1cd.cpp moved up to its parent directory.

ENABLE_IDEA needs to be set to keep support enabled.
17972d0238

Update rnp_symbols.py to not include deprecated functions.
Added new symbols to rnp.symbols for export.

Differential Revision: https://phabricator.services.mozilla.com/D157012

--HG--
extra : rebase_source : 82fa2fd982dd7999a773ee67a75ddea90d0e6156
extra : source : 445e72242c320fa52aa89976e2f22378fa559e9b
extra : histedit_source : cd763976ac2d065d890570fff7f59674ad16281b
2022-09-22 13:09:17 -04:00
Rob Lemley f024f7c640 Bug 1790116 - Do not compile SM2 crypto with librnp. r=kaie
The CMake configuration in rnp/src/lib/CMakeLists.txt does not include
src/lib/crypto/sm2.cpp unless ENABLE_SM2 is defined.
Thunderbird builds do not set ENABLE_SM2, so there's no need to build this
file.

Depends on D157053

Differential Revision: https://phabricator.services.mozilla.com/D157154

--HG--
extra : rebase_source : 742fb7aa0dc15e19cf99d65888caaa1e0201427f
extra : source : 340aa52cb2b43347ee1d6af793801dfc72f9fe0a
extra : histedit_source : 7e6f4fec2bb4fe81178b62fd088154cfc3dbd963
2022-09-22 13:08:51 -04:00
Rob Lemley ac8e6cdbee Bug 1790116 - Update rnp_export.h. r=kaie
The CMake code that generates this file changed with RNP 0.16. The local copy
needs to be regenerated.

File generated with CMake using clang.

Differential Revision: https://phabricator.services.mozilla.com/D157053

--HG--
extra : rebase_source : 092cac76d0cf563c96fc47e15aafd36d9b96f973
extra : source : 56e991b36fee1e47880068299afac3c3697b6350
extra : histedit_source : 6be7b64845ab65d9dab8889e8b20b50a7ef2c360
2022-09-22 13:08:51 -04:00
Rob Lemley 2e87e92213 Bug 1790116 - Update librnp to v0.16.2. r=kaie
Executed: ./update_rnp.sh 298ad98b9ba2fb58e6eadec3c226f8184b41ab98

Differential Revision: https://phabricator.services.mozilla.com/D157011

--HG--
extra : rebase_source : 7a534006aa6300a715b5615da6e2270f13a70466
extra : histedit_source : 3d259a21781b16e15e7e40481f01d4b77ededb07
2022-09-22 13:08:19 -04:00
Rob Lemley d9a4a8b855 Bug 1790116 - update_rnp.sh changes for RNP v0.16.2. r=kaie
The changes in bug_1768424.patch are now included upstream in
ac6f58ef7c.

bug_1763641.patch removed per bug 1790116 comment 26.

disable_obsolete_ciphers.patch no longer needed, use security rules instead.

Differential Revision: https://phabricator.services.mozilla.com/D157010

--HG--
extra : rebase_source : 7708f966b75bdc347f585193d4f45bba378486e0
extra : histedit_source : 6fc0cd0fc64bdd9e3d27091aec1e45575af4f02d
2022-09-22 13:00:47 -04:00
Rob Lemley fd5bf8319e Bug 1790446 - Get RNP version during configure and set in config.h. r=dandarnell
Depends on D157152

Differential Revision: https://phabricator.services.mozilla.com/D157153

--HG--
extra : rebase_source : 02cb6c8527cb5a3e968908985f1bec77c3cf0070
extra : histedit_source : c997afbd405331be50c6ae0eb8504b77eef1f91a
2022-09-12 15:37:14 +00:00
Rob Lemley d87891f46e Bug 1790446 - Add build script to preprocess CMake config.h templates. r=dandarnell
Right now config.h.in is rewritten when the RNP source is updated.
This has caused problems when new lines are added to it.

Depends on D157151

Differential Revision: https://phabricator.services.mozilla.com/D157152

--HG--
extra : rebase_source : d7a684d7086dd3054fc0e0056f1ae5804eee256f
extra : histedit_source : 3ed504cc8654589fda22146e4a08554d1fe43d62
2022-09-12 15:28:49 +00:00
Rob Lemley f2e7148ccd Bug 1790446 - Stop rewriting RNP config.h.in when updating the source from upstream. r=dandarnell
Differential Revision: https://phabricator.services.mozilla.com/D157151

--HG--
extra : rebase_source : 51e8a817c4ea1bb49f379785ee4d058b955643df
extra : histedit_source : 980ff3699015e8f6bf1eb0f51673af32b12a35e8
2022-09-12 15:22:10 +00:00
Rob Lemley a26f90eb78 Bug 1783932 - Update zlib to version 1.2.12. r=darktrojan,mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D154137

--HG--
extra : amend_source : 8800f5c9192a7ef09b508e709232a879e5d89d3a
2022-08-10 00:31:28 +00:00
Rob Lemley 75c8f6fe53 Bug 1768424 - Patch RNP to permit importing public keys without a blank line after the header. r=kaie
Differential Revision: https://phabricator.services.mozilla.com/D146015

Depends on D146014
2022-05-12 17:05:21 +00:00
Rob Lemley 1a3d0d884e Bug 1768424 - Add upstream patch for bug 1768424. r=kaie
From https://github.com/rnpgp/rnp/pull/1745

Differential Revision: https://phabricator.services.mozilla.com/D146014

Depends on D146013
2022-05-12 17:05:17 +00:00