commit: b18ae5b30d1ef23d2f75ab3023bdeb67765f512d Author: Sam Wilson <sam <AT> binarycake <DOT> ca> AuthorDate: Mon May 5 18:00:36 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Fri May 23 04:57:50 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b18ae5b3
net-p2p/go-ethereum: add 1.15.11 Corrects log and transaction indexing, improves performance for tx pool reorgs, and fixes a few JSON-RPC bugs. See https://github.com/ethereum/go-ethereum/releases/tag/v1.15.11 Signed-off-by: Sam Wilson <sam <AT> binarycake.ca> Part-of: https://github.com/gentoo/gentoo/pull/41944 Closes: https://github.com/gentoo/gentoo/pull/41944 Signed-off-by: Sam James <sam <AT> gentoo.org> net-p2p/go-ethereum/Manifest | 1 + net-p2p/go-ethereum/go-ethereum-1.15.11.ebuild | 51 ++++++++++++++++++++++++++ 2 files changed, 52 insertions(+) diff --git a/net-p2p/go-ethereum/Manifest b/net-p2p/go-ethereum/Manifest index 7849cfb5fc10..399f3776ef6e 100644 --- a/net-p2p/go-ethereum/Manifest +++ b/net-p2p/go-ethereum/Manifest @@ -1 +1,2 @@ DIST go-ethereum-1.15.10.tar.xz 197362452 BLAKE2B 581542ccec9f2492ee0487500e078f079c97f03dd5473cea3acec2bd73079db141787828eb2dd9402fd47cb7749756c0e5b735f16e5d5c29ce0ca27df0c1571e SHA512 86030ac8a715ad8b9ef5d5c116992a6dcac2b99687154cd23bd0ed7bf307034de1e6758d7bcb6bf54342ecc9d720a1e182660b057f3a75d67ef392d1186a6fd1 +DIST go-ethereum-1.15.11.tar.xz 197747232 BLAKE2B 7aae6724d18d5b1f04a9f4508123a2d871aa178f5be2bdf5a80c6b32c7e0d95c67f7ebb3b162856cb209cdda69d6b60c1ce736ff73c9ed26fd36f6ff15f89a33 SHA512 47ca2cd2ab3438bc81997f2b6e97bfca0b98a20073ebcdb759c941b998f4d5eb9612f332b08ef016ca5543dcb6c5b29feb92aaec111b608e98a947c6068eeff1 diff --git a/net-p2p/go-ethereum/go-ethereum-1.15.11.ebuild b/net-p2p/go-ethereum/go-ethereum-1.15.11.ebuild new file mode 100644 index 000000000000..21c510d6866b --- /dev/null +++ b/net-p2p/go-ethereum/go-ethereum-1.15.11.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit go-env go-module + +LONG_VERSION="${PV}+build31083+oracular" +DESCRIPTION="Official golang implementation of the Ethereum protocol" +HOMEPAGE="https://github.com/ethereum/go-ethereum" +SRC_URI="https://ppa.launchpadcontent.net/ethereum/ethereum/ubuntu/pool/main/e/ethereum/ethereum_${LONG_VERSION}.tar.xz -> ${P}.tar.xz" +# Above PPA is listed as an official source here: +# https://geth.ethereum.org/docs/getting-started/installing-geth#ubuntu-via-ppas +S="${WORKDIR}/ethereum-${LONG_VERSION}" + +LICENSE="GPL-3+ LGPL-3+ MIT || ( BSD GPL-2 ) BSD-2 LGPL-2.1+ Apache-2.0 ISC MIT MPL-2.0 Unlicense" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="devtools" + +# Does all kinds of wonky stuff like connecting to Docker daemon, network activity, ... +RESTRICT+=" test" + +src_unpack() { + default + mv "${S}/.mod" "${WORKDIR}/go-mod" || die +} + +src_compile() { + go-env_set_compile_environment + emake $(usex devtools all geth) +} + +src_install() { + einstalldocs + + dobin build/bin/geth + + # TODO: replace with wildcard + if use devtools; then + dobin build/bin/abidump + dobin build/bin/abigen + dobin build/bin/blsync + dobin build/bin/clef + dobin build/bin/devp2p + dobin build/bin/era + dobin build/bin/ethkey + dobin build/bin/evm + dobin build/bin/rlpdump + fi +}
