commit:     e163dc08df7228bafeadb9a0fac092411ffb946b
Author:     Göktürk Yüksek <gokturk <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 21 02:25:48 2018 +0000
Commit:     Göktürk Yüksek <gokturk <AT> gentoo <DOT> org>
CommitDate: Sat Apr 21 02:25:48 2018 +0000
URL:        https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=e163dc08

Convert various 'http://' URIs to 'https://'

Here's the heuristic for conversion:
- If the https substitute is valid, always convert to https
- If it's a bogus URI used in an example, convert it to https
- If it's a valid URI used in an example with no valid https, leave it alone

 appendices/contributing/text.xml                   |  3 ++-
 ebuild-maintenance/maintenance-tasks/text.xml      |  4 ++--
 ebuild-writing/common-mistakes/text.xml            |  6 ++++-
 ebuild-writing/eapi/text.xml                       |  2 +-
 .../functions/src_unpack/rpm-sources/text.xml      |  4 ++--
 .../functions/src_unpack/svn-sources/text.xml      |  2 +-
 ebuild-writing/misc-files/metadata/text.xml        |  2 +-
 ebuild-writing/variables/text.xml                  | 26 +++++++++++-----------
 general-concepts/autotools/text.xml                |  3 ++-
 hosted-projects/text.xml                           |  2 +-
 quickstart/text.xml                                |  4 ++--
 11 files changed, 32 insertions(+), 26 deletions(-)

diff --git a/appendices/contributing/text.xml b/appendices/contributing/text.xml
index 5550aef..9ad2011 100644
--- a/appendices/contributing/text.xml
+++ b/appendices/contributing/text.xml
@@ -18,7 +18,8 @@ not be discussed.
 </p>
 
 <p>
-This document is licensed under the <uri 
link="http://creativecommons.org/licenses/by-sa/3.0/";>
+This document is licensed under the
+<uri link="https://creativecommons.org/licenses/by-sa/3.0/";>
 Creative Commons Attribution-ShareAlike 3.0 Unported License</uri>.
 If this is a problem, don't submit anything.
 </p>

diff --git a/ebuild-maintenance/maintenance-tasks/text.xml 
b/ebuild-maintenance/maintenance-tasks/text.xml
index 5e67a46..10e25d9 100644
--- a/ebuild-maintenance/maintenance-tasks/text.xml
+++ b/ebuild-maintenance/maintenance-tasks/text.xml
@@ -56,8 +56,8 @@ users that will use your package.  If your package is broken, 
and you are
 not sure how to get it to work, check some other distributions that have
 done their own versions of the package.  You can check
 <uri link="http://cvs.mandriva.com/cgi-bin/viewvc.cgi/SPECS/";>Mandriva</uri>
-or <uri link="http://www.debian.org/distrib/packages";>Debian</uri> or
-<uri link="http://pkgs.fedoraproject.org/cgit/rpms/";>Fedora</uri> for some
+or <uri link="https://www.debian.org/distrib/packages";>Debian</uri> or
+<uri link="https://pkgs.fedoraproject.org/cgit/rpms/";>Fedora</uri> for some
 examples.
 </p>
 

diff --git a/ebuild-writing/common-mistakes/text.xml 
b/ebuild-writing/common-mistakes/text.xml
index c188c1f..a66ec49 100644
--- a/ebuild-writing/common-mistakes/text.xml
+++ b/ebuild-writing/common-mistakes/text.xml
@@ -138,7 +138,11 @@ GCC can turn any specific warning into an error. A 
specific -Werror flag would b
 </p>
 
 <p><b>Exceptions</b><p />
-Removing "-Werror" from configure.ac can cause breakage in very rare cases 
where the configure phase relies on the exit code. See <uri 
link="http://sourceforge.net/tracker/?func=detail&amp;aid=2959749&amp;group_id=204462&amp;atid=989708";>app-emulation/open-vm-tools
 bug</uri>. But even then we remove it from the resulting Makefile.
+Removing "-Werror" from configure.ac can cause breakage in very rare
+cases where the configure phase relies on the exit code. See
+<uri 
link="https://sourceforge.net/tracker/?func=detail&amp;aid=2959749&amp;group_id=204462&amp;atid=989708";>
+app-emulation/open-vm-tools bug</uri>. But even then we remove it from
+the resulting Makefile.
 </p>
 </body>
 </subsection>

diff --git a/ebuild-writing/eapi/text.xml b/ebuild-writing/eapi/text.xml
index 0a2c3aa..3f60d1a 100644
--- a/ebuild-writing/eapi/text.xml
+++ b/ebuild-writing/eapi/text.xml
@@ -228,7 +228,7 @@ doman foo.lang.1
                </p>
                <p>Example:</p>
                <codesample lang="ebuild">
-SRC_URI="http://dl.google.com/earth/client/GE4/release_4_3/GoogleEarthLinux.bin
+SRC_URI="https://dl.google.com/earth/client/GE4/release_4_3/GoogleEarthLinux.bin
                         -&gt; GoogleEarthLinux-${PV}.bin"
                </codesample>
        </li>

diff --git a/ebuild-writing/functions/src_unpack/rpm-sources/text.xml 
b/ebuild-writing/functions/src_unpack/rpm-sources/text.xml
index 0142b2f..64ac1de 100644
--- a/ebuild-writing/functions/src_unpack/rpm-sources/text.xml
+++ b/ebuild-writing/functions/src_unpack/rpm-sources/text.xml
@@ -60,9 +60,9 @@ inherit eutils versionator rpm
 MY_PV=$(replace_version_separator 3 '-')
 MY_P=fetchmail-${MY_PV}
 
-SRC_URI="http://suse.osuosl.org/suse/i386/9.2/suse/src/${MY_P}.src.rpm";
+SRC_URI="https://suse.osuosl.org/suse/i386/9.2/suse/src/${MY_P}.src.rpm";
 DESCRIPTION="SuSE 9.2 Fetchmail Source Package"
-HOMEPAGE="http://www.suse.com";
+HOMEPAGE="https://www.suse.com";
 
 LICENSE="GPL-2 public-domain"
 SLOT="0"

diff --git a/ebuild-writing/functions/src_unpack/svn-sources/text.xml 
b/ebuild-writing/functions/src_unpack/svn-sources/text.xml
index e436c97..9e7f62f 100644
--- a/ebuild-writing/functions/src_unpack/svn-sources/text.xml
+++ b/ebuild-writing/functions/src_unpack/svn-sources/text.xml
@@ -105,7 +105,7 @@ Subversion ebuilds:
 <codesample lang="ebuild">
 inherit subversion
 
-ESVN_REPO_URI="http://tao.uab.es/ion/svn/libtu/trunk";
+ESVN_REPO_URI="https://tao.uab.es/ion/svn/libtu/trunk";
 ESVN_PROJECT="libtu-snapshot"
 </codesample>
 

diff --git a/ebuild-writing/misc-files/metadata/text.xml 
b/ebuild-writing/misc-files/metadata/text.xml
index 35179c9..1af54fa 100644
--- a/ebuild-writing/misc-files/metadata/text.xml
+++ b/ebuild-writing/misc-files/metadata/text.xml
@@ -263,7 +263,7 @@ There are also some attributes that can be used with these 
tags:
     <e>least</e> an english description.  If an additional description in
     another language is given, this attribute is used to specify the language
     used.  The format is the two-character language code as defined by the <uri
-    link="http://www.w3.org/WAI/ER/IG/ert/iso639.htm#2letter";>ISO-639-1</uri>
+    link="https://www.w3.org/WAI/ER/IG/ert/iso639.htm#2letter";>ISO-639-1</uri>
     norm.
   </ti>
 </tr>

diff --git a/ebuild-writing/variables/text.xml 
b/ebuild-writing/variables/text.xml
index 66efdb7..4829ea8 100644
--- a/ebuild-writing/variables/text.xml
+++ b/ebuild-writing/variables/text.xml
@@ -336,11 +336,11 @@ packages <d/> downloading sparc binaries on ppc would be 
a waste of bandwidth.
 </p>
 
 <codesample lang="ebuild">
-SRC_URI="http://example.com/files/${P}-core.tar.bz2
-       x86?   ( http://example.com/files/${P}/${P}-sse-asm.tar.bz2 )
-       ppc?   ( http://example.com/files/${P}/${P}-vmx-asm.tar.bz2 )
-       sparc? ( http://example.com/files/${P}/${P}-vis-asm.tar.bz2 )
-       doc?   ( http://example.com/files/${P}/${P}-docs.tar.bz2 )"
+SRC_URI="https://example.com/files/${P}-core.tar.bz2
+       x86?   ( https://example.com/files/${P}/${P}-sse-asm.tar.bz2 )
+       ppc?   ( https://example.com/files/${P}/${P}-vmx-asm.tar.bz2 )
+       sparc? ( https://example.com/files/${P}/${P}-vis-asm.tar.bz2 )
+       doc?   ( https://example.com/files/${P}/${P}-docs.tar.bz2 )"
 </codesample>
 
 <p>
@@ -350,14 +350,14 @@ generally to install <e>all</e> available components.
 </p>
 
 <codesample lang="ebuild">
-SRC_URI="http://example.com/files/${P}-core.tar.bz2
-       examplecards_foo?  ( http://example.com/files/${P}-foo.tar.bz2 )
-       examplecards_bar?  ( http://example.com/files/${P}-bar.tar.bz2 )
-       examplecards_baz?  ( http://example.com/files/${P}-baz.tar.bz2 )
+SRC_URI="https://example.com/files/${P}-core.tar.bz2
+       examplecards_foo?  ( https://example.com/files/${P}-foo.tar.bz2 )
+       examplecards_bar?  ( https://example.com/files/${P}-bar.tar.bz2 )
+       examplecards_baz?  ( https://example.com/files/${P}-baz.tar.bz2 )
        !examplecards_foo? ( !examplecards_bar? ( !examplecards_baz? (
-               http://example.com/files/${P}-foo.tar.bz2
-               http://example.com/files/${P}-bar.tar.bz2
-               http://example.com/files/${P}-baz.tar.bz2 ) ) )"
+               https://example.com/files/${P}-foo.tar.bz2
+               https://example.com/files/${P}-bar.tar.bz2
+               https://example.com/files/${P}-baz.tar.bz2 ) ) )"
 </codesample>
 
 </body>
@@ -381,7 +381,7 @@ Here we download a file from upstream which has a plain 
name like
 </p>
 
 <codesample lang="ebuild">
-SRC_URI="http://example.com/files/${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI="https://example.com/files/${PV}.tar.gz -> ${P}.tar.gz"
 </codesample>
 
 </body>

diff --git a/general-concepts/autotools/text.xml 
b/general-concepts/autotools/text.xml
index d57356a..6c6561a 100644
--- a/general-concepts/autotools/text.xml
+++ b/general-concepts/autotools/text.xml
@@ -653,7 +653,8 @@ For more details on autotools:
     The book "GNU Autoconf, Automake and Libtool" by Gary V. Vaughan, Ben
     Elliston, Tom Tromey  and Ian Lance Taylor   (often called "The Autobook")
     provides a good but somewhat outdated description of autotools. It is
-    <uri link="http://sources.redhat.com/autobook/";>freely available 
online</uri>.
+    <uri link="https://sources.redhat.com/autobook/";>freely available
+    online</uri>.
   </li>
   <li>
     The GNU documentation for the various autotools components is of varying

diff --git a/hosted-projects/text.xml b/hosted-projects/text.xml
index d662d20..b5eb0ce 100644
--- a/hosted-projects/text.xml
+++ b/hosted-projects/text.xml
@@ -154,7 +154,7 @@ Good places to look for further hints include:
       Project</uri>
   </li>
   <li>
-    <uri link="http://www.w3.org/WAI/Resources/#gl";>W3C Web Accessibility
+    <uri link="https://www.w3.org/WAI/Resources/#gl";>W3C Web Accessibility
       Initiative Guidelines</uri>
   </li>
 </ul>

diff --git a/quickstart/text.xml b/quickstart/text.xml
index a8c1752..fd7e677 100644
--- a/quickstart/text.xml
+++ b/quickstart/text.xml
@@ -331,7 +331,7 @@ replacement iconv for <c>libc</c> implementations which 
don't have their own.
 EAPI=5
 
 DESCRIPTION="GNU charset conversion library for libc which doesn't implement 
it"
-HOMEPAGE="http://www.gnu.org/software/libiconv/";
+HOMEPAGE="https://www.gnu.org/software/libiconv/";
 SRC_URI="ftp://ftp.gnu.org/pub/gnu/libiconv/${P}.tar.gz";
 
 LICENSE="LGPL-2.1"
@@ -376,7 +376,7 @@ EAPI=5
 inherit eutils
 
 DESCRIPTION="A lightweight email client and newsreader"
-HOMEPAGE="http://sylpheed.good-day.net/";
+HOMEPAGE="https://sylpheed.good-day.net/";
 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
 
 LICENSE="GPL-2"

Reply via email to