summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Andrews <candrews@gentoo.org>2021-05-05 09:41:01 -0400
committerCraig Andrews <candrews@gentoo.org>2021-05-05 09:42:40 -0400
commit9cce61a6ea403742d9248443c3a31a2362c24d08 (patch)
tree276c9c4c311e5ba3af2ef743415a6d7d05b7786a
parentdev-python/pyparsing: Enable python3.10 (diff)
downloadgentoo-9cce61a6ea403742d9248443c3a31a2362c24d08.tar.gz
gentoo-9cce61a6ea403742d9248443c3a31a2362c24d08.tar.bz2
gentoo-9cce61a6ea403742d9248443c3a31a2362c24d08.zip
net-p2p/xmr-stak-rx: remove last-rited package
Closes: https://bugs.gentoo.org/779169 Closes: https://bugs.gentoo.org/730102 Closes: https://bugs.gentoo.org/715948 Signed-off-by: Craig Andrews <candrews@gentoo.org>
-rw-r--r--net-p2p/xmr-stak-rx/Manifest2
-rw-r--r--net-p2p/xmr-stak-rx/files/xmr-stak-rx24
-rw-r--r--net-p2p/xmr-stak-rx/files/xmr-stak-rx.service32
-rw-r--r--net-p2p/xmr-stak-rx/metadata.xml17
-rw-r--r--net-p2p/xmr-stak-rx/xmr-stak-rx-1.0.4.ebuild65
-rw-r--r--net-p2p/xmr-stak-rx/xmr-stak-rx-1.0.5.ebuild65
-rw-r--r--net-p2p/xmr-stak-rx/xmr-stak-rx-9999.ebuild65
7 files changed, 0 insertions, 270 deletions
diff --git a/net-p2p/xmr-stak-rx/Manifest b/net-p2p/xmr-stak-rx/Manifest
deleted file mode 100644
index 9e70148cb4b..00000000000
--- a/net-p2p/xmr-stak-rx/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST xmr-stak-rx-1.0.4.tar.gz 2595481 BLAKE2B acd0667301255ba145d42ea6a3f6acf731ca9946beccacd6db973a25a03c0e9f53dacb0e716f739f17f38e42b3ccb25e5af9052b7884ccfa0d5e89b6a3ab3c85 SHA512 ce2fb84e88cd3fe2d75d73c6027eea0823d3ac77463229ae838b97ba0e91d43d5f30365363049f7de7a7c1e8e85b5511850da86ecb07ae3db86d276241a7cce3
-DIST xmr-stak-rx-1.0.5.tar.gz 2596272 BLAKE2B 6d0923d7f0c5ed7751f2e38f9142dc3d4a216d4c5c9485ae41f9710fffffc8d7c20626f6d047366b879f9b40a2479613b0f403c078837f9a17564cacb5eb3590 SHA512 79e2a42f31f71cdbe27b89a31d302afc1a1897acd4440482d3cb0cee2c70e90018d64e941e392ebd536e552f46f0002d9dbc4a3efde7f562880ad4236677da56
diff --git a/net-p2p/xmr-stak-rx/files/xmr-stak-rx b/net-p2p/xmr-stak-rx/files/xmr-stak-rx
deleted file mode 100644
index 7803b4eb27a..00000000000
--- a/net-p2p/xmr-stak-rx/files/xmr-stak-rx
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms fo the GNU General Public License, v2
-# /etc/init.d/xmr-stak-rx
-name="xmr-stak-rx"
-description="Free RandomX miner"
-pidfile=/run/xmr-stak-rx.pid
-command=/usr/bin/xmr-stak-rx
-command_args="--cpu /etc/xmr-stak-rx/cpu.config --amd /etc/xmr-stak-rx/amd.config --nvidia /etc/xmr-stak-rx/nvidia.config -c /etc/xmr-stak-rx/main.config -C /etc/xmr-stak-rx/pools.txt"
-start_stop_daemon_args="--background --make-pidfile"
-
-start_pre() {
- if [ ! -r /etc/xmr-stak-rx/main.config ]; then
- eerror "/etc/xmr-stak-rx/main.config is missing."
- errror "Run:"
- eerror "/usr/bin/xmr-stak-rx --cpu /etc/xmr-stak-rx/cpu.config --amd /etc/xmr-stak-rx/amd.config --nvidia /etc/xmr-stak-rx/nvidia.config -c /etc/xmr-stak-rx/main.config -C /etc/xmr-stak-rx/pools.txt"
- errror "xmr-stak-rx can now be terminated and this service can be started"
- return 1
- fi
-}
-
-depend() {
- use dns net
-}
diff --git a/net-p2p/xmr-stak-rx/files/xmr-stak-rx.service b/net-p2p/xmr-stak-rx/files/xmr-stak-rx.service
deleted file mode 100644
index d65af4945df..00000000000
--- a/net-p2p/xmr-stak-rx/files/xmr-stak-rx.service
+++ /dev/null
@@ -1,32 +0,0 @@
-[Unit]
-Description=Monero RandomX Miner
-After=network-online.target
-AssertFileNotEmpty=/etc/xmr-stak-rx/main.config
-
-[Service]
-Environment=GPU_FORCE_64BIT_PTR=1
-Environment=GPU_MAX_HEAP_SIZE=100
-Environment=GPU_USE_SYNC_OBJECTS=1
-Environment=GPU_MAX_ALLOC_PERCENT=100
-Environment=GPU_SINGLE_ALLOC_PERCENT=100
-ExecStart=/usr/bin/xmr-stak-rx --cpu /etc/xmr-stak-rx/cpu.config --amd /etc/xmr-stak-rx/amd.config --nvidia /etc/xmr-stak-rx/nvidia.config -c /etc/xmr-stak-rx/main.config -C /etc/xmr-stak-rx/pools.txt
-DynamicUser=true
-Group=video
-CPUSchedulingPolicy=idle
-PrivateTmp=true
-ProtectHome=true
-ProtectSystem=strict
-NoNewPrivileges=true
-CapabilityBoundingSet=
-MemoryDenyWriteExecute=true
-ProtectKernelModules=true
-ProtectKernelTunables=true
-ProtectControlGroups=true
-RestrictRealtime=true
-RestrictAddressFamilies=AF_INET AF_INET6 AF_UNIX
-RestrictNamespaces=true
-PrivateUsers=true
-ConfigurationDirectory=xmr-stak-rx
-
-[Install]
-WantedBy=multi-user.target
diff --git a/net-p2p/xmr-stak-rx/metadata.xml b/net-p2p/xmr-stak-rx/metadata.xml
deleted file mode 100644
index e487487db1d..00000000000
--- a/net-p2p/xmr-stak-rx/metadata.xml
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>candrews@gentoo.org</email>
- <name>Craig Andrews</name>
- </maintainer>
- <upstream>
- <remote-id type="github">fireice-uk/xmr-stak</remote-id>
- </upstream>
- <use>
- <flag name="cuda">Enable NVIDIA CUDA toolkit support</flag>
- <flag name="hwloc">Enable CPU affinity support via hwloc</flag>
- <flag name="opencl">Enable OpenCL support</flag>
- <flag name="webserver">Enable internal webserver</flag>
- </use>
-</pkgmetadata>
diff --git a/net-p2p/xmr-stak-rx/xmr-stak-rx-1.0.4.ebuild b/net-p2p/xmr-stak-rx/xmr-stak-rx-1.0.4.ebuild
deleted file mode 100644
index b82f8550d86..00000000000
--- a/net-p2p/xmr-stak-rx/xmr-stak-rx-1.0.4.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake systemd
-
-if [[ ${PV} == "9999" ]] ; then
- EGIT_REPO_URI="https://github.com/fireice-uk/xmr-stak.git"
- EGIT_BRANCH="xmr-stak-rx-dev"
- inherit git-r3
- SRC_URI=""
-else
- SRC_URI="https://github.com/fireice-uk/xmr-stak/archive/${PV}-rx.tar.gz -> ${P}.tar.gz"
- S="${WORKDIR}/xmr-stak-${PV}-rx"
- KEYWORDS="~amd64"
-fi
-
-DESCRIPTION="Monero RandomX Miner"
-HOMEPAGE="https://github.com/fireice-uk/xmr-stak"
-LICENSE="GPL-3"
-SLOT="0"
-IUSE="cuda hwloc opencl ssl webserver"
-
-DEPEND="cuda? ( dev-util/nvidia-cuda-toolkit )
- hwloc? ( sys-apps/hwloc )
- opencl? ( virtual/opencl )
- ssl? ( dev-libs/openssl:0= )
- webserver? ( net-libs/libmicrohttpd )"
-RDEPEND="${DEPEND}"
-
-src_prepare() {
- cmake_src_prepare
-}
-
-src_configure() {
- local mycmakeargs=(
- -DCUDA_ENABLE=$(usex cuda)
- -DHWLOC_ENABLE=$(usex hwloc)
- -DMICROHTTPD_ENABLE=$(usex webserver)
- -DOpenCL_ENABLE=$(usex opencl)
- -DOpenSSL_ENABLE=$(usex ssl)
- -DLIBRARY_OUTPUT_PATH=$(get_libdir)
- )
- cmake_src_configure
-}
-
-src_install() {
- cmake_src_install
- systemd_newunit "${FILESDIR}"/${PN}.service ${PN}.service
- doinitd "${FILESDIR}"/${PN}
- dodir /etc/xmr-stak-rx
-}
-
-pkg_postinst() {
- if [ ! -e "${ROOT}/etc/xmr-stak-rx/main.config" ]; then
- ewarn "To use xmr-stack-rx:"
- if use cuda || use opencl; then
- ewarn "As root or as a user that is a member of the 'video' group,"
- fi
- ewarn "run:"
- ewarn "/usr/bin/xmr-stak-rx --cpu /etc/xmr-stak-rx/cpu.config --amd /etc/xmr-stak-rx/amd.config --nvidia /etc/xmr-stak-rx/nvidia.config -c /etc/xmr-stak-rx/main.config -C /etc/xmr-stak-rx/pools.txt"
- ewarn "xmr-stak-rx can now be terminated and 'systemctl start xmr-stak-rx' or '/etc/init.d/xmr-stak-rx start' can be used."
- fi
-}
diff --git a/net-p2p/xmr-stak-rx/xmr-stak-rx-1.0.5.ebuild b/net-p2p/xmr-stak-rx/xmr-stak-rx-1.0.5.ebuild
deleted file mode 100644
index b82f8550d86..00000000000
--- a/net-p2p/xmr-stak-rx/xmr-stak-rx-1.0.5.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake systemd
-
-if [[ ${PV} == "9999" ]] ; then
- EGIT_REPO_URI="https://github.com/fireice-uk/xmr-stak.git"
- EGIT_BRANCH="xmr-stak-rx-dev"
- inherit git-r3
- SRC_URI=""
-else
- SRC_URI="https://github.com/fireice-uk/xmr-stak/archive/${PV}-rx.tar.gz -> ${P}.tar.gz"
- S="${WORKDIR}/xmr-stak-${PV}-rx"
- KEYWORDS="~amd64"
-fi
-
-DESCRIPTION="Monero RandomX Miner"
-HOMEPAGE="https://github.com/fireice-uk/xmr-stak"
-LICENSE="GPL-3"
-SLOT="0"
-IUSE="cuda hwloc opencl ssl webserver"
-
-DEPEND="cuda? ( dev-util/nvidia-cuda-toolkit )
- hwloc? ( sys-apps/hwloc )
- opencl? ( virtual/opencl )
- ssl? ( dev-libs/openssl:0= )
- webserver? ( net-libs/libmicrohttpd )"
-RDEPEND="${DEPEND}"
-
-src_prepare() {
- cmake_src_prepare
-}
-
-src_configure() {
- local mycmakeargs=(
- -DCUDA_ENABLE=$(usex cuda)
- -DHWLOC_ENABLE=$(usex hwloc)
- -DMICROHTTPD_ENABLE=$(usex webserver)
- -DOpenCL_ENABLE=$(usex opencl)
- -DOpenSSL_ENABLE=$(usex ssl)
- -DLIBRARY_OUTPUT_PATH=$(get_libdir)
- )
- cmake_src_configure
-}
-
-src_install() {
- cmake_src_install
- systemd_newunit "${FILESDIR}"/${PN}.service ${PN}.service
- doinitd "${FILESDIR}"/${PN}
- dodir /etc/xmr-stak-rx
-}
-
-pkg_postinst() {
- if [ ! -e "${ROOT}/etc/xmr-stak-rx/main.config" ]; then
- ewarn "To use xmr-stack-rx:"
- if use cuda || use opencl; then
- ewarn "As root or as a user that is a member of the 'video' group,"
- fi
- ewarn "run:"
- ewarn "/usr/bin/xmr-stak-rx --cpu /etc/xmr-stak-rx/cpu.config --amd /etc/xmr-stak-rx/amd.config --nvidia /etc/xmr-stak-rx/nvidia.config -c /etc/xmr-stak-rx/main.config -C /etc/xmr-stak-rx/pools.txt"
- ewarn "xmr-stak-rx can now be terminated and 'systemctl start xmr-stak-rx' or '/etc/init.d/xmr-stak-rx start' can be used."
- fi
-}
diff --git a/net-p2p/xmr-stak-rx/xmr-stak-rx-9999.ebuild b/net-p2p/xmr-stak-rx/xmr-stak-rx-9999.ebuild
deleted file mode 100644
index b82f8550d86..00000000000
--- a/net-p2p/xmr-stak-rx/xmr-stak-rx-9999.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake systemd
-
-if [[ ${PV} == "9999" ]] ; then
- EGIT_REPO_URI="https://github.com/fireice-uk/xmr-stak.git"
- EGIT_BRANCH="xmr-stak-rx-dev"
- inherit git-r3
- SRC_URI=""
-else
- SRC_URI="https://github.com/fireice-uk/xmr-stak/archive/${PV}-rx.tar.gz -> ${P}.tar.gz"
- S="${WORKDIR}/xmr-stak-${PV}-rx"
- KEYWORDS="~amd64"
-fi
-
-DESCRIPTION="Monero RandomX Miner"
-HOMEPAGE="https://github.com/fireice-uk/xmr-stak"
-LICENSE="GPL-3"
-SLOT="0"
-IUSE="cuda hwloc opencl ssl webserver"
-
-DEPEND="cuda? ( dev-util/nvidia-cuda-toolkit )
- hwloc? ( sys-apps/hwloc )
- opencl? ( virtual/opencl )
- ssl? ( dev-libs/openssl:0= )
- webserver? ( net-libs/libmicrohttpd )"
-RDEPEND="${DEPEND}"
-
-src_prepare() {
- cmake_src_prepare
-}
-
-src_configure() {
- local mycmakeargs=(
- -DCUDA_ENABLE=$(usex cuda)
- -DHWLOC_ENABLE=$(usex hwloc)
- -DMICROHTTPD_ENABLE=$(usex webserver)
- -DOpenCL_ENABLE=$(usex opencl)
- -DOpenSSL_ENABLE=$(usex ssl)
- -DLIBRARY_OUTPUT_PATH=$(get_libdir)
- )
- cmake_src_configure
-}
-
-src_install() {
- cmake_src_install
- systemd_newunit "${FILESDIR}"/${PN}.service ${PN}.service
- doinitd "${FILESDIR}"/${PN}
- dodir /etc/xmr-stak-rx
-}
-
-pkg_postinst() {
- if [ ! -e "${ROOT}/etc/xmr-stak-rx/main.config" ]; then
- ewarn "To use xmr-stack-rx:"
- if use cuda || use opencl; then
- ewarn "As root or as a user that is a member of the 'video' group,"
- fi
- ewarn "run:"
- ewarn "/usr/bin/xmr-stak-rx --cpu /etc/xmr-stak-rx/cpu.config --amd /etc/xmr-stak-rx/amd.config --nvidia /etc/xmr-stak-rx/nvidia.config -c /etc/xmr-stak-rx/main.config -C /etc/xmr-stak-rx/pools.txt"
- ewarn "xmr-stak-rx can now be terminated and 'systemctl start xmr-stak-rx' or '/etc/init.d/xmr-stak-rx start' can be used."
- fi
-}