Skip to content

Commit

Permalink
upcoming/bookworm/amd64/eth-node-geth/1.15.4-1
Browse files Browse the repository at this point in the history
  • Loading branch information
eenagy committed Mar 2, 2025
1 parent 5bd868a commit 01aaf05
Show file tree
Hide file tree
Showing 11 changed files with 194 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
eth-node-geth (1.15.4-1) bookworm; urgency=medium

* Support for 1.15.4-1

-- Eniko Nagy <[email protected]> Sun, 02 Mar 2025 07:53:02 +0100

30 changes: 30 additions & 0 deletions upcoming/bookworm/amd64/eth-node-geth/1.15.4-1/eth-node-geth.sps
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name = "eth-node-geth"
architecture = "any"
summary = "Golang execution layer implementation of the Ethereum protocol."
conflicts = []
recommends = []
provides = ["eth-node-execution-client (= 1)"]
suggests = ["eth-node (= 1)"]
add_files = [
"build/bin/abidump /usr/lib/eth-node-geth/bin",
"build/bin/abigen /usr/lib/eth-node-geth/bin",
"build/bin/blsync /usr/lib/eth-node-geth/bin",
"build/bin/clef /usr/lib/eth-node-geth/bin",
"build/bin/devp2p /usr/lib/eth-node-geth/bin",
"build/bin/era /usr/lib/eth-node-geth/bin",
"build/bin/ethkey /usr/lib/eth-node-geth/bin",
"build/bin/evm /usr/lib/eth-node-geth/bin",
"build/bin/geth /usr/lib/eth-node-geth/bin",
"build/bin/rlpdump /usr/lib/eth-node-geth/bin",
]
add_links = ["/usr/lib/eth-node-geth/bin/geth /usr/bin/geth"]
add_manpages = []
long_doc = """
Geth (go-ethereum) is a Go implementation of Ethereum - a gateway into the decentralized web.
Geth has been a core part of Ethereum since the very beginning. Geth was one of the original Ethereum implementations making it the most battle-hardened and tested client.
Geth is an Ethereum execution client meaning it handles transactions, deployment and execution of smart contracts and contains an embedded computer known as the Ethereum Virtual Machine.
Running Geth alongside a consensus client turns a computer into an Ethereum node.
"""
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
name = "eth-node-geth"
maintainer = "Eniko Nagy <[email protected]>"
section = "net"
variants = []
build_depends = []
packages = ["eth-node-geth"]
skip_debug_symbols = true

Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[verify]
package_hash=[
{ hash="33f8ef08045a2769fa1d87d31bee8af22907410e", name= "eth-node-geth_1.15.4-1.dsc"},
{ hash="f9e0e5829e9fbc709e7835510e802b36b0fed75a", name= "eth-node-geth_1.15.4.orig.tar.gz"},
{ hash="06e3cb4a9ce73dbc9ae02f67a9f63b3d27474357", name= "eth-node-geth_1.15.4-1.debian.tar.xz"},
{ hash="08631fee156744ee4ec4b928513b922c993ceb3f", name= "eth-node-geth_1.15.4-1_amd64.deb"},
]
34 changes: 34 additions & 0 deletions upcoming/bookworm/amd64/eth-node-geth/1.15.4-1/pkg-builder.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
[package_fields]
spec_file = "eth-node-geth.sss"
package_name = "eth-node-geth"
version_number = "1.15.4"
revision_number = "1"
homepage="https://github.com/ethereum/go-ethereum"

[package_type]
# virtual | git | default
package_type="default"
tarball_url = "https://github.com/ethereum/go-ethereum/archive/refs/tags/v1.15.4.tar.gz"
## Provided by debian package maintainer not by team developing the software
tarball_hash = "6c93397f6e2b9641ff2499ebcea9691c2d6a743e47eb60512e643c3abc564637"

[package_type.language_env]
language_env = "go"
go_version = "1.22.2"
go_binary_url = "https://go.dev/dl/go1.22.2.linux-amd64.tar.gz"
go_binary_checksum = "5901c52b7a78002aeff14a21f93e0f064f74ce1360fce51c6ee68cd471216a17"

[build_env]
codename="bookworm"
arch = "amd64"
pkg_builder_version="0.2.11"
debcrafter_version = "2711b53"
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"
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: geth
Upstream-Contact: https://github.com/ethereum/go-ethereum
Source: <https://github.com/ethereum/go-ethereum>
#

Files: *
License: GPL-3

Files: debian/*
License: GPL-3

License: Apache-2.0
The full text of the Apache License, Version 2.0 is distributed in
/usr/share/common-licenses/Apache-2.0 on Debian systems.

License: GPL-3
The full text of the GPL version 3 is distributed in
/usr/share/common-licenses/GPL-3 on Debian systems.
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
eth-node-geth: statically-linked-binary [usr/lib/eth-node-geth/bin/rlpdump]

eth-node-geth: initial-upload-closes-no-bugs [usr/share/doc/eth-node-geth/changelog.Debian.gz:1]
eth-node-geth: maintainer-script-ignores-errors [postrm]
eth-node-geth: no-manual-page [usr/bin/geth]

eth-node-geth: copyright-without-copyright-notice

eth-node-geth: extended-description-line-too-long

#TODO
eth-node-geth: hardening-no-pie [usr/lib/eth-node-geth/bin/abidump]
eth-node-geth: hardening-no-pie [usr/lib/eth-node-geth/bin/abigen]
eth-node-geth: hardening-no-pie [usr/lib/eth-node-geth/bin/blsync]
eth-node-geth: hardening-no-pie [usr/lib/eth-node-geth/bin/clef]
eth-node-geth: hardening-no-pie [usr/lib/eth-node-geth/bin/devp2p]
eth-node-geth: hardening-no-pie [usr/lib/eth-node-geth/bin/ethkey]
eth-node-geth: hardening-no-pie [usr/lib/eth-node-geth/bin/evm]
eth-node-geth: hardening-no-pie [usr/lib/eth-node-geth/bin/geth]
eth-node-geth: hardening-no-pie [usr/lib/eth-node-geth/bin/era]
32 changes: 32 additions & 0 deletions upcoming/bookworm/amd64/eth-node-geth/1.15.4-1/src/debian/rules
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
#!/usr/bin/make -f
export CGO_ENABLED=0

export GIT_COMMIT ?= <GIT_COMMIT_FULL>
export GIT_BRANCH ?= main
export GIT_TAG ?= v<GIT_VERSION>

export CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS)
export CFLAGS:=$(shell dpkg-buildflags --get CFLAGS)
export CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS)
export LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS)

%:
dh $@

override_dh_dwz:
# skip of optimization of DWARF debug information in ELF binaries via dwz


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_auto_build:
make all

override_dh_auto_test:
make -j1 test

override_dh_strip:
dh_strip --no-automatic-dbgsym
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
eth-node-geth source: source-is-missing [eth/tracers/js/internal/tracers/evmdis_tracer.js]
eth-node-geth source: source-is-missing [graphql/internal/graphiql/graphiql.min.js]
eth-node-geth source: source-is-missing [graphql/internal/graphiql/react-dom.production.min.js]
eth-node-geth source: source-is-missing [graphql/internal/graphiql/react.production.min.js]
eth-node-geth source: source-is-missing [internal/jsre/deps/bignumber.js]
eth-node-geth source: source-is-missing [internal/jsre/deps/web3.js]
eth-node-geth source: source-is-missing [tests/solidity/bytecode.js]

eth-node-geth source: debian-rules-ignores-make-clean-error
eth-node-geth source: no-newline-at-end [debian/changelog]
#TODO
eth-node-geth source: source-contains-prebuilt-windows-binary [build/nsis.simplefc.dll]
eth-node-geth source: missing-field-in-dep5-copyright Copyright [debian/copyright:7]
eth-node-geth source: missing-field-in-dep5-copyright Copyright [debian/copyright:10]
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,20 @@
#!/usr/bin/env sh

exec 2>&1

set -e

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

test_invocation(){
output="$(geth --version)"
echo "$output"
# check against
# https://gethstore.blob.core.windows.net/builds/geth-alltools-linux-amd64-1.13.4-3f907d6a.tar.gz
assertEquals "geth version 1.15.4-stable" "$output"
}

. shunit2

0 comments on commit 01aaf05

Please sign in to comment.