Move things to util/ and update docs+build system references

This commit is contained in:
Jonathan "Duke" Leto
2022-09-19 06:16:25 -07:00
parent 432ea4b28b
commit 2b809c56a0
7 changed files with 10 additions and 10 deletions

View File

@@ -78,7 +78,7 @@ of a dependency or something inside of Rust, you will need `build.sh` .
Make sure that you have updated all version numbers in hushd and compiled, then Make sure that you have updated all version numbers in hushd and compiled, then
to generate new unix man pages for that version : to generate new unix man pages for that version :
./contrib/devtools/gen-manpages.sh ./util/gen-manpages.sh
## Generating new debian packages ## Generating new debian packages

View File

@@ -24,8 +24,8 @@ BITCOIN_WIN_INSTALLER=$(PACKAGE)-$(PACKAGE_VERSION)-win$(WINDOWS_BITS)-setup$(EX
DIST_DOCS = $(wildcard doc/*.md) $(wildcard doc/release-notes/*.md) DIST_DOCS = $(wildcard doc/*.md) $(wildcard doc/release-notes/*.md)
BIN_CHECKS=$(top_srcdir)/contrib/devtools/symbol-check.py \ BIN_CHECKS=$(top_srcdir)/util/symbol-check.py \
$(top_srcdir)/contrib/devtools/security-check.py $(top_srcdir)/util/security-check.py

View File

@@ -14,7 +14,7 @@ still compatible with the minimum supported Linux distribution versions.
Example usage after a gitian build: Example usage after a gitian build:
find ../gitian-builder/build -type f -executable | xargs python contrib/devtools/symbol-check.py find ../gitian-builder/build -type f -executable | xargs python util/symbol-check.py
If only supported symbols are used the return value will be 0 and the output will be empty. If only supported symbols are used the return value will be 0 and the output will be empty.

View File

@@ -61,7 +61,7 @@ Install deps on Linux:
- To make a pre-release "beta" you can modify `CLIENT_VERSION_BUILD` but that is rarely done in Hush world. - To make a pre-release "beta" you can modify `CLIENT_VERSION_BUILD` but that is rarely done in Hush world.
- A `CLIENT_VERSION_BUILD` of 50 means "actual non-beta release" - A `CLIENT_VERSION_BUILD` of 50 means "actual non-beta release"
- Make sure to keep the values in configure.ac and src/clientversion.h the same. The variables are prefixed wth an underscore in configure.ac - Make sure to keep the values in configure.ac and src/clientversion.h the same. The variables are prefixed wth an underscore in configure.ac
- Run ./contrib/devtools/gen-manpages.sh, commit + push results - Run ./util/gen-manpages.sh, commit + push results
- PROTIP: Man page creation must be done after updating the version number and recompiling and before Debian package creation - PROTIP: Man page creation must be done after updating the version number and recompiling and before Debian package creation
- Update checkpoints in src/chainparams.cpp via util/checkpoints.pl - Update checkpoints in src/chainparams.cpp via util/checkpoints.pl
- checkpoints.pl will just generate the data you need, it must be manually copied into the correct place - checkpoints.pl will just generate the data you need, it must be manually copied into the correct place
@@ -69,12 +69,12 @@ Install deps on Linux:
- Checkpoints make block verification a bit faster, because nodes can say "is this block a descendant of a checkpoint block" instead of doing full consensus checks, which take more time - Checkpoints make block verification a bit faster, because nodes can say "is this block a descendant of a checkpoint block" instead of doing full consensus checks, which take more time
- Checkpoints also provide a bit of security against some attacks that would create malicious chainforks - Checkpoints also provide a bit of security against some attacks that would create malicious chainforks
- Update man pages - Update man pages
- Update copyright years (if applicable) with contrib/devtools/replace.pl - Update copyright years (if applicable) with util/replace.pl
- Do a fresh clone and fresh sync with new checkpoints - Do a fresh clone and fresh sync with new checkpoints
- Stop node, wait 20 minutes, and then do a partial sync with new checkpoints - Stop node, wait 20 minutes, and then do a partial sync with new checkpoints
- Make Gitea release - Make Gitea release
- Make Git Tag (Gitea can do this) - Make Git Tag (Gitea can do this)
- Use contrib/devtools/gen-linux-binary-release.sh to make a Linux release binary - Use util/gen-linux-binary-release.sh to make a Linux release binary
- Use util/build-debian-package.sh to make an x86 Debian package for the release - Use util/build-debian-package.sh to make an x86 Debian package for the release
- Use util/build-debian-package-ARM.sh (does this still work?) to make an ARM Debian package for the release - Use util/build-debian-package-ARM.sh (does this still work?) to make an ARM Debian package for the release
- Upload the debian packages to the Gitea release page, with SHA256 sums - Upload the debian packages to the Gitea release page, with SHA256 sums

View File

@@ -683,13 +683,13 @@ clean-local:
check-symbols: $(bin_PROGRAMS) check-symbols: $(bin_PROGRAMS)
if GLIBC_BACK_COMPAT if GLIBC_BACK_COMPAT
@echo "Checking glibc back compat of [$(bin_PROGRAMS)]..." @echo "Checking glibc back compat of [$(bin_PROGRAMS)]..."
$(AM_V_at) READELF=$(READELF) CPPFILT=$(CPPFILT) $(top_srcdir)/contrib/devtools/symbol-check.py $(bin_PROGRAMS) $(AM_V_at) READELF=$(READELF) CPPFILT=$(CPPFILT) $(top_srcdir)/util/symbol-check.py $(bin_PROGRAMS)
endif endif
check-security: $(bin_PROGRAMS) check-security: $(bin_PROGRAMS)
if HARDEN if HARDEN
@echo "Checking binary security of [$(bin_PROGRAMS)]..." @echo "Checking binary security of [$(bin_PROGRAMS)]..."
$(AM_V_at) READELF=$(READELF) OBJDUMP=$(OBJDUMP) $(top_srcdir)/contrib/devtools/security-check.py $(bin_PROGRAMS) $(AM_V_at) READELF=$(READELF) OBJDUMP=$(OBJDUMP) $(top_srcdir)/util/security-check.py $(bin_PROGRAMS)
endif endif
%.pb.cc %.pb.h: %.proto %.pb.cc %.pb.h: %.proto

View File

@@ -10,7 +10,7 @@ still compatible with the minimum supported Linux distribution versions.
Example usage: Example usage:
find ../gitian-builder/build -type f -executable | xargs python contrib/devtools/symbol-check.py find ../gitian-builder/build -type f -executable | xargs python util/symbol-check.py
''' '''
from __future__ import division, print_function from __future__ import division, print_function
import subprocess import subprocess