223 Commits

Author SHA1 Message Date
Ed Tubbs
97c64ffdba depends: updated to freetype 2.11.0 2024-03-25 22:49:29 +00:00
Patrick Lodder
92b439f375
depends: Backport Qt bugfixes
Dogecoin-Qt cannot upgrade Qt on a minor release without breaking
support for older systems, and thus preventing operators on these
to get important security updates. Therefore, it is important to
patch the fixed version of Qt we are stuck with when applicable.

This backports important bug fixes from later Qt versions that
harden Dogecoin-Qt's internals:

- Fix possible heap corruption in QXmlStream
  see: https://codereview.qt-project.org/c/qt/qtbase/+/236691

- do not attempt to load a library relative to $PWD
  see: https://codereview.qt-project.org/c/qt/qtbase/+/286795

- Fix specific overflow in qtextlayout
  see: https://codereview.qt-project.org/c/qt/qtbase/+/476125

- QDnsLookup/Unix: Ensure that both the RDATA and the Record header
  fields before it fall inside the buffer we have
  see: https://codereview.qt-project.org/c/qt/qtbase/+/477644

- Fix a crash while parsing an XML file with garbage data
  see: https://codereview.qt-project.org/c/qt/qtbase/+/471756
       https://codereview.qt-project.org/c/qt/qtbase/+/455027

- Fix crash when reading corrupt font data
  see: https://codereview.qt-project.org/c/qt/qtbase/+/503026
2024-02-16 21:05:15 -05:00
Patrick Lodder
7eaf406383
trivial: depends: one line per Qt patch 2024-02-16 21:05:14 -05:00
chromatic
4d44dbf629
Merge pull request #3364 from edtubbs/1.14.7-dev-fontconfig
depends: updated to fontconfig 2.12.6
2023-12-03 09:15:02 -08:00
pmb
4aab1c148a [depends] expat 2.5.0 2023-11-24 10:22:57 -08:00
chromatic
faa42010d8
Merge pull request #3358 from patricklodder/1.14.7-reduce-qt
depends: reduce Qt footprint
2023-11-23 13:24:27 -08:00
Ed Tubbs
7904b4805f depends: updated to fontconfig 2.12.6 2023-11-17 21:23:54 -06:00
Ed Tubbs
3d7395284d depends: updated to zlib 1.3 2023-10-30 12:17:24 -05:00
Ed Tubbs
49fdaa19dc depends: updated to protobuf 3.6.1 2023-10-28 17:25:05 +00:00
Patrick Lodder
01cdeec11a
build: remove libx11 dependency
We do not need libx11 to compile Qt with some very minor patches.
Removing this removes attack surface from dogecoin-qt and reduces
future maintenance cost.

- Removes packages:
  - libX11
  - libXext
  - xextproto
  - xtrans
- Patches Qt to not try to include X11 anywhere
- Removes x11-xcb check from bitcoin_qt.m4
- Remove permission to depend on libX11*so in release binaries

Backported-from: 1ec30b8f
                 aa53cb7a
                 92456991
                 0c55d8b5
                 689d3b4a
Co-Authored-By: Carl Dong <contact@carldong.me>
2023-10-28 07:49:23 -04:00
Patrick Lodder
a93bf1c1b0
depends: remove dbus dependency and fix qt configuration
dbus is not used by qt in depends per documentation of the
-dbus-runtime configuration flag - it uses the packaged interface
and can be removed as a managed dependency.

Since dbus interfaces are only used on linux, remove it from the
windows and macOS configurations.

Backported-from: e8fabd92
                 6fdf5dab
Co-authored-by: fanquake <fanquake@gmail.com>
2023-10-28 07:49:22 -04:00
Patrick Lodder
fe94986c35
depends: reduce exported features for qt 5.7.1
Remove functionality of Qt that we do not need, resulting in a
smaller dogecoin-qt binary and a reduced attack surface.

- removes all image support except png
  (xpm is needed for qt binary build tools)
- no longer use Qt's built-in libjpeg
- disable all unused features

Items that cannot be removed vs Bitcoin Core:
For paper wallets:
- printer dialogs and pdf
- html rendering
For BIP70 payment requests:
- network configuration
- openssl
- socks5 support
2023-10-28 07:39:11 -04:00
Patrick Lodder
cb49fe3fe5
doc: depends is now maintained with ubuntu focal 2023-05-23 09:38:04 +02:00
fanquake
0790ab75d1
depends: native_cctools 921, ld64 409.12, libtapi 1000.10.8
Co-Authored-By: Cory Fields <cory-nospam-@coryfields.com>
Cherry-picked from: ca5055a

Cherry-pick notes: undid the removal of -mlinker-version, as this
                   was done erroneously upstream
2023-05-05 17:55:54 +02:00
Dakoda Greaves
4ad7a450b9
depends: clang 6.0.1
This also removes some now-unnecessary cctools hacks.

Co-Authored-By: Cory Fields <cory-nospam-@coryfields.com>
2023-05-05 17:54:56 +02:00
bluezr
8e40d1140f
depends: use python3 in native_biplist/ds_store/mac_alias.mk
-instead of using python-is-python3 update native_biplist.mk, native_ds_store.mk and native_mac_alias.mk files to use python3
2023-01-13 13:21:54 -08:00
Old Dip Tracker
70164f1c4c
Merge pull request #3169 from alamshafil/depends-libxkbcommon
depends: Suppress array-bounds errors in libxkbcommon
2023-01-09 19:05:18 -05:00
chromatic
315a84d14c
Merge pull request #3146 from patricklodder/1.14.7-avx2-fix-depends-cc
depends: only use explicit CC for mingw32 in intel-ipsec-mb
2022-11-27 12:57:30 -08:00
chromatic
b371ebd9d5
Merge pull request #3139 from patricklodder/1.14.7-zlib-1.2.13
depends: update zlib to 1.2.13
2022-11-27 11:39:12 -08:00
Old Dip Tracker
2cf7d3aa67
Merge pull request #3141 from xanimo/1.14.7-dev-depends-qfixed-patch
depends: adds QT 5.7.1 'QFixed' context error patch
2022-11-22 19:06:30 -05:00
alamshafil
9f19673345
depends: Suppress array-bounds errors in libxkbcommon 2022-11-09 15:52:45 -05:00
Patrick Lodder
552a40a572
depends: only use explicit CC for mingw32 in intel-ipsec-mb
The CC override in intel-ipsec-mb.mk fails for linux builds
when done in a docker container due to it inserting "pc" into
the host variable when not otherwise specified.

This fixes it by only overriding if we're building with mingw.
2022-11-02 21:30:33 +01:00
Carl Dong
b364365dfb
depends: tar: Always extract as yourself
For normal users, --no-same-owner is default, but not so for root, where
it is assumed that root can change ownership willy-nilly. This is not
the case for privilege-limited container environments where we gaslight
the process into thinking it's root.

Cherry-picked from: 89bee1b
2022-10-18 11:18:31 -07:00
Dakoda Greaves
2c151a964b
depends: adds QT 5.7.1 'QFixed' context error patch
-After updating clang+llvm, QT 5.7.1's qfontengine_coretext.mm file's variable QFixed errors out as it's a constructor rather than a type in this context. This patch fixes that error.
2022-10-16 14:18:52 -07:00
Patrick Lodder
8f8db42a94
depends: update zlib to 1.2.13 2022-10-16 22:22:12 +02:00
Ed Tubbs
7a5358c77b depends: Updated intel-ipsec-mb to 1.2
config: Updated intel-ipsec-mb checks for Win64
ci: Added build with intel-ipsec-mb for Win64
src: Updated intel-ipsec-mb guard for Win64 in SHAs
2022-07-28 20:13:57 -05:00
chromatic
d5f4e810a4
Merge pull request #2409 from patricklodder/1.14.4-libevent-2.1.12
depends: libevent 2.1.12-stable
2022-07-10 13:06:40 -07:00
alamshafil
eabe77026a
Depends: Update zlib to 1.2.12 2022-04-26 15:25:53 -04:00
Hennadii Stepanov
211db366c4
build: Avoid getrandom@GLIBC_2.25 symbol in libevent package 2022-02-18 01:55:27 +01:00
fdov
612b4b89ed
depends: libevent 2.1.12-stable
cherry-picked from 1.21-dev
2022-02-18 01:55:27 +01:00
Patrick Lodder
2c7772e906
depends: change fallback to depends.dogecoincore.org
Changes the fallback dependency source repository from Bitcoin's
bitcoincore.org to dogecoincore.org. Both are centrally hosted,
as a fallback. Ideally this would be utilizing a decentralized
protocol like IPFS, but this is harder to integrate with the CI
tooling.

Note: because some dependencies have identical filenames in their
source URLs (currently ds_store and mac_alias) we host the target
filename on the mirror, to prevent conflicts.
2022-02-12 17:45:54 +01:00
Patrick Lodder
8e4ea27962
Merge pull request #2491 from edtubbs/master
[feat] Added AVX2 SHA support
2021-11-01 18:47:05 -04:00
Patrick Lodder
57446a21f6
doc: update depends README to reflect Bionic building 2021-10-18 20:41:30 +02:00
Cory Fields
6912d93940
depends: qt: avoid system harfbuzz and bz2
We may eventually want to break out harfbuzz and build it in depends, but
for now just ensure that runtime dependencies don't depend on whether or not
harfbuzz was present on the builder.
2021-10-11 16:12:33 +02:00
Patrick Lodder
d1075955b2 depends: make avx2 depends selectable through AVX2=1 env var 2021-10-02 23:32:41 -05:00
Ed Tubbs
bef1ae5f3c Commit changes to SHA sources
Added nasm and intel-ipsec-mb to depends
Added remote_digest_init.patch
Added argument and checks to configure.ac
Make nasm a native dependency
2021-10-02 23:32:42 -05:00
Patrick Lodder
a8c035e88f
remove zmq trusty-only patch 2021-09-29 20:50:11 +02:00
Hennadii Stepanov
557a921835
build: Add xkbcommon 0.8.4
Cherry-picked from: bitcoin/bitcoin 3272e34f
                and bitcoin/bitcoin cc25f892
                and bitcoin/bitcoin a33381ac

Conflicts resolved:

- removed ci script and guix file changes that we don't have
- removed changes to libxcb
- squashed commits as cc25f892 was a fixup
- rewrote the change to depends/README

Co-authored-by: fanquake <fanquake@gmail.com>
Co-authored-by: W. J. van der Laan <laanwj@protonmail.com>
2021-09-28 21:33:05 +02:00
Carl Dong
043ce9a2c2
depends: Fully determine path for darwin_{CC,CXX}
Instead of doing the awkward /bin path prepending at config.site
creation time, set darwin_{CC,CXX} in a way that fully determines the
program's path (clang/clang++)

Also see the added comment block in depends/Makefile for more context on
determining $PATH for our config.site.

Cherry-picked from: 880660ac

Conflicts: cherry-picked from a Bitcoin Core build system that is
           optimized for supporting system-provided clang builds
           which Dogecoin Core does not have at this time. I have
           removed all code regarding that functionality and only
           kept the code relevant to Dogecoin Core for this
           major version (1.14), i.e. those lines that use the
           pinned clang from the depends system.
2021-09-23 20:14:03 +02:00
Patrick Lodder
cbc3aaeed8
depends: Remove export of glibc 2.17 secure_getenv
Patches openssl 1.0.2's usage of secure_getenv to always use the
fallback OPENSSL_issetugid() instead, to remove reliance on a
higher glibc than the minimum we currently support (2.11)

See depends/patches/openssl/secure_getenv.patch for a full
description of the patch.
2021-09-23 20:13:43 +02:00
Ed Tubbs
61c1cf3a3c
Updated to OpenSSL 1.0.2 2021-09-23 20:13:38 +02:00
Bertrand Jacquin
1a6738f920
Update to Berkeley DB 5.3
Old BerkeleyDB version such as 5.1 are being removed from most Linux
distribution.

See: https://bugs.gentoo.org/792222
See: https://fedoraproject.org/wiki/Changes/Libdb_deprecated
2021-08-21 23:55:05 +01:00
Patrick Lodder
f509487d3b
Merge pull request #2236 from sabotagebeats/fix/issues/2149
Utils and libraries: Update ZMQ to 4.3.4
2021-07-24 19:19:36 +02:00
Patrick Lodder
164d0b2e83
depends: Add required packages to build 2021-07-20 20:55:16 +02:00
Patrick Lodder
f9084e53d1
Revert "added requirements to dependencies build README" 2021-07-20 20:17:11 +02:00
sabotagebeats
36bde0efca Utils and libraries: Update ZMQ to 4.3.4 2021-07-18 15:06:51 -07:00
Patrick Lodder
869aad50af
Merge pull request #2325 from rnicoll/1.14.4-libevent
depends: Update libevent to 2.1.11
2021-07-17 18:35:59 +02:00
stefanwouldgo
cf04b907ef bump libevent to 2.1.11 in depends
this doesn't need patches on Android anymore like 2.1.8 did.
2021-07-13 20:51:08 +01:00
fanquake
0a3c2a29a6 [depends] Don't build libevent sample code 2021-07-13 20:51:08 +01:00
fanquake
efcc8dc1d7 [depends] libevent 2.1.8-stable 2021-07-13 20:51:08 +01:00