Commit 58b1d3f8 authored by Alexander A. Klimov's avatar Alexander A. Klimov Committed by Greg Kroah-Hartman

staging: comedi: addi: 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/20200721183545.67500-1-grandmaster@al2klimov.deSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 411adf23
...@@ -381,6 +381,6 @@ static struct pci_driver apci1032_pci_driver = { ...@@ -381,6 +381,6 @@ static struct pci_driver apci1032_pci_driver = {
}; };
module_comedi_pci_driver(apci1032_driver, apci1032_pci_driver); module_comedi_pci_driver(apci1032_driver, apci1032_pci_driver);
MODULE_AUTHOR("Comedi http://www.comedi.org"); MODULE_AUTHOR("Comedi https://www.comedi.org");
MODULE_DESCRIPTION("ADDI-DATA APCI-1032, 32 channel DI boards"); MODULE_DESCRIPTION("ADDI-DATA APCI-1032, 32 channel DI boards");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
...@@ -868,6 +868,6 @@ static struct pci_driver apci1500_pci_driver = { ...@@ -868,6 +868,6 @@ static struct pci_driver apci1500_pci_driver = {
}; };
module_comedi_pci_driver(apci1500_driver, apci1500_pci_driver); module_comedi_pci_driver(apci1500_driver, apci1500_pci_driver);
MODULE_AUTHOR("Comedi http://www.comedi.org"); MODULE_AUTHOR("Comedi https://www.comedi.org");
MODULE_DESCRIPTION("ADDI-DATA APCI-1500, 16 channel DI / 16 channel DO boards"); MODULE_DESCRIPTION("ADDI-DATA APCI-1500, 16 channel DI / 16 channel DO boards");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
...@@ -212,5 +212,5 @@ static struct pci_driver apci1516_pci_driver = { ...@@ -212,5 +212,5 @@ static struct pci_driver apci1516_pci_driver = {
module_comedi_pci_driver(apci1516_driver, apci1516_pci_driver); module_comedi_pci_driver(apci1516_driver, apci1516_pci_driver);
MODULE_DESCRIPTION("ADDI-DATA APCI-1016/1516/2016, 16 channel DIO boards"); MODULE_DESCRIPTION("ADDI-DATA APCI-1016/1516/2016, 16 channel DIO boards");
MODULE_AUTHOR("Comedi http://www.comedi.org"); MODULE_AUTHOR("Comedi https://www.comedi.org");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
...@@ -807,6 +807,6 @@ static struct pci_driver apci1564_pci_driver = { ...@@ -807,6 +807,6 @@ static struct pci_driver apci1564_pci_driver = {
}; };
module_comedi_pci_driver(apci1564_driver, apci1564_pci_driver); module_comedi_pci_driver(apci1564_driver, apci1564_pci_driver);
MODULE_AUTHOR("Comedi http://www.comedi.org"); MODULE_AUTHOR("Comedi https://www.comedi.org");
MODULE_DESCRIPTION("ADDI-DATA APCI-1564, 32 channel DI / 32 channel DO boards"); MODULE_DESCRIPTION("ADDI-DATA APCI-1564, 32 channel DI / 32 channel DO boards");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
...@@ -174,5 +174,5 @@ static struct pci_driver apci16xx_pci_driver = { ...@@ -174,5 +174,5 @@ static struct pci_driver apci16xx_pci_driver = {
module_comedi_pci_driver(apci16xx_driver, apci16xx_pci_driver); module_comedi_pci_driver(apci16xx_driver, apci16xx_pci_driver);
MODULE_DESCRIPTION("ADDI-DATA APCI-1648/1696, TTL I/O boards"); MODULE_DESCRIPTION("ADDI-DATA APCI-1648/1696, TTL I/O boards");
MODULE_AUTHOR("Comedi http://www.comedi.org"); MODULE_AUTHOR("Comedi https://www.comedi.org");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
...@@ -325,6 +325,6 @@ static struct pci_driver apci2032_pci_driver = { ...@@ -325,6 +325,6 @@ static struct pci_driver apci2032_pci_driver = {
}; };
module_comedi_pci_driver(apci2032_driver, apci2032_pci_driver); module_comedi_pci_driver(apci2032_driver, apci2032_pci_driver);
MODULE_AUTHOR("Comedi http://www.comedi.org"); MODULE_AUTHOR("Comedi https://www.comedi.org");
MODULE_DESCRIPTION("ADDI-DATA APCI-2032, 32 channel DO boards"); MODULE_DESCRIPTION("ADDI-DATA APCI-2032, 32 channel DO boards");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
...@@ -139,5 +139,5 @@ static struct pci_driver apci2200_pci_driver = { ...@@ -139,5 +139,5 @@ static struct pci_driver apci2200_pci_driver = {
module_comedi_pci_driver(apci2200_driver, apci2200_pci_driver); module_comedi_pci_driver(apci2200_driver, apci2200_pci_driver);
MODULE_DESCRIPTION("ADDI-DATA APCI-2200 Relay board, optically isolated"); MODULE_DESCRIPTION("ADDI-DATA APCI-2200 Relay board, optically isolated");
MODULE_AUTHOR("Comedi http://www.comedi.org"); MODULE_AUTHOR("Comedi https://www.comedi.org");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
...@@ -1112,6 +1112,6 @@ static struct pci_driver apci3120_pci_driver = { ...@@ -1112,6 +1112,6 @@ static struct pci_driver apci3120_pci_driver = {
}; };
module_comedi_pci_driver(apci3120_driver, apci3120_pci_driver); module_comedi_pci_driver(apci3120_driver, apci3120_pci_driver);
MODULE_AUTHOR("Comedi http://www.comedi.org"); MODULE_AUTHOR("Comedi https://www.comedi.org");
MODULE_DESCRIPTION("ADDI-DATA APCI-3120, Analog input board"); MODULE_DESCRIPTION("ADDI-DATA APCI-3120, Analog input board");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
...@@ -413,5 +413,5 @@ static struct pci_driver apci3501_pci_driver = { ...@@ -413,5 +413,5 @@ static struct pci_driver apci3501_pci_driver = {
module_comedi_pci_driver(apci3501_driver, apci3501_pci_driver); module_comedi_pci_driver(apci3501_driver, apci3501_pci_driver);
MODULE_DESCRIPTION("ADDI-DATA APCI-3501 Analog output board"); MODULE_DESCRIPTION("ADDI-DATA APCI-3501 Analog output board");
MODULE_AUTHOR("Comedi http://www.comedi.org"); MODULE_AUTHOR("Comedi https://www.comedi.org");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
...@@ -956,6 +956,6 @@ static struct pci_driver apci3xxx_pci_driver = { ...@@ -956,6 +956,6 @@ static struct pci_driver apci3xxx_pci_driver = {
}; };
module_comedi_pci_driver(apci3xxx_driver, apci3xxx_pci_driver); module_comedi_pci_driver(apci3xxx_driver, apci3xxx_pci_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