-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #372 from eth-pkg/upcoming/bookworm/amd64/eth-node…
…-lighthouse/6.0.1-1 upcoming/bookworm/amd64/eth-node-lighthouse/6.0.1-1
- Loading branch information
Showing
11 changed files
with
213 additions
and
0 deletions.
There are no files selected for viewing
6 changes: 6 additions & 0 deletions
6
releases/bookworm/amd64/eth-node-lighthouse/6.0.1-1/eth-node-lighthouse.changelog
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
eth-node-lighthouse (6.0.1-1) bookworm; urgency=medium | ||
|
||
* Support for 6.0.1-1 | ||
|
||
-- Eniko Nagy <[email protected]> Mon, 16 Dec 2024 12:04:16 +0100 | ||
|
16 changes: 16 additions & 0 deletions
16
releases/bookworm/amd64/eth-node-lighthouse/6.0.1-1/eth-node-lighthouse.sps
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
name = "eth-node-lighthouse" | ||
architecture = "any" | ||
summary = "An open-source Ethereum consensus client, written in Rust and maintained by Sigma Prime." | ||
conflicts = [] | ||
recommends = [] | ||
provides = ["eth-node-consensus-client (= 1)"] | ||
suggests = ["eth-node (= 1)"] | ||
add_files = ["target/maxperf/lighthouse /usr/lib/eth-node-lighthouse/bin"] | ||
add_links = ["/usr/lib/eth-node-lighthouse/bin/lighthouse /usr/bin/lighthouse"] | ||
|
||
add_manpages = [] | ||
long_doc = """ | ||
Lighthouse is an Ethereum consensus client that connects | ||
to other Ethereum consensus clients to form a resilient | ||
and decentralized proof-of-stake blockchain. | ||
""" |
20 changes: 20 additions & 0 deletions
20
releases/bookworm/amd64/eth-node-lighthouse/6.0.1-1/eth-node-lighthouse.sss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
name = "eth-node-lighthouse" | ||
maintainer = "Eniko Nagy <[email protected]>" | ||
section = "net" | ||
variants = [] | ||
build_depends = [ | ||
"curl", | ||
"git", | ||
"cmake (>= 3.12)", | ||
"pkg-config", | ||
"llvm-dev", | ||
"libclang-dev", | ||
"libpq-dev", | ||
"clang", | ||
"libsnappy-dev", | ||
"librust-cmake-dev", | ||
"wget" | ||
] | ||
packages = ["eth-node-lighthouse"] | ||
skip_debug_symbols = true | ||
|
7 changes: 7 additions & 0 deletions
7
releases/bookworm/amd64/eth-node-lighthouse/6.0.1-1/pkg-builder-verify.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
[verify] | ||
package_hash=[ | ||
{ hash="7951b0aa78087d3bdc2c3b1107ecbfff637da533", name= "eth-node-lighthouse_6.0.1-1.dsc"}, | ||
{ hash="94c9dbfdc7a4673b242dece32383a73fc7c1620f", name= "eth-node-lighthouse_6.0.1.orig.tar.gz"}, | ||
{ hash="96d61519a46c26e05115217a6a4a1cc8a7a359cc", name= "eth-node-lighthouse_6.0.1-1.debian.tar.xz"}, | ||
{ hash="5714fcf13e99b66d6ac68075ef904454db76725c", name= "eth-node-lighthouse_6.0.1-1_amd64.deb"}, | ||
] |
53 changes: 53 additions & 0 deletions
53
releases/bookworm/amd64/eth-node-lighthouse/6.0.1-1/pkg-builder.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
[package_fields] | ||
spec_file = "eth-node-lighthouse.sss" | ||
package_name = "eth-node-lighthouse" | ||
version_number = "6.0.1" | ||
revision_number = "1" | ||
homepage="https://github.com/sigp/lighthouse" | ||
|
||
[package_type] | ||
# virtual | git | default | ||
package_type="default" | ||
tarball_url = "https://github.com/sigp/lighthouse/archive/refs/tags/v6.0.1.tar.gz" | ||
## Provided by debian package maintainer not by team developing the software | ||
tarball_hash = "8a8f43f099bed624318aaabbf3811e78a0171c7fb4e5e30f7e66ab70bbe40a1c" | ||
|
||
[package_type.language_env] | ||
language_env = "rust" | ||
rust_version="1.80.0" | ||
rust_binary_url="https://static.rust-lang.org/dist/rust-1.80.0-x86_64-unknown-linux-gnu.tar.xz" | ||
rust_binary_gpg_asc=""" | ||
-----BEGIN PGP SIGNATURE----- | ||
wsFcBAABCgAQBQJmojj/CRCFq5bm+hvl/gAAi3sP+QG3gZE1dkfvBekboErT06B6 | ||
x0WvX804JYXqUZ4RLkL/va5l2qv/9SyxXg/kkWXFYcH6f4YetNKULDsw4nzFxYp0 | ||
l40BO6u/rkVlZNlXZG6cwH4/85TWDq5B2q3jjH0edAalxyWg4X8axeMxJlPc1rfZ | ||
sk2Vb8xeRX4N+3tK72G9yk/oENS3+ql8KKyULiVDDSKAo52irWEa7rdy7Wf+sccS | ||
JcdTyoaELAX6ehnopjGWY1sBQShUNsfWmJIko/r/jHbF+yev2mgJLWudnt2DSS00 | ||
2uFHdw1dvusttetr1pCaO8/lNkrre3TrpZO/G+9eWsGfYjS6mrFLgZ20QY7bPsm+ | ||
6UV76EyHw9rr3IXS67xjWGwq5o2L14Mz1yWpd+52GyQQjmsJ38EBn68IGbuaL+Vx | ||
tVRFKBeaiOsKTfaQFLYbsvMcTBGUN/rCJGYnNE2f/DyIB09f7K8A67zgMKlJcA95 | ||
W+SffkgIRdr4VinUKMKlxiDhC8E8Ui9ELhspI1ePGINMuuYMY9MgO0kv+kMjeN71 | ||
FcEV2PJ7tzK41yNfKreWG8O1Cd4iy2zb/TzfmFKQBJr9W7pq+5VBB1UYDT8ijwXl | ||
nqoketEWbKjQ8BmczA8snkKlV4rXSdr6ASVRBDzNLcj+/brt02vuW2AoIkkNJN0p | ||
jLlWAGKzzn+fUhIAPObF | ||
=wO+a | ||
-----END PGP SIGNATURE----- | ||
""" | ||
|
||
[build_env] | ||
codename="bookworm" | ||
arch = "amd64" | ||
pkg_builder_version="0.2.8" | ||
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" |
31 changes: 31 additions & 0 deletions
31
releases/bookworm/amd64/eth-node-lighthouse/6.0.1-1/src/debian/copyright
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ | ||
Upstream-Name: lighthouse | ||
Upstream-Contact: https://github.com/sigp/lighthouse | ||
Source: <https://github.com/sigp/lighthouse> | ||
# | ||
# Please double check copyright with the licensecheck(1) command. | ||
|
||
Files: * | ||
Copyright: Copyright 2018 Sigma Prime Pty Ltd | ||
License: Apache-2.0 | ||
|
||
Files: consensus/types/src/execution_block_header.rs | ||
Copyright: 2022 Reth Contributors | ||
License: Expat | ||
|
||
Files: beacon_node/execution_layer/src/keccak.rs | ||
Copyright: 2017-2018 Parity Technologies | ||
License: Apache-2.0 | ||
|
||
|
||
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. |
5 changes: 5 additions & 0 deletions
5
...okworm/amd64/eth-node-lighthouse/6.0.1-1/src/debian/eth-node-lighthouse.lintian-overrides
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
eth-node-lighthouse: initial-upload-closes-no-bugs [usr/share/doc/eth-node-lighthouse/changelog.Debian.gz:1] | ||
eth-node-lighthouse: maintainer-script-ignores-errors [postrm] | ||
eth-node-lighthouse: no-manual-page [usr/bin/lighthouse] | ||
eth-node-lighthouse: description-synopsis-starts-with-article | ||
eth-node-lighthouse: synopsis-too-long |
42 changes: 42 additions & 0 deletions
42
releases/bookworm/amd64/eth-node-lighthouse/6.0.1-1/src/debian/rules
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
#!/usr/bin/make -f | ||
export CARGO_HOME=$(HOME)/.cargo | ||
export PATH:=$(PATH):$(CARGO_HOME)/bin | ||
# same as CROSS_FEATURES, but packaging don't use cross | ||
# cross relies on rustup, which pkg-builder doesn't use | ||
# cross uses dockerized environment for building, which we don't need | ||
# pkg-builder uses chroot instead of docker, chroot is much more lightweight | ||
# chroot is the debian way | ||
export FEATURES=modern,gnosis,jemalloc | ||
export PROFILE=maxperf | ||
export CARGO_INSTALL_EXTRA_FLAGS | ||
|
||
%: | ||
dh $@ | ||
|
||
|
||
override_dh_auto_test: | ||
# Install additional test dependency | ||
cd /tmp && curl -s -L https://github.com/foundry-rs/foundry/releases/download/nightly-ca67d15f4abd46394b324c50e21e66f306a1162d/foundry_nightly_linux_amd64.tar.gz -o foundry_nightly_linux_amd64.tar.gz | ||
cd /tmp && tar xvf foundry_nightly_linux_amd64.tar.gz | ||
cp /tmp/anvil $(HOME)/.cargo/bin | ||
anvil --version # check if it correctly installed | ||
cargo test --workspace --release --features "$(TEST_FEATURES)" \ | ||
--exclude ef_tests --exclude beacon_chain --exclude slasher --exclude network \ | ||
--exclude lighthouse_metrics \ | ||
--exclude web3signer_tests \ | ||
--exclude watch # Same as make test-release, except additionally disabling docker tests | ||
#fails | ||
#make run-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 |
4 changes: 4 additions & 0 deletions
4
releases/bookworm/amd64/eth-node-lighthouse/6.0.1-1/src/debian/source/lintian-overrides
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
eth-node-lighthouse source: debian-rules-ignores-make-clean-error [debian/rules:39] | ||
eth-node-lighthouse source: missing-field-in-dep5-copyright Copyright [debian/copyright:21] | ||
eth-node-lighthouse source: missing-license-paragraph-in-dep5-copyright expat [debian/copyright:14] | ||
eth-node-lighthouse source: no-newline-at-end [debian/changelog] |
4 changes: 4 additions & 0 deletions
4
releases/bookworm/amd64/eth-node-lighthouse/6.0.1-1/src/debian/tests/control
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
25 changes: 25 additions & 0 deletions
25
releases/bookworm/amd64/eth-node-lighthouse/6.0.1-1/src/debian/tests/tests
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#!/usr/bin/env sh | ||
|
||
exec 2>&1 | ||
|
||
set -e | ||
|
||
test_binary_in_path(){ | ||
output="$(which lighthouse)" | ||
assertEquals "/usr/bin/lighthouse" "$output" | ||
} | ||
|
||
test_invocation(){ | ||
output="$(lighthouse --version)" | ||
echo "$output" | ||
# checked against https://github.com/sigp/lighthouse/releases/download/v4.5.0/lighthouse-v4.5.0-x86_64-unknown-linux-gnu.tar.gz | ||
assertEquals "$output" "Lighthouse v6.0.1 | ||
BLS library: blst-modern | ||
BLS hardware acceleration: true | ||
SHA256 hardware acceleration: true | ||
Allocator: jemalloc | ||
Profile: maxperf | ||
Specs: mainnet (true), minimal (false), gnosis (true)" | ||
} | ||
|
||
. shunit2 |