net-p2p/p2pool: drop old

Signed-off-by: Filip Kobierski <fkobi@pm.me>
This commit is contained in:
Filip Kobierski
2025-05-06 18:26:58 +02:00
parent fdd0bf4b4f
commit b4320e19fa
5 changed files with 0 additions and 352 deletions

View File

@@ -1,8 +1,2 @@
DIST p2pool-4.1.1.tar.xz 129219228 BLAKE2B b6ceebcb497b928dd61f9c85086295b674216afa24b6c74a4a60695a2fb72201c5544fe4d1904d3c3fd2f9e2d49a54db836946afc6dfeae8a457450c1ac177eb SHA512 d9e87336ed5b7aee7dc6dd4761dd1ea4a7afc5901985404976ebd442155a16fe3b09e6b6133c8f617c0dce073fd6d7dff98d535032338633a4a452d99410e0c9
DIST p2pool-4.1.1_shasums.asc 2021 BLAKE2B 6bf7bf3c4c1681944ee4296ca079111e2536a35ded2d39c741f6b2a15f36fe5b9de12e846fb4ce07f7d4fc17ef6c216c6d36ea1a6bb08828c45ccff9f0834467 SHA512 8a0740614f70725161f15bd179a10cc3597225f3b68b4bc5c2f31dadadd9f9b054062af635bd2a2fa550428fc2147f9729283490cb9d4fbe82d6c0c1202f1992
DIST p2pool-4.3.tar.xz 121435168 BLAKE2B fe09dbf3239b3a3785dcdcddb768f2ae2cdd8e4c7c4e07c4521c9f03b2eb6755b83ddb4ecc46fc9a2d524e6689be83bebea8dc43667b4f187db61d9aa9671084 SHA512 d3a1d4bd1b757fbdc3f7fd91aaeb457e19ed4f72dc9b6adf2ffb2e2e70916036d08ed19ec5e4b0aa534ebabfe43fba8f6956cd6c408c04b609ad761b985d35e5
DIST p2pool-4.3_shasums.asc 2007 BLAKE2B f772d5ed9f93ce54d90f1fc168af8e92f18872d1d274bdfadcf3444cc9a0d5e6a97ced411ec4150f819243cd7fbd373a6f9219b746f661e099f61ac21c6f566a SHA512 6e8ebc1cdcd3ad81ccabf29532d788662d89fab089166d038c53d5d5685b864c45bfe92c81cb39a69cea1bdd8f9bf94f69578d64e29cc093af4ccf4108865ea9
DIST p2pool-4.4.tar.xz 117006468 BLAKE2B d9546b56c4085f176084d36ee56a84bb1c7e253e22864164705dd1a26cee35d68a4e30d74ed92e8bd3cb01ea929cbfbd35b5cb516aaf36e02c12b0e706baee02 SHA512 83e4f2f363511951a289eb7a12b55aa949c802ce29f5b7f0cf982fa37fe72d7551460d718ed3ef833685b6eef641a8e0ba997a6021fce6a01da2e650a68ec11d
DIST p2pool-4.4_shasums.asc 2007 BLAKE2B 85d2263d673f26044ed89812a9b8aea5c383360ddf0ef6ddcdf832bd2a1245b6e2655d947e5854cb7323f9400a7afe91968cfa57faa7b32e8188d82e46e29983 SHA512 0c22da304c2a2744836af1a45908e7907dcc3ff26ea1885c1feb505b12a42f3fdf290788a3225405354e6291c656c2f85e55cac16b3a219b9e35d926c6b3d1b6
DIST p2pool-4.5.tar.xz 116891264 BLAKE2B 70c878f17e679b152213aec26404bee66534c4261d37408af9d9f14b4a4c87c75640560e506246c04b877c792b01ab2c9383d6d9950fcb80615691dd284772f4 SHA512 5fa82d375fb68edfbeaf7b8c4d85df159c861cda8266fdb6541db40972ea4bed776a7e10eb3447c78218e9658a855a09908c1f02fc59703c4e05bafe2c243cbc DIST p2pool-4.5.tar.xz 116891264 BLAKE2B 70c878f17e679b152213aec26404bee66534c4261d37408af9d9f14b4a4c87c75640560e506246c04b877c792b01ab2c9383d6d9950fcb80615691dd284772f4 SHA512 5fa82d375fb68edfbeaf7b8c4d85df159c861cda8266fdb6541db40972ea4bed776a7e10eb3447c78218e9658a855a09908c1f02fc59703c4e05bafe2c243cbc
DIST p2pool-4.5_shasums.asc 2007 BLAKE2B 0fb2d4594a016bf5dae48c6c4fb549c0957bb80fac27b0053ddb098884c9ba90ba5f25e1e62b745ece64d561658aab4147c5fba872b2483bf27b8707ccac3ab7 SHA512 e8af1df9364065bfffc49cc46e278500719a5a431d76cf6124d047724fefda4ca0a52810c8a6f60c085074957b7f96235fb09b4658963a7d25b5e2fa6df4ddd1 DIST p2pool-4.5_shasums.asc 2007 BLAKE2B 0fb2d4594a016bf5dae48c6c4fb549c0957bb80fac27b0053ddb098884c9ba90ba5f25e1e62b745ece64d561658aab4147c5fba872b2483bf27b8707ccac3ab7 SHA512 e8af1df9364065bfffc49cc46e278500719a5a431d76cf6124d047724fefda4ca0a52810c8a6f60c085074957b7f96235fb09b4658963a7d25b5e2fa6df4ddd1

View File

@@ -1,82 +0,0 @@
# Copyright 2022-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
#TODO: enable/fix GRPC dependency and add it as USE flag (https://github.com/SChernykh/p2pool/issues/313)
EAPI=8
inherit cmake verify-sig
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
verify-sig? ( https://github.com/SChernykh/p2pool/releases/download/v${PV}/sha256sums.txt.asc -> ${P}_shasums.asc )
"
LICENSE="BSD GPL-3+ ISC LGPL-3+ MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
#IUSE="grpc"
DEPEND="
dev-libs/libsodium
net-libs/czmq
"
BDEPEND="
verify-sig? ( sec-keys/openpgp-keys-schernykh )
"
src_unpack() {
if use verify-sig; then
local VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/SChernykh.asc
pushd "${DISTDIR}" > /dev/null || die
verify-sig_verify_message ${P}_shasums.asc - | \
tr \\r \\n | \
tr '[:upper:]' '[:lower:]' | \
sed -n '/p2pool_source/,$p' | \
grep -m 1 sha256: | \
sed "s/sha256: \(.*\)/\1 ${P}.tar.xz/" | \
verify-sig_verify_unsigned_checksums - sha256 ${P}.tar.xz
assert
popd || die
fi
unpack ${P}.tar.xz
mv -T "${WORKDIR}"/${PN} "${WORKDIR}"/${P} || die
}
src_prepare(){
rm "${S}/cmake/flags.cmake" || die
cp "${FILESDIR}/flags.cmake" "${S}/cmake/flags.cmake" || die
cmake_src_prepare
default_src_prepare
}
src_configure() {
local mycmakeargs=(
-DWITH_RANDOMX=OFF
-DWITH_GRPC=OFF
#-DWITH_GRPC=$(usex grpc)
)
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."
}

View File

@@ -1,80 +0,0 @@
# Copyright 2022-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
#TODO: enable/fix GRPC/TLS dependency and add it as USE flag (https://github.com/SChernykh/p2pool/issues/313)
# These features build fine in cmake outside of portage, I can't figure out how to link them here for the life of me.
# It's probably better to just re-write the CMakeLists.txt to dynamicially link with gRPC
EAPI=8
inherit cmake verify-sig
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
verify-sig? ( https://github.com/SChernykh/p2pool/releases/download/v${PV}/sha256sums.txt.asc -> ${P}_shasums.asc )
"
LICENSE="BSD GPL-3+ ISC LGPL-3+ MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
#IUSE="grpc tls"
DEPEND="
dev-libs/openssl
net-libs/czmq
dev-libs/libuv
net-misc/curl
"
BDEPEND="
verify-sig? ( sec-keys/openpgp-keys-schernykh )
"
src_unpack() {
if use verify-sig; then
local VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/SChernykh.asc
pushd "${DISTDIR}" > /dev/null || die
verify-sig_verify_message ${P}_shasums.asc - | \
tr \\r \\n | \
tr '[:upper:]' '[:lower:]' | \
sed -n '/p2pool_source/,$p' | \
grep -m 1 sha256: | \
sed "s/sha256: \(.*\)/\1 ${P}.tar.xz/" | \
verify-sig_verify_unsigned_checksums - sha256 ${P}.tar.xz
assert
popd || die
fi
unpack ${P}.tar.xz
mv -T "${WORKDIR}"/${PN} "${WORKDIR}"/${P} || die
}
src_configure() {
local mycmakeargs=(
-DSTATIC_BINARY=OFF
-DSTATIC_LIBS=OFF
-DWITH_GRPC=OFF #$(usex grpc)
-DWITH_TLS=OFF #$(usex tls)
)
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."
}

View File

@@ -1,102 +0,0 @@
# Copyright 2022-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
#TODO: enable/fix GRPC/TLS dependency and add it as USE flag (https://github.com/SChernykh/p2pool/issues/313)
# These features build fine in cmake outside of portage, I can't figure out how to link them here for the life of me.
# It's probably better to just re-write the CMakeLists.txt to dynamicially link with gRPC
EAPI=8
inherit cmake verify-sig
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
verify-sig? ( https://github.com/SChernykh/p2pool/releases/download/v${PV}/sha256sums.txt.asc -> ${P}_shasums.asc )
"
LICENSE="BSD GPL-3+ ISC LGPL-3+ MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
#IUSE="grpc tls"
IUSE="daemon"
DEPEND="
dev-libs/libsodium:=
dev-libs/libuv:=
dev-libs/randomx
net-libs/zeromq:=
net-misc/curl
daemon? (
acct-group/monero
acct-user/monero
)
"
RDEPEND="${DEPEND}"
BDEPEND="verify-sig? ( sec-keys/openpgp-keys-schernykh )"
src_unpack() {
if use verify-sig; then
local VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/SChernykh.asc
pushd "${DISTDIR}" > /dev/null || die
verify-sig_verify_message ${P}_shasums.asc - | \
tr \\r \\n | \
tr '[:upper:]' '[:lower:]' | \
sed -n '/p2pool_source/,$p' | \
grep -m 1 sha256: | \
sed "s/sha256: \(.*\)/\1 ${P}.tar.xz/" | \
verify-sig_verify_unsigned_checksums - sha256 ${P}.tar.xz
assert
popd || die
fi
unpack ${P}.tar.xz
mv -T "${WORKDIR}"/{${PN},${P}} || die
}
src_configure() {
local mycmakeargs=(
-DSTATIC_BINARY=OFF
-DSTATIC_LIBS=OFF
-DWITH_GRPC=OFF #$(usex grpc)
-DWITH_TLS=OFF #$(usex tls)
)
cmake_src_configure
}
src_install(){
dobin "${BUILD_DIR}/p2pool"
if use daemon; then
# data-dir
keepdir /var/lib/${PN}
fowners monero:monero /var/lib/${PN}
fperms 0755 /var/lib/${PN}
# OpenRC
newconfd "${FILESDIR}"/${PN}.confd ${PN}
newinitd "${FILESDIR}"/${PN}.initd ${PN}
fi
}
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."
if use daemon; then
einfo "p2pool supports just OpenRC daemon right now."
einfo "To launch it set your wallet address in /etc/conf.d/${PN} and run"
einfo " # rc-service p2pool start"
fi
}

View File

@@ -1,82 +0,0 @@
# Copyright 2022-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
#TODO: enable/fix GRPC/TLS dependency and add it as USE flag (https://github.com/SChernykh/p2pool/issues/313)
# These features build fine in cmake outside of portage, I can't figure out how to link them here for the life of me.
# It's probably better to just re-write the CMakeLists.txt to dynamicially link with gRPC
EAPI=8
inherit cmake verify-sig
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
verify-sig? ( https://github.com/SChernykh/p2pool/releases/download/v${PV}/sha256sums.txt.asc -> ${P}_shasums.asc )
"
LICENSE="BSD GPL-3+ ISC LGPL-3+ MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
#IUSE="grpc tls"
DEPEND="
dev-libs/openssl
dev-libs/libuv:=
net-libs/czmq
net-libs/zeromq:=
net-misc/curl
"
RDEPEND="${DEPEND}"
BDEPEND="
verify-sig? ( sec-keys/openpgp-keys-schernykh )
"
src_unpack() {
if use verify-sig; then
local VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/SChernykh.asc
pushd "${DISTDIR}" > /dev/null || die
verify-sig_verify_message ${P}_shasums.asc - | \
tr \\r \\n | \
tr '[:upper:]' '[:lower:]' | \
sed -n '/p2pool_source/,$p' | \
grep -m 1 sha256: | \
sed "s/sha256: \(.*\)/\1 ${P}.tar.xz/" | \
verify-sig_verify_unsigned_checksums - sha256 ${P}.tar.xz
assert
popd || die
fi
unpack ${P}.tar.xz
mv -T "${WORKDIR}"/${PN} "${WORKDIR}"/${P} || die
}
src_configure() {
local mycmakeargs=(
-DSTATIC_BINARY=OFF
-DSTATIC_LIBS=OFF
-DWITH_GRPC=OFF #$(usex grpc)
-DWITH_TLS=OFF #$(usex tls)
)
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."
}