From: "Adam Pimentel" <adam.pimentel@protonmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: net-p2p/p2pool/
Date: Sat, 1 Apr 2023 07:42:52 +0000 (UTC) [thread overview]
Message-ID: <1680334941.9be518156bb516ab403689b150d2cdde4ad4bdae.adam.pimentel@gentoo> (raw)
commit: 9be518156bb516ab403689b150d2cdde4ad4bdae
Author: Adam Pimentel <adam.pimentel <AT> protonmail <DOT> com>
AuthorDate: Sat Apr 1 07:42:21 2023 +0000
Commit: Adam Pimentel <adam.pimentel <AT> protonmail <DOT> com>
CommitDate: Sat Apr 1 07:42:21 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9be51815
net-p2p/p2pool: version bump
Signed-off-by: Adam Pimentel <adam.pimentel <AT> protonmail.com>
net-p2p/p2pool/p2pool-3.2.ebuild | 110 +++++++++++++++++++++++++++++++++++++++
1 file changed, 110 insertions(+)
diff --git a/net-p2p/p2pool/p2pool-3.2.ebuild b/net-p2p/p2pool/p2pool-3.2.ebuild
new file mode 100644
index 000000000..2161450cd
--- /dev/null
+++ b/net-p2p/p2pool/p2pool-3.2.ebuild
@@ -0,0 +1,110 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+P2POOL_DIST_COMMIT="92827035e07ff15da6b7645a332f3e59aa0ab1c4"
+ RANDOMX_DIST_COMMIT="27a8cf0dfca2120506e4dccb4071b9c6e3be53bc"
+ CPPZMQ_DIST_COMMIT="c66fc6094b2a03439dea8469719e221e80e2e8e7"
+ CURL_DIST_COMMIT="046209e561b7e9b5aab1aef7daebf29ee6e6e8c7"
+ LIBUV_DIST_COMMIT="55077af4b50e13c5b7c02131ff16695685478fc8"
+ RAPIDJSON_DIST_COMMIT="914b772dfda5301dfa94309a114b207c67720d68"
+ ROBIN_HOOD_HASHING_DIST_COMMIT="4213dd109f03b49c68b52074d929e6f221803bed"
+ MINIUPNP_DIST_COMMIT="b61674aa510a86ece3b5b41ec9d932f5b2bac5ad"
+
+DESCRIPTION="Decentralized pool for Monero mining"
+HOMEPAGE="https://p2pool.io"
+
+SRC_URI="
+ https://github.com/SChernykh/p2pool/archive/${P2POOL_DIST_COMMIT}.tar.gz -> \
+${P}.tar.gz
+ https://github.com/tevador/RandomX/archive/${RANDOMX_DIST_COMMIT}.tar.gz -> \
+${P}-randomx.tar.gz
+ https://github.com/SChernykh/cppzmq/archive/${CPPZMQ_DIST_COMMIT}.tar.gz -> \
+${P}-cppzmq.tar.gz
+ https://github.com/SChernykh/curl/archive/${CURL_DIST_COMMIT}.tar.gz -> \
+${P}-curl.tar.gz
+ https://github.com/SChernykh/libuv/archive/${LIBUV_DIST_COMMIT}.tar.gz -> \
+${P}-libuv.tar.gz
+ https://github.com/SChernykh/rapidjson/archive/${RAPIDJSON_DIST_COMMIT}.tar.gz -> \
+${P}-rapidjson.tar.gz
+ https://github.com/SChernykh/robin-hood-hashing/archive/${ROBIN_HOOD_HASHING_DIST_COMMIT}.tar.gz -> \
+${P}-robin-hood-hashing.tar.gz
+ https://github.com/SChernykh/miniupnp/archive/${MINIUPNP_DIST_COMMIT}.tar.gz -> \
+${P}-miniupnp.tar.gz
+"
+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.gz \
+ ${P}-randomx.tar.gz \
+ ${P}-cppzmq.tar.gz \
+ ${P}-curl.tar.gz \
+ ${P}-libuv.tar.gz \
+ ${P}-rapidjson.tar.gz \
+ ${P}-robin-hood-hashing.tar.gz \
+ ${P}-miniupnp.tar.gz
+ mv -T "${WORKDIR}"/p2pool-${P2POOL_DIST_COMMIT} \
+ "${WORKDIR}"/${P} || die
+ mv -T "${WORKDIR}"/RandomX-${RANDOMX_DIST_COMMIT} \
+ "${WORKDIR}"/${P}/external/src/RandomX || die
+ mv -T "${WORKDIR}"/cppzmq-${CPPZMQ_DIST_COMMIT} \
+ "${WORKDIR}"/${P}/external/src/cppzmq || die
+ mv -T "${WORKDIR}"/curl-${CURL_DIST_COMMIT} \
+ "${WORKDIR}"/${P}/external/src/curl || die
+ mv -T "${WORKDIR}"/libuv-${LIBUV_DIST_COMMIT} \
+ "${WORKDIR}"/${P}/external/src/libuv || die
+ mv -T "${WORKDIR}"/rapidjson-${RAPIDJSON_DIST_COMMIT} \
+ "${WORKDIR}"/${P}/external/src/rapidjson || die
+ mv -T "${WORKDIR}"/robin-hood-hashing-${ROBIN_HOOD_HASHING_DIST_COMMIT} \
+ "${WORKDIR}"/${P}/external/src/robin-hood-hashing || die
+ mv -T "${WORKDIR}"/miniupnp-${MINIUPNP_DIST_COMMIT} \
+ "${WORKDIR}"/${P}/external/src/miniupnp || 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."
+}
next reply other threads:[~2023-04-01 7:42 UTC|newest]
Thread overview: 41+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-01 7:42 Adam Pimentel [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-10-06 1:28 [gentoo-commits] repo/proj/guru:dev commit in: net-p2p/p2pool/ Adam Pimentel
2024-08-16 1:50 Lucio Sauer
2024-08-14 8:47 Ronny Gutbrod
2024-08-13 0:42 Lucio Sauer
2024-08-01 20:24 Adam Pimentel
2024-07-18 9:19 David Roman
2024-07-16 14:36 Adam Pimentel
2024-01-04 22:51 Adam Pimentel
2023-11-26 21:05 Adam Pimentel
2023-10-31 16:03 Adam Pimentel
2023-10-05 13:18 David Roman
2023-09-30 16:35 Adam Pimentel
2023-09-08 7:40 Adam Pimentel
2023-09-04 17:01 Adam Pimentel
2023-09-01 15:52 Adam Pimentel
2023-08-31 23:53 Adam Pimentel
2023-08-31 23:24 Adam Pimentel
2023-07-01 0:22 Adam Pimentel
2023-06-01 23:50 Adam Pimentel
2023-04-30 17:06 Adam Pimentel
2023-04-01 12:35 Anna Vyalkova
2023-03-01 19:20 Adam Pimentel
2023-02-03 4:21 Adam Pimentel
2023-01-27 21:06 Adam Pimentel
2022-12-18 0:08 Adam Pimentel
2022-12-10 7:56 Viorel Munteanu
2022-12-05 17:59 Adam Pimentel
2022-12-05 16:33 Adam Pimentel
2022-12-05 9:20 [gentoo-commits] repo/proj/guru:master " Viorel Munteanu
2022-12-04 12:37 ` [gentoo-commits] repo/proj/guru:dev " Viorel Munteanu
2022-12-04 16:56 Adam Pimentel
2022-12-01 14:36 Adam Pimentel
2022-12-01 14:30 Adam Pimentel
2022-12-01 14:30 Adam Pimentel
2022-11-29 13:09 Adam Pimentel
2022-11-28 17:21 Adam Pimentel
2022-11-09 22:45 Adam Pimentel
2022-09-09 22:03 Adam Pimentel
2022-09-09 2:29 Adam Pimentel
2022-09-09 2:29 Adam Pimentel
2022-09-09 2:01 Adam Pimentel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1680334941.9be518156bb516ab403689b150d2cdde4ad4bdae.adam.pimentel@gentoo \
--to=adam.pimentel@protonmail.com \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox