-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Partially revert "srcpkgs/*: remove all cryptocurrency/blockchain packages" #44778
Closed
Closed
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
d306786
Revert "srcpkgs/*: remove all cryptocurrency/blockchain packages"
lemmi b3ef19d
Electron-Cash: remove package
lemmi 4e9a571
cointop: remove package
lemmi e7ff584
cpuminer: remove package
lemmi 130504a
namecoin: remove package
lemmi 9f4b917
nxt: remove package
lemmi 024bd44
swarm: remove package
lemmi 4bda4b2
litecoin: remove package
lemmi c6d5c53
monero-gui: remove package
lemmi 7df87db
monero: remove package
lemmi 92eb672
electrum-ltc: remove package
lemmi 3c35389
go-ethereum: remove package
lemmi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
bitcoin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
bitcoin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
Index: bitcoin-22.0/src/wallet/test/init_tests.cpp | ||
=================================================================== | ||
--- bitcoin-22.0.orig/src/wallet/test/init_tests.cpp | ||
+++ bitcoin-22.0/src/wallet/test/init_tests.cpp | ||
@@ -69,7 +69,7 @@ BOOST_AUTO_TEST_CASE(walletinit_verify_w | ||
BOOST_CHECK(result == true); | ||
fs::path walletdir = gArgs.GetArg("-walletdir", ""); | ||
fs::path expected_path = fs::canonical(m_walletdir_path_cases["default"]); | ||
- BOOST_CHECK_EQUAL(walletdir, expected_path); | ||
+ BOOST_TEST(fs::equivalent(walletdir, expected_path)); | ||
} | ||
|
||
BOOST_AUTO_TEST_CASE(walletinit_verify_walletdir_no_trailing2) | ||
@@ -79,7 +79,7 @@ BOOST_AUTO_TEST_CASE(walletinit_verify_w | ||
BOOST_CHECK(result == true); | ||
fs::path walletdir = gArgs.GetArg("-walletdir", ""); | ||
fs::path expected_path = fs::canonical(m_walletdir_path_cases["default"]); | ||
- BOOST_CHECK_EQUAL(walletdir, expected_path); | ||
+ BOOST_TEST(fs::equivalent(walletdir, expected_path)); | ||
} | ||
|
||
BOOST_AUTO_TEST_SUITE_END() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
# Template file for 'bitcoin' | ||
pkgname=bitcoin | ||
version=22.0 | ||
revision=5 | ||
build_style=gnu-configure | ||
configure_args="--with-incompatible-bdb --disable-ccache --disable-static | ||
--enable-hardening --with-boost=${XBPS_CROSS_BASE}/usr --with-gui" | ||
hostmakedepends="automake libtool pkg-config yasm" | ||
makedepends="db-devel boost-devel miniupnpc-devel qt5-tools-devel | ||
libevent-devel qrencode-devel libatomic-devel sqlite-devel" | ||
short_desc="Bitcoin is a peer-to-peer network based digital currency" | ||
maintainer="Daniel A. Maierhofer <git@damadmai.at>" | ||
license="MIT" | ||
homepage="https://bitcoin.org/" | ||
distfiles="https://bitcoin.org/bin/bitcoin-core-${version}/bitcoin-${version}.tar.gz | ||
https://raw.githubusercontent.com/bitcoin-core/packaging/${version%.*}.x/debian/bitcoin-qt.desktop | ||
https://raw.githubusercontent.com/bitcoin/bitcoin/v${version}/share/pixmaps/bitcoin128.png" | ||
checksum="d0e9d089b57048b1555efa7cd5a63a7ed042482045f6f33402b1df425bf9613b | ||
0a46bbadda140599e807be38999e6848c89f9c3523d26fede02d34d62d50f632 | ||
ad880c8459ecfdb96abe6a4689af06bdd27906e0edcd39d0915482f2da91e722" | ||
conflicts="litecoin>=0" # Both provide libbitcoinconsensus.so.0 | ||
skip_extraction="bitcoin-qt.desktop bitcoin128.png" | ||
|
||
if [ "$CROSS_BUILD" ]; then | ||
hostmakedepends+=" qt5-host-tools" | ||
fi | ||
|
||
pre_configure() { | ||
autoreconf -fi | ||
case "$XBPS_TARGET_MACHINE" in | ||
aarch64*) | ||
CFLAGS=${CFLAGS/armv8-a/armv8-a+crc+crypto} | ||
CXXFLAGS=${CXXFLAGS/armv8-a/armv8-a+crc+crypto} | ||
;; | ||
esac | ||
} | ||
|
||
pre_build() { | ||
export BITCOIN_GENBUILD_NO_GIT=1 | ||
} | ||
|
||
post_install() { | ||
rm "${DESTDIR}"/usr/bin/{test,bench}_bitcoin | ||
|
||
for b in bitcoind bitcoin-cli bitcoin-tx; do | ||
vcompletion contrib/${b}.bash-completion bash $b | ||
done | ||
|
||
vlicense COPYING | ||
} | ||
|
||
bitcoin-devel_package() { | ||
depends="${sourcepkg}>=${version}_${revision}" | ||
short_desc+=" - development files" | ||
pkg_install() { | ||
vmove usr/include | ||
vmove usr/lib/pkgconfig | ||
vmove "usr/lib/*.so" | ||
vdoc doc/shared-libraries.md # Provides information on libbitcoinconsensus | ||
} | ||
} | ||
|
||
bitcoin-qt_package() { | ||
depends="desktop-file-utils" | ||
short_desc+=" - QT GUI" | ||
pkg_install() { | ||
vmove usr/bin/bitcoin-qt | ||
vmove usr/share/man/man1/bitcoin-qt.1 | ||
vinstall ${XBPS_SRCDISTDIR}/${sourcepkg}-${version}/bitcoin-qt.desktop 644 usr/share/applications | ||
vinstall ${XBPS_SRCDISTDIR}/${sourcepkg}-${version}/bitcoin128.png 644 usr/share/pixmaps | ||
vlicense COPYING | ||
rm "${DESTDIR}"/usr/bin/test_bitcoin-qt | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
site="https://bitcoin.org/bin/" | ||
pattern='bitcoin-core-\K[\d.]+' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Some optional packages must be installed for additional functionality: | ||
|
||
- python3-matplotlib: plot transaction history in graphical mode |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# Template file for 'electrum' | ||
pkgname=electrum | ||
version=4.2.0 | ||
revision=3 | ||
build_style=python3-module | ||
hostmakedepends="python3-setuptools python3-PyQt5-devel-tools" | ||
depends="python3-aiohttp python3-aiohttp_socks python3-aiorpcx | ||
python3-bitstring python3-dnspython python3-ecdsa python3-jsonrpclib | ||
python3-protobuf python3-pyaes python3-pycryptodomex python3-PyQt5 | ||
python3-qrcode python3-socks python3-cryptography libbitcoin-secp256k1 | ||
python3-certifi" | ||
# Optional dependencies: | ||
# btchip - BTChip hardware wallet support | ||
# trezor - TREZOR hardware wallet support | ||
# keepkey - KeepKey hardware wallet support | ||
# qdarkstyle - Dark theme | ||
checkdepends="$depends python3-pytest" | ||
short_desc="Lightweight Bitcoin wallet" | ||
maintainer="Charles E. Lehner <cel@celehner.com>" | ||
license="MIT" | ||
homepage="https://electrum.org/" | ||
distfiles="https://github.com/spesmilo/electrum/archive/${version}.tar.gz" | ||
checksum=3a24c7ed7a2bb47888f308380b8624a3fff3cf3882fd63d904cd9c3ec543fb3b | ||
|
||
post_install() { | ||
vsed -i -e 's|electrum %u|electrum|' \ | ||
-e 's|testnet %u|testnet|' \ | ||
${DESTDIR}/usr/share/applications/electrum.desktop | ||
vlicense LICENCE | ||
vdoc "${FILESDIR}/README.voidlinux" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
site="https://download.electrum.org" | ||
pattern='<a href="\K[\d.]+(?=/">)' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
libbitcoin-secp256k1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# Template file for 'libbitcoin-secp256k1' | ||
pkgname=libbitcoin-secp256k1 | ||
version=0.1.0.13 | ||
revision=1 | ||
build_style=gnu-configure | ||
configure_args="--disable-benchmark --disable-coverage --disable-jni | ||
--disable-openssl-tests --enable-exhaustive-tests --enable-module-recovery | ||
--enable-tests --with-gnu-ld" | ||
hostmakedepends="autoconf automake libtool m4 pkg-config" | ||
short_desc="Optimized C library for EC operations on curve secp256k1" | ||
maintainer="Andy Weidenbaum <atweiden@tutanota.de>" | ||
license="MIT" | ||
homepage="https://github.com/libbitcoin/secp256k1" | ||
distfiles="https://github.com/libbitcoin/secp256k1/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz" | ||
checksum=9e48dbc88d0fb5646d40ea12df9375c577f0e77525e49833fb744d3c2a69e727 | ||
|
||
pre_configure() { | ||
./autogen.sh | ||
} | ||
|
||
post_install() { | ||
vlicense COPYING | ||
vdoc README.md | ||
} | ||
|
||
libbitcoin-secp256k1-devel_package() { | ||
short_desc+=" - development files" | ||
depends="${sourcepkg}>=${version}_${revision}" | ||
pkg_install() { | ||
vmove usr/include | ||
vmove "usr/lib/*.a" | ||
vmove "usr/lib/*.so" | ||
vmove usr/lib/pkgconfig | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No need to remove that to "grandfather-in" the packages you're planning on reinstating; the other categories have such exceptions