diff options
author | Adam Pimentel <adam.pimentel@protonmail.com> | 2024-08-01 16:24:12 -0400 |
---|---|---|
committer | Adam Pimentel <adam.pimentel@protonmail.com> | 2024-08-01 16:24:12 -0400 |
commit | 81913da0f3a3d6a18dd6ea329ed6cc1f75c406fa (patch) | |
tree | 33efc1e5d9073e2b77a1563124e46964b07866e5 /net-p2p | |
parent | app-benchmarks/poop: Zig is not needed at runtime (diff) | |
download | guru-81913da0f3a3d6a18dd6ea329ed6cc1f75c406fa.tar.gz guru-81913da0f3a3d6a18dd6ea329ed6cc1f75c406fa.tar.bz2 guru-81913da0f3a3d6a18dd6ea329ed6cc1f75c406fa.zip |
net-p2p/p2pool: remove old ebuilds (network isn't reverse-compatible)
Signed-off-by: Adam Pimentel <adam.pimentel@protonmail.com>
Diffstat (limited to 'net-p2p')
-rw-r--r-- | net-p2p/p2pool/Manifest | 13 | ||||
-rw-r--r-- | net-p2p/p2pool/p2pool-3.10.ebuild | 61 | ||||
-rw-r--r-- | net-p2p/p2pool/p2pool-3.5.ebuild | 109 | ||||
-rw-r--r-- | net-p2p/p2pool/p2pool-3.6.2.ebuild | 61 | ||||
-rw-r--r-- | net-p2p/p2pool/p2pool-3.7.ebuild | 61 | ||||
-rw-r--r-- | net-p2p/p2pool/p2pool-3.8.ebuild | 61 | ||||
-rw-r--r-- | net-p2p/p2pool/p2pool-3.9.ebuild | 61 |
7 files changed, 0 insertions, 427 deletions
diff --git a/net-p2p/p2pool/Manifest b/net-p2p/p2pool/Manifest index 706fce8fd..42c22fbcc 100644 --- a/net-p2p/p2pool/Manifest +++ b/net-p2p/p2pool/Manifest @@ -1,14 +1 @@ -DIST p2pool-3.10.tar.xz 52919364 BLAKE2B 681610e017dd62e775ed458926f5b94853b036f127a93cc5af9307d85b2d2a0efac445a70ba301c170dd4ad8ad09cfdbf59d0c51048dbbe4281581b19ed6a6c5 SHA512 8fab61fb9b2b57cb3f06ba2d5e9cf2a515631cd356ee0efe95071c987b2a3784d28aba223cad1b07675916eb1ee4a17950142918053aefa92756aa7552e14b08 -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 -DIST p2pool-3.6.2.tar.xz 52891908 BLAKE2B 590a1001a69c308b709fa27c32e1f489662ffe02ed604c2920b2cf721f3265b87326c7aedb26bc6e559013fae6f4618374afe7595e66832921f9962d9896893b SHA512 7d9a9bc1bcff8908591b8e4a1307c905bed431afcde7f1ecdb6373b4432dc4330e2735991a9b782710e3e98fbff1c7281c4dc155ad61fdd012e9577662dd0abc -DIST p2pool-3.7.tar.xz 52901632 BLAKE2B daece7cebbc4227a7822ab78a91b13b773dac5769aa1aae22265a6dc9d5135a6e8abb2c2eee3546732b8769e5552c2d516601bbf058a440ac84bc99db5498f89 SHA512 9cd7000aefe47bfde0905d04ab548e712b2b5f80e4e81247918a43bec88e33a352fbb6bc000b6a7d96baac0d591af249e46f615aebd1f3553ec77f773dfd472d -DIST p2pool-3.8.tar.xz 52882768 BLAKE2B f1d4de3d5151d06cfeb6f4a101b701e04aa80ce8a6c9f3675a71e5f4e8b68e59037b9ecd5747f4f79e5b9aa85b98f81b08a955e92683e7db9cff00329695f3f6 SHA512 c2de1b0598abe816130c1397bab6099dcd4fe73307c742987da555e7599a8368b290ce139cee3dd484a443d1ccd88b8e8813b546fa87986bbce2045051abcbcc -DIST p2pool-3.9.tar.xz 52898892 BLAKE2B ca90eddd8407f59b7d56e1a94252c9cdc46796090ba0cf1a992c1b0031f4cb778297833d76d26db6e71d93830a11409a34607faf9ced8dac9334e900635188e6 SHA512 5968c85f187d9fcab0df5e4fcec78152fd77600362237a1468f215ecf9d53b713f29d0abd1547bb986f63120dcd6100589492e76b48bed19d34c4314b1379e7b DIST p2pool-4.0.tar.xz 127772256 BLAKE2B 77de14bd19f43483fa7da0e65f8a27d5f6cf8c2daf5d8d5e07be373c752794bd35c421fd812b65328acd22004766ff235e9ad6e7e613d08ca3c27ac95153cbc3 SHA512 ea37993d13342b303902e6aa6acb090a908ba99ae304d9415480ff39a3647c84a963ab80b317c9c78a9f11631e0ca9547a08c6e0c23b83892037b63d4beef7a2 diff --git a/net-p2p/p2pool/p2pool-3.10.ebuild b/net-p2p/p2pool/p2pool-3.10.ebuild deleted file mode 100644 index fc3146755..000000000 --- a/net-p2p/p2pool/p2pool-3.10.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -DESCRIPTION="Decentralized pool for Monero mining" -HOMEPAGE="https://p2pool.io" -SRC_URI=" https://github.com/SChernykh/p2pool/releases/download/v${PV}/p2pool_source.tar.xz -> ${P}.tar.xz" - -LICENSE="BSD GPL-3+ ISC LGPL-3+ MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" - -DEPEND=" - dev-libs/libsodium - net-libs/czmq -" - -src_unpack() { - unpack ${P}.tar.xz - mv -T "${WORKDIR}"/${PN} "${WORKDIR}"/${P} || 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 visible 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-3.5.ebuild b/net-p2p/p2pool/p2pool-3.5.ebuild deleted file mode 100644 index 156af215c..000000000 --- a/net-p2p/p2pool/p2pool-3.5.ebuild +++ /dev/null @@ -1,109 +0,0 @@ -# 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 -" -LICENSE="BSD GPL-3+ ISC LGPL-3+ MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" - -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 visible 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-3.6.2.ebuild b/net-p2p/p2pool/p2pool-3.6.2.ebuild deleted file mode 100644 index fc3146755..000000000 --- a/net-p2p/p2pool/p2pool-3.6.2.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -DESCRIPTION="Decentralized pool for Monero mining" -HOMEPAGE="https://p2pool.io" -SRC_URI=" https://github.com/SChernykh/p2pool/releases/download/v${PV}/p2pool_source.tar.xz -> ${P}.tar.xz" - -LICENSE="BSD GPL-3+ ISC LGPL-3+ MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" - -DEPEND=" - dev-libs/libsodium - net-libs/czmq -" - -src_unpack() { - unpack ${P}.tar.xz - mv -T "${WORKDIR}"/${PN} "${WORKDIR}"/${P} || 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 visible 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-3.7.ebuild b/net-p2p/p2pool/p2pool-3.7.ebuild deleted file mode 100644 index fc3146755..000000000 --- a/net-p2p/p2pool/p2pool-3.7.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -DESCRIPTION="Decentralized pool for Monero mining" -HOMEPAGE="https://p2pool.io" -SRC_URI=" https://github.com/SChernykh/p2pool/releases/download/v${PV}/p2pool_source.tar.xz -> ${P}.tar.xz" - -LICENSE="BSD GPL-3+ ISC LGPL-3+ MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" - -DEPEND=" - dev-libs/libsodium - net-libs/czmq -" - -src_unpack() { - unpack ${P}.tar.xz - mv -T "${WORKDIR}"/${PN} "${WORKDIR}"/${P} || 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 visible 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-3.8.ebuild b/net-p2p/p2pool/p2pool-3.8.ebuild deleted file mode 100644 index fc3146755..000000000 --- a/net-p2p/p2pool/p2pool-3.8.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -DESCRIPTION="Decentralized pool for Monero mining" -HOMEPAGE="https://p2pool.io" -SRC_URI=" https://github.com/SChernykh/p2pool/releases/download/v${PV}/p2pool_source.tar.xz -> ${P}.tar.xz" - -LICENSE="BSD GPL-3+ ISC LGPL-3+ MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" - -DEPEND=" - dev-libs/libsodium - net-libs/czmq -" - -src_unpack() { - unpack ${P}.tar.xz - mv -T "${WORKDIR}"/${PN} "${WORKDIR}"/${P} || 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 visible 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-3.9.ebuild b/net-p2p/p2pool/p2pool-3.9.ebuild deleted file mode 100644 index fc3146755..000000000 --- a/net-p2p/p2pool/p2pool-3.9.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -DESCRIPTION="Decentralized pool for Monero mining" -HOMEPAGE="https://p2pool.io" -SRC_URI=" https://github.com/SChernykh/p2pool/releases/download/v${PV}/p2pool_source.tar.xz -> ${P}.tar.xz" - -LICENSE="BSD GPL-3+ ISC LGPL-3+ MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" - -DEPEND=" - dev-libs/libsodium - net-libs/czmq -" - -src_unpack() { - unpack ${P}.tar.xz - mv -T "${WORKDIR}"/${PN} "${WORKDIR}"/${P} || 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 visible unless you use a wallet that supports P2Pool." - ewarn "See https://p2pool.io/#help and https://github.com/SChernykh/p2pool for more information." -} |