2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-25 05:34:00 +08:00
linux-next/scripts/package
Alexander A. Klimov 16a122c743 kbuild: 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: Alexander A. Klimov <grandmaster@al2klimov.de>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
2020-08-10 01:32:59 +09:00
..
builddeb builddeb: split libc headers deployment out into a function 2020-01-29 01:51:30 +09:00
buildtar kbuild: buildtar: add dtbs support 2020-07-07 11:13:11 +09:00
mkdebian kbuild: Replace HTTP links with HTTPS ones 2020-08-10 01:32:59 +09:00
mkspec kbuild: Replace HTTP links with HTTPS ones 2020-08-10 01:32:59 +09:00
snapcraft.template scripts/package: snap-pkg target 2017-12-13 00:00:18 +09:00