From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 BA87B138346 for ; Mon, 6 Jan 2020 22:19:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F19DCE09DE; Mon, 6 Jan 2020 22:19:46 +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 C2884E09DE for ; Mon, 6 Jan 2020 22:19:46 +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 95C9634DE09 for ; Mon, 6 Jan 2020 22:19:45 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 367F31E for ; Mon, 6 Jan 2020 22:19:44 +0000 (UTC) From: "Craig Andrews" 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" Message-ID: <1578349142.473c4cee940561ce97fc9a7226aed3f42cbf6123.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.11.1.ebuild X-VCS-Directories: net-p2p/cpuminer-opt/ X-VCS-Committer: candrews X-VCS-Committer-Name: Craig Andrews X-VCS-Revision: 473c4cee940561ce97fc9a7226aed3f42cbf6123 X-VCS-Branch: master Date: Mon, 6 Jan 2020 22:19:44 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: eeab1e61-b213-4ec3-835e-40af7c8d7e96 X-Archives-Hash: 68c0811495d665f220bbf617cdf4425e commit: 473c4cee940561ce97fc9a7226aed3f42cbf6123 Author: Craig Andrews gentoo org> AuthorDate: Mon Jan 6 22:19:02 2020 +0000 Commit: Craig Andrews gentoo org> CommitDate: Mon Jan 6 22:19:02 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=473c4cee net-p2p/cpuminer-opt: 3.11.1 version bump Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Craig Andrews gentoo.org> net-p2p/cpuminer-opt/Manifest | 1 + net-p2p/cpuminer-opt/cpuminer-opt-3.11.1.ebuild | 50 +++++++++++++++++++++++++ 2 files changed, 51 insertions(+) diff --git a/net-p2p/cpuminer-opt/Manifest b/net-p2p/cpuminer-opt/Manifest index 4de38c1da54..a9f2fc785c9 100644 --- a/net-p2p/cpuminer-opt/Manifest +++ b/net-p2p/cpuminer-opt/Manifest @@ -1 +1,2 @@ DIST cpuminer-opt-3.11.0.tar.gz 1999976 BLAKE2B c411265ba9d9d380601cbf2e2ca314c95d299d91e900140c4f2a6f7452325c5e6315feadb2b9096df119483d08fe51262a09d535a28ac6b50bf7793ee1e357f6 SHA512 28868d525201d7f9e71601d048b64c82d68329c571d12ada0f681711d2d8b4a4644a6ccc12f2cbb4d0f67c38f991db3cdd39e5dd7e9ad9932cbc5ad9acdaf50b +DIST cpuminer-opt-3.11.1.tar.gz 1924178 BLAKE2B 1ed7f07f89c94e7e15ac370e7873e5b37ec45c5b0132c3a8f2772558eb37666f1db41fbf78311f539d69f2b0858ef91478a9b1b469220e09fe07e20bd0147db3 SHA512 af6a70e0e60d7c6ab904fe29f37ba3f18327d9eb7b9700b53c28ca5d4f6693d124b01a9f382f608f4449f5a412ca57216bac354bc40d1793a1f1d40f7191dd7b diff --git a/net-p2p/cpuminer-opt/cpuminer-opt-3.11.1.ebuild b/net-p2p/cpuminer-opt/cpuminer-opt-3.11.1.ebuild new file mode 100644 index 00000000000..a5d436b3b8b --- /dev/null +++ b/net-p2p/cpuminer-opt/cpuminer-opt-3.11.1.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 +}