commit:     aba7d5fcc1ab3120e028195fdd800ef667d1d361
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Oct  6 08:06:28 2019 +0000
Commit:     Göktürk Yüksek <gokturk <AT> gentoo <DOT> org>
CommitDate: Wed Oct 16 19:53:56 2019 +0000
URL:        https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=aba7d5fc

general-concepts/mirrors: Provide an example for d.g.o mirroring

Acked-by: Michael Orlitzky <mjo <AT> gentoo.org>
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
Signed-off-by: Göktürk Yüksek <gokturk <AT> gentoo.org>

 general-concepts/mirrors/text.xml | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/general-concepts/mirrors/text.xml 
b/general-concepts/mirrors/text.xml
index 214fbe4..42fef3f 100644
--- a/general-concepts/mirrors/text.xml
+++ b/general-concepts/mirrors/text.xml
@@ -98,8 +98,14 @@ requirement of the license.
 
 <p>
 When you upload the file to <c>dev.gentoo.org:~/public_html</c>, you must 
ensure that it, and its
-parent directories, are world-readable.
+parent directories, are world-readable.  An example <c>SRC_URI</c> referencing
+a distfile mirrored this way follows:
 </p>
+
+<codesample lang="ebuild">
+SRC_URI="https://dev.gentoo.org/~myname/distfiles/${P}.tar.gz";
+</codesample>
+
 </body>
 </subsection>
 </section>

Reply via email to