public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
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: Fri,  3 Feb 2023 04:21:19 +0000 (UTC)	[thread overview]
Message-ID: <1675398044.9ed9e5d808aa27b85e28a665f3e776b53c4be228.adam.pimentel@gentoo> (raw)

commit:     9ed9e5d808aa27b85e28a665f3e776b53c4be228
Author:     Adam Pimentel <adam.pimentel <AT> protonmail <DOT> com>
AuthorDate: Fri Feb  3 04:20:44 2023 +0000
Commit:     Adam Pimentel <adam.pimentel <AT> protonmail <DOT> com>
CommitDate: Fri Feb  3 04:20:44 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9ed9e5d8

net-p2p/p2pool: version bump

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

 net-p2p/p2pool/Manifest          |   7 +++
 net-p2p/p2pool/p2pool-3.0.ebuild | 104 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 111 insertions(+)

diff --git a/net-p2p/p2pool/Manifest b/net-p2p/p2pool/Manifest
index 650020f3f..bbbdbb30b 100644
--- a/net-p2p/p2pool/Manifest
+++ b/net-p2p/p2pool/Manifest
@@ -5,3 +5,10 @@ DIST p2pool-2.7-randomx.tar.gz 165732 BLAKE2B 3616eee591e14a18b7ea84811911f938b0
 DIST p2pool-2.7-rapidjson.tar.gz 1107920 BLAKE2B 1cc96842788014d08637e8cec9c1ef507a0f6ade03ede190accea7950980e317ca40846e5124963290b51046e3063c5198873a22e528a8495d2c9f9aec4ff96d SHA512 58900db212b0b700571b4d4bd6e77f3ecb60f914d8f96cab83aed44c82dd45687aca62326d4d024f837200d1261a52782e772532ff9dc512ac3fe72a9a48137c
 DIST p2pool-2.7-robin-hood-hashing.tar.gz 177642 BLAKE2B e66b8388fcd1f6294f67a18bbc45ac8083b9e8fd8d304a35963645934c9054c98c54b10dd8185e72da4d88e3825f7daed8f503f75589e799717aa4a3e1e101f9 SHA512 c569727678600d7c7ca0fd436e1fffbefab129455d12c57e01d74c57bf5d470f6e0aefe15e35831f1c31166e1a39398995403b1b5e346547549a819be202cd7a
 DIST p2pool-2.7.tar.gz 45643775 BLAKE2B 20b265430962a2bd57f6ea31525bf48447ab76336a86040786e2aa9fb4d2a030b5702ba9c3a7c2860aff01760f57410a032548fd553d742d41072ec410a2c59a SHA512 001984a9e9f7c05b138fbebe1f8f30927ae4cee4c7767e56bbe0b93c2db846e545cf30e3dd3c74acc2d984c4f96ac041c774616f13f03fc5addead346c4d7427
+DIST p2pool-3.0-cppzmq.tar.gz 46998 BLAKE2B fde029a8cecb1f3e7d901225bad1b32fde8d6848c80d7bd1a34025d63ab2288d8a3ef1335268ec6dc6ba3d4fdbb8cc8ff167c2a35112e3322afcd16a6a6d3fc5 SHA512 c9615558a5001e2d2772aeb452a1e5d0fbeb13d05e34ad0ee37e85dbff192d03ad4530a7f0a341f72d30062c4e8f34b8545a2c299d7180a8aa4a814b113e6fcd
+DIST p2pool-3.0-curl.tar.gz 3050766 BLAKE2B 7cbfbb3d58739105d7166d635d12b1d3c38a56e538817a50fe4831d0abe53115ac190d6a5fdc71f52b4edec8164a0fc5559ed64aaab46365c18d09b7238caa65 SHA512 a1225cf5368648290f15ae4e695497797c8ac227f316e2d33c01d29fff30f4af5032ac7c1a05d614196b600e5aed65926e553cbbc32414a04802a14e2e92eef8
+DIST p2pool-3.0-libuv.tar.gz 1309251 BLAKE2B 57c916c5f84a80077a7f8155ec37438c009542513c39109d6c5c19d670e6c12abcea3c57d289211db6329b8fef2ecdabd4e0004ed32053e73fc1385a2e5cdb11 SHA512 7dbb54d678d53a8c840fb49ec9b618b77ff58dcc14109af7aa42797e4b24b0e62f586ecdeef4f7dd416bddcd08c0075e20146ec5579fc1d7a45135faaa16694c
+DIST p2pool-3.0-randomx.tar.gz 165715 BLAKE2B 428ced5e0dca9a1d4b1f839a3367034548c9ca9f92117285b73687efd416925bf60f184c26909bdfe6e2b4bb42c686449404a701fc13af48079efa34eb643099 SHA512 78dab5590358e4ea153608859cd8f7764b430b2fa2e942644a06ef9268e5db606012b56d4fb132bc0e7898cfa8d7867a0ddcf445c0390d49c7df9b4ab6cb6369
+DIST p2pool-3.0-rapidjson.tar.gz 1107920 BLAKE2B 1cc96842788014d08637e8cec9c1ef507a0f6ade03ede190accea7950980e317ca40846e5124963290b51046e3063c5198873a22e528a8495d2c9f9aec4ff96d SHA512 58900db212b0b700571b4d4bd6e77f3ecb60f914d8f96cab83aed44c82dd45687aca62326d4d024f837200d1261a52782e772532ff9dc512ac3fe72a9a48137c
+DIST p2pool-3.0-robin-hood-hashing.tar.gz 177642 BLAKE2B e66b8388fcd1f6294f67a18bbc45ac8083b9e8fd8d304a35963645934c9054c98c54b10dd8185e72da4d88e3825f7daed8f503f75589e799717aa4a3e1e101f9 SHA512 c569727678600d7c7ca0fd436e1fffbefab129455d12c57e01d74c57bf5d470f6e0aefe15e35831f1c31166e1a39398995403b1b5e346547549a819be202cd7a
+DIST p2pool-3.0.tar.gz 45725483 BLAKE2B 4b662c84493ccf80b223e90afe3fb5276b6bf66bfbcc3a9420d8608919a962580aa39e3aab7046d88504de3a95b50ecd0c04b75c550c21fb9c9e5243a8d04a6c SHA512 93f47e70d68a346d89699bb31998b5ba1a1a02d164d74452a662c9ad5c80a1ec784590ee3cce8a80b2abfd96c3a2c93d46ad1cb6efe4b8a42b145b45acb3a8ab

diff --git a/net-p2p/p2pool/p2pool-3.0.ebuild b/net-p2p/p2pool/p2pool-3.0.ebuild
new file mode 100644
index 000000000..32f825035
--- /dev/null
+++ b/net-p2p/p2pool/p2pool-3.0.ebuild
@@ -0,0 +1,104 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+P2POOL_DIST_COMMIT="e64a0acfb37961e0a3b185a6de04ab92bacbbf24"
+	RANDOMX_DIST_COMMIT="58c3943ff5699ebd36e178b8d4c6183bcb82419c"
+	CPPZMQ_DIST_COMMIT="c66fc6094b2a03439dea8469719e221e80e2e8e7"
+	CURL_DIST_COMMIT="c12fb3ddaf48e709a7a4deaa55ec485e4df163ee"
+	LIBUV_DIST_COMMIT="55077af4b50e13c5b7c02131ff16695685478fc8"
+	RAPIDJSON_DIST_COMMIT="914b772dfda5301dfa94309a114b207c67720d68"
+	ROBIN_HOOD_HASHING_DIST_COMMIT="4213dd109f03b49c68b52074d929e6f221803bed"
+
+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
+"
+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
+	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
+}
+
+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."
+}


             reply	other threads:[~2023-02-03  4:21 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-03  4:21 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-04-01  7:42 Adam Pimentel
2023-03-01 19:20 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=1675398044.9ed9e5d808aa27b85e28a665f3e776b53c4be228.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