Skip to content

Commit

Permalink
Merge pull request #446 from eth-pkg/upcoming/bookworm/amd64/eth-node…
Browse files Browse the repository at this point in the history
…-reth/1.2.1-1

upcoming/bookworm/amd64/eth-node-reth/1.2.1-1
  • Loading branch information
eenagy authored Mar 4, 2025
2 parents bcc8db5 + 935f7a0 commit 11f4067
Show file tree
Hide file tree
Showing 11 changed files with 169 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
eth-node-reth (1.2.1-1) bookworm; urgency=medium

* Support for 1.2.1-1

-- Eniko Nagy <[email protected]> Tue, 04 Mar 2025 07:18:26 +0100

18 changes: 18 additions & 0 deletions releases/bookworm/amd64/eth-node-reth/1.2.1-1/eth-node-reth.sps
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name = "eth-node-reth"
architecture = "any"
summary = "Modular, contributor-friendly and blazing-fast implementation of the Ethereum protocol"
conflicts = []
recommends = []
provides = ["eth-node-execution-client (= 1)"]
suggests = ["eth-node (= 1)"]
add_files = ["target/maxperf/reth /usr/lib/eth-node-reth/bin"]
add_links = ["/usr/lib/eth-node-reth/bin/reth /usr/bin/reth"]

add_manpages = []
long_doc = """
Reth (short for Rust Ethereum, pronunciation) is a new Ethereum full node implementation
that is focused on being user-friendly, highly modular, as well as being fast and efficient.
Reth is an Execution Layer (EL) and is compatible with all Ethereum Consensus Layer (CL)
implementations that support the Engine API. It is originally built and driven forward by Paradigm,
and is licensed under the Apache and MIT licenses.
"""
11 changes: 11 additions & 0 deletions releases/bookworm/amd64/eth-node-reth/1.2.1-1/eth-node-reth.sss
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name = "eth-node-reth"
maintainer = "Eniko Nagy <[email protected]>"
section = "net"
variants = []
build_depends = [
"pkg-config",
"libclang-dev",
]
packages = ["eth-node-reth"]
skip_debug_symbols = true

Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[verify]
package_hash=[
{ hash="611dc361c667ec3b21ea2714ff697176179760c4", name= "eth-node-reth_1.2.1-1.dsc"},
{ hash="c05f5856b7e848d6f083c37d7f84d6ead4acc0b7", name= "eth-node-reth_1.2.1.orig.tar.gz"},
{ hash="0cf43b6a363d943c4b7af8dae9118cde6fea140a", name= "eth-node-reth_1.2.1-1.debian.tar.xz"},
{ hash="ec07297016d04965f17f1e3cb5b9c58fbb2974c8", name= "eth-node-reth_1.2.1-1_amd64.deb"},
]
53 changes: 53 additions & 0 deletions releases/bookworm/amd64/eth-node-reth/1.2.1-1/pkg-builder.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
[package_fields]
spec_file = "eth-node-reth.sss"
package_name = "eth-node-reth"
version_number = "1.2.1"
revision_number = "1"
homepage="https://github.com/paradigmxyz/reth"

[package_type]
# virtual | git | default
package_type="default"
tarball_url = "https://github.com/paradigmxyz/reth/archive/refs/tags/v1.2.1.tar.gz"
## Provided by debian package maintainer not by team developing the software
tarball_hash = "eae556883f73d0d41280508688050f55932137efb78bf179f130d738b0888453"

[package_type.language_env]
language_env = "rust"
rust_version="1.82.0"
rust_binary_url="https://static.rust-lang.org/dist/rust-1.82.0-x86_64-unknown-linux-gnu.tar.xz"
rust_binary_gpg_asc="""
-----BEGIN PGP SIGNATURE-----
wsFcBAABCgAQBQJnETfLCRCFq5bm+hvl/gAAq+EQAKMzgOG8RV5vBC7hcGQUXoCx
xxr7W9eZmCPrv7cqWY0DRzRsMvv/sI/4G57eLRhxHF0/cTD15KfAeD9ZoqOjahkX
EoZhkq3O0XdrdnWirLQu1J89+DT8U761goXDSB9nNgYi9fohCJiKF2JORtYMxicO
wPRpItxtlN3OSJh+f5OPVHrZc3MjjlkWBFLakI+H35oWnnUHnswdwa3YiMKV3OCz
DLT3CvPkzb53Aeq/HLdWwqEi7lSGiPCQtUo+E2flhn+h2sdVt/crQuVTdLAr4JAp
zQZOt3cp04eUu3bM3kCUtIE8zobnkMWrslcafJ3+KDtD+kGVNMPs+4skGcHnI6se
Yoaft5bQIz1Ns5aTwAVchMUKu0+xpqSdwxParMbavkuERJrhEXtQII9U6hPS1euy
bOdbptAmRevO4OUPLRoq8vd5fQr0BIIBoZ/rIhN3Balwomg+Pt2U8Xvs1j6uxA9+
wo2BLzlPTDU76UOqy/0G98m9rqDz99laJLPMtUX5/hFr1oTKULW86Zzm84s7sIVo
UPBLfb67TpSTH2U+La7tL3CDMiE4Z8oDnu4yg/wqtkaob6NP4M3ff4rAQFcsU//T
qJXm6ny+LF4sLJNtJ9Hhi5gPKJvhLLxNSCiAq/pa/DNatznEIiyf6S7FVE2uUgga
dptVmTkw5PF9hDyOfOM4
=/pC6
-----END PGP SIGNATURE-----
"""

[build_env]
codename="bookworm"
arch = "amd64"
pkg_builder_version="0.2.11"
debcrafter_version = "2711b53"
# needed for tests
docker=true
run_lintian=true
run_piuparts=true
run_autopkgtest=true
lintian_version="2.116.3"
piuparts_version="1.1.7"
autopkgtest_version="5.28"
sbuild_version="0.85.6"
# package directory
workdir="~/.pkg-builder/packages/bookworm"
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
eth-node-reth: maintainer-script-ignores-errors [postrm]
eth-node-reth: no-manual-page [usr/bin/reth]
eth-node-reth: synopsis-too-long
eth-node-reth: copyright-without-copyright-notice
eth-node-reth: extended-description-line-too-long line 1
eth-node-reth: extended-description-line-too-long line 2
eth-node-reth: extended-description-line-too-long line 3
eth-node-reth: extended-description-line-too-long line 4
eth-node-reth: initial-upload-closes-no-bugs [usr/share/doc/eth-node-reth/changelog.Debian.gz:1]
eth-node-reth: zero-byte-file-in-doc-directory [usr/share/doc/eth-node-reth/copyright]
32 changes: 32 additions & 0 deletions releases/bookworm/amd64/eth-node-reth/1.2.1-1/src/debian/rules
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
#!/usr/bin/make -f
export CARGO_HOME=$(HOME)/.cargo
export PATH:=$(PATH):$(CARGO_HOME)/bin
export FEATURES=jemalloc
export PROFILE=maxperf
export VERGEN_BUILD_TIMESTAMP=2025-03-04T07:18Z
export VERGEN_GIT_SHA=baf5dcc0d51f44a81f5f6a42c093c05511d118b2

%:
dh $@

override_dh_auto_build:
make build

override_dh_auto_test:
#make test-unit
# This will modify the environment
# But we already built the binaries at this point, so it's okay
# tests are flaky
#make ef-tests

override_dh_auto_install:
# install is not the same as debian install, ignore it
# don't want to compile the client twice

override_dh_auto_clean:
# on ubuntu clean fails, before dependency installation
# on bookworm clean succeeds, even if dependency is not installed
-make -j1 clean

override_dh_strip:
dh_strip --no-automatic-dbgsym
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
eth-node-reth source: debian-rules-ignores-make-clean-error [debian/rules:29]
eth-node-reth source: no-newline-at-end [debian/changelog]
eth-node-reth source: rc-version-greater-than-expected-version 1.0.0-rc.2 > 1.0.0 (consider using 1.0.0~rc.2) [debian/changelog:1]

Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# These tests are run by autopkgtests

Tests: tests
Depends: @, shunit2, which
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
#!/usr/bin/env sh

exec 2>&1

set -e

test_binary_in_path() {
output="$(which reth)"
assertEquals "/usr/bin/reth" "$output"
}

test_invocation() {
output="$(reth --version)"
echo "$output"
# checked against https://github.com/paradigmxyz/reth/releases/download/v0.2.0-beta.8/reth-v0.2.0-beta.8-x86_64-unknown-linux-gnu.tar.gz
assertEquals "$output" "reth Version: 1.2.1
Commit SHA: baf5dcc0d51f44a81f5f6a42c093c05511d118b2
Build Timestamp: 2025-03-04T07:18Z
Build Features: jemalloc
Build Profile: maxperf"
}

. shunit2

0 comments on commit 11f4067

Please sign in to comment.