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, 30 Jul 2019 15:56:52
Message-Id: 1564502199.85ef8b025359c2c0a674f9ab4896590d87fc6150.candrews@gentoo
1 commit: 85ef8b025359c2c0a674f9ab4896590d87fc6150
2 Author: Craig Andrews <candrews <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jul 30 15:55:00 2019 +0000
4 Commit: Craig Andrews <candrews <AT> gentoo <DOT> org>
5 CommitDate: Tue Jul 30 15:56:39 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85ef8b02
7
8 net-p2p/cpuminer-opt: 3.9.6.2 version bump
9
10 Package-Manager: Portage-2.3.69, 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.6.2.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 0375b2debee..99ffbf49303 100644
19 --- a/net-p2p/cpuminer-opt/Manifest
20 +++ b/net-p2p/cpuminer-opt/Manifest
21 @@ -16,4 +16,5 @@ DIST cpuminer-opt-3.9.5.3.tar.gz 1791944 BLAKE2B 7712ac9f1e66acc304a4d2bc6bd026f
22 DIST cpuminer-opt-3.9.5.4.tar.gz 1784097 BLAKE2B 2be0d57549e8ce326d1ba543a35c87d723b1d5f36225d6201f193156220b29afa601269db1b5de52c1da8c9eaf5e9d3089ef5a8c6232cd462f3b2b11b521d5c2 SHA512 9924bd01c4cfa134c551457d8405700b04dc9b1d7f241b0d5172aad9d0090f95135465e628353a0e02763da16d420ee4c396b36d1544cc613b5b1025eccc7b52
23 DIST cpuminer-opt-3.9.5.tar.gz 1787557 BLAKE2B e6d5623c2752a4dc6eae669e6daba2f3a0a8542863a3268e632b6d0e4ee2cf203614cebd8e41e33d71c58262bfc90d1df0c7eab0d72db28d8df6f40795bfd887 SHA512 7fc2d7afa9a85a6ec9a9a87eee18f68e61f4875b579bcca3e8d4fc4541a3085ae59b566d2851b978abdf27efeeaa310db430c3efce07bb422548d0bddfda1fa4
24 DIST cpuminer-opt-3.9.6.1.tar.gz 1792601 BLAKE2B ea9fcbf534e9556adc800299600fc0225a086a29475f0ca93432faa7b24b769f0c991e762945669c9de6f831113389c843a84ae827b57b1f24cdc1407764826c SHA512 08fa96930765cb5a7c8306795beeedb3474af8245454f61f5bf174064afe98d958cbc081e9c77225a16b2391267f35e95e6a52c8221657f5e03ae4804d591088
25 +DIST cpuminer-opt-3.9.6.2.tar.gz 1796238 BLAKE2B 5c9ef9e04897ac8e62196bb54606b407ae5df7f48074f91c202a7323f9ebfa5c44361df99ed83f9c67e69080580c9bf1e29607b491c872a2f1385c8c42444940 SHA512 92e96724fc40d974cd80d61c19c7d46b6581ec0e63328bf940cade12231240fa17f26639a6c344cf19c20ea6e6f7dc4178dea7db51a4c7ec85a66ab5e4a5e59d
26 DIST cpuminer-opt-3.9.6.tar.gz 1789491 BLAKE2B d850ab596e373bc6a69c7b89123ed049221e91850b04910147f4830c02872494a97ce84783c8164a5e57eefbd4a8fe1367ae8781e24ad36cdbe21d526b9643f2 SHA512 aa20b21d47a3eaf9d512febd588c1d57c1ae9ea41c4b6c3818dd398cd5f50ef791014de2ec8ec68efe0be80f2d2748122bc373bcd2fb6dde5d274d78d615afb1
27
28 diff --git a/net-p2p/cpuminer-opt/cpuminer-opt-3.9.6.2.ebuild b/net-p2p/cpuminer-opt/cpuminer-opt-3.9.6.2.ebuild
29 new file mode 100644
30 index 00000000000..666d27ee1c0
31 --- /dev/null
32 +++ b/net-p2p/cpuminer-opt/cpuminer-opt-3.9.6.2.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 +}