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 9B3851382C5 for ; Sun, 25 Feb 2018 01:38:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id ABAC2E07A9; Sun, 25 Feb 2018 01:38:10 +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 725FCE07A9 for ; Sun, 25 Feb 2018 01:38:09 +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 AD4CE335C09 for ; Sun, 25 Feb 2018 01:38:07 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 260AD1CC for ; Sun, 25 Feb 2018 01:38:05 +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: <1519522678.4c1a66830d941bebb25edcce199b9b9709f33d40.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.3.2.ebuild X-VCS-Directories: net-p2p/cpuminer-opt/ X-VCS-Committer: candrews X-VCS-Committer-Name: Craig Andrews X-VCS-Revision: 4c1a66830d941bebb25edcce199b9b9709f33d40 X-VCS-Branch: master Date: Sun, 25 Feb 2018 01:38:05 +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: f7abd729-3eb7-4b99-865e-e4ca92c69e56 X-Archives-Hash: 555c44e2d0a5ab1ef2c1bef03e3b9029 commit: 4c1a66830d941bebb25edcce199b9b9709f33d40 Author: Craig Andrews gentoo org> AuthorDate: Sun Feb 25 01:36:14 2018 +0000 Commit: Craig Andrews gentoo org> CommitDate: Sun Feb 25 01:37:58 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c1a6683 net-p2p/cpuminer-opt: 3.8.3.2 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.3.2.ebuild | 46 ++++++++++++++++++++++++ 2 files changed, 47 insertions(+) diff --git a/net-p2p/cpuminer-opt/Manifest b/net-p2p/cpuminer-opt/Manifest index d46d875a589..51482a022be 100644 --- a/net-p2p/cpuminer-opt/Manifest +++ b/net-p2p/cpuminer-opt/Manifest @@ -3,3 +3,4 @@ DIST cpuminer-opt-3.8.0.tar.gz 1656474 BLAKE2B 145126762aeb245d042c1a208b60fd472 DIST cpuminer-opt-3.8.1.1.tar.gz 1657624 BLAKE2B d408d3da10ea6c0d91d0aa7097e52fb233f9a3c8f921c638899d18f99c1b1522c2d627d6869af6e650929da251f2bf6df87882ffb7169ac5a5633608d9399565 SHA512 f41e175492514c96d088c7f11aec88796b63d91aa8496794fac2222db24090685b4c76439bff39b5c074a5527494dfa8d1be6611b0040f5fca6436a80ea933f4 DIST cpuminer-opt-3.8.1.tar.gz 1654969 BLAKE2B b8805e748b71d3c7049d5c97dd74a51da55f88c697963c938a372ff5ff0ac72fcabce81b86f373fdca2dcef7393bba3f53c049bc30dfbd02691ff5e9630cf5bc SHA512 800edbecf5edb0902adc54480a4984602c19087d55675212832ce24df109b7d66544d9db78112a04c3c374521737e2680013d354b6ff8195a17abeb213e2a556 DIST cpuminer-opt-3.8.2.1.tar.gz 1668854 BLAKE2B d05238c27bb2fdc806937fde0db8fad81ad07a8f3a19414cf338a5262f112a2b6378657b7c901c41a8461f3ce62662da2758941eecb04f7efad809ffeb9403a3 SHA512 2ff1ac4923c90ebd59a1336cf0114be67571c8eb3d526467546c22a2a291778d77ef842fc814cdf88c589643faaad87dada95cc718680ffba91a19e7f53f1178 +DIST cpuminer-opt-3.8.3.2.tar.gz 1675230 BLAKE2B a0176c1152c695c1fde4f06911407b1aaf88fec8d275c64d2f117606ec82b26deda862a95ff1d866fcd7eece908be9ee1c5bb27d354e80665ab172d3d394dafc SHA512 610ce2bf8702882985d45d2db1cfa0655dcece47116908c2cd59489df1aa2a1f0b03c89af1a2cfa1ab0425e340b8e0b70c4f33b1399c414d90cabfc4f37bed3c diff --git a/net-p2p/cpuminer-opt/cpuminer-opt-3.8.3.2.ebuild b/net-p2p/cpuminer-opt/cpuminer-opt-3.8.3.2.ebuild new file mode 100644 index 00000000000..a1f4a660f6b --- /dev/null +++ b/net-p2p/cpuminer-opt/cpuminer-opt-3.8.3.2.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 +}