public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Haelwenn Monnier" <contact@hacktivis.me>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: net-p2p/p2pool/
Date: Thu,  1 Dec 2022 03:59:17 +0000 (UTC)	[thread overview]
Message-ID: <1669727367.b912a8c70cc6bb6d7aa4c99188cb7db8475ac0a7.lanodan@gentoo> (raw)

commit:     b912a8c70cc6bb6d7aa4c99188cb7db8475ac0a7
Author:     Adam Pimentel <adam.pimentel <AT> protonmail <DOT> com>
AuthorDate: Tue Nov 29 13:09:27 2022 +0000
Commit:     Haelwenn Monnier <contact <AT> hacktivis <DOT> me>
CommitDate: Tue Nov 29 13:09:27 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b912a8c7

net-p2p/p2pool: version bump 2.6

Signed-off-by: Adam Pimentel <adam.pimentel <AT> protonmail.com>

 net-p2p/p2pool/p2pool-2.6.ebuild | 76 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 76 insertions(+)

diff --git a/net-p2p/p2pool/p2pool-2.6.ebuild b/net-p2p/p2pool/p2pool-2.6.ebuild
new file mode 100644
index 000000000..4ff46dbce
--- /dev/null
+++ b/net-p2p/p2pool/p2pool-2.6.ebuild
@@ -0,0 +1,76 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+P2POOL_DIST_COMMIT="67bbfea87d87328a9ccd8159b21b2a4ff65087ca"
+	RANDOMX_DIST_COMMIT="d10edcbc93097a1b693598b3b12d780a58a023d4"
+	CPPZMQ_DIST_COMMIT="c66fc6094b2a03439dea8469719e221e80e2e8e7"
+	CURL_DIST_COMMIT="cd95ee9f771361acf241629d2fe5507e308082a2"
+	LIBUV_DIST_COMMIT="0c1fa696aa502eb749c2c4735005f41ba00a27b8"
+	LIBZMQ_DIST_COMMIT="7fad9599abde45db53899f1873be72527e56ed63"
+	RAPIDJSON_DIST_COMMIT="914b772dfda5301dfa94309a114b207c67720d68"
+	ROBIN_HOOD_HASHING_DIST_COMMIT="4213dd109f03b49c68b52074d929e6f221803bed"
+
+DESCRIPTION="Decentralized pool for Monero mining"
+HOMEPAGE="https://p2pool.io https://github.com/SChernykh/p2pool"
+
+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/libzmq/archive/${LIBZMQ_DIST_COMMIT}.tar.gz -> ${P}-libzmq.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
+"
+KEYWORDS="~amd64 ~arm64 ~x86"
+
+LICENSE="BSD GPL-3+ ISC LGPL-3+ MIT"
+SLOT="0"
+
+DEPEND="
+	dev-libs/libsodium
+"
+
+src_unpack() {
+	unpack ${P}.tar.gz ${P}-randomx.tar.gz ${P}-cppzmq.tar.gz ${P}-curl.tar.gz ${P}-libuv.tar.gz ${P}-libzmq.tar.gz ${P}-rapidjson.tar.gz ${P}-robin-hood-hashing.tar.gz
+	mv -T "${WORKDIR}"/p2pool-${P2POOL_DIST_COMMIT} "${WORKDIR}"/${P}
+	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}"/libzmq-${LIBZMQ_DIST_COMMIT} "${WORKDIR}"/${P}/external/src/libzmq || 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
+}
+
+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."
+}


             reply	other threads:[~2022-12-01  3:59 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-01  3:59 Haelwenn Monnier [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-08-17 10:16 [gentoo-commits] repo/proj/guru:master commit in: net-p2p/p2pool/ David Roman
2024-08-13  0:42 [gentoo-commits] repo/proj/guru:dev " Lucio Sauer
2024-08-13 15:39 ` [gentoo-commits] repo/proj/guru:master " Lucio Sauer
2024-08-01 21:51 Lucio Sauer
2024-07-18  9:19 [gentoo-commits] repo/proj/guru:dev " David Roman
2024-07-18  9:22 ` [gentoo-commits] repo/proj/guru:master " David Roman
2023-11-29 22:47 David Roman
2023-10-05 14:25 Viorel Munteanu
2023-10-02 12:24 David Roman
2023-09-09 12:26 David Roman
2023-09-05 13:22 Andrew Ammerlaan
2023-09-03 12:27 Haelwenn Monnier
2023-09-03 12:27 Haelwenn Monnier
2023-07-01 18:15 Haelwenn Monnier
2023-05-01  9:20 Viorel Munteanu
2023-04-01 21:30 Haelwenn Monnier
2023-04-01 21:30 Haelwenn Monnier
2022-12-19 10:56 Viorel Munteanu
2022-12-06  6:09 Viorel Munteanu
2022-12-06  6:09 Viorel Munteanu
2022-12-05  9:21 Viorel Munteanu
2022-12-05  9:20 Viorel Munteanu
2022-12-01  3:59 Haelwenn Monnier
2022-09-09 23:55 Ronny Gutbrod
2022-09-09 20:02 Ronny Gutbrod
2022-09-09 20:02 Ronny Gutbrod
2022-09-09 20:02 Ronny Gutbrod

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=1669727367.b912a8c70cc6bb6d7aa4c99188cb7db8475ac0a7.lanodan@gentoo \
    --to=contact@hacktivis.me \
    --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