From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1143512-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id F39D4138350
	for <garchives@archives.gentoo.org>; Thu,  6 Feb 2020 16:38:49 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 0446AE08B0;
	Thu,  6 Feb 2020 16:38:49 +0000 (UTC)
Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id D2D24E08B0
	for <gentoo-commits@lists.gentoo.org>; Thu,  6 Feb 2020 16:38:48 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id A490734E7B6
	for <gentoo-commits@lists.gentoo.org>; Thu,  6 Feb 2020 16:38:47 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 3F3F411D
	for <gentoo-commits@lists.gentoo.org>; Thu,  6 Feb 2020 16:38:45 +0000 (UTC)
From: "Craig Andrews" <candrews@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Craig Andrews" <candrews@gentoo.org>
Message-ID: <1581007120.95d7331afac15e7e66e2e6ebc90b9385cc66bb8c.candrews@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: net-p2p/cpuminer-opt/
X-VCS-Repository: repo/gentoo
X-VCS-Files: net-p2p/cpuminer-opt/Manifest net-p2p/cpuminer-opt/cpuminer-opt-3.12.0.ebuild
X-VCS-Directories: net-p2p/cpuminer-opt/
X-VCS-Committer: candrews
X-VCS-Committer-Name: Craig Andrews
X-VCS-Revision: 95d7331afac15e7e66e2e6ebc90b9385cc66bb8c
X-VCS-Branch: master
Date: Thu,  6 Feb 2020 16:38:45 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: adfae5a4-0e8f-4edd-a5d6-fd5a8745839a
X-Archives-Hash: eabddc6e484091b332ed5a509a0e8be4

commit:     95d7331afac15e7e66e2e6ebc90b9385cc66bb8c
Author:     Craig Andrews <candrews <AT> gentoo <DOT> org>
AuthorDate: Thu Feb  6 16:38:18 2020 +0000
Commit:     Craig Andrews <candrews <AT> gentoo <DOT> org>
CommitDate: Thu Feb  6 16:38:40 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95d7331a

net-p2p/cpuminer-opt: 3.12.0 version bump

Package-Manager: Portage-2.3.87, Repoman-2.3.20
Signed-off-by: Craig Andrews <candrews <AT> gentoo.org>

 net-p2p/cpuminer-opt/Manifest                   |  1 +
 net-p2p/cpuminer-opt/cpuminer-opt-3.12.0.ebuild | 50 +++++++++++++++++++++++++
 2 files changed, 51 insertions(+)

diff --git a/net-p2p/cpuminer-opt/Manifest b/net-p2p/cpuminer-opt/Manifest
index ba5cc3b08fa..0d6f4fc3ff3 100644
--- a/net-p2p/cpuminer-opt/Manifest
+++ b/net-p2p/cpuminer-opt/Manifest
@@ -1 +1,2 @@
 DIST cpuminer-opt-3.11.9.tar.gz 1871215 BLAKE2B 3cd19225d4e2b4ab26721069d83f6d568c48ca12fa94ced35024420429000099f8db0e8c69e46617738238d9ab969ef39e3ef555731c4618a7b7b6c88d438c58 SHA512 d1a8f18769970a05df8da454f1755fda593dc0dfb2484855fb447dca25484254cefdbd31e19917b13195519c0e5cbf91fbe644f2d27300ad2db6c1ae52d5125b
+DIST cpuminer-opt-3.12.0.tar.gz 1808901 BLAKE2B 25002c7f8285fead4fcc8ea6276bad030498382a93148c55d7e9627929c6cf711c0599a0bf7b88911be841504efe0a9f79f152dad25f06b8cf43b61f0037f3fd SHA512 05b3420b6b935dc67aa35c14db6a7aad4f279fa3814c2a91ee1ecfe7584a5a0b49f18d0b42208f4a7c74159700271f0269d1cdabd808bf19dd6a2b9e530b2725

diff --git a/net-p2p/cpuminer-opt/cpuminer-opt-3.12.0.ebuild b/net-p2p/cpuminer-opt/cpuminer-opt-3.12.0.ebuild
new file mode 100644
index 00000000000..a5d436b3b8b
--- /dev/null
+++ b/net-p2p/cpuminer-opt/cpuminer-opt-3.12.0.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools flag-o-matic systemd
+
+DESCRIPTION="Optimized multi algo CPU miner"
+HOMEPAGE="https://github.com/JayDDee/cpuminer-opt"
+IUSE="cpu_flags_x86_sse2 curl libressl"
+LICENSE="GPL-2"
+SLOT="0"
+REQUIRED_USE="cpu_flags_x86_sse2"
+DEPEND="
+	dev-libs/gmp:0
+	dev-libs/jansson
+	>=net-misc/curl-7.15[ssl]
+	!libressl? ( dev-libs/openssl:0= )
+	libressl? ( dev-libs/libressl:0= )
+"
+RDEPEND="${DEPEND}"
+if [[ ${PV} == "9999" ]] ; then
+	SRC_URI=""
+	EGIT_REPO_URI="https://github.com/JayDDee/${PN}.git"
+	inherit git-r3
+else
+	KEYWORDS="~amd64"
+	SRC_URI="https://github.com/JayDDee/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+fi
+
+src_prepare() {
+	default
+	eautoreconf
+}
+
+src_configure() {
+	append-ldflags -Wl,-z,noexecstack
+	econf --with-crypto --with-curl
+}
+
+src_install() {
+	default
+	systemd_dounit "${FILESDIR}"/${PN}.service
+	insinto "/etc/${PN}"
+	doins cpuminer-conf.json
+}
+
+src_test() {
+	./cpuminer --cputest || die
+}