mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-09 15:13:31 -04:00
net-p2p/p2pool: version bump
Signed-off-by: Adam Pimentel <adam.pimentel@protonmail.com>
This commit is contained in:
@@ -9,3 +9,4 @@ DIST p2pool-3.5.tar.gz 64292348 BLAKE2B e445abd689119136d00f29a859f90895c3a903aa
|
||||
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
|
||||
|
||||
62
net-p2p/p2pool/p2pool-3.9.ebuild
Normal file
62
net-p2p/p2pool/p2pool-3.9.ebuild
Normal 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."
|
||||
}
|
||||
Reference in New Issue
Block a user