Commit 2c183944 authored by Alexander A. Klimov's avatar Alexander A. Klimov Committed by Greg Kroah-Hartman

staging: comedi: pcl: Replace HTTP links with HTTPS ones

Rationale:
Reduces attack surface on kernel devs opening the links for MITM
as HTTPS traffic is much harder to manipulate.

Deterministic algorithm:
For each file:
  If not .svg:
    For each line:
      If doesn't contain `\bxmlns\b`:
        For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:
	  If neither `\bgnu\.org/license`, nor `\bmozilla\.org/MPL\b`:
            If both the HTTP and HTTPS versions
            return 200 OK and serve the same content:
              Replace HTTP with HTTPS.
Signed-off-by: default avatarAlexander A. Klimov <grandmaster@al2klimov.de>
Link: https://lore.kernel.org/r/20200721192750.67925-1-grandmaster@al2klimov.deSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent e3913b6e
...@@ -508,6 +508,6 @@ static struct comedi_driver pcl711_driver = { ...@@ -508,6 +508,6 @@ static struct comedi_driver pcl711_driver = {
}; };
module_comedi_driver(pcl711_driver); module_comedi_driver(pcl711_driver);
MODULE_AUTHOR("Comedi http://www.comedi.org"); MODULE_AUTHOR("Comedi https://www.comedi.org");
MODULE_DESCRIPTION("Comedi driver for PCL-711 compatible boards"); MODULE_DESCRIPTION("Comedi driver for PCL-711 compatible boards");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
...@@ -148,6 +148,6 @@ static struct comedi_driver pcl724_driver = { ...@@ -148,6 +148,6 @@ static struct comedi_driver pcl724_driver = {
}; };
module_comedi_driver(pcl724_driver); module_comedi_driver(pcl724_driver);
MODULE_AUTHOR("Comedi http://www.comedi.org"); MODULE_AUTHOR("Comedi https://www.comedi.org");
MODULE_DESCRIPTION("Comedi driver for 8255 based ISA and PC/104 DIO boards"); MODULE_DESCRIPTION("Comedi driver for 8255 based ISA and PC/104 DIO boards");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
...@@ -418,6 +418,6 @@ static struct comedi_driver pcl726_driver = { ...@@ -418,6 +418,6 @@ static struct comedi_driver pcl726_driver = {
}; };
module_comedi_driver(pcl726_driver); module_comedi_driver(pcl726_driver);
MODULE_AUTHOR("Comedi http://www.comedi.org"); MODULE_AUTHOR("Comedi https://www.comedi.org");
MODULE_DESCRIPTION("Comedi driver for Advantech PCL-726 & compatibles"); MODULE_DESCRIPTION("Comedi driver for Advantech PCL-726 & compatibles");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
...@@ -345,6 +345,6 @@ static struct comedi_driver pcl730_driver = { ...@@ -345,6 +345,6 @@ static struct comedi_driver pcl730_driver = {
}; };
module_comedi_driver(pcl730_driver); module_comedi_driver(pcl730_driver);
MODULE_AUTHOR("Comedi http://www.comedi.org"); MODULE_AUTHOR("Comedi https://www.comedi.org");
MODULE_DESCRIPTION("Comedi low-level driver"); MODULE_DESCRIPTION("Comedi low-level driver");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
...@@ -1331,6 +1331,6 @@ static struct comedi_driver pcl812_driver = { ...@@ -1331,6 +1331,6 @@ static struct comedi_driver pcl812_driver = {
}; };
module_comedi_driver(pcl812_driver); module_comedi_driver(pcl812_driver);
MODULE_AUTHOR("Comedi http://www.comedi.org"); MODULE_AUTHOR("Comedi https://www.comedi.org");
MODULE_DESCRIPTION("Comedi low-level driver"); MODULE_DESCRIPTION("Comedi low-level driver");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
...@@ -691,6 +691,6 @@ static struct comedi_driver pcl816_driver = { ...@@ -691,6 +691,6 @@ static struct comedi_driver pcl816_driver = {
}; };
module_comedi_driver(pcl816_driver); module_comedi_driver(pcl816_driver);
MODULE_AUTHOR("Comedi http://www.comedi.org"); MODULE_AUTHOR("Comedi https://www.comedi.org");
MODULE_DESCRIPTION("Comedi low-level driver"); MODULE_DESCRIPTION("Comedi low-level driver");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
...@@ -1132,6 +1132,6 @@ static struct comedi_driver pcl818_driver = { ...@@ -1132,6 +1132,6 @@ static struct comedi_driver pcl818_driver = {
}; };
module_comedi_driver(pcl818_driver); module_comedi_driver(pcl818_driver);
MODULE_AUTHOR("Comedi http://www.comedi.org"); MODULE_AUTHOR("Comedi https://www.comedi.org");
MODULE_DESCRIPTION("Comedi low-level driver"); MODULE_DESCRIPTION("Comedi low-level driver");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment