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 3286C158099 for ; Sun, 26 Nov 2023 21:05:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 64F122BC02F; Sun, 26 Nov 2023 21:05:14 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3A7182BC02F for ; Sun, 26 Nov 2023 21:05:14 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 008383406C2 for ; Sun, 26 Nov 2023 21:05:13 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 32043998 for ; Sun, 26 Nov 2023 21:05:11 +0000 (UTC) From: "Adam Pimentel" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Adam Pimentel" Message-ID: <1701031638.13b7d2e91d20b74ebd41fc0327dfcf0ce360909b.adam.pimentel@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: net-p2p/p2pool/ X-VCS-Repository: repo/proj/guru X-VCS-Files: net-p2p/p2pool/Manifest net-p2p/p2pool/p2pool-3.9.ebuild X-VCS-Directories: net-p2p/p2pool/ X-VCS-Committer: adam.pimentel X-VCS-Committer-Name: Adam Pimentel X-VCS-Revision: 13b7d2e91d20b74ebd41fc0327dfcf0ce360909b X-VCS-Branch: dev Date: Sun, 26 Nov 2023 21:05:11 +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: 780e3873-272f-46b7-8b09-69b6b3b0c8eb X-Archives-Hash: a196ad816541e41f59d261b599707c20 commit: 13b7d2e91d20b74ebd41fc0327dfcf0ce360909b Author: Adam Pimentel protonmail com> AuthorDate: Sun Nov 26 20:47:18 2023 +0000 Commit: Adam Pimentel protonmail com> CommitDate: Sun Nov 26 20:47:18 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=13b7d2e9 net-p2p/p2pool: version bump Signed-off-by: Adam Pimentel protonmail.com> net-p2p/p2pool/Manifest | 1 + net-p2p/p2pool/p2pool-3.9.ebuild | 62 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 63 insertions(+) diff --git a/net-p2p/p2pool/Manifest b/net-p2p/p2pool/Manifest index 302561df8c..428eb11d90 100644 --- a/net-p2p/p2pool/Manifest +++ b/net-p2p/p2pool/Manifest @@ -9,3 +9,4 @@ DIST p2pool-3.5.tar.gz 64292348 BLAKE2B e445abd689119136d00f29a859f90895c3a903aa DIST p2pool-3.6.2.tar.xz 52891908 BLAKE2B 590a1001a69c308b709fa27c32e1f489662ffe02ed604c2920b2cf721f3265b87326c7aedb26bc6e559013fae6f4618374afe7595e66832921f9962d9896893b SHA512 7d9a9bc1bcff8908591b8e4a1307c905bed431afcde7f1ecdb6373b4432dc4330e2735991a9b782710e3e98fbff1c7281c4dc155ad61fdd012e9577662dd0abc DIST p2pool-3.7.tar.xz 52901632 BLAKE2B daece7cebbc4227a7822ab78a91b13b773dac5769aa1aae22265a6dc9d5135a6e8abb2c2eee3546732b8769e5552c2d516601bbf058a440ac84bc99db5498f89 SHA512 9cd7000aefe47bfde0905d04ab548e712b2b5f80e4e81247918a43bec88e33a352fbb6bc000b6a7d96baac0d591af249e46f615aebd1f3553ec77f773dfd472d DIST p2pool-3.8.tar.xz 52882768 BLAKE2B f1d4de3d5151d06cfeb6f4a101b701e04aa80ce8a6c9f3675a71e5f4e8b68e59037b9ecd5747f4f79e5b9aa85b98f81b08a955e92683e7db9cff00329695f3f6 SHA512 c2de1b0598abe816130c1397bab6099dcd4fe73307c742987da555e7599a8368b290ce139cee3dd484a443d1ccd88b8e8813b546fa87986bbce2045051abcbcc +DIST p2pool-3.9.tar.xz 52898892 BLAKE2B ca90eddd8407f59b7d56e1a94252c9cdc46796090ba0cf1a992c1b0031f4cb778297833d76d26db6e71d93830a11409a34607faf9ced8dac9334e900635188e6 SHA512 5968c85f187d9fcab0df5e4fcec78152fd77600362237a1468f215ecf9d53b713f29d0abd1547bb986f63120dcd6100589492e76b48bed19d34c4314b1379e7b diff --git a/net-p2p/p2pool/p2pool-3.9.ebuild b/net-p2p/p2pool/p2pool-3.9.ebuild new file mode 100644 index 0000000000..470ecec653 --- /dev/null +++ b/net-p2p/p2pool/p2pool-3.9.ebuild @@ -0,0 +1,62 @@ +# 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_configure() { + local mycmakeargs=( + -DWITH_RANDOMX=OFF + ) + + cmake_src_configure +} + +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." +}