From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C721E158089 for ; Sun, 3 Sep 2023 12:27:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1C9C72BC01B; Sun, 3 Sep 2023 12:27:55 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 010992BC01B for ; Sun, 3 Sep 2023 12:27:54 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 14ABC335CF4 for ; Sun, 3 Sep 2023 12:27:53 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A5B37110E for ; Sun, 3 Sep 2023 12:27:51 +0000 (UTC) From: "Haelwenn Monnier" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Haelwenn Monnier" Message-ID: <1693583546.5c96e7c4d32a77c8b24d228fc5b7148156689325.lanodan@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: net-p2p/p2pool/ X-VCS-Repository: repo/proj/guru X-VCS-Files: net-p2p/p2pool/Manifest net-p2p/p2pool/p2pool-3.6.1.ebuild X-VCS-Directories: net-p2p/p2pool/ X-VCS-Committer: lanodan X-VCS-Committer-Name: Haelwenn Monnier X-VCS-Revision: 5c96e7c4d32a77c8b24d228fc5b7148156689325 X-VCS-Branch: master Date: Sun, 3 Sep 2023 12:27:51 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 3d1707d2-d603-4e03-8cc8-b5c625e2fd80 X-Archives-Hash: c993b4579d249f9d351e91c64b80ac5a commit: 5c96e7c4d32a77c8b24d228fc5b7148156689325 Author: Adam Pimentel protonmail com> AuthorDate: Fri Sep 1 15:52:26 2023 +0000 Commit: Haelwenn Monnier hacktivis me> CommitDate: Fri Sep 1 15:52:26 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5c96e7c4 net-p2p/p2pool: version bump Signed-off-by: Adam Pimentel protonmail.com> net-p2p/p2pool/Manifest | 1 + net-p2p/p2pool/p2pool-3.6.1.ebuild | 54 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+) diff --git a/net-p2p/p2pool/Manifest b/net-p2p/p2pool/Manifest index e09400aa42..0faeba6fec 100644 --- a/net-p2p/p2pool/Manifest +++ b/net-p2p/p2pool/Manifest @@ -51,4 +51,5 @@ DIST p2pool-3.5-randomx.tar.gz 165921 BLAKE2B 67d1c3e0c21307f0205a92ec4d3ad87a49 DIST p2pool-3.5-rapidjson.tar.gz 1115887 BLAKE2B f135cff2fc7d03e6c4507745007bcb0fa8850ec6b745713732ba4ae6d1cd8da1a121b52f7138c50b28bfe66e319de8dc8cc12a98c10b28a5be1f2faa0c58deec SHA512 09911a870773b20ab2cdd37c43ffecb0b7ce921e5de00a27514caff5b412b420cb5c0237743abb9919407d7479f00cd997a1101747e4dd286f2db5c69691b688 DIST p2pool-3.5-robin-hood-hashing.tar.gz 177642 BLAKE2B e66b8388fcd1f6294f67a18bbc45ac8083b9e8fd8d304a35963645934c9054c98c54b10dd8185e72da4d88e3825f7daed8f503f75589e799717aa4a3e1e101f9 SHA512 c569727678600d7c7ca0fd436e1fffbefab129455d12c57e01d74c57bf5d470f6e0aefe15e35831f1c31166e1a39398995403b1b5e346547549a819be202cd7a DIST p2pool-3.5.tar.gz 64292348 BLAKE2B e445abd689119136d00f29a859f90895c3a903aa1458d5c76a08f09e2ba8c51b0d65b3ba65d1729d9c7592e701301e22e5d33be132fdccf6bf27c7daac3db70e SHA512 30e40b4aa47f803ef0790885daba134cd4b2fba3ebd64d313e0f54a5f9215cb3f2ad0ad411a059b7f65e24973704f17913d895a36fc3ac4102621e2b05a4be1c +DIST p2pool-3.6.1.tar.xz 52890828 BLAKE2B 9bef7d5b646f0b5b0ae14923579628f0da539da15fde2a95111bf84eac33c1e859f8ceb074460f23c5e7b2853ac471e9d5eff5922dfe93b8639b7b62a194d413 SHA512 487afb178c56d40af03e8a6ab69d6291f843790c14389cd33df54ce1667671f17867e6da10829887fd6edba149af22f149a4709f567133b7cb5aeabb8300d465 DIST p2pool-3.6.tar.xz 52889504 BLAKE2B 2204931073be845e43b85b0b87fe0eb7375a090565194aaa3a49ac4559c7443f0d6d37dbc3e14fef21f8dadd01d7f16a31a3ae9d5284d542413776b8d1a1f1bf SHA512 37ec77575135e91c6591d449dd711cf746cb14e9b6796d34ab6cb599f984ee2189101cd84eb09a55c047f553a3227cc89ce0f57c5a47c4605536577c4a7b0ad3 diff --git a/net-p2p/p2pool/p2pool-3.6.1.ebuild b/net-p2p/p2pool/p2pool-3.6.1.ebuild new file mode 100644 index 0000000000..ea749c1ebb --- /dev/null +++ b/net-p2p/p2pool/p2pool-3.6.1.ebuild @@ -0,0 +1,54 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="Decentralized pool for Monero mining" +HOMEPAGE="https://p2pool.io" + +SRC_URI=" https://github.com/SChernykh/p2pool/releases/download/v${PV}/p2pool_source.tar.xz -> ${P}.tar.xz" +KEYWORDS="~amd64 ~arm64 ~x86" + +LICENSE="BSD GPL-3+ ISC LGPL-3+ MIT" +SLOT="0" + +DEPEND=" + dev-libs/libsodium + net-libs/czmq +" + +src_unpack() { + unpack ${P}.tar.xz + mv -T "${WORKDIR}"/${PN} "${WORKDIR}"/${P} || die +} + +src_prepare() { + default + + # Stop their script from overriding flags: + cp "${FILESDIR}"/flags.cmake cmake/flags.cmake || die + + cmake_src_prepare +} + +src_install(){ + dobin "${BUILD_DIR}/p2pool" +} + +pkg_postinst() { + #Some important wisdom taken from P2Pool documentation + ewarn "P2Pool for Monero is now installed." + ewarn "You can run it by doing 'p2pool --host 127.0.0.1 --wallet YOUR_PRIMARY_ADDRESS'" + ewarn "Where 127.0.0.1 is the address of a local monero node (e.g. monerod)" + ewarn "" + ewarn "Once configured, point your RandomX miner (e.g. XMRig) at p2pool" + ewarn "For example 'xmrig -o 127.0.0.1:3333'" + ewarn "" + ewarn "You MUST use your primary address when using p2pool, just like solo mining." + ewarn "If you want privacy, create a new mainnet wallet for P2Pool mining." + ewarn "" + ewarn "Rewards will not be visibile unless you use a wallet that supports P2Pool." + ewarn "See https://p2pool.io/#help and https://github.com/SChernykh/p2pool for more information." +}