Commit 411adf23 authored by Alexander A. Klimov's avatar Alexander A. Klimov Committed by Greg Kroah-Hartman

staging: comedi: amplc: 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/20200721184613.67596-1-grandmaster@al2klimov.deSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent a5dfb775
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* *
* Driver for Amplicon PC212E, PC214E, PC215E, PC218E, PC272E. * Driver for Amplicon PC212E, PC214E, PC215E, PC218E, PC272E.
* *
* Copyright (C) 2005-2013 MEV Ltd. <http://www.mev.co.uk/> * Copyright (C) 2005-2013 MEV Ltd. <https://www.mev.co.uk/>
* *
* COMEDI - Linux Control and Measurement Device Interface * COMEDI - Linux Control and Measurement Device Interface
* Copyright (C) 1998,2000 David A. Schleef <ds@schleef.org> * Copyright (C) 1998,2000 David A. Schleef <ds@schleef.org>
...@@ -260,6 +260,6 @@ static struct comedi_driver amplc_dio200_driver = { ...@@ -260,6 +260,6 @@ static struct comedi_driver amplc_dio200_driver = {
}; };
module_comedi_driver(amplc_dio200_driver); module_comedi_driver(amplc_dio200_driver);
MODULE_AUTHOR("Comedi http://www.comedi.org"); MODULE_AUTHOR("Comedi https://www.comedi.org");
MODULE_DESCRIPTION("Comedi driver for Amplicon 200 Series ISA DIO boards"); MODULE_DESCRIPTION("Comedi driver for Amplicon 200 Series ISA DIO boards");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
* Header for amplc_dio200.c, amplc_dio200_common.c and * Header for amplc_dio200.c, amplc_dio200_common.c and
* amplc_dio200_pci.c. * amplc_dio200_pci.c.
* *
* Copyright (C) 2005-2013 MEV Ltd. <http://www.mev.co.uk/> * Copyright (C) 2005-2013 MEV Ltd. <https://www.mev.co.uk/>
* *
* COMEDI - Linux Control and Measurement Device Interface * COMEDI - Linux Control and Measurement Device Interface
* Copyright (C) 1998,2000 David A. Schleef <ds@schleef.org> * Copyright (C) 1998,2000 David A. Schleef <ds@schleef.org>
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* *
* Common support code for "amplc_dio200" and "amplc_dio200_pci". * Common support code for "amplc_dio200" and "amplc_dio200_pci".
* *
* Copyright (C) 2005-2013 MEV Ltd. <http://www.mev.co.uk/> * Copyright (C) 2005-2013 MEV Ltd. <https://www.mev.co.uk/>
* *
* COMEDI - Linux Control and Measurement Device Interface * COMEDI - Linux Control and Measurement Device Interface
* Copyright (C) 1998,2000 David A. Schleef <ds@schleef.org> * Copyright (C) 1998,2000 David A. Schleef <ds@schleef.org>
...@@ -853,6 +853,6 @@ static void __exit amplc_dio200_common_exit(void) ...@@ -853,6 +853,6 @@ static void __exit amplc_dio200_common_exit(void)
} }
module_exit(amplc_dio200_common_exit); module_exit(amplc_dio200_common_exit);
MODULE_AUTHOR("Comedi http://www.comedi.org"); MODULE_AUTHOR("Comedi https://www.comedi.org");
MODULE_DESCRIPTION("Comedi helper for amplc_dio200 and amplc_dio200_pci"); MODULE_DESCRIPTION("Comedi helper for amplc_dio200 and amplc_dio200_pci");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* *
* Driver for Amplicon PCI215, PCI272, PCIe215, PCIe236, PCIe296. * Driver for Amplicon PCI215, PCI272, PCIe215, PCIe236, PCIe296.
* *
* Copyright (C) 2005-2013 MEV Ltd. <http://www.mev.co.uk/> * Copyright (C) 2005-2013 MEV Ltd. <https://www.mev.co.uk/>
* *
* COMEDI - Linux Control and Measurement Device Interface * COMEDI - Linux Control and Measurement Device Interface
* Copyright (C) 1998,2000 David A. Schleef <ds@schleef.org> * Copyright (C) 1998,2000 David A. Schleef <ds@schleef.org>
...@@ -410,6 +410,6 @@ static struct pci_driver dio200_pci_pci_driver = { ...@@ -410,6 +410,6 @@ static struct pci_driver dio200_pci_pci_driver = {
}; };
module_comedi_pci_driver(dio200_pci_comedi_driver, dio200_pci_pci_driver); module_comedi_pci_driver(dio200_pci_comedi_driver, dio200_pci_pci_driver);
MODULE_AUTHOR("Comedi http://www.comedi.org"); MODULE_AUTHOR("Comedi https://www.comedi.org");
MODULE_DESCRIPTION("Comedi driver for Amplicon 200 Series PCI(e) DIO boards"); MODULE_DESCRIPTION("Comedi driver for Amplicon 200 Series PCI(e) DIO boards");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* comedi/drivers/amplc_pc236.c * comedi/drivers/amplc_pc236.c
* Driver for Amplicon PC36AT DIO boards. * Driver for Amplicon PC36AT DIO boards.
* *
* Copyright (C) 2002 MEV Ltd. <http://www.mev.co.uk/> * Copyright (C) 2002 MEV Ltd. <https://www.mev.co.uk/>
* *
* COMEDI - Linux Control and Measurement Device Interface * COMEDI - Linux Control and Measurement Device Interface
* Copyright (C) 2000 David A. Schleef <ds@schleef.org> * Copyright (C) 2000 David A. Schleef <ds@schleef.org>
...@@ -71,6 +71,6 @@ static struct comedi_driver amplc_pc236_driver = { ...@@ -71,6 +71,6 @@ static struct comedi_driver amplc_pc236_driver = {
module_comedi_driver(amplc_pc236_driver); module_comedi_driver(amplc_pc236_driver);
MODULE_AUTHOR("Comedi http://www.comedi.org"); MODULE_AUTHOR("Comedi https://www.comedi.org");
MODULE_DESCRIPTION("Comedi driver for Amplicon PC36AT DIO boards"); MODULE_DESCRIPTION("Comedi driver for Amplicon PC36AT DIO boards");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* comedi/drivers/amplc_pc236.h * comedi/drivers/amplc_pc236.h
* Header for "amplc_pc236", "amplc_pci236" and "amplc_pc236_common". * Header for "amplc_pc236", "amplc_pci236" and "amplc_pc236_common".
* *
* Copyright (C) 2002-2014 MEV Ltd. <http://www.mev.co.uk/> * Copyright (C) 2002-2014 MEV Ltd. <https://www.mev.co.uk/>
* *
* COMEDI - Linux Control and Measurement Device Interface * COMEDI - Linux Control and Measurement Device Interface
* Copyright (C) 2000 David A. Schleef <ds@schleef.org> * Copyright (C) 2000 David A. Schleef <ds@schleef.org>
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* comedi/drivers/amplc_pc236_common.c * comedi/drivers/amplc_pc236_common.c
* Common support code for "amplc_pc236" and "amplc_pci236". * Common support code for "amplc_pc236" and "amplc_pci236".
* *
* Copyright (C) 2002-2014 MEV Ltd. <http://www.mev.co.uk/> * Copyright (C) 2002-2014 MEV Ltd. <https://www.mev.co.uk/>
* *
* COMEDI - Linux Control and Measurement Device Interface * COMEDI - Linux Control and Measurement Device Interface
* Copyright (C) 2000 David A. Schleef <ds@schleef.org> * Copyright (C) 2000 David A. Schleef <ds@schleef.org>
...@@ -186,6 +186,6 @@ static void __exit amplc_pc236_common_exit(void) ...@@ -186,6 +186,6 @@ static void __exit amplc_pc236_common_exit(void)
} }
module_exit(amplc_pc236_common_exit); module_exit(amplc_pc236_common_exit);
MODULE_AUTHOR("Comedi http://www.comedi.org"); MODULE_AUTHOR("Comedi https://www.comedi.org");
MODULE_DESCRIPTION("Comedi helper for amplc_pc236 and amplc_pci236"); MODULE_DESCRIPTION("Comedi helper for amplc_pc236 and amplc_pci236");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
/* /*
* Driver for Amplicon PC263 relay board. * Driver for Amplicon PC263 relay board.
* *
* Copyright (C) 2002 MEV Ltd. <http://www.mev.co.uk/> * Copyright (C) 2002 MEV Ltd. <https://www.mev.co.uk/>
* *
* COMEDI - Linux Control and Measurement Device Interface * COMEDI - Linux Control and Measurement Device Interface
* Copyright (C) 2000 David A. Schleef <ds@schleef.org> * Copyright (C) 2000 David A. Schleef <ds@schleef.org>
...@@ -97,6 +97,6 @@ static struct comedi_driver amplc_pc263_driver = { ...@@ -97,6 +97,6 @@ static struct comedi_driver amplc_pc263_driver = {
module_comedi_driver(amplc_pc263_driver); module_comedi_driver(amplc_pc263_driver);
MODULE_AUTHOR("Comedi http://www.comedi.org"); MODULE_AUTHOR("Comedi https://www.comedi.org");
MODULE_DESCRIPTION("Comedi driver for Amplicon PC263 relay board"); MODULE_DESCRIPTION("Comedi driver for Amplicon PC263 relay board");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* comedi/drivers/amplc_pci224.c * comedi/drivers/amplc_pci224.c
* Driver for Amplicon PCI224 and PCI234 AO boards. * Driver for Amplicon PCI224 and PCI234 AO boards.
* *
* Copyright (C) 2005 MEV Ltd. <http://www.mev.co.uk/> * Copyright (C) 2005 MEV Ltd. <https://www.mev.co.uk/>
* *
* COMEDI - Linux Control and Measurement Device Interface * COMEDI - Linux Control and Measurement Device Interface
* Copyright (C) 1998,2000 David A. Schleef <ds@schleef.org> * Copyright (C) 1998,2000 David A. Schleef <ds@schleef.org>
...@@ -1138,6 +1138,6 @@ static struct pci_driver amplc_pci224_pci_driver = { ...@@ -1138,6 +1138,6 @@ static struct pci_driver amplc_pci224_pci_driver = {
}; };
module_comedi_pci_driver(amplc_pci224_driver, amplc_pci224_pci_driver); module_comedi_pci_driver(amplc_pci224_driver, amplc_pci224_pci_driver);
MODULE_AUTHOR("Comedi http://www.comedi.org"); MODULE_AUTHOR("Comedi https://www.comedi.org");
MODULE_DESCRIPTION("Comedi driver for Amplicon PCI224 and PCI234 AO boards"); MODULE_DESCRIPTION("Comedi driver for Amplicon PCI224 and PCI234 AO boards");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
...@@ -2570,6 +2570,6 @@ static struct pci_driver amplc_pci230_pci_driver = { ...@@ -2570,6 +2570,6 @@ static struct pci_driver amplc_pci230_pci_driver = {
}; };
module_comedi_pci_driver(amplc_pci230_driver, amplc_pci230_pci_driver); module_comedi_pci_driver(amplc_pci230_driver, amplc_pci230_pci_driver);
MODULE_AUTHOR("Comedi http://www.comedi.org"); MODULE_AUTHOR("Comedi https://www.comedi.org");
MODULE_DESCRIPTION("Comedi driver for Amplicon PCI230(+) and PCI260(+)"); MODULE_DESCRIPTION("Comedi driver for Amplicon PCI230(+) and PCI260(+)");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* comedi/drivers/amplc_pci236.c * comedi/drivers/amplc_pci236.c
* Driver for Amplicon PCI236 DIO boards. * Driver for Amplicon PCI236 DIO boards.
* *
* Copyright (C) 2002-2014 MEV Ltd. <http://www.mev.co.uk/> * Copyright (C) 2002-2014 MEV Ltd. <https://www.mev.co.uk/>
* *
* COMEDI - Linux Control and Measurement Device Interface * COMEDI - Linux Control and Measurement Device Interface
* Copyright (C) 2000 David A. Schleef <ds@schleef.org> * Copyright (C) 2000 David A. Schleef <ds@schleef.org>
...@@ -139,6 +139,6 @@ static struct pci_driver amplc_pci236_pci_driver = { ...@@ -139,6 +139,6 @@ static struct pci_driver amplc_pci236_pci_driver = {
module_comedi_pci_driver(amplc_pci236_driver, amplc_pci236_pci_driver); module_comedi_pci_driver(amplc_pci236_driver, amplc_pci236_pci_driver);
MODULE_AUTHOR("Comedi http://www.comedi.org"); MODULE_AUTHOR("Comedi https://www.comedi.org");
MODULE_DESCRIPTION("Comedi driver for Amplicon PCI236 DIO boards"); MODULE_DESCRIPTION("Comedi driver for Amplicon PCI236 DIO boards");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
/* /*
* Driver for Amplicon PCI263 relay board. * Driver for Amplicon PCI263 relay board.
* *
* Copyright (C) 2002 MEV Ltd. <http://www.mev.co.uk/> * Copyright (C) 2002 MEV Ltd. <https://www.mev.co.uk/>
* *
* COMEDI - Linux Control and Measurement Device Interface * COMEDI - Linux Control and Measurement Device Interface
* Copyright (C) 2000 David A. Schleef <ds@schleef.org> * Copyright (C) 2000 David A. Schleef <ds@schleef.org>
...@@ -106,6 +106,6 @@ static struct pci_driver amplc_pci263_pci_driver = { ...@@ -106,6 +106,6 @@ static struct pci_driver amplc_pci263_pci_driver = {
}; };
module_comedi_pci_driver(amplc_pci263_driver, amplc_pci263_pci_driver); module_comedi_pci_driver(amplc_pci263_driver, amplc_pci263_pci_driver);
MODULE_AUTHOR("Comedi http://www.comedi.org"); MODULE_AUTHOR("Comedi https://www.comedi.org");
MODULE_DESCRIPTION("Comedi driver for Amplicon PCI263 relay board"); MODULE_DESCRIPTION("Comedi driver for Amplicon PCI263 relay board");
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