public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] [PATCH] skel.ebuild: update SRC_URI
@ 2025-06-28 10:49 kangie
  2025-06-28 14:16 ` Ulrich Müller
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: kangie @ 2025-06-28 10:49 UTC (permalink / raw
  To: gentoo-dev; +Cc: Matt Jolly

From: Matt Jolly <kangie@gentoo.org>

In 2025 FTP is increasingly uncommon. The world we live in is (mostly)
HTTPS, and SRC_URI should reflect that.

Add additional commentry about (and use SRC_URI to show an example of)
renaming the distfile with `->` when required.

Signed-off-by: Matt Jolly <kangie@gentoo.org>
---
 skel.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/skel.ebuild b/skel.ebuild
index 437e0d5c569d..29e679528778 100644
--- a/skel.ebuild
+++ b/skel.ebuild
@@ -29,8 +29,8 @@ DESCRIPTION="This is a sample skeleton ebuild file"
 HOMEPAGE="https://foo.example.org/"
 
 # Point to any required sources; these will be automatically downloaded by
-# Portage.
-SRC_URI="ftp://foo.example.org/${P}.tar.gz"
+# Portage. If a file needs to be renamed, use the "->" syntax.
+SRC_URI="https://files.example.org/foo/v${PV}.tar.xz -> ${P}.tar.xz"
 
 # Source directory; the dir where the sources can be found (automatically
 # unpacked) inside ${WORKDIR}.  The default value for S is ${WORKDIR}/${P}
-- 
2.49.0



^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-07-05  7:07 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-28 10:49 [gentoo-dev] [PATCH] skel.ebuild: update SRC_URI kangie
2025-06-28 14:16 ` Ulrich Müller
2025-06-29  1:43   ` Ionen Wolkens
2025-06-29 12:34 ` [gentoo-dev] " Duncan
2025-07-05  7:04 ` [gentoo-dev] [PATCH v2] " kangie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox