commit:     f0041d559c06709e0fa51c57aaae4ae2ca50720b
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 30 23:15:21 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Sep 30 23:24:25 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0041d55

net-p2p/bitcoind: fix StaticSrcUri

Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-p2p/bitcoind/bitcoind-0.21.0.ebuild | 2 +-
 net-p2p/bitcoind/bitcoind-0.21.1.ebuild | 2 +-
 net-p2p/bitcoind/bitcoind-21.2.ebuild   | 2 +-
 net-p2p/bitcoind/bitcoind-22.0.ebuild   | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/net-p2p/bitcoind/bitcoind-0.21.0.ebuild 
b/net-p2p/bitcoind/bitcoind-0.21.0.ebuild
index 70bebb6cd408..2d24cac58585 100644
--- a/net-p2p/bitcoind/bitcoind-0.21.0.ebuild
+++ b/net-p2p/bitcoind/bitcoind-0.21.0.ebuild
@@ -14,7 +14,7 @@ DESCRIPTION="Original Bitcoin crypto-currency wallet for 
automated services"
 HOMEPAGE="https://bitcoincore.org/ https://bitcoinknots.org/";
 SRC_URI="
        
https://github.com/bitcoin/bitcoin/archive/${BITCOINCORE_COMMITHASH}.tar.gz -> 
bitcoin-v${PV}.tar.gz
-       
https://bitcoinknots.org/files/0.21.x/${KNOTS_PV}/${KNOTS_P}.patches.txz -> 
${KNOTS_P}.patches.tar.xz
+       https://bitcoinknots.org/files/$(ver_cut 
1-2).x/${KNOTS_PV}/${KNOTS_P}.patches.txz -> ${KNOTS_P}.patches.tar.xz
 "
 
 LICENSE="MIT"

diff --git a/net-p2p/bitcoind/bitcoind-0.21.1.ebuild 
b/net-p2p/bitcoind/bitcoind-0.21.1.ebuild
index 56d810b91a5a..421be18661fa 100644
--- a/net-p2p/bitcoind/bitcoind-0.21.1.ebuild
+++ b/net-p2p/bitcoind/bitcoind-0.21.1.ebuild
@@ -14,7 +14,7 @@ DESCRIPTION="Original Bitcoin crypto-currency wallet for 
automated services"
 HOMEPAGE="https://bitcoincore.org/ https://bitcoinknots.org/";
 SRC_URI="
        
https://github.com/bitcoin/bitcoin/archive/${BITCOINCORE_COMMITHASH}.tar.gz -> 
bitcoin-v${PV}.tar.gz
-       
https://bitcoinknots.org/files/0.21.x/${KNOTS_PV}/${KNOTS_P}.patches.txz -> 
${KNOTS_P}.patches.tar.xz
+       https://bitcoinknots.org/files/$(ver_cut 
1-2).x/${KNOTS_PV}/${KNOTS_P}.patches.txz -> ${KNOTS_P}.patches.tar.xz
 "
 
 LICENSE="MIT"

diff --git a/net-p2p/bitcoind/bitcoind-21.2.ebuild 
b/net-p2p/bitcoind/bitcoind-21.2.ebuild
index dff2239e6a07..f986861dc036 100644
--- a/net-p2p/bitcoind/bitcoind-21.2.ebuild
+++ b/net-p2p/bitcoind/bitcoind-21.2.ebuild
@@ -14,7 +14,7 @@ DESCRIPTION="Original Bitcoin crypto-currency wallet for 
automated services"
 HOMEPAGE="https://bitcoincore.org/ https://bitcoinknots.org/";
 SRC_URI="
        
https://github.com/bitcoin/bitcoin/archive/${BITCOINCORE_COMMITHASH}.tar.gz -> 
bitcoin-v0.${PV}.tar.gz
-       https://bitcoinknots.org/files/21.x/${KNOTS_PV}/${KNOTS_P}.patches.txz 
-> ${KNOTS_P}.patches.tar.xz
+       https://bitcoinknots.org/files/$(ver_cut 
1).x/${KNOTS_PV}/${KNOTS_P}.patches.txz -> ${KNOTS_P}.patches.tar.xz
 "
 
 LICENSE="MIT"

diff --git a/net-p2p/bitcoind/bitcoind-22.0.ebuild 
b/net-p2p/bitcoind/bitcoind-22.0.ebuild
index df9b06d5f7a8..510d66a3ecf4 100644
--- a/net-p2p/bitcoind/bitcoind-22.0.ebuild
+++ b/net-p2p/bitcoind/bitcoind-22.0.ebuild
@@ -14,7 +14,7 @@ DESCRIPTION="Original Bitcoin crypto-currency wallet for 
automated services"
 HOMEPAGE="https://bitcoincore.org/ https://bitcoinknots.org/";
 SRC_URI="
        
https://github.com/bitcoin/bitcoin/archive/${BITCOINCORE_COMMITHASH}.tar.gz -> 
bitcoin-v${PV}.tar.gz
-       https://bitcoinknots.org/files/22.x/${KNOTS_PV}/${KNOTS_P}.patches.txz 
-> ${KNOTS_P}.patches.tar.xz
+       https://bitcoinknots.org/files/$(ver_cut 
1).x/${KNOTS_PV}/${KNOTS_P}.patches.txz -> ${KNOTS_P}.patches.tar.xz
 "
 
 LICENSE="MIT"

Reply via email to