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

192 Коммитов

Автор SHA1 Сообщение Дата
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