Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] Partially revert "srcpkgs/*: remove all cryptocurrency/blockchain packages"
@ 2023-07-01 23:05 lemmi
  2023-07-01 23:21 ` damadmai
                   ` (17 more replies)
  0 siblings, 18 replies; 19+ messages in thread
From: lemmi @ 2023-07-01 23:05 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 2179 bytes --]

There is a new pull request by lemmi against master on the void-packages repository

https://github.com/lemmi/void-packages revert-crypto-removal
https://github.com/void-linux/void-packages/pull/44778

Partially revert "srcpkgs/*: remove all cryptocurrency/blockchain packages"
I kind of hate how #44422 went down. No attempt was made to find some sort of middle ground and I wasn't able to find any sort of discussion about it. Maybe we can make up for it now.

I reverted #44422 and split it in single commits per package. If someone were to step up and take over maintenance of a package, I can revert that removal easily. But I will only do that if someone is willing to maintain a package and someone from @void-linux/pkg-committers signals support.

I'll take the first step and say I'm willing to oversee `bitcoin` and maybe `electrum`, if @ar-jan  and @damadmai (or someone else) are interested. (Which is why I left these packages in and did not add commits for them). I could probably be convinced to also oversee `go-ethereum`, since that template seems to be straight forward for now.

There are a couple of packages that were abandoned from upstream or I wasn't able to find any pull requests for, so I think they can go. I also think that we don't need to ship any miners, since at this point, it's mostly special purpose software and is probably best built directly from upstream. I also wouldn't be opposed to add the last bit to our package requirements.

Here's list of people that I was able to find that last touched some of the removed packages, so they know what's going on, or can leave comment:
 
namecoin: @Chocimier @mobinmob 
litecoin: @ahesford @ndowens 
monero: @kevcrumb @Hoshpak 
monero-gui: @kevcrumb @Hoshpak 
go-ethereum: @sihoang
bitcoin: @damadmai @unspecd  #44133
Electron-Cash: @ar-jan  #43702
electrum: @ar-jan  #43702

If this is left without any meaningful feedback for about a month, I'll close this as is. And since this is potentially a highly polarizing topic, I feel I have to ask everyone to keep it civilized in advance.

A patch file from https://github.com/void-linux/void-packages/pull/44778.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-revert-crypto-removal-44778.patch --]
[-- Type: text/x-diff, Size: 109098 bytes --]

From d3067867d0c17b2b43b6dbc358cf5077ae7dae79 Mon Sep 17 00:00:00 2001
From: lemmi <lemmi@nerd2nerd.org>
Date: Sat, 1 Jul 2023 22:12:20 +0200
Subject: [PATCH 01/12] Revert "srcpkgs/*: remove all cryptocurrency/blockchain
 packages"

This reverts commit 6ad118290026c0280050dbeb978f16ea2003c8f2.
---
 CONTRIBUTING.md                               |   1 -
 common/shlibs                                 |   1 +
 srcpkgs/Electron-Cash/template                |  28 +++++
 srcpkgs/bitcoin-devel                         |   1 +
 srcpkgs/bitcoin-qt                            |   1 +
 srcpkgs/bitcoin/patches/fix-test.patch        |  22 ++++
 srcpkgs/bitcoin/template                      |  74 ++++++++++++
 srcpkgs/bitcoin/update                        |   2 +
 srcpkgs/cointop/template                      |  12 ++
 srcpkgs/cpuminer/template                     |  13 +++
 srcpkgs/electrum-ltc/patches/no-certifi.patch |  97 ++++++++++++++++
 srcpkgs/electrum-ltc/template                 |  19 ++++
 srcpkgs/electrum/files/README.voidlinux       |   3 +
 srcpkgs/electrum/template                     |  31 +++++
 srcpkgs/electrum/update                       |   3 +
 srcpkgs/geth                                  |   1 +
 srcpkgs/go-ethereum/template                  |  27 +++++
 srcpkgs/libbitcoin-secp256k1-devel            |   1 +
 srcpkgs/libbitcoin-secp256k1/template         |  35 ++++++
 srcpkgs/litecoin/patches/fix-include.patch    |  61 ++++++++++
 srcpkgs/litecoin/template                     |  34 ++++++
 srcpkgs/monero-devel                          |   1 +
 srcpkgs/monero-gui/INSTALL.msg                |   4 +
 srcpkgs/monero-gui/files                      |   1 +
 srcpkgs/monero-gui/template                   | 106 ++++++++++++++++++
 srcpkgs/monero-gui/update                     |   2 +
 srcpkgs/monero/files/monerod/run              |   3 +
 srcpkgs/monero/patches/easylogging.patch      |  11 ++
 srcpkgs/monero/patches/fix-include.patch      |  29 +++++
 srcpkgs/monero/patches/march_cross.patch      |  13 +++
 srcpkgs/monero/patches/system-miniupnpc.patch | 106 ++++++++++++++++++
 srcpkgs/monero/template                       |  94 ++++++++++++++++
 srcpkgs/monero/update                         |   2 +
 srcpkgs/namecoin/patches/boost-1.80.patch     |  57 ++++++++++
 srcpkgs/namecoin/patches/fix-include.patch    |  77 +++++++++++++
 srcpkgs/namecoin/template                     |  32 ++++++
 srcpkgs/namecoin/update                       |   1 +
 srcpkgs/nxt/files/bin/nxt                     |   2 +
 srcpkgs/nxt/files/bin/nxt-tor                 |   2 +
 srcpkgs/nxt/files/nxt-tor/run                 |   4 +
 srcpkgs/nxt/files/nxt/run                     |   3 +
 srcpkgs/nxt/template                          |  25 +++++
 srcpkgs/removed-packages/template             |  21 +---
 srcpkgs/swarm/template                        |  13 +++
 44 files changed, 1056 insertions(+), 20 deletions(-)
 create mode 100644 srcpkgs/Electron-Cash/template
 create mode 120000 srcpkgs/bitcoin-devel
 create mode 120000 srcpkgs/bitcoin-qt
 create mode 100644 srcpkgs/bitcoin/patches/fix-test.patch
 create mode 100644 srcpkgs/bitcoin/template
 create mode 100644 srcpkgs/bitcoin/update
 create mode 100644 srcpkgs/cointop/template
 create mode 100644 srcpkgs/cpuminer/template
 create mode 100644 srcpkgs/electrum-ltc/patches/no-certifi.patch
 create mode 100644 srcpkgs/electrum-ltc/template
 create mode 100644 srcpkgs/electrum/files/README.voidlinux
 create mode 100644 srcpkgs/electrum/template
 create mode 100644 srcpkgs/electrum/update
 create mode 120000 srcpkgs/geth
 create mode 100644 srcpkgs/go-ethereum/template
 create mode 120000 srcpkgs/libbitcoin-secp256k1-devel
 create mode 100644 srcpkgs/libbitcoin-secp256k1/template
 create mode 100644 srcpkgs/litecoin/patches/fix-include.patch
 create mode 100644 srcpkgs/litecoin/template
 create mode 120000 srcpkgs/monero-devel
 create mode 100644 srcpkgs/monero-gui/INSTALL.msg
 create mode 120000 srcpkgs/monero-gui/files
 create mode 100644 srcpkgs/monero-gui/template
 create mode 100644 srcpkgs/monero-gui/update
 create mode 100644 srcpkgs/monero/files/monerod/run
 create mode 100644 srcpkgs/monero/patches/easylogging.patch
 create mode 100644 srcpkgs/monero/patches/fix-include.patch
 create mode 100644 srcpkgs/monero/patches/march_cross.patch
 create mode 100644 srcpkgs/monero/patches/system-miniupnpc.patch
 create mode 100644 srcpkgs/monero/template
 create mode 100644 srcpkgs/monero/update
 create mode 100644 srcpkgs/namecoin/patches/boost-1.80.patch
 create mode 100644 srcpkgs/namecoin/patches/fix-include.patch
 create mode 100644 srcpkgs/namecoin/template
 create mode 100644 srcpkgs/namecoin/update
 create mode 100644 srcpkgs/nxt/files/bin/nxt
 create mode 100644 srcpkgs/nxt/files/bin/nxt-tor
 create mode 100644 srcpkgs/nxt/files/nxt-tor/run
 create mode 100644 srcpkgs/nxt/files/nxt/run
 create mode 100644 srcpkgs/nxt/template
 create mode 100644 srcpkgs/swarm/template

diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index a8f58bbb3744..bc9ff3e9d5d3 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -20,7 +20,6 @@ while not meeting any of the following requirements, is a good candidate for the
 In particular, new themes are highly unlikely to be accepted.
 Simple shell scripts are unlikely to be accepted unless they provide considerable value to a broad user base.
 New fonts may be accepted if they provide value beyond aesthetics (e.g. they contain glyphs for a script missing in already packaged fonts).
-Packages related to cryptocurrencies (wallets, miners, nodes, etc) are not accepted.
 
 Browser forks, including those based on Chromium and Firefox, are generally not accepted.
 Such forks require heavy patching, maintenance and hours of build time.
diff --git a/common/shlibs b/common/shlibs
index ef71bae3f9a7..701836544b2b 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3670,6 +3670,7 @@ libdwarves_emit.so.1 pahole-1.12_1
 libdwarves_reorganize.so.1 pahole-1.12_1
 libclthreads.so.2 clthreads-2.4.2_1
 libclxclient.so.3 clxclient-3.9.2_1
+libsecp256k1.so.0 libbitcoin-secp256k1-0.1.0.13_1
 libltc.so.11 libltc-1.3.1_1
 libvpd-2.2.so.2 libvpd-2.2.6_1
 libvpd_cxx-2.2.so.2 libvpd-2.2.6_1
diff --git a/srcpkgs/Electron-Cash/template b/srcpkgs/Electron-Cash/template
new file mode 100644
index 000000000000..38ca3449b093
--- /dev/null
+++ b/srcpkgs/Electron-Cash/template
@@ -0,0 +1,28 @@
+# Template file for 'Electron-Cash'
+pkgname=Electron-Cash
+version=4.2.10
+revision=3
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-PyQt5-devel-tools"
+depends="python3-PyQt5 python3-PyQt5-svg python3-qrcode python3-dateutil
+ python3-jsonrpclib python3-protobuf
+ python3-dnspython python3-requests python3-pysocks python3-stem
+ python3-ecdsa python3-pyaes python3-pycryptodomex libbitcoin-secp256k1 libzbar
+ python3-cryptography>=2.6 python3-pathvalidate python3-psutil"
+short_desc="Lightweight Bitcoin Cash client"
+maintainer="Orphaned <orphan@voidlinux.org>"
+license="MIT"
+homepage="https://electroncash.org"
+distfiles="https://github.com/Electron-Cash/Electron-Cash/releases/download/${version}/Electron-Cash-${version}.tar.gz"
+checksum=2c77258c0e8ccdc42d16cd9bdbc26b47f94b92d9ba8a86d63c25a17ec832b324
+make_check=no # Depends on unpackaged SimpleWebSocketServer
+
+post_install() {
+	# TODO: build these binaries instead of having to remove pre-built ones
+	rm -f -- "${DESTDIR}/usr/lib/python${py3_ver}/site-packages/electroncash/tor/bin/tor"
+
+	for lib in zbar secp256k1; do
+		rm -f -- "${DESTDIR}/usr/lib/python${py3_ver}/site-packages/electroncash/lib${lib}.so.0"
+	done
+	vlicense LICENCE
+}
diff --git a/srcpkgs/bitcoin-devel b/srcpkgs/bitcoin-devel
new file mode 120000
index 000000000000..f3c13956326c
--- /dev/null
+++ b/srcpkgs/bitcoin-devel
@@ -0,0 +1 @@
+bitcoin
\ No newline at end of file
diff --git a/srcpkgs/bitcoin-qt b/srcpkgs/bitcoin-qt
new file mode 120000
index 000000000000..f3c13956326c
--- /dev/null
+++ b/srcpkgs/bitcoin-qt
@@ -0,0 +1 @@
+bitcoin
\ No newline at end of file
diff --git a/srcpkgs/bitcoin/patches/fix-test.patch b/srcpkgs/bitcoin/patches/fix-test.patch
new file mode 100644
index 000000000000..0004fd7358a5
--- /dev/null
+++ b/srcpkgs/bitcoin/patches/fix-test.patch
@@ -0,0 +1,22 @@
+Index: bitcoin-22.0/src/wallet/test/init_tests.cpp
+===================================================================
+--- bitcoin-22.0.orig/src/wallet/test/init_tests.cpp
++++ bitcoin-22.0/src/wallet/test/init_tests.cpp
+@@ -69,7 +69,7 @@ BOOST_AUTO_TEST_CASE(walletinit_verify_w
+     BOOST_CHECK(result == true);
+     fs::path walletdir = gArgs.GetArg("-walletdir", "");
+     fs::path expected_path = fs::canonical(m_walletdir_path_cases["default"]);
+-    BOOST_CHECK_EQUAL(walletdir, expected_path);
++    BOOST_TEST(fs::equivalent(walletdir, expected_path));
+ }
+ 
+ BOOST_AUTO_TEST_CASE(walletinit_verify_walletdir_no_trailing2)
+@@ -79,7 +79,7 @@ BOOST_AUTO_TEST_CASE(walletinit_verify_w
+     BOOST_CHECK(result == true);
+     fs::path walletdir = gArgs.GetArg("-walletdir", "");
+     fs::path expected_path = fs::canonical(m_walletdir_path_cases["default"]);
+-    BOOST_CHECK_EQUAL(walletdir, expected_path);
++    BOOST_TEST(fs::equivalent(walletdir, expected_path));
+ }
+ 
+ BOOST_AUTO_TEST_SUITE_END()
diff --git a/srcpkgs/bitcoin/template b/srcpkgs/bitcoin/template
new file mode 100644
index 000000000000..cf464ce35c46
--- /dev/null
+++ b/srcpkgs/bitcoin/template
@@ -0,0 +1,74 @@
+# Template file for 'bitcoin'
+pkgname=bitcoin
+version=22.0
+revision=5
+build_style=gnu-configure
+configure_args="--with-incompatible-bdb --disable-ccache --disable-static
+ --enable-hardening --with-boost=${XBPS_CROSS_BASE}/usr --with-gui"
+hostmakedepends="automake libtool pkg-config yasm"
+makedepends="db-devel boost-devel miniupnpc-devel qt5-tools-devel
+ libevent-devel qrencode-devel libatomic-devel sqlite-devel"
+short_desc="Bitcoin is a peer-to-peer network based digital currency"
+maintainer="Daniel A. Maierhofer <git@damadmai.at>"
+license="MIT"
+homepage="https://bitcoin.org/"
+distfiles="https://bitcoin.org/bin/bitcoin-core-${version}/bitcoin-${version}.tar.gz
+ https://raw.githubusercontent.com/bitcoin-core/packaging/${version%.*}.x/debian/bitcoin-qt.desktop
+ https://raw.githubusercontent.com/bitcoin/bitcoin/v${version}/share/pixmaps/bitcoin128.png"
+checksum="d0e9d089b57048b1555efa7cd5a63a7ed042482045f6f33402b1df425bf9613b
+ 0a46bbadda140599e807be38999e6848c89f9c3523d26fede02d34d62d50f632
+ ad880c8459ecfdb96abe6a4689af06bdd27906e0edcd39d0915482f2da91e722"
+conflicts="litecoin>=0" # Both provide libbitcoinconsensus.so.0
+skip_extraction="bitcoin-qt.desktop bitcoin128.png"
+
+if [ "$CROSS_BUILD" ]; then
+	hostmakedepends+=" qt5-host-tools"
+fi
+
+pre_configure() {
+	autoreconf -fi
+	case "$XBPS_TARGET_MACHINE" in
+	aarch64*)
+		CFLAGS=${CFLAGS/armv8-a/armv8-a+crc+crypto}
+		CXXFLAGS=${CXXFLAGS/armv8-a/armv8-a+crc+crypto}
+		;;
+	esac
+}
+
+pre_build() {
+	export BITCOIN_GENBUILD_NO_GIT=1
+}
+
+post_install() {
+	rm "${DESTDIR}"/usr/bin/{test,bench}_bitcoin
+
+	for b in bitcoind bitcoin-cli bitcoin-tx; do
+		vcompletion contrib/${b}.bash-completion bash $b
+	done
+
+	vlicense COPYING
+}
+
+bitcoin-devel_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+		vdoc doc/shared-libraries.md # Provides information on libbitcoinconsensus
+	}
+}
+
+bitcoin-qt_package() {
+	depends="desktop-file-utils"
+	short_desc+=" - QT GUI"
+	pkg_install() {
+		vmove usr/bin/bitcoin-qt
+		vmove usr/share/man/man1/bitcoin-qt.1
+		vinstall ${XBPS_SRCDISTDIR}/${sourcepkg}-${version}/bitcoin-qt.desktop 644 usr/share/applications
+		vinstall ${XBPS_SRCDISTDIR}/${sourcepkg}-${version}/bitcoin128.png 644 usr/share/pixmaps
+		vlicense COPYING
+		rm "${DESTDIR}"/usr/bin/test_bitcoin-qt
+	}
+}
diff --git a/srcpkgs/bitcoin/update b/srcpkgs/bitcoin/update
new file mode 100644
index 000000000000..b28ea45c0898
--- /dev/null
+++ b/srcpkgs/bitcoin/update
@@ -0,0 +1,2 @@
+site="https://bitcoin.org/bin/"
+pattern='bitcoin-core-\K[\d.]+'
diff --git a/srcpkgs/cointop/template b/srcpkgs/cointop/template
new file mode 100644
index 000000000000..343f2ad20a49
--- /dev/null
+++ b/srcpkgs/cointop/template
@@ -0,0 +1,12 @@
+# Template file for 'cointop'
+pkgname=cointop
+version=1.6.10
+revision=1
+build_style=go
+go_import_path="github.com/cointop-sh/cointop"
+short_desc="Terminal based application for tracking cryptocurrencies"
+maintainer="Orphaned <orphan@voidlinux.org>"
+license="Apache-2.0"
+homepage="https://github.com/cointop-sh/cointop"
+distfiles="https://github.com/cointop-sh/cointop/archive/v${version}.tar.gz"
+checksum=18da0d25288deec7156ddd1d6923960968ab4adcdc917f85726b97d555d9b1b7
diff --git a/srcpkgs/cpuminer/template b/srcpkgs/cpuminer/template
new file mode 100644
index 000000000000..8afb7a5c4877
--- /dev/null
+++ b/srcpkgs/cpuminer/template
@@ -0,0 +1,13 @@
+# Template file for 'cpuminer'
+pkgname=cpuminer
+version=2.5.1
+revision=1
+build_style=gnu-configure
+hostmakedepends="pkg-config yasm"
+makedepends="libcurl-devel ncurses-devel jansson-devel"
+short_desc="Multi-threaded CPU miner for Litecoin and Bitcoin"
+maintainer="Orphaned <orphan@voidlinux.org>"
+license="GPL-2.0-or-later"
+homepage="https://github.com/pooler/cpuminer"
+distfiles="${SOURCEFORGE_SITE}/${pkgname}/pooler-${pkgname}-${version}.tar.gz"
+checksum=337f04fdb32f34b85819d09d59f6d3cf62991ac2e656735c43661dd3d4c57631
diff --git a/srcpkgs/electrum-ltc/patches/no-certifi.patch b/srcpkgs/electrum-ltc/patches/no-certifi.patch
new file mode 100644
index 000000000000..9d68378996ba
--- /dev/null
+++ b/srcpkgs/electrum-ltc/patches/no-certifi.patch
@@ -0,0 +1,97 @@
+diff --git a/electrum_ltc/interface.py b/electrum_ltc/interface.py
+index b5eac439c..14bbd7ab9 100644
+--- a/electrum_ltc/interface.py
++++ b/electrum_ltc/interface.py
+@@ -40,7 +40,6 @@ from aiorpcx import RPCSession, Notification, NetAddress
+ from aiorpcx.curio import timeout_after, TaskTimeout
+ from aiorpcx.jsonrpc import JSONRPC, CodeMessageError
+ from aiorpcx.rawsocket import RSClient
+-import certifi
+ 
+ from .util import ignore_exceptions, log_exceptions, bfh, SilentTaskGroup
+ from . import util
+@@ -57,7 +56,7 @@ if TYPE_CHECKING:
+     from .network import Network
+ 
+ 
+-ca_path = certifi.where()
++ca_path = '/etc/ssl/certs/ca-certificates.crt'
+ 
+ BUCKET_NAME_OF_ONION_SERVERS = 'onion'
+ 
+diff --git a/electrum_ltc/paymentrequest.py b/electrum_ltc/paymentrequest.py
+index 149065bf3..9580c8d48 100644
+--- a/electrum_ltc/paymentrequest.py
++++ b/electrum_ltc/paymentrequest.py
+@@ -29,7 +29,6 @@ import traceback
+ import json
+ from typing import Optional
+ 
+-import certifi
+ import urllib.parse
+ import aiohttp
+ 
+@@ -54,7 +53,7 @@ _logger = get_logger(__name__)
+ REQUEST_HEADERS = {'Accept': 'application/litecoin-paymentrequest', 'User-Agent': 'Electrum'}
+ ACK_HEADERS = {'Content-Type':'application/litecoin-payment','Accept':'application/litecoin-paymentack','User-Agent':'Electrum'}
+ 
+-ca_path = certifi.where()
++ca_path = '/etc/ssl/certs/ca-certificates.crt'
+ ca_list = None
+ ca_keyID = None
+ 
+diff --git a/electrum_ltc/util.py b/electrum_ltc/util.py
+index bc69800dc..9c32a195a 100644
+--- a/electrum_ltc/util.py
++++ b/electrum_ltc/util.py
+@@ -44,7 +44,6 @@ import ssl
+ import aiohttp
+ from aiohttp_socks import SocksConnector, SocksVer
+ from aiorpcx import TaskGroup
+-import certifi
+ 
+ from .i18n import _
+ from .logging import get_logger, Logger
+@@ -62,7 +61,7 @@ def inv_dict(d):
+     return {v: k for k, v in d.items()}
+ 
+ 
+-ca_path = certifi.where()
++ca_path = '/etc/ssl/certs/ca-certificates.crt'
+ 
+ 
+ base_units = {'LTC':8, 'mLTC':5, 'uLTC':2, 'sat':0}
+diff --git a/electrum_ltc/x509.py b/electrum_ltc/x509.py
+index c38edc77a..e745e4878 100644
+--- a/electrum_ltc/x509.py
++++ b/electrum_ltc/x509.py
+@@ -343,7 +343,6 @@ def load_certificates(ca_path):
+ 
+ 
+ if __name__ == "__main__":
+-    import certifi
+ 
+-    ca_path = certifi.where()
++    ca_path = '/etc/ssl/certs/ca-certificates.crt'
+     ca_list, ca_keyID = load_certificates(ca_path)
+diff --git a/run_electrum b/run_electrum
+index 978e5fb2f..e8fc3888c 100755
+--- a/run_electrum
++++ b/run_electrum
+@@ -58,7 +58,6 @@ def check_imports():
+         import dns
+         import pyaes
+         import ecdsa
+-        import certifi
+         import qrcode
+         import google.protobuf
+         import jsonrpclib
+@@ -72,7 +71,7 @@ def check_imports():
+     from google.protobuf import descriptor_pb2
+     from jsonrpclib import SimpleJSONRPCServer
+     # make sure that certificates are here
+-    assert os.path.exists(certifi.where())
++    assert os.path.exists('/etc/ssl/certs/ca-certificates.crt')
+ 
+ 
+ if not is_android:
diff --git a/srcpkgs/electrum-ltc/template b/srcpkgs/electrum-ltc/template
new file mode 100644
index 000000000000..f476e2de0ed6
--- /dev/null
+++ b/srcpkgs/electrum-ltc/template
@@ -0,0 +1,19 @@
+# Template file for 'electrum-ltc'
+pkgname=electrum-ltc
+version=3.3.8.1
+revision=4
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-PyQt5-devel-tools"
+depends="python3-aiohttp python3-aiohttp_socks python3-aiorpcx
+ python3-dnspython python3-ecdsa python3-jsonrpclib python3-protobuf
+ python3-pyaes python3-pycryptodome python3-PyQt5 python3-qrcode"
+short_desc="Lightweight Litecoin port of the Electrum Bitcoin wallet"
+maintainer="Young Jin Park <youngjinpark20@gmail.com>"
+license="MIT"
+homepage="https://electrum-ltc.org/"
+distfiles="https://github.com/pooler/electrum-ltc/archive/${version}.tar.gz"
+checksum="6f4049abacfdb125b968e841ec9bc01e386e475f3fac8534103ffea1257b0f0f"
+
+post_install() {
+	vlicense LICENCE
+}
diff --git a/srcpkgs/electrum/files/README.voidlinux b/srcpkgs/electrum/files/README.voidlinux
new file mode 100644
index 000000000000..9ba377487dac
--- /dev/null
+++ b/srcpkgs/electrum/files/README.voidlinux
@@ -0,0 +1,3 @@
+Some optional packages must be installed for additional functionality:
+
+- python3-matplotlib: plot transaction history in graphical mode
diff --git a/srcpkgs/electrum/template b/srcpkgs/electrum/template
new file mode 100644
index 000000000000..dcabed755423
--- /dev/null
+++ b/srcpkgs/electrum/template
@@ -0,0 +1,31 @@
+# Template file for 'electrum'
+pkgname=electrum
+version=4.2.0
+revision=3
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-PyQt5-devel-tools"
+depends="python3-aiohttp python3-aiohttp_socks python3-aiorpcx
+ python3-bitstring python3-dnspython python3-ecdsa python3-jsonrpclib
+ python3-protobuf python3-pyaes python3-pycryptodomex python3-PyQt5
+ python3-qrcode python3-socks python3-cryptography libbitcoin-secp256k1
+ python3-certifi"
+# Optional dependencies:
+#  btchip - BTChip hardware wallet support
+#  trezor - TREZOR hardware wallet support
+#  keepkey - KeepKey hardware wallet support
+#  qdarkstyle - Dark theme
+checkdepends="$depends python3-pytest"
+short_desc="Lightweight Bitcoin wallet"
+maintainer="Charles E. Lehner <cel@celehner.com>"
+license="MIT"
+homepage="https://electrum.org/"
+distfiles="https://github.com/spesmilo/electrum/archive/${version}.tar.gz"
+checksum=3a24c7ed7a2bb47888f308380b8624a3fff3cf3882fd63d904cd9c3ec543fb3b
+
+post_install() {
+	vsed -i -e 's|electrum %u|electrum|' \
+		-e 's|testnet %u|testnet|' \
+		${DESTDIR}/usr/share/applications/electrum.desktop
+	vlicense LICENCE
+	vdoc "${FILESDIR}/README.voidlinux"
+}
diff --git a/srcpkgs/electrum/update b/srcpkgs/electrum/update
new file mode 100644
index 000000000000..4b1b69c33225
--- /dev/null
+++ b/srcpkgs/electrum/update
@@ -0,0 +1,3 @@
+site="https://download.electrum.org"
+pattern='<a href="\K[\d.]+(?=/">)'
+
diff --git a/srcpkgs/geth b/srcpkgs/geth
new file mode 120000
index 000000000000..643fd89ff2c6
--- /dev/null
+++ b/srcpkgs/geth
@@ -0,0 +1 @@
+go-ethereum
\ No newline at end of file
diff --git a/srcpkgs/go-ethereum/template b/srcpkgs/go-ethereum/template
new file mode 100644
index 000000000000..1377f4c3ac3f
--- /dev/null
+++ b/srcpkgs/go-ethereum/template
@@ -0,0 +1,27 @@
+# Template file for 'go-ethereum'
+pkgname=go-ethereum
+version=1.10.1
+revision=2
+build_style=go
+go_import_path=github.com/ethereum/go-ethereum
+go_package="${go_import_path}/cmd/abigen
+ ${go_import_path}/cmd/bootnode
+ ${go_import_path}/cmd/evm
+ ${go_import_path}/cmd/geth
+ ${go_import_path}/cmd/puppeth
+ ${go_import_path}/cmd/rlpdump
+ ${go_import_path}/cmd/clef"
+depends="geth"
+short_desc="Full suite of Go Ethereum utilities"
+maintainer="Hoang Nguyen <hoang@wetrust.io>"
+license="GPL-3.0-only"
+homepage="https://github.com/ethereum/go-ethereum"
+distfiles="https://${go_import_path}/archive/v${version}.tar.gz"
+checksum=485ff7b9e5a34457ab424d7e2cb8d377dc571e8daf666e065a0a327b9e413cab
+
+geth_package() {
+	short_desc="Official Go implementation of the Ethereum protocol"
+	pkg_install() {
+		vmove usr/bin/geth
+	}
+}
diff --git a/srcpkgs/libbitcoin-secp256k1-devel b/srcpkgs/libbitcoin-secp256k1-devel
new file mode 120000
index 000000000000..527eb8d59d7e
--- /dev/null
+++ b/srcpkgs/libbitcoin-secp256k1-devel
@@ -0,0 +1 @@
+libbitcoin-secp256k1
\ No newline at end of file
diff --git a/srcpkgs/libbitcoin-secp256k1/template b/srcpkgs/libbitcoin-secp256k1/template
new file mode 100644
index 000000000000..42f5ad1ded0e
--- /dev/null
+++ b/srcpkgs/libbitcoin-secp256k1/template
@@ -0,0 +1,35 @@
+# Template file for 'libbitcoin-secp256k1'
+pkgname=libbitcoin-secp256k1
+version=0.1.0.13
+revision=1
+build_style=gnu-configure
+configure_args="--disable-benchmark --disable-coverage --disable-jni
+ --disable-openssl-tests --enable-exhaustive-tests --enable-module-recovery
+ --enable-tests --with-gnu-ld"
+hostmakedepends="autoconf automake libtool m4 pkg-config"
+short_desc="Optimized C library for EC operations on curve secp256k1"
+maintainer="Andy Weidenbaum <atweiden@tutanota.de>"
+license="MIT"
+homepage="https://github.com/libbitcoin/secp256k1"
+distfiles="https://github.com/libbitcoin/secp256k1/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz"
+checksum=9e48dbc88d0fb5646d40ea12df9375c577f0e77525e49833fb744d3c2a69e727
+
+pre_configure() {
+	./autogen.sh
+}
+
+post_install() {
+	vlicense COPYING
+	vdoc README.md
+}
+
+libbitcoin-secp256k1-devel_package() {
+	short_desc+=" - development files"
+	depends="${sourcepkg}>=${version}_${revision}"
+	pkg_install() {
+		vmove usr/include
+		vmove "usr/lib/*.a"
+		vmove "usr/lib/*.so"
+		vmove usr/lib/pkgconfig
+	}
+}
diff --git a/srcpkgs/litecoin/patches/fix-include.patch b/srcpkgs/litecoin/patches/fix-include.patch
new file mode 100644
index 000000000000..b540db326b87
--- /dev/null
+++ b/srcpkgs/litecoin/patches/fix-include.patch
@@ -0,0 +1,61 @@
+Index: litecoin-0.18.1/src/bench/block_assemble.cpp
+===================================================================
+--- litecoin-0.18.1.orig/src/bench/block_assemble.cpp
++++ litecoin-0.18.1/src/bench/block_assemble.cpp
+@@ -20,7 +20,9 @@
+ 
+ #include <boost/thread.hpp>
+ 
++#include <array>
+ #include <list>
++#include <memory>
+ #include <vector>
+ 
+ static std::shared_ptr<CBlock> PrepareBlock(const CScript& coinbase_scriptPubKey)
+Index: litecoin-0.18.1/src/net_processing.cpp
+===================================================================
+--- litecoin-0.18.1.orig/src/net_processing.cpp
++++ litecoin-0.18.1/src/net_processing.cpp
+@@ -30,7 +30,9 @@
+ #include <util/moneystr.h>
+ #include <util/strencodings.h>
+ 
++#include <array>
+ #include <memory>
++#include <utility>
+ 
+ #if defined(NDEBUG)
+ # error "Litecoin cannot be compiled without assertions."
+Index: litecoin-0.18.1/src/qt/sendcoinsdialog.cpp
+===================================================================
+--- litecoin-0.18.1.orig/src/qt/sendcoinsdialog.cpp
++++ litecoin-0.18.1/src/qt/sendcoinsdialog.cpp
+@@ -32,6 +32,8 @@
+ #include <QSettings>
+ #include <QTextDocument>
+ 
++#include <array>
++
+ static const std::array<int, 9> confTargets = { {2, 4, 6, 12, 24, 48, 144, 504, 1008} };
+ int getConfTargetForIndex(int index) {
+     if (index+1 > static_cast<int>(confTargets.size())) {
+--- a/src/httpserver.cpp	2019-04-08 09:28:20.000000000 +0200
++++ b/src/httpserver.cpp	2019-04-08 09:28:20.000000000 +0200
+@@ -17,6 +17,7 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
++#include <deque>
+ 
+ #include <sys/types.h>
+ #include <sys/stat.h>
+--- a/src/qt/trafficgraphwidget.cpp	2019-04-08 09:28:20.000000000 +0200
++++ b/src/qt/trafficgraphwidget.cpp	2019-04-08 09:28:20.000000000 +0200
+@@ -6,6 +6,7 @@
+ #include <qt/trafficgraphwidget.h>
+ #include <qt/clientmodel.h>
+ 
++#include <QPainterPath>
+ #include <QPainter>
+ #include <QColor>
+ #include <QTimer>
diff --git a/srcpkgs/litecoin/template b/srcpkgs/litecoin/template
new file mode 100644
index 000000000000..a7ed18603c20
--- /dev/null
+++ b/srcpkgs/litecoin/template
@@ -0,0 +1,34 @@
+# Template file for 'litecoin'
+pkgname=litecoin
+version=0.18.1
+revision=11
+build_style=gnu-configure
+configure_args="--with-incompatible-bdb --with-gui=qt5 --disable-static
+ --disable-tests --with-openssl"
+hostmakedepends="automake libtool pkg-config yasm protobuf which"
+makedepends="libatomic-devel zlib-devel db-devel openssl-devel boost-devel
+ qt5-tools-devel miniupnpc-devel protobuf-devel libevent-devel"
+short_desc="Peer-to-peer Internet currency based on scrypt cryptography"
+maintainer="Orphaned <orphan@voidlinux.org>"
+license="MIT"
+homepage="http://www.litecoin.org/"
+distfiles="https://github.com/litecoin-project/litecoin/archive/v${version}.tar.gz"
+checksum=2d67cba11adc5890b9698ccddeb68dd3c2ff6af19bf3ed0f1c719348b914042f
+
+if [ "$CROSS_BUILD" ]; then
+	hostmakedepends+=" qt5-host-tools protobuf"
+	configure_args+=" --with-boost=${XBPS_CROSS_BASE}"
+fi
+
+pre_configure() {
+	NOCONFIGURE=1 ./autogen.sh
+}
+
+post_install() {
+	rm -rf ${DESTDIR}/usr/include
+	vsconf share/examples/litecoin.conf
+	vman doc/man/litecoind.1 litecoind.1
+	vlicense COPYING
+	vmkdir usr/share/bash-completion/completions/${pkgname}
+	vcopy contrib/*.bash-completion usr/share/bash-completion/completions/${pkgname}
+}
diff --git a/srcpkgs/monero-devel b/srcpkgs/monero-devel
new file mode 120000
index 000000000000..772084db0203
--- /dev/null
+++ b/srcpkgs/monero-devel
@@ -0,0 +1 @@
+monero
\ No newline at end of file
diff --git a/srcpkgs/monero-gui/INSTALL.msg b/srcpkgs/monero-gui/INSTALL.msg
new file mode 100644
index 000000000000..06ac937bb78f
--- /dev/null
+++ b/srcpkgs/monero-gui/INSTALL.msg
@@ -0,0 +1,4 @@
+For monero-gui to connect to the network, it needs access to a monero node.
+You may either enter a remote node in the application itself or provide
+a locally running node for it to work with. The necessary daemon software
+to run a local node is available in the 'monero' package.
diff --git a/srcpkgs/monero-gui/files b/srcpkgs/monero-gui/files
new file mode 120000
index 000000000000..0dc85055cb8b
--- /dev/null
+++ b/srcpkgs/monero-gui/files
@@ -0,0 +1 @@
+../monero/patches
\ No newline at end of file
diff --git a/srcpkgs/monero-gui/template b/srcpkgs/monero-gui/template
new file mode 100644
index 000000000000..0f4e06d5c55f
--- /dev/null
+++ b/srcpkgs/monero-gui/template
@@ -0,0 +1,106 @@
+# Template file for 'monero-gui'
+pkgname=monero-gui
+version=0.18.1.2
+revision=4
+_monero_version=0.18.1.2
+# the revision monero uses as a submodule for the specific version
+_randomx_gitrev="261d58c77fc5547c0aa7fdfeb58421ba7e0e6e1c"
+_rapidjson_gitrev="129d19ba7f496df5e33658527a7158c79b99c21c"
+_supercop_gitrev="633500ad8c8759995049ccd022107d1fa8a1bbc9"
+_quirc_gitrev="7e7ab596e4d0988faf1c12ae89c354b114181c40"
+build_style=cmake
+configure_args="-DVERSION_IS_RELEASE=true -DQt5_LRELEASE_EXECUTABLE=/usr/bin/lrelease"
+hostmakedepends="pkg-config qt5-tools qt5-qmake qt5-quickcontrols qt5-declarative-devel
+ qt5-svg-devel qtchooser"
+makedepends="boost-devel libunwind-devel miniupnpc-devel
+qt5-declarative-devel readline-devel unbound-devel libsodium-devel hidapi-devel
+ qt5-svg-devel libgcrypt-devel zeromq-devel"
+depends="qt5-graphicaleffects qt5-quickcontrols qt5-quickcontrols2 qt5-xmlpatterns"
+short_desc="GUI for the core Monero implementation"
+maintainer="Orphaned <orphan@voidlinux.org>"
+license="BSD-3-Clause"
+homepage="https://getmonero.org"
+distfiles="https://github.com/monero-project/monero-gui/archive/v${version}.tar.gz
+ https://github.com/monero-project/monero/archive/v${_monero_version}.tar.gz>monero-${_monero_version}.tar.gz
+ https://github.com/tevador/RandomX/archive/${_randomx_gitrev}.tar.gz>RandomX-${_randomx_gitrev}.tar.gz
+ https://github.com/Tencent/rapidjson/archive/${_rapidjson_gitrev}.tar.gz>rapidjson-${_rapidjson_gitrev}.tar.gz
+ https://github.com/monero-project/supercop/archive/${_supercop_gitrev}.tar.gz>supercop-${_supercop_gitrev}.tar.gz
+ https://github.com/dlbeer/quirc/archive/${_quirc_gitrev}.tar.gz>quirc-${_quirc_gitrev}.tar.gz"
+checksum="b5494830e917231aa7515992c69bcbb495f532fefde42530b265f9fd590e1702
+ f7fec9c7456e22b70cb86a34dd9192c948161155fdbdfb8505f8ea95c357a38e
+ 4aeadafe16810320fd492491e39d03fb6028a2db35916aba0fef96c716aba46f
+ 44b007d419ac21b6affec58991e865ee572346ead19b73cf1c3e4e11c7a81273
+ b973b9d8269ec4d97c3c3443f0dad96d09f72b1b30e616e0947557adbdbb03f7
+ c8366aecb6ba48ec50a7e579a4fa18eb55c3c4be7d3efb2a83726157977f4ca6"
+skip_extraction="monero-${version}.tar.gz rapidjson-${_rapidjson_gitrev}.tar.gz supercop-${_supercop_gitrev}.tar.gz RandomX-${_randomx_gitrev}.tar.gz quirc-${_quirc_gitrev}.tar.gz"
+
+if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
+	makedepends+=" libatomic-devel"
+	CFLAGS+=" -latomic"
+fi
+
+case "$XBPS_TARGET_MACHINE" in
+	*-musl) configure_args+=" -DSTACK_TRACE=OFF"
+esac
+
+case "$XBPS_TARGET_MACHINE" in
+	armv7*) configure_args+=" -DARCH=armv7" ;;
+	armv6*) configure_args+=" -DARCH=armv6" ;;
+	armv5*) configure_args+=" -DARCH=armv5" ;;
+	aarch64*) configure_args+=" -DARCH=aarch64" ;;
+	mips*) configure_args+=" -DARCH=mipsr32 -DNO_AES=ON" ;;
+	ppc64le*) configure_args+=" -DARCH=ppc64le" ;;
+	ppc64*) configure_args+=" -DARCH=ppc64" ;;
+	ppc*) configure_args+=" -DARCH=ppc"     ;;
+	*) configure_args+=" -DARCH=default" ;;
+esac
+
+post_extract() {
+	bsdtar xzf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/monero-${_monero_version}.tar.gz --strip-components 1 -C monero
+	bsdtar xzf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/rapidjson-${_rapidjson_gitrev}.tar.gz --strip-components 1 -C monero/external/rapidjson
+	bsdtar xzf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/supercop-${_supercop_gitrev}.tar.gz --strip-components 1 -C monero/external/supercop
+	bsdtar xzf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/RandomX-${_randomx_gitrev}.tar.gz --strip-components 1 -C monero/external/randomx
+	bsdtar xzf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/quirc-${_quirc_gitrev}.tar.gz --strip-components 1 -C external/quirc
+}
+
+post_patch() {
+	cd monero
+	for f in "${FILESDIR}"/*.patch; do
+		echo "Applying $f"
+		patch -Np1 -i "$f"
+	done
+}
+
+pre_configure() {
+	echo "var GUI_VERSION = \"${version}\"" > version.js
+	echo "var GUI_MONERO_VERSION = \"${version}\"" >> version.js
+	if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
+		vsed -i monero/CMakeLists.txt -e \
+			'/if(ANDROID)/i list(APPEND EXTRA_LIBRARIES libatomic.a)'
+	fi
+}
+
+pre_build() {
+	cd src/zxcvbn-c
+	cmake .
+	cd ../..
+	if [ "$CROSS_BUILD" ]; then
+		# The dictgen binary is executed during the build to generate code
+		# but is not included in the binary package. It thus needs to be
+		# built for the host
+		CXX=${CXX_host} CXXFLAGS="${XBPS_CXXFLAGS}" LDFLAGS="${XBPS_LDFLAGS}" \
+			make ${makejobs} -C src/zxcvbn-c
+		# The generate_translations_header binary is executed during the build
+		# but is not included in the binary package. It thus needs to be
+		# built for the host
+		CC=${CC_host} CFLAGS="${XBPS_CFLAGS}" LDFLAGS="${XBPS_LDFLAGS}" \
+			ninja -C build ${makejobs} generate_translations_header
+
+	fi
+	make ${makejobs} -C src/zxcvbn-c
+}
+
+do_install() {
+	vbin build/bin/monero-wallet-gui
+	vlicense LICENSE
+}
diff --git a/srcpkgs/monero-gui/update b/srcpkgs/monero-gui/update
new file mode 100644
index 000000000000..5254358a1411
--- /dev/null
+++ b/srcpkgs/monero-gui/update
@@ -0,0 +1,2 @@
+site="https://github.com/monero-project/monero-gui/tags"
+pattern='/archive/refs/tags/(v?|\Qmonero-gui\E-)?\K[\d\.]+(?=\.tar\.gz")'
diff --git a/srcpkgs/monero/files/monerod/run b/srcpkgs/monero/files/monerod/run
new file mode 100644
index 000000000000..f485e63659fa
--- /dev/null
+++ b/srcpkgs/monero/files/monerod/run
@@ -0,0 +1,3 @@
+#!/bin/sh
+exec 2>&1
+exec chpst -u monero:monero /usr/bin/monerod --non-interactive --config-file /etc/monerod.conf
diff --git a/srcpkgs/monero/patches/easylogging.patch b/srcpkgs/monero/patches/easylogging.patch
new file mode 100644
index 000000000000..5e611672aa71
--- /dev/null
+++ b/srcpkgs/monero/patches/easylogging.patch
@@ -0,0 +1,11 @@
+--- a/external/easylogging++/easylogging++.h	2020-05-23 09:03:47.678880438 +0200
++++ b/external/easylogging++/easylogging++.h	2020-05-23 09:04:31.757371549 +0200
+@@ -221,7 +221,7 @@
+ #  define ELPP_INTERNAL_INFO(lvl, msg)
+ #endif  // (defined(ELPP_DEBUG_INFO))
+ #if (defined(ELPP_FEATURE_ALL)) || (defined(ELPP_FEATURE_CRASH_LOG))
+-#  if (ELPP_COMPILER_GCC && !ELPP_MINGW && !ELPP_OS_OPENBSD && !ELPP_OS_NETBSD && !ELPP_OS_ANDROID && !ELPP_OS_EMSCRIPTEN)
++#  if ( __has_include(<execinfo.h>) && ELPP_COMPILER_GCC && !ELPP_MINGW && !ELPP_OS_OPENBSD && !ELPP_OS_NETBSD && !ELPP_OS_ANDROID && !ELPP_OS_EMSCRIPTEN)
+ #    define ELPP_STACKTRACE 1
+ #  else
+ #    define ELPP_STACKTRACE 0
diff --git a/srcpkgs/monero/patches/fix-include.patch b/srcpkgs/monero/patches/fix-include.patch
new file mode 100644
index 000000000000..f5ba9fa25d08
--- /dev/null
+++ b/srcpkgs/monero/patches/fix-include.patch
@@ -0,0 +1,29 @@
+Index: monero-0.18.1.2/src/common/dns_utils.cpp
+===================================================================
+--- monero-0.18.1.2.orig/src/common/dns_utils.cpp
++++ monero-0.18.1.2/src/common/dns_utils.cpp
+@@ -38,6 +38,12 @@
+ #include <boost/algorithm/string/join.hpp>
+ #include <boost/optional.hpp>
+ #include <boost/utility/string_ref.hpp>
++
++#include <deque>
++#include <map>
++#include <set>
++#include <string>
++
+ using namespace epee;
+ 
+ #undef MONERO_DEFAULT_LOG_CATEGORY
+Index: monero-0.18.1.2/src/common/threadpool.h
+===================================================================
+--- monero-0.18.1.2.orig/src/common/threadpool.h
++++ monero-0.18.1.2/src/common/threadpool.h
+@@ -31,6 +31,7 @@
+ #include <boost/thread/mutex.hpp>
+ #include <boost/thread/thread.hpp>
+ #include <cstddef>
++#include <deque>
+ #include <functional>
+ #include <utility>
+ #include <vector>
diff --git a/srcpkgs/monero/patches/march_cross.patch b/srcpkgs/monero/patches/march_cross.patch
new file mode 100644
index 000000000000..20c3ae90c477
--- /dev/null
+++ b/srcpkgs/monero/patches/march_cross.patch
@@ -0,0 +1,13 @@
+diff --git CMakeLists.txt CMakeLists.txt
+index 953707657..394e8cb32 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -581,7 +581,7 @@ else()
+     set_default_arch()
+   endif()
+   message(STATUS "Building on ${CMAKE_SYSTEM_PROCESSOR} for ${ARCH}")
+-  if(ARCH STREQUAL "default")
++  if(ARCH STREQUAL "default" OR CMAKE_CROSSCOMPILING)
+     set(ARCH_FLAG "")
+   elseif(PPC64LE)
+     set(ARCH_FLAG "-mcpu=power8")
diff --git a/srcpkgs/monero/patches/system-miniupnpc.patch b/srcpkgs/monero/patches/system-miniupnpc.patch
new file mode 100644
index 000000000000..6da9a92d491e
--- /dev/null
+++ b/srcpkgs/monero/patches/system-miniupnpc.patch
@@ -0,0 +1,106 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index b05c087cf..4f1a20101 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -676,6 +676,14 @@ ExternalProject_Add(generate_translations_header
+ include_directories("${CMAKE_CURRENT_BINARY_DIR}/translations")
+ add_subdirectory(external)
+ 
++# Final setup for miniupnpc
++if(UPNP_STATIC OR IOS)
++  add_definitions("-DUPNP_STATIC")
++else()
++  add_definitions("-DUPNP_DYNAMIC")
++  include_directories(${UPNP_INCLUDE})
++endif()
++
+ # Final setup for libunbound
+ include_directories(${UNBOUND_INCLUDE_DIR})
+ 
+diff --git a/external/CMakeLists.txt b/external/CMakeLists.txt
+index 5b7f69a56..00ef3f43d 100644
+--- a/external/CMakeLists.txt
++++ b/external/CMakeLists.txt
+@@ -34,24 +34,47 @@
+ # We always compile if we are building statically to reduce static dependency issues...
+ # ...except for FreeBSD, because FreeBSD is a special case that doesn't play well with
+ # others.
++if(NOT IOS)
++    find_package(Miniupnpc QUIET)
++endif()
+ 
+-find_package(Miniupnpc REQUIRED)
+-
+-message(STATUS "Using in-tree miniupnpc")
+ set(UPNPC_NO_INSTALL TRUE CACHE BOOL "Disable miniupnp installation" FORCE)
+-add_subdirectory(miniupnp/miniupnpc)
+-set_property(TARGET libminiupnpc-static PROPERTY FOLDER "external")
+-set_property(TARGET libminiupnpc-static PROPERTY POSITION_INDEPENDENT_CODE ON)
+-if(MSVC)
+-  set_property(TARGET libminiupnpc-static APPEND_STRING PROPERTY COMPILE_FLAGS " -wd4244 -wd4267")
+-elseif(NOT MSVC)
+-  set_property(TARGET libminiupnpc-static APPEND_STRING PROPERTY COMPILE_FLAGS " -Wno-undef -Wno-unused-result -Wno-unused-value")
++# If we have the correct shared version and we're not building static, use it
++if(STATIC OR IOS)
++ set(USE_SHARED_MINIUPNPC false)
++elseif(MINIUPNP_FOUND AND MINIUPNPC_VERSION_1_7_OR_HIGHER)
++ set(USE_SHARED_MINIUPNPC true)
+ endif()
++
++
++if(USE_SHARED_MINIUPNPC)
++  message(STATUS "Using shared miniupnpc found at ${MINIUPNP_INCLUDE_DIR}")
++
++  set(UPNP_STATIC false PARENT_SCOPE)
++  set(UPNP_INCLUDE ${MINIUPNP_INCLUDE_DIR} PARENT_SCOPE)
++  set(UPNP_LIBRARIES ${MINIUPNP_LIBRARY} PARENT_SCOPE)
++else()
++  if(STATIC)
++    message(STATUS "Using miniupnpc from local source tree for static build")
++  else()
++    message(STATUS "Using miniupnpc from local source tree (/external/miniupnp/miniupnpc)")
++  endif()
++  add_subdirectory(miniupnp/miniupnpc)
++
++  set_property(TARGET libminiupnpc-static PROPERTY FOLDER "external")
++  if(MSVC)
++    set_property(TARGET libminiupnpc-static APPEND_STRING PROPERTY COMPILE_FLAGS " -wd4244 -wd4267")
++  elseif(NOT MSVC)
++    set_property(TARGET libminiupnpc-static APPEND_STRING PROPERTY COMPILE_FLAGS " -Wno-undef -Wno-unused-result -Wno-unused-value")
++  endif()
++
+ if(CMAKE_SYSTEM_NAME MATCHES "NetBSD")
+ 	set_property(TARGET libminiupnpc-static APPEND_STRING PROPERTY COMPILE_FLAGS " -D_NETBSD_SOURCE")
+ endif()
+ 
+-set(UPNP_LIBRARIES "libminiupnpc-static" PARENT_SCOPE)
++  set(UPNP_STATIC true PARENT_SCOPE)
++  set(UPNP_LIBRARIES "libminiupnpc-static" PARENT_SCOPE)
++endif()
+ 
+ find_package(Unbound)
+ 
+diff --git a/src/p2p/net_node.inl b/src/p2p/net_node.inl
+index f33ce977d..87d23a1e1 100644
+--- a/src/p2p/net_node.inl
++++ b/src/p2p/net_node.inl
+@@ -60,9 +60,16 @@
+ #include "cryptonote_core/cryptonote_core.h"
+ #include "net/parse.h"
+ 
+-#include <miniupnp/miniupnpc/miniupnpc.h>
+-#include <miniupnp/miniupnpc/upnpcommands.h>
+-#include <miniupnp/miniupnpc/upnperrors.h>
++// We have to look for miniupnpc headers in different places, dependent on if its compiled or external
++#ifdef UPNP_STATIC
++  #include <miniupnp/miniupnpc/miniupnpc.h>
++  #include <miniupnp/miniupnpc/upnpcommands.h>
++  #include <miniupnp/miniupnpc/upnperrors.h>
++#else
++  #include "miniupnpc.h"
++  #include "upnpcommands.h"
++  #include "upnperrors.h"
++#endif
+ 
+ #undef MONERO_DEFAULT_LOG_CATEGORY
+ #define MONERO_DEFAULT_LOG_CATEGORY "net.p2p"
diff --git a/srcpkgs/monero/template b/srcpkgs/monero/template
new file mode 100644
index 000000000000..93a3c82fe4d6
--- /dev/null
+++ b/srcpkgs/monero/template
@@ -0,0 +1,94 @@
+# Template file for 'monero'
+pkgname=monero
+version=0.18.1.2
+revision=4
+# the revision monero uses as a submodule for the specific version
+_randomx_gitrev="261d58c77fc5547c0aa7fdfeb58421ba7e0e6e1c"
+_rapidjson_gitrev="129d19ba7f496df5e33658527a7158c79b99c21c"
+_supercop_gitrev="633500ad8c8759995049ccd022107d1fa8a1bbc9"
+build_style=cmake
+conf_files="/etc/monerod.conf"
+make_dirs="
+ /var/lib/monero 0750 monero monero
+ /var/log/monero 0755 monero monero"
+hostmakedepends="pkg-config"
+makedepends="openssl-devel boost-devel libldns-devel libunwind-devel
+ readline-devel unbound-devel miniupnpc-devel expat-devel
+ cppzmq czmq-devel libsodium-devel"
+short_desc="Private, secure, untraceable, decentralised digital currency"
+maintainer="Kevin Crumb <kevcrumb@splitlinux.org>"
+license="BSD-3-Clause"
+homepage="https://getmonero.org"
+distfiles="https://github.com/monero-project/monero/archive/v${version}.tar.gz
+ https://github.com/tevador/RandomX/archive/${_randomx_gitrev}.tar.gz>RandomX-${_randomx_gitrev}.tar.gz
+ https://github.com/Tencent/rapidjson/archive/${_rapidjson_gitrev}.tar.gz>rapidjson-${_rapidjson_gitrev}.tar.gz
+ https://github.com/monero-project/supercop/archive/${_supercop_gitrev}.tar.gz>supercop-${_supercop_gitrev}.tar.gz"
+checksum="f7fec9c7456e22b70cb86a34dd9192c948161155fdbdfb8505f8ea95c357a38e
+ 4aeadafe16810320fd492491e39d03fb6028a2db35916aba0fef96c716aba46f
+ 44b007d419ac21b6affec58991e865ee572346ead19b73cf1c3e4e11c7a81273
+ b973b9d8269ec4d97c3c3443f0dad96d09f72b1b30e616e0947557adbdbb03f7"
+skip_extraction="RandomX-${_randomx_gitrev}.tar.gz rapidjson-${_rapidjson_gitrev}.tar.gz supercop-${_supercop_gitrev}.tar.gz"
+system_accounts="monero"
+
+case "$XBPS_TARGET_MACHINE" in
+	armv7*) configure_args+=" -DARCH=armv7" ;;
+	armv6*) configure_args+=" -DARCH=armv6" ;;
+	armv5*) configure_args+=" -DARCH=armv5" ;;
+	aarch64*) configure_args+=" -DARCH=aarch64" ;;
+	mips*) configure_args+=" -DARCH=mipsr32 -DNO_AES=ON" ;;
+	ppc64le*) configure_args+=" -DARCH=ppc64le" ;;
+	ppc64*) configure_args+=" -DARCH=ppc64" ;;
+	ppc*) configure_args+=" -DARCH=ppc"	;;
+	*) configure_args+=" -DARCH=default" ;;
+esac
+
+if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
+	makedepends+=" libatomic-devel"
+	CFLAGS+=" -latomic"
+fi
+
+case "$XBPS_TARGET_MACHINE" in
+	*-musl) configure_args+=" -DSTACK_TRACE=OFF"
+esac
+
+post_extract() {
+	bsdtar xzf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/RandomX-${_randomx_gitrev}.tar.gz \
+		--strip-components=1 -C ${wrksrc}/external/randomx
+	bsdtar xzf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/rapidjson-${_rapidjson_gitrev}.tar.gz \
+		--strip-components=1 -C ${wrksrc}/external/rapidjson
+	bsdtar xzf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/supercop-${_supercop_gitrev}.tar.gz \
+		--strip-components=1 -C ${wrksrc}/external/supercop
+}
+
+pre_configure() {
+	if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
+		sed -i CMakeLists.txt -e \
+			'/include(version.cmake)/i list(APPEND EXTRA_LIBRARIES libatomic.a)'
+	fi
+}
+
+pre_build() {
+	if [ "$CROSS_BUILD" ]; then
+		# The generate_translations_header binary is executed during the build
+		# but is not included in the binary package. It thus needs to be
+		# built for the host
+		CC=${CC_host} CFLAGS="${XBPS_CFLAGS}" LDFLAGS="${XBPS_LDFLAGS}" \
+			ninja -C build ${makejobs} generate_translations_header
+	fi
+}
+
+post_install() {
+	vlicense LICENSE
+	vbin build/bin/monero-blockchain-import
+	vbin build/bin/monero-blockchain-export
+	vinstall utils/conf/monerod.conf 644 etc
+	vsv monerod
+}
+
+monero-devel_package() {
+	short_desc+=" - development files"
+	pkg_install() {
+		vlicense LICENSE
+		vmove usr/include
+	}
+}
diff --git a/srcpkgs/monero/update b/srcpkgs/monero/update
new file mode 100644
index 000000000000..2f68aaf68b71
--- /dev/null
+++ b/srcpkgs/monero/update
@@ -0,0 +1,2 @@
+site="https://github.com/monero-project/monero/tags"
+pattern='/archive/refs/tags/(v?|\Qmonero\E-)?\K[\d\.]+(?=\.tar\.gz")'
diff --git a/srcpkgs/namecoin/patches/boost-1.80.patch b/srcpkgs/namecoin/patches/boost-1.80.patch
new file mode 100644
index 000000000000..5a250af68487
--- /dev/null
+++ b/srcpkgs/namecoin/patches/boost-1.80.patch
@@ -0,0 +1,57 @@
+--- a/src/names/main.cpp
++++ b/src/names/main.cpp
+@@ -365,12 +365,14 @@ ConflictTrackerNotifyEntryRemoved (CName
+ CNameConflictTracker::CNameConflictTracker (CTxMemPool &p)
+   : txNameConflicts(std::make_shared<std::vector<CTransactionRef>>()), pool(p)
+ {
++  using namespace boost::placeholders;
+   pool.NotifyEntryRemoved.connect (
+     boost::bind (&ConflictTrackerNotifyEntryRemoved, this, _1, _2));
+ }
+ 
+ CNameConflictTracker::~CNameConflictTracker ()
+ {
++  using namespace boost::placeholders;
+   pool.NotifyEntryRemoved.disconnect (
+     boost::bind (&ConflictTrackerNotifyEntryRemoved, this, _1, _2));
+ }
+--- a/src/wallet/test/init_test_fixture.cpp
++++ b/src/wallet/test/init_test_fixture.cpp
+@@ -29,7 +29,7 @@ InitWalletDirTestingSetup::InitWalletDir
+     fs::create_directories(m_walletdir_path_cases["default"]);
+     fs::create_directories(m_walletdir_path_cases["custom"]);
+     fs::create_directories(m_walletdir_path_cases["relative"]);
+-    std::ofstream f(m_walletdir_path_cases["file"].BOOST_FILESYSTEM_C_STR);
++    std::ofstream f(BOOST_FILESYSTEM_C_STR(m_walletdir_path_cases["file"]));
+     f.close();
+ }
+ 
+@@ -41,4 +41,4 @@ InitWalletDirTestingSetup::~InitWalletDi
+ void InitWalletDirTestingSetup::SetWalletDir(const fs::path& walletdir_path)
+ {
+     gArgs.ForceSetArg("-walletdir", walletdir_path.string());
+-}
+\ No newline at end of file
++}
+--- a/src/wallet/test/db_tests.cpp
++++ b/src/wallet/test/db_tests.cpp
+@@ -18,7 +18,7 @@ BOOST_AUTO_TEST_CASE(getwalletenv_file)
+     std::string test_name = "test_name.dat";
+     fs::path datadir = SetDataDir("tempdir");
+     fs::path file_path = datadir / test_name;
+-    std::ofstream f(file_path.BOOST_FILESYSTEM_C_STR);
++    std::ofstream f(BOOST_FILESYSTEM_C_STR(file_path));
+     f.close();
+ 
+     std::string filename;
+--- a/src/fs.cpp
++++ b/src/fs.cpp
+@@ -206,7 +206,7 @@ void ofstream::close()
+ }
+ #else // __GLIBCXX__
+ 
+-static_assert(sizeof(*fs::path().BOOST_FILESYSTEM_C_STR) == sizeof(wchar_t),
++static_assert(sizeof(BOOST_FILESYSTEM_C_STR(*fs::path())) == sizeof(wchar_t),
+     "Warning: This build is using boost::filesystem ofstream and ifstream "
+     "implementations which will fail to open paths containing multibyte "
+     "characters. You should delete this static_assert to ignore this warning, "
diff --git a/srcpkgs/namecoin/patches/fix-include.patch b/srcpkgs/namecoin/patches/fix-include.patch
new file mode 100644
index 000000000000..b923004ffa7a
--- /dev/null
+++ b/srcpkgs/namecoin/patches/fix-include.patch
@@ -0,0 +1,77 @@
+Index: namecoin-0.18.1/src/bench/block_assemble.cpp
+===================================================================
+--- namecoin-0.18.1.orig/src/bench/block_assemble.cpp
++++ namecoin-0.18.1/src/bench/block_assemble.cpp
+@@ -20,7 +20,9 @@
+ 
+ #include <boost/thread.hpp>
+ 
++#include <array>
+ #include <list>
++#include <memory>
+ #include <vector>
+ 
+ static std::shared_ptr<CBlock> PrepareBlock(const CScript& coinbase_scriptPubKey)
+Index: namecoin-0.18.1/src/net_processing.cpp
+===================================================================
+--- namecoin-0.18.1.orig/src/net_processing.cpp
++++ namecoin-0.18.1/src/net_processing.cpp
+@@ -30,7 +30,9 @@
+ #include <util/moneystr.h>
+ #include <util/strencodings.h>
+ 
++#include <array>
+ #include <memory>
++#include <utility>
+ 
+ #if defined(NDEBUG)
+ # error "Bitcoin cannot be compiled without assertions."
+Index: namecoin-0.18.1/src/qt/sendcoinsdialog.cpp
+===================================================================
+--- namecoin-0.18.1.orig/src/qt/sendcoinsdialog.cpp
++++ namecoin-0.18.1/src/qt/sendcoinsdialog.cpp
+@@ -32,6 +32,8 @@
+ #include <QSettings>
+ #include <QTextDocument>
+ 
++#include <array>
++
+ static const std::array<int, 9> confTargets = { {2, 4, 6, 12, 24, 48, 144, 504, 1008} };
+ int getConfTargetForIndex(int index) {
+     if (index+1 > static_cast<int>(confTargets.size())) {
+Index: namecoin-0.18.1/src/qt/trafficgraphwidget.cpp
+===================================================================
+--- namecoin-0.18.1.orig/src/qt/trafficgraphwidget.cpp
++++ namecoin-0.18.1/src/qt/trafficgraphwidget.cpp
+@@ -6,6 +6,7 @@
+ #include <qt/trafficgraphwidget.h>
+ #include <qt/clientmodel.h>
+ 
++#include <QPainterPath>
+ #include <QPainter>
+ #include <QColor>
+ #include <QTimer>
+Index: namecoin-0.18.1/src/httpserver.cpp
+===================================================================
+--- namecoin-0.18.1.orig/src/httpserver.cpp
++++ namecoin-0.18.1/src/httpserver.cpp
+@@ -18,6 +18,7 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
++#include <deque>
+ 
+ #include <sys/types.h>
+ #include <sys/stat.h>
+Index: namecoin-0.18.1/src/test/cuckoocache_tests.cpp
+===================================================================
+--- namecoin-0.18.1.orig/src/test/cuckoocache_tests.cpp
++++ namecoin-0.18.1/src/test/cuckoocache_tests.cpp
+@@ -7,6 +7,7 @@
+ #include <test/test_bitcoin.h>
+ #include <random.h>
+ #include <thread>
++#include <deque>
+ 
+ /** Test Suite for CuckooCache
+  *
diff --git a/srcpkgs/namecoin/template b/srcpkgs/namecoin/template
new file mode 100644
index 000000000000..5a77aabf8e5a
--- /dev/null
+++ b/srcpkgs/namecoin/template
@@ -0,0 +1,32 @@
+# Template file for 'namecoin'
+pkgname=namecoin
+version=0.18.1
+revision=9
+build_style=gnu-configure
+configure_args="--with-incompatible-bdb --disable-static
+ --enable-hardening --with-boost=${XBPS_CROSS_BASE}/usr"
+hostmakedepends="pkg-config yasm automake libtool which"
+makedepends="libevent-devel db-devel protobuf-devel boost-devel
+ miniupnpc-devel qrencode-devel"
+short_desc="Distributed key/value database"
+maintainer="ananteris <ananteris@protonmail.ch>"
+license="MIT"
+homepage="https://namecoin.org"
+distfiles="https://github.com/namecoin/namecoin-core/archive/nc${version}.tar.gz"
+checksum=7117a0a0b8f48d49e4abf3577660f8a4eb9a4dea753281d19d9470725fc75d8e
+
+if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
+	makedepends+=" libatomic-devel"
+	LDFLAGS+=" -latomic"
+fi
+
+pre_configure() {
+	./autogen.sh
+	sed -i src/compat.h -e "s;<sys/fcntl.h>;<fcntl.h>;"
+}
+
+post_install() {
+	vlicense COPYING
+	# They don't bother to rename from bitcoin
+	rm -rf $DESTDIR/usr/share/man/man1
+}
diff --git a/srcpkgs/namecoin/update b/srcpkgs/namecoin/update
new file mode 100644
index 000000000000..10eae03a7eb4
--- /dev/null
+++ b/srcpkgs/namecoin/update
@@ -0,0 +1 @@
+pattern='/archive/refs/tags/(nc|v?|\Q'"$pkgname"'\E-)?\K[\d\.]+(?=\.tar\.gz")'
diff --git a/srcpkgs/nxt/files/bin/nxt b/srcpkgs/nxt/files/bin/nxt
new file mode 100644
index 000000000000..efc4319206d2
--- /dev/null
+++ b/srcpkgs/nxt/files/bin/nxt
@@ -0,0 +1,2 @@
+#!/bin/sh
+cd /usr/lib/nxt && bash run.sh
diff --git a/srcpkgs/nxt/files/bin/nxt-tor b/srcpkgs/nxt/files/bin/nxt-tor
new file mode 100644
index 000000000000..4b4104ceca97
--- /dev/null
+++ b/srcpkgs/nxt/files/bin/nxt-tor
@@ -0,0 +1,2 @@
+#!/bin/sh
+cd /usr/lib/nxt && bash run-tor.sh
diff --git a/srcpkgs/nxt/files/nxt-tor/run b/srcpkgs/nxt/files/nxt-tor/run
new file mode 100644
index 000000000000..c14f448c4950
--- /dev/null
+++ b/srcpkgs/nxt/files/nxt-tor/run
@@ -0,0 +1,4 @@
+#!/bin/sh
+exec 2>&1
+sv check tor >/dev/null || exit 1
+exec nxt-tor > /dev/null
diff --git a/srcpkgs/nxt/files/nxt/run b/srcpkgs/nxt/files/nxt/run
new file mode 100644
index 000000000000..a3479cc97b11
--- /dev/null
+++ b/srcpkgs/nxt/files/nxt/run
@@ -0,0 +1,3 @@
+#!/bin/sh
+exec 2>&1
+exec nxt > /dev/null
diff --git a/srcpkgs/nxt/template b/srcpkgs/nxt/template
new file mode 100644
index 000000000000..fb6f3eb9f121
--- /dev/null
+++ b/srcpkgs/nxt/template
@@ -0,0 +1,25 @@
+# Template file for 'nxt'
+pkgname=nxt
+version=1.12.2
+revision=1
+hostmakedepends="unzip"
+depends="virtual?java-runtime"
+short_desc="Client for the NXT cryptocurrency"
+maintainer="Fabio Krapohl <Krapohl.f@gmx.de>"
+license="custom:Jelurida Public License 1.1"
+homepage="https://nxt.org"
+distfiles="https://bitbucket.org/Jelurida/${pkgname}/downloads/${pkgname}-client-${version}.zip"
+checksum=83689f6d85e59be44920328d99aa934bb8998f4b5c7ea8088c83ab4503b49a42
+
+do_install() {
+	vbin ${FILESDIR}/bin/${pkgname}
+	vbin ${FILESDIR}/bin/${pkgname}-tor
+
+	vsv ${pkgname}
+	vsv ${pkgname}-tor
+
+	vlicense LICENSE.txt
+
+	vmkdir usr/lib/${pkgname}
+	vcopy . usr/lib/${pkgname}
+}
diff --git a/srcpkgs/removed-packages/template b/srcpkgs/removed-packages/template
index bdd9a27b2906..18ad75756903 100644
--- a/srcpkgs/removed-packages/template
+++ b/srcpkgs/removed-packages/template
@@ -1,7 +1,7 @@
 # Template file for 'removed-packages'
 pkgname=removed-packages
-version=0.1.20230627
-revision=2
+version=0.1.20230701
+revision=1
 build_style=meta
 short_desc="Uninstalls packages removed from repository"
 maintainer="Piotr Wójcik <chocimier@tlen.pl>"
@@ -10,7 +10,6 @@ homepage="https://voidlinux.org"
 
 replaces="
  6cord<=9.6_1
- Electron-Cash<=4.2.10_3
  FeedReader<=2.11.0_2
  ImageMagick6<=6.9.12.12_2
  Lidarr<=0.5.0.583_1
@@ -40,7 +39,6 @@ replaces="
  avogadro<=1.2.0_9
  beignet<=1.3.2_10
  bgc<=1.0.1_1
- bitcoin<=22.0_5
  bokken<=1.8_3
  bomi<=0.9.11_17
  burp-client<=1.4.40_13
@@ -60,11 +58,9 @@ replaces="
  cgminer<=4.11.1_1
  clamz<=0.5_4
  clementine-spotify<=1.4.0rc1-343-gb49afcc5b
- cointop<=1.6.10_1
  compton-conf<=0.15.0_1
  couchdb<=1.7.1_2
  couchpotato<=3.0.1_3
- cpuminer<=2.5.1_1
  cracklib-python<=2.9.7_1
  crystal<=0.34.0_4
  csync-devel<=0.50.0_5
@@ -105,8 +101,6 @@ replaces="
  electron13<=13.6.7_1
  electron7<=7.3.3_1
  electron9<=9.4.1_1
- electrum-ltc<=3.3.8.1_4
- electrum<=4.2.0_3
  emacs-gtk2<=27.2_1
  empathy<=3.12.14_4
  enventor<=1.0.0_2
@@ -128,7 +122,6 @@ replaces="
  gens-gs<=2.16.7_2
  geoip-data<=20171002_2
  gespeaker<=0.8.6_3
- geth<=1.10.1_2
  getmail<=5.14_2
  gfbgraph<=0.2.5_1
  giti<=1.0.0_1
@@ -146,7 +139,6 @@ replaces="
  gnome-recipes<=2.0.4_2
  gnome-shell-mousewheel-zoom<=0.8.0_2
  gnome-twitch<=0.4.2_2
- go-ethereum<=1.10.1_2
  go-gdm<=1.4_7
  go-langserver<=2.0.0_1
  go1.4-bootstrap<=20171003_2
@@ -299,8 +291,6 @@ replaces="
  libbitcoin-node<=3.6.0_10
  libbitcoin-protocol-devel<=3.6.0_10
  libbitcoin-protocol<=3.6.0_10
- libbitcoin-secp256k1-devel<=0.1.0.13_1
- libbitcoin-secp256k1<=0.1.0.13_1
  libbitcoin-server-devel<=3.6.0_10
  libbitcoin-server<=3.6.0_10
  libbitcoin-system-devel<=3.6.0_10
@@ -362,7 +352,6 @@ replaces="
  libxnoise<=0.2.21_4
  libxslt-python<=1.1.34_5
  libzapojit<=0.0.3_10
- litecoin<=0.18.1_11
  livewallpaper<=0.5.0_2
  llvm3.9<=3.9.1_5
  lprng<=3.8.C_1
@@ -380,9 +369,6 @@ replaces="
  mimms<=3.2.1_4
  miro-video-converter<=3.0.2_3
  mirrorbits<=0.5.1_1
- monero-devel<=0.18.1.2_4
- monero-gui<=0.18.1.2_4
- monero<=0.18.1.2_4
  mongroup<=0.4.1_2
  mopidy-spotify<=4.0.1_5
  mozjs68<=68.11.0_1
@@ -392,7 +378,6 @@ replaces="
  mpir-devel<=3.0.0_1
  mpir<=3.0.0_1
  mutagen<=1.43.0_3
- namecoin<=0.18.1_9
  nautilus-sendto<=3.8.6_2
  ncdns<=0.0.2_12
  newt-python<=0.52.21_5
@@ -401,7 +386,6 @@ replaces="
  nvidia340-libs<=340.108_4
  nvidia340-opencl<=340.108_4
  nvidia340<=340.108_4
- nxt<=1.12.2_1
  ocaml-lablgtk2-gnomecanvas<=2.18.10_5
  ocaml-lablgtk2-gtksourceview2<=2.18.10_5
  ocaml-lablgtk2-gtkspell<=2.18.10_5
@@ -572,7 +556,6 @@ replaces="
  sqlite-replication<=3.32.3_2
  srw<=0.7_1
  steam-fonts<=1.0.0_5
- swarm<=0.5.7_2
  tagainijisho<=1.0.3_1
  taizen<=0.0.0.20180808_4
  terminal_markdown_viewer<=1.6.3_4
diff --git a/srcpkgs/swarm/template b/srcpkgs/swarm/template
new file mode 100644
index 000000000000..fcc7dc54c098
--- /dev/null
+++ b/srcpkgs/swarm/template
@@ -0,0 +1,13 @@
+# Template file for 'swarm'
+pkgname=swarm
+version=0.5.7
+revision=2
+build_style=go
+go_import_path=github.com/ethersphere/swarm
+go_package="${go_import_path}/cmd/swarm"
+short_desc="Censorship resistant storage and communication infrastructure"
+maintainer="Hoang Nguyen <hoang@wetrust.io>"
+license="GPL-3.0-only"
+homepage="https://swarm.ethereum.org"
+distfiles="https://${go_import_path}/archive/v${version}.tar.gz"
+checksum=027521fc7eec4d579406edefdd6c37b3af5009295bae24597bb26fc1f6844ce7

From b3ef19d3bc9ed223107e69143d409d3b2dded362 Mon Sep 17 00:00:00 2001
From: lemmi <lemmi@nerd2nerd.org>
Date: Sat, 1 Jul 2023 22:18:51 +0200
Subject: [PATCH 02/12] Electron-Cash: remove package

---
 srcpkgs/Electron-Cash/template    | 28 ----------------------------
 srcpkgs/removed-packages/template |  3 ++-
 2 files changed, 2 insertions(+), 29 deletions(-)
 delete mode 100644 srcpkgs/Electron-Cash/template

diff --git a/srcpkgs/Electron-Cash/template b/srcpkgs/Electron-Cash/template
deleted file mode 100644
index 38ca3449b093..000000000000
--- a/srcpkgs/Electron-Cash/template
+++ /dev/null
@@ -1,28 +0,0 @@
-# Template file for 'Electron-Cash'
-pkgname=Electron-Cash
-version=4.2.10
-revision=3
-build_style=python3-module
-hostmakedepends="python3-setuptools python3-PyQt5-devel-tools"
-depends="python3-PyQt5 python3-PyQt5-svg python3-qrcode python3-dateutil
- python3-jsonrpclib python3-protobuf
- python3-dnspython python3-requests python3-pysocks python3-stem
- python3-ecdsa python3-pyaes python3-pycryptodomex libbitcoin-secp256k1 libzbar
- python3-cryptography>=2.6 python3-pathvalidate python3-psutil"
-short_desc="Lightweight Bitcoin Cash client"
-maintainer="Orphaned <orphan@voidlinux.org>"
-license="MIT"
-homepage="https://electroncash.org"
-distfiles="https://github.com/Electron-Cash/Electron-Cash/releases/download/${version}/Electron-Cash-${version}.tar.gz"
-checksum=2c77258c0e8ccdc42d16cd9bdbc26b47f94b92d9ba8a86d63c25a17ec832b324
-make_check=no # Depends on unpackaged SimpleWebSocketServer
-
-post_install() {
-	# TODO: build these binaries instead of having to remove pre-built ones
-	rm -f -- "${DESTDIR}/usr/lib/python${py3_ver}/site-packages/electroncash/tor/bin/tor"
-
-	for lib in zbar secp256k1; do
-		rm -f -- "${DESTDIR}/usr/lib/python${py3_ver}/site-packages/electroncash/lib${lib}.so.0"
-	done
-	vlicense LICENCE
-}
diff --git a/srcpkgs/removed-packages/template b/srcpkgs/removed-packages/template
index 18ad75756903..cfbdbd576413 100644
--- a/srcpkgs/removed-packages/template
+++ b/srcpkgs/removed-packages/template
@@ -1,7 +1,7 @@
 # Template file for 'removed-packages'
 pkgname=removed-packages
 version=0.1.20230701
-revision=1
+revision=2
 build_style=meta
 short_desc="Uninstalls packages removed from repository"
 maintainer="Piotr Wójcik <chocimier@tlen.pl>"
@@ -10,6 +10,7 @@ homepage="https://voidlinux.org"
 
 replaces="
  6cord<=9.6_1
+ Electron-Cash<=4.2.10_3
  FeedReader<=2.11.0_2
  ImageMagick6<=6.9.12.12_2
  Lidarr<=0.5.0.583_1

From 4e9a571c506b7d74c10a61a1f33d9b027c898bbe Mon Sep 17 00:00:00 2001
From: lemmi <lemmi@nerd2nerd.org>
Date: Sat, 1 Jul 2023 22:24:23 +0200
Subject: [PATCH 03/12] cointop: remove package

unmaintained
---
 srcpkgs/cointop/template          | 12 ------------
 srcpkgs/removed-packages/template |  3 ++-
 2 files changed, 2 insertions(+), 13 deletions(-)
 delete mode 100644 srcpkgs/cointop/template

diff --git a/srcpkgs/cointop/template b/srcpkgs/cointop/template
deleted file mode 100644
index 343f2ad20a49..000000000000
--- a/srcpkgs/cointop/template
+++ /dev/null
@@ -1,12 +0,0 @@
-# Template file for 'cointop'
-pkgname=cointop
-version=1.6.10
-revision=1
-build_style=go
-go_import_path="github.com/cointop-sh/cointop"
-short_desc="Terminal based application for tracking cryptocurrencies"
-maintainer="Orphaned <orphan@voidlinux.org>"
-license="Apache-2.0"
-homepage="https://github.com/cointop-sh/cointop"
-distfiles="https://github.com/cointop-sh/cointop/archive/v${version}.tar.gz"
-checksum=18da0d25288deec7156ddd1d6923960968ab4adcdc917f85726b97d555d9b1b7
diff --git a/srcpkgs/removed-packages/template b/srcpkgs/removed-packages/template
index cfbdbd576413..f801e498797c 100644
--- a/srcpkgs/removed-packages/template
+++ b/srcpkgs/removed-packages/template
@@ -1,7 +1,7 @@
 # Template file for 'removed-packages'
 pkgname=removed-packages
 version=0.1.20230701
-revision=2
+revision=3
 build_style=meta
 short_desc="Uninstalls packages removed from repository"
 maintainer="Piotr Wójcik <chocimier@tlen.pl>"
@@ -59,6 +59,7 @@ replaces="
  cgminer<=4.11.1_1
  clamz<=0.5_4
  clementine-spotify<=1.4.0rc1-343-gb49afcc5b
+ cointop<=1.6.10_1
  compton-conf<=0.15.0_1
  couchdb<=1.7.1_2
  couchpotato<=3.0.1_3

From e7ff5847902b389c3fdea742ad6714ae5b5e8df6 Mon Sep 17 00:00:00 2001
From: lemmi <lemmi@nerd2nerd.org>
Date: Sat, 1 Jul 2023 22:28:06 +0200
Subject: [PATCH 04/12] cpuminer: remove package

unmaintained
---
 srcpkgs/cpuminer/template         | 13 -------------
 srcpkgs/removed-packages/template |  3 ++-
 2 files changed, 2 insertions(+), 14 deletions(-)
 delete mode 100644 srcpkgs/cpuminer/template

diff --git a/srcpkgs/cpuminer/template b/srcpkgs/cpuminer/template
deleted file mode 100644
index 8afb7a5c4877..000000000000
--- a/srcpkgs/cpuminer/template
+++ /dev/null
@@ -1,13 +0,0 @@
-# Template file for 'cpuminer'
-pkgname=cpuminer
-version=2.5.1
-revision=1
-build_style=gnu-configure
-hostmakedepends="pkg-config yasm"
-makedepends="libcurl-devel ncurses-devel jansson-devel"
-short_desc="Multi-threaded CPU miner for Litecoin and Bitcoin"
-maintainer="Orphaned <orphan@voidlinux.org>"
-license="GPL-2.0-or-later"
-homepage="https://github.com/pooler/cpuminer"
-distfiles="${SOURCEFORGE_SITE}/${pkgname}/pooler-${pkgname}-${version}.tar.gz"
-checksum=337f04fdb32f34b85819d09d59f6d3cf62991ac2e656735c43661dd3d4c57631
diff --git a/srcpkgs/removed-packages/template b/srcpkgs/removed-packages/template
index f801e498797c..a64212735495 100644
--- a/srcpkgs/removed-packages/template
+++ b/srcpkgs/removed-packages/template
@@ -1,7 +1,7 @@
 # Template file for 'removed-packages'
 pkgname=removed-packages
 version=0.1.20230701
-revision=3
+revision=4
 build_style=meta
 short_desc="Uninstalls packages removed from repository"
 maintainer="Piotr Wójcik <chocimier@tlen.pl>"
@@ -63,6 +63,7 @@ replaces="
  compton-conf<=0.15.0_1
  couchdb<=1.7.1_2
  couchpotato<=3.0.1_3
+ cpuminer<=2.5.1_1
  cracklib-python<=2.9.7_1
  crystal<=0.34.0_4
  csync-devel<=0.50.0_5

From 130504ac4e71632d555875c3ff4c9bebbbe715ae Mon Sep 17 00:00:00 2001
From: lemmi <lemmi@nerd2nerd.org>
Date: Sat, 1 Jul 2023 22:46:25 +0200
Subject: [PATCH 05/12] namecoin: remove package

unmaintained
---
 srcpkgs/namecoin/patches/boost-1.80.patch  | 57 ----------------
 srcpkgs/namecoin/patches/fix-include.patch | 77 ----------------------
 srcpkgs/namecoin/template                  | 32 ---------
 srcpkgs/namecoin/update                    |  1 -
 srcpkgs/removed-packages/template          |  3 +-
 5 files changed, 2 insertions(+), 168 deletions(-)
 delete mode 100644 srcpkgs/namecoin/patches/boost-1.80.patch
 delete mode 100644 srcpkgs/namecoin/patches/fix-include.patch
 delete mode 100644 srcpkgs/namecoin/template
 delete mode 100644 srcpkgs/namecoin/update

diff --git a/srcpkgs/namecoin/patches/boost-1.80.patch b/srcpkgs/namecoin/patches/boost-1.80.patch
deleted file mode 100644
index 5a250af68487..000000000000
--- a/srcpkgs/namecoin/patches/boost-1.80.patch
+++ /dev/null
@@ -1,57 +0,0 @@
---- a/src/names/main.cpp
-+++ b/src/names/main.cpp
-@@ -365,12 +365,14 @@ ConflictTrackerNotifyEntryRemoved (CName
- CNameConflictTracker::CNameConflictTracker (CTxMemPool &p)
-   : txNameConflicts(std::make_shared<std::vector<CTransactionRef>>()), pool(p)
- {
-+  using namespace boost::placeholders;
-   pool.NotifyEntryRemoved.connect (
-     boost::bind (&ConflictTrackerNotifyEntryRemoved, this, _1, _2));
- }
- 
- CNameConflictTracker::~CNameConflictTracker ()
- {
-+  using namespace boost::placeholders;
-   pool.NotifyEntryRemoved.disconnect (
-     boost::bind (&ConflictTrackerNotifyEntryRemoved, this, _1, _2));
- }
---- a/src/wallet/test/init_test_fixture.cpp
-+++ b/src/wallet/test/init_test_fixture.cpp
-@@ -29,7 +29,7 @@ InitWalletDirTestingSetup::InitWalletDir
-     fs::create_directories(m_walletdir_path_cases["default"]);
-     fs::create_directories(m_walletdir_path_cases["custom"]);
-     fs::create_directories(m_walletdir_path_cases["relative"]);
--    std::ofstream f(m_walletdir_path_cases["file"].BOOST_FILESYSTEM_C_STR);
-+    std::ofstream f(BOOST_FILESYSTEM_C_STR(m_walletdir_path_cases["file"]));
-     f.close();
- }
- 
-@@ -41,4 +41,4 @@ InitWalletDirTestingSetup::~InitWalletDi
- void InitWalletDirTestingSetup::SetWalletDir(const fs::path& walletdir_path)
- {
-     gArgs.ForceSetArg("-walletdir", walletdir_path.string());
--}
-\ No newline at end of file
-+}
---- a/src/wallet/test/db_tests.cpp
-+++ b/src/wallet/test/db_tests.cpp
-@@ -18,7 +18,7 @@ BOOST_AUTO_TEST_CASE(getwalletenv_file)
-     std::string test_name = "test_name.dat";
-     fs::path datadir = SetDataDir("tempdir");
-     fs::path file_path = datadir / test_name;
--    std::ofstream f(file_path.BOOST_FILESYSTEM_C_STR);
-+    std::ofstream f(BOOST_FILESYSTEM_C_STR(file_path));
-     f.close();
- 
-     std::string filename;
---- a/src/fs.cpp
-+++ b/src/fs.cpp
-@@ -206,7 +206,7 @@ void ofstream::close()
- }
- #else // __GLIBCXX__
- 
--static_assert(sizeof(*fs::path().BOOST_FILESYSTEM_C_STR) == sizeof(wchar_t),
-+static_assert(sizeof(BOOST_FILESYSTEM_C_STR(*fs::path())) == sizeof(wchar_t),
-     "Warning: This build is using boost::filesystem ofstream and ifstream "
-     "implementations which will fail to open paths containing multibyte "
-     "characters. You should delete this static_assert to ignore this warning, "
diff --git a/srcpkgs/namecoin/patches/fix-include.patch b/srcpkgs/namecoin/patches/fix-include.patch
deleted file mode 100644
index b923004ffa7a..000000000000
--- a/srcpkgs/namecoin/patches/fix-include.patch
+++ /dev/null
@@ -1,77 +0,0 @@
-Index: namecoin-0.18.1/src/bench/block_assemble.cpp
-===================================================================
---- namecoin-0.18.1.orig/src/bench/block_assemble.cpp
-+++ namecoin-0.18.1/src/bench/block_assemble.cpp
-@@ -20,7 +20,9 @@
- 
- #include <boost/thread.hpp>
- 
-+#include <array>
- #include <list>
-+#include <memory>
- #include <vector>
- 
- static std::shared_ptr<CBlock> PrepareBlock(const CScript& coinbase_scriptPubKey)
-Index: namecoin-0.18.1/src/net_processing.cpp
-===================================================================
---- namecoin-0.18.1.orig/src/net_processing.cpp
-+++ namecoin-0.18.1/src/net_processing.cpp
-@@ -30,7 +30,9 @@
- #include <util/moneystr.h>
- #include <util/strencodings.h>
- 
-+#include <array>
- #include <memory>
-+#include <utility>
- 
- #if defined(NDEBUG)
- # error "Bitcoin cannot be compiled without assertions."
-Index: namecoin-0.18.1/src/qt/sendcoinsdialog.cpp
-===================================================================
---- namecoin-0.18.1.orig/src/qt/sendcoinsdialog.cpp
-+++ namecoin-0.18.1/src/qt/sendcoinsdialog.cpp
-@@ -32,6 +32,8 @@
- #include <QSettings>
- #include <QTextDocument>
- 
-+#include <array>
-+
- static const std::array<int, 9> confTargets = { {2, 4, 6, 12, 24, 48, 144, 504, 1008} };
- int getConfTargetForIndex(int index) {
-     if (index+1 > static_cast<int>(confTargets.size())) {
-Index: namecoin-0.18.1/src/qt/trafficgraphwidget.cpp
-===================================================================
---- namecoin-0.18.1.orig/src/qt/trafficgraphwidget.cpp
-+++ namecoin-0.18.1/src/qt/trafficgraphwidget.cpp
-@@ -6,6 +6,7 @@
- #include <qt/trafficgraphwidget.h>
- #include <qt/clientmodel.h>
- 
-+#include <QPainterPath>
- #include <QPainter>
- #include <QColor>
- #include <QTimer>
-Index: namecoin-0.18.1/src/httpserver.cpp
-===================================================================
---- namecoin-0.18.1.orig/src/httpserver.cpp
-+++ namecoin-0.18.1/src/httpserver.cpp
-@@ -18,6 +18,7 @@
- #include <stdio.h>
- #include <stdlib.h>
- #include <string.h>
-+#include <deque>
- 
- #include <sys/types.h>
- #include <sys/stat.h>
-Index: namecoin-0.18.1/src/test/cuckoocache_tests.cpp
-===================================================================
---- namecoin-0.18.1.orig/src/test/cuckoocache_tests.cpp
-+++ namecoin-0.18.1/src/test/cuckoocache_tests.cpp
-@@ -7,6 +7,7 @@
- #include <test/test_bitcoin.h>
- #include <random.h>
- #include <thread>
-+#include <deque>
- 
- /** Test Suite for CuckooCache
-  *
diff --git a/srcpkgs/namecoin/template b/srcpkgs/namecoin/template
deleted file mode 100644
index 5a77aabf8e5a..000000000000
--- a/srcpkgs/namecoin/template
+++ /dev/null
@@ -1,32 +0,0 @@
-# Template file for 'namecoin'
-pkgname=namecoin
-version=0.18.1
-revision=9
-build_style=gnu-configure
-configure_args="--with-incompatible-bdb --disable-static
- --enable-hardening --with-boost=${XBPS_CROSS_BASE}/usr"
-hostmakedepends="pkg-config yasm automake libtool which"
-makedepends="libevent-devel db-devel protobuf-devel boost-devel
- miniupnpc-devel qrencode-devel"
-short_desc="Distributed key/value database"
-maintainer="ananteris <ananteris@protonmail.ch>"
-license="MIT"
-homepage="https://namecoin.org"
-distfiles="https://github.com/namecoin/namecoin-core/archive/nc${version}.tar.gz"
-checksum=7117a0a0b8f48d49e4abf3577660f8a4eb9a4dea753281d19d9470725fc75d8e
-
-if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
-	makedepends+=" libatomic-devel"
-	LDFLAGS+=" -latomic"
-fi
-
-pre_configure() {
-	./autogen.sh
-	sed -i src/compat.h -e "s;<sys/fcntl.h>;<fcntl.h>;"
-}
-
-post_install() {
-	vlicense COPYING
-	# They don't bother to rename from bitcoin
-	rm -rf $DESTDIR/usr/share/man/man1
-}
diff --git a/srcpkgs/namecoin/update b/srcpkgs/namecoin/update
deleted file mode 100644
index 10eae03a7eb4..000000000000
--- a/srcpkgs/namecoin/update
+++ /dev/null
@@ -1 +0,0 @@
-pattern='/archive/refs/tags/(nc|v?|\Q'"$pkgname"'\E-)?\K[\d\.]+(?=\.tar\.gz")'
diff --git a/srcpkgs/removed-packages/template b/srcpkgs/removed-packages/template
index a64212735495..3c2df798b9ff 100644
--- a/srcpkgs/removed-packages/template
+++ b/srcpkgs/removed-packages/template
@@ -1,7 +1,7 @@
 # Template file for 'removed-packages'
 pkgname=removed-packages
 version=0.1.20230701
-revision=4
+revision=5
 build_style=meta
 short_desc="Uninstalls packages removed from repository"
 maintainer="Piotr Wójcik <chocimier@tlen.pl>"
@@ -381,6 +381,7 @@ replaces="
  mpir-devel<=3.0.0_1
  mpir<=3.0.0_1
  mutagen<=1.43.0_3
+ namecoin<=0.18.1_9
  nautilus-sendto<=3.8.6_2
  ncdns<=0.0.2_12
  newt-python<=0.52.21_5

From 9f4b9179717e8cd2e227299a3b725e2507e3b1b1 Mon Sep 17 00:00:00 2001
From: lemmi <lemmi@nerd2nerd.org>
Date: Sat, 1 Jul 2023 22:47:29 +0200
Subject: [PATCH 06/12] nxt: remove package

---
 srcpkgs/nxt/files/bin/nxt         |  2 --
 srcpkgs/nxt/files/bin/nxt-tor     |  2 --
 srcpkgs/nxt/files/nxt-tor/run     |  4 ----
 srcpkgs/nxt/files/nxt/run         |  3 ---
 srcpkgs/nxt/template              | 25 -------------------------
 srcpkgs/removed-packages/template |  3 ++-
 6 files changed, 2 insertions(+), 37 deletions(-)
 delete mode 100644 srcpkgs/nxt/files/bin/nxt
 delete mode 100644 srcpkgs/nxt/files/bin/nxt-tor
 delete mode 100644 srcpkgs/nxt/files/nxt-tor/run
 delete mode 100644 srcpkgs/nxt/files/nxt/run
 delete mode 100644 srcpkgs/nxt/template

diff --git a/srcpkgs/nxt/files/bin/nxt b/srcpkgs/nxt/files/bin/nxt
deleted file mode 100644
index efc4319206d2..000000000000
--- a/srcpkgs/nxt/files/bin/nxt
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-cd /usr/lib/nxt && bash run.sh
diff --git a/srcpkgs/nxt/files/bin/nxt-tor b/srcpkgs/nxt/files/bin/nxt-tor
deleted file mode 100644
index 4b4104ceca97..000000000000
--- a/srcpkgs/nxt/files/bin/nxt-tor
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-cd /usr/lib/nxt && bash run-tor.sh
diff --git a/srcpkgs/nxt/files/nxt-tor/run b/srcpkgs/nxt/files/nxt-tor/run
deleted file mode 100644
index c14f448c4950..000000000000
--- a/srcpkgs/nxt/files/nxt-tor/run
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/sh
-exec 2>&1
-sv check tor >/dev/null || exit 1
-exec nxt-tor > /dev/null
diff --git a/srcpkgs/nxt/files/nxt/run b/srcpkgs/nxt/files/nxt/run
deleted file mode 100644
index a3479cc97b11..000000000000
--- a/srcpkgs/nxt/files/nxt/run
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-exec 2>&1
-exec nxt > /dev/null
diff --git a/srcpkgs/nxt/template b/srcpkgs/nxt/template
deleted file mode 100644
index fb6f3eb9f121..000000000000
--- a/srcpkgs/nxt/template
+++ /dev/null
@@ -1,25 +0,0 @@
-# Template file for 'nxt'
-pkgname=nxt
-version=1.12.2
-revision=1
-hostmakedepends="unzip"
-depends="virtual?java-runtime"
-short_desc="Client for the NXT cryptocurrency"
-maintainer="Fabio Krapohl <Krapohl.f@gmx.de>"
-license="custom:Jelurida Public License 1.1"
-homepage="https://nxt.org"
-distfiles="https://bitbucket.org/Jelurida/${pkgname}/downloads/${pkgname}-client-${version}.zip"
-checksum=83689f6d85e59be44920328d99aa934bb8998f4b5c7ea8088c83ab4503b49a42
-
-do_install() {
-	vbin ${FILESDIR}/bin/${pkgname}
-	vbin ${FILESDIR}/bin/${pkgname}-tor
-
-	vsv ${pkgname}
-	vsv ${pkgname}-tor
-
-	vlicense LICENSE.txt
-
-	vmkdir usr/lib/${pkgname}
-	vcopy . usr/lib/${pkgname}
-}
diff --git a/srcpkgs/removed-packages/template b/srcpkgs/removed-packages/template
index 3c2df798b9ff..e2e85d6e36eb 100644
--- a/srcpkgs/removed-packages/template
+++ b/srcpkgs/removed-packages/template
@@ -1,7 +1,7 @@
 # Template file for 'removed-packages'
 pkgname=removed-packages
 version=0.1.20230701
-revision=5
+revision=6
 build_style=meta
 short_desc="Uninstalls packages removed from repository"
 maintainer="Piotr Wójcik <chocimier@tlen.pl>"
@@ -390,6 +390,7 @@ replaces="
  nvidia340-libs<=340.108_4
  nvidia340-opencl<=340.108_4
  nvidia340<=340.108_4
+ nxt<=1.12.2_1
  ocaml-lablgtk2-gnomecanvas<=2.18.10_5
  ocaml-lablgtk2-gtksourceview2<=2.18.10_5
  ocaml-lablgtk2-gtkspell<=2.18.10_5

From 024bd44f05e083bda9cab5b4f81e9187d7bc4b7f Mon Sep 17 00:00:00 2001
From: lemmi <lemmi@nerd2nerd.org>
Date: Sat, 1 Jul 2023 22:52:18 +0200
Subject: [PATCH 07/12] swarm: remove package

unmaintained
---
 srcpkgs/removed-packages/template |  3 ++-
 srcpkgs/swarm/template            | 13 -------------
 2 files changed, 2 insertions(+), 14 deletions(-)
 delete mode 100644 srcpkgs/swarm/template

diff --git a/srcpkgs/removed-packages/template b/srcpkgs/removed-packages/template
index e2e85d6e36eb..e32b8d45456d 100644
--- a/srcpkgs/removed-packages/template
+++ b/srcpkgs/removed-packages/template
@@ -1,7 +1,7 @@
 # Template file for 'removed-packages'
 pkgname=removed-packages
 version=0.1.20230701
-revision=6
+revision=7
 build_style=meta
 short_desc="Uninstalls packages removed from repository"
 maintainer="Piotr Wójcik <chocimier@tlen.pl>"
@@ -561,6 +561,7 @@ replaces="
  sqlite-replication<=3.32.3_2
  srw<=0.7_1
  steam-fonts<=1.0.0_5
+ swarm<=0.5.7_2
  tagainijisho<=1.0.3_1
  taizen<=0.0.0.20180808_4
  terminal_markdown_viewer<=1.6.3_4
diff --git a/srcpkgs/swarm/template b/srcpkgs/swarm/template
deleted file mode 100644
index fcc7dc54c098..000000000000
--- a/srcpkgs/swarm/template
+++ /dev/null
@@ -1,13 +0,0 @@
-# Template file for 'swarm'
-pkgname=swarm
-version=0.5.7
-revision=2
-build_style=go
-go_import_path=github.com/ethersphere/swarm
-go_package="${go_import_path}/cmd/swarm"
-short_desc="Censorship resistant storage and communication infrastructure"
-maintainer="Hoang Nguyen <hoang@wetrust.io>"
-license="GPL-3.0-only"
-homepage="https://swarm.ethereum.org"
-distfiles="https://${go_import_path}/archive/v${version}.tar.gz"
-checksum=027521fc7eec4d579406edefdd6c37b3af5009295bae24597bb26fc1f6844ce7

From 4bda4b29e50de8d358a6aae3568a382747f0c7e0 Mon Sep 17 00:00:00 2001
From: lemmi <lemmi@nerd2nerd.org>
Date: Sat, 1 Jul 2023 23:39:38 +0200
Subject: [PATCH 08/12] litecoin: remove package

---
 srcpkgs/litecoin/patches/fix-include.patch | 61 ----------------------
 srcpkgs/litecoin/template                  | 34 ------------
 srcpkgs/removed-packages/template          |  3 +-
 3 files changed, 2 insertions(+), 96 deletions(-)
 delete mode 100644 srcpkgs/litecoin/patches/fix-include.patch
 delete mode 100644 srcpkgs/litecoin/template

diff --git a/srcpkgs/litecoin/patches/fix-include.patch b/srcpkgs/litecoin/patches/fix-include.patch
deleted file mode 100644
index b540db326b87..000000000000
--- a/srcpkgs/litecoin/patches/fix-include.patch
+++ /dev/null
@@ -1,61 +0,0 @@
-Index: litecoin-0.18.1/src/bench/block_assemble.cpp
-===================================================================
---- litecoin-0.18.1.orig/src/bench/block_assemble.cpp
-+++ litecoin-0.18.1/src/bench/block_assemble.cpp
-@@ -20,7 +20,9 @@
- 
- #include <boost/thread.hpp>
- 
-+#include <array>
- #include <list>
-+#include <memory>
- #include <vector>
- 
- static std::shared_ptr<CBlock> PrepareBlock(const CScript& coinbase_scriptPubKey)
-Index: litecoin-0.18.1/src/net_processing.cpp
-===================================================================
---- litecoin-0.18.1.orig/src/net_processing.cpp
-+++ litecoin-0.18.1/src/net_processing.cpp
-@@ -30,7 +30,9 @@
- #include <util/moneystr.h>
- #include <util/strencodings.h>
- 
-+#include <array>
- #include <memory>
-+#include <utility>
- 
- #if defined(NDEBUG)
- # error "Litecoin cannot be compiled without assertions."
-Index: litecoin-0.18.1/src/qt/sendcoinsdialog.cpp
-===================================================================
---- litecoin-0.18.1.orig/src/qt/sendcoinsdialog.cpp
-+++ litecoin-0.18.1/src/qt/sendcoinsdialog.cpp
-@@ -32,6 +32,8 @@
- #include <QSettings>
- #include <QTextDocument>
- 
-+#include <array>
-+
- static const std::array<int, 9> confTargets = { {2, 4, 6, 12, 24, 48, 144, 504, 1008} };
- int getConfTargetForIndex(int index) {
-     if (index+1 > static_cast<int>(confTargets.size())) {
---- a/src/httpserver.cpp	2019-04-08 09:28:20.000000000 +0200
-+++ b/src/httpserver.cpp	2019-04-08 09:28:20.000000000 +0200
-@@ -17,6 +17,7 @@
- #include <stdio.h>
- #include <stdlib.h>
- #include <string.h>
-+#include <deque>
- 
- #include <sys/types.h>
- #include <sys/stat.h>
---- a/src/qt/trafficgraphwidget.cpp	2019-04-08 09:28:20.000000000 +0200
-+++ b/src/qt/trafficgraphwidget.cpp	2019-04-08 09:28:20.000000000 +0200
-@@ -6,6 +6,7 @@
- #include <qt/trafficgraphwidget.h>
- #include <qt/clientmodel.h>
- 
-+#include <QPainterPath>
- #include <QPainter>
- #include <QColor>
- #include <QTimer>
diff --git a/srcpkgs/litecoin/template b/srcpkgs/litecoin/template
deleted file mode 100644
index a7ed18603c20..000000000000
--- a/srcpkgs/litecoin/template
+++ /dev/null
@@ -1,34 +0,0 @@
-# Template file for 'litecoin'
-pkgname=litecoin
-version=0.18.1
-revision=11
-build_style=gnu-configure
-configure_args="--with-incompatible-bdb --with-gui=qt5 --disable-static
- --disable-tests --with-openssl"
-hostmakedepends="automake libtool pkg-config yasm protobuf which"
-makedepends="libatomic-devel zlib-devel db-devel openssl-devel boost-devel
- qt5-tools-devel miniupnpc-devel protobuf-devel libevent-devel"
-short_desc="Peer-to-peer Internet currency based on scrypt cryptography"
-maintainer="Orphaned <orphan@voidlinux.org>"
-license="MIT"
-homepage="http://www.litecoin.org/"
-distfiles="https://github.com/litecoin-project/litecoin/archive/v${version}.tar.gz"
-checksum=2d67cba11adc5890b9698ccddeb68dd3c2ff6af19bf3ed0f1c719348b914042f
-
-if [ "$CROSS_BUILD" ]; then
-	hostmakedepends+=" qt5-host-tools protobuf"
-	configure_args+=" --with-boost=${XBPS_CROSS_BASE}"
-fi
-
-pre_configure() {
-	NOCONFIGURE=1 ./autogen.sh
-}
-
-post_install() {
-	rm -rf ${DESTDIR}/usr/include
-	vsconf share/examples/litecoin.conf
-	vman doc/man/litecoind.1 litecoind.1
-	vlicense COPYING
-	vmkdir usr/share/bash-completion/completions/${pkgname}
-	vcopy contrib/*.bash-completion usr/share/bash-completion/completions/${pkgname}
-}
diff --git a/srcpkgs/removed-packages/template b/srcpkgs/removed-packages/template
index e32b8d45456d..7f3991ede123 100644
--- a/srcpkgs/removed-packages/template
+++ b/srcpkgs/removed-packages/template
@@ -1,7 +1,7 @@
 # Template file for 'removed-packages'
 pkgname=removed-packages
 version=0.1.20230701
-revision=7
+revision=8
 build_style=meta
 short_desc="Uninstalls packages removed from repository"
 maintainer="Piotr Wójcik <chocimier@tlen.pl>"
@@ -355,6 +355,7 @@ replaces="
  libxnoise<=0.2.21_4
  libxslt-python<=1.1.34_5
  libzapojit<=0.0.3_10
+ litecoin<=0.18.1_11
  livewallpaper<=0.5.0_2
  llvm3.9<=3.9.1_5
  lprng<=3.8.C_1

From c6d5c5355e70822c265f48fb7263ea278fb51453 Mon Sep 17 00:00:00 2001
From: lemmi <lemmi@nerd2nerd.org>
Date: Sat, 1 Jul 2023 23:41:54 +0200
Subject: [PATCH 09/12] monero-gui: remove package

---
 srcpkgs/monero-gui/INSTALL.msg    |   4 --
 srcpkgs/monero-gui/files          |   1 -
 srcpkgs/monero-gui/template       | 106 ------------------------------
 srcpkgs/monero-gui/update         |   2 -
 srcpkgs/removed-packages/template |   3 +-
 5 files changed, 2 insertions(+), 114 deletions(-)
 delete mode 100644 srcpkgs/monero-gui/INSTALL.msg
 delete mode 120000 srcpkgs/monero-gui/files
 delete mode 100644 srcpkgs/monero-gui/template
 delete mode 100644 srcpkgs/monero-gui/update

diff --git a/srcpkgs/monero-gui/INSTALL.msg b/srcpkgs/monero-gui/INSTALL.msg
deleted file mode 100644
index 06ac937bb78f..000000000000
--- a/srcpkgs/monero-gui/INSTALL.msg
+++ /dev/null
@@ -1,4 +0,0 @@
-For monero-gui to connect to the network, it needs access to a monero node.
-You may either enter a remote node in the application itself or provide
-a locally running node for it to work with. The necessary daemon software
-to run a local node is available in the 'monero' package.
diff --git a/srcpkgs/monero-gui/files b/srcpkgs/monero-gui/files
deleted file mode 120000
index 0dc85055cb8b..000000000000
--- a/srcpkgs/monero-gui/files
+++ /dev/null
@@ -1 +0,0 @@
-../monero/patches
\ No newline at end of file
diff --git a/srcpkgs/monero-gui/template b/srcpkgs/monero-gui/template
deleted file mode 100644
index 0f4e06d5c55f..000000000000
--- a/srcpkgs/monero-gui/template
+++ /dev/null
@@ -1,106 +0,0 @@
-# Template file for 'monero-gui'
-pkgname=monero-gui
-version=0.18.1.2
-revision=4
-_monero_version=0.18.1.2
-# the revision monero uses as a submodule for the specific version
-_randomx_gitrev="261d58c77fc5547c0aa7fdfeb58421ba7e0e6e1c"
-_rapidjson_gitrev="129d19ba7f496df5e33658527a7158c79b99c21c"
-_supercop_gitrev="633500ad8c8759995049ccd022107d1fa8a1bbc9"
-_quirc_gitrev="7e7ab596e4d0988faf1c12ae89c354b114181c40"
-build_style=cmake
-configure_args="-DVERSION_IS_RELEASE=true -DQt5_LRELEASE_EXECUTABLE=/usr/bin/lrelease"
-hostmakedepends="pkg-config qt5-tools qt5-qmake qt5-quickcontrols qt5-declarative-devel
- qt5-svg-devel qtchooser"
-makedepends="boost-devel libunwind-devel miniupnpc-devel
-qt5-declarative-devel readline-devel unbound-devel libsodium-devel hidapi-devel
- qt5-svg-devel libgcrypt-devel zeromq-devel"
-depends="qt5-graphicaleffects qt5-quickcontrols qt5-quickcontrols2 qt5-xmlpatterns"
-short_desc="GUI for the core Monero implementation"
-maintainer="Orphaned <orphan@voidlinux.org>"
-license="BSD-3-Clause"
-homepage="https://getmonero.org"
-distfiles="https://github.com/monero-project/monero-gui/archive/v${version}.tar.gz
- https://github.com/monero-project/monero/archive/v${_monero_version}.tar.gz>monero-${_monero_version}.tar.gz
- https://github.com/tevador/RandomX/archive/${_randomx_gitrev}.tar.gz>RandomX-${_randomx_gitrev}.tar.gz
- https://github.com/Tencent/rapidjson/archive/${_rapidjson_gitrev}.tar.gz>rapidjson-${_rapidjson_gitrev}.tar.gz
- https://github.com/monero-project/supercop/archive/${_supercop_gitrev}.tar.gz>supercop-${_supercop_gitrev}.tar.gz
- https://github.com/dlbeer/quirc/archive/${_quirc_gitrev}.tar.gz>quirc-${_quirc_gitrev}.tar.gz"
-checksum="b5494830e917231aa7515992c69bcbb495f532fefde42530b265f9fd590e1702
- f7fec9c7456e22b70cb86a34dd9192c948161155fdbdfb8505f8ea95c357a38e
- 4aeadafe16810320fd492491e39d03fb6028a2db35916aba0fef96c716aba46f
- 44b007d419ac21b6affec58991e865ee572346ead19b73cf1c3e4e11c7a81273
- b973b9d8269ec4d97c3c3443f0dad96d09f72b1b30e616e0947557adbdbb03f7
- c8366aecb6ba48ec50a7e579a4fa18eb55c3c4be7d3efb2a83726157977f4ca6"
-skip_extraction="monero-${version}.tar.gz rapidjson-${_rapidjson_gitrev}.tar.gz supercop-${_supercop_gitrev}.tar.gz RandomX-${_randomx_gitrev}.tar.gz quirc-${_quirc_gitrev}.tar.gz"
-
-if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
-	makedepends+=" libatomic-devel"
-	CFLAGS+=" -latomic"
-fi
-
-case "$XBPS_TARGET_MACHINE" in
-	*-musl) configure_args+=" -DSTACK_TRACE=OFF"
-esac
-
-case "$XBPS_TARGET_MACHINE" in
-	armv7*) configure_args+=" -DARCH=armv7" ;;
-	armv6*) configure_args+=" -DARCH=armv6" ;;
-	armv5*) configure_args+=" -DARCH=armv5" ;;
-	aarch64*) configure_args+=" -DARCH=aarch64" ;;
-	mips*) configure_args+=" -DARCH=mipsr32 -DNO_AES=ON" ;;
-	ppc64le*) configure_args+=" -DARCH=ppc64le" ;;
-	ppc64*) configure_args+=" -DARCH=ppc64" ;;
-	ppc*) configure_args+=" -DARCH=ppc"     ;;
-	*) configure_args+=" -DARCH=default" ;;
-esac
-
-post_extract() {
-	bsdtar xzf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/monero-${_monero_version}.tar.gz --strip-components 1 -C monero
-	bsdtar xzf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/rapidjson-${_rapidjson_gitrev}.tar.gz --strip-components 1 -C monero/external/rapidjson
-	bsdtar xzf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/supercop-${_supercop_gitrev}.tar.gz --strip-components 1 -C monero/external/supercop
-	bsdtar xzf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/RandomX-${_randomx_gitrev}.tar.gz --strip-components 1 -C monero/external/randomx
-	bsdtar xzf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/quirc-${_quirc_gitrev}.tar.gz --strip-components 1 -C external/quirc
-}
-
-post_patch() {
-	cd monero
-	for f in "${FILESDIR}"/*.patch; do
-		echo "Applying $f"
-		patch -Np1 -i "$f"
-	done
-}
-
-pre_configure() {
-	echo "var GUI_VERSION = \"${version}\"" > version.js
-	echo "var GUI_MONERO_VERSION = \"${version}\"" >> version.js
-	if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
-		vsed -i monero/CMakeLists.txt -e \
-			'/if(ANDROID)/i list(APPEND EXTRA_LIBRARIES libatomic.a)'
-	fi
-}
-
-pre_build() {
-	cd src/zxcvbn-c
-	cmake .
-	cd ../..
-	if [ "$CROSS_BUILD" ]; then
-		# The dictgen binary is executed during the build to generate code
-		# but is not included in the binary package. It thus needs to be
-		# built for the host
-		CXX=${CXX_host} CXXFLAGS="${XBPS_CXXFLAGS}" LDFLAGS="${XBPS_LDFLAGS}" \
-			make ${makejobs} -C src/zxcvbn-c
-		# The generate_translations_header binary is executed during the build
-		# but is not included in the binary package. It thus needs to be
-		# built for the host
-		CC=${CC_host} CFLAGS="${XBPS_CFLAGS}" LDFLAGS="${XBPS_LDFLAGS}" \
-			ninja -C build ${makejobs} generate_translations_header
-
-	fi
-	make ${makejobs} -C src/zxcvbn-c
-}
-
-do_install() {
-	vbin build/bin/monero-wallet-gui
-	vlicense LICENSE
-}
diff --git a/srcpkgs/monero-gui/update b/srcpkgs/monero-gui/update
deleted file mode 100644
index 5254358a1411..000000000000
--- a/srcpkgs/monero-gui/update
+++ /dev/null
@@ -1,2 +0,0 @@
-site="https://github.com/monero-project/monero-gui/tags"
-pattern='/archive/refs/tags/(v?|\Qmonero-gui\E-)?\K[\d\.]+(?=\.tar\.gz")'
diff --git a/srcpkgs/removed-packages/template b/srcpkgs/removed-packages/template
index 7f3991ede123..c592cc0aa862 100644
--- a/srcpkgs/removed-packages/template
+++ b/srcpkgs/removed-packages/template
@@ -1,7 +1,7 @@
 # Template file for 'removed-packages'
 pkgname=removed-packages
 version=0.1.20230701
-revision=8
+revision=9
 build_style=meta
 short_desc="Uninstalls packages removed from repository"
 maintainer="Piotr Wójcik <chocimier@tlen.pl>"
@@ -373,6 +373,7 @@ replaces="
  mimms<=3.2.1_4
  miro-video-converter<=3.0.2_3
  mirrorbits<=0.5.1_1
+ monero-gui<=0.18.1.2_4
  mongroup<=0.4.1_2
  mopidy-spotify<=4.0.1_5
  mozjs68<=68.11.0_1

From 7df87dbcf733494223bc2270827ea0aa56434f63 Mon Sep 17 00:00:00 2001
From: lemmi <lemmi@nerd2nerd.org>
Date: Sat, 1 Jul 2023 23:51:06 +0200
Subject: [PATCH 10/12] monero: remove package

---
 srcpkgs/monero-devel                          |   1 -
 srcpkgs/monero/files/monerod/run              |   3 -
 srcpkgs/monero/patches/easylogging.patch      |  11 --
 srcpkgs/monero/patches/fix-include.patch      |  29 -----
 srcpkgs/monero/patches/march_cross.patch      |  13 ---
 srcpkgs/monero/patches/system-miniupnpc.patch | 106 ------------------
 srcpkgs/monero/template                       |  94 ----------------
 srcpkgs/monero/update                         |   2 -
 srcpkgs/removed-packages/template             |   4 +-
 9 files changed, 3 insertions(+), 260 deletions(-)
 delete mode 120000 srcpkgs/monero-devel
 delete mode 100644 srcpkgs/monero/files/monerod/run
 delete mode 100644 srcpkgs/monero/patches/easylogging.patch
 delete mode 100644 srcpkgs/monero/patches/fix-include.patch
 delete mode 100644 srcpkgs/monero/patches/march_cross.patch
 delete mode 100644 srcpkgs/monero/patches/system-miniupnpc.patch
 delete mode 100644 srcpkgs/monero/template
 delete mode 100644 srcpkgs/monero/update

diff --git a/srcpkgs/monero-devel b/srcpkgs/monero-devel
deleted file mode 120000
index 772084db0203..000000000000
--- a/srcpkgs/monero-devel
+++ /dev/null
@@ -1 +0,0 @@
-monero
\ No newline at end of file
diff --git a/srcpkgs/monero/files/monerod/run b/srcpkgs/monero/files/monerod/run
deleted file mode 100644
index f485e63659fa..000000000000
--- a/srcpkgs/monero/files/monerod/run
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-exec 2>&1
-exec chpst -u monero:monero /usr/bin/monerod --non-interactive --config-file /etc/monerod.conf
diff --git a/srcpkgs/monero/patches/easylogging.patch b/srcpkgs/monero/patches/easylogging.patch
deleted file mode 100644
index 5e611672aa71..000000000000
--- a/srcpkgs/monero/patches/easylogging.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/external/easylogging++/easylogging++.h	2020-05-23 09:03:47.678880438 +0200
-+++ b/external/easylogging++/easylogging++.h	2020-05-23 09:04:31.757371549 +0200
-@@ -221,7 +221,7 @@
- #  define ELPP_INTERNAL_INFO(lvl, msg)
- #endif  // (defined(ELPP_DEBUG_INFO))
- #if (defined(ELPP_FEATURE_ALL)) || (defined(ELPP_FEATURE_CRASH_LOG))
--#  if (ELPP_COMPILER_GCC && !ELPP_MINGW && !ELPP_OS_OPENBSD && !ELPP_OS_NETBSD && !ELPP_OS_ANDROID && !ELPP_OS_EMSCRIPTEN)
-+#  if ( __has_include(<execinfo.h>) && ELPP_COMPILER_GCC && !ELPP_MINGW && !ELPP_OS_OPENBSD && !ELPP_OS_NETBSD && !ELPP_OS_ANDROID && !ELPP_OS_EMSCRIPTEN)
- #    define ELPP_STACKTRACE 1
- #  else
- #    define ELPP_STACKTRACE 0
diff --git a/srcpkgs/monero/patches/fix-include.patch b/srcpkgs/monero/patches/fix-include.patch
deleted file mode 100644
index f5ba9fa25d08..000000000000
--- a/srcpkgs/monero/patches/fix-include.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-Index: monero-0.18.1.2/src/common/dns_utils.cpp
-===================================================================
---- monero-0.18.1.2.orig/src/common/dns_utils.cpp
-+++ monero-0.18.1.2/src/common/dns_utils.cpp
-@@ -38,6 +38,12 @@
- #include <boost/algorithm/string/join.hpp>
- #include <boost/optional.hpp>
- #include <boost/utility/string_ref.hpp>
-+
-+#include <deque>
-+#include <map>
-+#include <set>
-+#include <string>
-+
- using namespace epee;
- 
- #undef MONERO_DEFAULT_LOG_CATEGORY
-Index: monero-0.18.1.2/src/common/threadpool.h
-===================================================================
---- monero-0.18.1.2.orig/src/common/threadpool.h
-+++ monero-0.18.1.2/src/common/threadpool.h
-@@ -31,6 +31,7 @@
- #include <boost/thread/mutex.hpp>
- #include <boost/thread/thread.hpp>
- #include <cstddef>
-+#include <deque>
- #include <functional>
- #include <utility>
- #include <vector>
diff --git a/srcpkgs/monero/patches/march_cross.patch b/srcpkgs/monero/patches/march_cross.patch
deleted file mode 100644
index 20c3ae90c477..000000000000
--- a/srcpkgs/monero/patches/march_cross.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git CMakeLists.txt CMakeLists.txt
-index 953707657..394e8cb32 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -581,7 +581,7 @@ else()
-     set_default_arch()
-   endif()
-   message(STATUS "Building on ${CMAKE_SYSTEM_PROCESSOR} for ${ARCH}")
--  if(ARCH STREQUAL "default")
-+  if(ARCH STREQUAL "default" OR CMAKE_CROSSCOMPILING)
-     set(ARCH_FLAG "")
-   elseif(PPC64LE)
-     set(ARCH_FLAG "-mcpu=power8")
diff --git a/srcpkgs/monero/patches/system-miniupnpc.patch b/srcpkgs/monero/patches/system-miniupnpc.patch
deleted file mode 100644
index 6da9a92d491e..000000000000
--- a/srcpkgs/monero/patches/system-miniupnpc.patch
+++ /dev/null
@@ -1,106 +0,0 @@
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index b05c087cf..4f1a20101 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -676,6 +676,14 @@ ExternalProject_Add(generate_translations_header
- include_directories("${CMAKE_CURRENT_BINARY_DIR}/translations")
- add_subdirectory(external)
- 
-+# Final setup for miniupnpc
-+if(UPNP_STATIC OR IOS)
-+  add_definitions("-DUPNP_STATIC")
-+else()
-+  add_definitions("-DUPNP_DYNAMIC")
-+  include_directories(${UPNP_INCLUDE})
-+endif()
-+
- # Final setup for libunbound
- include_directories(${UNBOUND_INCLUDE_DIR})
- 
-diff --git a/external/CMakeLists.txt b/external/CMakeLists.txt
-index 5b7f69a56..00ef3f43d 100644
---- a/external/CMakeLists.txt
-+++ b/external/CMakeLists.txt
-@@ -34,24 +34,47 @@
- # We always compile if we are building statically to reduce static dependency issues...
- # ...except for FreeBSD, because FreeBSD is a special case that doesn't play well with
- # others.
-+if(NOT IOS)
-+    find_package(Miniupnpc QUIET)
-+endif()
- 
--find_package(Miniupnpc REQUIRED)
--
--message(STATUS "Using in-tree miniupnpc")
- set(UPNPC_NO_INSTALL TRUE CACHE BOOL "Disable miniupnp installation" FORCE)
--add_subdirectory(miniupnp/miniupnpc)
--set_property(TARGET libminiupnpc-static PROPERTY FOLDER "external")
--set_property(TARGET libminiupnpc-static PROPERTY POSITION_INDEPENDENT_CODE ON)
--if(MSVC)
--  set_property(TARGET libminiupnpc-static APPEND_STRING PROPERTY COMPILE_FLAGS " -wd4244 -wd4267")
--elseif(NOT MSVC)
--  set_property(TARGET libminiupnpc-static APPEND_STRING PROPERTY COMPILE_FLAGS " -Wno-undef -Wno-unused-result -Wno-unused-value")
-+# If we have the correct shared version and we're not building static, use it
-+if(STATIC OR IOS)
-+ set(USE_SHARED_MINIUPNPC false)
-+elseif(MINIUPNP_FOUND AND MINIUPNPC_VERSION_1_7_OR_HIGHER)
-+ set(USE_SHARED_MINIUPNPC true)
- endif()
-+
-+
-+if(USE_SHARED_MINIUPNPC)
-+  message(STATUS "Using shared miniupnpc found at ${MINIUPNP_INCLUDE_DIR}")
-+
-+  set(UPNP_STATIC false PARENT_SCOPE)
-+  set(UPNP_INCLUDE ${MINIUPNP_INCLUDE_DIR} PARENT_SCOPE)
-+  set(UPNP_LIBRARIES ${MINIUPNP_LIBRARY} PARENT_SCOPE)
-+else()
-+  if(STATIC)
-+    message(STATUS "Using miniupnpc from local source tree for static build")
-+  else()
-+    message(STATUS "Using miniupnpc from local source tree (/external/miniupnp/miniupnpc)")
-+  endif()
-+  add_subdirectory(miniupnp/miniupnpc)
-+
-+  set_property(TARGET libminiupnpc-static PROPERTY FOLDER "external")
-+  if(MSVC)
-+    set_property(TARGET libminiupnpc-static APPEND_STRING PROPERTY COMPILE_FLAGS " -wd4244 -wd4267")
-+  elseif(NOT MSVC)
-+    set_property(TARGET libminiupnpc-static APPEND_STRING PROPERTY COMPILE_FLAGS " -Wno-undef -Wno-unused-result -Wno-unused-value")
-+  endif()
-+
- if(CMAKE_SYSTEM_NAME MATCHES "NetBSD")
- 	set_property(TARGET libminiupnpc-static APPEND_STRING PROPERTY COMPILE_FLAGS " -D_NETBSD_SOURCE")
- endif()
- 
--set(UPNP_LIBRARIES "libminiupnpc-static" PARENT_SCOPE)
-+  set(UPNP_STATIC true PARENT_SCOPE)
-+  set(UPNP_LIBRARIES "libminiupnpc-static" PARENT_SCOPE)
-+endif()
- 
- find_package(Unbound)
- 
-diff --git a/src/p2p/net_node.inl b/src/p2p/net_node.inl
-index f33ce977d..87d23a1e1 100644
---- a/src/p2p/net_node.inl
-+++ b/src/p2p/net_node.inl
-@@ -60,9 +60,16 @@
- #include "cryptonote_core/cryptonote_core.h"
- #include "net/parse.h"
- 
--#include <miniupnp/miniupnpc/miniupnpc.h>
--#include <miniupnp/miniupnpc/upnpcommands.h>
--#include <miniupnp/miniupnpc/upnperrors.h>
-+// We have to look for miniupnpc headers in different places, dependent on if its compiled or external
-+#ifdef UPNP_STATIC
-+  #include <miniupnp/miniupnpc/miniupnpc.h>
-+  #include <miniupnp/miniupnpc/upnpcommands.h>
-+  #include <miniupnp/miniupnpc/upnperrors.h>
-+#else
-+  #include "miniupnpc.h"
-+  #include "upnpcommands.h"
-+  #include "upnperrors.h"
-+#endif
- 
- #undef MONERO_DEFAULT_LOG_CATEGORY
- #define MONERO_DEFAULT_LOG_CATEGORY "net.p2p"
diff --git a/srcpkgs/monero/template b/srcpkgs/monero/template
deleted file mode 100644
index 93a3c82fe4d6..000000000000
--- a/srcpkgs/monero/template
+++ /dev/null
@@ -1,94 +0,0 @@
-# Template file for 'monero'
-pkgname=monero
-version=0.18.1.2
-revision=4
-# the revision monero uses as a submodule for the specific version
-_randomx_gitrev="261d58c77fc5547c0aa7fdfeb58421ba7e0e6e1c"
-_rapidjson_gitrev="129d19ba7f496df5e33658527a7158c79b99c21c"
-_supercop_gitrev="633500ad8c8759995049ccd022107d1fa8a1bbc9"
-build_style=cmake
-conf_files="/etc/monerod.conf"
-make_dirs="
- /var/lib/monero 0750 monero monero
- /var/log/monero 0755 monero monero"
-hostmakedepends="pkg-config"
-makedepends="openssl-devel boost-devel libldns-devel libunwind-devel
- readline-devel unbound-devel miniupnpc-devel expat-devel
- cppzmq czmq-devel libsodium-devel"
-short_desc="Private, secure, untraceable, decentralised digital currency"
-maintainer="Kevin Crumb <kevcrumb@splitlinux.org>"
-license="BSD-3-Clause"
-homepage="https://getmonero.org"
-distfiles="https://github.com/monero-project/monero/archive/v${version}.tar.gz
- https://github.com/tevador/RandomX/archive/${_randomx_gitrev}.tar.gz>RandomX-${_randomx_gitrev}.tar.gz
- https://github.com/Tencent/rapidjson/archive/${_rapidjson_gitrev}.tar.gz>rapidjson-${_rapidjson_gitrev}.tar.gz
- https://github.com/monero-project/supercop/archive/${_supercop_gitrev}.tar.gz>supercop-${_supercop_gitrev}.tar.gz"
-checksum="f7fec9c7456e22b70cb86a34dd9192c948161155fdbdfb8505f8ea95c357a38e
- 4aeadafe16810320fd492491e39d03fb6028a2db35916aba0fef96c716aba46f
- 44b007d419ac21b6affec58991e865ee572346ead19b73cf1c3e4e11c7a81273
- b973b9d8269ec4d97c3c3443f0dad96d09f72b1b30e616e0947557adbdbb03f7"
-skip_extraction="RandomX-${_randomx_gitrev}.tar.gz rapidjson-${_rapidjson_gitrev}.tar.gz supercop-${_supercop_gitrev}.tar.gz"
-system_accounts="monero"
-
-case "$XBPS_TARGET_MACHINE" in
-	armv7*) configure_args+=" -DARCH=armv7" ;;
-	armv6*) configure_args+=" -DARCH=armv6" ;;
-	armv5*) configure_args+=" -DARCH=armv5" ;;
-	aarch64*) configure_args+=" -DARCH=aarch64" ;;
-	mips*) configure_args+=" -DARCH=mipsr32 -DNO_AES=ON" ;;
-	ppc64le*) configure_args+=" -DARCH=ppc64le" ;;
-	ppc64*) configure_args+=" -DARCH=ppc64" ;;
-	ppc*) configure_args+=" -DARCH=ppc"	;;
-	*) configure_args+=" -DARCH=default" ;;
-esac
-
-if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
-	makedepends+=" libatomic-devel"
-	CFLAGS+=" -latomic"
-fi
-
-case "$XBPS_TARGET_MACHINE" in
-	*-musl) configure_args+=" -DSTACK_TRACE=OFF"
-esac
-
-post_extract() {
-	bsdtar xzf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/RandomX-${_randomx_gitrev}.tar.gz \
-		--strip-components=1 -C ${wrksrc}/external/randomx
-	bsdtar xzf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/rapidjson-${_rapidjson_gitrev}.tar.gz \
-		--strip-components=1 -C ${wrksrc}/external/rapidjson
-	bsdtar xzf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/supercop-${_supercop_gitrev}.tar.gz \
-		--strip-components=1 -C ${wrksrc}/external/supercop
-}
-
-pre_configure() {
-	if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
-		sed -i CMakeLists.txt -e \
-			'/include(version.cmake)/i list(APPEND EXTRA_LIBRARIES libatomic.a)'
-	fi
-}
-
-pre_build() {
-	if [ "$CROSS_BUILD" ]; then
-		# The generate_translations_header binary is executed during the build
-		# but is not included in the binary package. It thus needs to be
-		# built for the host
-		CC=${CC_host} CFLAGS="${XBPS_CFLAGS}" LDFLAGS="${XBPS_LDFLAGS}" \
-			ninja -C build ${makejobs} generate_translations_header
-	fi
-}
-
-post_install() {
-	vlicense LICENSE
-	vbin build/bin/monero-blockchain-import
-	vbin build/bin/monero-blockchain-export
-	vinstall utils/conf/monerod.conf 644 etc
-	vsv monerod
-}
-
-monero-devel_package() {
-	short_desc+=" - development files"
-	pkg_install() {
-		vlicense LICENSE
-		vmove usr/include
-	}
-}
diff --git a/srcpkgs/monero/update b/srcpkgs/monero/update
deleted file mode 100644
index 2f68aaf68b71..000000000000
--- a/srcpkgs/monero/update
+++ /dev/null
@@ -1,2 +0,0 @@
-site="https://github.com/monero-project/monero/tags"
-pattern='/archive/refs/tags/(v?|\Qmonero\E-)?\K[\d\.]+(?=\.tar\.gz")'
diff --git a/srcpkgs/removed-packages/template b/srcpkgs/removed-packages/template
index c592cc0aa862..2a34a665d30c 100644
--- a/srcpkgs/removed-packages/template
+++ b/srcpkgs/removed-packages/template
@@ -1,7 +1,7 @@
 # Template file for 'removed-packages'
 pkgname=removed-packages
 version=0.1.20230701
-revision=9
+revision=10
 build_style=meta
 short_desc="Uninstalls packages removed from repository"
 maintainer="Piotr Wójcik <chocimier@tlen.pl>"
@@ -373,7 +373,9 @@ replaces="
  mimms<=3.2.1_4
  miro-video-converter<=3.0.2_3
  mirrorbits<=0.5.1_1
+ monero-devel<=0.18.1.2_4
  monero-gui<=0.18.1.2_4
+ monero<=0.18.1.2_4
  mongroup<=0.4.1_2
  mopidy-spotify<=4.0.1_5
  mozjs68<=68.11.0_1

From 92eb672e5da555cdc8596ab41d8e1a85bdaa4718 Mon Sep 17 00:00:00 2001
From: lemmi <lemmi@nerd2nerd.org>
Date: Sat, 1 Jul 2023 23:54:23 +0200
Subject: [PATCH 11/12] electrum-ltc: remove package

---
 srcpkgs/electrum-ltc/patches/no-certifi.patch | 97 -------------------
 srcpkgs/electrum-ltc/template                 | 19 ----
 srcpkgs/removed-packages/template             |  3 +-
 3 files changed, 2 insertions(+), 117 deletions(-)
 delete mode 100644 srcpkgs/electrum-ltc/patches/no-certifi.patch
 delete mode 100644 srcpkgs/electrum-ltc/template

diff --git a/srcpkgs/electrum-ltc/patches/no-certifi.patch b/srcpkgs/electrum-ltc/patches/no-certifi.patch
deleted file mode 100644
index 9d68378996ba..000000000000
--- a/srcpkgs/electrum-ltc/patches/no-certifi.patch
+++ /dev/null
@@ -1,97 +0,0 @@
-diff --git a/electrum_ltc/interface.py b/electrum_ltc/interface.py
-index b5eac439c..14bbd7ab9 100644
---- a/electrum_ltc/interface.py
-+++ b/electrum_ltc/interface.py
-@@ -40,7 +40,6 @@ from aiorpcx import RPCSession, Notification, NetAddress
- from aiorpcx.curio import timeout_after, TaskTimeout
- from aiorpcx.jsonrpc import JSONRPC, CodeMessageError
- from aiorpcx.rawsocket import RSClient
--import certifi
- 
- from .util import ignore_exceptions, log_exceptions, bfh, SilentTaskGroup
- from . import util
-@@ -57,7 +56,7 @@ if TYPE_CHECKING:
-     from .network import Network
- 
- 
--ca_path = certifi.where()
-+ca_path = '/etc/ssl/certs/ca-certificates.crt'
- 
- BUCKET_NAME_OF_ONION_SERVERS = 'onion'
- 
-diff --git a/electrum_ltc/paymentrequest.py b/electrum_ltc/paymentrequest.py
-index 149065bf3..9580c8d48 100644
---- a/electrum_ltc/paymentrequest.py
-+++ b/electrum_ltc/paymentrequest.py
-@@ -29,7 +29,6 @@ import traceback
- import json
- from typing import Optional
- 
--import certifi
- import urllib.parse
- import aiohttp
- 
-@@ -54,7 +53,7 @@ _logger = get_logger(__name__)
- REQUEST_HEADERS = {'Accept': 'application/litecoin-paymentrequest', 'User-Agent': 'Electrum'}
- ACK_HEADERS = {'Content-Type':'application/litecoin-payment','Accept':'application/litecoin-paymentack','User-Agent':'Electrum'}
- 
--ca_path = certifi.where()
-+ca_path = '/etc/ssl/certs/ca-certificates.crt'
- ca_list = None
- ca_keyID = None
- 
-diff --git a/electrum_ltc/util.py b/electrum_ltc/util.py
-index bc69800dc..9c32a195a 100644
---- a/electrum_ltc/util.py
-+++ b/electrum_ltc/util.py
-@@ -44,7 +44,6 @@ import ssl
- import aiohttp
- from aiohttp_socks import SocksConnector, SocksVer
- from aiorpcx import TaskGroup
--import certifi
- 
- from .i18n import _
- from .logging import get_logger, Logger
-@@ -62,7 +61,7 @@ def inv_dict(d):
-     return {v: k for k, v in d.items()}
- 
- 
--ca_path = certifi.where()
-+ca_path = '/etc/ssl/certs/ca-certificates.crt'
- 
- 
- base_units = {'LTC':8, 'mLTC':5, 'uLTC':2, 'sat':0}
-diff --git a/electrum_ltc/x509.py b/electrum_ltc/x509.py
-index c38edc77a..e745e4878 100644
---- a/electrum_ltc/x509.py
-+++ b/electrum_ltc/x509.py
-@@ -343,7 +343,6 @@ def load_certificates(ca_path):
- 
- 
- if __name__ == "__main__":
--    import certifi
- 
--    ca_path = certifi.where()
-+    ca_path = '/etc/ssl/certs/ca-certificates.crt'
-     ca_list, ca_keyID = load_certificates(ca_path)
-diff --git a/run_electrum b/run_electrum
-index 978e5fb2f..e8fc3888c 100755
---- a/run_electrum
-+++ b/run_electrum
-@@ -58,7 +58,6 @@ def check_imports():
-         import dns
-         import pyaes
-         import ecdsa
--        import certifi
-         import qrcode
-         import google.protobuf
-         import jsonrpclib
-@@ -72,7 +71,7 @@ def check_imports():
-     from google.protobuf import descriptor_pb2
-     from jsonrpclib import SimpleJSONRPCServer
-     # make sure that certificates are here
--    assert os.path.exists(certifi.where())
-+    assert os.path.exists('/etc/ssl/certs/ca-certificates.crt')
- 
- 
- if not is_android:
diff --git a/srcpkgs/electrum-ltc/template b/srcpkgs/electrum-ltc/template
deleted file mode 100644
index f476e2de0ed6..000000000000
--- a/srcpkgs/electrum-ltc/template
+++ /dev/null
@@ -1,19 +0,0 @@
-# Template file for 'electrum-ltc'
-pkgname=electrum-ltc
-version=3.3.8.1
-revision=4
-build_style=python3-module
-hostmakedepends="python3-setuptools python3-PyQt5-devel-tools"
-depends="python3-aiohttp python3-aiohttp_socks python3-aiorpcx
- python3-dnspython python3-ecdsa python3-jsonrpclib python3-protobuf
- python3-pyaes python3-pycryptodome python3-PyQt5 python3-qrcode"
-short_desc="Lightweight Litecoin port of the Electrum Bitcoin wallet"
-maintainer="Young Jin Park <youngjinpark20@gmail.com>"
-license="MIT"
-homepage="https://electrum-ltc.org/"
-distfiles="https://github.com/pooler/electrum-ltc/archive/${version}.tar.gz"
-checksum="6f4049abacfdb125b968e841ec9bc01e386e475f3fac8534103ffea1257b0f0f"
-
-post_install() {
-	vlicense LICENCE
-}
diff --git a/srcpkgs/removed-packages/template b/srcpkgs/removed-packages/template
index 2a34a665d30c..e196a659de08 100644
--- a/srcpkgs/removed-packages/template
+++ b/srcpkgs/removed-packages/template
@@ -1,7 +1,7 @@
 # Template file for 'removed-packages'
 pkgname=removed-packages
 version=0.1.20230701
-revision=10
+revision=11
 build_style=meta
 short_desc="Uninstalls packages removed from repository"
 maintainer="Piotr Wójcik <chocimier@tlen.pl>"
@@ -104,6 +104,7 @@ replaces="
  electron13<=13.6.7_1
  electron7<=7.3.3_1
  electron9<=9.4.1_1
+ electrum-ltc<=3.3.8.1_4
  emacs-gtk2<=27.2_1
  empathy<=3.12.14_4
  enventor<=1.0.0_2

From 3c353891313291f29d219a339dfb68db1ff2f44d Mon Sep 17 00:00:00 2001
From: lemmi <lemmi@nerd2nerd.org>
Date: Sun, 2 Jul 2023 00:04:33 +0200
Subject: [PATCH 12/12] go-ethereum: remove package

---
 srcpkgs/geth                      |  1 -
 srcpkgs/go-ethereum/template      | 27 ---------------------------
 srcpkgs/removed-packages/template |  4 +++-
 3 files changed, 3 insertions(+), 29 deletions(-)
 delete mode 120000 srcpkgs/geth
 delete mode 100644 srcpkgs/go-ethereum/template

diff --git a/srcpkgs/geth b/srcpkgs/geth
deleted file mode 120000
index 643fd89ff2c6..000000000000
--- a/srcpkgs/geth
+++ /dev/null
@@ -1 +0,0 @@
-go-ethereum
\ No newline at end of file
diff --git a/srcpkgs/go-ethereum/template b/srcpkgs/go-ethereum/template
deleted file mode 100644
index 1377f4c3ac3f..000000000000
--- a/srcpkgs/go-ethereum/template
+++ /dev/null
@@ -1,27 +0,0 @@
-# Template file for 'go-ethereum'
-pkgname=go-ethereum
-version=1.10.1
-revision=2
-build_style=go
-go_import_path=github.com/ethereum/go-ethereum
-go_package="${go_import_path}/cmd/abigen
- ${go_import_path}/cmd/bootnode
- ${go_import_path}/cmd/evm
- ${go_import_path}/cmd/geth
- ${go_import_path}/cmd/puppeth
- ${go_import_path}/cmd/rlpdump
- ${go_import_path}/cmd/clef"
-depends="geth"
-short_desc="Full suite of Go Ethereum utilities"
-maintainer="Hoang Nguyen <hoang@wetrust.io>"
-license="GPL-3.0-only"
-homepage="https://github.com/ethereum/go-ethereum"
-distfiles="https://${go_import_path}/archive/v${version}.tar.gz"
-checksum=485ff7b9e5a34457ab424d7e2cb8d377dc571e8daf666e065a0a327b9e413cab
-
-geth_package() {
-	short_desc="Official Go implementation of the Ethereum protocol"
-	pkg_install() {
-		vmove usr/bin/geth
-	}
-}
diff --git a/srcpkgs/removed-packages/template b/srcpkgs/removed-packages/template
index e196a659de08..6b8ffff3b8e6 100644
--- a/srcpkgs/removed-packages/template
+++ b/srcpkgs/removed-packages/template
@@ -1,7 +1,7 @@
 # Template file for 'removed-packages'
 pkgname=removed-packages
 version=0.1.20230701
-revision=11
+revision=12
 build_style=meta
 short_desc="Uninstalls packages removed from repository"
 maintainer="Piotr Wójcik <chocimier@tlen.pl>"
@@ -126,6 +126,7 @@ replaces="
  gens-gs<=2.16.7_2
  geoip-data<=20171002_2
  gespeaker<=0.8.6_3
+ geth<=1.10.1_2
  getmail<=5.14_2
  gfbgraph<=0.2.5_1
  giti<=1.0.0_1
@@ -145,6 +146,7 @@ replaces="
  gnome-twitch<=0.4.2_2
  go-gdm<=1.4_7
  go-langserver<=2.0.0_1
+ go-ethereum<=1.10.1_2
  go1.4-bootstrap<=20171003_2
  goat<=0.0.0.28022016_10
  goffice0.8<=0.8.17_6

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: Partially revert "srcpkgs/*: remove all cryptocurrency/blockchain packages"
  2023-07-01 23:05 [PR PATCH] Partially revert "srcpkgs/*: remove all cryptocurrency/blockchain packages" lemmi
@ 2023-07-01 23:21 ` damadmai
  2023-07-02 11:24 ` ar-jan
                   ` (16 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: damadmai @ 2023-07-01 23:21 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 717 bytes --]

New comment by damadmai on void-packages repository

https://github.com/void-linux/void-packages/pull/44778#issuecomment-1616178554

Comment:
I would be interested to keep the `bitcoin` package up to date and favor the suggestion of @ar-jan

> How about not accepting new package requests and removing unmaintained packages, but keeping actively maintained ones?

Actually I was installing and using the package for an university course to learn about cryptocurrencies:

https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=4235&dsrid=410&courseNr=192065&semester=2022W&locale=en

It was nice to be just able to install it with XBPS, as some other distributions didn't include it in their repositories.

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: Partially revert "srcpkgs/*: remove all cryptocurrency/blockchain packages"
  2023-07-01 23:05 [PR PATCH] Partially revert "srcpkgs/*: remove all cryptocurrency/blockchain packages" lemmi
  2023-07-01 23:21 ` damadmai
@ 2023-07-02 11:24 ` ar-jan
  2023-07-02 22:00 ` Clos3y
                   ` (15 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: ar-jan @ 2023-07-02 11:24 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 725 bytes --]

New comment by ar-jan on void-packages repository

https://github.com/void-linux/void-packages/pull/44778#issuecomment-1616610128

Comment:
I also really dislike how this was done. I actually understand that committers would prefer "no cryptocurrency" to not have to deal with this, but for existing packages that can't be the only consideration. There are users of these packages. The ones that were maintained could've been grandfathered in.

I hope we can get the Void Linux team to reconsider. If so, I'm willing to adopt `electrum`, I'd already been keeping that updated. I'd say not to keep `Electron-Cash`, since it requires a different libsecp256k library for full functionality, so it's better to run as AppImage.

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: Partially revert "srcpkgs/*: remove all cryptocurrency/blockchain packages"
  2023-07-01 23:05 [PR PATCH] Partially revert "srcpkgs/*: remove all cryptocurrency/blockchain packages" lemmi
  2023-07-01 23:21 ` damadmai
  2023-07-02 11:24 ` ar-jan
@ 2023-07-02 22:00 ` Clos3y
  2023-07-04  9:12 ` kevcrumb
                   ` (14 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: Clos3y @ 2023-07-02 22:00 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 292 bytes --]

New comment by Clos3y on void-packages repository

https://github.com/void-linux/void-packages/pull/44778#issuecomment-1616853503

Comment:
I think this discussion would be better placed under the '[Discussions](https://github.com/void-linux/void-packages/discussions)' tab rather than a PR.

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: Partially revert "srcpkgs/*: remove all cryptocurrency/blockchain packages"
  2023-07-01 23:05 [PR PATCH] Partially revert "srcpkgs/*: remove all cryptocurrency/blockchain packages" lemmi
                   ` (2 preceding siblings ...)
  2023-07-02 22:00 ` Clos3y
@ 2023-07-04  9:12 ` kevcrumb
  2023-07-12  8:16 ` Clos3y
                   ` (13 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: kevcrumb @ 2023-07-04  9:12 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 743 bytes --]

New comment by kevcrumb on void-packages repository

https://github.com/void-linux/void-packages/pull/44778#issuecomment-1619860095

Comment:
I can continue to maintain `monero`. `monero-gui` is not of personal interest to me, but as long as its maintenance doesn't cause any headaches, I can adopt that one too.

Not that it is related to Void, but there's a reality of people struggling to make ends meet for whom Monero is a way to lower costs of living. I personally know a family of immigrants for whom the cost of their bank account eats a significant percentage of their income - even though it's mostly empty - but they cannot get electricity for cash, so they rely on it for payments and are now looking into Monero as alternative.

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: Partially revert "srcpkgs/*: remove all cryptocurrency/blockchain packages"
  2023-07-01 23:05 [PR PATCH] Partially revert "srcpkgs/*: remove all cryptocurrency/blockchain packages" lemmi
                   ` (3 preceding siblings ...)
  2023-07-04  9:12 ` kevcrumb
@ 2023-07-12  8:16 ` Clos3y
  2023-07-19  9:09 ` lemmi
                   ` (12 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: Clos3y @ 2023-07-12  8:16 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 387 bytes --]

New comment by Clos3y on void-packages repository

https://github.com/void-linux/void-packages/pull/44778#issuecomment-1616853503

Comment:
I think this discussion would be better placed under the '[Discussions](https://github.com/void-linux/void-packages/discussions)' tab rather than a PR.

**EDIT**: I'd like to know the Void Teams' reasons more clearly before giving my two cents.

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: Partially revert "srcpkgs/*: remove all cryptocurrency/blockchain packages"
  2023-07-01 23:05 [PR PATCH] Partially revert "srcpkgs/*: remove all cryptocurrency/blockchain packages" lemmi
                   ` (4 preceding siblings ...)
  2023-07-12  8:16 ` Clos3y
@ 2023-07-19  9:09 ` lemmi
  2023-07-19 10:32 ` ar-jan
                   ` (11 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: lemmi @ 2023-07-19  9:09 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1004 bytes --]

New comment by lemmi on void-packages repository

https://github.com/void-linux/void-packages/pull/44778#issuecomment-1641717031

Comment:
So here is what I like to do: 

1. I'll revert the changes to `CONTRIBUTING.md`. They are too broad for my taste and I think we can come up with something more reasonable. 
2. Since we have updates available for `bitcoin` and `electrum`, I don't think I need to touch `removed-packages` as the removals are versioned. People can just reopen their PRs or make a new one and I'll merge them. Just ping me when you are ready for review.
3. We have no feedback for `go-ethereum`, so I'll take this as a sign, that there isn't enough interest to keep it around.
4. Even though there is interest in `monero`, I won't have the capacity to oversee that, so @kevcrumb may need to find someone else from the @void-linux/pkg-committers team to sign off on that one.
5. Later, I'll close this PR as is, in case someone wants to cherry pick some of the commits from here.

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: Partially revert "srcpkgs/*: remove all cryptocurrency/blockchain packages"
  2023-07-01 23:05 [PR PATCH] Partially revert "srcpkgs/*: remove all cryptocurrency/blockchain packages" lemmi
                   ` (5 preceding siblings ...)
  2023-07-19  9:09 ` lemmi
@ 2023-07-19 10:32 ` ar-jan
  2023-07-31 19:51 ` lemmi
                   ` (10 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: ar-jan @ 2023-07-19 10:32 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 408 bytes --]

New comment by ar-jan on void-packages repository

https://github.com/void-linux/void-packages/pull/44778#issuecomment-1641838132

Comment:
Sounds good. I've pushed a [branch for a new PR](https://github.com/void-linux/void-packages/compare/master...ar-jan:void-packages:electrum-libsecp256k1). Should I wait for a new phrasing around crypto in `CONTRIBUTING.md` before opening a PR to avoid further issues?

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: Partially revert "srcpkgs/*: remove all cryptocurrency/blockchain packages"
  2023-07-01 23:05 [PR PATCH] Partially revert "srcpkgs/*: remove all cryptocurrency/blockchain packages" lemmi
                   ` (6 preceding siblings ...)
  2023-07-19 10:32 ` ar-jan
@ 2023-07-31 19:51 ` lemmi
  2023-07-31 19:52 ` damadmai
                   ` (9 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: lemmi @ 2023-07-31 19:51 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 272 bytes --]

New comment by lemmi on void-packages repository

https://github.com/void-linux/void-packages/pull/44778#issuecomment-1659038952

Comment:
@damadmai Still interested in maintaining `bitcoin`?

@ar-jan I'll just prepare everything locally and will push it all in one go.

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: Partially revert "srcpkgs/*: remove all cryptocurrency/blockchain packages"
  2023-07-01 23:05 [PR PATCH] Partially revert "srcpkgs/*: remove all cryptocurrency/blockchain packages" lemmi
                   ` (7 preceding siblings ...)
  2023-07-31 19:51 ` lemmi
@ 2023-07-31 19:52 ` damadmai
  2023-07-31 19:56 ` lemmi
                   ` (8 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: damadmai @ 2023-07-31 19:52 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 147 bytes --]

New comment by damadmai on void-packages repository

https://github.com/void-linux/void-packages/pull/44778#issuecomment-1659041044

Comment:
Yes!

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: Partially revert "srcpkgs/*: remove all cryptocurrency/blockchain packages"
  2023-07-01 23:05 [PR PATCH] Partially revert "srcpkgs/*: remove all cryptocurrency/blockchain packages" lemmi
                   ` (8 preceding siblings ...)
  2023-07-31 19:52 ` damadmai
@ 2023-07-31 19:56 ` lemmi
  2023-08-05 11:33 ` kevcrumb
                   ` (7 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: lemmi @ 2023-07-31 19:56 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 314 bytes --]

New comment by lemmi on void-packages repository

https://github.com/void-linux/void-packages/pull/44778#issuecomment-1659045504

Comment:
@damadmai cool, then please confirm that the `bitcoin` PR is up-to date (rebase, check whether there is newer version maybe, reopen or make a new one) and ping me when ready.

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: Partially revert "srcpkgs/*: remove all cryptocurrency/blockchain packages"
  2023-07-01 23:05 [PR PATCH] Partially revert "srcpkgs/*: remove all cryptocurrency/blockchain packages" lemmi
                   ` (9 preceding siblings ...)
  2023-07-31 19:56 ` lemmi
@ 2023-08-05 11:33 ` kevcrumb
  2023-08-13 21:17 ` damadmai
                   ` (6 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: kevcrumb @ 2023-08-05 11:33 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 413 bytes --]

New comment by kevcrumb on void-packages repository

https://github.com/void-linux/void-packages/pull/44778#issuecomment-1666479348

Comment:
> 4\. need to find someone else from the @void-linux/pkg-committers team

Is there a working format for such a ping or a compiled list of names?

Worst case, I could publish to [Split's repos](https://gitlab.com/splitlinux/split-packages/) until interest emerges ...

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: Partially revert "srcpkgs/*: remove all cryptocurrency/blockchain packages"
  2023-07-01 23:05 [PR PATCH] Partially revert "srcpkgs/*: remove all cryptocurrency/blockchain packages" lemmi
                   ` (10 preceding siblings ...)
  2023-08-05 11:33 ` kevcrumb
@ 2023-08-13 21:17 ` damadmai
  2023-08-13 21:28 ` [PR REVIEW] " 0x5c
                   ` (5 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: damadmai @ 2023-08-13 21:17 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 178 bytes --]

New comment by damadmai on void-packages repository

https://github.com/void-linux/void-packages/pull/44778#issuecomment-1676464697

Comment:
@lemmi Yes, #44133 PR is up-to date

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PR REVIEW] Partially revert "srcpkgs/*: remove all cryptocurrency/blockchain packages"
  2023-07-01 23:05 [PR PATCH] Partially revert "srcpkgs/*: remove all cryptocurrency/blockchain packages" lemmi
                   ` (11 preceding siblings ...)
  2023-08-13 21:17 ` damadmai
@ 2023-08-13 21:28 ` 0x5c
  2023-08-26  8:02 ` sgn
                   ` (4 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: 0x5c @ 2023-08-13 21:28 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 274 bytes --]

New review comment by 0x5c on void-packages repository

https://github.com/void-linux/void-packages/pull/44778#discussion_r1292858368

Comment:
No need to remove that to "grandfather-in" the packages you're planning on reinstating; the other categories have such exceptions

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: Partially revert "srcpkgs/*: remove all cryptocurrency/blockchain packages"
  2023-07-01 23:05 [PR PATCH] Partially revert "srcpkgs/*: remove all cryptocurrency/blockchain packages" lemmi
                   ` (12 preceding siblings ...)
  2023-08-13 21:28 ` [PR REVIEW] " 0x5c
@ 2023-08-26  8:02 ` sgn
  2023-09-03  6:41 ` Yorizuka
                   ` (3 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: sgn @ 2023-08-26  8:02 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 241 bytes --]

New comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/pull/44778#issuecomment-1694220037

Comment:
Anychange bitcoin monero namecoin gets merged soon?

I need to keep them on the tracking list for Boost

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: Partially revert "srcpkgs/*: remove all cryptocurrency/blockchain packages"
  2023-07-01 23:05 [PR PATCH] Partially revert "srcpkgs/*: remove all cryptocurrency/blockchain packages" lemmi
                   ` (13 preceding siblings ...)
  2023-08-26  8:02 ` sgn
@ 2023-09-03  6:41 ` Yorizuka
  2023-09-03  6:43 ` Yorizuka
                   ` (2 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: Yorizuka @ 2023-09-03  6:41 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 496 bytes --]

New comment by Yorizuka on void-packages repository

https://github.com/void-linux/void-packages/pull/44778#issuecomment-1704027189

Comment:
Just leaving a comment cheering on this PR, I was not happy to see the Monero wallet removed. I am also upset at the likely politically motivated attack on what where healthy looking packages. It's one thing to not add every coin in the world, its another to remove a popular or a well maintained package for it simply being a package related to crypto.

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: Partially revert "srcpkgs/*: remove all cryptocurrency/blockchain packages"
  2023-07-01 23:05 [PR PATCH] Partially revert "srcpkgs/*: remove all cryptocurrency/blockchain packages" lemmi
                   ` (14 preceding siblings ...)
  2023-09-03  6:41 ` Yorizuka
@ 2023-09-03  6:43 ` Yorizuka
  2023-09-03 15:53 ` [PR PATCH] [Closed]: " lemmi
  2023-10-17 20:44 ` wilkart
  17 siblings, 0 replies; 19+ messages in thread
From: Yorizuka @ 2023-09-03  6:43 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 479 bytes --]

New comment by Yorizuka on void-packages repository

https://github.com/void-linux/void-packages/pull/44778#issuecomment-1704027189

Comment:
Just leaving a comment cheering on this PR, I was not happy to see the Monero wallet removed. I am also upset at the likely politically motivated attack on what where healthy looking packages. It's one thing to not add every coin in the world, its another to remove a popular or a well maintained package for it being related to crypto.

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PR PATCH] [Closed]: Partially revert "srcpkgs/*: remove all cryptocurrency/blockchain packages"
  2023-07-01 23:05 [PR PATCH] Partially revert "srcpkgs/*: remove all cryptocurrency/blockchain packages" lemmi
                   ` (15 preceding siblings ...)
  2023-09-03  6:43 ` Yorizuka
@ 2023-09-03 15:53 ` lemmi
  2023-10-17 20:44 ` wilkart
  17 siblings, 0 replies; 19+ messages in thread
From: lemmi @ 2023-09-03 15:53 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 2031 bytes --]

There's a closed pull request on the void-packages repository

Partially revert "srcpkgs/*: remove all cryptocurrency/blockchain packages"
https://github.com/void-linux/void-packages/pull/44778

Description:
I kind of hate how #44422 went down. No attempt was made to find some sort of middle ground and I wasn't able to find any sort of discussion about it. Maybe we can make up for it now.

I reverted #44422 and split it in single commits per package. If someone were to step up and take over maintenance of a package, I can revert that removal easily. But I will only do that if someone is willing to maintain a package and someone from @void-linux/pkg-committers signals support.

I'll take the first step and say I'm willing to oversee `bitcoin` and maybe `electrum`, if @ar-jan  and @damadmai (or someone else) are interested. (Which is why I left these packages in and did not add commits for them). I could probably be convinced to also oversee `go-ethereum`, since that template seems to be straight forward for now.

There are a couple of packages that were abandoned from upstream or I wasn't able to find any pull requests for, so I think they can go. I also think that we don't need to ship any miners, since at this point, it's mostly special purpose software and is probably best built directly from upstream. I also wouldn't be opposed to add the last bit to our package requirements.

Here's list of people that I was able to find that last touched some of the removed packages, so they know what's going on, or can leave comment:
 
namecoin: @Chocimier @mobinmob 
litecoin: @ahesford @ndowens 
monero: @kevcrumb @Hoshpak 
monero-gui: @kevcrumb @Hoshpak 
go-ethereum: @sihoang
bitcoin: @damadmai @unspecd  #44133
Electron-Cash: @ar-jan  #43702
electrum: @ar-jan  #43702

If this is left without any meaningful feedback for about a month, I'll close this as is. And since this is potentially a highly polarizing topic, I feel I have to ask everyone to keep it civilized in advance.

[ci-skip]

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: Partially revert "srcpkgs/*: remove all cryptocurrency/blockchain packages"
  2023-07-01 23:05 [PR PATCH] Partially revert "srcpkgs/*: remove all cryptocurrency/blockchain packages" lemmi
                   ` (16 preceding siblings ...)
  2023-09-03 15:53 ` [PR PATCH] [Closed]: " lemmi
@ 2023-10-17 20:44 ` wilkart
  17 siblings, 0 replies; 19+ messages in thread
From: wilkart @ 2023-10-17 20:44 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 600 bytes --]

New comment by wilkart on void-packages repository

https://github.com/void-linux/void-packages/pull/44778#issuecomment-1767146828

Comment:
Just for the record, I also see removing maintained and working packages (I use monero thanks to @kevcrumb) this way.

Looks like decided and done by @0x5c and @leahneukirchen

I understand reasoning of building them but I have impression they should be placed in
https://docs.voidlinux.org/xbps/repositories/restricted.html
if there is really IRC based discussion and concensus of this decision.

With all respect to Void commiters and maintainers. 

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2023-10-17 20:44 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-01 23:05 [PR PATCH] Partially revert "srcpkgs/*: remove all cryptocurrency/blockchain packages" lemmi
2023-07-01 23:21 ` damadmai
2023-07-02 11:24 ` ar-jan
2023-07-02 22:00 ` Clos3y
2023-07-04  9:12 ` kevcrumb
2023-07-12  8:16 ` Clos3y
2023-07-19  9:09 ` lemmi
2023-07-19 10:32 ` ar-jan
2023-07-31 19:51 ` lemmi
2023-07-31 19:52 ` damadmai
2023-07-31 19:56 ` lemmi
2023-08-05 11:33 ` kevcrumb
2023-08-13 21:17 ` damadmai
2023-08-13 21:28 ` [PR REVIEW] " 0x5c
2023-08-26  8:02 ` sgn
2023-09-03  6:41 ` Yorizuka
2023-09-03  6:43 ` Yorizuka
2023-09-03 15:53 ` [PR PATCH] [Closed]: " lemmi
2023-10-17 20:44 ` wilkart

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).