aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Pimentel <adam.pimentel@protonmail.com>2022-12-01 09:35:43 -0500
committerAdam Pimentel <adam.pimentel@protonmail.com>2022-12-01 09:35:43 -0500
commitcf5738c122cc50208997758a6018e78f4f256829 (patch)
tree0e7898abc9dd3ff5170f404b411020d0d64b2532 /net-p2p
parentnet-p2p/p2pool: updated URI (diff)
downloadguru-cf5738c122cc50208997758a6018e78f4f256829.tar.gz
guru-cf5738c122cc50208997758a6018e78f4f256829.tar.bz2
guru-cf5738c122cc50208997758a6018e78f4f256829.zip
net-p2p/p2pool: removed old ebuilds, cleanup
Signed-off-by: Adam Pimentel <adam.pimentel@protonmail.com>
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/p2pool/Manifest16
-rw-r--r--net-p2p/p2pool/p2pool-2.3.ebuild76
-rw-r--r--net-p2p/p2pool/p2pool-2.5.ebuild76
-rw-r--r--net-p2p/p2pool/p2pool-2.6.ebuild76
-rw-r--r--net-p2p/p2pool/p2pool-9999.ebuild3
5 files changed, 2 insertions, 245 deletions
diff --git a/net-p2p/p2pool/Manifest b/net-p2p/p2pool/Manifest
index de2179110..a3c465b7b 100644
--- a/net-p2p/p2pool/Manifest
+++ b/net-p2p/p2pool/Manifest
@@ -1,19 +1,3 @@
-DIST p2pool-2.3-cppzmq.tar.gz 46891 BLAKE2B 45d7cc64b7ff306d119cc976edefd8d0a6565c4a948a3c80e011aebf91bfadd04016c1914d74a4870ced26b04f72a8ccfdd8a510ad2fb503d2edde6c61c2d2dd SHA512 692e72f738bfcc739f36026fb043764949867639ff581585036f51e453635f5b39ef2971402318881a4b59296fdcdb1dec0d46ac0bc857ab5935cc40bd492478
-DIST p2pool-2.3-curl.tar.gz 2999621 BLAKE2B 331619d13e99957c8f20380506a7b358dc83ada80db2b45886a804bd264f02057d79502dc4a451759ab5aa8f861c2d47e5901467bd6610be55c6af0b6f68c7d8 SHA512 62cdcbb8cf16c4ceb5d1528a7352dfd6f5e26f9631af728f713210333c321112eb5c6faf8531bef2eaf6041b32e9b77f82b005a7623ef099e77b641277f2974b
-DIST p2pool-2.3-libuv.tar.gz 1309503 BLAKE2B c02adce321775480d832f45d26c42e0eb1e6abee3f1b70f15e1c1d6c808a763d8bdb6b54264e676a9964532c58a96bcf0f4b159b62c8fbea9b50a9befdf979df SHA512 4b63745d48c5318d75ef3580fc6d6288b1ca26a25f69fbef2af4b6fe1d1fe1255986cbb1fb5124e1ba6cd324868ebccdc6f6965e08e3e0fbde29f22e7e20ce89
-DIST p2pool-2.3-libzmq.tar.gz 932878 BLAKE2B 0a382f2d7fb421f7521cd62a956dc4f3acef439eb3d5d798815127822b63df8c66dab69eaef4411e41d543d13522dc7df79a4afc8d10b5c6cede02609e87edaf SHA512 a87815a13df388fccc19c5a37c78bba2fcaef5d31b644789f89f500882f16fda085d29205c3c15611117790f53def92a7768d9cf750c40846d7002c8c007704f
-DIST p2pool-2.3-randomx.tar.gz 165734 BLAKE2B c75ab8d4737d9c053ec2ff21e1634e315e4e9d37d9d3a075339f0970072c7bd64c0bc37482c7409dec92fa066fca9f4a58fbf5ff491fe029501abd6a7a826473 SHA512 225eb4ccb65af3b3bbfa0888133f278b972c0348d844c41223964c5d4571e9909b5a9175cc2a37fc8e9872a7dfbbc010040d480a55868e67b560e3689a1f3ca1
-DIST p2pool-2.3-rapidjson.tar.gz 1107920 BLAKE2B 1cc96842788014d08637e8cec9c1ef507a0f6ade03ede190accea7950980e317ca40846e5124963290b51046e3063c5198873a22e528a8495d2c9f9aec4ff96d SHA512 58900db212b0b700571b4d4bd6e77f3ecb60f914d8f96cab83aed44c82dd45687aca62326d4d024f837200d1261a52782e772532ff9dc512ac3fe72a9a48137c
-DIST p2pool-2.3-robin-hood-hashing.tar.gz 177669 BLAKE2B 73646d4d9ebcdaf74af322536388c17141e722a93cf2bd8e5c061bd1b75c30d324d89ad239e6dd9ee96a0a22f3055fc7d43551c396a5e20a981990ecd56e5bbc SHA512 38e0db368ba74be1e9c4ac2580862cc3ad917dd50204d5a50fc89e16c30b9dd36a2c7da619a46a5c90aba3472bf4fdecc0aee5f8e589683ceaa3e5667f21ddb2
-DIST p2pool-2.3.tar.gz 45594974 BLAKE2B f0ecc677511a7dc0507159e2c60c0df44b7e84d5a4fac4cc0e96b79856b46b840ca5d249e11b88756b8046c6ef8970970baadf1615ca46bef5c6b47c3851aed0 SHA512 b5b7be845074a05a7386408720f1ddefb8e09b11caabfdac97d57fb6caac68a57625f4f735b5784024f5c39f1dc493e0271e02774eb37d9e084e563e22dda8b9
-DIST p2pool-2.5-cppzmq.tar.gz 46988 BLAKE2B 1822ab40c64fe75b6ee3ed5120ac9a8dfc72be37e2103f9f297bd28a912f8c47720652675ea507710a02c22c7566133bac358cf29962b10c62af2eed4de9d605 SHA512 52611c1bba57c3daa12e708702eac3728c956853744e25dad03bee4176f30a9d795255362022084c4dedff32b00e34b5e729eb282d552380e4b36f5f9ff854d2
-DIST p2pool-2.5-curl.tar.gz 2992745 BLAKE2B b419093207238b7fb60736ed38e5739119778a7b95e39b41512e95b018971cc1072b2eec9c84c30993a421e44279ed7bd8c11066313af1d8e612317674a9a1a9 SHA512 013320e888cd9114a9207a77f816688435bf3b9d44ac9868c1fd324d69cd15aa7a3d2d06f2715309712b1feb414ddb439e345bf92d84ec8f4c96d92416400f6c
-DIST p2pool-2.5-libuv.tar.gz 1309503 BLAKE2B c02adce321775480d832f45d26c42e0eb1e6abee3f1b70f15e1c1d6c808a763d8bdb6b54264e676a9964532c58a96bcf0f4b159b62c8fbea9b50a9befdf979df SHA512 4b63745d48c5318d75ef3580fc6d6288b1ca26a25f69fbef2af4b6fe1d1fe1255986cbb1fb5124e1ba6cd324868ebccdc6f6965e08e3e0fbde29f22e7e20ce89
-DIST p2pool-2.5-libzmq.tar.gz 933006 BLAKE2B fd86b05b5c43ddb047fa1f0a99f664dd8b8d355adfd734b3433b8c7255c4ae43fdd6f558e4423a660c3858a4f1d9e4a2fbf26ad6888eaec276e4e95446732a4b SHA512 df769cdc57533888aec696167545189426727cec8675be1ae5d44e2f46a9ef281a39f7cead9dca5dddac62ab196cb48aa808b3432deecba63b2a7cfedb2223fa
-DIST p2pool-2.5-randomx.tar.gz 165732 BLAKE2B 3616eee591e14a18b7ea84811911f938b0031420938e662edfbc82dd04b1da65065e650793544ffeb78cd4e3cca023ba5e3f63c53b9080b08443741fe7fad6be SHA512 a674e8bc603a42679fc552922865bccdf38622b1fec1bd34c7949744210f03896a5977d2f61ec83e964b71ab15b23872f8f99aeb339bd8c5e3080fefbb925a48
-DIST p2pool-2.5-rapidjson.tar.gz 1107920 BLAKE2B 1cc96842788014d08637e8cec9c1ef507a0f6ade03ede190accea7950980e317ca40846e5124963290b51046e3063c5198873a22e528a8495d2c9f9aec4ff96d SHA512 58900db212b0b700571b4d4bd6e77f3ecb60f914d8f96cab83aed44c82dd45687aca62326d4d024f837200d1261a52782e772532ff9dc512ac3fe72a9a48137c
-DIST p2pool-2.5-robin-hood-hashing.tar.gz 177669 BLAKE2B 73646d4d9ebcdaf74af322536388c17141e722a93cf2bd8e5c061bd1b75c30d324d89ad239e6dd9ee96a0a22f3055fc7d43551c396a5e20a981990ecd56e5bbc SHA512 38e0db368ba74be1e9c4ac2580862cc3ad917dd50204d5a50fc89e16c30b9dd36a2c7da619a46a5c90aba3472bf4fdecc0aee5f8e589683ceaa3e5667f21ddb2
-DIST p2pool-2.5.tar.gz 45608787 BLAKE2B 1f5cae8538d381ce099a7f52a209eea9a61238d5c40daa02be42973dddecb2653a1e075e5b1829f1bdf123bd3d72092f0704c8a5cce4bcccfd730294e1319f70 SHA512 dad3bf5c4c770ac8c64874e502cf986b6ae1d2131285080fb8c69f859a78af3d309d3004b115596c9e5c3532142bb98d714d27c1b68b114a8c1c02f3978718c8
DIST p2pool-2.6-cppzmq.tar.gz 46998 BLAKE2B fde029a8cecb1f3e7d901225bad1b32fde8d6848c80d7bd1a34025d63ab2288d8a3ef1335268ec6dc6ba3d4fdbb8cc8ff167c2a35112e3322afcd16a6a6d3fc5 SHA512 c9615558a5001e2d2772aeb452a1e5d0fbeb13d05e34ad0ee37e85dbff192d03ad4530a7f0a341f72d30062c4e8f34b8545a2c299d7180a8aa4a814b113e6fcd
DIST p2pool-2.6-curl.tar.gz 3020843 BLAKE2B 3d927d332be2ee99169fbf9525a1ccdb6efa56c80d657fba46eb66b50c225efc914a2f80dc5032b35eae1ceb8be630bfd1d3338fbf978e0050f720c4f654e85f SHA512 caf7576ab3058dfe29b87686d8b8272303829121c8bdd59fa61385fb61a2314c9d3f320b5dfffd8e4022aba72159a33d66de1888c8028c8d1428b1953b150847
DIST p2pool-2.6-libuv.tar.gz 1309503 BLAKE2B c02adce321775480d832f45d26c42e0eb1e6abee3f1b70f15e1c1d6c808a763d8bdb6b54264e676a9964532c58a96bcf0f4b159b62c8fbea9b50a9befdf979df SHA512 4b63745d48c5318d75ef3580fc6d6288b1ca26a25f69fbef2af4b6fe1d1fe1255986cbb1fb5124e1ba6cd324868ebccdc6f6965e08e3e0fbde29f22e7e20ce89
diff --git a/net-p2p/p2pool/p2pool-2.3.ebuild b/net-p2p/p2pool/p2pool-2.3.ebuild
deleted file mode 100644
index 1cd951c55..000000000
--- a/net-p2p/p2pool/p2pool-2.3.ebuild
+++ /dev/null
@@ -1,76 +0,0 @@
-# Copyright 2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake
-
-P2POOL_DIST_COMMIT="d40bb61da88ac25b8d92ca37c006d0d7e8ec8550"
- RANDOMX_DIST_COMMIT="b39068f7c3086f7453a80b7a444d3651b0684500"
- CPPZMQ_DIST_COMMIT="e70dd63a343e79315ff3950246a6f0d20b018944"
- CURL_DIST_COMMIT="e5926fe5f91ae5673c7d5e31e484aed4188581f7"
- LIBUV_DIST_COMMIT="0c1fa696aa502eb749c2c4735005f41ba00a27b8"
- LIBZMQ_DIST_COMMIT="4e193f36fc7d0f729a7c87d55fff18d8c0db5ebf"
- RAPIDJSON_DIST_COMMIT="914b772dfda5301dfa94309a114b207c67720d68"
- ROBIN_HOOD_HASHING_DIST_COMMIT="7f87d77122d15f76519f2b03f5455df98758e764"
-
-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 ${PF}-randomx.tar.gz ${PF}-cppzmq.tar.gz ${PF}-curl.tar.gz ${PF}-libuv.tar.gz ${PF}-libzmq.tar.gz ${PF}-rapidjson.tar.gz ${PF}-robin-hood-hashing.tar.gz
- #mv -T "${WORKDIR}"/p2pool-${P2POOL_DIST_COMMIT} "${WORKDIR}"/${PF}
- mv -T "${WORKDIR}"/RandomX-${RANDOMX_DIST_COMMIT} "${WORKDIR}"/${PF}/external/src/RandomX || die
- mv -T "${WORKDIR}"/cppzmq-${CPPZMQ_DIST_COMMIT} "${WORKDIR}"/${PF}/external/src/cppzmq || die
- mv -T "${WORKDIR}"/curl-${CURL_DIST_COMMIT} "${WORKDIR}"/${PF}/external/src/curl || die
- mv -T "${WORKDIR}"/libuv-${LIBUV_DIST_COMMIT} "${WORKDIR}"/${PF}/external/src/libuv || die
- mv -T "${WORKDIR}"/libzmq-${LIBZMQ_DIST_COMMIT} "${WORKDIR}"/${PF}/external/src/libzmq || die
- mv -T "${WORKDIR}"/rapidjson-${RAPIDJSON_DIST_COMMIT} "${WORKDIR}"/${PF}/external/src/rapidjson || die
- mv -T "${WORKDIR}"/robin-hood-hashing-${ROBIN_HOOD_HASHING_DIST_COMMIT} "${WORKDIR}"/${PF}/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."
-}
diff --git a/net-p2p/p2pool/p2pool-2.5.ebuild b/net-p2p/p2pool/p2pool-2.5.ebuild
deleted file mode 100644
index 036bff9a9..000000000
--- a/net-p2p/p2pool/p2pool-2.5.ebuild
+++ /dev/null
@@ -1,76 +0,0 @@
-# Copyright 2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake
-
-P2POOL_DIST_COMMIT="6cf1b13500795260fd9b98de393ecd19f5aabd5d"
- RANDOMX_DIST_COMMIT="d10edcbc93097a1b693598b3b12d780a58a023d4"
- CPPZMQ_DIST_COMMIT="381f699d37d56266bca87cde094fc82acda2fa68"
- CURL_DIST_COMMIT="93d092867f0f2c78571983040ef75e078ee1a4c4"
- LIBUV_DIST_COMMIT="0c1fa696aa502eb749c2c4735005f41ba00a27b8"
- LIBZMQ_DIST_COMMIT="ec6f3b1dbacabd5acb0a91933959d4078ca5730f"
- RAPIDJSON_DIST_COMMIT="914b772dfda5301dfa94309a114b207c67720d68"
- ROBIN_HOOD_HASHING_DIST_COMMIT="7f87d77122d15f76519f2b03f5455df98758e764"
-
-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."
-}
diff --git a/net-p2p/p2pool/p2pool-2.6.ebuild b/net-p2p/p2pool/p2pool-2.6.ebuild
deleted file mode 100644
index 4ff46dbce..000000000
--- a/net-p2p/p2pool/p2pool-2.6.ebuild
+++ /dev/null
@@ -1,76 +0,0 @@
-# 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."
-}
diff --git a/net-p2p/p2pool/p2pool-9999.ebuild b/net-p2p/p2pool/p2pool-9999.ebuild
index 63dce5078..6f873b900 100644
--- a/net-p2p/p2pool/p2pool-9999.ebuild
+++ b/net-p2p/p2pool/p2pool-9999.ebuild
@@ -6,7 +6,7 @@ EAPI=8
inherit cmake git-r3
DESCRIPTION="Decentralized pool for Monero mining"
-HOMEPAGE="https://p2pool.io https://github.com/SChernykh/p2pool"
+HOMEPAGE="https://p2pool.io"
SRC_URI=""
EGIT_REPO_URI="https://github.com/SChernykh/p2pool.git"
@@ -16,6 +16,7 @@ SLOT="0"
DEPEND="
dev-libs/libsodium
+ net-libs/czmq
"
src_configure() {