-
Notifications
You must be signed in to change notification settings - Fork 461
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
161 additions
and
81 deletions.
There are no files selected for viewing
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 @@ | ||
Source: nethermind | ||
Section: net | ||
Priority: optional | ||
Maintainer: Demerzel Solutions Limited <devops@nethermind.io> | ||
Build-Depends: debhelper-compat (= 11) | ||
Standards-Version: 4.6.0 | ||
Homepage: https://nethermind.io/nethermind-client | ||
Vcs-Browser: https://github.com/NethermindEth/nethermind | ||
Vcs-Git: https://github.com/NethermindEth/nethermind.git | ||
Rules-Requires-Root: no | ||
|
||
Package: nethermind | ||
Architecture: amd64 arm64 | ||
Depends: ${misc:Depends}, ${shlibs:Depends}, libsnappy-dev | ||
Description: A robust execution client for Ethereum node operators. | ||
Nethermind is a high-performance, highly configurable Ethereum execution client built on .NET that runs on Linux, Windows, and macOS and supports Clique, Aura, and Ethash. With breakneck sync speeds and support for external plugins, it provides reliable access to rich on-chain data thanks to a high-performance JSON-RPC interface and node health monitoring with Grafana and Seq. |
File renamed without changes.
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,64 @@ | ||
#!/bin/bash | ||
# SPDX-FileCopyrightText: 2024 Demerzel Solutions Limited | ||
# SPDX-License-Identifier: LGPL-3.0-only | ||
|
||
set -e | ||
|
||
# summary of how this script can be called: | ||
# * <postinst> `configure' <most-recently-configured-version> | ||
# * <old-postinst> `abort-upgrade' <new version> | ||
# * <conflictor's-postinst> `abort-remove' `in-favour' <package> | ||
# <new-version> | ||
# * <postinst> `abort-remove' | ||
# * <deconfigured's-postinst> `abort-deconfigure' `in-favour' | ||
# <failed-install-package> <version> `removing' | ||
# <conflicting-package> <version> | ||
# for details, see https://www.debian.org/doc/debian-policy/ or | ||
# the debian-policy package | ||
|
||
case "$1" in | ||
configure) | ||
arch=$(uname -m) | ||
|
||
if [[ "$arch" == arm* ]]; then | ||
url=to_be_replaced | ||
hash=to_be_replaced | ||
else | ||
url=to_be_replaced | ||
hash=to_be_replaced | ||
fi | ||
|
||
echo "Downloading $url" | ||
curl -L -# $url -o nethermind.zip | ||
|
||
echo "$hash nethermind.zip" | sha256sum -c - || exit 1 | ||
|
||
echo "Extracting archive..." | ||
unzip -oq nethermind.zip -d nethermind | ||
|
||
echo "Starting package install..." | ||
mkdir -p /usr/share/nethermind | ||
cp -rf nethermind/* /usr/share/nethermind | ||
ln -sf /usr/share/nethermind/nethermind /usr/bin/nethermind | ||
|
||
rm -rf nethermind | ||
rm -f nethermind.zip | ||
|
||
echo "Successfully installed" | ||
;; | ||
|
||
abort-upgrade|abort-remove|abort-deconfigure) | ||
;; | ||
|
||
*) | ||
echo "postinst called with unknown argument \`$1'" >&2 | ||
exit 1 | ||
;; | ||
esac | ||
|
||
# dh_installdeb will replace this with shell code automatically | ||
# generated by other debhelper scripts. | ||
|
||
#DEBHELPER# | ||
|
||
exit 0 |
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,48 @@ | ||
#!/bin/bash | ||
# SPDX-FileCopyrightText: 2024 Demerzel Solutions Limited | ||
# SPDX-License-Identifier: LGPL-3.0-only | ||
|
||
set -e | ||
|
||
## summary of how this script can be called: | ||
# * <postrm> `remove' | ||
# * <postrm> `purge' | ||
# * <old-postrm> `upgrade' <new-version> | ||
# * <new-postrm> `failed-upgrade' <old-version> | ||
# * <new-postrm> `abort-install' | ||
# * <new-postrm> `abort-install' <old-version> | ||
# * <new-postrm> `abort-upgrade' <old-version> | ||
# * <disappearer's-postrm> `disappear' <overwriter> | ||
# <overwriter-version> | ||
# for details, see https://www.debian.org/doc/debian-policy/ or | ||
# the debian-policy package | ||
|
||
case "$1" in | ||
purge) | ||
rm -f /usr/bin/nethermind | ||
rm -rf /usr/share/nethermind | ||
;; | ||
|
||
remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) | ||
if [[ -d /usr/share/nethermind ]]; then | ||
cd /usr/share/nethermind | ||
|
||
for dir in *; do | ||
[[ "$dir" == @("nethermind_db"|"keystore") ]] && continue | ||
rm -rf "$dir" | ||
done | ||
fi | ||
;; | ||
|
||
*) | ||
echo "postrm called with unknown argument \`$1'" >&2 | ||
exit 1 | ||
;; | ||
esac | ||
|
||
# dh_installdeb will replace this with shell code automatically | ||
# generated by other debhelper scripts. | ||
|
||
#DEBHELPER# | ||
|
||
exit 0 |
1 change: 0 additions & 1 deletion
1
scripts/deployment/debian/rules → scripts/deployment/ppa/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 |
---|---|---|
@@ -1,5 +1,4 @@ | ||
#!/usr/bin/make -f | ||
#export DH_VERBOSE = 1 | ||
|
||
%: | ||
dh $@ |
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 @@ | ||
3.0 (native) |
This file was deleted.
Oops, something went wrong.