summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Andrews <candrews@gentoo.org>2021-03-30 10:11:10 -0400
committerCraig Andrews <candrews@gentoo.org>2021-04-28 09:23:37 -0400
commitcca1ee9ab0c50964cb3fd350db7fdc184551de5a (patch)
tree9e43ff287bac22f1749c4c762552c2782b97e353
parentmedia-plugins/kodi-pvr-nextpvr: Cleanup old version (diff)
downloadgentoo-cca1ee9ab0c50964cb3fd350db7fdc184551de5a.tar.gz
gentoo-cca1ee9ab0c50964cb3fd350db7fdc184551de5a.tar.bz2
gentoo-cca1ee9ab0c50964cb3fd350db7fdc184551de5a.zip
net-p2p/xmr-stak: remove last-rited package
Closes: https://bugs.gentoo.org/779166 Closes: https://bugs.gentoo.org/779004 Signed-off-by: Craig Andrews <candrews@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/20199 Signed-off-by: Craig Andrews <candrews@gentoo.org>
-rw-r--r--net-p2p/xmr-stak/Manifest1
-rw-r--r--net-p2p/xmr-stak/files/xmr-stak24
-rw-r--r--net-p2p/xmr-stak/files/xmr-stak-2.3.0.service32
-rw-r--r--net-p2p/xmr-stak/metadata.xml18
-rw-r--r--net-p2p/xmr-stak/xmr-stak-2.10.8.ebuild67
-rw-r--r--net-p2p/xmr-stak/xmr-stak-9999.ebuild67
-rw-r--r--profiles/package.mask7
7 files changed, 0 insertions, 216 deletions
diff --git a/net-p2p/xmr-stak/Manifest b/net-p2p/xmr-stak/Manifest
deleted file mode 100644
index 27eb5c59118..00000000000
--- a/net-p2p/xmr-stak/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST xmr-stak-2.10.8.tar.gz 2605734 BLAKE2B 2bcc4b781748b8e823e86dcbaca2c65c9370357f16e2cdf412d6a0780900039223e830b582526cbf7cc2eda6445aae28d5d4c5162464dc70989d278ee3b138dd SHA512 5b222f647c74d4dc4ec7ae16d585672dff099572384aebee1afc60fe6e4bfffc764642f635d6f6dee35c455ee97f5ccf7604e73c502799aab00f4c2ce7b24070
diff --git a/net-p2p/xmr-stak/files/xmr-stak b/net-p2p/xmr-stak/files/xmr-stak
deleted file mode 100644
index 21f2d35ae99..00000000000
--- a/net-p2p/xmr-stak/files/xmr-stak
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms fo the GNU General Public License, v2
-# /etc/init.d/xmr-stak
-name="xmr-stak"
-description="Unified all-in-one Monero miner"
-pidfile=/run/xmr.pid
-command=/usr/bin/xmr-stak
-command_args="--cpu /etc/xmr-stak/cpu.config --amd /etc/xmr-stak/amd.config --nvidia /etc/xmr-stak/nvidia.config -c /etc/xmr-stak/main.config -C /etc/xmr-stak/pools.txt"
-start_stop_daemon_args="--background --make-pidfile"
-
-start_pre() {
- if [ ! -r /etc/xmr-stak/main.config ]; then
- eerror "/etc/xmr-stak/main.config is missing."
- errror "Run:"
- eerror "/usr/bin/xmr-stak --cpu /etc/xmr-stak/cpu.config --amd /etc/xmr-stak/amd.config --nvidia /etc/xmr-stak/nvidia.config -c /etc/xmr-stak/main.config -C /etc/xmr-stak/pools.txt"
- errror "xmr-stak can now be terminated and this service can be started"
- return 1
- fi
-}
-
-depend() {
- use dns net
-}
diff --git a/net-p2p/xmr-stak/files/xmr-stak-2.3.0.service b/net-p2p/xmr-stak/files/xmr-stak-2.3.0.service
deleted file mode 100644
index b9515c61f79..00000000000
--- a/net-p2p/xmr-stak/files/xmr-stak-2.3.0.service
+++ /dev/null
@@ -1,32 +0,0 @@
-[Unit]
-Description=Unified all-in-one Monero miner
-After=network-online.target
-AssertFileNotEmpty=/etc/xmr-stak/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 --cpu /etc/xmr-stak/cpu.config --amd /etc/xmr-stak/amd.config --nvidia /etc/xmr-stak/nvidia.config -c /etc/xmr-stak/main.config -C /etc/xmr-stak/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
-
-[Install]
-WantedBy=multi-user.target
diff --git a/net-p2p/xmr-stak/metadata.xml b/net-p2p/xmr-stak/metadata.xml
deleted file mode 100644
index ad51a30e1d0..00000000000
--- a/net-p2p/xmr-stak/metadata.xml
+++ /dev/null
@@ -1,18 +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="devfee">Enable payment of devfee to the developer</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/xmr-stak-2.10.8.ebuild b/net-p2p/xmr-stak/xmr-stak-2.10.8.ebuild
deleted file mode 100644
index 74eeed32f73..00000000000
--- a/net-p2p/xmr-stak/xmr-stak-2.10.8.ebuild
+++ /dev/null
@@ -1,67 +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="dev"
- inherit git-r3
- SRC_URI=""
-else
- SRC_URI="https://github.com/fireice-uk/xmr-stak/archive/${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~amd64"
-fi
-
-DESCRIPTION="Unified all-in-one Monero miner"
-HOMEPAGE="https://github.com/fireice-uk/xmr-stak"
-LICENSE="GPL-3"
-SLOT="0"
-IUSE="cuda devfee 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
- if ! use devfee; then
- sed -i -e 's!fDevDonationLevel = .*;!fDevDonationLevel = 0.0;!' xmrstak/donate-level.hpp || die
- fi
-}
-
-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}-2.3.0.service ${PN}.service
- doinitd "${FILESDIR}"/${PN}
- dodir /etc/xmr-stak
-}
-
-pkg_postinst() {
- if [ ! -e "${ROOT}/etc/xmr-stak/main.config" ]; then
- ewarn "To use xmr-stack:"
- 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 --cpu /etc/xmr-stak/cpu.config --amd /etc/xmr-stak/amd.config --nvidia /etc/xmr-stak/nvidia.config -c /etc/xmr-stak/main.config -C /etc/xmr-stak/pools.txt"
- ewarn "xmr-stak can now be terminated and 'systemctl start xmr-stak' or '/etc/init.d/xmr-stak start' can be used."
- fi
-}
diff --git a/net-p2p/xmr-stak/xmr-stak-9999.ebuild b/net-p2p/xmr-stak/xmr-stak-9999.ebuild
deleted file mode 100644
index 74eeed32f73..00000000000
--- a/net-p2p/xmr-stak/xmr-stak-9999.ebuild
+++ /dev/null
@@ -1,67 +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="dev"
- inherit git-r3
- SRC_URI=""
-else
- SRC_URI="https://github.com/fireice-uk/xmr-stak/archive/${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~amd64"
-fi
-
-DESCRIPTION="Unified all-in-one Monero miner"
-HOMEPAGE="https://github.com/fireice-uk/xmr-stak"
-LICENSE="GPL-3"
-SLOT="0"
-IUSE="cuda devfee 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
- if ! use devfee; then
- sed -i -e 's!fDevDonationLevel = .*;!fDevDonationLevel = 0.0;!' xmrstak/donate-level.hpp || die
- fi
-}
-
-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}-2.3.0.service ${PN}.service
- doinitd "${FILESDIR}"/${PN}
- dodir /etc/xmr-stak
-}
-
-pkg_postinst() {
- if [ ! -e "${ROOT}/etc/xmr-stak/main.config" ]; then
- ewarn "To use xmr-stack:"
- 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 --cpu /etc/xmr-stak/cpu.config --amd /etc/xmr-stak/amd.config --nvidia /etc/xmr-stak/nvidia.config -c /etc/xmr-stak/main.config -C /etc/xmr-stak/pools.txt"
- ewarn "xmr-stak can now be terminated and 'systemctl start xmr-stak' or '/etc/init.d/xmr-stak start' can be used."
- fi
-}
diff --git a/profiles/package.mask b/profiles/package.mask
index bfdd8d35421..f0ffe9b9aac 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -429,13 +429,6 @@ dev-libs/go-usb
# Removal on 2021-04-29
app-office/ical
-# Craig Andrews <candrews@gentoo.org> (2021-03-29)
-# Unmaintained upstream.
-# Project is also not useful due to changes in cryptocurrency mining.
-# Open security issue, bug #779004
-# Removal on 2021-04-29, bug #779166
-net-p2p/xmr-stak
-
# Jonas Stein <jstein@gentoo.org> (2021-03-29)
# Depends on gtk-2, no release since 2010.
# Removal on 2021-05-01.