commit: 37dc599ee3c1aa86e76a711818b78331e1176049 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Wed Jun 4 02:30:51 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Wed Jun 4 02:31:25 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37dc599e
net-misc/kafka-bin: add fallback SRC_URI Apache moves non-latest versions to a separate archive. Bug: https://bugs.gentoo.org/640600 Bug: https://bugs.gentoo.org/872182 Signed-off-by: Sam James <sam <AT> gentoo.org> net-misc/kafka-bin/kafka-bin-3.9.1.ebuild | 5 ++++- net-misc/kafka-bin/kafka-bin-4.0.0.ebuild | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/net-misc/kafka-bin/kafka-bin-3.9.1.ebuild b/net-misc/kafka-bin/kafka-bin-3.9.1.ebuild index 1edc3302df1c..cfc6f45cab0e 100644 --- a/net-misc/kafka-bin/kafka-bin-3.9.1.ebuild +++ b/net-misc/kafka-bin/kafka-bin-3.9.1.ebuild @@ -10,7 +10,10 @@ HOMEPAGE="https://kafka.apache.org/" SCALA_VERSION=2.13 MY_PN="kafka" MY_P="${MY_PN}_${SCALA_VERSION}-${PV}" -SRC_URI="mirror://apache/kafka/${PV}/${MY_P}.tgz" +SRC_URI=" + mirror://apache/${MY_PN}/${PV}/${MY_P}.tgz + https://archive.apache.org/dist/${MY_PN}/${PV}/${MY_P}.tgz +" RESTRICT="mirror" diff --git a/net-misc/kafka-bin/kafka-bin-4.0.0.ebuild b/net-misc/kafka-bin/kafka-bin-4.0.0.ebuild index f86188d91df6..46c62e04a87e 100644 --- a/net-misc/kafka-bin/kafka-bin-4.0.0.ebuild +++ b/net-misc/kafka-bin/kafka-bin-4.0.0.ebuild @@ -10,7 +10,10 @@ HOMEPAGE="https://kafka.apache.org/" SCALA_VERSION=2.13 MY_PN="kafka" MY_P="${MY_PN}_${SCALA_VERSION}-${PV}" -SRC_URI="mirror://apache/kafka/${PV}/${MY_P}.tgz" +SRC_URI=" + mirror://apache/${MY_PN}/${PV}/${MY_P}.tgz + https://archive.apache.org/dist/${MY_PN}/${PV}/${MY_P}.tgz +" RESTRICT="mirror"
