From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 851BB1382C5 for ; Wed, 28 Apr 2021 13:23:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D8926E08F2; Wed, 28 Apr 2021 13:23:45 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B530FE08F2 for ; Wed, 28 Apr 2021 13:23:45 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1D892340FB5 for ; Wed, 28 Apr 2021 13:23:44 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C1460735 for ; Wed, 28 Apr 2021 13:23:42 +0000 (UTC) From: "Craig Andrews" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Craig Andrews" Message-ID: <1619616217.cca1ee9ab0c50964cb3fd350db7fdc184551de5a.candrews@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-p2p/xmr-stak/files/, profiles/, net-p2p/xmr-stak/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-p2p/xmr-stak/Manifest net-p2p/xmr-stak/files/xmr-stak net-p2p/xmr-stak/files/xmr-stak-2.3.0.service net-p2p/xmr-stak/metadata.xml net-p2p/xmr-stak/xmr-stak-2.10.8.ebuild net-p2p/xmr-stak/xmr-stak-9999.ebuild profiles/package.mask X-VCS-Directories: net-p2p/xmr-stak/files/ net-p2p/xmr-stak/ profiles/ X-VCS-Committer: candrews X-VCS-Committer-Name: Craig Andrews X-VCS-Revision: cca1ee9ab0c50964cb3fd350db7fdc184551de5a X-VCS-Branch: master Date: Wed, 28 Apr 2021 13:23:42 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: ca95dd4b-5014-4f73-bb91-e577329a5484 X-Archives-Hash: 031f4f34b705da99ee6f9f049be2c289 commit: cca1ee9ab0c50964cb3fd350db7fdc184551de5a Author: Craig Andrews gentoo org> AuthorDate: Tue Mar 30 14:11:10 2021 +0000 Commit: Craig Andrews gentoo org> CommitDate: Wed Apr 28 13:23:37 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cca1ee9a 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 gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/20199 Signed-off-by: Craig Andrews gentoo.org> net-p2p/xmr-stak/Manifest | 1 - net-p2p/xmr-stak/files/xmr-stak | 24 ---------- net-p2p/xmr-stak/files/xmr-stak-2.3.0.service | 32 ------------- net-p2p/xmr-stak/metadata.xml | 18 ------- net-p2p/xmr-stak/xmr-stak-2.10.8.ebuild | 67 --------------------------- net-p2p/xmr-stak/xmr-stak-9999.ebuild | 67 --------------------------- profiles/package.mask | 7 --- 7 files changed, 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 @@ - - - - - candrews@gentoo.org - Craig Andrews - - - fireice-uk/xmr-stak - - - Enable NVIDIA CUDA toolkit support - Enable payment of devfee to the developer - Enable CPU affinity support via hwloc - Enable OpenCL support - Enable internal webserver - - 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 (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 (2021-03-29) # Depends on gtk-2, no release since 2010. # Removal on 2021-05-01.