From bc2b5c2295af97bc365f986b84d153213903fa2a Mon Sep 17 00:00:00 2001 From: 0x5c Date: Wed, 14 Jun 2023 01:00:44 -0400 Subject: [PATCH] srcpkgs/*: remove all cryptocurrency/blockchain packages --- 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 | 19 +++- srcpkgs/swarm/template | 13 --- 43 files changed, 18 insertions(+), 1055 deletions(-) delete mode 100644 srcpkgs/Electron-Cash/template delete mode 120000 srcpkgs/bitcoin-devel delete mode 120000 srcpkgs/bitcoin-qt delete mode 100644 srcpkgs/bitcoin/patches/fix-test.patch delete mode 100644 srcpkgs/bitcoin/template delete mode 100644 srcpkgs/bitcoin/update delete mode 100644 srcpkgs/cointop/template delete mode 100644 srcpkgs/cpuminer/template delete mode 100644 srcpkgs/electrum-ltc/patches/no-certifi.patch delete mode 100644 srcpkgs/electrum-ltc/template delete mode 100644 srcpkgs/electrum/files/README.voidlinux delete mode 100644 srcpkgs/electrum/template delete mode 100644 srcpkgs/electrum/update delete mode 120000 srcpkgs/geth delete mode 100644 srcpkgs/go-ethereum/template delete mode 120000 srcpkgs/libbitcoin-secp256k1-devel delete mode 100644 srcpkgs/libbitcoin-secp256k1/template delete mode 100644 srcpkgs/litecoin/patches/fix-include.patch delete mode 100644 srcpkgs/litecoin/template delete mode 120000 srcpkgs/monero-devel 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 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 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 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 delete mode 100644 srcpkgs/swarm/template diff --git a/common/shlibs b/common/shlibs index 005700403d0d..638f498883e8 100644 --- a/common/shlibs +++ b/common/shlibs @@ -3672,7 +3672,6 @@ 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 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 " -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 deleted file mode 120000 index f3c13956326c..000000000000 --- a/srcpkgs/bitcoin-devel +++ /dev/null @@ -1 +0,0 @@ -bitcoin \ No newline at end of file diff --git a/srcpkgs/bitcoin-qt b/srcpkgs/bitcoin-qt deleted file mode 120000 index f3c13956326c..000000000000 --- a/srcpkgs/bitcoin-qt +++ /dev/null @@ -1 +0,0 @@ -bitcoin \ No newline at end of file diff --git a/srcpkgs/bitcoin/patches/fix-test.patch b/srcpkgs/bitcoin/patches/fix-test.patch deleted file mode 100644 index 0004fd7358a5..000000000000 --- a/srcpkgs/bitcoin/patches/fix-test.patch +++ /dev/null @@ -1,22 +0,0 @@ -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 deleted file mode 100644 index cf464ce35c46..000000000000 --- a/srcpkgs/bitcoin/template +++ /dev/null @@ -1,74 +0,0 @@ -# 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 " -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 deleted file mode 100644 index b28ea45c0898..000000000000 --- a/srcpkgs/bitcoin/update +++ /dev/null @@ -1,2 +0,0 @@ -site="https://bitcoin.org/bin/" -pattern='bitcoin-core-\K[\d.]+' 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 " -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 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 " -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 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 " -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 deleted file mode 100644 index 9ba377487dac..000000000000 --- a/srcpkgs/electrum/files/README.voidlinux +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index dcabed755423..000000000000 --- a/srcpkgs/electrum/template +++ /dev/null @@ -1,31 +0,0 @@ -# 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 " -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 deleted file mode 100644 index 4b1b69c33225..000000000000 --- a/srcpkgs/electrum/update +++ /dev/null @@ -1,3 +0,0 @@ -site="https://download.electrum.org" -pattern=')' - 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 " -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 deleted file mode 120000 index 527eb8d59d7e..000000000000 --- a/srcpkgs/libbitcoin-secp256k1-devel +++ /dev/null @@ -1 +0,0 @@ -libbitcoin-secp256k1 \ No newline at end of file diff --git a/srcpkgs/libbitcoin-secp256k1/template b/srcpkgs/libbitcoin-secp256k1/template deleted file mode 100644 index 42f5ad1ded0e..000000000000 --- a/srcpkgs/libbitcoin-secp256k1/template +++ /dev/null @@ -1,35 +0,0 @@ -# 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 " -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 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 - -+#include - #include -+#include - #include - - static std::shared_ptr 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 - #include - -+#include - #include -+#include - - #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 - #include - -+#include -+ - static const std::array confTargets = { {2, 4, 6, 12, 24, 48, 144, 504, 1008} }; - int getConfTargetForIndex(int index) { - if (index+1 > static_cast(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 - #include - #include -+#include - - #include - #include ---- 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 - #include - -+#include - #include - #include - #include 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 " -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 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-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 " -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/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() && 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 - #include - #include -+ -+#include -+#include -+#include -+#include -+ - 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 - #include - #include -+#include - #include - #include - #include 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 --#include --#include -+// We have to look for miniupnpc headers in different places, dependent on if its compiled or external -+#ifdef UPNP_STATIC -+ #include -+ #include -+ #include -+#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 " -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/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>()), 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 - -+#include - #include -+#include - #include - - static std::shared_ptr 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 - #include - -+#include - #include -+#include - - #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 - #include - -+#include -+ - static const std::array confTargets = { {2, 4, 6, 12, 24, 48, 144, 504, 1008} }; - int getConfTargetForIndex(int index) { - if (index+1 > static_cast(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 - #include - -+#include - #include - #include - #include -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 - #include - #include -+#include - - #include - #include -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 - #include - #include -+#include - - /** 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 " -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;;;" -} - -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/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 " -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 9b0ce9c93fce..bba316005400 100644 --- a/srcpkgs/removed-packages/template +++ b/srcpkgs/removed-packages/template @@ -1,6 +1,6 @@ # Template file for 'removed-packages' pkgname=removed-packages -version=0.1.20230506 +version=0.1.20230614 revision=1 build_style=meta short_desc="Uninstalls packages removed from repository" @@ -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 @@ -39,6 +40,7 @@ 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 @@ -58,6 +60,8 @@ replaces=" cgminer<=4.11.1_1 clamz<=0.5_4 clementine-spotify<=1.4.0rc1-343-gb49afcc5b + cpuminer<=2.5.1_1 + cointop<=1.6.10_1 compton-conf<=0.15.0_1 couchdb<=1.7.1_2 couchpotato<=3.0.1_3 @@ -101,6 +105,8 @@ replaces=" electron13<=13.6.7_1 electron7<=7.3.3_1 electron9<=9.4.1_1 + electrum<=4.2.0_3 + electrum-ltc<=3.3.8.1_4 emacs-gtk2<=27.2_1 empathy<=3.12.14_4 enventor<=1.0.0_2 @@ -121,6 +127,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 @@ -140,6 +147,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 @@ -285,6 +293,8 @@ replaces=" libbitcoin-node-devel<=3.6.0_10 libbitcoin-protocol<=3.6.0_10 libbitcoin-protocol-devel<=3.6.0_10 + libbitcoin-secp256k1<=0.1.0.13_1 + libbitcoin-secp256k1-devel<=0.1.0.13_1 libbitcoin-server<=3.6.0_10 libbitcoin-server-devel<=3.6.0_10 libbitcoin-system<=3.6.0_10 @@ -337,6 +347,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 @@ -354,6 +365,9 @@ replaces=" mimms<=3.2.1_4 miro-video-converter<=3.0.2_3 mirrorbits<=0.5.1_1 + monero<=0.18.1.2_4 + monero-devel<=0.18.1.2_4 + monero-gui<=0.18.1.2_4 mongroup<=0.4.1_2 mopidy-spotify<=4.0.1_5 mozjs68<=68.11.0_1 @@ -363,6 +377,7 @@ replaces=" mpir<=3.0.0_1 mpir-devel<=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 @@ -371,6 +386,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 @@ -539,6 +555,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 " -license="GPL-3.0-only" -homepage="https://swarm.ethereum.org" -distfiles="https://${go_import_path}/archive/v${version}.tar.gz" -checksum=027521fc7eec4d579406edefdd6c37b3af5009295bae24597bb26fc1f6844ce7