oxen-core/cmake
Jason Rhinelander 5e95cef882
Remove openssl, unbound, expat, OpenAlias
openssl is a miserable dependency to fight with, especially for
iOS/Android, and we use it for very little:

- it gets (mis)used to write base64 data to a file in wallet2 for things
  like multisig data.  However this mode is *not* enabled by default,
  basically completely unknown, completely unused, only exists in the
  cli wallet, and is just dumb.  (Honestly the justification given in
  the PR is that "Windows users might want it", presupposing that there
  exists Windows users who are capable of generating a multisig wallet
  in a CLI-only application and yet are incapable of dealing with binary
  files).

- it's a dependency of unbound (in order to do dnssec, I believe).
  Unbound itself is fairly useless for Oxen, so I've removed it too:
    - it does OpenAlias lookups, which are a Monero thing that has never
      been used outside Monero, doesn't work reliably (because it fails
      if the result isn't DNSSEC validated) and is pointless when we
      have ONS.

    - it does DNS resolution on seed nodes, but we have never set seed
      nodes by name and just use seed node IPs instead (which seems a
      bit better anyway since the DNS lookup leaks some metadata).

- it *was* being used for sha256, but an earlier commit in this PR
  already replaced that with libsodium (entirely coincidentally).

- for static deps, it enables HTTPS support for the wallet.  However
  only the CLI wallet actually supports this (the GUI and mobile wallets
  don't), and since oxend hasn't support this for a while I have strong
  doubts it is being used anywhere.  (Plus wallet3 will do everything
  encrypted using zmq/libsodium, so doesn't need this to be secure).
  Note here that it is *only* removed by this commit for static builds:
  if doing a system build that links to libcurl supporting HTTPS then
  HTTPS support will still work.

Libexpat is also gone because it was only there for libunbound.
2022-04-15 13:51:57 -03:00
..
32-bit-toolchain.cmake Static builds: make usable binaries from cmake 2020-06-15 12:49:33 -03:00
64-bit-toolchain.cmake Static builds: make usable binaries from cmake 2020-06-15 12:49:33 -03:00
check_for_std_filesystem.cmake std::filesystem 2020-10-24 12:45:37 -03:00
CheckLinkerFlag.c Add misc hardening flags to the cmake machinery 2017-12-31 14:26:12 +00:00
CheckLinkerFlag.cmake Merge pull request #4425 2018-09-29 22:19:47 +02:00
CheckTrezor.cmake Disable Trezor by default 2021-01-08 18:15:25 -04:00
DownloadLibSodium.cmake Static builds: make usable binaries from cmake 2020-06-15 12:49:33 -03:00
Doxyfile.in Merge commit '94ed562' into LokiMergeUpstream20180821 2018-09-19 14:15:55 +10:00
Doxygen.extra.css.in doxygen files 2015-04-01 19:23:15 +02:00
FindBacktrace.cmake cmake: fix some case of "backtrace lib not found" breaking 2019-05-01 10:11:41 +00:00
FindHIDAPI.cmake Linux: Fix building of static binaries with hw device support 2018-10-06 16:48:14 +02:00
FindLibunwind.cmake cmake: link against liblzma when found, for libunwind 2016-12-24 00:00:45 +00:00
FindLibUSB.cmake build: fix OSX static libusb check and link against static libobjc 2019-07-09 22:13:59 +00:00
FindReadline.cmake Merge commit '8534f71' into LokiMergeUpstream 2018-11-12 14:55:42 +11:00
GenVersion.cmake Move version into top-level CMakeLists.txt 2020-05-03 22:19:51 -03:00
ios.toolchain.cmake Replace CMakeLists_IOS.txt hack job with proper toolchain file 2020-11-04 15:06:59 -04:00
StaticBuild.cmake Remove openssl, unbound, expat, OpenAlias 2022-04-15 13:51:57 -03:00
test-libusb-version.c Update 2019 copyright 2019-03-05 22:05:34 +01:00
test-protobuf.cpp Update 2019 copyright 2019-03-05 22:05:34 +01:00
test-protobuf.proto build: protobuf dependency fixes, libusb build 2018-12-18 16:50:19 +01:00
test-static-assert.c Update 2019 copyright 2019-03-05 22:05:34 +01:00
Version.cmake Move version into top-level CMakeLists.txt 2020-05-03 22:19:51 -03:00