Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

upcoming/bookworm/amd64/eth-node-geth/1.15.0-1 #405

Merged
merged 4 commits into from
Feb 7, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
eth-node-geth (1.15.0-1) bookworm; urgency=medium

* Support for 1.15.0-1

-- Eniko Nagy <[email protected]> Thu, 06 Feb 2025 15:16:34 +0100

30 changes: 30 additions & 0 deletions releases/bookworm/amd64/eth-node-geth/1.15.0-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="d105a0fa16016792097c7e7de1ad4bb06c693b2d", name= "eth-node-geth_1.15.0-1.dsc"},
{ hash="dd0dfac783c2767428f2f9e03eace2e854c1a221", name= "eth-node-geth_1.15.0.orig.tar.gz"},
{ hash="b5302b860ff625a6123219541cd4cdb3f1f259b2", name= "eth-node-geth_1.15.0-1.debian.tar.xz"},
{ hash="f387c3746068bd900143248fead35ebaf738717e", name= "eth-node-geth_1.15.0-1_amd64.deb"},
]
34 changes: 34 additions & 0 deletions releases/bookworm/amd64/eth-node-geth/1.15.0-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.0"
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.0.tar.gz"
## Provided by debian package maintainer not by team developing the software
tarball_hash = "b720c91aa6d721ba1f9ec753fa216b27880d0fdcb3204d0725d411d215507a13"

[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.9"
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 releases/bookworm/amd64/eth-node-geth/1.15.0-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.0-stable" "$output"
}

. shunit2
1 change: 0 additions & 1 deletion templates/bookworm/amd64/eth-node-geth/eth-node-geth.sps
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ 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/bootnode /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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ eth-node-geth: extended-description-line-too-long
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/bootnode]
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]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ eth-node-geth: extended-description-line-too-long
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/bootnode]
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]
Expand All @@ -22,10 +21,9 @@ eth-node-geth: hardening-no-pie [usr/lib/eth-node-geth/bin/era]

eth-node-geth: embedded-library libzstd [usr/lib/eth-node-geth/bin/abigen]
eth-node-geth: embedded-library libzstd [usr/lib/eth-node-geth/bin/blsync]
eth-node-geth: embedded-library libzstd [usr/lib/eth-node-geth/bin/bootnode]
eth-node-geth: embedded-library libzstd [usr/lib/eth-node-geth/bin/clef]
eth-node-geth: embedded-library libzstd [usr/lib/eth-node-geth/bin/devp2p]
eth-node-geth: embedded-library libzstd [usr/lib/eth-node-geth/bin/ethkey]
eth-node-geth: embedded-library libzstd [usr/lib/eth-node-geth/bin/evm]
eth-node-geth: embedded-library libzstd [usr/lib/eth-node-geth/bin/geth]
eth-node-geth: embedded-library libzstd [usr/lib/eth-node-geth/bin/era]
eth-node-geth: embedded-library libzstd [usr/lib/eth-node-geth/bin/era]