srcpkgs/*: remove all cryptocurrency/blockchain packages

This commit is contained in:
0x5c 2023-06-14 01:00:44 -04:00 committed by Leah Neukirchen
parent 284716ee4f
commit 6ad1182900
44 changed files with 19 additions and 1055 deletions

View File

@ -20,6 +20,7 @@ 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.

View File

@ -3671,7 +3671,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

View File

@ -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
}

View File

@ -1 +0,0 @@
bitcoin

View File

@ -1 +0,0 @@
bitcoin

View File

@ -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()

View File

@ -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 <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
}
}

View File

@ -1,2 +0,0 @@
site="https://bitcoin.org/bin/"
pattern='bitcoin-core-\K[\d.]+'

View File

@ -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

View File

@ -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

View File

@ -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:

View File

@ -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
}

View File

@ -1,3 +0,0 @@
Some optional packages must be installed for additional functionality:
- python3-matplotlib: plot transaction history in graphical mode

View File

@ -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 <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"
}

View File

@ -1,3 +0,0 @@
site="https://download.electrum.org"
pattern='<a href="\K[\d.]+(?=/">)'

View File

@ -1 +0,0 @@
go-ethereum

View File

@ -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
}
}

View File

@ -1 +0,0 @@
libbitcoin-secp256k1

View File

@ -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 <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
}
}

View File

@ -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>

View File

@ -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}
}

View File

@ -1 +0,0 @@
monero

View File

@ -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.

View File

@ -1 +0,0 @@
../monero/patches

View File

@ -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
}

View File

@ -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")'

View File

@ -1,3 +0,0 @@
#!/bin/sh
exec 2>&1
exec chpst -u monero:monero /usr/bin/monerod --non-interactive --config-file /etc/monerod.conf

View File

@ -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

View File

@ -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>

View File

@ -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")

View File

@ -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"

View File

@ -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
}
}

View File

@ -1,2 +0,0 @@
site="https://github.com/monero-project/monero/tags"
pattern='/archive/refs/tags/(v?|\Qmonero\E-)?\K[\d\.]+(?=\.tar\.gz")'

View File

@ -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, "

View File

@ -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
*

View File

@ -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
}

View File

@ -1 +0,0 @@
pattern='/archive/refs/tags/(nc|v?|\Q'"$pkgname"'\E-)?\K[\d\.]+(?=\.tar\.gz")'

View File

@ -1,2 +0,0 @@
#!/bin/sh
cd /usr/lib/nxt && bash run.sh

View File

@ -1,2 +0,0 @@
#!/bin/sh
cd /usr/lib/nxt && bash run-tor.sh

View File

@ -1,4 +0,0 @@
#!/bin/sh
exec 2>&1
sv check tor >/dev/null || exit 1
exec nxt-tor > /dev/null

View File

@ -1,3 +0,0 @@
#!/bin/sh
exec 2>&1
exec nxt > /dev/null

View File

@ -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}
}

View File

@ -1,6 +1,6 @@
# Template file for 'removed-packages'
pkgname=removed-packages
version=0.1.20230516
version=0.1.20230618
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
@ -122,6 +128,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
@ -141,6 +148,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
@ -289,6 +297,8 @@ 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
@ -342,6 +352,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
@ -359,6 +370,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
@ -368,6 +382,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
@ -376,6 +391,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
@ -545,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

View File

@ -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