File 0342-docs-Fix-some-broken-links.patch of Package erlang

From a3a21b7f226ccdda56271d044fc7fe8a18e1827a Mon Sep 17 00:00:00 2001
From: Johannes Christ <jc@jchri.st>
Date: Thu, 1 Jun 2023 13:15:45 +0200
Subject: [PATCH 2/2] docs: Fix some broken links

Co-authored-by: Lukas Larsson <garazdawi@gmail.com>
---
 HOWTO/DTRACE.md                              |  2 +-
 lib/common_test/doc/src/run_test_chapter.xml |  4 ++--
 lib/inets/doc/src/mod_alias.xml              |  2 +-
 lib/megaco/doc/src/megaco_intro.xml          |  6 +++---
 lib/public_key/doc/src/public_key_app.xml    |  2 +-
 scripts/otp_html_check                       | 14 +++++++-------
 6 files changed, 15 insertions(+), 15 deletions(-)

diff --git a/HOWTO/DTRACE.md b/HOWTO/DTRACE.md
index 28712dab88..b60c66d8a0 100644
--- a/HOWTO/DTRACE.md
+++ b/HOWTO/DTRACE.md
@@ -52,5 +52,5 @@ DTrace probe specifications
 Probe specifications can be found in `erts/emulator/beam/erlang_dtrace.d`, and
 a few example scripts can be found under `lib/runtime_tools/examples/`.
 
-   [1]: http://www.erlang.org/euc/08/
+   [1]: https://erlang.org/euc/08/
    [$ERL_TOP/HOWTO/SYSTEMTAP.md]: SYSTEMTAP.md
diff --git a/lib/common_test/doc/src/run_test_chapter.xml b/lib/common_test/doc/src/run_test_chapter.xml
index 3fa4877d9c..dfdaf2badb 100644
--- a/lib/common_test/doc/src/run_test_chapter.xml
+++ b/lib/common_test/doc/src/run_test_chapter.xml
@@ -1272,8 +1272,8 @@
 	    performed through JavaScript code, automatically inserted into the HTML 
 	    log files. <c>Common Test</c> uses the <url href="http://jquery.com">jQuery</url> 
 	    library and the
-	    <url href="http://tablesorter.com">tablesorter</url> plugin, 
-	    with customized sorting functions, for this implementation.</p>
+	    <url href="https://mottie.github.io/tablesorter/docs/">tablesorter</url>
+	    plugin, with customized sorting functions, for this implementation.</p>
 	</section>
 
 	<section>
diff --git a/lib/inets/doc/src/mod_alias.xml b/lib/inets/doc/src/mod_alias.xml
index b76c110bb1..6654684eaa 100644
--- a/lib/inets/doc/src/mod_alias.xml
+++ b/lib/inets/doc/src/mod_alias.xml
@@ -75,7 +75,7 @@
         <marker id="path"></marker>
         <p><c>path/3</c> returns the file <c>Path</c> in the
 	<c>RequestURI</c> (see 
-	<url href="http://www.rfc-base.org/rfc-1945.html">RFC 1945</url>). 
+	<url href="https://www.ietf.org/rfc/rfc1945.txt">RFC 1945</url>).
 	If the interaction data <c>{real_name,{Path,AfterPath}}</c> 
 	has been exported by <c>mod_alias</c>,
 	<c>Path</c> is returned. If no interaction data has been
diff --git a/lib/megaco/doc/src/megaco_intro.xml b/lib/megaco/doc/src/megaco_intro.xml
index 606ee16d5a..0a2213c63b 100644
--- a/lib/megaco/doc/src/megaco_intro.xml
+++ b/lib/megaco/doc/src/megaco_intro.xml
@@ -120,16 +120,16 @@
       Megaco/H.248 and about the Erlang/OTP development system:</p>
     <list type="bulleted">
       <item>
-        <p><url href="http://www.erlang.org/project/megaco/standard/rfc3525.txt">version 1, RFC 3525</url></p>
+        <p><url href="https://www.erlang.org/doc/standard/rfc3525.txt">version 1, RFC 3525</url></p>
       </item>
       <item>
         <p><url href="http://www.ietf.org/rfc/rfc3015.txt">old version 1, RFC 3015</url></p>
       </item>
       <item>
-        <p><url href="http://www.erlang.org/project/megaco/standard/H.248.1-Corr1-200403.doc">Version 2 Corrigendum 1</url></p>
+        <p><url href="https://web.archive.org/web/20100704020645/http://www.erlang.org/project/megaco/standard/H.248.1-Corr1-200403.doc">Version 2 Corrigendum 1</url></p>
       </item>
       <item>
-        <p><url href="http://www.erlang.org/project/megaco/standard/draft-ietf-megaco-h248v2-04.txt">version 2, draft-ietf-megaco-h248v2-04</url></p>
+        <p><url href="https://web.archive.org/web/20100620185420/http://erlang.org/project/megaco/standard/draft-ietf-megaco-h248v2-04.txt">version 2, draft-ietf-megaco-h248v2-04</url></p>
       </item>
       <item>
         <p><url href="http://www.itu.int/">H.248.1 version 3</url></p>
diff --git a/lib/public_key/doc/src/public_key_app.xml b/lib/public_key/doc/src/public_key_app.xml
index 497c4fbd77..e21b368f90 100644
--- a/lib/public_key/doc/src/public_key_app.xml
+++ b/lib/public_key/doc/src/public_key_app.xml
@@ -47,7 +47,7 @@
       <item>Supports <url href="http://csrc.nist.gov/publications/fips/fips186-3/fips_186-3.pdf"> DSS</url> - 
       Digital Signature Standard (DSA - Digital Signature Algorithm)</item>
       <item>Supports 
-      <url href="http://www.emc.com/emc-plus/rsa-labs/standards-initiatives/pkcs-3-diffie-hellman-key-agreement-standar.htm"> PKCS-3 </url> - 
+      <url href="https://web.archive.org/web/20170417091930/https://www.emc.com/emc-plus/rsa-labs/standards-initiatives/pkcs-3-diffie-hellman-key-agreement-standar.htm"> PKCS-3 </url> -
       Diffie-Hellman Key Agreement Standard </item>
       <item>Supports <url href="http://www.ietf.org/rfc/rfc2898.txt"> PKCS-5</url> - 
       Password-Based Cryptography Standard </item>
-- 
2.35.3

openSUSE Build Service is sponsored by