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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9AE83159C96 for ; Sat, 27 Jul 2024 09:47:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E20402BC065; Sat, 27 Jul 2024 09:47:16 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BD3E82BC065 for ; Sat, 27 Jul 2024 09:47:16 +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 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 868CF340CB1 for ; Sat, 27 Jul 2024 09:47:15 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 253FF1E2E for ; Sat, 27 Jul 2024 09:47:14 +0000 (UTC) From: "Filip Kobierski" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Filip Kobierski" Message-ID: <1722073514.aedc02ff3297b1d82263925c6a5d79188f7b5dbd.fkobi@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: net-p2p/monero/files/, net-p2p/monero/ X-VCS-Repository: repo/proj/guru X-VCS-Files: net-p2p/monero/files/monero-0.18.3.3-miniupnp-api-18.patch net-p2p/monero/monero-0.18.3.3-r2.ebuild X-VCS-Directories: net-p2p/monero/files/ net-p2p/monero/ X-VCS-Committer: fkobi X-VCS-Committer-Name: Filip Kobierski X-VCS-Revision: aedc02ff3297b1d82263925c6a5d79188f7b5dbd X-VCS-Branch: dev Date: Sat, 27 Jul 2024 09:47:14 +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: a30687f8-b988-4516-9844-68afb1aa19a8 X-Archives-Hash: 15230edd5ccf3b7df5af3e559ad7e309 commit: aedc02ff3297b1d82263925c6a5d79188f7b5dbd Author: Filip Kobierski pm me> AuthorDate: Sat Jul 27 09:45:14 2024 +0000 Commit: Filip Kobierski pm me> CommitDate: Sat Jul 27 09:45:14 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=aedc02ff net-p2p/monero: add 0.18.3.3-r2 With patch to allow for newer versions of miniupnpc Signed-off-by: Filip Kobierski pm.me> .../files/monero-0.18.3.3-miniupnp-api-18.patch | 30 +++++ net-p2p/monero/monero-0.18.3.3-r2.ebuild | 123 +++++++++++++++++++++ 2 files changed, 153 insertions(+) diff --git a/net-p2p/monero/files/monero-0.18.3.3-miniupnp-api-18.patch b/net-p2p/monero/files/monero-0.18.3.3-miniupnp-api-18.patch new file mode 100644 index 000000000..d281f60ec --- /dev/null +++ b/net-p2p/monero/files/monero-0.18.3.3-miniupnp-api-18.patch @@ -0,0 +1,30 @@ +diff --git a/src/p2p/net_node.inl b/src/p2p/net_node.inl +index 30e3d31b9..c49783e1c 100644 +--- a/src/p2p/net_node.inl ++++ b/src/p2p/net_node.inl +@@ -2989,7 +2989,12 @@ namespace nodetool + UPNPUrls urls; + IGDdatas igdData; + char lanAddress[64]; ++#if MINIUPNPC_API_VERSION > 17 ++ char wanAddress[64]; ++ result = UPNP_GetValidIGD(deviceList, &urls, &igdData, lanAddress, sizeof lanAddress, wanAddress, sizeof(wanAddress)); ++#else + result = UPNP_GetValidIGD(deviceList, &urls, &igdData, lanAddress, sizeof lanAddress); ++#endif + freeUPNPDevlist(deviceList); + if (result > 0) { + if (result == 1) { +@@ -3057,7 +3062,12 @@ namespace nodetool + UPNPUrls urls; + IGDdatas igdData; + char lanAddress[64]; ++#if MINIUPNPC_API_VERSION > 17 ++ char wanAddress[64]; ++ result = UPNP_GetValidIGD(deviceList, &urls, &igdData, lanAddress, sizeof lanAddress, wanAddress, sizeof(wanAddress)); ++#else + result = UPNP_GetValidIGD(deviceList, &urls, &igdData, lanAddress, sizeof lanAddress); ++#endif + freeUPNPDevlist(deviceList); + if (result > 0) { + if (result == 1) { diff --git a/net-p2p/monero/monero-0.18.3.3-r2.ebuild b/net-p2p/monero/monero-0.18.3.3-r2.ebuild new file mode 100644 index 000000000..2b6b6e997 --- /dev/null +++ b/net-p2p/monero/monero-0.18.3.3-r2.ebuild @@ -0,0 +1,123 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake systemd + +DESCRIPTION="The secure, private, untraceable cryptocurrency" +HOMEPAGE="https://github.com/monero-project/monero" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/monero-project/monero.git" + EGIT_SUBMODULES=() +else + SRC_URI="https://github.com/monero-project/monero/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm64 ~x86" +fi + +LICENSE="BSD MIT" +SLOT="0" +IUSE="+daemon hw-wallet readline +tools +wallet-cli +wallet-rpc" +REQUIRED_USE="|| ( daemon tools wallet-cli wallet-rpc )" +RESTRICT="test" + +DEPEND=" + acct-group/monero + acct-user/monero +