From 16449a80e28af2209916cc66d19c9a44ca2b90d9 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 20 Feb 2019 15:11:50 +0000 Subject: gentoo resync : 20.02.2019 --- net-p2p/xmr-stak/Manifest | 2 + net-p2p/xmr-stak/xmr-stak-2.8.3.ebuild | 67 ++++++++++++++++++++++++++++++++++ 2 files changed, 69 insertions(+) create mode 100644 net-p2p/xmr-stak/xmr-stak-2.8.3.ebuild (limited to 'net-p2p/xmr-stak') diff --git a/net-p2p/xmr-stak/Manifest b/net-p2p/xmr-stak/Manifest index cd6940a2eb20..38bac803f5f7 100644 --- a/net-p2p/xmr-stak/Manifest +++ b/net-p2p/xmr-stak/Manifest @@ -4,9 +4,11 @@ DIST xmr-stak-2.7.0.tar.gz 376873 BLAKE2B 78dd64acf7fbae46bf150d97b00c8443fbd097 DIST xmr-stak-2.7.1.tar.gz 376919 BLAKE2B bdbd3f7ca522e200db072679f21ee79dc99167cf512f19008ca6b591d0c7ba73f58b68e0d2d7a2622cb88438922e28a4c78e4cbf9d617e28881cc37e1db8c08a SHA512 f33afa259ffde23bd0b5dd8efceadd98e4e176ccabbb68e79eb7cfcc88af9444e897c552e1eea2e3798291309847451ebfa1c44d5310e192014cf6b2aa5eb530 DIST xmr-stak-2.8.0.tar.gz 388733 BLAKE2B cc75b2d80d7d9761b192f8d0752dde29d49c561675c63151f6cb915399dad715d133a17f2fa64c58ce8720a8de0a46bdb963c21571e29be3f99f0db3164aff40 SHA512 48803a9eb10e92763992dcbedb28b41735adf7da404312fe8358161cecef562bfc777a0b78ef90953db9c2a093adb30c4f9cd637f0613c949ff3b326662d2876 DIST xmr-stak-2.8.2.tar.gz 388342 BLAKE2B bcdfbebb2f8b8aba9be97a1591921e267852cf7a1c3685b3cc3858a3ca0e06498eaf969bd09c27f294ecac6a8fbc969b600ec0bbf33331d555e1f13cfbaa0402 SHA512 eb29ebc6c0a31bd274ff094558e93da0191ab219adc8b7fd47efec02ebe49feb441bb0224b4f3e0ce012588002c450f7a12c0ce3792b7f309bdb9045b06e1906 +DIST xmr-stak-2.8.3.tar.gz 389352 BLAKE2B db4a52b99a950d81f6ae67b6a96f2cc7cbb5f86553c5a17b429ee7e7e84e486c81f62d9e45c9317d11160e86a89715102bf73281fff3e8a75cc93f68c52ee9c4 SHA512 ed930a93c59acfd086ad24403f58f4b545602f35c9641655b423657da24ed66ddff80c555d6bc364a09ba5a1015f66b20fa7f3d4bcfd75a0316f3ce30b9b9dd7 EBUILD xmr-stak-2.7.0.ebuild 1887 BLAKE2B c8762738f4a5bb50a7c7583709340177a8417e98edab569d8768a92a861ae6980fc6f95e2bd553a728af8178c0d3e6347cab4196bcbaace8b546b99743cdf3c3 SHA512 67d55d31c95d2e7ce96f1618f246aed70dce2ae16f956cc6e1e0440e4d32e0abd13fe7acb414326be3ec202029029d5f1b05ecc8b89685d8ec986bf85cfc630e EBUILD xmr-stak-2.7.1.ebuild 1887 BLAKE2B c8762738f4a5bb50a7c7583709340177a8417e98edab569d8768a92a861ae6980fc6f95e2bd553a728af8178c0d3e6347cab4196bcbaace8b546b99743cdf3c3 SHA512 67d55d31c95d2e7ce96f1618f246aed70dce2ae16f956cc6e1e0440e4d32e0abd13fe7acb414326be3ec202029029d5f1b05ecc8b89685d8ec986bf85cfc630e EBUILD xmr-stak-2.8.0.ebuild 1887 BLAKE2B 7201b3135446ebe64b22fd6cb88402aa1d8d898e5c67cddb7b22398b50aed25c2f8dcf3e1c3f6e95b8e8a09275847355324391df2b31f55a517b86c05773ae08 SHA512 0266f6bc24791060ff5b5c80e3b0b4e899b9a9880118472576782e1c212952d745c4494d118c77c630b0d44e0a4e838d16bdcf84a46e5ee06fc50084b338d5c7 EBUILD xmr-stak-2.8.2.ebuild 1887 BLAKE2B 7201b3135446ebe64b22fd6cb88402aa1d8d898e5c67cddb7b22398b50aed25c2f8dcf3e1c3f6e95b8e8a09275847355324391df2b31f55a517b86c05773ae08 SHA512 0266f6bc24791060ff5b5c80e3b0b4e899b9a9880118472576782e1c212952d745c4494d118c77c630b0d44e0a4e838d16bdcf84a46e5ee06fc50084b338d5c7 +EBUILD xmr-stak-2.8.3.ebuild 1887 BLAKE2B 7201b3135446ebe64b22fd6cb88402aa1d8d898e5c67cddb7b22398b50aed25c2f8dcf3e1c3f6e95b8e8a09275847355324391df2b31f55a517b86c05773ae08 SHA512 0266f6bc24791060ff5b5c80e3b0b4e899b9a9880118472576782e1c212952d745c4494d118c77c630b0d44e0a4e838d16bdcf84a46e5ee06fc50084b338d5c7 EBUILD xmr-stak-9999.ebuild 1890 BLAKE2B 15f6c550c1f5a6ed2f9911972ff3c500ec9cd6292e1362b4b0b06aff52f681117fa176bcd8f65351c11901d1492d7dd617ca151a064e888bf874e7450f449ff2 SHA512 bf26e77719e5ac167555cd1efbb8e0d1ab7bf67c78d6f937a1cef9ca8ab8fc8555bf81adc2a65b9de39c77c0553ea70d0da947ced88e1cef046a38cd355e3c6c MISC metadata.xml 655 BLAKE2B b80afc4405c0f0338c31463311fa46276f911ba47a0816173f0df698d847d48a35dcc8123fe249bb06ed967d268480809a6f4781beb0175bf37f38f463736a6f SHA512 c37afc09cdaaace2b64c153907fc0124a41aee2045bc8615257f454fe14187cac802b4249f36922a2d2206dd8ff0c00163418cc921dc8bccb9515cd8c3dd5ebb diff --git a/net-p2p/xmr-stak/xmr-stak-2.8.3.ebuild b/net-p2p/xmr-stak/xmr-stak-2.8.3.ebuild new file mode 100644 index 000000000000..3244143bb5fe --- /dev/null +++ b/net-p2p/xmr-stak/xmr-stak-2.8.3.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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) + -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 + 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