From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id F0B83158074 for ; Wed, 25 Jun 2025 01:06:37 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id DC9D8341540 for ; Wed, 25 Jun 2025 01:06:37 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 470FD110556; Wed, 25 Jun 2025 01:06:31 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 3B364110556 for ; Wed, 25 Jun 2025 01:06:31 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E78F7340E85 for ; Wed, 25 Jun 2025 01:06:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 861722A77 for ; Wed, 25 Jun 2025 01:06:29 +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: <1750813586.465033eb7694d312ed14f5efee592d8c36f28cec.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-25.4.ebuild X-VCS-Directories: net-p2p/cpuminer-opt/ X-VCS-Committer: candrews X-VCS-Committer-Name: Craig Andrews X-VCS-Revision: 465033eb7694d312ed14f5efee592d8c36f28cec X-VCS-Branch: master Date: Wed, 25 Jun 2025 01:06:29 +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: 45221a48-87f7-4d9d-b8fc-a421e65df80a X-Archives-Hash: 0e2b5402f1eb04a1c71befce39718a9b commit: 465033eb7694d312ed14f5efee592d8c36f28cec Author: Craig Andrews gentoo org> AuthorDate: Wed Jun 25 01:06:14 2025 +0000 Commit: Craig Andrews gentoo org> CommitDate: Wed Jun 25 01:06:26 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=465033eb net-p2p/cpuminer-opt: add 25.4 Signed-off-by: Craig Andrews gentoo.org> net-p2p/cpuminer-opt/Manifest | 1 + net-p2p/cpuminer-opt/cpuminer-opt-25.4.ebuild | 48 +++++++++++++++++++++++++++ 2 files changed, 49 insertions(+) diff --git a/net-p2p/cpuminer-opt/Manifest b/net-p2p/cpuminer-opt/Manifest index 590761909799..44b975d0552d 100644 --- a/net-p2p/cpuminer-opt/Manifest +++ b/net-p2p/cpuminer-opt/Manifest @@ -1 +1,2 @@ DIST cpuminer-opt-25.3.tar.gz 1779278 BLAKE2B 0c6222692c3b342b104b54c538f376789c7097f09219372437c10e5a4e0986d40c502bb3682bf10cbf693398e8be4fe9082da1ffc191064cf3cd3f7460deed72 SHA512 4768c2925e5fbcf37008fe8a7f3345a7816534132dde54e9b4fba0430aff06ca1f88c9606cf413556f71b604a15c184628f51e6b2228cc3ed861843dee993128 +DIST cpuminer-opt-25.4.tar.gz 1771611 BLAKE2B 59063a3ec5b3faa30109cf593a80f0d37327b8dfd3253064128fe0575e030dba7399b6e709994142fe01421c1e8aacd06c498d0414ac02db4a5c46e769ea59de SHA512 69590c68aeefdbe4264bb68098ff908d6aee903f1f44c472a8b9efed0a9cded93dc1aea9416c4ab02670992e03d1fd5997aca577cc83801eb0a3c62539234d9e diff --git a/net-p2p/cpuminer-opt/cpuminer-opt-25.4.ebuild b/net-p2p/cpuminer-opt/cpuminer-opt-25.4.ebuild new file mode 100644 index 000000000000..289eb7265773 --- /dev/null +++ b/net-p2p/cpuminer-opt/cpuminer-opt-25.4.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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" +LICENSE="GPL-2" +SLOT="0" +REQUIRED_USE="cpu_flags_x86_sse2" +DEPEND=" + dev-libs/gmp:= + dev-libs/jansson:= + >=net-misc/curl-7.15[ssl] +" +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}" + newins config-template.json cpuminer-conf.json +} + +src_test() { + ./cpuminer --cputest || die +}