net-p2p/p2pool: version bump

Signed-off-by: Adam Pimentel <adam.pimentel@protonmail.com>
This commit is contained in:
Adam Pimentel
2024-01-04 17:50:31 -05:00
parent 5a4ee4ee4d
commit c694c8fa99
2 changed files with 63 additions and 0 deletions

View File

@@ -1,3 +1,4 @@
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

View File

@@ -0,0 +1,62 @@
# 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"
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.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 visibile unless you use a wallet that supports P2Pool."
ewarn "See https://p2pool.io/#help and https://github.com/SChernykh/p2pool for more information."
}