From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1094632-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 4883A138334
	for <garchives@archives.gentoo.org>; Wed,  5 Jun 2019 17:49:53 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 3FCFAE0829;
	Wed,  5 Jun 2019 17:49:52 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(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 0EA6CE0829
	for <gentoo-commits@lists.gentoo.org>; Wed,  5 Jun 2019 17:49:51 +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 6E3963456DC
	for <gentoo-commits@lists.gentoo.org>; Wed,  5 Jun 2019 17:49:50 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 19D975FE
	for <gentoo-commits@lists.gentoo.org>; Wed,  5 Jun 2019 17:49:48 +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: <1559756983.84a44882a9a0441f5c4b9b5852c03c5fcf9ca103.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.9.2.3.ebuild
X-VCS-Directories: net-p2p/cpuminer-opt/
X-VCS-Committer: candrews
X-VCS-Committer-Name: Craig Andrews
X-VCS-Revision: 84a44882a9a0441f5c4b9b5852c03c5fcf9ca103
X-VCS-Branch: master
Date: Wed,  5 Jun 2019 17:49:48 +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: 482e41e3-b2e2-4b2e-b612-780d275fd014
X-Archives-Hash: 43099b6ea3e30617b394a42e6951626e

commit:     84a44882a9a0441f5c4b9b5852c03c5fcf9ca103
Author:     Craig Andrews <candrews <AT> gentoo <DOT> org>
AuthorDate: Wed Jun  5 17:48:33 2019 +0000
Commit:     Craig Andrews <candrews <AT> gentoo <DOT> org>
CommitDate: Wed Jun  5 17:49:43 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84a44882

net-p2p/cpuminer-opt: 3.9.2.3 version bump

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

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

diff --git a/net-p2p/cpuminer-opt/Manifest b/net-p2p/cpuminer-opt/Manifest
index b36d544d5fa..acd3039d9ff 100644
--- a/net-p2p/cpuminer-opt/Manifest
+++ b/net-p2p/cpuminer-opt/Manifest
@@ -4,4 +4,5 @@ DIST cpuminer-opt-3.9.0.tar.gz 1744113 BLAKE2B 0fef9ead2218284032d70df4d823f4389
 DIST cpuminer-opt-3.9.1.1.tar.gz 1771289 BLAKE2B c3a0cdb6793d1590bca11fac736d2d9e0bc200a391f2f440f7e005e6d61c90c331bc856055a1cf207a5abed934caa421e6d291372e293467ad2738039f491f96 SHA512 fdbbc60f433ae810522ca22b1709ee2052de90631cd68d5581fa2297ad549093bc64b0f4ec6900986ec56e16b84ead111f8d8a796b7e654c675b0585990e266d
 DIST cpuminer-opt-3.9.1.tar.gz 1770345 BLAKE2B c2ef3111f1c1f034d2e4d4148031cf4fa099484e4bc54e8266323bdff26cbd90a390bb4bc0e77b095227bb3c0026a1b6d791bebb5345e74462650fe4be0e688d SHA512 ca83b2b325947591e77b8edd7f920043d3422259e9e60a7549066d1290c60b7b108dd91c4f8731e8ffb3932d2d430a0b0f02e6b384b03a939e32c6dd4329732b
 DIST cpuminer-opt-3.9.2.2.tar.gz 1774934 BLAKE2B 2a686a9b50978ff6a3947c1086fedda9bd608575f639670680a3e5fc6e8758bdd8478037b1474f456e33783a37a5d51b0557714d715e9840c6f3f33a14709727 SHA512 4c6f9ac422b0fb4f1194cbca025f0a596a73462d07b6c76da3c8b5f8f8e93ac8421e6c5d318e8615806aabffe5c46c1174f51a887abb059854e434376567f770
+DIST cpuminer-opt-3.9.2.3.tar.gz 1777161 BLAKE2B add68199a46ef4989bb062e52fc64ed660148a4aa9030608ae9d89fa08fea7a96d7851036289aac1c4c051c66347b860006a642cb4afcf8bc78e4b91258f62ea SHA512 d4c7dd80b8fd37387250dc8e088b6438badb388d1be9622f83e34d3590892121833b9dd5e1b609b95740f4f0b89da5bb568ab3527970dfca947cc5e1ade7df0c
 DIST cpuminer-opt-3.9.2.tar.gz 1770769 BLAKE2B 75413f98b522e30647c9e312e1a23ee5dd3d761780dad7617b68b20d08e123ddd256f70f1494f565abe67997bb1c5fd1401ccd21e7f5492182c7ec2619bc8e00 SHA512 ce12c867706a3caed0104859a8f2366af85497b493f8c2a8c87a45f430abb45a29c415889c8f219450ac2f4e10bd4482f6dbe9dd125e1dde98c8a25e3fdad8c8

diff --git a/net-p2p/cpuminer-opt/cpuminer-opt-3.9.2.3.ebuild b/net-p2p/cpuminer-opt/cpuminer-opt-3.9.2.3.ebuild
new file mode 100644
index 00000000000..666d27ee1c0
--- /dev/null
+++ b/net-p2p/cpuminer-opt/cpuminer-opt-3.9.2.3.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2019 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
+}