commit: 84aba79a7467e79610d44c7d93287d1944b4e40b Author: Emanuele Torre <torreemanuele6 <AT> gmail <DOT> com> AuthorDate: Mon Jan 20 03:47:42 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Mon Jan 20 04:12:26 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84aba79a
net-misc/trurl: Install from release tarball instead of git tag Since version 0.14, you are supposed to install trurl from the release tarball instead of just using the source code at the git tag of the release. The release tarball includes a precompiled trurl.1 man page that is not included in git tree, and is not built by trurl because it requires a script from the curl git repo. I had to workaround the "trurl-0.16.tar.gz" distfile already existing on mirrors for the git tag tarball https://github.com/curl/trurl/archive/refs/tags/trurl-0.16.tar.gz renaming the distfile "trurl-0.16-tmp.tar.gz"; this can be removed at the next release. Ref: https://github.com/curl/trurl/issues/380 Signed-off-by: Emanuele Torre <torreemanuele6 <AT> gmail.com> Closes: https://github.com/gentoo/gentoo/pull/40218 Signed-off-by: Sam James <sam <AT> gentoo.org> net-misc/trurl/Manifest | 2 +- net-misc/trurl/{trurl-0.16.ebuild => trurl-0.16-r1.ebuild} | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/net-misc/trurl/Manifest b/net-misc/trurl/Manifest index 7b709110ceaf..285f2c40663a 100644 --- a/net-misc/trurl/Manifest +++ b/net-misc/trurl/Manifest @@ -1 +1 @@ -DIST trurl-0.16.tar.gz 54414 BLAKE2B ace93c0ec54e81131bed91a78092bb5a2768a92cf2dee763f29327221a2b5ac3f657c7500e1f1cb895a29c1dd73500c15140eaadede72a6ee57a31d7ebe5c414 SHA512 4411769ba36109dc0e0c27ff605b7b6eb9dc9da3ab53290dc0049f44d853f7363699a9e22716dbf4c2d912f5c0c1556ea0d14f55475f44b48ea2e320b00a75e7 +DIST trurl-0.16-tmp.tar.gz 59327 BLAKE2B d349cf57eb4ad048a9d4a15aac0d0f9e6e577f379eb97b21530d2e080d78e1cb333aca7625805e0e6e555f356bad985e0961c43d499d02b9369b505b8c8d2757 SHA512 da4f7afd4a0685037549543ece23ad30d8f98ed9613d9050cbb269524ea4242d097bf74f7642c386d664eb2f24aff910f3cae9c8efda0e6a4f6a2a644a8c82f2 diff --git a/net-misc/trurl/trurl-0.16.ebuild b/net-misc/trurl/trurl-0.16-r1.ebuild similarity index 74% rename from net-misc/trurl/trurl-0.16.ebuild rename to net-misc/trurl/trurl-0.16-r1.ebuild index 0818842536b1..227ea49cde7b 100644 --- a/net-misc/trurl/trurl-0.16.ebuild +++ b/net-misc/trurl/trurl-0.16-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 2023-2024 Gentoo Authors +# Copyright 2023-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -13,9 +13,10 @@ if [[ ${PV} == 9999 ]] ; then EGIT_REPO_URI="https://github.com/curl/trurl" inherit git-r3 else - SRC_URI="https://github.com/curl/trurl/archive/refs/tags/${P}.tar.gz" - S="${WORKDIR}"/${PN}-${P} - + ## Temporary workaround for trurl-0.16.gz already existing as a different + ## file in mirrors. + SRC_URI="https://github.com/curl/trurl/releases/download/${P}/${P}.tar.gz -> ${P}-tmp.tar.gz" ## + #SRC_URI="https://github.com/curl/trurl/releases/download/${P}/${P}.tar.gz" KEYWORDS="~amd64 ~arm ~arm64" fi
