781 Commits

Author SHA1 Message Date
oliveredget
b8e2670cd0
fix: typo in contrib/debian/examples/dogecoin.conf 2025-01-02 03:48:02 +08:00
xanimo
a299f9d8fa
update xanimo's expired public key 2024-08-03 15:46:01 -07:00
GaloisField2718
1864886c70
Add gen-dogecoin-conf.sh script into contrib/devtools and store the example conf file generated into ./share 2024-07-16 16:49:47 -04:00
Old Dip Tracker
ff8f573941
Merge pull request #3446 from slightlyskepticalpotat/1.14.7-dev
check numerus format in check-translations.py
2024-03-10 22:26:45 +01:00
Anthony Chen
b4d92e1062 add numerus format check to check-translations.py (translation linter)
[squash] check for child elements/lack thereof under translation elements

[squash] add context for changes
2024-03-08 20:11:50 -05:00
Patrick Lodder
7237da74b8
update inline copyright years
adds a line when no copyright for Dogecoin Core Developers exists
but the file has been edited by us, to the last year found in git
log, or extends the year range on an existing line when a file
has been modified since the year previously listed.

Excludes subtrees.
2024-02-25 13:12:26 -05:00
Patrick Lodder
c77e07be65
doc: update debian/copyright 2024-02-23 12:16:37 -05: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
4b5bc2ac76
build: upgrade gitian descriptors to ubuntu focal
- update all suites to use focal
- update gcc to 9.x
- use lief wheel from https://pypi.org/project/lief/0.12.3/#files

Co-authored-by: Dakoda Greaves <dakoda@xanimo.net>
2023-05-23 09:38:04 +02:00
Patrick Lodder
a77bcf0f46
build: integrate lief-based checks into gitian descriptors
Integrates modernized security and symbol checks into all bionic
gitian descriptors - uses the precompiled bionic-specific lief
wheel from depends.dogecoincore.org to save an hour build time on
each gitian host. This does require pre-downloading the wheel file
like done for the osx SDK.

- replaces python2 with python3 in descriptors
- adds python3-setuptools and python3-pip
- now requires lief-0.12.3-cp36-cp36m-linux_x86_64.whl to be
  present in the gitian-builder/inputs folder
- installs the wheel prior to installing dependencies
- enables symbol check for windows
- enables security check for osx
- adds automatic wheel download to gitian-build.sh
2023-01-22 03:56:49 +01:00
Patrick Lodder
502f0f5c28
devtools: reconfigure symbol-check for Dogecoin 1.14 targets
Reconfigures the Bitcoin 24.0.1 symbol-check.py script to honor
the maximum versions of dynamic symbols, the allowed system
dependencies and allowed symbol exports. This is important to
maintain when doing minor releases, because changes in these
would potentially lock people out of security updates.

This adds specification of the linker-loader name for i686
binaries because Bitcoin Core no longer supports that
architecture.

The spec was taken from:
https://sourceware.org/glibc/wiki/ABIList?action=recall&rev=16

Please note that:
- aarch64 binaries have had a glibc 2.17 requirement since the
  first release with 1.14.0, and therefore have a higher glibc
  target than all other linux binaries.
- All other values have been taken from the Dogecoin Core v1.14.6
  tag, commit 3a29ba6d4.
- Additional win32 and win64 needed libraries have been reverse
  engineered from 1.14.6 release binaries.
- Windows minimum version checks have been disabled, as these
  need to be set on the release binaries before we check for it.
2023-01-22 03:55:02 +01:00
Patrick Lodder
236fd879f8
devtools: disable currently unsupported security checks
Disables checks from Bitcoin 24.0.1 security-check.py code that
we currently cannot support on Dogecoin Core without changes to
the build process

    - separate-code needs linking using binutils 2.31 and/or
      explicit linking with -z,separate-code on binutils 2.30+
    - CONTROL_FLOW can be enabled after building with gcc-8
      or later. This would require at least a Ubuntu Focal
      Gitian implementation, and -fcf-protection enabled on
      the boost dependency.
    - HIGH_ENTROPY_VA and RELOC_SECTION checks for Windows
      binaries need fixes for dogecoin-cli, dogecoin-tx and
      test binaries, so that ASLR can be used for these binaries
      the same way it was done for dogecoind and dogecoin-qt.

These checks can be re-enabled once these security features are
enabled on release binaries (i.e. those built with Gitian)
2023-01-22 03:55:02 +01:00
Patrick Lodder
20eff509e8
devtools: backport lief-based security and symbol checkers
Takes the security and symbol checkers from Bitcoin Core v24.0.1
because this uses the python3 capable lief module for reading
multi-platform binaries. This helps getting rid of
incompatibilities when using these tools in Ubuntu releases newer
than Bionic (18.04) and by using the external module, reduces risk
and maintenance cost of custom code.

This commit does NOT reconfigure for Dogecoin 1.14.7 parametrization

Backported from state at: b3f866a8@bitcoin/bitcoin
2023-01-22 03:55:01 +01:00
Dakoda Greaves
db5336148b
gitian: change python to python3 in osx descriptor 2023-01-13 13:21:54 -08:00
Anthony Chen
ec965dd9e9 update snap packaging for 1.14.6 2022-08-27 02:41:42 -04:00
Old Dip Tracker
2c33c07ceb
Merge pull request #3066 from acerix/patch-1
Fix invalid settings in dogecoind.service
2022-07-26 16:15:09 -04:00
Dylan Ferris
3a37138fcd
Fix invalid settings in dogecoind.service
Fix https://github.com/dogecoin/dogecoin/issues/3065
2022-07-21 20:02:27 -04:00
alamshafil
4e4cab65cb
contrib: Add alamshafil's gitian key 2022-07-19 13:35:27 -04:00
Old Dip Tracker
6add415c13
Merge pull request #3050 from xanimo/1.14.6-dev
update xanimo-key.pgp
2022-07-18 14:52:04 -04:00
chromatic
df20a6656a
Merge pull request #3032 from patricklodder/1.14.6-simplified-translation-checker
contrib: port translation script to Dogecoin usecase
2022-07-18 10:08:58 -07:00
chromatic
0db6264e6c
Merge pull request #3049 from patricklodder/plddr-key-update
update patricklodder-key.pgp
2022-07-18 10:08:43 -07:00
Patrick Lodder
4c9bb96585
update patricklodder-key.pgp 2022-07-17 03:54:32 +02:00
Dakoda Greaves
fb10e8ad04
contrib: update expired gitian signing key for xanimo 2022-07-16 18:51:24 -07:00
Patrick Lodder
87bd548807
Update copyright headers in files
Detected changes since fork from Bitcoin Core 0.14 and either
updated the Dogecoin Core developer copyright, or added a line
for it.

Script can be found at:

https://gist.github.com/patricklodder/210a449896ece9ca4a8f872328198e3f
2022-07-16 20:18:50 +02:00
Patrick Lodder
50bb0e2065
contrib: port translation script to Dogecoin usecase 2022-07-15 21:30:17 +02:00
Patrick Lodder
3845240ff7
gitian: minor fixups
- explain apt-cacher post-installation tasks
- change doc example to 1.14.5 because 1.14.4 expects trusty
- remove pressure on bitcoincore.org by downloading files from
  dogecoincore.org
2022-06-12 02:47:51 +02:00
AbcSxyZ
bc6d4f64ee
gitian: re-integrate and fix up #2396
- undelete & update previous script
- update description + comments
- reorganize help menu of gitian-build.sh
- rewrite option explanation for --sign with gpg
- remove docker reference from setup option
- update documentation
- re-enable external signing
- re-enable apt cacher and use apt cacher by default
- switch from trusty to bionic
- remove gpg key verification + display message for
  detached signature
- revert script name change for sign descriptors
- list pgp in required dependencies + remove apache
2022-05-28 14:56:18 +02:00
Micael Malta
3153bfa186
Gitian builder 2022-05-28 14:56:14 +02:00
vertiond
9672c21ad6 Add install_db5 script 2021-12-13 00:57:31 -06:00
Patrick Lodder
8d6f5166f9
Merge pull request #2684 from AbcSxyZ/abcsxyz-key
gitian: add abcsxyz's pgp public key
2021-11-08 11:38:44 -05:00
Patrick Lodder
93c94f1453
Merge pull request #2678 from xanimo/xanimo-key-add
xanimo key
2021-11-08 11:01:18 -05:00
AbcSxyZ
72aed2e54b add abcsxyz pgp key 2021-11-08 16:49:59 +01:00
fdov
fd9be15cfd
Add fdov's gitian key 2021-11-08 08:12:21 +01:00
Dakoda Greaves
9ce5c9f5d0
xanimo key 2021-11-07 16:35:42 -08:00
Ross Nicoll
b2a55984f8
Merge pull request #2551 from crozone/1.14.5-dev
Hardened systemd unit file
2021-10-23 19:56:53 +01:00
Patrick Lodder
cc082a7678
tools: backport commit-script-check.sh
from: bitcoin/bitcoin 08f3dbb
original path: test/lint/commit-script-check.sh
2021-10-18 03:50:56 +02:00
Ryan Crosby
8632c83881 Harden systemd unit file
Use simple invocation type instead of forking daemon

Add alternative unit file for /usr/local installs

Add /opt/ systemd unit variant

Fix comments

Add 3GB memory limit to systemd unit

Restore newlines at end of systemd unit files

Remove "via official sources" comment from the opt systemd unit file

Use term "variant" instead of "variation" since the former is more
specific and correct for this context

Correct dogecoin package directory from "dogecoind" to "dogecoin"

Use tarball bin path

Co-authored-by: Patrick Lodder <patricklodder@users.noreply.github.com>
2021-10-05 19:33:54 +11:00
fanquake
aae64a9937
build: remove mingw linker workaround from win gitian descriptor
This workaround was added as part of the switch to gitian building using Ubuntu 14.04 (#6900).
However, it should no longer be required, as we have switched to Bionic (#13171), and that
has a far newer version of binutils.

binutils patch: https://sourceware.org/bugzilla/show_bug.cgi?id=16192

Cherry-picked from: bd3f5a90
2021-09-29 20:50:11 +02:00
Patrick Lodder
0c92645c9c
build: change gitian descriptors to use bionic
- all: change suite to bionic instead of trusty
- linux: change gcc version to 7
- win: remove g++ from faketime_progs
- win: wrap *-posix compilers rather than plain mingw
- win: install 'rename'
2021-09-29 20:50:10 +02:00
Chun Kuan Lee
a7ed71e78f
Add stdin, stdout, stderr to ignored export list
Cherry-picked from: 253f592
2021-09-29 20:50:10 +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
cg
20d2cbc2fe snap packaging for 1.14.5 2021-08-20 23:09:51 -04:00
Patrick Lodder
9569222b7b
contrib: fix generate-seeds.py to use Dogecoin p2p ports 2021-08-15 03:09:45 +02:00
Zach Latta
5c6017aad4 Move shell.nix contents into separate file 2021-08-03 14:46:51 -04:00
Ross Nicoll
0487794b7c
Refine Snap verification message
Refine Snap verification message to accurately reflect it's checking secure hashes,
not signatures. Checking signature would entail verifying there is a signature from a
trusted person, not just that the hash matches a value in the known values list.
2021-07-14 21:26:56 +01:00
Ross Nicoll
5e4441235b
Merge pull request #1904 from slightlyskepticalpotat/snap-support-2021
Snap Support
2021-07-14 21:23:11 +01:00
Patrick Lodder
783a2b5504
[depends] fix all osslsigncode urls 2021-07-11 19:14:04 +02:00
Micael Malta
c5d1f6dfee
Update contrib/gitian-build.sh
Co-authored-by: Ross Nicoll <rnicoll@rnicoll.name>
2021-06-28 16:40:51 -04:00
Malta Micael
fb793ef52a
[GITIAN] upgrade builder
FIX:

GIT: fatal unknown date format format-local:%F %T
OSSLSIGNCODE: new depedency url
LXC: lxcbr0: ERROR while getting interface flags: No such device

DOGECOIN: branding
2021-06-27 14:11:10 -04:00
cg
13ac67551a Add and document snap support 2021-05-28 16:27:25 -04:00