summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Andrews <candrews@gentoo.org>2018-04-19 14:52:48 -0400
committerCraig Andrews <candrews@gentoo.org>2018-04-19 14:54:28 -0400
commit5e8842ab3011da25818aa495f55042688481584d (patch)
tree897c707bb163ae4eab20c33c6155e462b9011c6c /net-p2p
parentnet-p2p/xmr-stak: Set LIBRARY_OUTPUT_PATH (diff)
downloadgentoo-5e8842ab3011da25818aa495f55042688481584d.tar.gz
gentoo-5e8842ab3011da25818aa495f55042688481584d.tar.bz2
gentoo-5e8842ab3011da25818aa495f55042688481584d.zip
net-p2p/xmr-stak: Cleanup old versions
Package-Manager: Portage-2.3.31, Repoman-2.3.9
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/xmr-stak/Manifest4
-rw-r--r--net-p2p/xmr-stak/files/xmr-stak-2.4.2-fix-paths.patch68
-rw-r--r--net-p2p/xmr-stak/files/xmr-stak.service32
-rw-r--r--net-p2p/xmr-stak/xmr-stak-2.2.0.ebuild64
-rw-r--r--net-p2p/xmr-stak/xmr-stak-2.3.0.ebuild65
-rw-r--r--net-p2p/xmr-stak/xmr-stak-2.4.1.ebuild65
-rw-r--r--net-p2p/xmr-stak/xmr-stak-2.4.2-r1.ebuild69
-rw-r--r--net-p2p/xmr-stak/xmr-stak-2.4.2.ebuild65
-rw-r--r--net-p2p/xmr-stak/xmr-stak-2.4.3.ebuild65
9 files changed, 0 insertions, 497 deletions
diff --git a/net-p2p/xmr-stak/Manifest b/net-p2p/xmr-stak/Manifest
index edd785e12777..86e0727ff71e 100644
--- a/net-p2p/xmr-stak/Manifest
+++ b/net-p2p/xmr-stak/Manifest
@@ -1,5 +1 @@
-DIST xmr-stak-2.2.0.tar.gz 316309 BLAKE2B 8a5042e91eff1d7a49dcf50d67430f21459509443117150f59f861edb0c145e0f336cb617ea4f2a7edfd923493efbc8f5ce9cd134a7f7af14b270c8cfdd3cc24 SHA512 1ec30b1f97043307461816e61cb7afaf9e77cfad895b13f5facf98f34da8d9b8751d9885930b0a38777017978fb4f25bb3a69a1c2a5db47b1a851bc88cd7d78d
-DIST xmr-stak-2.3.0.tar.gz 333364 BLAKE2B f8824f545ea08267eb9f670f2aaba7cb2e98693e5603dee5fbe54bb3f3ebc21509f26bb0d10239b79675e3ce32a2f4b32b591fb3af51b4c716fbb84beeb7326e SHA512 2828789ac63ab3cb13e36c6f86d9cf82f21f15f51df873a8a3e42757d16357653823d28103f2a076afa67ce7ca277ec92c5aee25fc823806e85c3a8c80b4ae5d
-DIST xmr-stak-2.4.1.tar.gz 333961 BLAKE2B 0c58a705d601b6ff47329fad175580edf6a1d36704fa7d8f9d7464da65b8a69173c39caaaf9dccb031a514a8bcc29642ae531ae4f03c5d1c83f1c0e0177fd1aa SHA512 83f2fad93367cf3bdcc7c127bdf5df2b0467c85049fefe25a3394e8a6d4ae3a2fdabde949106f29204d48e46fc367bbc9d1fed295ce4fb376d8c23007251f926
-DIST xmr-stak-2.4.2.tar.gz 334041 BLAKE2B 7d37ffd2e3d5f8a25692fe2ebdc8a75242fb02e614c3fa570722739cf279376882d4b84f6877ade4b62072d65a4fe7f726951c3cfa06d537986cd9a63386d391 SHA512 de1b9f8c3b839227a6a9ae08009c4bb50aa9714cd563721f2244b7a87af5ffe8a6691c29c247bba02223c8b8a8b8db25d14d104b97fdf908f0f2ad9a38f27653
DIST xmr-stak-2.4.3.tar.gz 335672 BLAKE2B 570fbb86144ba1a283c9a1733476e90caf24dcf0048733007ec189342a0e375f65cca74afb88ca7b08370a7db9a9a7d146f0c9a4a2cd57c480ec5b26928e98fa SHA512 a1e38c25827af8f88c1fdeed0fb3e731e92ac632d846f63dfe6fcb634eec0496e1d64b2745e6dc040dabc55a90963f587442e912c5aa72c9208cebffcc06db7c
diff --git a/net-p2p/xmr-stak/files/xmr-stak-2.4.2-fix-paths.patch b/net-p2p/xmr-stak/files/xmr-stak-2.4.2-fix-paths.patch
deleted file mode 100644
index cd71554b3770..000000000000
--- a/net-p2p/xmr-stak/files/xmr-stak-2.4.2-fix-paths.patch
+++ /dev/null
@@ -1,68 +0,0 @@
-From 3bbf91be9f510ef999c62ae2d42a094d271299b7 Mon Sep 17 00:00:00 2001
-From: Craig Andrews <candrews@integralblue.com>
-Date: Fri, 6 Apr 2018 14:56:44 -0400
-Subject: [PATCH 1/2] Use EXECUTABLE_OUTPUT_PATH and LIBRARY_OUTPUT_PATH
-
-Use EXECUTABLE_OUTPUT_PATH and LIBRARY_OUTPUT_PATH to control the path to which the executable and libraries are installed.
----
- CMakeLists.txt | 10 +++++-----
- 1 file changed, 5 insertions(+), 5 deletions(-)
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 15a2684c..66c2f6f8 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -535,23 +535,23 @@ target_link_libraries(xmr-stak ${LIBS} xmr-stak-c xmr-stak-backend)
- # do not install the binary if the project and install are equal
- if( NOT CMAKE_INSTALL_PREFIX STREQUAL PROJECT_BINARY_DIR )
- install(TARGETS xmr-stak
-- RUNTIME DESTINATION "${CMAKE_INSTALL_PREFIX}/bin")
-+ RUNTIME DESTINATION "${CMAKE_INSTALL_PREFIX}/${EXECUTABLE_OUTPUT_PATH}")
- if(CUDA_FOUND)
- if(WIN32)
- install(TARGETS xmrstak_cuda_backend
-- RUNTIME DESTINATION "${CMAKE_INSTALL_PREFIX}/bin")
-+ RUNTIME DESTINATION "${CMAKE_INSTALL_PREFIX}/${LIBRARY_OUTPUT_PATH}")
- else()
- install(TARGETS xmrstak_cuda_backend
-- LIBRARY DESTINATION "${CMAKE_INSTALL_PREFIX}/bin")
-+ LIBRARY DESTINATION "${CMAKE_INSTALL_PREFIX}/${LIBRARY_OUTPUT_PATH}")
- endif()
- endif()
- if(OpenCL_FOUND)
- if(WIN32)
- install(TARGETS xmrstak_opencl_backend
-- RUNTIME DESTINATION "${CMAKE_INSTALL_PREFIX}/bin")
-+ RUNTIME DESTINATION "${CMAKE_INSTALL_PREFIX}/${LIBRARY_OUTPUT_PATH}")
- else()
- install(TARGETS xmrstak_opencl_backend
-- LIBRARY DESTINATION "${CMAKE_INSTALL_PREFIX}/bin")
-+ LIBRARY DESTINATION "${CMAKE_INSTALL_PREFIX}/${LIBRARY_OUTPUT_PATH}")
- endif()
- endif()
- else()
-
-From c1d907ee03795fdce80daba6395e2a7eb1333930 Mon Sep 17 00:00:00 2001
-From: Craig Andrews <candrews@integralblue.com>
-Date: Fri, 6 Apr 2018 15:11:07 -0400
-Subject: [PATCH 2/2] Allow EXECUTABLE and LIBRARY paths to be set
-
----
- CMakeLists.txt | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 66c2f6f8..1ff7fbb4 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -522,8 +522,8 @@ else()
- add_executable(xmr-stak ${SRCFILES_CPP})
- endif()
-
--set(EXECUTABLE_OUTPUT_PATH "bin")
--set(LIBRARY_OUTPUT_PATH "bin")
-+set(EXECUTABLE_OUTPUT_PATH "bin" CACHE STRING "Path to place executables")
-+set(LIBRARY_OUTPUT_PATH "bin" CACHE STRING "Path to place libraries")
-
- target_link_libraries(xmr-stak ${LIBS} xmr-stak-c xmr-stak-backend)
-
diff --git a/net-p2p/xmr-stak/files/xmr-stak.service b/net-p2p/xmr-stak/files/xmr-stak.service
deleted file mode 100644
index 00f63c0dcd96..000000000000
--- a/net-p2p/xmr-stak/files/xmr-stak.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
-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/xmr-stak-2.2.0.ebuild b/net-p2p/xmr-stak/xmr-stak-2.2.0.ebuild
deleted file mode 100644
index a135ea9bfcd9..000000000000
--- a/net-p2p/xmr-stak/xmr-stak-2.2.0.ebuild
+++ /dev/null
@@ -1,64 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit cmake-utils systemd
-
-if [[ ${PV} == "9999" ]] ; then
- EGIT_REPO_URI="https://github.com/fireice-uk/xmr-stak.git"
- inherit git-r3
- SRC_URI=""
-else
- SRC_URI="https://github.com/fireice-uk/xmr-stak/archive/v${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-utils_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)
- )
- cmake-utils_src_configure
-}
-
-src_install() {
- cmake-utils_src_install
- systemd_dounit "${FILESDIR}"/${PN}.service
- 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"
- ewarn "If the systemd will be used, xmr-stak can now be terminated and 'systemctl start xmr-stak' can be used."
- fi
-}
diff --git a/net-p2p/xmr-stak/xmr-stak-2.3.0.ebuild b/net-p2p/xmr-stak/xmr-stak-2.3.0.ebuild
deleted file mode 100644
index 4be0f9f7cace..000000000000
--- a/net-p2p/xmr-stak/xmr-stak-2.3.0.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit cmake-utils 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-utils_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)
- )
- cmake-utils_src_configure
-}
-
-src_install() {
- cmake-utils_src_install
- systemd_newunit "${FILESDIR}"/${PN}-2.3.0.service ${PN}.service
- 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"
- ewarn "If the systemd will be used, xmr-stak can now be terminated and 'systemctl start xmr-stak' can be used."
- fi
-}
diff --git a/net-p2p/xmr-stak/xmr-stak-2.4.1.ebuild b/net-p2p/xmr-stak/xmr-stak-2.4.1.ebuild
deleted file mode 100644
index 4be0f9f7cace..000000000000
--- a/net-p2p/xmr-stak/xmr-stak-2.4.1.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit cmake-utils 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-utils_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)
- )
- cmake-utils_src_configure
-}
-
-src_install() {
- cmake-utils_src_install
- systemd_newunit "${FILESDIR}"/${PN}-2.3.0.service ${PN}.service
- 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"
- ewarn "If the systemd will be used, xmr-stak can now be terminated and 'systemctl start xmr-stak' can be used."
- fi
-}
diff --git a/net-p2p/xmr-stak/xmr-stak-2.4.2-r1.ebuild b/net-p2p/xmr-stak/xmr-stak-2.4.2-r1.ebuild
deleted file mode 100644
index 046820ffa943..000000000000
--- a/net-p2p/xmr-stak/xmr-stak-2.4.2-r1.ebuild
+++ /dev/null
@@ -1,69 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit cmake-utils 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}"
-PATCHES=(
- "${FILESDIR}/${PN}-2.4.2-fix-paths.patch"
-)
-
-src_prepare() {
- cmake-utils_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-utils_src_configure
-}
-
-src_install() {
- cmake-utils_src_install
- systemd_newunit "${FILESDIR}"/${PN}-2.3.0.service ${PN}.service
- 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"
- ewarn "If the systemd will be used, xmr-stak can now be terminated and 'systemctl start xmr-stak' can be used."
- fi
-}
diff --git a/net-p2p/xmr-stak/xmr-stak-2.4.2.ebuild b/net-p2p/xmr-stak/xmr-stak-2.4.2.ebuild
deleted file mode 100644
index 4be0f9f7cace..000000000000
--- a/net-p2p/xmr-stak/xmr-stak-2.4.2.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit cmake-utils 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-utils_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)
- )
- cmake-utils_src_configure
-}
-
-src_install() {
- cmake-utils_src_install
- systemd_newunit "${FILESDIR}"/${PN}-2.3.0.service ${PN}.service
- 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"
- ewarn "If the systemd will be used, xmr-stak can now be terminated and 'systemctl start xmr-stak' can be used."
- fi
-}
diff --git a/net-p2p/xmr-stak/xmr-stak-2.4.3.ebuild b/net-p2p/xmr-stak/xmr-stak-2.4.3.ebuild
deleted file mode 100644
index 4be0f9f7cace..000000000000
--- a/net-p2p/xmr-stak/xmr-stak-2.4.3.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit cmake-utils 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-utils_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)
- )
- cmake-utils_src_configure
-}
-
-src_install() {
- cmake-utils_src_install
- systemd_newunit "${FILESDIR}"/${PN}-2.3.0.service ${PN}.service
- 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"
- ewarn "If the systemd will be used, xmr-stak can now be terminated and 'systemctl start xmr-stak' can be used."
- fi
-}