From 40aaaa64e86ba6710bbeb31c4615a6ce80e75e11 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 28 Apr 2021 20:21:43 +0100 Subject: gentoo resync : 28.04.2021 --- net-p2p/xmr-stak/Manifest | 14 ------ 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.6.ebuild | 67 --------------------------- net-p2p/xmr-stak/xmr-stak-2.10.7.ebuild | 67 --------------------------- net-p2p/xmr-stak/xmr-stak-2.10.8.ebuild | 67 --------------------------- net-p2p/xmr-stak/xmr-stak-2.8.3.ebuild | 67 --------------------------- net-p2p/xmr-stak/xmr-stak-2.9.0.ebuild | 67 --------------------------- net-p2p/xmr-stak/xmr-stak-9999.ebuild | 67 --------------------------- 10 files changed, 490 deletions(-) delete mode 100644 net-p2p/xmr-stak/Manifest delete mode 100644 net-p2p/xmr-stak/files/xmr-stak delete mode 100644 net-p2p/xmr-stak/files/xmr-stak-2.3.0.service delete mode 100644 net-p2p/xmr-stak/metadata.xml delete mode 100644 net-p2p/xmr-stak/xmr-stak-2.10.6.ebuild delete mode 100644 net-p2p/xmr-stak/xmr-stak-2.10.7.ebuild delete mode 100644 net-p2p/xmr-stak/xmr-stak-2.10.8.ebuild delete mode 100644 net-p2p/xmr-stak/xmr-stak-2.8.3.ebuild delete mode 100644 net-p2p/xmr-stak/xmr-stak-2.9.0.ebuild delete mode 100644 net-p2p/xmr-stak/xmr-stak-9999.ebuild (limited to 'net-p2p/xmr-stak') diff --git a/net-p2p/xmr-stak/Manifest b/net-p2p/xmr-stak/Manifest deleted file mode 100644 index 81f7c2e2bb4e..000000000000 --- a/net-p2p/xmr-stak/Manifest +++ /dev/null @@ -1,14 +0,0 @@ -AUX xmr-stak 909 BLAKE2B 36ee36054b285af242065ebfdeb9d05dbcb28314e9e5ab9bebe247860847b7b85fb5b26bdffba871558d69b7df65345cec7ca9c52ff1c749de4d26145c023783 SHA512 fd9edee78230ccb361d279ba2f416123806b2b4576fa735fc999a1260798cce43343b615c315ed1eefe72262e3cc6ef5ebad999f74d7d0f4409595e8a37fa16d -AUX xmr-stak-2.3.0.service 942 BLAKE2B a237a5273d6b1fc3a2dd69b121e1ca61471f9524ced84d3ae90082571148c563c4cdedf3085b246f8a8b5babc56c7cf742ea48f1f68165c443373f57efcd2139 SHA512 04ea288a2b51480db5ebde3926d453006aad1b8b028e6e60663ba8a11ad876ce2c4070a20715645187dd7e90898d2e865a286df170c82930622042ea14798359 -DIST xmr-stak-2.10.6.tar.gz 518290 BLAKE2B 2abba8a2a142119c75e0f9cf157bcb812a62cfc84e593b1a6544b561fe5655c51de5e1546b879e40163d37b9232ec407c117dd513b7ea119bdb45ab0577fbbe8 SHA512 b209ed5b922cbbf2e9f66bc14c981ba793b6a0bbf399b13c824f5014172e680a1226f7c8d518c85fb0eaa4a03c964b97231e84528056b3e7e460644f22aafcba -DIST xmr-stak-2.10.7.tar.gz 518265 BLAKE2B 9ee03fa60c37c8ca6cfb1f4ae764a2dadd952c2ea085b7c33fd98a9b1895ddb00f349682990a2c0e14f50c06b985409c96bf0949a1c1556d0e61b94142a8a516 SHA512 de2855538226fd68d8dc8a20178a5ca61dc2296d40fbe8792d062957e06c6918a9eb01d9d193ff28415c0ea7c8c6a9bd5d5c80fd5c263c95c722795914784b38 -DIST xmr-stak-2.10.8.tar.gz 2605734 BLAKE2B 2bcc4b781748b8e823e86dcbaca2c65c9370357f16e2cdf412d6a0780900039223e830b582526cbf7cc2eda6445aae28d5d4c5162464dc70989d278ee3b138dd SHA512 5b222f647c74d4dc4ec7ae16d585672dff099572384aebee1afc60fe6e4bfffc764642f635d6f6dee35c455ee97f5ccf7604e73c502799aab00f4c2ce7b24070 -DIST xmr-stak-2.8.3.tar.gz 389352 BLAKE2B db4a52b99a950d81f6ae67b6a96f2cc7cbb5f86553c5a17b429ee7e7e84e486c81f62d9e45c9317d11160e86a89715102bf73281fff3e8a75cc93f68c52ee9c4 SHA512 ed930a93c59acfd086ad24403f58f4b545602f35c9641655b423657da24ed66ddff80c555d6bc364a09ba5a1015f66b20fa7f3d4bcfd75a0316f3ce30b9b9dd7 -DIST xmr-stak-2.9.0.tar.gz 411514 BLAKE2B 8016bb70bf5d6d3c5ec70534e1711b0d7607fc46f9c33d9f6c4a9129aae599496f7af4453eab88b5260d50f5718583ee24e9def766308987d60662aaffba3ce0 SHA512 226ab0580aaf5e6c40734fb7448ccb6ab46631ad151765c3bd4829b2151027d748c593fd97ac5cba63c631c4fc8f7de632b1e8c633d80e20e53fea2a0744f8dc -EBUILD xmr-stak-2.10.6.ebuild 1864 BLAKE2B d80527f677ee92b837b48e54a57c30a910bb50f8d6640c17dd4c628df31fb06c3f616e97af872bbb9853a17efde3ac2ed4bba553fe74212a4ef0596448effdb5 SHA512 c75fcfaaf633ca2bba41c7dc0414b96f46e1a4ec1d1d67e291555bd30ed9391887b301cd4971d33c1309fe485cb9daa2a08c32f2b7375d055f1c2f4dc9d16239 -EBUILD xmr-stak-2.10.7.ebuild 1864 BLAKE2B d80527f677ee92b837b48e54a57c30a910bb50f8d6640c17dd4c628df31fb06c3f616e97af872bbb9853a17efde3ac2ed4bba553fe74212a4ef0596448effdb5 SHA512 c75fcfaaf633ca2bba41c7dc0414b96f46e1a4ec1d1d67e291555bd30ed9391887b301cd4971d33c1309fe485cb9daa2a08c32f2b7375d055f1c2f4dc9d16239 -EBUILD xmr-stak-2.10.8.ebuild 1864 BLAKE2B d80527f677ee92b837b48e54a57c30a910bb50f8d6640c17dd4c628df31fb06c3f616e97af872bbb9853a17efde3ac2ed4bba553fe74212a4ef0596448effdb5 SHA512 c75fcfaaf633ca2bba41c7dc0414b96f46e1a4ec1d1d67e291555bd30ed9391887b301cd4971d33c1309fe485cb9daa2a08c32f2b7375d055f1c2f4dc9d16239 -EBUILD xmr-stak-2.8.3.ebuild 1864 BLAKE2B d80527f677ee92b837b48e54a57c30a910bb50f8d6640c17dd4c628df31fb06c3f616e97af872bbb9853a17efde3ac2ed4bba553fe74212a4ef0596448effdb5 SHA512 c75fcfaaf633ca2bba41c7dc0414b96f46e1a4ec1d1d67e291555bd30ed9391887b301cd4971d33c1309fe485cb9daa2a08c32f2b7375d055f1c2f4dc9d16239 -EBUILD xmr-stak-2.9.0.ebuild 1864 BLAKE2B d80527f677ee92b837b48e54a57c30a910bb50f8d6640c17dd4c628df31fb06c3f616e97af872bbb9853a17efde3ac2ed4bba553fe74212a4ef0596448effdb5 SHA512 c75fcfaaf633ca2bba41c7dc0414b96f46e1a4ec1d1d67e291555bd30ed9391887b301cd4971d33c1309fe485cb9daa2a08c32f2b7375d055f1c2f4dc9d16239 -EBUILD xmr-stak-9999.ebuild 1864 BLAKE2B d80527f677ee92b837b48e54a57c30a910bb50f8d6640c17dd4c628df31fb06c3f616e97af872bbb9853a17efde3ac2ed4bba553fe74212a4ef0596448effdb5 SHA512 c75fcfaaf633ca2bba41c7dc0414b96f46e1a4ec1d1d67e291555bd30ed9391887b301cd4971d33c1309fe485cb9daa2a08c32f2b7375d055f1c2f4dc9d16239 -MISC metadata.xml 655 BLAKE2B b80afc4405c0f0338c31463311fa46276f911ba47a0816173f0df698d847d48a35dcc8123fe249bb06ed967d268480809a6f4781beb0175bf37f38f463736a6f SHA512 c37afc09cdaaace2b64c153907fc0124a41aee2045bc8615257f454fe14187cac802b4249f36922a2d2206dd8ff0c00163418cc921dc8bccb9515cd8c3dd5ebb diff --git a/net-p2p/xmr-stak/files/xmr-stak b/net-p2p/xmr-stak/files/xmr-stak deleted file mode 100644 index 21f2d35ae99d..000000000000 --- 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 b9515c61f799..000000000000 --- 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 ad51a30e1d06..000000000000 --- 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.6.ebuild b/net-p2p/xmr-stak/xmr-stak-2.10.6.ebuild deleted file mode 100644 index 74eeed32f739..000000000000 --- a/net-p2p/xmr-stak/xmr-stak-2.10.6.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-2.10.7.ebuild b/net-p2p/xmr-stak/xmr-stak-2.10.7.ebuild deleted file mode 100644 index 74eeed32f739..000000000000 --- a/net-p2p/xmr-stak/xmr-stak-2.10.7.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-2.10.8.ebuild b/net-p2p/xmr-stak/xmr-stak-2.10.8.ebuild deleted file mode 100644 index 74eeed32f739..000000000000 --- 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-2.8.3.ebuild b/net-p2p/xmr-stak/xmr-stak-2.8.3.ebuild deleted file mode 100644 index 74eeed32f739..000000000000 --- a/net-p2p/xmr-stak/xmr-stak-2.8.3.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-2.9.0.ebuild b/net-p2p/xmr-stak/xmr-stak-2.9.0.ebuild deleted file mode 100644 index 74eeed32f739..000000000000 --- a/net-p2p/xmr-stak/xmr-stak-2.9.0.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 74eeed32f739..000000000000 --- 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 -} -- cgit v1.2.3