Gentoo Archives: gentoo-commits

From: Craig Andrews <candrews@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-p2p/cpuminer-opt/
Date: Tue, 02 Jul 2019 20:39:33
Message-Id: 1562099915.92986880f5714bbe783c995af1f3c12ce698acc9.candrews@gentoo
1 commit: 92986880f5714bbe783c995af1f3c12ce698acc9
2 Author: Craig Andrews <candrews <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jul 2 20:33:10 2019 +0000
4 Commit: Craig Andrews <candrews <AT> gentoo <DOT> org>
5 CommitDate: Tue Jul 2 20:38:35 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92986880
7
8 net-p2p/cpuminer-opt: 3.9.5.1 version bump
9
10 Package-Manager: Portage-2.3.68, Repoman-2.3.16
11 Signed-off-by: Craig Andrews <candrews <AT> gentoo.org>
12
13 net-p2p/cpuminer-opt/Manifest | 1 +
14 net-p2p/cpuminer-opt/cpuminer-opt-3.9.5.1.ebuild | 50 ++++++++++++++++++++++++
15 2 files changed, 51 insertions(+)
16
17 diff --git a/net-p2p/cpuminer-opt/Manifest b/net-p2p/cpuminer-opt/Manifest
18 index 0fca58ec98d..c79f0b74a34 100644
19 --- a/net-p2p/cpuminer-opt/Manifest
20 +++ b/net-p2p/cpuminer-opt/Manifest
21 @@ -10,4 +10,5 @@ DIST cpuminer-opt-3.9.2.5.tar.gz 1781488 BLAKE2B cd79f8cc363918d6db62b1970086a57
22 DIST cpuminer-opt-3.9.2.tar.gz 1770769 BLAKE2B 75413f98b522e30647c9e312e1a23ee5dd3d761780dad7617b68b20d08e123ddd256f70f1494f565abe67997bb1c5fd1401ccd21e7f5492182c7ec2619bc8e00 SHA512 ce12c867706a3caed0104859a8f2366af85497b493f8c2a8c87a45f430abb45a29c415889c8f219450ac2f4e10bd4482f6dbe9dd125e1dde98c8a25e3fdad8c8
23 DIST cpuminer-opt-3.9.3.1.tar.gz 1781503 BLAKE2B 3f5df07d6d68343bb074367e3296e08c7e958edfcd3c2d63da83b98e8ce635a8b27d0c871061087908840b665a27556833de8d8106557f6794e9ad35d5a9d53e SHA512 d8f0c298c03e4f309f28a2b555f039212d66e6a9804fa2a1f7d0a8bd3d69969c48f1ac51570b10d5bf9bc695f7a9f91e884298d85d1b6a876d5d3a8974d3b890
24 DIST cpuminer-opt-3.9.4.tar.gz 1787750 BLAKE2B 74c3304f743c7650968f90606f7f12fa26b316634f29c5157cbe774ecbe155cc950d9ab44c227909aacbabba4af98379e22a971956a1b8560ce4c096822d6a88 SHA512 f2dc2dbdafb7c7028521aeec5212df87274b6a5f130c116e58fc575d4cd30dcaf10b4ff59f79e782bc6466db65758770c2f4717e446641e29a3eb9ccf4770011
25 +DIST cpuminer-opt-3.9.5.1.tar.gz 1789716 BLAKE2B 8c2eb876837f86d39c9c665392172654fee8a969c0463e76adf47c1ae631f268ebfacfdddd662c5edb79db3469af2299916a54c3b3ec88a8d3bce62878a0ecb0 SHA512 1da67a4a063781502bc7a2062331388205c6bedec1bbbfd447727b4d3aa23591d794ba8c4b59a9671f232d102298b448b539e54f723d86525ee19ae1e4d7fe52
26 DIST cpuminer-opt-3.9.5.tar.gz 1787557 BLAKE2B e6d5623c2752a4dc6eae669e6daba2f3a0a8542863a3268e632b6d0e4ee2cf203614cebd8e41e33d71c58262bfc90d1df0c7eab0d72db28d8df6f40795bfd887 SHA512 7fc2d7afa9a85a6ec9a9a87eee18f68e61f4875b579bcca3e8d4fc4541a3085ae59b566d2851b978abdf27efeeaa310db430c3efce07bb422548d0bddfda1fa4
27
28 diff --git a/net-p2p/cpuminer-opt/cpuminer-opt-3.9.5.1.ebuild b/net-p2p/cpuminer-opt/cpuminer-opt-3.9.5.1.ebuild
29 new file mode 100644
30 index 00000000000..666d27ee1c0
31 --- /dev/null
32 +++ b/net-p2p/cpuminer-opt/cpuminer-opt-3.9.5.1.ebuild
33 @@ -0,0 +1,50 @@
34 +# Copyright 1999-2019 Gentoo Authors
35 +# Distributed under the terms of the GNU General Public License v2
36 +
37 +EAPI=7
38 +
39 +inherit autotools flag-o-matic systemd
40 +
41 +DESCRIPTION="Optimized multi algo CPU miner"
42 +HOMEPAGE="https://github.com/JayDDee/cpuminer-opt"
43 +IUSE="cpu_flags_x86_sse2 curl libressl"
44 +LICENSE="GPL-2"
45 +SLOT="0"
46 +REQUIRED_USE="cpu_flags_x86_sse2"
47 +DEPEND="
48 + dev-libs/gmp:0
49 + dev-libs/jansson
50 + >=net-misc/curl-7.15[ssl]
51 + !libressl? ( dev-libs/openssl:0= )
52 + libressl? ( dev-libs/libressl:0= )
53 +"
54 +RDEPEND="${DEPEND}"
55 +if [[ ${PV} == "9999" ]] ; then
56 + SRC_URI=""
57 + EGIT_REPO_URI="https://github.com/JayDDee/${PN}.git"
58 + inherit git-r3
59 +else
60 + KEYWORDS="~amd64"
61 + SRC_URI="https://github.com/JayDDee/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
62 +fi
63 +
64 +src_prepare() {
65 + default
66 + eautoreconf
67 +}
68 +
69 +src_configure() {
70 + append-ldflags -Wl,-z,noexecstack
71 + econf --with-crypto --with-curl
72 +}
73 +
74 +src_install() {
75 + default
76 + systemd_dounit "${FILESDIR}"/${PN}.service
77 + insinto "/etc/${PN}"
78 + doins cpuminer-conf.json
79 +}
80 +
81 +src_test() {
82 + ./cpuminer --cputest || die
83 +}