diff options
author | Adam Pimentel <adam.pimentel@protonmail.com> | 2023-06-30 20:22:03 -0400 |
---|---|---|
committer | Adam Pimentel <adam.pimentel@protonmail.com> | 2023-06-30 20:22:03 -0400 |
commit | 9cf3fbae637aa7375e3c26ec3ae03ae511daff2d (patch) | |
tree | 87f99d1754860f2d4be60c7ca10ffbc3a09f27ef /net-p2p | |
parent | dev-python/pytest-mypy-plugins: drop 1.11.1 (diff) | |
download | guru-9cf3fbae637aa7375e3c26ec3ae03ae511daff2d.tar.gz guru-9cf3fbae637aa7375e3c26ec3ae03ae511daff2d.tar.bz2 guru-9cf3fbae637aa7375e3c26ec3ae03ae511daff2d.zip |
net-p2p/p2pool: version bump
Signed-off-by: Adam Pimentel <adam.pimentel@protonmail.com>
Diffstat (limited to 'net-p2p')
-rw-r--r-- | net-p2p/p2pool/Manifest | 8 | ||||
-rw-r--r-- | net-p2p/p2pool/p2pool-3.5.ebuild | 110 |
2 files changed, 118 insertions, 0 deletions
diff --git a/net-p2p/p2pool/Manifest b/net-p2p/p2pool/Manifest index d256d717c..51addfceb 100644 --- a/net-p2p/p2pool/Manifest +++ b/net-p2p/p2pool/Manifest @@ -43,3 +43,11 @@ DIST p2pool-3.4-randomx.tar.gz 165921 BLAKE2B 67d1c3e0c21307f0205a92ec4d3ad87a49 DIST p2pool-3.4-rapidjson.tar.gz 1115887 BLAKE2B f135cff2fc7d03e6c4507745007bcb0fa8850ec6b745713732ba4ae6d1cd8da1a121b52f7138c50b28bfe66e319de8dc8cc12a98c10b28a5be1f2faa0c58deec SHA512 09911a870773b20ab2cdd37c43ffecb0b7ce921e5de00a27514caff5b412b420cb5c0237743abb9919407d7479f00cd997a1101747e4dd286f2db5c69691b688 DIST p2pool-3.4-robin-hood-hashing.tar.gz 177642 BLAKE2B e66b8388fcd1f6294f67a18bbc45ac8083b9e8fd8d304a35963645934c9054c98c54b10dd8185e72da4d88e3825f7daed8f503f75589e799717aa4a3e1e101f9 SHA512 c569727678600d7c7ca0fd436e1fffbefab129455d12c57e01d74c57bf5d470f6e0aefe15e35831f1c31166e1a39398995403b1b5e346547549a819be202cd7a DIST p2pool-3.4.tar.gz 64281004 BLAKE2B eacb0a568da671efcd6b72e612461b0db2d1120dc4e0fb3e7c7ffdc3d26754a87ad8ee7cfdb3de696de3307f45aa83c5e6a16cb532e2c77f0d1d593742a51f78 SHA512 fa9b402d494b9f48157168ad755c81edcad49694e9d193556558b313a37c52fb62001543c54ece0fb539dfb415dbc1a78d926a03475800009219d6afcb808233 +DIST p2pool-3.5-cppzmq.tar.gz 46998 BLAKE2B fde029a8cecb1f3e7d901225bad1b32fde8d6848c80d7bd1a34025d63ab2288d8a3ef1335268ec6dc6ba3d4fdbb8cc8ff167c2a35112e3322afcd16a6a6d3fc5 SHA512 c9615558a5001e2d2772aeb452a1e5d0fbeb13d05e34ad0ee37e85dbff192d03ad4530a7f0a341f72d30062c4e8f34b8545a2c299d7180a8aa4a814b113e6fcd +DIST p2pool-3.5-curl.tar.gz 3115634 BLAKE2B b19eabd3ee0d237e96507ad8a9ba205f55af323f833530b5fa613fd50403f568770270c846beb9a1985139a393309aef1ee215b9f822881c55a9744ea0d99a9d SHA512 ff2a04b19a9938e9fbf16a7bbaf3df8157a802c547189962fcb14cfc7c7c657b80cececb9f28b34cf2ff472f998acf63281689c7307e9db275fbd7ab5c0be6a7 +DIST p2pool-3.5-libuv.tar.gz 1307624 BLAKE2B 613352e9a61d82567a253a5ccddc3766af691e3d3a557d218e9756d47a225d7ba33c8cb9458b916a87da944e37ca943d52cdc2ed9a5897ca1937ad0f7e692bea SHA512 9f5c578e7d591d67ec50e30a7592232423aa28ff73d3cc5404eaba645152e8af95208883dfee234737073830d01cf7c3193aace03447b9354deb3b68351055b5 +DIST p2pool-3.5-miniupnp.tar.gz 455438 BLAKE2B f8ab88a3a2dd3ed5bd8e463e54f4ef38fd2706c2944637f8a5d711bea8aba47e5c270aa4d60fa37ac3efa0df9277860752e72f691e5bac960cdb6bf577006839 SHA512 ba81e9e483653a6fe50c867979f2107c8aa8125c0208037e01a953b66f246d60969549ddafd5e3d2ea98a5b9cd8308024d3120c713c815f17bbc8c12bcf22b87 +DIST p2pool-3.5-randomx.tar.gz 165921 BLAKE2B 67d1c3e0c21307f0205a92ec4d3ad87a49b0b30c299ea916abc7bcd85280aa24491fa6bdb54c08f78c608f57d9dea448db9de67514f8909e6df30a537b2ed279 SHA512 d6fcf4c96c793a563fdb0545bad586e35c5bf74753f2d4450d32f247f337b7a417f6c8679a812bb0b52d004f845d3c327553563a637d3538ec42404be0e3e4c9 +DIST p2pool-3.5-rapidjson.tar.gz 1115887 BLAKE2B f135cff2fc7d03e6c4507745007bcb0fa8850ec6b745713732ba4ae6d1cd8da1a121b52f7138c50b28bfe66e319de8dc8cc12a98c10b28a5be1f2faa0c58deec SHA512 09911a870773b20ab2cdd37c43ffecb0b7ce921e5de00a27514caff5b412b420cb5c0237743abb9919407d7479f00cd997a1101747e4dd286f2db5c69691b688 +DIST p2pool-3.5-robin-hood-hashing.tar.gz 177642 BLAKE2B e66b8388fcd1f6294f67a18bbc45ac8083b9e8fd8d304a35963645934c9054c98c54b10dd8185e72da4d88e3825f7daed8f503f75589e799717aa4a3e1e101f9 SHA512 c569727678600d7c7ca0fd436e1fffbefab129455d12c57e01d74c57bf5d470f6e0aefe15e35831f1c31166e1a39398995403b1b5e346547549a819be202cd7a +DIST p2pool-3.5.tar.gz 64292348 BLAKE2B e445abd689119136d00f29a859f90895c3a903aa1458d5c76a08f09e2ba8c51b0d65b3ba65d1729d9c7592e701301e22e5d33be132fdccf6bf27c7daac3db70e SHA512 30e40b4aa47f803ef0790885daba134cd4b2fba3ebd64d313e0f54a5f9215cb3f2ad0ad411a059b7f65e24973704f17913d895a36fc3ac4102621e2b05a4be1c diff --git a/net-p2p/p2pool/p2pool-3.5.ebuild b/net-p2p/p2pool/p2pool-3.5.ebuild new file mode 100644 index 000000000..ab2b6bb2a --- /dev/null +++ b/net-p2p/p2pool/p2pool-3.5.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="d78885dcd4d5438da80bbb70130f245956a8d501" + RANDOMX_DIST_COMMIT="59d1483ad70bbe0c8b34d153cc1972c6925fdf24" + CPPZMQ_DIST_COMMIT="c66fc6094b2a03439dea8469719e221e80e2e8e7" + CURL_DIST_COMMIT="046209e561b7e9b5aab1aef7daebf29ee6e6e8c7" + LIBUV_DIST_COMMIT="7bb8ba6afcc88516f84a5b6798739005c511290e" + RAPIDJSON_DIST_COMMIT="678281bbdb3c180b8b26810c4aa3fb20f914f857" + ROBIN_HOOD_HASHING_DIST_COMMIT="4213dd109f03b49c68b52074d929e6f221803bed" + MINIUPNP_DIST_COMMIT="cb3650edba77d1cb3b0d612b7eccc5220049aa4f" + +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." +} |