dcavalca / rpms / mdadm

Forked from rpms/mdadm 3 years ago
Clone

Blame SOURCES/0084-Use-more-secure-HTTPS-URLs.patch

3c4af5
From 8e41153c91cdce696618c527906648625217470c Mon Sep 17 00:00:00 2001
3c4af5
From: Paul Menzel <pmenzel@molgen.mpg.de>
3c4af5
Date: Thu, 28 May 2020 16:52:24 +0200
3c4af5
Subject: [PATCH 084/108] Use more secure HTTPS URLs
3c4af5
3c4af5
All URLs in the source are available over HTTPS, so convert all URLs to
3c4af5
HTTPS with the command below.
3c4af5
3c4af5
    git grep -l 'http://' | xargs sed -i 's,http://,https://,g'
3c4af5
3c4af5
Revert the changes to announcement files `ANNOUNCE-*` as requested by
3c4af5
the maintainer.
3c4af5
3c4af5
Cc: linux-raid@vger.kernel.org
3c4af5
Signed-off-by: Paul Menzel <pmenzel@molgen.mpg.de>
3c4af5
Signed-off-by: Jes Sorensen <jsorensen@fb.com>
3c4af5
---
3c4af5
 external-reshape-design.txt      | 2 +-
3c4af5
 mdadm.8.in                       | 6 +++---
3c4af5
 mdadm.spec                       | 4 ++--
3c4af5
 raid6check.8                     | 2 +-
3c4af5
 restripe.c                       | 2 +-
3c4af5
 udev-md-raid-safe-timeouts.rules | 2 +-
3c4af5
 6 files changed, 9 insertions(+), 9 deletions(-)
3c4af5
3c4af5
diff --git a/external-reshape-design.txt b/external-reshape-design.txt
3c4af5
index 10c57cc..e4cf4e1 100644
3c4af5
--- a/external-reshape-design.txt
3c4af5
+++ b/external-reshape-design.txt
3c4af5
@@ -277,4 +277,4 @@ sync_action
3c4af5
 
3c4af5
 ...
3c4af5
 
3c4af5
-[1]: Linux kernel design patterns - part 3, Neil Brown http://lwn.net/Articles/336262/
3c4af5
+[1]: Linux kernel design patterns - part 3, Neil Brown https://lwn.net/Articles/336262/
3c4af5
diff --git a/mdadm.8.in b/mdadm.8.in
3c4af5
index 9e7cb96..7f32762 100644
3c4af5
--- a/mdadm.8.in
3c4af5
+++ b/mdadm.8.in
3c4af5
@@ -367,7 +367,7 @@ Use the Intel(R) Matrix Storage Manager metadata format.  This creates a
3c4af5
 which is managed in a similar manner to DDF, and is supported by an
3c4af5
 option-rom on some platforms:
3c4af5
 .IP
3c4af5
-.B http://www.intel.com/design/chipsets/matrixstorage_sb.htm
3c4af5
+.B https://www.intel.com/design/chipsets/matrixstorage_sb.htm
3c4af5
 .PP
3c4af5
 .RE
3c4af5
 
3c4af5
@@ -3407,7 +3407,7 @@ was previously known as
3c4af5
 For further information on mdadm usage, MD and the various levels of
3c4af5
 RAID, see:
3c4af5
 .IP
3c4af5
-.B http://raid.wiki.kernel.org/
3c4af5
+.B https://raid.wiki.kernel.org/
3c4af5
 .PP
3c4af5
 (based upon Jakob \(/Ostergaard's Software\-RAID.HOWTO)
3c4af5
 .PP
3c4af5
@@ -3415,7 +3415,7 @@ The latest version of
3c4af5
 .I mdadm
3c4af5
 should always be available from
3c4af5
 .IP
3c4af5
-.B http://www.kernel.org/pub/linux/utils/raid/mdadm/
3c4af5
+.B https://www.kernel.org/pub/linux/utils/raid/mdadm/
3c4af5
 .PP
3c4af5
 Related man pages:
3c4af5
 .PP
3c4af5
diff --git a/mdadm.spec b/mdadm.spec
3c4af5
index 1c66894..506ea33 100644
3c4af5
--- a/mdadm.spec
3c4af5
+++ b/mdadm.spec
3c4af5
@@ -2,8 +2,8 @@ Summary:     mdadm is used for controlling Linux md devices (aka RAID arrays)
3c4af5
 Name:        mdadm
3c4af5
 Version:     4.1
3c4af5
 Release:     1
3c4af5
-Source:      http://www.kernel.org/pub/linux/utils/raid/mdadm/mdadm-%{version}.tar.gz
3c4af5
-URL:         http://neil.brown.name/blog/mdadm
3c4af5
+Source:      https://www.kernel.org/pub/linux/utils/raid/mdadm/mdadm-%{version}.tar.gz
3c4af5
+URL:         https://neil.brown.name/blog/mdadm
3c4af5
 License:     GPL
3c4af5
 Group:       Utilities/System
3c4af5
 BuildRoot:   %{_tmppath}/%{name}-root
3c4af5
diff --git a/raid6check.8 b/raid6check.8
3c4af5
index 5003343..8999ca8 100644
3c4af5
--- a/raid6check.8
3c4af5
+++ b/raid6check.8
3c4af5
@@ -86,7 +86,7 @@ The latest version of
3c4af5
 .I raid6check
3c4af5
 should always be available from
3c4af5
 .IP
3c4af5
-.B http://www.kernel.org/pub/linux/utils/raid/mdadm/
3c4af5
+.B https://www.kernel.org/pub/linux/utils/raid/mdadm/
3c4af5
 .PP
3c4af5
 Related man pages:
3c4af5
 .PP
3c4af5
diff --git a/restripe.c b/restripe.c
3c4af5
index 86e1d00..a7a7229 100644
3c4af5
--- a/restripe.c
3c4af5
+++ b/restripe.c
3c4af5
@@ -333,7 +333,7 @@ void make_tables(void)
3c4af5
 
3c4af5
 	/* Compute log and inverse log */
3c4af5
 	/* Modified code from:
3c4af5
-	 *    http://web.eecs.utk.edu/~plank/plank/papers/CS-96-332.html
3c4af5
+	 *    https://web.eecs.utk.edu/~plank/plank/papers/CS-96-332.html
3c4af5
 	 */
3c4af5
 	b = 1;
3c4af5
 	raid6_gflog[0] = 0;
3c4af5
diff --git a/udev-md-raid-safe-timeouts.rules b/udev-md-raid-safe-timeouts.rules
3c4af5
index 13c23d8..12bdcaa 100644
3c4af5
--- a/udev-md-raid-safe-timeouts.rules
3c4af5
+++ b/udev-md-raid-safe-timeouts.rules
3c4af5
@@ -13,7 +13,7 @@
3c4af5
 #
3c4af5
 # You should have received a copy of the GNU General Public License
3c4af5
 # along with mdraid-safe-timeouts.  If not, see
3c4af5
-# <http://www.gnu.org/licenses/>.
3c4af5
+# <https://www.gnu.org/licenses/>.
3c4af5
 
3c4af5
 # This file causes block devices with Linux RAID (mdadm) signatures to
3c4af5
 # attempt to set safe timeouts for the drives involved
3c4af5
-- 
3c4af5
2.7.5
3c4af5