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

190 Коммитов

Автор SHA1 Сообщение Дата
Rob Lemley 5ae33ac3d2 Bug 1700349 - Update libgcrypt to 1.9.2. r=kaie
--HG--
extra : rebase_source : 9f63e0bdbc3d2fde559085bd0c83416b73c53dde
2021-03-23 13:26:08 -04:00
Rob Lemley 7688f668df Bug 1700349 - Update libgpg-error to 1.42. r=kaie
The newer version catches the libotr macOS regression at compiletime, which
is always better than when a user tries to use a feature.

--HG--
extra : rebase_source : 32fd7ba197bcf110d83e16aa9bdb00cc743a0d29
2021-03-23 16:42:40 -04:00
Kai Engert 91ef09afba Bug 1699295 - Export new RNP APIs from v0.14.0. r=rjl DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D108862

--HG--
extra : amend_source : 8c15cbb215fe9b6b2001f6fae87dedc42e76d913
2021-03-17 20:40:17 +01:00
geoff@darktrojan.net d49ab08e11 Bug 1699386 - add -fPIC in places that still need it, r=justdave
--HG--
extra : histedit_source : 889db3ac96dec22bd52f1825a90fce16a652e59f
2021-03-18 05:31:50 -04:00
Rob Lemley a125e2247f Bug 1694845 - Follow-up: Fix formatting. rs=mozlint DONTBUILD
--HG--
extra : histedit_source : 07ec6cfa040322759a312658156ff58536b0f15f
2021-03-03 11:50:55 -05:00
Rob Lemley 334297c3c2 Bug 1694845 - Set path to libc++ static library for linux64 builds. r=justdave
With the switch to a build sysroot, the linker is not able to locate libc++.a
and libc++abi.a on Linux64 builds (official builds with MOZ_STDCXX_COMPAT=1 only).
Adjust the path when linking librnp.so accordingly similarly to the Linux32
build.
This is not necessary for the Linux64-aarch64 build as it does not use libstdc++
compatibility mode.

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

--HG--
extra : moz-landing-system : lando
2021-03-03 07:25:53 +00:00
Rob Lemley ed42827593 Bug 1692909 - Follow-up: Fix building librnp on Windows. r=kaie
Add str-utils.cpp to files to build.

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

--HG--
extra : amend_source : f8dc00cdb838324c21b69e4c21d2750bb2993bc3
2021-02-16 11:25:34 -05:00
Kai Engert cc1b895708 Bug 1692909 - Update RNP to v0.14.0. r=rjl 2021-02-15 21:10:14 +01:00
Kai Engert bcfb9eb9c2 Backed out changeset 7158d5b72c9e, bug 1692909 because for build failures on Windows. 2021-02-16 10:04:08 +01:00
Kai Engert 71873001c1 Bug 1692909 - Update RNP to v0.14.0. r=rjl
--HG--
extra : rebase_source : bfda12a4f20c1acf3e2c69ee8eaf74294de3566b
extra : amend_source : 82ae78224921b2444f910a485153e840f71db267
2021-02-15 21:10:14 +01:00
Rob Lemley 6a16ce1547 Bug 1689613 - Follow-up: Update README.libgcrypt for version 1.9.1. r=me,docs-only DONTBUILD
--HG--
extra : rebase_source : 12dfdbccb98e134129c058adf7906bc5a29320ae
2021-01-30 12:18:11 -05:00
Kai Engert 3699ee0f56 Bug 1689613, Update libgcrypt to 1.9.1. r=rjl
--HG--
extra : rebase_source : 25281abadd5779740ddfb600e1892c330b436c5e
2021-01-29 14:53:32 +01:00
Rob Lemley 3f5e761ee3 Bug 1678775 - build-libotr.sh support for macosx64-aarch64. r=justdave
Differential Revision: https://phabricator.services.mozilla.com/D103164

--HG--
rename : third_party/clang/x86_64-apple-darwin.cfg => third_party/clang/aarch64-apple-darwin.cfg
extra : rebase_source : a30a6187a331c58df77613fb1d74a1b5c616c637
2021-01-26 20:25:04 -05:00
Rob Lemley 99b03b1457 Bug 1674843 - Add support for linux-aarch64 to build-libotr.sh. r=justdave
Differential Revision: https://phabricator.services.mozilla.com/D103003

--HG--
extra : rebase_source : c2bf2f81c66195d1123608a2b12cbece1c47e873
2021-01-13 07:09:16 -05:00
Rob Lemley 3e4effdae6 Bug 1688795 - Update libgcrypt to 1.9.0. r=kaie
This version fixes a compile error when building for linux-aarch64.

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

--HG--
extra : rebase_source : 3aebc2380d6d2ab86c1cf1929b94f65bf704bc46
2021-01-25 21:23:06 -05:00
Rob Lemley 8ddc970052 Bug 1682911 - Update libgcrypt to 1.8.7. r=kaie
Depends on D100289

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

--HG--
extra : moz-landing-system : lando
2021-01-07 20:02:13 +00:00
Rob Lemley b5dc5494d5 Bug 1682911 - Update libgpg-error to 1.39. r=kaie
Differential Revision: https://phabricator.services.mozilla.com/D100289

--HG--
extra : moz-landing-system : lando
2021-01-08 04:10:44 +00:00
Rob Lemley 92e7fca398 Bug 1678441 - Add license headers to build related files. r=justdave
Differential Revision: https://phabricator.services.mozilla.com/D97675
2020-11-19 20:49:55 +00:00
Rob Lemley 6cd1c2a962 Bug 1675516 - Update openpgp.configure for RNP October 2020 update. r=kaie
Depends on D96563

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

--HG--
extra : rebase_source : 25b8412ccb8f11ce1f4b1825f79de9dadce1b015
2020-11-10 13:17:34 +00:00
Kai Engert 1423a529e5 Bug 1675516 - RNP 2020-10-30. r=rjl
Differential Revision: https://phabricator.services.mozilla.com/D96563

--HG--
extra : rebase_source : 11f065a18d4f3bf1ff9b3a28beb66b91cb220f1c
2020-11-05 14:20:01 +00:00
Rob Lemley 21cfcfe8be Bug 1675516 - Remove RNP's CMakeSettings.json via update_rnp.sh. r=kaie
Differential Revision: https://phabricator.services.mozilla.com/D96576

--HG--
extra : rebase_source : d1a464d0a8081eed0912e2f5e17acb4343a90503
2020-11-10 13:14:39 +00:00
Rob Lemley 72249a4e2f Bug 1672798 - Follow-up: Reformat mozbuild files with black. rs=linting 2020-11-06 15:29:43 -05:00
Rob Lemley 4912dba9ee Bug 1672798 - Run black formatting on MZLA files in third_party. r=mkmelin
These will not be covered by CI for the moment because the global exclude does
not permit reincluding certain files. That deficiency in coverage can be addressed
in a follow-up bug.

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

--HG--
extra : rebase_source : 984f3e236e2b0390ae9e374908d77fbf94603e5e
extra : histedit_source : b4e584a4c399820d36ba13eb44fe18c94d9252e0
2020-10-30 15:05:20 -04:00
Rob Lemley 74c6535302 Bug 1672798 - Run black formatting on mozbuild and mozconfigure files. r=mkmelin
Bringing some sanity to our Python scripts.

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

--HG--
extra : rebase_source : 7eed46d79663fa1f261bd64d9bc1c83c4867bfc4
extra : histedit_source : b8b700c76ab2fee92eb426b5a5b69dc86376e60f
2020-10-30 14:28:33 -04:00
Rob Lemley 49bf6cfa98 Bug 1675368 - Update rnp_symbols.py and generate new symbols file. r=kaie
When rnp_export.h was created in bug 1651031, the export symbols update script
stopped working as the C preprocessor could not find rnp_export.h in its include
path.
New symbols were also added.

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

--HG--
extra : moz-landing-system : lando
2020-11-05 14:05:57 +00:00
Rob Lemley 266e2d2f04 Bug 1673902 - Check multiple header files for symbols in openpgp.configure. r=justdave
The header parameter to check_symbol_exists() could be a list of strings or a single
string. The only place where a list is sent is for mkdtemp which could be in
stdlib.h or unistd.h depending on the operating system.
Currently, the check for mkdtemp always fails as the generated C code is invalid.

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

--HG--
extra : moz-landing-system : lando
2020-11-04 05:49:23 +00:00
Rob Lemley 7b60076860 Bug 1653884 - Use standard c++ exception handling in Botan/RNP. r=kaie
--HG--
extra : amend_source : 03a1304d32ebbdb0b61a8bd2b032488346b6d66e
2020-09-24 17:02:05 +02:00
Kai Engert b866b582e3 Bug 1664885 - Update RNP to snapshot from 2020-09-13. r=rjl
Differential Revision: https://phabricator.services.mozilla.com/D90142

--HG--
extra : moz-landing-system : lando
2020-09-14 20:39:32 +00:00
Rob Lemley 3dff102a11 Bug 1664885 - [RNP] Remove vcpkg.txt from rnp source directory. r=kaie
It's not needed and might be confusing to keep.

Depends on D90169

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

--HG--
extra : moz-landing-system : lando
2020-09-14 20:30:10 +00:00
Rob Lemley 452e469864 Bug 1664885 - [RNP] Check for sys/time.h at configure time. r=kaie
Check for the presence of <sys/time.h> at configure time. With the Windows
build updates in D90161, it will not be present on our Windows builds anymore
and other systems that do have it the check will succeed as expected.

Depends on D90161

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

--HG--
extra : moz-landing-system : lando
2020-09-14 20:29:01 +00:00
Rob Lemley 1721efbbc5 Bug 1664885 - [RNP] Use RNP's built-in support for MSVC rather than our own. r=kaie
With https://github.com/rnpgp/rnp/pull/1232 being merged upstream, we can
remove most of the workarounds from the niwcompat directory.
What remains is dirent.h, which RNP pulls in via vcpkg and an empty getopt.h
header file.
getopt itself is not required by librnp.so, it's only used by some commandline
utilities. However, uniwin.h imports it unconditionally so an empty header file
is included for compatibilty.

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

--HG--
extra : moz-landing-system : lando
2020-09-14 20:25:22 +00:00
Rob Lemley 84233cac3d Bug 1662492 - Follow-up: Update README.botan to reflect update to 2.15.0. rs=docs-only
--HG--
extra : amend_source : 931822163ea36bf86108154b0cbd4aba944b7cb4
2020-09-01 14:16:44 -04:00
Kai Engert 8095805bef Bug 1662492 - Update Botan to version 2.15.0. r=rjl
Differential Revision: https://phabricator.services.mozilla.com/D89003

--HG--
extra : histedit_source : f1c1650833164c268ec20aefa898572b3d66b651
2020-09-01 16:19:56 +00:00
Kai Engert d53553f873 Bug 1662481 - Update RNP to snapshot from 2020-09-01. r=rjl
Differential Revision: https://phabricator.services.mozilla.com/D89002

--HG--
extra : histedit_source : b853df2de0d69bcc1bd81316d8aac928cc5cc069
2020-09-01 15:38:26 +00:00
Rob Lemley b089736725 Bug 1661546 - Reapply patch to disable obsolete ciphers in update_rnp.sh. r=kaie
The options to patch will disable checking for a possibly reversed patch and
save the reject file in the temporary directory so that it can be inspected
after the changes are reverted.

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

--HG--
extra : histedit_source : 3564365bd2144d30738f21ab44a36a6032279763
2020-08-31 21:18:02 +00:00
Kai Engert a93201f45e Bug 1641720 - Patch RNP to disable several nonstandard or obsolete ciphers. r=mkmelin 2020-08-27 13:45:04 +02:00
Kai Engert b09c156ae3 Bug 1657494 - Update RNP to snapshot from 2020-08-03, plus Windows bustage fix. r=rjl
Differential Revision: https://phabricator.services.mozilla.com/D86169
2020-08-05 23:39:10 +02:00
Rob Lemley da1a02c64f Bug 1657333 - Update librnp module.ver to work with version_win.py. rs=bustage-fix
Windows resource files were preprocessed by a Perl script that has been replaced
with a Python script. DEFINE variables from moz.build do not seem to be supported
in the rewrite. This change will produce the same result using DEFINES that
are already known to version_win.py.

--HG--
extra : rebase_source : 9022ca0d30325ba2a976d3ac74f83b37b424363c
2020-08-05 14:24:05 -04:00
Geoff Lankow 88b43bb333 Bug 1634963 follow-up - Restore #ifdef COMPILE_ENVIRONMENT to fix artifact builds. r=rjl DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D85692

--HG--
extra : rebase_source : 476130bd6e8bcb0281d503fd3f2a424e24ebfe49
extra : amend_source : d7fb635a39e44413f1ee660c987c146d4f250730
2020-08-03 11:48:13 +12:00
Rob Lemley 3d1f9e3578 Bug 1655877 - Restore rnp_export.h when updating RNP sources. r=kaie
Differential Revision: https://phabricator.services.mozilla.com/D85591

--HG--
extra : moz-landing-system : lando
2020-07-31 15:28:50 +00:00
Rob Lemley c56875f359 Bug 1634963 - Configure flag for building librnp with system Botan. r=darktrojan
New mach configure flag --with-system-botan is available if --enable-openpgp
is set (the default).

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

--HG--
rename : third_party/botan/moz.build => third_party/botan/botan.mozbuild
extra : moz-landing-system : lando
2020-07-29 22:58:48 +00:00
Rob Lemley 903f573034 Bug 1634963 - Do not add vendored zlib to include path when building with system zlib. r=darktrojan
Differential Revision: https://phabricator.services.mozilla.com/D85226

--HG--
extra : moz-landing-system : lando
2020-07-29 22:58:43 +00:00
Rob Lemley a09efdf7d5 Bug 1634963 - Configure flag for building librnp with system Bzip2. r=darktrojan,kaie
New mach configure flag --with-system-bz2 is available if --enable-openpgp
is set (the default).
Firefox had this flag previously, but it has been removed.

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

--HG--
extra : moz-landing-system : lando
2020-07-31 13:51:07 +00:00
Rob Lemley a161201b8c Bug 1634963 - Configure flag for building librnp with system JSON-C. r=darktrojan
New mach configure flag --with-system-jsonc is available if --enable-openpgp
is set (the default).
This also splits up the header checks for JSON-C from librnp's checks. There's
quite a bit of overlap amongst the dependencies.

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

--HG--
extra : moz-landing-system : lando
2020-07-29 22:58:41 +00:00
Rob Lemley c335cfe5af Bug 1634963 - Update IQuote mozbuild function so it can be called multiple times. r=darktrojan
The include path for building librnp needs to be built incrementally depending
on the flags passed to configure. The COMPILE_FLAGS dictionary cannot be updated in a
template function so just work with CXXFLAGS directly.

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

--HG--
extra : moz-landing-system : lando
2020-07-29 22:59:00 +00:00
Rob Lemley 4825b23467 Bug 1655877 - Remove modifications to imported RNP sources. r=kaie
Depends on D85224

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

--HG--
extra : moz-landing-system : lando
2020-07-29 19:33:14 +00:00
Rob Lemley 856416a5fc Bug 1655877 - Additional include path for rnp_export.h. r=kaie
Differential Revision: https://phabricator.services.mozilla.com/D85224

--HG--
extra : moz-landing-system : lando
2020-07-29 19:33:13 +00:00
Kai Engert f781e9afd0 Bug 1654768 - Update RNP to snapshot from 2020-07-22. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D84673

--HG--
extra : amend_source : b28a2a49c0d2fdab4283eed8bd7dd6e85c49db65
2020-07-23 09:24:16 +02:00
Kai Engert ed9291ef59 Bug 1653651 - Hotfix for RNP failure to process long Armor Header lines. Limited temporary fix. r=Nickolay
Differential Revision: https://phabricator.services.mozilla.com/D84045
2020-07-18 03:12:11 +02:00
Kai Engert 0ae512659f Bug 1651031 - Manual fixes to allow building of RNP snapshot from 2020-07-07. r=rjl
Differential Revision: https://phabricator.services.mozilla.com/D82510

--HG--
extra : rebase_source : 81f5708e59558e5878d1beb159ed8292534b1074
2020-07-07 12:57:29 +02:00
Kai Engert 7e2e7e52ee Bug 1651031 - Update RNP to snapshot from 2020-07-07. r=rjl
Differential Revision: https://phabricator.services.mozilla.com/D82509

--HG--
rename : third_party/rnp/src/lib/list.cpp => third_party/rnp/src/common/list.cpp
rename : third_party/rnp/src/lib/list.h => third_party/rnp/src/common/list.h
extra : rebase_source : 400d55c4ada9020b91d54efeb1d5a07a7377360b
2020-07-07 12:56:16 +02:00
Kai Engert 60a179feed Bug 1647671 - Bustage fix, remove include block that's no longer required (and fails on Windows). rs=bustage
--HG--
extra : amend_source : 9120545b4f9adedf1da9fc88b3e3119a771a7958
2020-06-25 15:30:51 +02:00
Rob Lemley 761836864c Bug 1647671 - Update librnp exported symbols. r=kaie
--HG--
extra : rebase_source : d8eb15e66e061af5b044dd5bd6d60b954562bb2d
2020-06-25 13:01:43 +02:00
Kai Engert 66eff79245 Bug 1647671 - Update RNP to snapshot from 2020-06-19. r=rjl
Differential Revision: https://phabricator.services.mozilla.com/D80628

--HG--
extra : rebase_source : c2d62f5083055daa73c37316d391ea029893c5a2
2020-06-23 12:32:22 +02:00
Geoff Lankow f8e945d74f Bug 1648043 - Fix broken Botan configuration. rs=bustage-fix DONTBUILD 2020-06-24 22:49:06 +12:00
Rob Lemley c588762d6b Bug 1634209 - Build librnp on Linux statically linking to LLVM's libc++. r=kaie
Circumvents the problems with libstdc++ symbols problem by replacing it with
LLVM's libc++ only when building on Taskcluster. libc++abi is a required
companion library.
Since libc++ is not as ubiquitous as libstdc++ on Linux, it is statically linked.
The libc++ license permits this quite explicitly.
When librnp (and more precisely Botan) is compiled and linked this way, there are
no references to libstdc++ in the resulting librnp.so file.

Depends on D80223

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

--HG--
extra : moz-landing-system : lando
2020-06-18 21:09:38 +00:00
Kai Engert 361d3ff8a8 Bug 1644705 - Update RNP to snapshot from 2020-06-09. r=rjl DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D79104

--HG--
extra : rebase_source : e2b0e5df41b5639940e4c16f87cd8e532c1ed8ff
extra : amend_source : 028e06ae0fd39ae9aee343ad6a509af882d2ee83
2020-06-10 13:44:53 +02:00
Rob Lemley f50df15421 Bug 1639700 - Ensure system_rng module is enabled in Botan build. r=kaie
Differential Revision: https://phabricator.services.mozilla.com/D78059

--HG--
extra : moz-landing-system : lando
2020-06-03 15:01:41 +00:00
Kai Engert 1018f0a401 Bug 1641612 - Update RNP to snapshot from 2020-05-30. r=rjl,mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D77300

--HG--
extra : rebase_source : 5c60989f795729ad39ac0a5ce4b4ed32208f78bd
extra : amend_source : a60a4050a95ea0ca53b160381fef2b5da95c039a
2020-05-25 18:32:50 +02:00
Rob Lemley fd56575e36 Bug 1634158 - Update rnp.symbols using rnp_symbols.py. r=kaie
--HG--
extra : rebase_source : 01ce39812ad4f9a20a3d199cf30a9b3cb4e174dd
extra : histedit_source : 9e325a28681a993ec705c34ce8c2cd9f6af26b0a
2020-05-07 13:23:31 -04:00
Rob Lemley a089e7e968 Bug 1634158 - Update RNP source from git as of 2020-05-06. r=kaie
Using update_rnp.sh.
Revision: eabaa5d07ae453c44dfa272f25ad7b5e41c8e5fb

--HG--
extra : rebase_source : e0aa4b42ef566c98f91629a56707ca87fd25947f
extra : histedit_source : a8e4c98f8f2a97fde14bd4bc564304e31592dbcf
2020-05-07 13:23:01 -04:00
Rob Lemley 7f9b3948f2 Bug 1636240 - Add error trap to update_rnp.sh to revert changes. r=kaie
Trap any errors that happen and run the catch_err function to
revert any changes.

--HG--
extra : rebase_source : 36284369ef4021571ffc52746fc8253cd191da46
extra : histedit_source : 02ef84a69ba3f0e43c2ce84c422f650cda0a2df4
2020-05-06 15:25:04 -04:00
Rob Lemley c65408476d Bug 1634887 - Drop use of -fcxx-exceptions flag - makes RNP build with gcc. r=darktrojan
This flag is not supported by gcc.
2020-05-07 22:08:15 +03:00
Rob Lemley 67675c62db Bug 1577518 - Update libgpg-error to version 1.37. r=kaie
--HG--
extra : rebase_source : c69321e1c6448a776e40aad08e4b71afffa62b81
2020-04-27 19:50:44 -04:00
Rob Lemley 8193329588 Bug 1577518 - Update libgcrypt to version 1.8.5. r=kaie
--HG--
extra : rebase_source : 2b0d98454a3035ffdddffa24f4e504b46ba0f0f1
2020-04-27 19:51:09 -04:00
Rob Lemley 356c6190f0 Bug 1632343 - Follow-up: Fix l10n repacks on Daily build. r=mkmelin rs=bustage-fix DONTBUILD
COMPILE_ENVIRONMENT will not be set for L10n repacks.

--HG--
extra : rebase_source : 6525c25a25e38a086159dd1e3d833bb3e970cdbe
extra : histedit_source : acfe09eb053910286ff89b37d7daf4c649cdebe2
2020-04-23 09:23:06 -04:00
Rob Lemley cf217614fb Bug 1632343 - Fix artifact builds when --enable-openpgp is set. r=darktrojan DONTBUILD
Compiler-based checks don't work when --enable-artifact-builds is set, so
those checks need to have a when=compile_environment condition.
Botan's configure script fails without a proper compiler and needs to be
disabled.
2020-04-23 13:50:10 +03:00
Rob Lemley 4dc2d3eeb7 Bug 1630376 - Add errno.h header to RNP clang-cl compatibility code. DONTBUILD r=kaie
Differential Revision: https://phabricator.services.mozilla.com/D71092

--HG--
extra : moz-landing-system : lando
2020-04-21 01:00:13 +00:00
Rob Lemley 0e91e5f988 Bug 1630369 - Run Botan configure.py with Python executable. r=darktrojan
Windows cannot execute a Python script directly like UNIX can,
so call configure.py as "python configure.py" instead.
2020-04-17 13:17:29 +03:00
Rob Lemley ba96d00476 Bug 1621785 - Follow-up: Fix lint tests. rs=butsage-fix
The third-party code should not be checked, added fixes for remaining failures.
2020-04-15 14:10:17 -04:00
Rob Lemley 08e46c4f1f Bug 1621785 - Build configuration for OpenPGP libraries. r=kaie
Differential Revision: https://phabricator.services.mozilla.com/D70758

--HG--
extra : moz-landing-system : lando
2020-04-14 22:29:22 +00:00
Rob Lemley 8450c171ba Bug 1621785 - Build configuration for RNP. r=kaie
Differential Revision: https://phabricator.services.mozilla.com/D70757

--HG--
extra : moz-landing-system : lando
2020-04-14 22:29:19 +00:00
Rob Lemley 2191778b5d Bug 1621785 - Build configuration for Botan. r=kaie
Script and moz.build configuration for Botan for use in Thunderbird.

Runs Botan's configure.py with the desired options to generate a usable
build.h.

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

--HG--
extra : moz-landing-system : lando
2020-04-14 22:29:17 +00:00
Rob Lemley 4061714503 Bug 1621785 - Build configuration for Json-c. r=kaie
Differential Revision: https://phabricator.services.mozilla.com/D70755

--HG--
extra : moz-landing-system : lando
2020-04-14 22:29:09 +00:00
Rob Lemley e272981599 Bug 1621785 - Build configuration for Bzip2. r=kaie
Differential Revision: https://phabricator.services.mozilla.com/D70754

--HG--
extra : moz-landing-system : lando
2020-04-14 22:29:06 +00:00
Rob Lemley b393fe540a Bug 1621785 - Build configuration for zlib. r=kaie
Differential Revision: https://phabricator.services.mozilla.com/D70753

--HG--
extra : moz-landing-system : lando
2020-04-14 22:29:04 +00:00
Rob Lemley 3ecb036a24 Bug 1621785 - Compatibility headers for building RNP with clang-cl. r=kaie
These are missing defines and a few functions that are used by
the RNP library but are not part of the Microsoft runtime.

dirent.h is an MIT licensed "header" file that contains opendir(),
readdir(), and closedir() for Windows. Copyright and license are
included in the file itself.

sys/time.h contains an implementation of gettimeofday() for Windows
that's used in rnp/src/lib/crypto/s2k.cpp.

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

--HG--
extra : moz-landing-system : lando
2020-04-14 22:29:01 +00:00
Rob Lemley 83cbd28a24 Bug 1621782 - Import RNP sources into comm-central. r=kaie
Modifications are documented in README.rnp and update-rnp.sh

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

--HG--
rename : third_party/README.libotr => third_party/README.rnp
extra : moz-landing-system : lando
2020-04-14 22:28:53 +00:00
Rob Lemley d176202acf Bug 1621782 - Import botan sources into comm-central. r=kaie
Differential Revision: https://phabricator.services.mozilla.com/D70737

--HG--
extra : moz-landing-system : lando
2020-04-14 22:26:46 +00:00
Rob Lemley 6c2b3aa1b9 Bug 1621782 - Import json-c sources into comm-central. r=kaie
JSON-C is a dependency of RNP.

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

--HG--
extra : moz-landing-system : lando
2020-04-14 22:30:29 +00:00
Rob Lemley 291c197ea0 Bug 1621782 - Import bzip2 sources into comm-central. r=kaie
Bzip2 is a required dependency for RNP which will not be present
on all supported operating systems.

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

--HG--
extra : moz-landing-system : lando
2020-04-14 22:24:35 +00:00
Rob Lemley 7e85567d60 Bug 1621782 - Import zlib sources into comm-central. r=kaie
Zlib is a required dependency for RNP which will not be present
on all operating systems that we support.

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

--HG--
extra : moz-landing-system : lando
2020-04-14 22:24:32 +00:00
Rob Lemley 16d0359290 Bug 1518166 - Include libotr and dependencies from build artifacts.
Copy libotr libraries from $MOZ_FETCHES_DIR to objdir/dist/bin during the
libs phase of the build process.
Update package-manifest.in accordingly do it's included in the final package.

This step is configured so that it only runs when building on Taskcluster.
It's expected that distributions packaging their own builds will have libotr
own libotr package and will not need to have it bundled.

--HG--
extra : rebase_source : 3984421242743d268ce965b90b37226af80072af
extra : histedit_source : 987102e2527e1e0cc89b0be95ee68db08705d380
2020-01-23 17:20:44 -05:00
Rob Lemley fc920dc265 Bug 1518166 - Add build script for libotr and dependencies.
Build libotr for OTR messaging feature. The script is intended to run on
Taskcluster, and will not be part of the normal build process.

--HG--
extra : rebase_source : 74f00cf2942fbfe55cd12057410119bfa58b3392
2019-12-17 19:35:36 -05:00
Kai Engert a78b910c72 Bug 1577646 - Fix encoding corruptions in imported libotr library. r=me
DONTBUILD
2019-08-30 11:47:24 +02:00
Kai Engert aedfde9bb2 Bug 1577646 - Fix encoding corruptions in imported libgcrypt library. r=me
DONTBUILD
2019-08-30 11:47:23 +02:00
Kai Engert f17f8dbc20 Bug 1577646 - Fix encoding corruptions in imported libgpg-error library. r=me
DONTBUILD
2019-08-30 11:47:22 +02:00
Kai Engert 02dfe0a6f3 Bug 1518164 - Import the libotr library code into the comm-central tree. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D37327
2019-07-08 21:11:16 +00:00
Kai Engert 2dac93d45c Bug 1518164 - Import the libgcrypt library code into the comm-central tree. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D37326
2019-07-08 21:08:04 +00:00
Kai Engert a5412cbaf2 Bug 1518164 - Import the libgpg-error library code into the comm-central tree. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D37324
2019-07-08 21:05:45 +00:00