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 3985F1382C5 for ; Thu, 22 Mar 2018 20:07:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 65C61E0953; Thu, 22 Mar 2018 20:07:27 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 30C5BE0953 for ; Thu, 22 Mar 2018 20:07:27 +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 9CC67335C51 for ; Thu, 22 Mar 2018 20:07:25 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 62574262 for ; Thu, 22 Mar 2018 20:07:23 +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: <1521749237.39e25c19e49374015b5611e90f7459382e5a6cd5.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.8.4.1.ebuild X-VCS-Directories: net-p2p/cpuminer-opt/ X-VCS-Committer: candrews X-VCS-Committer-Name: Craig Andrews X-VCS-Revision: 39e25c19e49374015b5611e90f7459382e5a6cd5 X-VCS-Branch: master Date: Thu, 22 Mar 2018 20:07:23 +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-Archives-Salt: 6dc7fd95-128a-4fae-b293-f520cc21c618 X-Archives-Hash: b259d6a976a464af68e229d645b41717 commit: 39e25c19e49374015b5611e90f7459382e5a6cd5 Author: Craig Andrews gentoo org> AuthorDate: Thu Mar 22 20:05:34 2018 +0000 Commit: Craig Andrews gentoo org> CommitDate: Thu Mar 22 20:07:17 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39e25c19 net-p2p/cpuminer-opt: 3.8.4.1 version bump Package-Manager: Portage-2.3.24, Repoman-2.3.6 net-p2p/cpuminer-opt/Manifest | 1 + net-p2p/cpuminer-opt/cpuminer-opt-3.8.4.1.ebuild | 46 ++++++++++++++++++++++++ 2 files changed, 47 insertions(+) diff --git a/net-p2p/cpuminer-opt/Manifest b/net-p2p/cpuminer-opt/Manifest index e4d49fba588..52ad6f31c04 100644 --- a/net-p2p/cpuminer-opt/Manifest +++ b/net-p2p/cpuminer-opt/Manifest @@ -1,3 +1,4 @@ DIST cpuminer-opt-3.8.3.2.tar.gz 1675230 BLAKE2B a0176c1152c695c1fde4f06911407b1aaf88fec8d275c64d2f117606ec82b26deda862a95ff1d866fcd7eece908be9ee1c5bb27d354e80665ab172d3d394dafc SHA512 610ce2bf8702882985d45d2db1cfa0655dcece47116908c2cd59489df1aa2a1f0b03c89af1a2cfa1ab0425e340b8e0b70c4f33b1399c414d90cabfc4f37bed3c DIST cpuminer-opt-3.8.3.3.tar.gz 1676500 BLAKE2B 7b3415f812c685b6054d4cb7236b681466fa6440c707e461c0fe03e4091906770bbe0851c4cb49d0fe1b99e11a8510f4462c2d8f05373aaa873a12fa7326a247 SHA512 6706930e2a317d54a349a6a5b71cbf4a3a7fb7ff1759376f35884aa21ef947635817c0f17fe82c53685bc652423245fdc25decf9ee23016bf86da47caacc161a +DIST cpuminer-opt-3.8.4.1.tar.gz 1678548 BLAKE2B 86ff1dce5abf735982f1272f6a97a18bb06d57d0f8008050ae5531323158e629325292c0cd8ba1ef1f1fb9a5d8a79848ea19cb7ab42b1baab40b12d4fd27f921 SHA512 38f8f62de08cc9fbcaa187f4abac2238a3aa0011c6d4bede67b48bc78add32e78bd0e3edb422795246573ece17397a32067d2f20dbc64f020b23f5a86c767021 DIST cpuminer-opt-3.8.4.tar.gz 1679290 BLAKE2B 94df217115f543ce95126553fa0d295e0ed2b13e766c114926ad449370a825cae5b95f5b5c34461f28a100fc102ae5227e2e9686db7500c5d3d4c7e2a3fb1804 SHA512 60bb0bb91a53362c64d7992e1c7e34b09be60d57c4cb150d904985562b5331368ce0d130d6699a292d63af826634f3cad938c84e6684b58d4aa9b31c7489de05 diff --git a/net-p2p/cpuminer-opt/cpuminer-opt-3.8.4.1.ebuild b/net-p2p/cpuminer-opt/cpuminer-opt-3.8.4.1.ebuild new file mode 100644 index 00000000000..a1f4a660f6b --- /dev/null +++ b/net-p2p/cpuminer-opt/cpuminer-opt-3.8.4.1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +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 + curl? ( >=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 $(use_with curl) +} + +src_install() { + default + systemd_dounit "${FILESDIR}"/${PN}.service + insinto "/etc/${PN}" + doins cpuminer-conf.json +}