From 684865d132badf611d0dd6d6c2f735c80094593a Mon Sep 17 00:00:00 2001 From: Cole Robinson Date: Tue, 11 Aug 2020 14:48:59 -0400 Subject: [PATCH] Enable HTTPS support (bug 1820836) Signed-off-by: Cole Robinson --- 0001-build-customize-configuration.patch | 4 +++- ipxe.spec | 11 ++++++++++- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/0001-build-customize-configuration.patch b/0001-build-customize-configuration.patch index 045561a..9763ba0 100644 --- a/0001-build-customize-configuration.patch +++ b/0001-build-customize-configuration.patch @@ -1,6 +1,8 @@ diff -rupN ipxe-20190125-git36a4c85f/src/config/local/general.h ipxe-20190125-git36a4c85f.new/src/config/local/general.h --- ipxe-20190125-git36a4c85f/src/config/local/general.h 1970-01-01 01:00:00.000000000 +0100 +++ ipxe-20190125-git36a4c85f.new/src/config/local/general.h 2019-02-01 16:40:42.725293033 +0000 -@@ -0,0 +1,2 @@ +@@ -0,0 +1,4 @@ +/* Enable IPv6. */ +#define NET_PROTO_IPV6 ++/* Enable HTTPS */ ++#define DOWNLOAD_PROTO_HTTPS diff --git a/ipxe.spec b/ipxe.spec index f18d3c2..5be2791 100644 --- a/ipxe.spec +++ b/ipxe.spec @@ -3,6 +3,12 @@ %global efi_ia32 1 %endif +# With the addition of HTTPS support, we need to drop +# efi_ia32 so qemu roms still stay in the expected size +# range. If no one complains we can drop the efi_ia32 +# infrastructure in 2021 IMO +%global efi_ia32 0 + # PCI IDs (vendor,product) of the ROMS we want for QEMU # # pcnet32: 0x1022 0x2000 @@ -47,7 +53,7 @@ Name: ipxe Version: %{date} -Release: 6.git%{hash}%{?dist} +Release: 7.git%{hash}%{?dist} Summary: A network boot loader License: GPLv2 with additional permissions and BSD @@ -236,6 +242,9 @@ done %endif %changelog +* Tue Aug 11 2020 Cole Robinson - 20190125-7.git36a4c85f +- Enable HTTPS support (bug 1820836) + * Wed Jul 29 2020 Richard W.M. Jones - 20190125-6.git36a4c85f - Explicitly BR perl-FindBin and perl-lib.