[gentoo-commits] repo/proj/guru:master commit in: net-p2p/monero/files/, net-p2p/monero/

2024-07-27 Thread David Roman
commit: c32a870f0bfad91442422df9279a5b2049f13501
Author: Filip Kobierski  pm  me>
AuthorDate: Sat Jul 27 07:38:26 2024 +
Commit: David Roman  gmail  com>
CommitDate: Sat Jul 27 07:51:28 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c32a870f

net-p2p/monero: cleaning and general improvements

- add version restriction to  and remaining 0.17 package
- unify latest package and git version
- rename patch for 0.17.1.2 to 0.17.3.2
- rename patch for 0.18.1.0 to 0.18.3.3
- drop old versions
- drop unused patches

Signed-off-by: Filip Kobierski  pm.me>

 net-p2p/monero/Manifest|   7 --
 .../monero/files/monero-0.17.1.7-linkjobs.patch|  44 
 .../monero-0.17.1.7-unbundle-dependencies.patch| 112 ---
 .../monero/files/monero-0.17.2.0-boost-176.patch   |  24 -
 ...=> monero-0.17.3.2-unbundle-dependencies.patch} |   0
 .../monero-0.18.1.0-unbundle-dependencies.patch| 112 ---
 net-p2p/monero/files/monero-0.18.2.2-cstdint.patch |  60 ---
 ...=> monero-0.18.3.3-unbundle-dependencies.patch} |   0
 net-p2p/monero/monero-0.17.2.0.ebuild  | 117 
 net-p2p/monero/monero-0.17.2.3.ebuild  | 117 
 net-p2p/monero/monero-0.17.3.0.ebuild  | 115 
 net-p2p/monero/monero-0.17.3.2.ebuild  |   6 +-
 net-p2p/monero/monero-0.18.1.2.ebuild  | 119 -
 net-p2p/monero/monero-0.18.2.0.ebuild  | 117 
 net-p2p/monero/monero-0.18.2.2.ebuild  | 118 
 net-p2p/monero/monero-0.18.3.1.ebuild  |   4 +-
 net-p2p/monero/monero-0.18.3.3-r1.ebuild   |   2 +-
 net-p2p/monero/monero-.ebuild  |  24 +++--
 18 files changed, 22 insertions(+), 1076 deletions(-)

diff --git a/net-p2p/monero/Manifest b/net-p2p/monero/Manifest
index 394d1ed3b..a4b7a5322 100644
--- a/net-p2p/monero/Manifest
+++ b/net-p2p/monero/Manifest
@@ -1,10 +1,3 @@
-DIST monero-0.17.2.0.tar.gz 10622184 BLAKE2B 
c439e447f524a08a7ee79420873b7cf393f5cd3269460944aac30a315ac7c273c12fd809d86d41445bfc7e8c2feb0538d4e9fc1dadeb55f7e09f2920778f07a7
 SHA512 
85b764f1fc25127e7ca4ada67b1d832a9604c4cf65b160d689650e7ca7bbc36b73d8b26c5409fabdaad7369684997447cd812d1c521fad19d24f5b35f4789a1e
-DIST monero-0.17.2.3.tar.gz 10640501 BLAKE2B 
15c7b92e7d00788214953c09af96d578e79c65ba9263d2a9ea19cfb9cc65e77d15770b873a10b77aae9e908dce74162d3577ed241600ebd57098b860bfd8f114
 SHA512 
7f3363c2cb66fa90a47a4cbb03b367182afa63af21d40bf07ea57cd91e4805684ec4795c0390bc966626a3b7b3c0a47167036873f5d1ea4b487a3d02bf01aaa4
-DIST monero-0.17.3.0.tar.gz 10659302 BLAKE2B 
fe73172e490f119a3d3730e3c11afd386e54fa22e12ac69d6f5e420d5409ba8201289feb01041520b374768325ea82132108972f68ef59114f414451232daea6
 SHA512 
97a40f594aaa6f588a3ad982142a0ea4f4410d208dd5ff43b09c70baadd32f87e92eac97abd800f25298e8d0613ae85f68605f586ceccf9dc078fcb189d7511a
 DIST monero-0.17.3.2.tar.gz 10685156 BLAKE2B 
f313ec0e5e224797448a43ad46d4e990174eec6cdceec6dc9a25d62f014a775172e103d05a33558404bd84a8443ba6ada0c27f81a3a83fe630d16cbad97602f5
 SHA512 
2d34e0525b2ca1d7bddb8ea51776b49fec4fb866a1c1239c347460ed3369af2f430be32da45666f16c369cebef099f285971c0e806d75d60354f195c5f93891d
-DIST monero-0.18.1.2.tar.gz 11609034 BLAKE2B 
3186a1038e9dd8f204a506df28c526bf3e0e5f788ad2d6b512f02735162a479be3f46d309d4e6888f30f962d68ecaf269888c8c0b21a066cad78b3c06f8cfc83
 SHA512 
d112f34b2fe6720c324560dd523badb68f08d03183d4bbbe7e1aa95f641cde4a1c4fa4042f1d47f9920f799269cc9620150136ebbef6dd66fcd4df0336c0d7f3
-DIST monero-0.18.2.0.tar.gz 11624875 BLAKE2B 
e8dc2e89c664cb218d900ce0803dd1716f1ee363bbddb232fbd22570818c9a9ca307df04808ffef1eb30ee6097fbe243f6977dfad181f57b9169f22d4819f145
 SHA512 
19625d8e6ee3e9f27ba06eb6027ef21571a2ae8261c9e32f6e74d2f7adf8c73e9dfe34516cd456426274c41ce941e1e5b7eba9f9d20492b99decbd9262aec434
-DIST monero-0.18.2.2.tar.gz 11640001 BLAKE2B 
04b19e760b09636d7862af2a071128a28006d2829f08039cf55cfa1fd7d054b1382dbbcfc7f0ed381fcbd358e75ec437467349c7f250510e99e06527d1209da6
 SHA512 
78d4f7fee4eb37ba4837bc392c5869e21c9ea1e9bd9e95f768003bc833302935121c315fb3b4fcbe8f07a9513f928e9e9146dc7ca8892a3db2eb14cfe1371727
 DIST monero-0.18.3.1.tar.gz 14005197 BLAKE2B 
169d876caf94090894c9a2bd9d07b71e46411971b06da0f51fc57f01396de4f5f770062e08cbebf702b6b49dbcd47923675d2375795969f5673bf2091a7da742
 SHA512 
b29d25043d50fa30459e59e0c82627cc3dc4a7e2e28a727a353915a32cf5e70e36f548bda152dee13329cb2d09a978ff45c2121f8bf7acc8966957a53e772f03
 DIST monero-0.18.3.3.tar.gz 14028018 BLAKE2B 
07c3272175fb05645a2f5f7ce6cef4d65054ba1d80994c4dc8445ec4df13aebe2b268d5b4be49db0cdd35dcdce1bbd33874111e21503839d63fae70ea30b0dff
 SHA512 
26aaa02be4d1109dfdae08981b9fee16a10c358030ba99ae809eb241e805c50edc8ad10b1a375cd02e3160fa3de8ae6773cca55618d39ca30614f1d6662c18e5
-DIST monero-8682.patch 1053 BLAKE2B 
6252ee36961d41e6c7161004f2b3ddb0916a2dc91b91

[gentoo-commits] repo/proj/guru:master commit in: net-p2p/monero/files/, net-p2p/monero/

2024-07-27 Thread David Roman
commit: aedc02ff3297b1d82263925c6a5d79188f7b5dbd
Author: Filip Kobierski  pm  me>
AuthorDate: Sat Jul 27 09:45:14 2024 +
Commit: David Roman  gmail  com>
CommitDate: Sat Jul 27 09:45:14 2024 +
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 0..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 0..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} ==  ]]; 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
+   

[gentoo-commits] repo/proj/guru:master commit in: net-p2p/monero/files/

2023-01-10 Thread Haelwenn Monnier
commit: c983541ac3973977e154cace4e7433d6fa53d160
Author: Lucio Sauer  posteo  net>
AuthorDate: Sun Jan  8 16:38:03 2023 +
Commit: Haelwenn Monnier  hacktivis  me>
CommitDate: Sun Jan  8 16:39:14 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c983541a

net-p2p/monero: fix grace period when stopping OpenRC service

Signed-off-by: Lucio Sauer  posteo.net>

 net-p2p/monero/files/monerod.initd | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-p2p/monero/files/monerod.initd 
b/net-p2p/monero/files/monerod.initd
index 8fa41d6d0..48a46d5c8 100644
--- a/net-p2p/monero/files/monerod.initd
+++ b/net-p2p/monero/files/monerod.initd
@@ -6,7 +6,7 @@ pidfile=/var/run/monerod.pid
 command=/usr/bin/monerod
 command_args="${monerod_args}"
 start_stop_daemon_args="-u ${monerod_user} -b -m -p ${pidfile}"
-retry="SIGTERM/30"
+retry="SIGTERM/30/SIGKILL/5"
 
 name="Monero P2P Daemon"
 description="Connects to the Monero P2P network"



[gentoo-commits] repo/proj/guru:master commit in: net-p2p/monero/files/

2022-09-09 Thread Ronny Gutbrod
commit: 30e7f5c2110f1b01ed59b8d8bb53042fdc429ec1
Author: Adam Pimentel  protonmail  com>
AuthorDate: Fri Sep  9 21:09:43 2022 +
Commit: Ronny Gutbrod  tastytea  de>
CommitDate: Fri Sep  9 21:09:43 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=30e7f5c2

net-p2p/monero: increase monerod delay on "rc-service monerod stop"

Signed-off-by: Adam Pimentel  protonmail.com>

 net-p2p/monero/files/monerod.initd | 1 +
 1 file changed, 1 insertion(+)

diff --git a/net-p2p/monero/files/monerod.initd 
b/net-p2p/monero/files/monerod.initd
index c94e6ff46..8fa41d6d0 100644
--- a/net-p2p/monero/files/monerod.initd
+++ b/net-p2p/monero/files/monerod.initd
@@ -6,6 +6,7 @@ pidfile=/var/run/monerod.pid
 command=/usr/bin/monerod
 command_args="${monerod_args}"
 start_stop_daemon_args="-u ${monerod_user} -b -m -p ${pidfile}"
+retry="SIGTERM/30"
 
 name="Monero P2P Daemon"
 description="Connects to the Monero P2P network"