public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/linux-sgx] main: Rebase to 1.27 release
@ 2026-11-12 17:17 
  0 siblings, 0 replies; only message in thread
From:  @ 2026-11-12 17:17 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/linux-sgx
            Branch : main
            Commit : 866dabac3f73cbaaea9c9b8a27978e7d15e39a88
            Author : Daniel P. Berrangé <berrange@redhat.com>
            Date   : 2026-11-11T11:17:35+00:00
            Stats  : +4508/-4237 in 93 file(s)
            URL    : https://src.fedoraproject.org/rpms/linux-sgx/c/866dabac3f73cbaaea9c9b8a27978e7d15e39a88?branch=main

            Log:
            Rebase to 1.27 release

Note, the new 'poe' tools are omitted, pending consideration of
whether it is possible to bundle with linux-sgx vs create a
separate source RPM.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>

---
diff --git a/.gitignore b/.gitignore
index 899bc6b..22e8d03 100644
--- a/.gitignore
+++ b/.gitignore
@@ -11,11 +11,9 @@
 /tinyxml2-*.tar.gz
 /wasm-micro-runtime-*.tar.gz
 /DCAP_*.tar.gz
+/sgx-sdk-*.tar.gz
 *~
-/pccs-*-node-modules.tar.xz
-/node-ffi-rs-*-vendor.tar.gz
-/node-ffi-rs-*.tar.gz
-/pccs-*.tar.gz
 /*licenses.txt
 /nolicense.txt
 /libcxxrt-4.0.10^20250225gita6f71cb.tar.gz
+src-git/

diff --git a/0000-Add-support-for-building-against-host-openssl-crypto.patch b/0000-Add-support-for-building-against-host-openssl-crypto.patch
index 9b0c367..a68e83e 100644
--- a/0000-Add-support-for-building-against-host-openssl-crypto.patch
+++ b/0000-Add-support-for-building-against-host-openssl-crypto.patch
@@ -1,8 +1,7 @@
-From 76aff83d24325be463e48d3e0253b813f6b94573 Mon Sep 17 00:00:00 2001
+From bd92af56b837242ca8c1f41b9fdee26c923abfa9 Mon Sep 17 00:00:00 2001
 From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= <berrange@redhat.com>
 Date: Thu, 13 Feb 2025 14:12:38 +0000
-Subject: [PATCH 00/16] Add support for building against host openssl crypto
- lib
+Subject: [PATCH 0/8] Add support for building against host openssl crypto lib
 MIME-Version: 1.0
 Content-Type: text/plain; charset=UTF-8
 Content-Transfer-Encoding: 8bit
@@ -21,17 +20,13 @@ Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
  buildenv.mk                                     | 13 +++++++++++++
  psw/ae/aesm_service/Makefile                    |  3 +++
  psw/ae/aesm_service/source/utils/CMakeLists.txt |  4 ++--
- psw/urts/linux/Makefile                         |  8 +++-----
- sdk/sign_tool/SignTool/Makefile                 |  7 ++-----
- sdk/simulation/uae_service_sim/linux/Makefile   |  7 ++-----
- sdk/simulation/urtssim/linux/Makefile           |  7 ++-----
- 7 files changed, 27 insertions(+), 22 deletions(-)
+ 3 files changed, 18 insertions(+), 2 deletions(-)
 
 diff --git a/buildenv.mk b/buildenv.mk
-index 0d0ce69e..43ea32af 100644
+index db09724c..ff96a72b 100644
 --- a/buildenv.mk
 +++ b/buildenv.mk
-@@ -336,3 +336,16 @@ else
+@@ -290,3 +290,16 @@ else
      SGX_LIB_DIR := $(SGX_SDK)/lib64/$(MITIGATION_LIB_PATH)
      SGX_BIN_DIR := $(SGX_SDK)/bin/x64
  endif
@@ -43,13 +38,13 @@ index 0d0ce69e..43ea32af 100644
 +OPENSSL_CRYPTO_LDFLAGS = $(shell pkg-config --libs libcrypto)
 +OPENSSL_CRYPTO_LIBS = $(shell pkg-config --libs libcrypto)
 +else
-+OPENSSL_CRYPTO_PREBUILT_DIR := $(LINUX_EXTERNAL_DIR)/dcap_source/prebuilt/openssl
++OPENSSL_CRYPTO_PREBUILT_DIR := $(ROOT_DIR)/prebuilt/dcap/openssl
 +OPENSSL_CRYPTO_CFLAGS = -I$(OPENSSL_CRYPTO_PREBUILT_DIR)/inc
 +OPENSSL_CRYPTO_LDFLAGS = -L$(OPENSSL_CRYPTO_PREBUILT_DIR)/lib/linux64 -lcrypto
 +OPENSSL_CRYPTO_LIBS = $(OPENSSL_CRYPTO_PREBUILT_DIR)/lib/linux64/libcrypto.a
 +endif
 diff --git a/psw/ae/aesm_service/Makefile b/psw/ae/aesm_service/Makefile
-index 85a1b686..59c18263 100644
+index 01d403ca..1802548b 100644
 --- a/psw/ae/aesm_service/Makefile
 +++ b/psw/ae/aesm_service/Makefile
 @@ -17,6 +17,9 @@ else
@@ -63,154 +58,27 @@ index 85a1b686..59c18263 100644
      SQLITECFLAGS += -m32
  else
 diff --git a/psw/ae/aesm_service/source/utils/CMakeLists.txt b/psw/ae/aesm_service/source/utils/CMakeLists.txt
-index a4b3d1af..f8003e42 100644
+index 78399d7f..6746f063 100644
 --- a/psw/ae/aesm_service/source/utils/CMakeLists.txt
 +++ b/psw/ae/aesm_service/source/utils/CMakeLists.txt
-@@ -44,7 +44,7 @@ target_include_directories(utils PRIVATE
+@@ -20,7 +20,7 @@ target_include_directories(utils PRIVATE
      ${PROJECT_SOURCE_DIR}/../../../../common/inc/internal
      ${PROJECT_SOURCE_DIR}/../../../../external/rdrand
      ${PROJECT_SOURCE_DIR}/../../data/constants/linux
--    ${PROJECT_SOURCE_DIR}/../../../../external/dcap_source/prebuilt/openssl/inc
+-    ${PROJECT_SOURCE_DIR}/../../../../prebuilt/dcap/openssl/inc
 +    ${OPENSSL_CRYPTO_CFLAGS}
- )
- 
- target_compile_definitions(utils PRIVATE
-@@ -54,7 +54,7 @@ target_compile_definitions(utils PRIVATE
+     # [SDK-X-REPO-INCLUDE] Cross-repo dep on SDK submodule internal headers (encapsulation smell, to be removed).
+     # Actually used by this target: crypto_wrapper.h, se_memcpy.h, se_wrapper.h, se_time.h, sgx_memset_s.h, sgx_read_rand.h.
+     ${PROJECT_SOURCE_DIR}/../../../../sdk/common/inc/internal
+@@ -33,7 +33,7 @@ target_compile_definitions(utils PRIVATE
  set_property(TARGET utils APPEND_STRING PROPERTY LINK_FLAGS " -Wl,-z,defs")
  
  target_link_libraries(utils
--    ${PROJECT_SOURCE_DIR}/../../../../external/dcap_source/prebuilt/openssl/lib/linux64/libcrypto.a
+-    ${PROJECT_SOURCE_DIR}/../../../../prebuilt/dcap/openssl/lib/linux64/libcrypto.a
 +    ${OPENSSL_CRYPTO_LIBS}
      oal
      ${CMAKE_SOURCE_DIR}/../../../../external/rdrand/src/librdrand.a
  )
-diff --git a/psw/urts/linux/Makefile b/psw/urts/linux/Makefile
-index 2e291857..275a9d45 100644
---- a/psw/urts/linux/Makefile
-+++ b/psw/urts/linux/Makefile
-@@ -43,8 +43,6 @@ CFLAGS += -fPIC -Werror -g
- CFLAGS += $(ADDED_INC)
- 
- VTUNE_DIR = $(LINUX_EXTERNAL_DIR)/vtune/linux
--PREBUILT_OPENSSL_DIR := $(LINUX_EXTERNAL_DIR)/dcap_source/prebuilt/openssl
--CRYPTO_LIB := -L$(PREBUILT_OPENSSL_DIR)/lib/linux64 -lcrypto
- 
- INC += -I$(SGX_HEADER_DIR)                \
-        -I$(COMMON_DIR)/inc/internal       \
-@@ -55,14 +53,14 @@ INC += -I$(SGX_HEADER_DIR)                \
-        -I$(LINUX_PSW_DIR)/urts/parser     \
-        -I$(VTUNE_DIR)/include \
-        -I$(VTUNE_DIR)/sdk/src/ittnotify   \
--       -I$(PREBUILT_OPENSSL_DIR)/inc
-+       $(OPENSSL_CRYPTO_CFLAGS)
- 
- LDFLAGS := -lwrapper
- INTERNAL_LDFLAGS := -lwrapper
- LDFLAGS += $(COMMON_LDFLAGS) -Wl,-Bdynamic -L$(BUILD_DIR) -lsgx_enclave_common -lpthread
- INTERNAL_LDFLAGS += $(COMMON_LDFLAGS) -lpthread
--LDFLAGS += -L$(VTUNE_DIR)/sdk/src/ittnotify -littnotify -ldl $(CRYPTO_LIB)
--INTERNAL_LDFLAGS += -L$(VTUNE_DIR)/sdk/src/ittnotify -littnotify -ldl $(CRYPTO_LIB)
-+LDFLAGS += -L$(VTUNE_DIR)/sdk/src/ittnotify -littnotify -ldl $(OPENSSL_CRYPTO_LDFLAGS)
-+INTERNAL_LDFLAGS += -L$(VTUNE_DIR)/sdk/src/ittnotify -littnotify -ldl $(OPENSSL_CRYPTO_LDFLAGS)
- LDFLAGS += -Wl,--version-script=urts.lds -Wl,--gc-sections
- INTERNAL_LDFLAGS += -Wl,--version-script=urts_internal.lds -Wl,--gc-sections
- 
-diff --git a/sdk/sign_tool/SignTool/Makefile b/sdk/sign_tool/SignTool/Makefile
-index 4084e855..1aa75246 100644
---- a/sdk/sign_tool/SignTool/Makefile
-+++ b/sdk/sign_tool/SignTool/Makefile
-@@ -17,9 +17,6 @@ CFLAGS += $(FLAGS)
- CXXFLAGS += $(FLAGS)
- LDFLAGS := -pie $(COMMON_LDFLAGS) -Wno-odr
- 
--PREBUILT_OPENSSL_DIR := $(LINUX_EXTERNAL_DIR)/dcap_source/prebuilt/openssl
--CRYPTO_LIB := -L$(PREBUILT_OPENSSL_DIR)/lib/linux64 -lcrypto
--
- INC += $(ADDED_INC)
- INC +=  -I$(COMMON_DIR)/inc                         \
-         -I$(COMMON_DIR)/inc/internal                \
-@@ -29,7 +26,7 @@ INC +=  -I$(COMMON_DIR)/inc                         \
-         -I$(LINUX_PSW_DIR)/urts/linux               \
-         -I$(LINUX_EXTERNAL_DIR)/tinyxml2            \
-         -I$(LINUX_PSW_DIR)/urts/parser              \
--        -I$(PREBUILT_OPENSSL_DIR)/inc
-+        $(OPENSSL_CRYPTO_CFLAGS)
- 
- DIR1 := $(LINUX_EXTERNAL_DIR)/tinyxml2/
- DIR2 := $(COMMON_DIR)/src/
-@@ -65,7 +62,7 @@ all: sgx_sign | $(BUILD_DIR)
- $(BUILD_DIR):
- 	@$(MKDIR) $@
- 
--sgx_sign: PRIVATE_LDLIBS  := -lpthread -lenclaveparser $(CRYPTO_LIB) -ldl
-+sgx_sign: PRIVATE_LDLIBS  := -lpthread -lenclaveparser $(OPENSSL_CRYPTO_LDFLAGS) -ldl
- sgx_sign: PRIVATE_LDFLAGS := -L$(LINUX_PSW_DIR)/urts/parser $(LDFLAGS)
- 
- sgx_sign: $(OBJS) enclaveparser
-diff --git a/sdk/simulation/uae_service_sim/linux/Makefile b/sdk/simulation/uae_service_sim/linux/Makefile
-index a79f7688..f73e230f 100644
---- a/sdk/simulation/uae_service_sim/linux/Makefile
-+++ b/sdk/simulation/uae_service_sim/linux/Makefile
-@@ -34,9 +34,6 @@ include $(TOP_DIR)/buildenv.mk
- 
- get_version_name = $(addsuffix _VERSION,$(shell echo $(subst _deploy,,$(subst libsgx_,,$(basename $1))) | tr a-z A-Z))
- 
--PREBUILT_OPENSSL_DIR := $(LINUX_EXTERNAL_DIR)/dcap_source/prebuilt/openssl
--CRYPTO_LIB := -L$(PREBUILT_OPENSSL_DIR)/lib/linux64 -lcrypto
--
- INCLUDES := -I..                                                   \
-             -I$(COMMON_DIR)/inc                                    \
-             -I$(COMMON_DIR)/inc/internal                           \
-@@ -47,7 +44,7 @@ INCLUDES := -I..                                                   \
-             -I$(LINUX_PSW_DIR)/ae/inc                              \
-             -I$(LINUX_PSW_DIR)/ae/inc/internal                     \
-             -I$(LINUX_PSW_DIR)/ae/common                           \
--            -I$(PREBUILT_OPENSSL_DIR)/inc                          \
-+            $(OPENSSL_CRYPTO_CFLAGS)                               \
-             -I$(DCAP_DIR)/QuoteGeneration/quote_wrapper/common/inc
- 
- 
-@@ -60,7 +57,7 @@ RDRAND_MAKEFILE := $(RDRAND_LIBDIR)/Makefile
- 
- EXTERNAL_LIB += -L$(RDRAND_LIBDIR) -lrdrand
- EXTERNAL_LIB += -L$(RDRAND_LIBDIR) -lrt
--EXTERNAL_LIB += -ldl $(CRYPTO_LIB)
-+EXTERNAL_LIB += -ldl $(OPENSSL_CRYPTO_LDFLAGS)
- 
- vpath %.cpp $(LINUX_PSW_DIR)/ae/common \
-             $(LINUX_SDK_DIR)/simulation/urtssim \
-diff --git a/sdk/simulation/urtssim/linux/Makefile b/sdk/simulation/urtssim/linux/Makefile
-index 79f20a2b..8af19905 100644
---- a/sdk/simulation/urtssim/linux/Makefile
-+++ b/sdk/simulation/urtssim/linux/Makefile
-@@ -42,9 +42,6 @@ endif
- CXXFLAGS += -fPIC -DSE_SIM -Werror -g $(CET_FLAGS)
- CFLAGS   += -fPIC -DSE_SIM -Werror -g $(CET_FLAGS)
- 
--PREBUILT_OPENSSL_DIR := $(LINUX_EXTERNAL_DIR)/dcap_source/prebuilt/openssl
--CRYPTO_LIB := -L$(PREBUILT_OPENSSL_DIR)/lib/linux64 -lcrypto
--
- CPPFLAGS += $(ADDED_INC) #for ubuntu 11 and later version
- CPPFLAGS += -I$(COMMON_DIR)/inc                \
-             -I$(COMMON_DIR)/inc/internal/linux \
-@@ -53,7 +50,7 @@ CPPFLAGS += -I$(COMMON_DIR)/inc                \
-             -I$(LINUX_PSW_DIR)/urts/parser     \
-             -I$(VTUNE_DIR)/include \
-             -I$(VTUNE_DIR)/sdk/src/ittnotify \
--            -I$(PREBUILT_OPENSSL_DIR)/inc
-+            $(OPENSSL_CRYPTO_CFLAGS)
- 
- CPPFLAGS += -I$(COMMON_DIR)/inc/internal      \
-             -I$(LINUX_PSW_DIR)/urts/linux     \
-@@ -127,7 +124,7 @@ LDFLAGS += $(COMMON_LDFLAGS) -Wl,--version-script=$(LINUX_PSW_DIR)/urts/linux/ur
- LIBURTSSIM_SHARED := libsgx_urts_sim.so
- LIBURTS_DEPLOY := libsgx_urts_deploy.so
- 
--LDLIBS += -lwrapper $(CRYPTO_LIB) -Wl,-Bdynamic -Wl,-Bsymbolic -lsgx_uae_service_sim
-+LDLIBS += -lwrapper $(OPENSSL_CRYPTO_LDFLAGS) -Wl,-Bdynamic -Wl,-Bsymbolic -lsgx_uae_service_sim
- SONAME = $(LIBURTSSIM_SHARED)
- 
- .PHONY: all
 -- 
-2.55.0
+2.56.0
 

diff --git a/0001-Add-support-for-building-against-host-CppMicroServic.patch b/0001-Add-support-for-building-against-host-CppMicroServic.patch
new file mode 100644
index 0000000..796aae4
--- /dev/null
+++ b/0001-Add-support-for-building-against-host-CppMicroServic.patch
@@ -0,0 +1,142 @@
+From 6d3a39ca5ea1089d17db9f58549e9ef8b8f1c2a9 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= <berrange@redhat.com>
+Date: Thu, 13 Feb 2025 14:01:10 +0000
+Subject: [PATCH 1/8] Add support for building against host CppMicroServices
+ lib
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+For the aesm_sevice it is desirable to be build against the host
+provided CppMicroServices library, such that security updates
+automatically propagate from the distro vendor.
+
+This is enabled as an opt-in by setting the make variable
+
+  USE_HOST_CPPMICROSERVICES=1
+
+The in-tree bundle of CppMicroServices ships a 6 year outdated
+git snapshot that claims to be version 4.0.0, since that time
+upstream reverted the version to 3.x.x. Hence the cmake path
+used for the host is looking for 'cppmicroservices3' not
+'cppmicroservices4' which is used for the ancient bundled copy.
+
+Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
+---
+ buildenv.mk                               | 10 +++++++++
+ psw/ae/aesm_service/Makefile              | 27 ++++++++++++++---------
+ psw/ae/aesm_service/source/CMakeLists.txt |  2 +-
+ 3 files changed, 28 insertions(+), 11 deletions(-)
+
+diff --git a/buildenv.mk b/buildenv.mk
+index ff96a72b..8c80478f 100644
+--- a/buildenv.mk
++++ b/buildenv.mk
+@@ -303,3 +303,13 @@ OPENSSL_CRYPTO_CFLAGS = -I$(OPENSSL_CRYPTO_PREBUILT_DIR)/inc
+ OPENSSL_CRYPTO_LDFLAGS = -L$(OPENSSL_CRYPTO_PREBUILT_DIR)/lib/linux64 -lcrypto
+ OPENSSL_CRYPTO_LIBS = $(OPENSSL_CRYPTO_PREBUILT_DIR)/lib/linux64/libcrypto.a
+ endif
++
++USE_HOST_CPPMICROSERVICES ?= 0
++
++ifeq ($(USE_HOST_CPPMICROSERVICES), 1)
++CPPMICROSERVICES_CMAKE_DIR = /usr/share/cppmicroservices3/cmake
++else
++CPPMICROSERVICES_SRC_DIR = $(LINUX_EXTERNAL_DIR)/CppMicroServices
++CPPMICROSERVICES_INSTALL_DIR = $(CPPMICROSERVICES_SRC_DIR)/local-install
++CPPMICROSERVICES_CMAKE_DIR = $(CPPMICROSERVICES_INSTALL_DIR)/share/cppmicroservices4/cmake
++endif
+diff --git a/psw/ae/aesm_service/Makefile b/psw/ae/aesm_service/Makefile
+index 1802548b..d33f74e5 100644
+--- a/psw/ae/aesm_service/Makefile
++++ b/psw/ae/aesm_service/Makefile
+@@ -7,10 +7,8 @@
+ TOP_DIR  = ../../..
+ include $(TOP_DIR)/buildenv.mk
+ 
+-CPPMICROSERVICES_DIR := $(LINUX_EXTERNAL_DIR)/CppMicroServices
+-CPPMICROSERVICES_INSTALL := $(CPPMICROSERVICES_DIR)/local-install
+ AESM_CONFIG := -DBUILD_SHARED_LIBS=ON -DUS_BUILD_SHARED_LIBS=ON
+-CPPMICROSERVICES_CONFIG := -DCMAKE_INSTALL_PREFIX=$(CPPMICROSERVICES_INSTALL) -DCMAKE_BUILD_TYPE=RelWithDebInfo -DFORTIFY_SOURCE_VAL=$(FORTIFY_SOURCE_VAL)
++CPPMICROSERVICES_CONFIG := -DCMAKE_INSTALL_PREFIX=$(CPPMICROSERVICES_INSTALL_DIR) -DCMAKE_BUILD_TYPE=RelWithDebInfo -DFORTIFY_SOURCE_VAL=$(FORTIFY_SOURCE_VAL)
+ ifdef DEBUG
+     AESM_CONFIG += -DCMAKE_BUILD_TYPE=Debug
+ else
+@@ -19,6 +17,7 @@ endif
+ 
+ AESM_CONFIG += -DOPENSSL_CRYPTO_CFLAGS=$(OPENSSL_CRYPTO_CFLAGS)
+ AESM_CONFIG += -DOPENSSL_CRYPTO_LIBS=$(OPENSSL_CRYPTO_LIBS)
++AESM_CONFIG += -DCPPMICROSERVICES_CMAKE_DIR=$(CPPMICROSERVICES_CMAKE_DIR)
+ 
+ ifeq ($(ARCH), x86)
+     SQLITECFLAGS += -m32
+@@ -40,7 +39,9 @@ AESM_CONFIG += -DCMAKE_C_FLAGS="$(CFLAGS)" -DCMAKE_CXX_FLAGS="$(CXXFLAGS)" 	\
+                	-DCMAKE_SHARED_LINKER_FLAGS="$(COMMON_LDFLAGS)"
+ 
+ APPNAME         := source/build/bin/aesm_service
+-CPPMICROSERVICES:= $(CPPMICROSERVICES_DIR)/build/lib/libCppMicroServices.so.4.0.0
++ifeq ($(USE_HOST_CPPMICROSERVICES), 0)
++CPPMICROSERVICES:= $(CPPMICROSERVICES_SRC_DIR)/build/lib/libCppMicroServices.so.4.0.0
++endif
+ RDRAND_LIBDIR :=$(LINUX_EXTERNAL_DIR)/rdrand/src
+ RDRAND_MAKEFILE := $(RDRAND_LIBDIR)/Makefile
+ 
+@@ -50,21 +51,25 @@ all: $(APPNAME) $(APPNAME_DEBUG) | $(BUILD_DIR)
+ 
+ $(APPNAME): $(CPPMICROSERVICES) source/build/CMakeCache.txt RDRAND
+ 	$(MAKE) -C source/build
++ifeq ($(USE_HOST_CPPMICROSERVICES), 0)
+ 	$(CP) $(CPPMICROSERVICES) source/build/bin/
++endif
+ 
+ CMAKE_VERSION_MAJOR=$(shell cmake --version | head -n  1 | cut -d \  -f 3 | cut -d . -f 1)
+ CMAKE_VERSION_MINOR=$(shell cmake --version | head -n  1 | cut -d \  -f 3 | cut -d . -f 2 | xargs printf '%02d')
+ CMAKE_VERSION=$(CMAKE_VERSION_MAJOR)$(CMAKE_VERSION_MINOR)
+ CMAKE := $(HOME)/cache/bin/cmake
+ 
++ifeq ($(USE_HOST_CPPMICROSERVICES), 0)
+ .PHONY: CPPMICROSERVICES
+ $(CPPMICROSERVICES):
+-	mkdir -p $(CPPMICROSERVICES_DIR)/build
++	mkdir -p $(CPPMICROSERVICES_SRC_DIR)/build
+ ifeq ($(shell test $(CMAKE_VERSION) -lt 302 && echo 1), 1)
+-	$(CPPMICROSERVICES_DIR)/install_cmake.sh
+-	cd $(CPPMICROSERVICES_DIR)/build && $(CMAKE) -DCMAKE_COMMAND=$(CMAKE) $(CPPMICROSERVICES_CONFIG) ../ && $(MAKE) && $(MAKE) install
++	$(CPPMICROSERVICES_SRC_DIR)/install_cmake.sh
++	cd $(CPPMICROSERVICES_SRC_DIR)/build && $(CMAKE) -DCMAKE_COMMAND=$(CMAKE) $(CPPMICROSERVICES_CONFIG) ../ && $(MAKE) && $(MAKE) install
+ else
+-	cd $(CPPMICROSERVICES_DIR)/build && cmake $(CPPMICROSERVICES_CONFIG) ../ && $(MAKE) && $(MAKE) install
++	cd $(CPPMICROSERVICES_SRC_DIR)/build && cmake $(CPPMICROSERVICES_CONFIG) ../ && $(MAKE) && $(MAKE) install
++endif
+ endif
+ 
+ source/build/CMakeCache.txt: $(CPPMICROSERVICES)
+@@ -90,8 +95,10 @@ $(BUILD_DIR):
+ .PHONY: clean
+ clean:
+ 	@$(RM) -r source/build
+-	@$(RM) -r $(CPPMICROSERVICES_DIR)/build
+-	@$(RM) -r $(CPPMICROSERVICES_INSTALL)
++ifeq ($(USE_HOST_CPPMICROSERVICES), 0)
++	@$(RM) -r $(CPPMICROSERVICES_SRC_DIR)/build
++	@$(RM) -r $(CPPMICROSERVICES_INSTALL_DIR)
++endif
+ 	@$(RM) -r data
+ ifeq ($(RDRAND_MAKEFILE), $(wildcard $(RDRAND_MAKEFILE)))
+ 	@$(MAKE) distclean -C $(RDRAND_LIBDIR)
+diff --git a/psw/ae/aesm_service/source/CMakeLists.txt b/psw/ae/aesm_service/source/CMakeLists.txt
+index 8e511f64..a388ee3e 100644
+--- a/psw/ae/aesm_service/source/CMakeLists.txt
++++ b/psw/ae/aesm_service/source/CMakeLists.txt
+@@ -46,7 +46,7 @@ else()
+ endif()
+ 
+ # check if CppMicroServices was found
+-set(CppMicroServices_DIR ../../../../external/CppMicroServices/local-install/share/cppmicroservices4/cmake)
++set(CppMicroServices_DIR ${CPPMICROSERVICES_CMAKE_DIR})
+ find_package(CppMicroServices NO_MODULE REQUIRED)
+ cmake_minimum_required(VERSION ${US_CMAKE_MINIMUM_REQUIRED_VERSION})
+ cmake_policy(VERSION ${US_CMAKE_MINIMUM_REQUIRED_VERSION})
+-- 
+2.56.0
+

diff --git a/0001-Add-support-for-building-against-host-tinyxml2-lib.patch b/0001-Add-support-for-building-against-host-tinyxml2-lib.patch
deleted file mode 100644
index 5130699..0000000
--- a/0001-Add-support-for-building-against-host-tinyxml2-lib.patch
+++ /dev/null
@@ -1,84 +0,0 @@
-From 931eb17e91aa3ae0b2cb7f3a20243dbdc3fabf69 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= <berrange@redhat.com>
-Date: Thu, 13 Feb 2025 14:01:10 +0000
-Subject: [PATCH 01/16] Add support for building against host tinyxml2 lib
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-For the host tools/libraries it is desirable to be build
-against the host provided tinyxml2 library, such that
-security updates automatically propagate from the distro
-vendor.
-
-This is enabled as an opt-in by setting the make variable
-
-  USE_HOST_TINYXML2=1
-
-Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
----
- buildenv.mk                     | 14 ++++++++++++++
- sdk/sign_tool/SignTool/Makefile |  8 ++++----
- 2 files changed, 18 insertions(+), 4 deletions(-)
-
-diff --git a/buildenv.mk b/buildenv.mk
-index 43ea32af..47f3125e 100644
---- a/buildenv.mk
-+++ b/buildenv.mk
-@@ -349,3 +349,17 @@ OPENSSL_CRYPTO_CFLAGS = -I$(OPENSSL_CRYPTO_PREBUILT_DIR)/inc
- OPENSSL_CRYPTO_LDFLAGS = -L$(OPENSSL_CRYPTO_PREBUILT_DIR)/lib/linux64 -lcrypto
- OPENSSL_CRYPTO_LIBS = $(OPENSSL_CRYPTO_PREBUILT_DIR)/lib/linux64/libcrypto.a
- endif
-+
-+USE_HOST_TINYXML2 ?= 0
-+
-+ifeq ($(USE_HOST_TINYXML2), 1)
-+TINYXML2_CFLAGS = $(shell pkg-config --cflags tinyxml2)
-+TINYXML2_LDFLAGS = $(shell pkg-config --libs tinyxml2)
-+TINYXML2_OBJ =
-+TINYXML2_DIR =
-+else
-+TINYXML2_CFLAGS = -I$(LINUX_EXTERNAL_DIR)/tinyxml2
-+TINYXML2_LDFLAGS =
-+TINYXML2_OBJ = tinyxml2.o
-+TINYXML2_DIR = $(LINUX_EXTERNAL_DIR)/tinyxml2/
-+endif
-diff --git a/sdk/sign_tool/SignTool/Makefile b/sdk/sign_tool/SignTool/Makefile
-index 1aa75246..712e3771 100644
---- a/sdk/sign_tool/SignTool/Makefile
-+++ b/sdk/sign_tool/SignTool/Makefile
-@@ -24,11 +24,11 @@ INC +=  -I$(COMMON_DIR)/inc                         \
-         -I$(LINUX_PSW_DIR)/enclave_common           \
-         -I$(LINUX_PSW_DIR)/urts                     \
-         -I$(LINUX_PSW_DIR)/urts/linux               \
--        -I$(LINUX_EXTERNAL_DIR)/tinyxml2            \
-+        $(TINYXML2_CFLAGS)                          \
-         -I$(LINUX_PSW_DIR)/urts/parser              \
-         $(OPENSSL_CRYPTO_CFLAGS)
- 
--DIR1 := $(LINUX_EXTERNAL_DIR)/tinyxml2/
-+DIR1 := $(TINYXML2_DIR)
- DIR2 := $(COMMON_DIR)/src/
- DIR3 := $(LINUX_PSW_DIR)/urts/
- DIR4 := $(LINUX_PSW_DIR)/urts/linux
-@@ -43,7 +43,7 @@ OBJ1 := manage_metadata.o      \
- 
- OBJ2 := sgx_memset_s.o crypto_evp_digest.o crypto_rsa_key.o crypto_rsa3072.o
- 
--OBJ3 := tinyxml2.o
-+OBJ3 := $(TINYXML2_OBJ)
- 
- OBJ4 := loader.o     \
-         se_detect.o  \
-@@ -62,7 +62,7 @@ all: sgx_sign | $(BUILD_DIR)
- $(BUILD_DIR):
- 	@$(MKDIR) $@
- 
--sgx_sign: PRIVATE_LDLIBS  := -lpthread -lenclaveparser $(OPENSSL_CRYPTO_LDFLAGS) -ldl
-+sgx_sign: PRIVATE_LDLIBS  := -lpthread -lenclaveparser $(OPENSSL_CRYPTO_LDFLAGS) -ldl $(TINYXML2_LDFLAGS)
- sgx_sign: PRIVATE_LDFLAGS := -L$(LINUX_PSW_DIR)/urts/parser $(LDFLAGS)
- 
- sgx_sign: $(OBJS) enclaveparser
--- 
-2.55.0
-

diff --git a/0002-Add-support-for-building-against-host-CppMicroServic.patch b/0002-Add-support-for-building-against-host-CppMicroServic.patch
deleted file mode 100644
index b2d2f16..0000000
--- a/0002-Add-support-for-building-against-host-CppMicroServic.patch
+++ /dev/null
@@ -1,142 +0,0 @@
-From d8ef5d50d7ed9fdc910516dd61066bde759e1d84 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= <berrange@redhat.com>
-Date: Thu, 13 Feb 2025 14:01:10 +0000
-Subject: [PATCH 02/16] Add support for building against host CppMicroServices
- lib
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-For the aesm_sevice it is desirable to be build against the host
-provided CppMicroServices library, such that security updates
-automatically propagate from the distro vendor.
-
-This is enabled as an opt-in by setting the make variable
-
-  USE_HOST_CPPMICROSERVICES=1
-
-The in-tree bundle of CppMicroServices ships a 6 year outdated
-git snapshot that claims to be version 4.0.0, since that time
-upstream reverted the version to 3.x.x. Hence the cmake path
-used for the host is looking for 'cppmicroservices3' not
-'cppmicroservices4' which is used for the ancient bundled copy.
-
-Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
----
- buildenv.mk                               | 10 +++++++++
- psw/ae/aesm_service/Makefile              | 27 ++++++++++++++---------
- psw/ae/aesm_service/source/CMakeLists.txt |  2 +-
- 3 files changed, 28 insertions(+), 11 deletions(-)
-
-diff --git a/buildenv.mk b/buildenv.mk
-index 47f3125e..727d6f09 100644
---- a/buildenv.mk
-+++ b/buildenv.mk
-@@ -363,3 +363,13 @@ TINYXML2_LDFLAGS =
- TINYXML2_OBJ = tinyxml2.o
- TINYXML2_DIR = $(LINUX_EXTERNAL_DIR)/tinyxml2/
- endif
-+
-+USE_HOST_CPPMICROSERVICES ?= 0
-+
-+ifeq ($(USE_HOST_CPPMICROSERVICES), 1)
-+CPPMICROSERVICES_CMAKE_DIR = /usr/share/cppmicroservices3/cmake
-+else
-+CPPMICROSERVICES_SRC_DIR = $(LINUX_EXTERNAL_DIR)/CppMicroServices
-+CPPMICROSERVICES_INSTALL_DIR = $(CPPMICROSERVICES_SRC_DIR)/local-install
-+CPPMICROSERVICES_CMAKE_DIR = $(CPPMICROSERVICES_INSTALL_DIR)/share/cppmicroservices4/cmake
-+endif
-diff --git a/psw/ae/aesm_service/Makefile b/psw/ae/aesm_service/Makefile
-index 59c18263..f3585bbb 100644
---- a/psw/ae/aesm_service/Makefile
-+++ b/psw/ae/aesm_service/Makefile
-@@ -7,10 +7,8 @@
- TOP_DIR  = ../../..
- include $(TOP_DIR)/buildenv.mk
- 
--CPPMICROSERVICES_DIR := $(LINUX_EXTERNAL_DIR)/CppMicroServices
--CPPMICROSERVICES_INSTALL := $(CPPMICROSERVICES_DIR)/local-install
- AESM_CONFIG := -DBUILD_SHARED_LIBS=ON -DUS_BUILD_SHARED_LIBS=ON
--CPPMICROSERVICES_CONFIG := -DCMAKE_INSTALL_PREFIX=$(CPPMICROSERVICES_INSTALL) -DCMAKE_BUILD_TYPE=RelWithDebInfo -DFORTIFY_SOURCE_VAL=$(FORTIFY_SOURCE_VAL)
-+CPPMICROSERVICES_CONFIG := -DCMAKE_INSTALL_PREFIX=$(CPPMICROSERVICES_INSTALL_DIR) -DCMAKE_BUILD_TYPE=RelWithDebInfo -DFORTIFY_SOURCE_VAL=$(FORTIFY_SOURCE_VAL)
- ifdef DEBUG
-     AESM_CONFIG += -DCMAKE_BUILD_TYPE=Debug
- else
-@@ -19,6 +17,7 @@ endif
- 
- AESM_CONFIG += -DOPENSSL_CRYPTO_CFLAGS=$(OPENSSL_CRYPTO_CFLAGS)
- AESM_CONFIG += -DOPENSSL_CRYPTO_LIBS=$(OPENSSL_CRYPTO_LIBS)
-+AESM_CONFIG += -DCPPMICROSERVICES_CMAKE_DIR=$(CPPMICROSERVICES_CMAKE_DIR)
- 
- ifeq ($(ARCH), x86)
-     SQLITECFLAGS += -m32
-@@ -40,7 +39,9 @@ AESM_CONFIG += -DCMAKE_C_FLAGS="$(CFLAGS)" -DCMAKE_CXX_FLAGS="$(CXXFLAGS)" 	\
-                	-DCMAKE_SHARED_LINKER_FLAGS="$(COMMON_LDFLAGS)"
- 
- APPNAME         := source/build/bin/aesm_service
--CPPMICROSERVICES:= $(CPPMICROSERVICES_DIR)/build/lib/libCppMicroServices.so.4.0.0
-+ifeq ($(USE_HOST_CPPMICROSERVICES), 0)
-+CPPMICROSERVICES:= $(CPPMICROSERVICES_SRC_DIR)/build/lib/libCppMicroServices.so.4.0.0
-+endif
- RDRAND_LIBDIR :=$(LINUX_EXTERNAL_DIR)/rdrand/src
- RDRAND_MAKEFILE := $(RDRAND_LIBDIR)/Makefile
- 
-@@ -50,21 +51,25 @@ all: $(APPNAME) $(APPNAME_DEBUG) | $(BUILD_DIR)
- 
- $(APPNAME): $(CPPMICROSERVICES) source/build/CMakeCache.txt urts RDRAND
- 	$(MAKE) -C source/build
-+ifeq ($(USE_HOST_CPPMICROSERVICES), 0)
- 	$(CP) $(CPPMICROSERVICES) source/build/bin/
-+endif
- 
- CMAKE_VERSION_MAJOR=$(shell cmake --version | head -n  1 | cut -d \  -f 3 | cut -d . -f 1)
- CMAKE_VERSION_MINOR=$(shell cmake --version | head -n  1 | cut -d \  -f 3 | cut -d . -f 2 | xargs printf '%02d')
- CMAKE_VERSION=$(CMAKE_VERSION_MAJOR)$(CMAKE_VERSION_MINOR)
- CMAKE := $(HOME)/cache/bin/cmake
- 
-+ifeq ($(USE_HOST_CPPMICROSERVICES), 0)
- .PHONY: CPPMICROSERVICES
- $(CPPMICROSERVICES):
--	mkdir -p $(CPPMICROSERVICES_DIR)/build
-+	mkdir -p $(CPPMICROSERVICES_SRC_DIR)/build
- ifeq ($(shell test $(CMAKE_VERSION) -lt 302 && echo 1), 1)
--	$(CPPMICROSERVICES_DIR)/install_cmake.sh
--	cd $(CPPMICROSERVICES_DIR)/build && $(CMAKE) -DCMAKE_COMMAND=$(CMAKE) $(CPPMICROSERVICES_CONFIG) ../ && $(MAKE) && $(MAKE) install
-+	$(CPPMICROSERVICES_SRC_DIR)/install_cmake.sh
-+	cd $(CPPMICROSERVICES_SRC_DIR)/build && $(CMAKE) -DCMAKE_COMMAND=$(CMAKE) $(CPPMICROSERVICES_CONFIG) ../ && $(MAKE) && $(MAKE) install
- else
--	cd $(CPPMICROSERVICES_DIR)/build && cmake $(CPPMICROSERVICES_CONFIG) ../ && $(MAKE) && $(MAKE) install
-+	cd $(CPPMICROSERVICES_SRC_DIR)/build && cmake $(CPPMICROSERVICES_CONFIG) ../ && $(MAKE) && $(MAKE) install
-+endif
- endif
- 
- source/build/CMakeCache.txt: $(CPPMICROSERVICES)
-@@ -94,8 +99,10 @@ $(BUILD_DIR):
- .PHONY: clean
- clean:
- 	@$(RM) -r source/build
--	@$(RM) -r $(CPPMICROSERVICES_DIR)/build
--	@$(RM) -r $(CPPMICROSERVICES_INSTALL)
-+ifeq ($(USE_HOST_CPPMICROSERVICES), 0)
-+	@$(RM) -r $(CPPMICROSERVICES_SRC_DIR)/build
-+	@$(RM) -r $(CPPMICROSERVICES_INSTALL_DIR)
-+endif
- 	@$(RM) -r data
- ifeq ($(RDRAND_MAKEFILE), $(wildcard $(RDRAND_MAKEFILE)))
- 	@$(MAKE) distclean -C $(RDRAND_LIBDIR)
-diff --git a/psw/ae/aesm_service/source/CMakeLists.txt b/psw/ae/aesm_service/source/CMakeLists.txt
-index 8e511f64..a388ee3e 100644
---- a/psw/ae/aesm_service/source/CMakeLists.txt
-+++ b/psw/ae/aesm_service/source/CMakeLists.txt
-@@ -46,7 +46,7 @@ else()
- endif()
- 
- # check if CppMicroServices was found
--set(CppMicroServices_DIR ../../../../external/CppMicroServices/local-install/share/cppmicroservices4/cmake)
-+set(CppMicroServices_DIR ${CPPMICROSERVICES_CMAKE_DIR})
- find_package(CppMicroServices NO_MODULE REQUIRED)
- cmake_minimum_required(VERSION ${US_CMAKE_MINIMUM_REQUIRED_VERSION})
- cmake_policy(VERSION ${US_CMAKE_MINIMUM_REQUIRED_VERSION})
--- 
-2.55.0
-

diff --git a/0002-psw-fix-soname-for-libuae_service.so-library.patch b/0002-psw-fix-soname-for-libuae_service.so-library.patch
new file mode 100644
index 0000000..7dab8ac
--- /dev/null
+++ b/0002-psw-fix-soname-for-libuae_service.so-library.patch
@@ -0,0 +1,29 @@
+From b363b75492bf36bd86d291ca93921a1a46401c54 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= <berrange@redhat.com>
+Date: Fri, 17 Jan 2025 15:38:56 +0000
+Subject: [PATCH 2/8] psw: fix soname for libuae_service.so library
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
+---
+ psw/uae_service/linux/Makefile | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/psw/uae_service/linux/Makefile b/psw/uae_service/linux/Makefile
+index 68c91cb7..06407f38 100644
+--- a/psw/uae_service/linux/Makefile
++++ b/psw/uae_service/linux/Makefile
+@@ -130,7 +130,7 @@ libsgx_%.so: $(OBJ) %_version.o
+ 	$(CXX) $(CXXFLAGS) $^ -shared $(LDUFLAGS) -Wl,--version-script=$(@:.so=.lds) -Wl,--gc-sections $(EXTERNAL_LIB) -Wl,-soname=$@.$(call get_major_version,$(call get_version_name,$@)) -o $@
+ 
+ $(LEGACY_LIBNAME): $(LEGACY_OBJ)
+-	$(CXX) $(CXXFLAGS) $^ -shared $(LDUFLAGS) -ldl -Wl,--version-script=uae_service.lds -Wl,--gc-sections -Wl,-soname=$@ -o $@
++	$(CXX) $(CXXFLAGS) $^ -shared $(LDUFLAGS) -ldl -Wl,--version-script=uae_service.lds -Wl,--gc-sections -Wl,-soname=$@.$(call get_major_version,$(call get_version_name,$@)) -o $@
+ 
+ $(IPC_SRC:.cpp=.o) : $(IPC_COMMON_PROTO_DIR)/messages.pb.cc
+ AEServicesImpl.o : $(IPC_COMMON_PROTO_DIR)/messages.pb.cc
+-- 
+2.56.0
+

diff --git a/0003-Improve-make-debuggability.patch b/0003-Improve-make-debuggability.patch
deleted file mode 100644
index a60ba93..0000000
--- a/0003-Improve-make-debuggability.patch
+++ /dev/null
@@ -1,74 +0,0 @@
-From e33633d1d9e666c1852b564c4d62361846a3d11f Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= <berrange@redhat.com>
-Date: Fri, 1 Mar 2024 12:53:26 +0000
-Subject: [PATCH 03/16] Improve make debuggability
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Stop discarding stderr output
-Stop hardcoding parallelism to 'nproc' value and allow user
-specified setting to propagate to sub-make invocations.
-
-Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
----
- sdk/Makefile.source | 8 ++++----
- sdk/cpprt/Makefile  | 2 +-
- 2 files changed, 5 insertions(+), 5 deletions(-)
-
-diff --git a/sdk/Makefile.source b/sdk/Makefile.source
-index dfbc8c89..7b09375c 100644
---- a/sdk/Makefile.source
-+++ b/sdk/Makefile.source
-@@ -75,7 +75,7 @@ tstdc: $(LIBTLIBC)
- 
- ifndef SERVTD_ATTEST
- $(LIBTLIBC): tlibthread compiler-rt tsafecrt tsetjmp tmm_rsrv
--	$(MAKE) -C tlibc/ -j$(shell nproc) 2> /dev/null
-+	$(MAKE) -C tlibc/
- 	@$(MKDIR) $(BUILD_DIR)/.compiler-rt $(BUILD_DIR)/.tlibthread $(BUILD_DIR)/.tsafecrt $(BUILD_DIR)/.tsetjmp $(BUILD_DIR)/.tmm_rsrv
- 	@$(RM) -f $(BUILD_DIR)/.compiler-rt/*   && cd $(BUILD_DIR)/.compiler-rt && $(AR) x $(LINUX_SDK_DIR)/compiler-rt/libcompiler-rt.a
- 	@$(RM) -f $(BUILD_DIR)/.tlibthread/*    && cd $(BUILD_DIR)/.tlibthread && $(AR) x $(LINUX_SDK_DIR)/tlibthread/libtlibthread.a
-@@ -93,7 +93,7 @@ $(LIBTLIBC): tlibthread compiler-rt tsafecrt tsetjmp tmm_rsrv
- 	@$(RM) -rf $(BUILD_DIR)/.tsetjmp $(BUILD_DIR)/.tmm_rsrv
- else
- $(LIBTLIBC): tlibthread tsafecrt tsetjmp tmm_rsrv
--	$(MAKE) -C tlibc/ SERVTD_ATTEST=1 -j$(shell nproc) 2> /dev/null
-+	$(MAKE) -C tlibc/ SERVTD_ATTEST=1
- 	@$(MKDIR) $(BUILD_DIR)/.tlibthread $(BUILD_DIR)/.tsafecrt $(BUILD_DIR)/.tsetjmp  $(BUILD_DIR)/.tmm_rsrv
- 	@$(RM) -f $(BUILD_DIR)/.tlibthread/*    && cd $(BUILD_DIR)/.tlibthread && $(AR) x $(LINUX_SDK_DIR)/tlibthread/libtlibthread.a
- 	@$(RM) -f $(BUILD_DIR)/.tsafecrt/*      && cd $(BUILD_DIR)/.tsafecrt   && $(AR) x $(LINUX_SDK_DIR)/tsafecrt/libsgx_tsafecrt.a
-@@ -116,7 +116,7 @@ tsafecrt:
- 
- .PHONY: compiler-rt
- compiler-rt:
--	$(MAKE) -C compiler-rt/ 2> /dev/null
-+	$(MAKE) -C compiler-rt/
- 
- .PHONY: tsetjmp
- tsetjmp:
-@@ -160,7 +160,7 @@ cpprt: libcxxrt
- 
- .PHONY: tlibcxx
- tlibcxx: $(BUILD_DIR)
--	$(MAKE) -C tlibcxx/ 2> /dev/null
-+	$(MAKE) -C tlibcxx/
- 	$(CP) tlibcxx/README.sgx $(BUILD_DIR)/libc++_Changes_SGX.txt
- 
- # ---------------------------------------------------
-diff --git a/sdk/cpprt/Makefile b/sdk/cpprt/Makefile
-index 8d927482..3b8da3e5 100644
---- a/sdk/cpprt/Makefile
-+++ b/sdk/cpprt/Makefile
-@@ -77,7 +77,7 @@ $(CPPRT): $(OBJS) $(LIBCXXRT_STAMP) prepare-libunwind libunwind
- libunwind:
- 	cd $(LIBUNWIND_DIR)/ && \
- 		( test -f Makefile || CFLAGS="$(CFLAGS)" ./autogen.sh ) && \
--		$(MAKE) -j$(shell nproc)
-+		$(MAKE)
- 
- .PHONY: clean
- clean:
--- 
-2.55.0
-

diff --git a/0003-psw-make-aesm_service-build-verbose.patch b/0003-psw-make-aesm_service-build-verbose.patch
new file mode 100644
index 0000000..0167a86
--- /dev/null
+++ b/0003-psw-make-aesm_service-build-verbose.patch
@@ -0,0 +1,29 @@
+From 15b8146ae6477ab17071557501c56f97a992f5d2 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= <berrange@redhat.com>
+Date: Thu, 27 Mar 2025 16:07:10 +0000
+Subject: [PATCH 3/8] psw: make aesm_service build verbose.
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
+---
+ psw/ae/aesm_service/Makefile | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/psw/ae/aesm_service/Makefile b/psw/ae/aesm_service/Makefile
+index d33f74e5..abbde51b 100644
+--- a/psw/ae/aesm_service/Makefile
++++ b/psw/ae/aesm_service/Makefile
+@@ -50,7 +50,7 @@ all: $(APPNAME) $(APPNAME_DEBUG) | $(BUILD_DIR)
+ 	$(CP) -r source/build/bin/* $|
+ 
+ $(APPNAME): $(CPPMICROSERVICES) source/build/CMakeCache.txt RDRAND
+-	$(MAKE) -C source/build
++	$(MAKE) -C source/build VERBOSE=1
+ ifeq ($(USE_HOST_CPPMICROSERVICES), 0)
+ 	$(CP) $(CPPMICROSERVICES) source/build/bin/
+ endif
+-- 
+2.56.0
+

diff --git a/0004-Support-disabling-use-of-git-for-ippcp-code.patch b/0004-Support-disabling-use-of-git-for-ippcp-code.patch
deleted file mode 100644
index b03aaf8..0000000
--- a/0004-Support-disabling-use-of-git-for-ippcp-code.patch
+++ /dev/null
@@ -1,49 +0,0 @@
-From 35ac6c924b1909516f27662c0b208385b68505ac Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= <berrange@redhat.com>
-Date: Thu, 13 Feb 2025 14:37:24 +0000
-Subject: [PATCH 04/16] Support disabling use of git for ippcp code
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Allow the user to provide the ippcp source ahead of time,
-to avoid use of git in environments where there is no
-network access available.
-
-Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
----
- external/ippcp_internal/Makefile | 4 ++++
- 1 file changed, 4 insertions(+)
-
-diff --git a/external/ippcp_internal/Makefile b/external/ippcp_internal/Makefile
-index a57c22a9..d78ba90e 100644
---- a/external/ippcp_internal/Makefile
-+++ b/external/ippcp_internal/Makefile
-@@ -33,6 +33,8 @@ include ../../buildenv.mk
- 
- DIR = $(CURDIR)
- 
-+IPP_USE_GIT := 1
-+
- IPP_CONFIG = -Bbuild -DCMAKE_VERBOSE_MAKEFILE=on
- 
- # Ignore the CMAKE C/C++ compiler check to avoid conflicts with mitigation options
-@@ -85,6 +87,7 @@ build_ipp: $(CHECK_SOURCE)
- 	cd $(IPP_SOURCE) && $(PRE_CONFIG) cmake CMakeLists.txt $(IPP_CONFIG) && cd build && make ippcp_s
- 
- $(IPP_SOURCE)/build:
-+ifeq ($(IPP_USE_GIT), 1)
- ifeq ($(shell git rev-parse --is-inside-work-tree), true)
- 	git submodule update -f --init --recursive --remote -- $(IPP_SOURCE)
- else
-@@ -92,6 +95,7 @@ else
- 	git clone -b ipp-crypto_2021_12_1 https://github.com/intel/ipp-crypto.git --depth 1 $(IPP_SOURCE)
- endif
- 	cd $(IPP_SOURCE) && git apply ../0001-IPP-crypto-for-SGX.patch
-+endif
- 	mkdir -p $(IPP_SOURCE)/build
- 
- .PHONY: clean
--- 
-2.55.0
-

diff --git a/0004-linux-installer-drop-PCCS-package-from-BOM.patch b/0004-linux-installer-drop-PCCS-package-from-BOM.patch
new file mode 100644
index 0000000..ceedc46
--- /dev/null
+++ b/0004-linux-installer-drop-PCCS-package-from-BOM.patch
@@ -0,0 +1,375 @@
+From 7f7eaa037cf8bf2e751dcfaf4d327062478883b9 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= <berrange@redhat.com>
+Date: Fri, 27 Jun 2025 11:37:26 +0100
+Subject: [PATCH 4/8] linux/installer: drop PCCS package from BOM
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+PCCS will now be distributed as a standalone RPM package.
+
+Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
+---
+ .../BOM_install/intel-tee-pccs-admin-tool.txt |  8 --
+ .../psw-dcap/BOM_install/sgx-dcap-pccs.txt    | 87 -------------------
+ linux/installer/common/psw-dcap/Makefile      | 21 +----
+ linux/installer/common/psw-dcap/installConfig |  3 -
+ .../psw-tdx/BOM_install/sgx-dcap-pccs.txt     | 87 -------------------
+ linux/installer/common/psw-tdx/Makefile       | 14 +--
+ linux/installer/common/psw-tdx/installConfig  |  1 -
+ 7 files changed, 2 insertions(+), 219 deletions(-)
+ delete mode 100644 linux/installer/common/psw-dcap/BOM_install/intel-tee-pccs-admin-tool.txt
+ delete mode 100644 linux/installer/common/psw-dcap/BOM_install/sgx-dcap-pccs.txt
+ delete mode 100644 linux/installer/common/psw-tdx/BOM_install/sgx-dcap-pccs.txt
+
+diff --git a/linux/installer/common/psw-dcap/BOM_install/intel-tee-pccs-admin-tool.txt b/linux/installer/common/psw-dcap/BOM_install/intel-tee-pccs-admin-tool.txt
+deleted file mode 100644
+index 2068b5aa..00000000
+--- a/linux/installer/common/psw-dcap/BOM_install/intel-tee-pccs-admin-tool.txt
++++ /dev/null
+@@ -1,8 +0,0 @@
+-DeliveryName	InstallName	FileCheckSum	FileFeature	FileOwner
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/PccsAdminTool/License.txt	<installdir>/License.txt	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/PccsAdminTool/pccsadmin.py	<installdir>/pccsadmin.py	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/PccsAdminTool/README.txt	<installdir>/README.txt	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/PccsAdminTool/requirements.txt	<installdir>/requirements.txt	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/PccsAdminTool/lib/__init__.py	<installdir>/lib/__init__.py	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/PccsAdminTool/lib/intelsgx/credential.py	<installdir>/lib/intelsgx/credential.py	0	main	STP
+-
+diff --git a/linux/installer/common/psw-dcap/BOM_install/sgx-dcap-pccs.txt b/linux/installer/common/psw-dcap/BOM_install/sgx-dcap-pccs.txt
+deleted file mode 100644
+index 13065239..00000000
+--- a/linux/installer/common/psw-dcap/BOM_install/sgx-dcap-pccs.txt
++++ /dev/null
+@@ -1,87 +0,0 @@
+-DeliveryName	InstallName	FileCheckSum	FileFeature	FileOwner
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/config/default.json	<installdir>/config/default.json	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/config/production.json	<installdir>/config/production.json	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/constants/index.js	<installdir>/constants/index.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/constants/pccs_status_code.js	<installdir>/constants/pccs_status_code.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/controllers/identityController.js	<installdir>/controllers/identityController.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/controllers/index.js	<installdir>/controllers/index.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/controllers/pckcertController.js	<installdir>/controllers/pckcertController.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/controllers/pckcrlController.js	<installdir>/controllers/pckcrlController.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/controllers/platformCollateralController.js	<installdir>/controllers/platformCollateralController.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/controllers/platformsController.js	<installdir>/controllers/platformsController.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/controllers/refreshController.js	<installdir>/controllers/refreshController.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/controllers/rootcacrlController.js	<installdir>/controllers/rootcacrlController.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/controllers/tcbinfoController.js	<installdir>/controllers/tcbinfoController.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/controllers/crlController.js	<installdir>/controllers/crlController.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/controllers/appraisalPolicyController.js	<installdir>/controllers/appraisalPolicyController.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/dao/models/fmspc_tcbs.js	<installdir>/dao/models/fmspc_tcbs.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/dao/models/index.js	<installdir>/dao/models/index.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/dao/models/pck_cert.js	<installdir>/dao/models/pck_cert.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/dao/models/pck_certchain.js	<installdir>/dao/models/pck_certchain.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/dao/models/pck_crl.js	<installdir>/dao/models/pck_crl.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/dao/models/pcs_certificates.js	<installdir>/dao/models/pcs_certificates.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/dao/models/pcs_version.js	<installdir>/dao/models/pcs_version.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/dao/models/platform_tcbs.js	<installdir>/dao/models/platform_tcbs.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/dao/models/platforms_registered.js	<installdir>/dao/models/platforms_registered.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/dao/models/platforms.js	<installdir>/dao/models/platforms.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/dao/models/enclave_identities.js	<installdir>/dao/models/enclave_identities.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/dao/models/crl_cache.js	<installdir>/dao/models/crl_cache.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/dao/models/appraisal_policy.js	<installdir>/dao/models/appraisal_policy.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/dao/fmspcTcbDao.js	<installdir>/dao/fmspcTcbDao.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/dao/pckCertchainDao.js	<installdir>/dao/pckCertchainDao.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/dao/pckcertDao.js	<installdir>/dao/pckcertDao.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/dao/pckcrlDao.js	<installdir>/dao/pckcrlDao.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/dao/pcsCertificatesDao.js	<installdir>/dao/pcsCertificatesDao.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/dao/pcsVersionDao.js	<installdir>/dao/pcsVersionDao.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/dao/platformsDao.js	<installdir>/dao/platformsDao.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/dao/platformsRegDao.js	<installdir>/dao/platformsRegDao.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/dao/platformTcbsDao.js	<installdir>/dao/platformTcbsDao.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/dao/enclaveIdentityDao.js	<installdir>/dao/enclaveIdentityDao.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/dao/crlCacheDao.js	<installdir>/dao/crlCacheDao.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/dao/appraisalPolicyDao.js	<installdir>/dao/appraisalPolicyDao.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/middleware/auth.js	<installdir>/middleware/auth.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/middleware/error.js	<installdir>/middleware/error.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/middleware/addRequestId.js	<installdir>/middleware/addRequestId.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/middleware/filterDuplicatedParams.js	<installdir>/middleware/filterDuplicatedParams.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/migrations/00_db_initialize.up.sql	<installdir>/migrations/00_db_initialize.up.sql	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/migrations/01_db_version_1.js	<installdir>/migrations/01_db_version_1.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/migrations/02_db_version_2.js	<installdir>/migrations/02_db_version_2.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/migrations/03_db_version_3.js	<installdir>/migrations/03_db_version_3.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/migrations/04_db_version_4.js	<installdir>/migrations/04_db_version_4.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/migrations/05_db_version_5.js	<installdir>/migrations/05_db_version_5.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/pckCertSelection/PckCertificate.js	<installdir>/pckCertSelection/PckCertificate.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/pckCertSelection/Tcb.js	<installdir>/pckCertSelection/Tcb.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/pckCertSelection/pckCertSelection.js	<installdir>/pckCertSelection/pckCertSelection.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/pcs_client/pcs_client.js	<installdir>/pcs_client/pcs_client.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/routes/index.js	<installdir>/routes/index.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/services/identityService.js	<installdir>/services/identityService.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/services/index.js	<installdir>/services/index.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/services/pccs_schemas.js	<installdir>/services/pccs_schemas.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/services/pckcertService.js	<installdir>/services/pckcertService.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/services/pckcrlService.js	<installdir>/services/pckcrlService.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/services/platformCollateralService.js	<installdir>/services/platformCollateralService.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/services/platformsRegService.js	<installdir>/services/platformsRegService.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/services/platformsService.js	<installdir>/services/platformsService.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/services/refreshService.js	<installdir>/services/refreshService.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/services/rootcacrlService.js	<installdir>/services/rootcacrlService.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/services/tcbinfoService.js	<installdir>/services/tcbinfoService.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/services/crlService.js	<installdir>/services/crlService.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/services/appraisalPolicyService.js	<installdir>/services/appraisalPolicyService.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/services/caching_modes/cachingMode.js	<installdir>/services/caching_modes/cachingMode.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/services/caching_modes/cachingModeManager.js	<installdir>/services/caching_modes/cachingModeManager.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/services/logic/commonCacheLogic.js	<installdir>/services/logic/commonCacheLogic.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/services/logic/qvCollateralLogic.js	<installdir>/services/logic/qvCollateralLogic.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/utils/Logger.js	<installdir>/utils/Logger.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/utils/PccsError.js	<installdir>/utils/PccsError.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/utils/apputil.js	<installdir>/utils/apputil.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/utils/errors.js	<installdir>/utils/errors.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/x509/x509.js	<installdir>/x509/x509.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/install.sh	<installdir>/install.sh	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/uninstall.sh	<installdir>/uninstall.sh	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/package.json	<installdir>/package.json	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/package-lock.json	<installdir>/package-lock.json	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/pccs_server.js	<installdir>/pccs_server.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/pccs.service	<installdir>/pccs.service	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/startup.sh	<installdir>/startup.sh	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/README.md	<installdir>/README.md	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/nodejs.cnf	<installdir>/nodejs.cnf	0	main	STP
+diff --git a/linux/installer/common/psw-dcap/Makefile b/linux/installer/common/psw-dcap/Makefile
+index 1ff7e2a2..e56e8121 100644
+--- a/linux/installer/common/psw-dcap/Makefile
++++ b/linux/installer/common/psw-dcap/Makefile
+@@ -62,9 +62,6 @@ AESMD_CONF=aesmd.service
+ AESMD_CONF_DEL=aesmd.conf
+ AESMD_CONF_PATH=$(if $(wildcard /lib/systemd/system/.),/lib/systemd/system,/usr/lib/systemd/system)
+ 
+-PCCS_CONF=pccs.service
+-PCCS_CONF_PATH=$(if $(wildcard /lib/systemd/system/.),/lib/systemd/system,/usr/lib/systemd/system)
+-
+ RAD_CONF=mpa_registration_tool.service
+ RAD_CONF_DEL=mpa_registration_tool.conf
+ RAD_CONF_PATH=$(if $(wildcard /lib/systemd/system/.),/lib/systemd/system,/usr/lib/systemd/system)
+@@ -168,13 +165,12 @@ ALL_PKGS:= $(AESM_SERVICE_PKGS) $(AE_PKGS) $(DEV_LIB_PKGS)
+ 
+ AUX_TOOL_PKGS:= $(TEE_APPRAISAL_TOOL_PACKAGE) \
+                 $(PCS_CLIENT_TOOL_PACKAGE)    \
+-                $(PCCS_ADMIN_TOOL_PACKAGE)    \
+                 $(POE_GEN_TOOL_PACKAGE)       \
+                 $(POE_EVAL_TOOL_PACKAGE)
+ 
+ $(foreach PKG,$(AESM_SERVICE_PKGS) $(AE_PKGS),$(eval $(call INSTALL_AESM_SERVICE_TEMPLATE,$(PKG))))
+ $(foreach PKG,$(DEV_LIB_PKGS),$(eval $(call INSTALL_DEV_LIB_TEMPLATE,$(PKG))))
+-$(foreach PKG,$(AESM_SERVICE_PKGS) $(AE_PKGS) $(DEV_LIB_PKGS) $(DCAP_PCCS_PACKAGE) $(RA_SERVICE_PACKAGE) $(PCK_ID_RETRIEVAL_TOOL_PACKAGE) $(AUX_TOOL_PKGS),$(eval $(call PRE_INSTALL_TEMPLATE,$(PKG))))
++$(foreach PKG,$(AESM_SERVICE_PKGS) $(AE_PKGS) $(DEV_LIB_PKGS) $(RA_SERVICE_PACKAGE) $(PCK_ID_RETRIEVAL_TOOL_PACKAGE) $(AUX_TOOL_PKGS),$(eval $(call PRE_INSTALL_TEMPLATE,$(PKG))))
+ 
+ # Enclave runtime libraries and developer headers are delegated to sgx-enclave-runtime
+ PHONY+=install_enclave_runtime
+@@ -211,14 +207,6 @@ install_$(AESM_SERVICE_PACKAGE): $(foreach PKG,$(AESM_SERVICE_PKGS),post_$(PKG))
+ 	ln -fs $(shell readlink -m $(USR_LIB_PATH)/libsgx_pce.signed.so)                                          && \
+ 	ln -fs liburts_internal.so libsgx_urts.so.$(URTS_MAJOR_VER)
+ 
+-PHONY+=install_$(DCAP_PCCS_PACKAGE)
+-install_$(DCAP_PCCS_PACKAGE): pre_$(DCAP_PCCS_PACKAGE) | $(PACKAGE_ROOT_PATH)
+-	install -d $(shell readlink -m $(DESTDIR)/$(DCAP_PCCS_PACKAGE)/$(PCCS_CONF_PATH))                        && \
+-	cp -f $|/$(DCAP_PCCS_PACKAGE)/$(PCCS_CONF) $(DESTDIR)/$(DCAP_PCCS_PACKAGE)/$(PCCS_CONF_PATH)             && \
+-	rm -f $|/$(DCAP_PCCS_PACKAGE)/$(PCCS_CONF)
+-	install -d $(shell readlink -m $(DESTDIR)/$(DCAP_PCCS_PACKAGE)/$(SGX_INSTALL_PATH)/$(DCAP_PCCS_PACKAGE)) && \
+-	cp -fr $|/$(DCAP_PCCS_PACKAGE)/* $(DESTDIR)/$(DCAP_PCCS_PACKAGE)/$(SGX_INSTALL_PATH)/$(DCAP_PCCS_PACKAGE)
+-
+ PHONY+=$(RA_SERVICE_PACKAGE)
+ $(RA_SERVICE_PACKAGE): pre_$(RA_SERVICE_PACKAGE) | $(PACKAGE_ROOT_PATH)
+ 	install -d $(shell readlink -m $(DESTDIR)/$@/$(SGX_INSTALL_PATH)/$@) && \
+@@ -323,11 +311,6 @@ install_$(PCS_CLIENT_TOOL_PACKAGE): pre_$(PCS_CLIENT_TOOL_PACKAGE) | $(PACKAGE_R
+ 	install -d $(shell readlink -m $(DESTDIR)/$(PCS_CLIENT_TOOL_PACKAGE)/$(SGX_INSTALL_PATH)/$(PCS_CLIENT_TOOL_INSTALL_DIR))
+ 	cp -fr $|/$(PCS_CLIENT_TOOL_PACKAGE)/* $(DESTDIR)/$(PCS_CLIENT_TOOL_PACKAGE)/$(SGX_INSTALL_PATH)/$(PCS_CLIENT_TOOL_INSTALL_DIR)
+ 
+-PHONY+=install_$(PCCS_ADMIN_TOOL_PACKAGE)
+-install_$(PCCS_ADMIN_TOOL_PACKAGE): pre_$(PCCS_ADMIN_TOOL_PACKAGE) | $(PACKAGE_ROOT_PATH)
+-	install -d $(shell readlink -m $(DESTDIR)/$(PCCS_ADMIN_TOOL_PACKAGE)/$(SGX_INSTALL_PATH)/$(PCCS_ADMIN_TOOL_INSTALL_DIR))
+-	cp -fr $|/$(PCCS_ADMIN_TOOL_PACKAGE)/* $(DESTDIR)/$(PCCS_ADMIN_TOOL_PACKAGE)/$(SGX_INSTALL_PATH)/$(PCCS_ADMIN_TOOL_INSTALL_DIR)
+-
+ PHONY+=install_$(POE_GEN_TOOL_PACKAGE)
+ install_$(POE_GEN_TOOL_PACKAGE): pre_$(POE_GEN_TOOL_PACKAGE) | $(PACKAGE_ROOT_PATH)
+ 	poe_source="$|/$(POE_GEN_TOOL_PACKAGE)"; \
+@@ -354,12 +337,10 @@ install_$(POE_EVAL_TOOL_PACKAGE): pre_$(POE_EVAL_TOOL_PACKAGE) | $(PACKAGE_ROOT_
+ 
+ PHONY+=install
+ install: install_$(AESM_SERVICE_PACKAGE)         \
+-	install_$(DCAP_PCCS_PACKAGE)             \
+ 	install_$(RA_SERVICE_PACKAGE)            \
+ 	install_$(PCK_ID_RETRIEVAL_TOOL_PACKAGE) \
+ 	install_$(TEE_APPRAISAL_TOOL_PACKAGE)    \
+ 	install_$(PCS_CLIENT_TOOL_PACKAGE)       \
+-	install_$(PCCS_ADMIN_TOOL_PACKAGE)       \
+ 	install_$(POE_GEN_TOOL_PACKAGE)          \
+ 	install_$(POE_EVAL_TOOL_PACKAGE)         \
+ 	install_ae                               \
+diff --git a/linux/installer/common/psw-dcap/installConfig b/linux/installer/common/psw-dcap/installConfig
+index ed598b30..cb53821a 100644
+--- a/linux/installer/common/psw-dcap/installConfig
++++ b/linux/installer/common/psw-dcap/installConfig
+@@ -19,7 +19,6 @@ DCAP_QL_PACKAGE=libsgx-dcap-ql
+ DCAP_QL_DEV_PACKAGE=libsgx-dcap-ql-devel
+ DCAP_QVL_PACKAGE=libsgx-dcap-quote-verify
+ DCAP_QVL_DEV_PACKAGE=libsgx-dcap-quote-verify-devel
+-DCAP_PCCS_PACKAGE=sgx-dcap-pccs
+ POE_LIB_PACKAGE=libintel-dcap-poe-devel
+ 
+ PCK_ID_RETRIEVAL_TOOL_PACKAGE=sgx-pck-id-retrieval-tool
+@@ -32,8 +31,6 @@ RA_SERVICE_PACKAGE=sgx-ra-service
+ TEE_APPRAISAL_TOOL_PACKAGE=tee-appraisal-tool
+ PCS_CLIENT_TOOL_PACKAGE=intel-tee-pcs-client-tool
+ PCS_CLIENT_TOOL_INSTALL_DIR=pcs-client-tool
+-PCCS_ADMIN_TOOL_PACKAGE=intel-tee-pccs-admin-tool
+-PCCS_ADMIN_TOOL_INSTALL_DIR=pccs-admin-tool
+ POE_GEN_TOOL_PACKAGE=intel-tee-poe-gen-tool
+ POE_GEN_TOOL_INSTALL_DIR=poe-gen-tool
+ POE_EVAL_TOOL_PACKAGE=intel-tee-poe-eval-tool
+diff --git a/linux/installer/common/psw-tdx/BOM_install/sgx-dcap-pccs.txt b/linux/installer/common/psw-tdx/BOM_install/sgx-dcap-pccs.txt
+deleted file mode 100644
+index 13065239..00000000
+--- a/linux/installer/common/psw-tdx/BOM_install/sgx-dcap-pccs.txt
++++ /dev/null
+@@ -1,87 +0,0 @@
+-DeliveryName	InstallName	FileCheckSum	FileFeature	FileOwner
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/config/default.json	<installdir>/config/default.json	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/config/production.json	<installdir>/config/production.json	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/constants/index.js	<installdir>/constants/index.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/constants/pccs_status_code.js	<installdir>/constants/pccs_status_code.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/controllers/identityController.js	<installdir>/controllers/identityController.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/controllers/index.js	<installdir>/controllers/index.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/controllers/pckcertController.js	<installdir>/controllers/pckcertController.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/controllers/pckcrlController.js	<installdir>/controllers/pckcrlController.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/controllers/platformCollateralController.js	<installdir>/controllers/platformCollateralController.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/controllers/platformsController.js	<installdir>/controllers/platformsController.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/controllers/refreshController.js	<installdir>/controllers/refreshController.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/controllers/rootcacrlController.js	<installdir>/controllers/rootcacrlController.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/controllers/tcbinfoController.js	<installdir>/controllers/tcbinfoController.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/controllers/crlController.js	<installdir>/controllers/crlController.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/controllers/appraisalPolicyController.js	<installdir>/controllers/appraisalPolicyController.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/dao/models/fmspc_tcbs.js	<installdir>/dao/models/fmspc_tcbs.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/dao/models/index.js	<installdir>/dao/models/index.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/dao/models/pck_cert.js	<installdir>/dao/models/pck_cert.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/dao/models/pck_certchain.js	<installdir>/dao/models/pck_certchain.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/dao/models/pck_crl.js	<installdir>/dao/models/pck_crl.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/dao/models/pcs_certificates.js	<installdir>/dao/models/pcs_certificates.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/dao/models/pcs_version.js	<installdir>/dao/models/pcs_version.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/dao/models/platform_tcbs.js	<installdir>/dao/models/platform_tcbs.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/dao/models/platforms_registered.js	<installdir>/dao/models/platforms_registered.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/dao/models/platforms.js	<installdir>/dao/models/platforms.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/dao/models/enclave_identities.js	<installdir>/dao/models/enclave_identities.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/dao/models/crl_cache.js	<installdir>/dao/models/crl_cache.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/dao/models/appraisal_policy.js	<installdir>/dao/models/appraisal_policy.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/dao/fmspcTcbDao.js	<installdir>/dao/fmspcTcbDao.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/dao/pckCertchainDao.js	<installdir>/dao/pckCertchainDao.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/dao/pckcertDao.js	<installdir>/dao/pckcertDao.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/dao/pckcrlDao.js	<installdir>/dao/pckcrlDao.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/dao/pcsCertificatesDao.js	<installdir>/dao/pcsCertificatesDao.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/dao/pcsVersionDao.js	<installdir>/dao/pcsVersionDao.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/dao/platformsDao.js	<installdir>/dao/platformsDao.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/dao/platformsRegDao.js	<installdir>/dao/platformsRegDao.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/dao/platformTcbsDao.js	<installdir>/dao/platformTcbsDao.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/dao/enclaveIdentityDao.js	<installdir>/dao/enclaveIdentityDao.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/dao/crlCacheDao.js	<installdir>/dao/crlCacheDao.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/dao/appraisalPolicyDao.js	<installdir>/dao/appraisalPolicyDao.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/middleware/auth.js	<installdir>/middleware/auth.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/middleware/error.js	<installdir>/middleware/error.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/middleware/addRequestId.js	<installdir>/middleware/addRequestId.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/middleware/filterDuplicatedParams.js	<installdir>/middleware/filterDuplicatedParams.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/migrations/00_db_initialize.up.sql	<installdir>/migrations/00_db_initialize.up.sql	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/migrations/01_db_version_1.js	<installdir>/migrations/01_db_version_1.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/migrations/02_db_version_2.js	<installdir>/migrations/02_db_version_2.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/migrations/03_db_version_3.js	<installdir>/migrations/03_db_version_3.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/migrations/04_db_version_4.js	<installdir>/migrations/04_db_version_4.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/migrations/05_db_version_5.js	<installdir>/migrations/05_db_version_5.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/pckCertSelection/PckCertificate.js	<installdir>/pckCertSelection/PckCertificate.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/pckCertSelection/Tcb.js	<installdir>/pckCertSelection/Tcb.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/pckCertSelection/pckCertSelection.js	<installdir>/pckCertSelection/pckCertSelection.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/pcs_client/pcs_client.js	<installdir>/pcs_client/pcs_client.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/routes/index.js	<installdir>/routes/index.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/services/identityService.js	<installdir>/services/identityService.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/services/index.js	<installdir>/services/index.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/services/pccs_schemas.js	<installdir>/services/pccs_schemas.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/services/pckcertService.js	<installdir>/services/pckcertService.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/services/pckcrlService.js	<installdir>/services/pckcrlService.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/services/platformCollateralService.js	<installdir>/services/platformCollateralService.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/services/platformsRegService.js	<installdir>/services/platformsRegService.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/services/platformsService.js	<installdir>/services/platformsService.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/services/refreshService.js	<installdir>/services/refreshService.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/services/rootcacrlService.js	<installdir>/services/rootcacrlService.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/services/tcbinfoService.js	<installdir>/services/tcbinfoService.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/services/crlService.js	<installdir>/services/crlService.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/services/appraisalPolicyService.js	<installdir>/services/appraisalPolicyService.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/services/caching_modes/cachingMode.js	<installdir>/services/caching_modes/cachingMode.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/services/caching_modes/cachingModeManager.js	<installdir>/services/caching_modes/cachingModeManager.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/services/logic/commonCacheLogic.js	<installdir>/services/logic/commonCacheLogic.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/services/logic/qvCollateralLogic.js	<installdir>/services/logic/qvCollateralLogic.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/utils/Logger.js	<installdir>/utils/Logger.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/utils/PccsError.js	<installdir>/utils/PccsError.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/utils/apputil.js	<installdir>/utils/apputil.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/utils/errors.js	<installdir>/utils/errors.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/x509/x509.js	<installdir>/x509/x509.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/install.sh	<installdir>/install.sh	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/uninstall.sh	<installdir>/uninstall.sh	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/package.json	<installdir>/package.json	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/package-lock.json	<installdir>/package-lock.json	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/pccs_server.js	<installdir>/pccs_server.js	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/pccs.service	<installdir>/pccs.service	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/startup.sh	<installdir>/startup.sh	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/README.md	<installdir>/README.md	0	main	STP
+-<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/nodejs.cnf	<installdir>/nodejs.cnf	0	main	STP
+diff --git a/linux/installer/common/psw-tdx/Makefile b/linux/installer/common/psw-tdx/Makefile
+index de05b158..8a1c644c 100644
+--- a/linux/installer/common/psw-tdx/Makefile
++++ b/linux/installer/common/psw-tdx/Makefile
+@@ -79,9 +79,6 @@ QGSD_CONF=qgsd.service
+ QGSD_CONF_DEL=qgsd.conf
+ QGSD_CONF_PATH=$(if $(wildcard /lib/systemd/system/.),/lib/systemd/system,/usr/lib/systemd/system)
+ 
+-PCCS_CONF=pccs.service
+-PCCS_CONF_PATH=$(if $(wildcard /lib/systemd/system/.),/lib/systemd/system,/usr/lib/systemd/system)
+-
+ RAD_CONF=mpa_registration_tool.service
+ RAD_CONF_DEL=mpa_registration_tool.conf
+ RAD_CONF_PATH=$(if $(wildcard /lib/systemd/system/.),/lib/systemd/system,/usr/lib/systemd/system)
+@@ -156,7 +153,7 @@ ALL_PKGS:= $(TDX_QGS_PKGS) $(AE_PKGS) $(DEV_LIB_PKGS)
+ 
+ $(foreach PKG,$(TDX_QGS_PKGS) $(AE_PKGS),$(eval $(call INSTALL_AESM_SERVICE_TEMPLATE,$(PKG))))
+ $(foreach PKG,$(DEV_LIB_PKGS),$(eval $(call INSTALL_DEV_LIB_TEMPLATE,$(PKG))))
+-$(foreach PKG,$(TDX_QGS_PKGS) $(AE_PKGS) $(DEV_LIB_PKGS) $(DCAP_PCCS_PACKAGE) $(RA_SERVICE_PACKAGE) $(PCK_ID_RETRIEVAL_TOOL_PACKAGE),$(eval $(call PRE_INSTALL_TEMPLATE,$(PKG))))
++$(foreach PKG,$(TDX_QGS_PKGS) $(AE_PKGS) $(DEV_LIB_PKGS) $(RA_SERVICE_PACKAGE) $(PCK_ID_RETRIEVAL_TOOL_PACKAGE),$(eval $(call PRE_INSTALL_TEMPLATE,$(PKG))))
+ 
+ # Enclave runtime libraries and developer headers are delegated to enclave-runtime
+ PHONY+=install_enclave_runtime
+@@ -189,14 +186,6 @@ install_$(TDX_QGS_PACKAGE): $(foreach PKG,$(TDX_QGS_PKGS),post_$(PKG))
+ 				$(DESTDIR)/$(TDX_QGS_PACKAGE)/$(ETC_DIR) &&                                                         \
+ 		rm -fr $(DESTDIR)/$(TDX_QGS_PACKAGE)/$(SGX_INSTALL_PATH)/$(TDX_QGS_PACKAGE)/conf))
+ 
+-PHONY+=install_$(DCAP_PCCS_PACKAGE)
+-install_$(DCAP_PCCS_PACKAGE): pre_$(DCAP_PCCS_PACKAGE) | $(PACKAGE_ROOT_PATH)
+-	install -d $(shell readlink -m $(DESTDIR)/$(DCAP_PCCS_PACKAGE)/$(PCCS_CONF_PATH))                        && \
+-	cp -f $|/$(DCAP_PCCS_PACKAGE)/$(PCCS_CONF) $(DESTDIR)/$(DCAP_PCCS_PACKAGE)/$(PCCS_CONF_PATH)             && \
+-	rm -f $|/$(DCAP_PCCS_PACKAGE)/$(PCCS_CONF)
+-	install -d $(shell readlink -m $(DESTDIR)/$(DCAP_PCCS_PACKAGE)/$(SGX_INSTALL_PATH)/$(DCAP_PCCS_PACKAGE)) && \
+-	cp -fr $|/$(DCAP_PCCS_PACKAGE)/* $(DESTDIR)/$(DCAP_PCCS_PACKAGE)/$(SGX_INSTALL_PATH)/$(DCAP_PCCS_PACKAGE)
+-
+ PHONY+=$(RA_SERVICE_PACKAGE)
+ $(RA_SERVICE_PACKAGE): pre_$(RA_SERVICE_PACKAGE) | $(PACKAGE_ROOT_PATH)
+ 	install -d $(shell readlink -m $(DESTDIR)/$@/$(SGX_INSTALL_PATH)/$@) && \
+@@ -290,7 +279,6 @@ install_dev_lib: install_enclave_runtime_dev $(foreach PKG,$(DEV_LIB_PKGS),post_
+ 
+ PHONY+=install
+ install: install_$(TDX_QGS_PACKAGE)          \
+-	install_$(DCAP_PCCS_PACKAGE)             \
+ 	install_$(RA_SERVICE_PACKAGE)            \
+ 	install_$(PCK_ID_RETRIEVAL_TOOL_PACKAGE) \
+ 	install_ae                               \
+diff --git a/linux/installer/common/psw-tdx/installConfig b/linux/installer/common/psw-tdx/installConfig
+index 0d684bcb..956eebe1 100644
+--- a/linux/installer/common/psw-tdx/installConfig
++++ b/linux/installer/common/psw-tdx/installConfig
+@@ -13,7 +13,6 @@ TDX_ATTEST_PACKAGE=libtdx-attest
+ TDX_ATTEST_DEV_PACKAGE=libtdx-attest-devel
+ DCAP_QVL_PACKAGE=libsgx-dcap-quote-verify
+ DCAP_QVL_DEV_PACKAGE=libsgx-dcap-quote-verify-devel
+-DCAP_PCCS_PACKAGE=sgx-dcap-pccs
+ PCK_ID_RETRIEVAL_TOOL_PACKAGE=sgx-pck-id-retrieval-tool
+ RA_NETWORK_PACKAGE=libsgx-ra-network
+ RA_NETWORK_DEV_PACKAGE=libsgx-ra-network-devel
+-- 
+2.56.0
+

diff --git a/0005-disable-openmp-protobuf-sample_crypto-builds.patch b/0005-disable-openmp-protobuf-sample_crypto-builds.patch
deleted file mode 100644
index 800de10..0000000
--- a/0005-disable-openmp-protobuf-sample_crypto-builds.patch
+++ /dev/null
@@ -1,638 +0,0 @@
-From 9a7d74b0bc8f5566daf56f747dab2f0412a36898 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= <berrange@redhat.com>
-Date: Tue, 18 Jun 2024 15:57:22 +0100
-Subject: [PATCH 05/16] disable openmp, protobuf & sample_crypto builds
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-These libraries are demoware, not known to be used for anything
-important, so skip them to reduce amount of bundled package code.
-
-Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
----
- linux/installer/common/sdk/BOMs/sdk_base.txt  | 482 ------------------
- .../common/sdk/BOMs/sdk_cve_2020_0551_cf.txt  |   2 -
- .../sdk/BOMs/sdk_cve_2020_0551_load.txt       |   2 -
- linux/installer/common/sdk/BOMs/sdk_x64.txt   |   3 -
- sdk/Makefile.source                           |  24 +-
- 5 files changed, 1 insertion(+), 512 deletions(-)
-
-diff --git a/linux/installer/common/sdk/BOMs/sdk_base.txt b/linux/installer/common/sdk/BOMs/sdk_base.txt
-index 06512906..27029651 100644
---- a/linux/installer/common/sdk/BOMs/sdk_base.txt
-+++ b/linux/installer/common/sdk/BOMs/sdk_base.txt
-@@ -357,16 +357,6 @@ DeliveryName	InstallName	FileCheckSum	FileFeature	FileOwner
- <deliverydir>/SampleCode/SealUnseal/Enclave_Unseal/Enclave_Unseal.cpp	<installdir>/package/SampleCode/SealUnseal/Enclave_Unseal/Enclave_Unseal.cpp	0	N/A	N/A
- <deliverydir>/SampleCode/SealUnseal/Enclave_Unseal/Enclave_Unseal.edl	<installdir>/package/SampleCode/SealUnseal/Enclave_Unseal/Enclave_Unseal.edl	0	N/A	N/A
- <deliverydir>/SampleCode/SealUnseal/Enclave_Unseal/Enclave_Unseal.lds	<installdir>/package/SampleCode/SealUnseal/Enclave_Unseal/Enclave_Unseal.lds	0	N/A	N/A
--<deliverydir>/SampleCode/ProtobufSGXDemo/App/App.h	<installdir>/package/SampleCode/ProtobufSGXDemo/App/App.h	0	N/A	N/A
--<deliverydir>/SampleCode/ProtobufSGXDemo/App/App.cpp	<installdir>/package/SampleCode/ProtobufSGXDemo/App/App.cpp	0	N/A	N/A
--<deliverydir>/SampleCode/ProtobufSGXDemo/Enclave/Enclave.config.xml	<installdir>/package/SampleCode/ProtobufSGXDemo/Enclave/Enclave.config.xml	0	N/A	N/A
--<deliverydir>/SampleCode/ProtobufSGXDemo/Enclave/Enclave.cpp	<installdir>/package/SampleCode/ProtobufSGXDemo/Enclave/Enclave.cpp	0	N/A	N/A
--<deliverydir>/SampleCode/ProtobufSGXDemo/Enclave/Enclave_debug.lds	<installdir>/package/SampleCode/ProtobufSGXDemo/Enclave/Enclave_debug.lds	0	N/A	N/A
--<deliverydir>/SampleCode/ProtobufSGXDemo/Enclave/Enclave.edl	<installdir>/package/SampleCode/ProtobufSGXDemo/Enclave/Enclave.edl	0	N/A	N/A
--<deliverydir>/SampleCode/ProtobufSGXDemo/Enclave/Enclave.h	<installdir>/package/SampleCode/ProtobufSGXDemo/Enclave/Enclave.h	0	N/A	N/A
--<deliverydir>/SampleCode/ProtobufSGXDemo/Enclave/Enclave.lds	<installdir>/package/SampleCode/ProtobufSGXDemo/Enclave/Enclave.lds	0	N/A	N/A
--<deliverydir>/SampleCode/ProtobufSGXDemo/Enclave/person.proto	<installdir>/package/SampleCode/ProtobufSGXDemo/Enclave/person.proto	0	N/A	N/A
--<deliverydir>/SampleCode/ProtobufSGXDemo/Makefile	<installdir>/package/SampleCode/ProtobufSGXDemo/Makefile	0	N/A	N/A
- <deliverydir>/SampleCode/SampleAEXNotify/Enclave/Enclave.config.xml	<installdir>/package/SampleCode/SampleAEXNotify/Enclave/Enclave.config.xml	0	N/A	N/A
- <deliverydir>/SampleCode/SampleAEXNotify/Enclave/Enclave.cpp	<installdir>/package/SampleCode/SampleAEXNotify/Enclave/Enclave.cpp	0	N/A	N/A
- <deliverydir>/SampleCode/SampleAEXNotify/Enclave/Enclave.edl	<installdir>/package/SampleCode/SampleAEXNotify/Enclave/Enclave.edl	0	N/A	N/A
-@@ -562,476 +552,4 @@ DeliveryName	InstallName	FileCheckSum	FileFeature	FileOwner
- <deliverydir>/sdk/tlibcxx/include/variant	<installdir>/package/include/libcxx/variant	0	main	STP
- <deliverydir>/sdk/tlibcxx/include/vector	<installdir>/package/include/libcxx/vector	0	main	STP
- <deliverydir>/sdk/tlibcxx/include/version	<installdir>/package/include/libcxx/version	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/any.h	<installdir>/package/include/tprotobuf/google/protobuf/any.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/any.pb.h	<installdir>/package/include/tprotobuf/google/protobuf/any.pb.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/any.proto	<installdir>/package/include/tprotobuf/google/protobuf/any.proto	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/api.pb.h	<installdir>/package/include/tprotobuf/google/protobuf/api.pb.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/api.proto	<installdir>/package/include/tprotobuf/google/protobuf/api.proto	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/arena_align.h	<installdir>/package/include/tprotobuf/google/protobuf/arena_align.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/arena_allocation_policy.h	<installdir>/package/include/tprotobuf/google/protobuf/arena_allocation_policy.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/arena_cleanup.h	<installdir>/package/include/tprotobuf/google/protobuf/arena_cleanup.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/arena.h	<installdir>/package/include/tprotobuf/google/protobuf/arena.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/arenastring.h	<installdir>/package/include/tprotobuf/google/protobuf/arenastring.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/arenaz_sampler.h	<installdir>/package/include/tprotobuf/google/protobuf/arenaz_sampler.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/bridge/message_set.proto	<installdir>/package/include/tprotobuf/google/protobuf/bridge/message_set.proto	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/cpp_edition_defaults.h	<installdir>/package/include/tprotobuf/google/protobuf/cpp_edition_defaults.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/cpp_features.pb.h	<installdir>/package/include/tprotobuf/google/protobuf/cpp_features.pb.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/cpp_features.proto	<installdir>/package/include/tprotobuf/google/protobuf/cpp_features.proto	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/descriptor_database.h	<installdir>/package/include/tprotobuf/google/protobuf/descriptor_database.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/descriptor.h	<installdir>/package/include/tprotobuf/google/protobuf/descriptor.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/descriptor_legacy.h	<installdir>/package/include/tprotobuf/google/protobuf/descriptor_legacy.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/descriptor_lite.h	<installdir>/package/include/tprotobuf/google/protobuf/descriptor_lite.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/descriptor.pb.h	<installdir>/package/include/tprotobuf/google/protobuf/descriptor.pb.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/descriptor.proto	<installdir>/package/include/tprotobuf/google/protobuf/descriptor.proto	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/descriptor_visitor.h	<installdir>/package/include/tprotobuf/google/protobuf/descriptor_visitor.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/duration.pb.h	<installdir>/package/include/tprotobuf/google/protobuf/duration.pb.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/duration.proto	<installdir>/package/include/tprotobuf/google/protobuf/duration.proto	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/dynamic_message.h	<installdir>/package/include/tprotobuf/google/protobuf/dynamic_message.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/empty.pb.h	<installdir>/package/include/tprotobuf/google/protobuf/empty.pb.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/empty.proto	<installdir>/package/include/tprotobuf/google/protobuf/empty.proto	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/endian.h	<installdir>/package/include/tprotobuf/google/protobuf/endian.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/explicitly_constructed.h	<installdir>/package/include/tprotobuf/google/protobuf/explicitly_constructed.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/extension_set.h	<installdir>/package/include/tprotobuf/google/protobuf/extension_set.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/extension_set_inl.h	<installdir>/package/include/tprotobuf/google/protobuf/extension_set_inl.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/feature_resolver.h	<installdir>/package/include/tprotobuf/google/protobuf/feature_resolver.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/field_access_listener.h	<installdir>/package/include/tprotobuf/google/protobuf/field_access_listener.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/field_mask.pb.h	<installdir>/package/include/tprotobuf/google/protobuf/field_mask.pb.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/field_mask.proto	<installdir>/package/include/tprotobuf/google/protobuf/field_mask.proto	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/generated_enum_reflection.h	<installdir>/package/include/tprotobuf/google/protobuf/generated_enum_reflection.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/generated_enum_util.h	<installdir>/package/include/tprotobuf/google/protobuf/generated_enum_util.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/generated_message_bases.h	<installdir>/package/include/tprotobuf/google/protobuf/generated_message_bases.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/generated_message_reflection.h	<installdir>/package/include/tprotobuf/google/protobuf/generated_message_reflection.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/generated_message_tctable_decl.h	<installdir>/package/include/tprotobuf/google/protobuf/generated_message_tctable_decl.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/generated_message_tctable_gen.h	<installdir>/package/include/tprotobuf/google/protobuf/generated_message_tctable_gen.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/generated_message_tctable_impl.h	<installdir>/package/include/tprotobuf/google/protobuf/generated_message_tctable_impl.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/generated_message_util.h	<installdir>/package/include/tprotobuf/google/protobuf/generated_message_util.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/has_bits.h	<installdir>/package/include/tprotobuf/google/protobuf/has_bits.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/implicit_weak_message.h	<installdir>/package/include/tprotobuf/google/protobuf/implicit_weak_message.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/inlined_string_field.h	<installdir>/package/include/tprotobuf/google/protobuf/inlined_string_field.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/internal_feature_helper.h	<installdir>/package/include/tprotobuf/google/protobuf/internal_feature_helper.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/internal_options.proto	<installdir>/package/include/tprotobuf/google/protobuf/internal_options.proto	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/internal_visibility.h	<installdir>/package/include/tprotobuf/google/protobuf/internal_visibility.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/io/coded_stream.h	<installdir>/package/include/tprotobuf/google/protobuf/io/coded_stream.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/io/gzip_stream.h	<installdir>/package/include/tprotobuf/google/protobuf/io/gzip_stream.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/io/io_win32.h	<installdir>/package/include/tprotobuf/google/protobuf/io/io_win32.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/io/package_info.h	<installdir>/package/include/tprotobuf/google/protobuf/io/package_info.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/io/printer.h	<installdir>/package/include/tprotobuf/google/protobuf/io/printer.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/io/strtod.h	<installdir>/package/include/tprotobuf/google/protobuf/io/strtod.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/io/tokenizer.h	<installdir>/package/include/tprotobuf/google/protobuf/io/tokenizer.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/io/zero_copy_sink.h	<installdir>/package/include/tprotobuf/google/protobuf/io/zero_copy_sink.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/io/zero_copy_stream.h	<installdir>/package/include/tprotobuf/google/protobuf/io/zero_copy_stream.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/io/zero_copy_stream_impl.h	<installdir>/package/include/tprotobuf/google/protobuf/io/zero_copy_stream_impl.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/io/zero_copy_stream_impl_lite.h	<installdir>/package/include/tprotobuf/google/protobuf/io/zero_copy_stream_impl_lite.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/json/internal/descriptor_traits.h	<installdir>/package/include/tprotobuf/google/protobuf/json/internal/descriptor_traits.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/json/internal/lexer.h	<installdir>/package/include/tprotobuf/google/protobuf/json/internal/lexer.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/json/internal/message_path.h	<installdir>/package/include/tprotobuf/google/protobuf/json/internal/message_path.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/json/internal/parser.h	<installdir>/package/include/tprotobuf/google/protobuf/json/internal/parser.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/json/internal/parser_traits.h	<installdir>/package/include/tprotobuf/google/protobuf/json/internal/parser_traits.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/json/internal/unparser.h	<installdir>/package/include/tprotobuf/google/protobuf/json/internal/unparser.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/json/internal/unparser_traits.h	<installdir>/package/include/tprotobuf/google/protobuf/json/internal/unparser_traits.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/json/internal/untyped_message.h	<installdir>/package/include/tprotobuf/google/protobuf/json/internal/untyped_message.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/json/internal/writer.h	<installdir>/package/include/tprotobuf/google/protobuf/json/internal/writer.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/json/internal/zero_copy_buffered_stream.h	<installdir>/package/include/tprotobuf/google/protobuf/json/internal/zero_copy_buffered_stream.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/json/json.h	<installdir>/package/include/tprotobuf/google/protobuf/json/json.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/late_loaded_option.proto	<installdir>/package/include/tprotobuf/google/protobuf/late_loaded_option.proto	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/late_loaded_option_user.proto	<installdir>/package/include/tprotobuf/google/protobuf/late_loaded_option_user.proto	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/map_entry.h	<installdir>/package/include/tprotobuf/google/protobuf/map_entry.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/map_field.h	<installdir>/package/include/tprotobuf/google/protobuf/map_field.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/map_field_lite.h	<installdir>/package/include/tprotobuf/google/protobuf/map_field_lite.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/map.h	<installdir>/package/include/tprotobuf/google/protobuf/map.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/map_type_handler.h	<installdir>/package/include/tprotobuf/google/protobuf/map_type_handler.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/message.h	<installdir>/package/include/tprotobuf/google/protobuf/message.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/message_lite.h	<installdir>/package/include/tprotobuf/google/protobuf/message_lite.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/metadata.h	<installdir>/package/include/tprotobuf/google/protobuf/metadata.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/metadata_lite.h	<installdir>/package/include/tprotobuf/google/protobuf/metadata_lite.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/micro_string.h	<installdir>/package/include/tprotobuf/google/protobuf/micro_string.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/package_info.h	<installdir>/package/include/tprotobuf/google/protobuf/package_info.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/parse_context.h	<installdir>/package/include/tprotobuf/google/protobuf/parse_context.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/port.h	<installdir>/package/include/tprotobuf/google/protobuf/port.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/port_def.inc	<installdir>/package/include/tprotobuf/google/protobuf/port_def.inc	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/port_undef.inc	<installdir>/package/include/tprotobuf/google/protobuf/port_undef.inc	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/raw_ptr.h	<installdir>/package/include/tprotobuf/google/protobuf/raw_ptr.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/reflection.h	<installdir>/package/include/tprotobuf/google/protobuf/reflection.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/reflection_internal.h	<installdir>/package/include/tprotobuf/google/protobuf/reflection_internal.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/reflection_mode.h	<installdir>/package/include/tprotobuf/google/protobuf/reflection_mode.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/reflection_ops.h	<installdir>/package/include/tprotobuf/google/protobuf/reflection_ops.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/reflection_visit_field_info.h	<installdir>/package/include/tprotobuf/google/protobuf/reflection_visit_field_info.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/reflection_visit_fields.h	<installdir>/package/include/tprotobuf/google/protobuf/reflection_visit_fields.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/repeated_field.h	<installdir>/package/include/tprotobuf/google/protobuf/repeated_field.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/repeated_ptr_field.h	<installdir>/package/include/tprotobuf/google/protobuf/repeated_ptr_field.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/runtime_version.h	<installdir>/package/include/tprotobuf/google/protobuf/runtime_version.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/sample_messages_edition.proto	<installdir>/package/include/tprotobuf/google/protobuf/sample_messages_edition.proto	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/serial_arena.h	<installdir>/package/include/tprotobuf/google/protobuf/serial_arena.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/service.h	<installdir>/package/include/tprotobuf/google/protobuf/service.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/source_context.pb.h	<installdir>/package/include/tprotobuf/google/protobuf/source_context.pb.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/source_context.proto	<installdir>/package/include/tprotobuf/google/protobuf/source_context.proto	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/string_block.h	<installdir>/package/include/tprotobuf/google/protobuf/string_block.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/string_member_robber.h	<installdir>/package/include/tprotobuf/google/protobuf/string_member_robber.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/struct.pb.h	<installdir>/package/include/tprotobuf/google/protobuf/struct.pb.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/struct.proto	<installdir>/package/include/tprotobuf/google/protobuf/struct.proto	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/stubs/callback.h	<installdir>/package/include/tprotobuf/google/protobuf/stubs/callback.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/stubs/common.h	<installdir>/package/include/tprotobuf/google/protobuf/stubs/common.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/stubs/platform_macros.h	<installdir>/package/include/tprotobuf/google/protobuf/stubs/platform_macros.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/stubs/port.h	<installdir>/package/include/tprotobuf/google/protobuf/stubs/port.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/stubs/status_macros.h	<installdir>/package/include/tprotobuf/google/protobuf/stubs/status_macros.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/text_format.h	<installdir>/package/include/tprotobuf/google/protobuf/text_format.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/thread_safe_arena.h	<installdir>/package/include/tprotobuf/google/protobuf/thread_safe_arena.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/timestamp.pb.h	<installdir>/package/include/tprotobuf/google/protobuf/timestamp.pb.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/timestamp.proto	<installdir>/package/include/tprotobuf/google/protobuf/timestamp.proto	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/type.pb.h	<installdir>/package/include/tprotobuf/google/protobuf/type.pb.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/type.proto	<installdir>/package/include/tprotobuf/google/protobuf/type.proto	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/os_macros_undef.inc	<installdir>/package/include/tprotobuf/google/protobuf/os_macros_undef.inc	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/os_macros_restore.inc	<installdir>/package/include/tprotobuf/google/protobuf/os_macros_restore.inc	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/message_unittest_legacy_apis.inc	<installdir>/package/include/tprotobuf/google/protobuf/message_unittest_legacy_apis.inc	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/unknown_field_set.h	<installdir>/package/include/tprotobuf/google/protobuf/unknown_field_set.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/util/delimited_message_util.h	<installdir>/package/include/tprotobuf/google/protobuf/util/delimited_message_util.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/util/field_comparator.h	<installdir>/package/include/tprotobuf/google/protobuf/util/field_comparator.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/util/field_mask_util.h	<installdir>/package/include/tprotobuf/google/protobuf/util/field_mask_util.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/util/internal_timeval.h	<installdir>/package/include/tprotobuf/google/protobuf/util/internal_timeval.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/util/json_format.proto	<installdir>/package/include/tprotobuf/google/protobuf/util/json_format.proto	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/util/json_format_proto3.proto	<installdir>/package/include/tprotobuf/google/protobuf/util/json_format_proto3.proto	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/util/json_util.h	<installdir>/package/include/tprotobuf/google/protobuf/util/json_util.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/util/message_differencer.h	<installdir>/package/include/tprotobuf/google/protobuf/util/message_differencer.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/util/package_info.h	<installdir>/package/include/tprotobuf/google/protobuf/util/package_info.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/util/python/field_mask_util_clif_aux.h	<installdir>/package/include/tprotobuf/google/protobuf/util/python/field_mask_util_clif_aux.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/util/time_util.h	<installdir>/package/include/tprotobuf/google/protobuf/util/time_util.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/util/type_resolver.h	<installdir>/package/include/tprotobuf/google/protobuf/util/type_resolver.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/util/type_resolver_util.h	<installdir>/package/include/tprotobuf/google/protobuf/util/type_resolver_util.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/varint_shuffle.h	<installdir>/package/include/tprotobuf/google/protobuf/varint_shuffle.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/wire_format.h	<installdir>/package/include/tprotobuf/google/protobuf/wire_format.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/wire_format_lite.h	<installdir>/package/include/tprotobuf/google/protobuf/wire_format_lite.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/wrappers.pb.h	<installdir>/package/include/tprotobuf/google/protobuf/wrappers.pb.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/wrappers.proto	<installdir>/package/include/tprotobuf/google/protobuf/wrappers.proto	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/third_party/utf8_range/utf8_range.h	<installdir>/package/include/tprotobuf/utf8_range.h	0	main	STP
--<deliverydir>/external/protobuf/protobuf_code/third_party/utf8_range/utf8_validity.h	<installdir>/package/include/tprotobuf/utf8_validity.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/algorithm/algorithm.h	<installdir>/package/include/tprotobuf/absl/algorithm/algorithm.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/algorithm/container.h	<installdir>/package/include/tprotobuf/absl/algorithm/container.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/base/attributes.h	<installdir>/package/include/tprotobuf/absl/base/attributes.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/base/call_once.h	<installdir>/package/include/tprotobuf/absl/base/call_once.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/base/casts.h	<installdir>/package/include/tprotobuf/absl/base/casts.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/base/config.h	<installdir>/package/include/tprotobuf/absl/base/config.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/base/const_init.h	<installdir>/package/include/tprotobuf/absl/base/const_init.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/base/dynamic_annotations.h	<installdir>/package/include/tprotobuf/absl/base/dynamic_annotations.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/base/fast_type_id.h	<installdir>/package/include/tprotobuf/absl/base/fast_type_id.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/base/internal/atomic_hook.h	<installdir>/package/include/tprotobuf/absl/base/internal/atomic_hook.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/base/internal/cycleclock_config.h	<installdir>/package/include/tprotobuf/absl/base/internal/cycleclock_config.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/base/internal/cycleclock.h	<installdir>/package/include/tprotobuf/absl/base/internal/cycleclock.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/base/internal/direct_mmap.h	<installdir>/package/include/tprotobuf/absl/base/internal/direct_mmap.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/base/internal/dynamic_annotations.h	<installdir>/package/include/tprotobuf/absl/base/internal/dynamic_annotations.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/base/internal/endian.h	<installdir>/package/include/tprotobuf/absl/base/internal/endian.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/base/internal/errno_saver.h	<installdir>/package/include/tprotobuf/absl/base/internal/errno_saver.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/base/internal/hide_ptr.h	<installdir>/package/include/tprotobuf/absl/base/internal/hide_ptr.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/base/internal/identity.h	<installdir>/package/include/tprotobuf/absl/base/internal/identity.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/base/internal/iterator_traits.h	<installdir>/package/include/tprotobuf/absl/base/internal/iterator_traits.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/base/internal/low_level_alloc.h	<installdir>/package/include/tprotobuf/absl/base/internal/low_level_alloc.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/base/internal/low_level_scheduling.h	<installdir>/package/include/tprotobuf/absl/base/internal/low_level_scheduling.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/base/internal/nullability_deprecated.h	<installdir>/package/include/tprotobuf/absl/base/internal/nullability_deprecated.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/base/internal/per_thread_tls.h	<installdir>/package/include/tprotobuf/absl/base/internal/per_thread_tls.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/base/internal/poison.h	<installdir>/package/include/tprotobuf/absl/base/internal/poison.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/base/internal/pretty_function.h	<installdir>/package/include/tprotobuf/absl/base/internal/pretty_function.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/base/internal/raw_logging.h	<installdir>/package/include/tprotobuf/absl/base/internal/raw_logging.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/base/internal/scheduling_mode.h	<installdir>/package/include/tprotobuf/absl/base/internal/scheduling_mode.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/base/internal/scoped_set_env.h	<installdir>/package/include/tprotobuf/absl/base/internal/scoped_set_env.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/base/internal/spinlock.h	<installdir>/package/include/tprotobuf/absl/base/internal/spinlock.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/base/internal/spinlock_wait.h	<installdir>/package/include/tprotobuf/absl/base/internal/spinlock_wait.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/base/internal/strerror.h	<installdir>/package/include/tprotobuf/absl/base/internal/strerror.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/base/internal/sysinfo.h	<installdir>/package/include/tprotobuf/absl/base/internal/sysinfo.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/base/internal/thread_identity.h	<installdir>/package/include/tprotobuf/absl/base/internal/thread_identity.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/base/internal/throw_delegate.h	<installdir>/package/include/tprotobuf/absl/base/internal/throw_delegate.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/base/internal/tracing.h	<installdir>/package/include/tprotobuf/absl/base/internal/tracing.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/base/internal/tsan_mutex_interface.h	<installdir>/package/include/tprotobuf/absl/base/internal/tsan_mutex_interface.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/base/internal/unaligned_access.h	<installdir>/package/include/tprotobuf/absl/base/internal/unaligned_access.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/base/internal/unscaledcycleclock_config.h	<installdir>/package/include/tprotobuf/absl/base/internal/unscaledcycleclock_config.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/base/internal/unscaledcycleclock.h	<installdir>/package/include/tprotobuf/absl/base/internal/unscaledcycleclock.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/base/log_severity.h	<installdir>/package/include/tprotobuf/absl/base/log_severity.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/base/macros.h	<installdir>/package/include/tprotobuf/absl/base/macros.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/base/no_destructor.h	<installdir>/package/include/tprotobuf/absl/base/no_destructor.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/base/nullability.h	<installdir>/package/include/tprotobuf/absl/base/nullability.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/base/optimization.h	<installdir>/package/include/tprotobuf/absl/base/optimization.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/base/options.h	<installdir>/package/include/tprotobuf/absl/base/options.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/base/policy_checks.h	<installdir>/package/include/tprotobuf/absl/base/policy_checks.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/base/port.h	<installdir>/package/include/tprotobuf/absl/base/port.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/base/prefetch.h	<installdir>/package/include/tprotobuf/absl/base/prefetch.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/base/thread_annotations.h	<installdir>/package/include/tprotobuf/absl/base/thread_annotations.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/cleanup/cleanup.h	<installdir>/package/include/tprotobuf/absl/cleanup/cleanup.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/cleanup/internal/cleanup.h	<installdir>/package/include/tprotobuf/absl/cleanup/internal/cleanup.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/container/btree_map.h	<installdir>/package/include/tprotobuf/absl/container/btree_map.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/container/btree_set.h	<installdir>/package/include/tprotobuf/absl/container/btree_set.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/container/fixed_array.h	<installdir>/package/include/tprotobuf/absl/container/fixed_array.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/container/flat_hash_map.h	<installdir>/package/include/tprotobuf/absl/container/flat_hash_map.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/container/flat_hash_set.h	<installdir>/package/include/tprotobuf/absl/container/flat_hash_set.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/container/hash_container_defaults.h	<installdir>/package/include/tprotobuf/absl/container/hash_container_defaults.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/container/inlined_vector.h	<installdir>/package/include/tprotobuf/absl/container/inlined_vector.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/container/internal/btree_container.h	<installdir>/package/include/tprotobuf/absl/container/internal/btree_container.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/container/internal/btree.h	<installdir>/package/include/tprotobuf/absl/container/internal/btree.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/container/internal/common.h	<installdir>/package/include/tprotobuf/absl/container/internal/common.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/container/internal/common_policy_traits.h	<installdir>/package/include/tprotobuf/absl/container/internal/common_policy_traits.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/container/internal/compressed_tuple.h	<installdir>/package/include/tprotobuf/absl/container/internal/compressed_tuple.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/container/internal/container_memory.h	<installdir>/package/include/tprotobuf/absl/container/internal/container_memory.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/container/internal/hash_function_defaults.h	<installdir>/package/include/tprotobuf/absl/container/internal/hash_function_defaults.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/container/internal/hash_policy_traits.h	<installdir>/package/include/tprotobuf/absl/container/internal/hash_policy_traits.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/container/internal/hashtable_control_bytes.h	<installdir>/package/include/tprotobuf/absl/container/internal/hashtable_control_bytes.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/container/internal/hashtable_debug.h	<installdir>/package/include/tprotobuf/absl/container/internal/hashtable_debug.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/container/internal/hashtable_debug_hooks.h	<installdir>/package/include/tprotobuf/absl/container/internal/hashtable_debug_hooks.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/container/internal/hashtablez_sampler.h	<installdir>/package/include/tprotobuf/absl/container/internal/hashtablez_sampler.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/container/internal/inlined_vector.h	<installdir>/package/include/tprotobuf/absl/container/internal/inlined_vector.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/container/internal/layout.h	<installdir>/package/include/tprotobuf/absl/container/internal/layout.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/container/internal/node_slot_policy.h	<installdir>/package/include/tprotobuf/absl/container/internal/node_slot_policy.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/container/internal/raw_hash_map.h	<installdir>/package/include/tprotobuf/absl/container/internal/raw_hash_map.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/container/internal/raw_hash_set.h	<installdir>/package/include/tprotobuf/absl/container/internal/raw_hash_set.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/container/internal/raw_hash_set_resize_impl.h	<installdir>/package/include/tprotobuf/absl/container/internal/raw_hash_set_resize_impl.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/container/internal/tracked.h	<installdir>/package/include/tprotobuf/absl/container/internal/tracked.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/container/node_hash_map.h	<installdir>/package/include/tprotobuf/absl/container/node_hash_map.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/container/node_hash_set.h	<installdir>/package/include/tprotobuf/absl/container/node_hash_set.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/crc/crc32c.h	<installdir>/package/include/tprotobuf/absl/crc/crc32c.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/crc/internal/cpu_detect.h	<installdir>/package/include/tprotobuf/absl/crc/internal/cpu_detect.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/crc/internal/crc32c.h	<installdir>/package/include/tprotobuf/absl/crc/internal/crc32c.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/crc/internal/crc32c_inline.h	<installdir>/package/include/tprotobuf/absl/crc/internal/crc32c_inline.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/crc/internal/crc32_x86_arm_combined_simd.h	<installdir>/package/include/tprotobuf/absl/crc/internal/crc32_x86_arm_combined_simd.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/crc/internal/crc_cord_state.h	<installdir>/package/include/tprotobuf/absl/crc/internal/crc_cord_state.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/crc/internal/crc.h	<installdir>/package/include/tprotobuf/absl/crc/internal/crc.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/crc/internal/crc_internal.h	<installdir>/package/include/tprotobuf/absl/crc/internal/crc_internal.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/crc/internal/crc_memcpy.h	<installdir>/package/include/tprotobuf/absl/crc/internal/crc_memcpy.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/crc/internal/non_temporal_arm_intrinsics.h	<installdir>/package/include/tprotobuf/absl/crc/internal/non_temporal_arm_intrinsics.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/crc/internal/non_temporal_memcpy.h	<installdir>/package/include/tprotobuf/absl/crc/internal/non_temporal_memcpy.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/debugging/failure_signal_handler.h	<installdir>/package/include/tprotobuf/absl/debugging/failure_signal_handler.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/debugging/internal/addresses.h	<installdir>/package/include/tprotobuf/absl/debugging/internal/addresses.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/debugging/internal/address_is_readable.h	<installdir>/package/include/tprotobuf/absl/debugging/internal/address_is_readable.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/debugging/internal/bounded_utf8_length_sequence.h	<installdir>/package/include/tprotobuf/absl/debugging/internal/bounded_utf8_length_sequence.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/debugging/internal/decode_rust_punycode.h	<installdir>/package/include/tprotobuf/absl/debugging/internal/decode_rust_punycode.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/debugging/internal/demangle.h	<installdir>/package/include/tprotobuf/absl/debugging/internal/demangle.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/debugging/internal/demangle_rust.h	<installdir>/package/include/tprotobuf/absl/debugging/internal/demangle_rust.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/debugging/internal/elf_mem_image.h	<installdir>/package/include/tprotobuf/absl/debugging/internal/elf_mem_image.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/debugging/internal/examine_stack.h	<installdir>/package/include/tprotobuf/absl/debugging/internal/examine_stack.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/debugging/internal/stack_consumption.h	<installdir>/package/include/tprotobuf/absl/debugging/internal/stack_consumption.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/debugging/internal/stacktrace_config.h	<installdir>/package/include/tprotobuf/absl/debugging/internal/stacktrace_config.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/debugging/internal/symbolize.h	<installdir>/package/include/tprotobuf/absl/debugging/internal/symbolize.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/debugging/internal/utf8_for_code_point.h	<installdir>/package/include/tprotobuf/absl/debugging/internal/utf8_for_code_point.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/debugging/internal/vdso_support.h	<installdir>/package/include/tprotobuf/absl/debugging/internal/vdso_support.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/debugging/leak_check.h	<installdir>/package/include/tprotobuf/absl/debugging/leak_check.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/debugging/stacktrace.h	<installdir>/package/include/tprotobuf/absl/debugging/stacktrace.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/debugging/symbolize.h	<installdir>/package/include/tprotobuf/absl/debugging/symbolize.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/flags/commandlineflag.h	<installdir>/package/include/tprotobuf/absl/flags/commandlineflag.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/flags/config.h	<installdir>/package/include/tprotobuf/absl/flags/config.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/flags/declare.h	<installdir>/package/include/tprotobuf/absl/flags/declare.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/flags/flag.h	<installdir>/package/include/tprotobuf/absl/flags/flag.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/flags/internal/commandlineflag.h	<installdir>/package/include/tprotobuf/absl/flags/internal/commandlineflag.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/flags/internal/flag.h	<installdir>/package/include/tprotobuf/absl/flags/internal/flag.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/flags/internal/parse.h	<installdir>/package/include/tprotobuf/absl/flags/internal/parse.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/flags/internal/path_util.h	<installdir>/package/include/tprotobuf/absl/flags/internal/path_util.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/flags/internal/private_handle_accessor.h	<installdir>/package/include/tprotobuf/absl/flags/internal/private_handle_accessor.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/flags/internal/program_name.h	<installdir>/package/include/tprotobuf/absl/flags/internal/program_name.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/flags/internal/registry.h	<installdir>/package/include/tprotobuf/absl/flags/internal/registry.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/flags/internal/sequence_lock.h	<installdir>/package/include/tprotobuf/absl/flags/internal/sequence_lock.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/flags/internal/usage.h	<installdir>/package/include/tprotobuf/absl/flags/internal/usage.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/flags/marshalling.h	<installdir>/package/include/tprotobuf/absl/flags/marshalling.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/flags/parse.h	<installdir>/package/include/tprotobuf/absl/flags/parse.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/flags/reflection.h	<installdir>/package/include/tprotobuf/absl/flags/reflection.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/flags/usage_config.h	<installdir>/package/include/tprotobuf/absl/flags/usage_config.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/flags/usage.h	<installdir>/package/include/tprotobuf/absl/flags/usage.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/functional/any_invocable.h	<installdir>/package/include/tprotobuf/absl/functional/any_invocable.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/functional/bind_front.h	<installdir>/package/include/tprotobuf/absl/functional/bind_front.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/functional/function_ref.h	<installdir>/package/include/tprotobuf/absl/functional/function_ref.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/functional/internal/any_invocable.h	<installdir>/package/include/tprotobuf/absl/functional/internal/any_invocable.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/functional/internal/front_binder.h	<installdir>/package/include/tprotobuf/absl/functional/internal/front_binder.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/functional/internal/function_ref.h	<installdir>/package/include/tprotobuf/absl/functional/internal/function_ref.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/functional/overload.h	<installdir>/package/include/tprotobuf/absl/functional/overload.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/hash/hash.h	<installdir>/package/include/tprotobuf/absl/hash/hash.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/hash/internal/city.h	<installdir>/package/include/tprotobuf/absl/hash/internal/city.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/hash/internal/hash.h	<installdir>/package/include/tprotobuf/absl/hash/internal/hash.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/hash/internal/low_level_hash.h	<installdir>/package/include/tprotobuf/absl/hash/internal/low_level_hash.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/hash/internal/spy_hash_state.h	<installdir>/package/include/tprotobuf/absl/hash/internal/spy_hash_state.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/hash/internal/weakly_mixed_integer.h	<installdir>/package/include/tprotobuf/absl/hash/internal/weakly_mixed_integer.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/log/absl_check.h	<installdir>/package/include/tprotobuf/absl/log/absl_check.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/log/absl_log.h	<installdir>/package/include/tprotobuf/absl/log/absl_log.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/log/absl_vlog_is_on.h	<installdir>/package/include/tprotobuf/absl/log/absl_vlog_is_on.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/log/check.h	<installdir>/package/include/tprotobuf/absl/log/check.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/log/die_if_null.h	<installdir>/package/include/tprotobuf/absl/log/die_if_null.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/log/flags.h	<installdir>/package/include/tprotobuf/absl/log/flags.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/log/globals.h	<installdir>/package/include/tprotobuf/absl/log/globals.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/log/initialize.h	<installdir>/package/include/tprotobuf/absl/log/initialize.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/log/internal/append_truncated.h	<installdir>/package/include/tprotobuf/absl/log/internal/append_truncated.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/log/internal/check_impl.h	<installdir>/package/include/tprotobuf/absl/log/internal/check_impl.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/log/internal/check_op.h	<installdir>/package/include/tprotobuf/absl/log/internal/check_op.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/log/internal/conditions.h	<installdir>/package/include/tprotobuf/absl/log/internal/conditions.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/log/internal/config.h	<installdir>/package/include/tprotobuf/absl/log/internal/config.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/log/internal/flags.h	<installdir>/package/include/tprotobuf/absl/log/internal/flags.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/log/internal/fnmatch.h	<installdir>/package/include/tprotobuf/absl/log/internal/fnmatch.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/log/internal/globals.h	<installdir>/package/include/tprotobuf/absl/log/internal/globals.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/log/internal/log_format.h	<installdir>/package/include/tprotobuf/absl/log/internal/log_format.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/log/internal/log_impl.h	<installdir>/package/include/tprotobuf/absl/log/internal/log_impl.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/log/internal/log_message.h	<installdir>/package/include/tprotobuf/absl/log/internal/log_message.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/log/internal/log_sink_set.h	<installdir>/package/include/tprotobuf/absl/log/internal/log_sink_set.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/log/internal/nullguard.h	<installdir>/package/include/tprotobuf/absl/log/internal/nullguard.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/log/internal/nullstream.h	<installdir>/package/include/tprotobuf/absl/log/internal/nullstream.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/log/internal/proto.h	<installdir>/package/include/tprotobuf/absl/log/internal/proto.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/log/internal/strip.h	<installdir>/package/include/tprotobuf/absl/log/internal/strip.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/log/internal/structured.h	<installdir>/package/include/tprotobuf/absl/log/internal/structured.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/log/internal/structured_proto.h	<installdir>/package/include/tprotobuf/absl/log/internal/structured_proto.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/log/internal/vlog_config.h	<installdir>/package/include/tprotobuf/absl/log/internal/vlog_config.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/log/internal/voidify.h	<installdir>/package/include/tprotobuf/absl/log/internal/voidify.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/log/log_entry.h	<installdir>/package/include/tprotobuf/absl/log/log_entry.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/log/log.h	<installdir>/package/include/tprotobuf/absl/log/log.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/log/log_sink.h	<installdir>/package/include/tprotobuf/absl/log/log_sink.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/log/log_sink_registry.h	<installdir>/package/include/tprotobuf/absl/log/log_sink_registry.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/log/log_streamer.h	<installdir>/package/include/tprotobuf/absl/log/log_streamer.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/log/scoped_mock_log.h	<installdir>/package/include/tprotobuf/absl/log/scoped_mock_log.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/log/structured.h	<installdir>/package/include/tprotobuf/absl/log/structured.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/log/vlog_is_on.h	<installdir>/package/include/tprotobuf/absl/log/vlog_is_on.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/memory/memory.h	<installdir>/package/include/tprotobuf/absl/memory/memory.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/meta/type_traits.h	<installdir>/package/include/tprotobuf/absl/meta/type_traits.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/numeric/bits.h	<installdir>/package/include/tprotobuf/absl/numeric/bits.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/numeric/int128.h	<installdir>/package/include/tprotobuf/absl/numeric/int128.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/numeric/int128_have_intrinsic.inc	<installdir>/package/include/tprotobuf/absl/numeric/int128_have_intrinsic.inc	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/numeric/int128_no_intrinsic.inc	<installdir>/package/include/tprotobuf/absl/numeric/int128_no_intrinsic.inc	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/numeric/internal/bits.h	<installdir>/package/include/tprotobuf/absl/numeric/internal/bits.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/numeric/internal/representation.h	<installdir>/package/include/tprotobuf/absl/numeric/internal/representation.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/profiling/internal/exponential_biased.h	<installdir>/package/include/tprotobuf/absl/profiling/internal/exponential_biased.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/profiling/internal/periodic_sampler.h	<installdir>/package/include/tprotobuf/absl/profiling/internal/periodic_sampler.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/profiling/internal/sample_recorder.h	<installdir>/package/include/tprotobuf/absl/profiling/internal/sample_recorder.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/random/bernoulli_distribution.h	<installdir>/package/include/tprotobuf/absl/random/bernoulli_distribution.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/random/beta_distribution.h	<installdir>/package/include/tprotobuf/absl/random/beta_distribution.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/random/bit_gen_ref.h	<installdir>/package/include/tprotobuf/absl/random/bit_gen_ref.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/random/discrete_distribution.h	<installdir>/package/include/tprotobuf/absl/random/discrete_distribution.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/random/distributions.h	<installdir>/package/include/tprotobuf/absl/random/distributions.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/random/exponential_distribution.h	<installdir>/package/include/tprotobuf/absl/random/exponential_distribution.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/random/gaussian_distribution.h	<installdir>/package/include/tprotobuf/absl/random/gaussian_distribution.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/random/internal/chi_square.h	<installdir>/package/include/tprotobuf/absl/random/internal/chi_square.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/random/internal/distribution_caller.h	<installdir>/package/include/tprotobuf/absl/random/internal/distribution_caller.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/random/internal/entropy_pool.h	<installdir>/package/include/tprotobuf/absl/random/internal/entropy_pool.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/random/internal/explicit_seed_seq.h	<installdir>/package/include/tprotobuf/absl/random/internal/explicit_seed_seq.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/random/internal/fastmath.h	<installdir>/package/include/tprotobuf/absl/random/internal/fastmath.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/random/internal/fast_uniform_bits.h	<installdir>/package/include/tprotobuf/absl/random/internal/fast_uniform_bits.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/random/internal/generate_real.h	<installdir>/package/include/tprotobuf/absl/random/internal/generate_real.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/random/internal/iostream_state_saver.h	<installdir>/package/include/tprotobuf/absl/random/internal/iostream_state_saver.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/random/internal/mock_helpers.h	<installdir>/package/include/tprotobuf/absl/random/internal/mock_helpers.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/random/internal/mock_overload_set.h	<installdir>/package/include/tprotobuf/absl/random/internal/mock_overload_set.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/random/internal/mock_validators.h	<installdir>/package/include/tprotobuf/absl/random/internal/mock_validators.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/random/internal/nanobenchmark.h	<installdir>/package/include/tprotobuf/absl/random/internal/nanobenchmark.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/random/internal/nonsecure_base.h	<installdir>/package/include/tprotobuf/absl/random/internal/nonsecure_base.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/random/internal/pcg_engine.h	<installdir>/package/include/tprotobuf/absl/random/internal/pcg_engine.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/random/internal/platform.h	<installdir>/package/include/tprotobuf/absl/random/internal/platform.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/random/internal/randen_detect.h	<installdir>/package/include/tprotobuf/absl/random/internal/randen_detect.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/random/internal/randen_engine.h	<installdir>/package/include/tprotobuf/absl/random/internal/randen_engine.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/random/internal/randen.h	<installdir>/package/include/tprotobuf/absl/random/internal/randen.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/random/internal/randen_hwaes.h	<installdir>/package/include/tprotobuf/absl/random/internal/randen_hwaes.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/random/internal/randen_slow.h	<installdir>/package/include/tprotobuf/absl/random/internal/randen_slow.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/random/internal/randen_traits.h	<installdir>/package/include/tprotobuf/absl/random/internal/randen_traits.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/random/internal/salted_seed_seq.h	<installdir>/package/include/tprotobuf/absl/random/internal/salted_seed_seq.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/random/internal/seed_material.h	<installdir>/package/include/tprotobuf/absl/random/internal/seed_material.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/random/internal/sequence_urbg.h	<installdir>/package/include/tprotobuf/absl/random/internal/sequence_urbg.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/random/internal/traits.h	<installdir>/package/include/tprotobuf/absl/random/internal/traits.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/random/internal/uniform_helper.h	<installdir>/package/include/tprotobuf/absl/random/internal/uniform_helper.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/random/internal/wide_multiply.h	<installdir>/package/include/tprotobuf/absl/random/internal/wide_multiply.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/random/log_uniform_int_distribution.h	<installdir>/package/include/tprotobuf/absl/random/log_uniform_int_distribution.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/random/mock_distributions.h	<installdir>/package/include/tprotobuf/absl/random/mock_distributions.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/random/mocking_bit_gen.h	<installdir>/package/include/tprotobuf/absl/random/mocking_bit_gen.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/random/poisson_distribution.h	<installdir>/package/include/tprotobuf/absl/random/poisson_distribution.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/random/random.h	<installdir>/package/include/tprotobuf/absl/random/random.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/random/seed_gen_exception.h	<installdir>/package/include/tprotobuf/absl/random/seed_gen_exception.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/random/seed_sequences.h	<installdir>/package/include/tprotobuf/absl/random/seed_sequences.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/random/uniform_int_distribution.h	<installdir>/package/include/tprotobuf/absl/random/uniform_int_distribution.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/random/uniform_real_distribution.h	<installdir>/package/include/tprotobuf/absl/random/uniform_real_distribution.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/random/zipf_distribution.h	<installdir>/package/include/tprotobuf/absl/random/zipf_distribution.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/status/internal/status_internal.h	<installdir>/package/include/tprotobuf/absl/status/internal/status_internal.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/status/internal/status_matchers.h	<installdir>/package/include/tprotobuf/absl/status/internal/status_matchers.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/status/internal/statusor_internal.h	<installdir>/package/include/tprotobuf/absl/status/internal/statusor_internal.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/status/status.h	<installdir>/package/include/tprotobuf/absl/status/status.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/status/status_matchers.h	<installdir>/package/include/tprotobuf/absl/status/status_matchers.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/status/statusor.h	<installdir>/package/include/tprotobuf/absl/status/statusor.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/status/status_payload_printer.h	<installdir>/package/include/tprotobuf/absl/status/status_payload_printer.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/strings/ascii.h	<installdir>/package/include/tprotobuf/absl/strings/ascii.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/strings/charconv.h	<installdir>/package/include/tprotobuf/absl/strings/charconv.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/strings/charset.h	<installdir>/package/include/tprotobuf/absl/strings/charset.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/strings/cord_analysis.h	<installdir>/package/include/tprotobuf/absl/strings/cord_analysis.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/strings/cord_buffer.h	<installdir>/package/include/tprotobuf/absl/strings/cord_buffer.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/strings/cord.h	<installdir>/package/include/tprotobuf/absl/strings/cord.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/strings/escaping.h	<installdir>/package/include/tprotobuf/absl/strings/escaping.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/strings/has_absl_stringify.h	<installdir>/package/include/tprotobuf/absl/strings/has_absl_stringify.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/strings/has_ostream_operator.h	<installdir>/package/include/tprotobuf/absl/strings/has_ostream_operator.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/strings/internal/charconv_bigint.h	<installdir>/package/include/tprotobuf/absl/strings/internal/charconv_bigint.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/strings/internal/charconv_parse.h	<installdir>/package/include/tprotobuf/absl/strings/internal/charconv_parse.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/strings/internal/cord_data_edge.h	<installdir>/package/include/tprotobuf/absl/strings/internal/cord_data_edge.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/strings/internal/cord_internal.h	<installdir>/package/include/tprotobuf/absl/strings/internal/cord_internal.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/strings/internal/cord_rep_btree.h	<installdir>/package/include/tprotobuf/absl/strings/internal/cord_rep_btree.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/strings/internal/cord_rep_btree_navigator.h	<installdir>/package/include/tprotobuf/absl/strings/internal/cord_rep_btree_navigator.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/strings/internal/cord_rep_btree_reader.h	<installdir>/package/include/tprotobuf/absl/strings/internal/cord_rep_btree_reader.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/strings/internal/cord_rep_consume.h	<installdir>/package/include/tprotobuf/absl/strings/internal/cord_rep_consume.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/strings/internal/cord_rep_crc.h	<installdir>/package/include/tprotobuf/absl/strings/internal/cord_rep_crc.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/strings/internal/cord_rep_flat.h	<installdir>/package/include/tprotobuf/absl/strings/internal/cord_rep_flat.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/strings/internal/cordz_functions.h	<installdir>/package/include/tprotobuf/absl/strings/internal/cordz_functions.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/strings/internal/cordz_handle.h	<installdir>/package/include/tprotobuf/absl/strings/internal/cordz_handle.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/strings/internal/cordz_info.h	<installdir>/package/include/tprotobuf/absl/strings/internal/cordz_info.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/strings/internal/cordz_sample_token.h	<installdir>/package/include/tprotobuf/absl/strings/internal/cordz_sample_token.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/strings/internal/cordz_statistics.h	<installdir>/package/include/tprotobuf/absl/strings/internal/cordz_statistics.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/strings/internal/cordz_update_scope.h	<installdir>/package/include/tprotobuf/absl/strings/internal/cordz_update_scope.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/strings/internal/cordz_update_tracker.h	<installdir>/package/include/tprotobuf/absl/strings/internal/cordz_update_tracker.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/strings/internal/damerau_levenshtein_distance.h	<installdir>/package/include/tprotobuf/absl/strings/internal/damerau_levenshtein_distance.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/strings/internal/escaping.h	<installdir>/package/include/tprotobuf/absl/strings/internal/escaping.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/strings/internal/memutil.h	<installdir>/package/include/tprotobuf/absl/strings/internal/memutil.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/strings/internal/ostringstream.h	<installdir>/package/include/tprotobuf/absl/strings/internal/ostringstream.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/strings/internal/pow10_helper.h	<installdir>/package/include/tprotobuf/absl/strings/internal/pow10_helper.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/strings/internal/resize_uninitialized.h	<installdir>/package/include/tprotobuf/absl/strings/internal/resize_uninitialized.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/strings/internal/stl_type_traits.h	<installdir>/package/include/tprotobuf/absl/strings/internal/stl_type_traits.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/strings/internal/str_format/arg.h	<installdir>/package/include/tprotobuf/absl/strings/internal/str_format/arg.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/strings/internal/str_format/bind.h	<installdir>/package/include/tprotobuf/absl/strings/internal/str_format/bind.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/strings/internal/str_format/checker.h	<installdir>/package/include/tprotobuf/absl/strings/internal/str_format/checker.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/strings/internal/str_format/constexpr_parser.h	<installdir>/package/include/tprotobuf/absl/strings/internal/str_format/constexpr_parser.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/strings/internal/str_format/extension.h	<installdir>/package/include/tprotobuf/absl/strings/internal/str_format/extension.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/strings/internal/str_format/float_conversion.h	<installdir>/package/include/tprotobuf/absl/strings/internal/str_format/float_conversion.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/strings/internal/str_format/output.h	<installdir>/package/include/tprotobuf/absl/strings/internal/str_format/output.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/strings/internal/str_format/parser.h	<installdir>/package/include/tprotobuf/absl/strings/internal/str_format/parser.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/strings/internal/string_constant.h	<installdir>/package/include/tprotobuf/absl/strings/internal/string_constant.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/strings/internal/stringify_sink.h	<installdir>/package/include/tprotobuf/absl/strings/internal/stringify_sink.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/strings/internal/str_join_internal.h	<installdir>/package/include/tprotobuf/absl/strings/internal/str_join_internal.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/strings/internal/str_split_internal.h	<installdir>/package/include/tprotobuf/absl/strings/internal/str_split_internal.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/strings/internal/utf8.h	<installdir>/package/include/tprotobuf/absl/strings/internal/utf8.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/strings/match.h	<installdir>/package/include/tprotobuf/absl/strings/match.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/strings/numbers.h	<installdir>/package/include/tprotobuf/absl/strings/numbers.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/strings/str_cat.h	<installdir>/package/include/tprotobuf/absl/strings/str_cat.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/strings/str_format.h	<installdir>/package/include/tprotobuf/absl/strings/str_format.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/strings/string_view.h	<installdir>/package/include/tprotobuf/absl/strings/string_view.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/strings/strip.h	<installdir>/package/include/tprotobuf/absl/strings/strip.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/strings/str_join.h	<installdir>/package/include/tprotobuf/absl/strings/str_join.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/strings/str_replace.h	<installdir>/package/include/tprotobuf/absl/strings/str_replace.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/strings/str_split.h	<installdir>/package/include/tprotobuf/absl/strings/str_split.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/strings/substitute.h	<installdir>/package/include/tprotobuf/absl/strings/substitute.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/synchronization/barrier.h	<installdir>/package/include/tprotobuf/absl/synchronization/barrier.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/synchronization/blocking_counter.h	<installdir>/package/include/tprotobuf/absl/synchronization/blocking_counter.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/synchronization/internal/create_thread_identity.h	<installdir>/package/include/tprotobuf/absl/synchronization/internal/create_thread_identity.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/synchronization/internal/futex.h	<installdir>/package/include/tprotobuf/absl/synchronization/internal/futex.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/synchronization/internal/futex_waiter.h	<installdir>/package/include/tprotobuf/absl/synchronization/internal/futex_waiter.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/synchronization/internal/graphcycles.h	<installdir>/package/include/tprotobuf/absl/synchronization/internal/graphcycles.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/synchronization/internal/kernel_timeout.h	<installdir>/package/include/tprotobuf/absl/synchronization/internal/kernel_timeout.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/synchronization/internal/per_thread_sem.h	<installdir>/package/include/tprotobuf/absl/synchronization/internal/per_thread_sem.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/synchronization/internal/pthread_waiter.h	<installdir>/package/include/tprotobuf/absl/synchronization/internal/pthread_waiter.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/synchronization/internal/sem_waiter.h	<installdir>/package/include/tprotobuf/absl/synchronization/internal/sem_waiter.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/synchronization/internal/stdcpp_waiter.h	<installdir>/package/include/tprotobuf/absl/synchronization/internal/stdcpp_waiter.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/synchronization/internal/thread_pool.h	<installdir>/package/include/tprotobuf/absl/synchronization/internal/thread_pool.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/synchronization/internal/waiter_base.h	<installdir>/package/include/tprotobuf/absl/synchronization/internal/waiter_base.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/synchronization/internal/waiter.h	<installdir>/package/include/tprotobuf/absl/synchronization/internal/waiter.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/synchronization/internal/win32_waiter.h	<installdir>/package/include/tprotobuf/absl/synchronization/internal/win32_waiter.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/synchronization/mutex.h	<installdir>/package/include/tprotobuf/absl/synchronization/mutex.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/synchronization/notification.h	<installdir>/package/include/tprotobuf/absl/synchronization/notification.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/time/civil_time.h	<installdir>/package/include/tprotobuf/absl/time/civil_time.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/time/clock.h	<installdir>/package/include/tprotobuf/absl/time/clock.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/time/internal/cctz/include/cctz/civil_time_detail.h	<installdir>/package/include/tprotobuf/absl/time/internal/cctz/include/cctz/civil_time_detail.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/time/internal/cctz/include/cctz/civil_time.h	<installdir>/package/include/tprotobuf/absl/time/internal/cctz/include/cctz/civil_time.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/time/internal/cctz/include/cctz/time_zone.h	<installdir>/package/include/tprotobuf/absl/time/internal/cctz/include/cctz/time_zone.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/time/internal/cctz/include/cctz/zone_info_source.h	<installdir>/package/include/tprotobuf/absl/time/internal/cctz/include/cctz/zone_info_source.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/time/internal/cctz/src/time_zone_fixed.h	<installdir>/package/include/tprotobuf/absl/time/internal/cctz/src/time_zone_fixed.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/time/internal/cctz/src/time_zone_if.h	<installdir>/package/include/tprotobuf/absl/time/internal/cctz/src/time_zone_if.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/time/internal/cctz/src/time_zone_impl.h	<installdir>/package/include/tprotobuf/absl/time/internal/cctz/src/time_zone_impl.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/time/internal/cctz/src/time_zone_info.h	<installdir>/package/include/tprotobuf/absl/time/internal/cctz/src/time_zone_info.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/time/internal/cctz/src/time_zone_libc.h	<installdir>/package/include/tprotobuf/absl/time/internal/cctz/src/time_zone_libc.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/time/internal/cctz/src/time_zone_posix.h	<installdir>/package/include/tprotobuf/absl/time/internal/cctz/src/time_zone_posix.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/time/internal/cctz/src/tzfile.h	<installdir>/package/include/tprotobuf/absl/time/internal/cctz/src/tzfile.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/time/time.h	<installdir>/package/include/tprotobuf/absl/time/time.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/types/any.h	<installdir>/package/include/tprotobuf/absl/types/any.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/types/compare.h	<installdir>/package/include/tprotobuf/absl/types/compare.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/types/internal/span.h	<installdir>/package/include/tprotobuf/absl/types/internal/span.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/types/optional.h	<installdir>/package/include/tprotobuf/absl/types/optional.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/types/span.h	<installdir>/package/include/tprotobuf/absl/types/span.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/types/variant.h	<installdir>/package/include/tprotobuf/absl/types/variant.h	0	main	STP
--<deliverydir>/external/protobuf/abseil-cpp/absl/utility/utility.h	<installdir>/package/include/tprotobuf/absl/utility/utility.h	0	main	STP
- <deliverydir>/common/buildenv.mk	<installdir>/package/buildenv.mk	0	main	STP
-diff --git a/linux/installer/common/sdk/BOMs/sdk_cve_2020_0551_cf.txt b/linux/installer/common/sdk/BOMs/sdk_cve_2020_0551_cf.txt
-index 7bd918da..144e2066 100644
---- a/linux/installer/common/sdk/BOMs/sdk_cve_2020_0551_cf.txt
-+++ b/linux/installer/common/sdk/BOMs/sdk_cve_2020_0551_cf.txt
-@@ -9,9 +9,7 @@ DeliveryName	InstallName	FileCheckSum	FileFeature	FileOwner
- <deliverydir>/build/linuxCF/libsgx_tswitchless.a	<installdir>/package/lib64/cve_2020_0551_cf/libsgx_tswitchless.a	0	main	STP
- <deliverydir>/build/linuxCF/libsgx_tprotected_fs.a	<installdir>/package/lib64/cve_2020_0551_cf/libsgx_tprotected_fs.a	0	main	STP
- <deliverydir>/build/linuxCF/libsgx_pcl.a	<installdir>/package/lib64/cve_2020_0551_cf/libsgx_pcl.a	0	main	STP
--<deliverydir>/build/linuxCF/libsgx_omp.a	<installdir>/package/lib64/cve_2020_0551_cf/libsgx_omp.a	0	main	STP
- <deliverydir>/build/linuxCF/libsgx_pthread.a	<installdir>/package/lib64/cve_2020_0551_cf/libsgx_pthread.a	0	main	STP
--<deliverydir>/build/linuxCF/libsgx_protobuf.a	<installdir>/package/lib64/cve_2020_0551_cf/libsgx_protobuf.a	0	main	STP
- <deliverydir>/build/linuxCF/libsgx_ttls.a	<installdir>/package/lib64/cve_2020_0551_cf/libsgx_ttls.a	0	main	STP
- <deliverydir>/build/linuxCF/libtdx_tls.a	<installdir>/package/lib64/cve_2020_0551_cf/libtdx_tls.a	0	main	STP
- <deliverydir>/build/linuxCF/libsgx_utls.a	<installdir>/package/lib64/cve_2020_0551_cf/libsgx_utls.a	0	main	STP
-diff --git a/linux/installer/common/sdk/BOMs/sdk_cve_2020_0551_load.txt b/linux/installer/common/sdk/BOMs/sdk_cve_2020_0551_load.txt
-index 5491fa75..3f9f670b 100644
---- a/linux/installer/common/sdk/BOMs/sdk_cve_2020_0551_load.txt
-+++ b/linux/installer/common/sdk/BOMs/sdk_cve_2020_0551_load.txt
-@@ -9,9 +9,7 @@ DeliveryName	InstallName	FileCheckSum	FileFeature	FileOwner
- <deliverydir>/build/linuxLOAD/libsgx_tswitchless.a	<installdir>/package/lib64/cve_2020_0551_load/libsgx_tswitchless.a	0	main	STP
- <deliverydir>/build/linuxLOAD/libsgx_tprotected_fs.a	<installdir>/package/lib64/cve_2020_0551_load/libsgx_tprotected_fs.a	0	main	STP
- <deliverydir>/build/linuxLOAD/libsgx_pcl.a	<installdir>/package/lib64/cve_2020_0551_load/libsgx_pcl.a	0	main	STP
--<deliverydir>/build/linuxLOAD/libsgx_omp.a	<installdir>/package/lib64/cve_2020_0551_load/libsgx_omp.a	0	main	STP
- <deliverydir>/build/linuxLOAD/libsgx_pthread.a	<installdir>/package/lib64/cve_2020_0551_load/libsgx_pthread.a	0	main	STP
--<deliverydir>/build/linuxLOAD/libsgx_protobuf.a	<installdir>/package/lib64/cve_2020_0551_load/libsgx_protobuf.a	0	main	STP
- <deliverydir>/build/linuxLOAD/libsgx_ttls.a	<installdir>/package/lib64/cve_2020_0551_load/libsgx_ttls.a	0	main	STP
- <deliverydir>/build/linuxLOAD/libtdx_tls.a	<installdir>/package/lib64/cve_2020_0551_load/libtdx_tls.a	0	main	STP
- <deliverydir>/build/linuxLOAD/libsgx_utls.a	<installdir>/package/lib64/cve_2020_0551_load/libsgx_utls.a	0	main	STP
-diff --git a/linux/installer/common/sdk/BOMs/sdk_x64.txt b/linux/installer/common/sdk/BOMs/sdk_x64.txt
-index 4066ad1a..a8f07678 100644
---- a/linux/installer/common/sdk/BOMs/sdk_x64.txt
-+++ b/linux/installer/common/sdk/BOMs/sdk_x64.txt
-@@ -34,10 +34,7 @@ DeliveryName	InstallName	FileCheckSum	FileFeature	FileOwner
- <deliverydir>/build/linux/sgx_edger8r	<installdir>/package/bin/x64/sgx_edger8r	0	main	STP
- <deliverydir>/build/linux/sgx_sign	<installdir>/package/bin/x64/sgx_sign	0	main	STP
- <deliverydir>/build/linux/sgx_encrypt	<installdir>/package/bin/x64/sgx_encrypt	0	main	STP
--<deliverydir>/build/linux/sgx_protoc	<installdir>/package/bin/x64/sgx_protoc	0	main	STP
- <deliverydir>/build/linux/libsgx_pthread.a	<installdir>/package/lib64/libsgx_pthread.a	0	main	STP
--<deliverydir>/build/linux/libsgx_omp.a	<installdir>/package/lib64/libsgx_omp.a	0	main	STP
--<deliverydir>/build/linux/libsgx_protobuf.a	<installdir>/package/lib64/libsgx_protobuf.a	0	main	STP
- <deliverydir>/build/linux/libsgx_ttls.a	<installdir>/package/lib64/libsgx_ttls.a	0	main	STP
- <deliverydir>/build/linux/libtdx_tls.a	<installdir>/package/lib64/libtdx_tls.a	0	main	STP
- <deliverydir>/build/linux/libsgx_utls.a	<installdir>/package/lib64/libsgx_utls.a	0	main	STP
-diff --git a/sdk/Makefile.source b/sdk/Makefile.source
-index 7b09375c..57c750fa 100644
---- a/sdk/Makefile.source
-+++ b/sdk/Makefile.source
-@@ -40,13 +40,10 @@
- #        - tprotected_fs: libsgx_tprotected_fs.a
- #        - tcmalloc:      libsgx_tcmalloc.a
- #        - sgx_pcl:       libsgx_pcl.a
--#        - openmp:        libsgx_omp.a
--#        - protobuf:      libsgx_protobuf.a
- #        - ttls:          libsgx_ttls.a
- #  - Untrtusted libraries
- #        - uprotected_fs: libsgx_uprotected_fs.a
- #        - ptrace:        libsgx_ptrace.so, gdb-sgx-plugin
--#        - sample_crypto: libsample_crypto.so (for sample code use)
- #        - utls:          libsgx_utls.a
- #  - Standalone, untrusted libraries
- #        - libcapable:    libsgx_capable.a libsgx_capable.so
-@@ -64,7 +61,7 @@ LIBTCXX    := $(BUILD_DIR)/libsgx_tcxx.a
- LIBTSE     := $(BUILD_DIR)/libsgx_tservice.a
- 
- .PHONY: components
--components: tstdc tcxx tservice trts tcrypto tprotected_fs uprotected_fs ptrace sample_crypto libcapable simulation signtool edger8r tcmalloc sgx_pcl sgx_encrypt sgx_tswitchless sgx_uswitchless pthread openmp protobuf ttls utls tvl
-+components: tstdc tcxx tservice trts tcrypto tprotected_fs uprotected_fs ptrace libcapable simulation signtool edger8r tcmalloc sgx_pcl sgx_encrypt sgx_tswitchless sgx_uswitchless pthread ttls utls tvl
- 
- # ---------------------------------------------------
- #  tstdc
-@@ -214,18 +211,6 @@ tprotected_fs: edger8r
- sgx_pcl:
- 	$(MAKE) -C protected_code_loader
- 
--.PHONY: openmp
--openmp:
--	$(MAKE) -C $(LINUX_EXTERNAL_DIR)/openmp
--
--.PHONY: protobuf
--protobuf:
--ifeq ($(MITIGATION-CVE-2020-0551),)
--	$(MAKE) -C $(LINUX_EXTERNAL_DIR)/protobuf BUILD_PROTOC=1
--else
--	$(MAKE) -C $(LINUX_EXTERNAL_DIR)/protobuf
--endif
--
- .PHONY: cbor_untrusted
- cbor_untrusted:
- 	$(MAKE) -C $(LINUX_EXTERNAL_DIR)/cbor cbor_untrusted
-@@ -250,10 +235,6 @@ uprotected_fs: edger8r
- ptrace:
- 	$(MAKE) -C debugger_interface/linux/
- 
--.PHONY: sample_crypto
--sample_crypto:
--	$(MAKE) -C sample_libcrypto
--
- .PHONY: utls
- utls: cbor_untrusted
- 	$(MAKE) -C utls
-@@ -328,7 +309,6 @@ clean:
- 	$(MAKE) -C protected_fs/sgx_tprotected_fs/     clean
- 	$(MAKE) -C protected_fs/sgx_uprotected_fs/     clean
- 	$(MAKE) -C debugger_interface/linux/           clean
--	$(MAKE) -C sample_libcrypto/                   clean
- 	$(MAKE) -C libcapable/linux/                   clean
- 	$(MAKE) -C simulation/                         clean
- 	$(MAKE) -C sign_tool/SignTool                  clean
-@@ -339,8 +319,6 @@ clean:
- 	$(MAKE) -C switchless/sgx_uswitchless          clean
- 	$(MAKE) -C tmm_rsrv/                           clean
- 	$(MAKE) -C pthread                             clean
--	$(MAKE) -C $(LINUX_EXTERNAL_DIR)/openmp        clean
--	$(MAKE) -C $(LINUX_EXTERNAL_DIR)/protobuf      clean
- 	$(MAKE) -C $(LINUX_EXTERNAL_DIR)/cbor          clean
- 	$(MAKE) -C $(LINUX_EXTERNAL_DIR)/libcxxrt      clean
- 	$(MAKE) -C ttls						           clean
--- 
-2.55.0
-

diff --git a/0005-disable-packaging-of-poe-gen-tool.patch b/0005-disable-packaging-of-poe-gen-tool.patch
new file mode 100644
index 0000000..6051ebb
--- /dev/null
+++ b/0005-disable-packaging-of-poe-gen-tool.patch
@@ -0,0 +1,59 @@
+From b6998d7c10edf4173b4e5993a09f5f5ac2143aeb Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= <berrange@redhat.com>
+Date: Tue, 10 Nov 2026 15:03:45 +0000
+Subject: [PATCH 5/8] disable packaging of poe-gen-tool
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
+---
+ .../psw-dcap/BOM_install/intel-tee-poe-gen-tool.txt      | 5 -----
+ linux/installer/common/psw-dcap/Makefile                 | 9 ++-------
+ 2 files changed, 2 insertions(+), 12 deletions(-)
+
+diff --git a/linux/installer/common/psw-dcap/BOM_install/intel-tee-poe-gen-tool.txt b/linux/installer/common/psw-dcap/BOM_install/intel-tee-poe-gen-tool.txt
+index 38bb904f..46a874bc 100644
+--- a/linux/installer/common/psw-dcap/BOM_install/intel-tee-poe-gen-tool.txt
++++ b/linux/installer/common/psw-dcap/BOM_install/intel-tee-poe-gen-tool.txt
+@@ -1,6 +1 @@
+ DeliveryName	InstallName	FileCheckSum	FileFeature	FileOwner
+-<deliverydir>/external/dcap_source/tools/PoeTools/build/Release/bin/poe-gen-tool	<installdir>/poe-gen-tool	0	main	STP
+-<deliverydir>/external/dcap_source/tools/PoeTools/poe-gen-tool/schemas	<installdir>/schemas	0	main	STP
+-<deliverydir>/external/dcap_source/tools/PoeTools/poe-gen-tool/README.md	<installdir>/README.md	0	main	STP
+-<deliverydir>/external/dcap_source/tools/PoeTools/License.txt	<installdir>/License.txt	0	main	STP
+-<deliverydir>/external/dcap_source/tools/PoeTools/poe-gen-tool/poe-gen-tool.cfg.sample	<installdir>/poe-gen-tool.cfg.sample	0	main	STP
+diff --git a/linux/installer/common/psw-dcap/Makefile b/linux/installer/common/psw-dcap/Makefile
+index e56e8121..fd3fdeab 100644
+--- a/linux/installer/common/psw-dcap/Makefile
++++ b/linux/installer/common/psw-dcap/Makefile
+@@ -158,15 +158,12 @@ DEV_LIB_PKGS:= $(QUOTE_EX_PACKAGE)           \
+                $(RA_NETWORK_PACKAGE)         \
+                $(RA_NETWORK_DEV_PACKAGE)     \
+                $(RA_UEFI_PACKAGE)            \
+-               $(RA_UEFI_DEV_PACKAGE)        \
+-               $(POE_LIB_PACKAGE)
++               $(RA_UEFI_DEV_PACKAGE)
+ 
+ ALL_PKGS:= $(AESM_SERVICE_PKGS) $(AE_PKGS) $(DEV_LIB_PKGS)
+ 
+ AUX_TOOL_PKGS:= $(TEE_APPRAISAL_TOOL_PACKAGE) \
+-                $(PCS_CLIENT_TOOL_PACKAGE)    \
+-                $(POE_GEN_TOOL_PACKAGE)       \
+-                $(POE_EVAL_TOOL_PACKAGE)
++                $(PCS_CLIENT_TOOL_PACKAGE)
+ 
+ $(foreach PKG,$(AESM_SERVICE_PKGS) $(AE_PKGS),$(eval $(call INSTALL_AESM_SERVICE_TEMPLATE,$(PKG))))
+ $(foreach PKG,$(DEV_LIB_PKGS),$(eval $(call INSTALL_DEV_LIB_TEMPLATE,$(PKG))))
+@@ -341,8 +338,6 @@ install: install_$(AESM_SERVICE_PACKAGE)         \
+ 	install_$(PCK_ID_RETRIEVAL_TOOL_PACKAGE) \
+ 	install_$(TEE_APPRAISAL_TOOL_PACKAGE)    \
+ 	install_$(PCS_CLIENT_TOOL_PACKAGE)       \
+-	install_$(POE_GEN_TOOL_PACKAGE)          \
+-	install_$(POE_EVAL_TOOL_PACKAGE)         \
+ 	install_ae                               \
+ 	install_enclave_runtime                  \
+ 	install_dev_lib
+-- 
+2.56.0
+

diff --git a/0006-Disable-packaging-of-prebuilt-enclaves.patch b/0006-Disable-packaging-of-prebuilt-enclaves.patch
new file mode 100644
index 0000000..f6b6285
--- /dev/null
+++ b/0006-Disable-packaging-of-prebuilt-enclaves.patch
@@ -0,0 +1,102 @@
+From d65d1a583da5673c8fd98a2167a6c7fe0840648f Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= <berrange@redhat.com>
+Date: Tue, 10 Nov 2026 15:31:25 +0000
+Subject: [PATCH 6/8] Disable packaging of prebuilt enclaves
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+These are distributed in a separate RPM package
+
+Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
+---
+ linux/installer/common/psw-dcap/Makefile | 16 +---------------
+ linux/installer/common/psw-tdx/Makefile  | 10 +---------
+ 2 files changed, 2 insertions(+), 24 deletions(-)
+
+diff --git a/linux/installer/common/psw-dcap/Makefile b/linux/installer/common/psw-dcap/Makefile
+index fd3fdeab..bab59370 100644
+--- a/linux/installer/common/psw-dcap/Makefile
++++ b/linux/installer/common/psw-dcap/Makefile
+@@ -140,11 +140,7 @@ AESM_SERVICE_PKGS:= $(AESM_PCE_PACKAGE)      \
+                     $(QE3_LOGIC_PACKAGE)     \
+                     $(PCE_LOGIC_PACKAGE)
+ 
+-AE_PKGS:= $(AE_IDE_PACKAGE)                  \
+-          $(AE_PCE_PACKAGE)                  \
+-          $(AE_QE3_PACKAGE)                  \
+-          $(AE_QVE_PACKAGE)                  \
+-          $(AE_QAE_PACKAGE)
++AE_PKGS:=
+ 
+ DEV_LIB_PKGS:= $(QUOTE_EX_PACKAGE)           \
+                $(QUOTE_EX_DEV_PACKAGE)       \
+@@ -196,12 +192,6 @@ install_$(AESM_SERVICE_PACKAGE): $(foreach PKG,$(AESM_SERVICE_PKGS),post_$(PKG))
+ 		cp -fr $(DESTDIR)/$(AESM_SERVICE_PACKAGE)/$(SGX_INSTALL_PATH)/$(AESM_SERVICE_PACKAGE)/aesm/conf/*    \
+ 			$(DESTDIR)/$(AESM_SERVICE_PACKAGE)/$(ETC_DIR)                                             && \
+ 		rm -fr $(DESTDIR)/$(AESM_SERVICE_PACKAGE)/$(SGX_INSTALL_PATH)/$(AESM_SERVICE_PACKAGE)/aesm/conf)
+-	cd $(shell readlink -m $(DESTDIR)/$(AESM_ECDSA_PACKAGE)/$(SGX_INSTALL_PATH)/$(AESM_SERVICE_PACKAGE)/aesm) && \
+-	ln -fs $(shell readlink -m $(USR_LIB_PATH)/libsgx_qe3.signed.so.$(QE3_MAJOR_VER))                         && \
+-	ln -fs $(shell readlink -m $(USR_LIB_PATH)/libsgx_qe3.signed.so)
+-	cd $(shell readlink -m $(DESTDIR)/$(AESM_PCE_PACKAGE)/$(SGX_INSTALL_PATH)/$(AESM_SERVICE_PACKAGE)/aesm)   && \
+-	ln -fs $(shell readlink -m $(USR_LIB_PATH)/libsgx_pce.signed.so.$(PCE_MAJOR_VER))                         && \
+-	ln -fs $(shell readlink -m $(USR_LIB_PATH)/libsgx_pce.signed.so)                                          && \
+ 	ln -fs liburts_internal.so libsgx_urts.so.$(URTS_MAJOR_VER)
+ 
+ PHONY+=$(RA_SERVICE_PACKAGE)
+@@ -227,9 +217,6 @@ PHONY+=install_$(PCK_ID_RETRIEVAL_TOOL_PACKAGE)
+ install_$(PCK_ID_RETRIEVAL_TOOL_PACKAGE): pre_$(PCK_ID_RETRIEVAL_TOOL_PACKAGE) | $(PACKAGE_ROOT_PATH)
+ 	install -d $(shell readlink -m $(DESTDIR)/$(PCK_ID_RETRIEVAL_TOOL_PACKAGE)/$(SGX_INSTALL_PATH)/$(PCK_ID_RETRIEVAL_TOOL_PACKAGE)) && \
+ 	cp -fr $|/$(PCK_ID_RETRIEVAL_TOOL_PACKAGE)/* $(DESTDIR)/$(PCK_ID_RETRIEVAL_TOOL_PACKAGE)/$(SGX_INSTALL_PATH)/$(PCK_ID_RETRIEVAL_TOOL_PACKAGE)
+-	cd $(shell readlink -m $(DESTDIR)/$(PCK_ID_RETRIEVAL_TOOL_PACKAGE)/$(SGX_INSTALL_PATH)/$(PCK_ID_RETRIEVAL_TOOL_PACKAGE))         && \
+-	ln -fs $(shell readlink -m $(USR_LIB_PATH)/libsgx_id_enclave.signed.so.$(IDE_MAJOR_VER))                                         && \
+-	ln -fs $(shell readlink -m $(USR_LIB_PATH)/libsgx_pce.signed.so.$(PCE_MAJOR_VER))
+ 
+ PHONY+=install_ae
+ install_ae: $(foreach PKG,$(AE_PKGS),post_$(PKG))
+@@ -338,7 +325,6 @@ install: install_$(AESM_SERVICE_PACKAGE)         \
+ 	install_$(PCK_ID_RETRIEVAL_TOOL_PACKAGE) \
+ 	install_$(TEE_APPRAISAL_TOOL_PACKAGE)    \
+ 	install_$(PCS_CLIENT_TOOL_PACKAGE)       \
+-	install_ae                               \
+ 	install_enclave_runtime                  \
+ 	install_dev_lib
+ 	rm -fr $(PACKAGE_ROOT_PATH)
+diff --git a/linux/installer/common/psw-tdx/Makefile b/linux/installer/common/psw-tdx/Makefile
+index 8a1c644c..3967a002 100644
+--- a/linux/installer/common/psw-tdx/Makefile
++++ b/linux/installer/common/psw-tdx/Makefile
+@@ -129,11 +129,7 @@ endef
+ 
+ TDX_QGS_PKGS:= $(TDX_QGS_PACKAGE)
+ 
+-AE_PKGS:= $(AE_IDE_PACKAGE)                  \
+-          $(AE_PCE_PACKAGE)                  \
+-          $(AE_TDQE_PACKAGE)                 \
+-          $(AE_QVE_PACKAGE)                  \
+-          $(AE_QAE_PACKAGE)
++AE_PKGS:=
+ 
+ DEV_LIB_PKGS:= $(TDX_LOGIC_PACKAGE)          \
+                $(TDX_LOGIC_DEV_PACKAGE)      \
+@@ -209,9 +205,6 @@ PHONY+=install_$(PCK_ID_RETRIEVAL_TOOL_PACKAGE)
+ install_$(PCK_ID_RETRIEVAL_TOOL_PACKAGE): pre_$(PCK_ID_RETRIEVAL_TOOL_PACKAGE) | $(PACKAGE_ROOT_PATH)
+ 	install -d $(shell readlink -m $(DESTDIR)/$(PCK_ID_RETRIEVAL_TOOL_PACKAGE)/$(SGX_INSTALL_PATH)/$(PCK_ID_RETRIEVAL_TOOL_PACKAGE)) && \
+ 	cp -fr $|/$(PCK_ID_RETRIEVAL_TOOL_PACKAGE)/* $(DESTDIR)/$(PCK_ID_RETRIEVAL_TOOL_PACKAGE)/$(SGX_INSTALL_PATH)/$(PCK_ID_RETRIEVAL_TOOL_PACKAGE)
+-	cd $(shell readlink -m $(DESTDIR)/$(PCK_ID_RETRIEVAL_TOOL_PACKAGE)/$(SGX_INSTALL_PATH)/$(PCK_ID_RETRIEVAL_TOOL_PACKAGE))         && \
+-	ln -fs $(shell readlink -m $(USR_LIB_PATH)/libsgx_id_enclave.signed.so.$(IDE_MAJOR_VER))                                         && \
+-	ln -fs $(shell readlink -m $(USR_LIB_PATH)/libsgx_pce.signed.so.$(PCE_MAJOR_VER))
+ 
+ PHONY+=install_ae
+ install_ae: $(foreach PKG,$(AE_PKGS),post_$(PKG))
+@@ -281,7 +274,6 @@ PHONY+=install
+ install: install_$(TDX_QGS_PACKAGE)          \
+ 	install_$(RA_SERVICE_PACKAGE)            \
+ 	install_$(PCK_ID_RETRIEVAL_TOOL_PACKAGE) \
+-	install_ae                               \
+ 	install_enclave_runtime                  \
+ 	install_dev_lib
+ 	rm -fr $(PACKAGE_ROOT_PATH)
+-- 
+2.56.0
+

diff --git a/0006-psw-prefer-dev-sgx_provision-dev-sgx_enclave.patch b/0006-psw-prefer-dev-sgx_provision-dev-sgx_enclave.patch
deleted file mode 100644
index 6bcd41a..0000000
--- a/0006-psw-prefer-dev-sgx_provision-dev-sgx_enclave.patch
+++ /dev/null
@@ -1,78 +0,0 @@
-From d84bd5dc92f0fae52a3bffe3d60fb92b6f801c09 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= <berrange@redhat.com>
-Date: Fri, 4 Oct 2024 16:33:20 +0100
-Subject: [PATCH 06/16] psw: prefer /dev/sgx_provision & /dev/sgx_enclave
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-The default behaviour for SGX deployments in upstream Linux is to
-have /dev/sgx_provision & /dev/sgx_enclave device paths, instead of
-the old /dev/sgx/provision & /dev/sgx/enclave paths
-
-The code should prefer opening the current default device paths first,
-with the old paths as the fallback, so the common case will be an
-immediate success.
-
-Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
----
- psw/enclave_common/sgx_enclave_common.cpp |  6 +++---
- psw/urts/linux/edmm_utility.cpp           | 12 ++++++------
- 2 files changed, 9 insertions(+), 9 deletions(-)
-
-diff --git a/psw/enclave_common/sgx_enclave_common.cpp b/psw/enclave_common/sgx_enclave_common.cpp
-index 19cc998b..1ea3d04c 100644
---- a/psw/enclave_common/sgx_enclave_common.cpp
-+++ b/psw/enclave_common/sgx_enclave_common.cpp
-@@ -409,11 +409,11 @@ static void enclave_set_provision_access(int hdevice, void* enclave_base)
-     
-     if (s_driver_type == SGX_DRIVER_IN_KERNEL)
-     {
--        hdev_prov = open("/dev/sgx/provision", O_RDWR);
-+        hdev_prov = open("/dev/sgx_provision", O_RDWR);
-         if (-1 == hdev_prov)
-         {
--            //if /dev/sgx/provision is not present, try to open /dev/sgx_provision
--            hdev_prov = open("/dev/sgx_provision", O_RDWR);
-+            //if /dev/sgx_provision is not present, try to open /dev/sgx/provision
-+            hdev_prov = open("/dev/sgx/provision", O_RDWR);
-         }
-         if (-1 == hdev_prov)
-         {
-diff --git a/psw/urts/linux/edmm_utility.cpp b/psw/urts/linux/edmm_utility.cpp
-index 9406ee64..5eea4ecd 100644
---- a/psw/urts/linux/edmm_utility.cpp
-+++ b/psw/urts/linux/edmm_utility.cpp
-@@ -99,11 +99,11 @@ bool get_driver_type(int *driver_type)
-         *driver_type = sgx_driver_type;
-     }
-     
--    int hdev = open("/dev/sgx/enclave", O_RDWR);    //attempt to open the in-kernel driver
-+    int hdev = open("/dev/sgx_enclave", O_RDWR);    //attempt to open the in-kernel driver
-     if (-1 == hdev)
-     {
--        //if /dev/sgx/enclave is not present, try to open /dev/sgx_enclave
--        hdev = open("/dev/sgx_enclave", O_RDWR);
-+        //if /dev/sgx_enclave is not present, try to open /dev/sgx/enclave
-+        hdev = open("/dev/sgx/enclave", O_RDWR);
-     }
-     if (-1 == hdev)
-     {
-@@ -155,11 +155,11 @@ extern "C" bool open_se_device(int driver_type, int *hdevice)
-     *hdevice = -1;
-     if (driver_type == SGX_DRIVER_IN_KERNEL)
-     {
--        *hdevice = open("/dev/sgx/enclave", O_RDWR);    //attempt to open the in-kernel driver
--        //if /dev/sgx/enclave is not present, try to open /dev/sgx_enclave
-+        *hdevice = open("/dev/sgx_enclave", O_RDWR);    //attempt to open the in-kernel driver
-+        //if /dev/sgx_enclave is not present, try to open /dev/sgx/enclave
-         if(-1 == *hdevice)
-         {
--            *hdevice = open("/dev/sgx_enclave", O_RDWR);
-+            *hdevice = open("/dev/sgx/enclave", O_RDWR);
-         }
-     }
-     else if (driver_type == SGX_DRIVER_DCAP)
--- 
-2.55.0
-

diff --git a/0007-drop-tee_appraisal_tool-from-package.patch b/0007-drop-tee_appraisal_tool-from-package.patch
new file mode 100644
index 0000000..6dce856
--- /dev/null
+++ b/0007-drop-tee_appraisal_tool-from-package.patch
@@ -0,0 +1,50 @@
+From 32477d94917229b6af48cf82507427771ca051fe Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= <berrange@redhat.com>
+Date: Tue, 10 Nov 2026 16:29:29 +0000
+Subject: [PATCH 7/8] drop tee_appraisal_tool from package
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+We cannot ship the Quote Appraisal Enclave since it links to
+an openssl build with non-permited crypto.
+
+Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
+---
+ .../common/psw-dcap/BOM_install/tee-appraisal-tool.txt        | 1 -
+ linux/installer/common/psw-dcap/Makefile                      | 4 +---
+ 2 files changed, 1 insertion(+), 4 deletions(-)
+
+diff --git a/linux/installer/common/psw-dcap/BOM_install/tee-appraisal-tool.txt b/linux/installer/common/psw-dcap/BOM_install/tee-appraisal-tool.txt
+index 3d0a6b13..d20003de 100644
+--- a/linux/installer/common/psw-dcap/BOM_install/tee-appraisal-tool.txt
++++ b/linux/installer/common/psw-dcap/BOM_install/tee-appraisal-tool.txt
+@@ -1,3 +1,2 @@
+ DeliveryName	InstallName	FileCheckSum	FileFeature	FileOwner
+-<deliverydir>/external/dcap_source/QuoteGeneration/build/linux/tee_appraisal_tool	<installdir>/bin/tee_appraisal_tool	0	main	STP
+ 
+diff --git a/linux/installer/common/psw-dcap/Makefile b/linux/installer/common/psw-dcap/Makefile
+index bab59370..fdb7cc60 100644
+--- a/linux/installer/common/psw-dcap/Makefile
++++ b/linux/installer/common/psw-dcap/Makefile
+@@ -158,8 +158,7 @@ DEV_LIB_PKGS:= $(QUOTE_EX_PACKAGE)           \
+ 
+ ALL_PKGS:= $(AESM_SERVICE_PKGS) $(AE_PKGS) $(DEV_LIB_PKGS)
+ 
+-AUX_TOOL_PKGS:= $(TEE_APPRAISAL_TOOL_PACKAGE) \
+-                $(PCS_CLIENT_TOOL_PACKAGE)
++AUX_TOOL_PKGS:= $(PCS_CLIENT_TOOL_PACKAGE)
+ 
+ $(foreach PKG,$(AESM_SERVICE_PKGS) $(AE_PKGS),$(eval $(call INSTALL_AESM_SERVICE_TEMPLATE,$(PKG))))
+ $(foreach PKG,$(DEV_LIB_PKGS),$(eval $(call INSTALL_DEV_LIB_TEMPLATE,$(PKG))))
+@@ -323,7 +322,6 @@ PHONY+=install
+ install: install_$(AESM_SERVICE_PACKAGE)         \
+ 	install_$(RA_SERVICE_PACKAGE)            \
+ 	install_$(PCK_ID_RETRIEVAL_TOOL_PACKAGE) \
+-	install_$(TEE_APPRAISAL_TOOL_PACKAGE)    \
+ 	install_$(PCS_CLIENT_TOOL_PACKAGE)       \
+ 	install_enclave_runtime                  \
+ 	install_dev_lib
+-- 
+2.56.0
+

diff --git a/0007-psw-fix-soname-for-libuae_service.so-library.patch b/0007-psw-fix-soname-for-libuae_service.so-library.patch
deleted file mode 100644
index 0658ea1..0000000
--- a/0007-psw-fix-soname-for-libuae_service.so-library.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-From 9018be7afd611543d2eb410f909ace4eef054ae9 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= <berrange@redhat.com>
-Date: Fri, 17 Jan 2025 15:38:56 +0000
-Subject: [PATCH 07/16] psw: fix soname for libuae_service.so library
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
----
- psw/uae_service/linux/Makefile | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/psw/uae_service/linux/Makefile b/psw/uae_service/linux/Makefile
-index 0de5ab7c..3d9a1408 100644
---- a/psw/uae_service/linux/Makefile
-+++ b/psw/uae_service/linux/Makefile
-@@ -120,7 +120,7 @@ libsgx_%.so: $(OBJ) %_version.o
- 	$(CXX) $(CXXFLAGS) $^ -shared $(LDUFLAGS) -Wl,--version-script=$(@:.so=.lds) -Wl,--gc-sections $(EXTERNAL_LIB) -Wl,-soname=$@.$(call get_major_version,$(call get_version_name,$@)) -o $@
- 
- $(LEGACY_LIBNAME): $(LEGACY_OBJ)
--	$(CXX) $(CXXFLAGS) $^ -shared $(LDUFLAGS) -ldl -Wl,--version-script=uae_service.lds -Wl,--gc-sections -Wl,-soname=$@ -o $@
-+	$(CXX) $(CXXFLAGS) $^ -shared $(LDUFLAGS) -ldl -Wl,--version-script=uae_service.lds -Wl,--gc-sections -Wl,-soname=$@.$(call get_major_version,$(call get_version_name,$@)) -o $@
- 
- $(IPC_SRC:.cpp=.o) : $(IPC_COMMON_PROTO_DIR)/messages.pb.cc
- AEServicesImpl.o : $(IPC_COMMON_PROTO_DIR)/messages.pb.cc
--- 
-2.55.0
-

diff --git a/0008-Disable-inclusion-of-AESM-in-installer.patch b/0008-Disable-inclusion-of-AESM-in-installer.patch
new file mode 100644
index 0000000..b427529
--- /dev/null
+++ b/0008-Disable-inclusion-of-AESM-in-installer.patch
@@ -0,0 +1,74 @@
+From f730f6074cf860547477d1e4f9557660c168dc0b Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= <berrange@redhat.com>
+Date: Tue, 11 Feb 2025 14:58:58 +0000
+Subject: [PATCH 8/8] Disable inclusion of AESM in installer
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Disabling AESM will allow optionally building without the
+CppMicroServices dependency
+
+Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
+---
+ linux/installer/common/psw-dcap/Makefile | 19 +------------------
+ psw/ae/Makefile                          |  6 +++++-
+ 2 files changed, 6 insertions(+), 19 deletions(-)
+
+diff --git a/linux/installer/common/psw-dcap/Makefile b/linux/installer/common/psw-dcap/Makefile
+index fdb7cc60..58d84d86 100644
+--- a/linux/installer/common/psw-dcap/Makefile
++++ b/linux/installer/common/psw-dcap/Makefile
+@@ -133,11 +133,7 @@ post_$(1): $(1) | $(PACKAGE_ROOT_PATH)
+ 	cp -fr $$|/$$</* $(DESTDIR)/$$< ) ||:
+ endef
+ 
+-AESM_SERVICE_PKGS:= $(AESM_PCE_PACKAGE)      \
+-                    $(AESM_ECDSA_PACKAGE)    \
+-                    $(AESM_QUOTE_EX_PACKAGE) \
+-                    $(AESM_SERVICE_PACKAGE)  \
+-                    $(QE3_LOGIC_PACKAGE)     \
++AESM_SERVICE_PKGS:= $(QE3_LOGIC_PACKAGE)     \
+                     $(PCE_LOGIC_PACKAGE)
+ 
+ AE_PKGS:=
+@@ -179,19 +175,6 @@ PHONY+=$(foreach PKG,$(ALL_PKGS),post_$(PKG))
+ 
+ PHONY+=install_$(AESM_SERVICE_PACKAGE)
+ install_$(AESM_SERVICE_PACKAGE): $(foreach PKG,$(AESM_SERVICE_PKGS),post_$(PKG))
+-	install -d $(shell readlink -m $(DESTDIR)/$(AESM_SERVICE_PACKAGE)/$(VAR_OPT_PATH))
+-	install -d $(shell readlink -m $(DESTDIR)/$(AESM_SERVICE_PACKAGE)/$(AESMD_CONF_PATH))
+-	sed -e "s:@aesm_folder@:$(SGX_INSTALL_PATH)/$(AESM_SERVICE_PACKAGE)/aesm:"                                   \
+-		$(DESTDIR)/$(AESM_SERVICE_PACKAGE)/$(SGX_INSTALL_PATH)/$(AESM_SERVICE_PACKAGE)/aesm/$(AESMD_CONF)    \
+-		> $(DESTDIR)/$(AESM_SERVICE_PACKAGE)/$(AESMD_CONF_PATH)/$(AESMD_CONF)
+-	rm -f $(DESTDIR)/$(AESM_SERVICE_PACKAGE)/$(SGX_INSTALL_PATH)/$(AESM_SERVICE_PACKAGE)/aesm/$(AESMD_CONF)
+-	rm -f $(DESTDIR)/$(AESM_SERVICE_PACKAGE)/$(SGX_INSTALL_PATH)/$(AESM_SERVICE_PACKAGE)/aesm/$(AESMD_CONF_DEL)
+-	$(if $(wildcard $(DESTDIR)/$(AESM_SERVICE_PACKAGE)/$(SGX_INSTALL_PATH)/$(AESM_SERVICE_PACKAGE)/aesm/conf/*), \
+-		install -d $(shell readlink -m $(DESTDIR)/$(AESM_SERVICE_PACKAGE)/$(ETC_DIR))                     && \
+-		cp -fr $(DESTDIR)/$(AESM_SERVICE_PACKAGE)/$(SGX_INSTALL_PATH)/$(AESM_SERVICE_PACKAGE)/aesm/conf/*    \
+-			$(DESTDIR)/$(AESM_SERVICE_PACKAGE)/$(ETC_DIR)                                             && \
+-		rm -fr $(DESTDIR)/$(AESM_SERVICE_PACKAGE)/$(SGX_INSTALL_PATH)/$(AESM_SERVICE_PACKAGE)/aesm/conf)
+-	ln -fs liburts_internal.so libsgx_urts.so.$(URTS_MAJOR_VER)
+ 
+ PHONY+=$(RA_SERVICE_PACKAGE)
+ $(RA_SERVICE_PACKAGE): pre_$(RA_SERVICE_PACKAGE) | $(PACKAGE_ROOT_PATH)
+diff --git a/psw/ae/Makefile b/psw/ae/Makefile
+index 8853694d..0486eb12 100644
+--- a/psw/ae/Makefile
++++ b/psw/ae/Makefile
+@@ -45,7 +45,11 @@ CHECK_PREBUILT := prebuilt_check_fail
+ endif
+ 
+ .PHONY: all
+-all: $(CMAKE_RESULT) AESM COPY_AES| $(BUILD_DIR)
++ifeq ($(BUILD_REF_LE), 1)
++all: $(CMAKE_RESULT) REF_LE COPY_AES| $(BUILD_DIR)
++else
++all: $(CMAKE_RESULT) COPY_AES| $(BUILD_DIR)
++endif #($(BUILD_REF_LE), 1)
+ 
+ # COPY_AES: currently copy le, pce, qe3
+ .PHONY: COPY_AES
+-- 
+2.56.0
+

diff --git a/0008-sdk-honour-CFLAGS-LDFLAGS-set-from-environment.patch b/0008-sdk-honour-CFLAGS-LDFLAGS-set-from-environment.patch
deleted file mode 100644
index b5ca049..0000000
--- a/0008-sdk-honour-CFLAGS-LDFLAGS-set-from-environment.patch
+++ /dev/null
@@ -1,106 +0,0 @@
-From 34d06dc761cce9ef4e50a9595e81b03d3f766844 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= <berrange@redhat.com>
-Date: Thu, 27 Mar 2025 14:17:01 +0000
-Subject: [PATCH 08/16] sdk: honour CFLAGS/LDFLAGS set from environment
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
----
- sdk/encrypt_enclave/Makefile                    | 2 +-
- sdk/sign_tool/SignTool/Makefile                 | 2 +-
- sdk/simulation/SEConfigureCPUSVN/linux/Makefile | 2 +-
- sdk/simulation/uae_service_sim/linux/Makefile   | 2 +-
- sdk/simulation/urtssim/linux/Makefile           | 8 ++++----
- 5 files changed, 8 insertions(+), 8 deletions(-)
-
-diff --git a/sdk/encrypt_enclave/Makefile b/sdk/encrypt_enclave/Makefile
-index 2a023b68..1f331d9a 100644
---- a/sdk/encrypt_enclave/Makefile
-+++ b/sdk/encrypt_enclave/Makefile
-@@ -13,7 +13,7 @@ endif
- 
- INC_DIR	:= -I$(COMMON_DIR)/inc -I$(COMMON_DIR)/inc/internal -I.
- CXXFLAGS += $(INC_DIR) -Wno-attributes -g -mrdrnd -fpie -Werror=format-security
--LDFLAGS := -pie $(COMMON_LDFLAGS)
-+LDFLAGS += -pie $(COMMON_LDFLAGS)
- 
- LINK_FLAGS := -lcrypto -L$(BUILD_DIR) -lsgx_tservice
- CPP_FILES := encryptip.cpp
-diff --git a/sdk/sign_tool/SignTool/Makefile b/sdk/sign_tool/SignTool/Makefile
-index 712e3771..928619d6 100644
---- a/sdk/sign_tool/SignTool/Makefile
-+++ b/sdk/sign_tool/SignTool/Makefile
-@@ -15,7 +15,7 @@ FLAGS += -DSE_DEBUG_LEVEL=SE_TRACE_ERROR
- endif
- CFLAGS += $(FLAGS)
- CXXFLAGS += $(FLAGS)
--LDFLAGS := -pie $(COMMON_LDFLAGS) -Wno-odr
-+LDFLAGS += -pie $(COMMON_LDFLAGS) -Wno-odr
- 
- INC += $(ADDED_INC)
- INC +=  -I$(COMMON_DIR)/inc                         \
-diff --git a/sdk/simulation/SEConfigureCPUSVN/linux/Makefile b/sdk/simulation/SEConfigureCPUSVN/linux/Makefile
-index fce3a59e..5fd8548e 100644
---- a/sdk/simulation/SEConfigureCPUSVN/linux/Makefile
-+++ b/sdk/simulation/SEConfigureCPUSVN/linux/Makefile
-@@ -45,7 +45,7 @@ SRCS += $(SIM_DIR)/urtssim/cpusvn_util.cpp
- OBJS := $(sort $(SRCS:.cpp=.o))
- 
- WRAPPER_LIB_DIR := $(COMMON_DIR)/se_wrapper
--LDFLAGS := -L$(WRAPPER_LIB_DIR)
-+LDFLAGS += -L$(WRAPPER_LIB_DIR)
- CXXFLAGS += -fpie $(CET_FLAGS)
- LDFLAGS += -pie $(COMMON_LDFLAGS)
- LDLIBS  := -lwrapper
-diff --git a/sdk/simulation/uae_service_sim/linux/Makefile b/sdk/simulation/uae_service_sim/linux/Makefile
-index f73e230f..00c2346e 100644
---- a/sdk/simulation/uae_service_sim/linux/Makefile
-+++ b/sdk/simulation/uae_service_sim/linux/Makefile
-@@ -50,7 +50,7 @@ INCLUDES := -I..                                                   \
- 
- CXXFLAGS += -Wall -fPIC $(INCLUDES) -Werror -g $(CET_FLAGS)
- CFLAGS := $(filter-out -fPIC -Werror, $(CFLAGS)) -Wall $(INCLUDES) $(CET_FLAGS)
--
-+LDUFLAGS += $(LDFLAGS)
- 
- RDRAND_LIBDIR := $(LINUX_EXTERNAL_DIR)/rdrand/src
- RDRAND_MAKEFILE := $(RDRAND_LIBDIR)/Makefile
-diff --git a/sdk/simulation/urtssim/linux/Makefile b/sdk/simulation/urtssim/linux/Makefile
-index 8af19905..78f53484 100644
---- a/sdk/simulation/urtssim/linux/Makefile
-+++ b/sdk/simulation/urtssim/linux/Makefile
-@@ -65,9 +65,9 @@ DIR5 := $(LINUX_PSW_DIR)/../common/src/linux
- DIR6 := $(LINUX_PSW_DIR)/../common/src
- 
- 
--LDFLAGS += -L$(COMMON_DIR)/se_wrapper \
-+LDUFLAGS += -L$(COMMON_DIR)/se_wrapper \
-            -L$(SIM_DIR)/uae_service_sim/linux
--LDFLAGS += -L$(VTUNE_DIR)/sdk/src/ittnotify/ -littnotify -ldl -lpthread
-+LDUFLAGS += -L$(VTUNE_DIR)/sdk/src/ittnotify/ -littnotify -ldl -lpthread
- 
- OBJ1 := enclave.o         \
-         tcs.o             \
-@@ -119,7 +119,7 @@ vpath %.cpp .:$(DIR1):$(DIR2):$(DIR3):$(DIR4):$(DIR6)
- vpath %.S   .:$(DIR2):$(DIR5)
- vpath %.c .:$(DIR6)
- 
--LDFLAGS += $(COMMON_LDFLAGS) -Wl,--version-script=$(LINUX_PSW_DIR)/urts/linux/urts.lds
-+LDUFLAGS += $(COMMON_LDFLAGS) -Wl,--version-script=$(LINUX_PSW_DIR)/urts/linux/urts.lds
- 
- LIBURTSSIM_SHARED := libsgx_urts_sim.so
- LIBURTS_DEPLOY := libsgx_urts_deploy.so
-@@ -133,7 +133,7 @@ all: $(LIBURTSSIM_SHARED) $(LIBURTS_DEPLOY)| $(BUILD_DIR)
- 	$(CP) $(LIBURTS_DEPLOY) $|
- 
- $(LIBURTSSIM_SHARED): simasm uinst driver_api wrapper uae_service_sim $(OBJ) $(OBJ6) ittnotify
--	$(CXX) $(CXXFLAGS) -shared -Wl,-soname=$(SONAME) $(OBJ) $(OBJ6) $(LDFLAGS) $(LDLIBS) -o $@
-+	$(CXX) $(CXXFLAGS) -shared -Wl,-soname=$(SONAME) $(OBJ) $(OBJ6) $(LDUFLAGS) $(LDLIBS) -o $@
- 
- $(BUILD_DIR):
- 	@$(MKDIR) $@
--- 
-2.55.0
-

diff --git a/0009-psw-make-aesm_service-build-verbose.patch b/0009-psw-make-aesm_service-build-verbose.patch
deleted file mode 100644
index befe40a..0000000
--- a/0009-psw-make-aesm_service-build-verbose.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-From 5e344996dc7cf67992da1110779c150b5ed63573 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= <berrange@redhat.com>
-Date: Thu, 27 Mar 2025 16:07:10 +0000
-Subject: [PATCH 09/16] psw: make aesm_service build verbose.
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
----
- psw/ae/aesm_service/Makefile | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/psw/ae/aesm_service/Makefile b/psw/ae/aesm_service/Makefile
-index f3585bbb..6e01cff9 100644
---- a/psw/ae/aesm_service/Makefile
-+++ b/psw/ae/aesm_service/Makefile
-@@ -50,7 +50,7 @@ all: $(APPNAME) $(APPNAME_DEBUG) | $(BUILD_DIR)
- 	$(CP) -r source/build/bin/* $|
- 
- $(APPNAME): $(CPPMICROSERVICES) source/build/CMakeCache.txt urts RDRAND
--	$(MAKE) -C source/build
-+	$(MAKE) -C source/build VERBOSE=1
- ifeq ($(USE_HOST_CPPMICROSERVICES), 0)
- 	$(CP) $(CPPMICROSERVICES) source/build/bin/
- endif
--- 
-2.55.0
-

diff --git a/0010-Fix-modern-C-function-prototype-compliance.patch b/0010-Fix-modern-C-function-prototype-compliance.patch
deleted file mode 100644
index 212d3c1..0000000
--- a/0010-Fix-modern-C-function-prototype-compliance.patch
+++ /dev/null
@@ -1,43 +0,0 @@
-From ccdc57bd8a98b677b0ed2008f5a8bfb42ceb03a4 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= <berrange@redhat.com>
-Date: Mon, 31 Mar 2025 10:55:25 +0100
-Subject: [PATCH 10/16] Fix modern C function prototype compliance
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
----
- common/inc/internal/se_cdefs.h           | 2 +-
- sdk/debugger_interface/linux/se_ptrace.c | 2 +-
- 2 files changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/common/inc/internal/se_cdefs.h b/common/inc/internal/se_cdefs.h
-index edbe25fa..76083b02 100644
---- a/common/inc/internal/se_cdefs.h
-+++ b/common/inc/internal/se_cdefs.h
-@@ -94,7 +94,7 @@
- 
- #define SGX_ACCESS_VERSION(libname, num)                    \
-     MY_EXTERN char sgx_##libname##_version[];          \
--    MY_EXTERN char * __attribute__((destructor)) libname##_access_version_dummy##num()      \
-+    MY_EXTERN char * __attribute__((destructor)) libname##_access_version_dummy##num(void)  \
-     {                                                                                       \
-         sgx_##libname##_version[0] = 's';                                                   \
-         return sgx_##libname##_version;                                                     \
-diff --git a/sdk/debugger_interface/linux/se_ptrace.c b/sdk/debugger_interface/linux/se_ptrace.c
-index 8e4e7600..8c38bb68 100644
---- a/sdk/debugger_interface/linux/se_ptrace.c
-+++ b/sdk/debugger_interface/linux/se_ptrace.c
-@@ -76,7 +76,7 @@ typedef pid_t (*waitpid_t)(pid_t pid, int *status, int options);
- 
- static ptrace_t g_sys_ptrace = NULL;
- static waitpid_t g_sys_waitpid = NULL;
--__attribute__((constructor)) void init()
-+__attribute__((constructor)) void init(void)
- {
-     g_sys_ptrace = (ptrace_t)dlsym(RTLD_NEXT, "ptrace");
-     g_sys_waitpid = (waitpid_t)dlsym(RTLD_NEXT, "waitpid");
--- 
-2.55.0
-

diff --git a/0011-Add-wrapper-for-nasm-to-fix-cmake-compat.patch b/0011-Add-wrapper-for-nasm-to-fix-cmake-compat.patch
deleted file mode 100644
index 2a3575d..0000000
--- a/0011-Add-wrapper-for-nasm-to-fix-cmake-compat.patch
+++ /dev/null
@@ -1,69 +0,0 @@
-From 12a97883373577c3c7e07f3d7f4a214af15bcc89 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= <berrange@redhat.com>
-Date: Wed, 2 Apr 2025 17:11:25 +0100
-Subject: [PATCH 11/16] Add wrapper for nasm to fix cmake compat
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-cmake needs to detect nasm by running with the '-v' arg, but it
-cannot cope with the nasm command being anything other than a
-single binary name - it won't accept & pass on args during the
-detection phase. Thus a further wrapper is needed.
-
-Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
----
- build-scripts/sgx-nasm.sh        | 12 ++++++++++++
- external/ippcp_internal/Makefile |  8 +++++---
- 2 files changed, 17 insertions(+), 3 deletions(-)
- create mode 100755 build-scripts/sgx-nasm.sh
-
-diff --git a/build-scripts/sgx-nasm.sh b/build-scripts/sgx-nasm.sh
-new file mode 100755
-index 00000000..a2c3fd74
---- /dev/null
-+++ b/build-scripts/sgx-nasm.sh
-@@ -0,0 +1,12 @@
-+#!/bin/sh
-+
-+set -e
-+
-+if test "$1" == "-v"
-+then
-+    exec nasm -v
-+else
-+    here=$(dirname $0)
-+    echo python3 ${here}/sgx-asm-pp.py --assembler=nasm --MITIGATION-CVE-2020-0551=${MITIGATION} "$@"
-+    exec python3 ${here}/sgx-asm-pp.py --assembler=nasm --MITIGATION-CVE-2020-0551=${MITIGATION} "$@"
-+fi
-diff --git a/external/ippcp_internal/Makefile b/external/ippcp_internal/Makefile
-index d78ba90e..71a40247 100644
---- a/external/ippcp_internal/Makefile
-+++ b/external/ippcp_internal/Makefile
-@@ -58,10 +58,12 @@ IPP_CONFIG += -DIPPCP_FIPS_MODE=on  -DFIPS_CUSTOM_IPPCP_API_HEADER=$(CURDIR)/inc
- SUB_DIR = no_mitigation
- ifeq ($(MITIGATION-CVE-2020-0551), LOAD)
- 	SUB_DIR = cve_2020_0551_load
--	PRE_CONFIG= ASM_NASM="python $(DIR)/../../build-scripts/sgx-asm-pp.py --assembler=nasm --MITIGATION-CVE-2020-0551=LOAD"
-+	PRE_CONFIG = ASM_NASM="$(DIR)/../../build-scripts/sgx-nasm.sh"
-+        POST_CONFIG = MITIGATION=LOAD
- else ifeq ($(MITIGATION-CVE-2020-0551), CF)
- 	SUB_DIR = cve_2020_0551_cf
--	PRE_CONFIG= ASM_NASM="python $(DIR)/../../build-scripts/sgx-asm-pp.py --assembler=nasm --MITIGATION-CVE-2020-0551=CF"
-+	PRE_CONFIG = ASM_NASM="$(DIR)/../../build-scripts/sgx-nasm.sh"
-+	POST_CONFIG = MITIGATION=CF
- endif
- OUT_DIR = lib/linux/$(ARCH)/$(SUB_DIR)/
- 
-@@ -84,7 +86,7 @@ all: build_ipp
- 	$(CP) ipp-crypto/LICENSE ./license/
- 
- build_ipp: $(CHECK_SOURCE)
--	cd $(IPP_SOURCE) && $(PRE_CONFIG) cmake CMakeLists.txt $(IPP_CONFIG) && cd build && make ippcp_s
-+	cd $(IPP_SOURCE) && $(PRE_CONFIG) cmake CMakeLists.txt $(IPP_CONFIG) && cd build && $(POST_CONFIG) make ippcp_s
- 
- $(IPP_SOURCE)/build:
- ifeq ($(IPP_USE_GIT), 1)
--- 
-2.55.0
-

diff --git a/0012-linux-installer-drop-PCCS-package-from-BOM.patch b/0012-linux-installer-drop-PCCS-package-from-BOM.patch
deleted file mode 100644
index f8d196c..0000000
--- a/0012-linux-installer-drop-PCCS-package-from-BOM.patch
+++ /dev/null
@@ -1,301 +0,0 @@
-From d055288d180391798cb8b97bf52bc21261cead88 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= <berrange@redhat.com>
-Date: Fri, 27 Jun 2025 11:37:26 +0100
-Subject: [PATCH 12/16] linux/installer: drop PCCS package from BOM
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-PCCS will now be distributed as a standalone RPM package.
-
-Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
----
- .../psw-dcap/BOM_install/sgx-dcap-pccs.txt    | 74 -------------------
- linux/installer/common/psw-dcap/Makefile      | 14 +---
- linux/installer/common/psw-dcap/installConfig |  1 -
- .../psw-tdx/BOM_install/sgx-dcap-pccs.txt     | 74 -------------------
- linux/installer/common/psw-tdx/Makefile       | 14 +---
- linux/installer/common/psw-tdx/installConfig  |  1 -
- 6 files changed, 2 insertions(+), 176 deletions(-)
- delete mode 100644 linux/installer/common/psw-dcap/BOM_install/sgx-dcap-pccs.txt
- delete mode 100644 linux/installer/common/psw-tdx/BOM_install/sgx-dcap-pccs.txt
-
-diff --git a/linux/installer/common/psw-dcap/BOM_install/sgx-dcap-pccs.txt b/linux/installer/common/psw-dcap/BOM_install/sgx-dcap-pccs.txt
-deleted file mode 100644
-index 4d16e883..00000000
---- a/linux/installer/common/psw-dcap/BOM_install/sgx-dcap-pccs.txt
-+++ /dev/null
-@@ -1,74 +0,0 @@
--DeliveryName	InstallName	FileCheckSum	FileFeature	FileOwner
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/config/default.json	<installdir>/config/default.json	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/constants/index.js	<installdir>/constants/index.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/constants/pccs_status_code.js	<installdir>/constants/pccs_status_code.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/controllers/identityController.js	<installdir>/controllers/identityController.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/controllers/index.js	<installdir>/controllers/index.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/controllers/pckcertController.js	<installdir>/controllers/pckcertController.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/controllers/pckcrlController.js	<installdir>/controllers/pckcrlController.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/controllers/platformCollateralController.js	<installdir>/controllers/platformCollateralController.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/controllers/platformsController.js	<installdir>/controllers/platformsController.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/controllers/refreshController.js	<installdir>/controllers/refreshController.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/controllers/rootcacrlController.js	<installdir>/controllers/rootcacrlController.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/controllers/tcbinfoController.js	<installdir>/controllers/tcbinfoController.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/controllers/crlController.js	<installdir>/controllers/crlController.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/dao/models/fmspc_tcbs.js	<installdir>/dao/models/fmspc_tcbs.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/dao/models/index.js	<installdir>/dao/models/index.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/dao/models/pck_cert.js	<installdir>/dao/models/pck_cert.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/dao/models/pck_certchain.js	<installdir>/dao/models/pck_certchain.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/dao/models/pck_crl.js	<installdir>/dao/models/pck_crl.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/dao/models/pcs_certificates.js	<installdir>/dao/models/pcs_certificates.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/dao/models/pcs_version.js	<installdir>/dao/models/pcs_version.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/dao/models/platform_tcbs.js	<installdir>/dao/models/platform_tcbs.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/dao/models/platforms_registered.js	<installdir>/dao/models/platforms_registered.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/dao/models/platforms.js	<installdir>/dao/models/platforms.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/dao/models/enclave_identities.js	<installdir>/dao/models/enclave_identities.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/dao/models/crl_cache.js	<installdir>/dao/models/crl_cache.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/dao/fmspcTcbDao.js	<installdir>/dao/fmspcTcbDao.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/dao/pckCertchainDao.js	<installdir>/dao/pckCertchainDao.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/dao/pckcertDao.js	<installdir>/dao/pckcertDao.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/dao/pckcrlDao.js	<installdir>/dao/pckcrlDao.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/dao/pcsCertificatesDao.js	<installdir>/dao/pcsCertificatesDao.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/dao/pcsVersionDao.js	<installdir>/dao/pcsVersionDao.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/dao/platformsDao.js	<installdir>/dao/platformsDao.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/dao/platformsRegDao.js	<installdir>/dao/platformsRegDao.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/dao/platformTcbsDao.js	<installdir>/dao/platformTcbsDao.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/dao/enclaveIdentityDao.js	<installdir>/dao/enclaveIdentityDao.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/dao/crlCacheDao.js	<installdir>/dao/crlCacheDao.js	0	main	STP
--<deliverydir>/external/dcap_source/tools/PCKCertSelection/out/libPCKCertSelection.so	<installdir>/lib/libPCKCertSelection.so	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/lib_wrapper/pcklib_wrapper.js	<installdir>/lib_wrapper/pcklib_wrapper.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/middleware/auth.js	<installdir>/middleware/auth.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/middleware/error.js	<installdir>/middleware/error.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/middleware/addRequestId.js	<installdir>/middleware/addRequestId.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/migrations/00_db_initialize.up.sql	<installdir>/migrations/00_db_initialize.up.sql	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/migrations/01_db_version_1.js	<installdir>/migrations/01_db_version_1.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/migrations/02_db_version_2.js	<installdir>/migrations/02_db_version_2.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/pcs_client/pcs_client.js	<installdir>/pcs_client/pcs_client.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/routes/index.js	<installdir>/routes/index.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/services/identityService.js	<installdir>/services/identityService.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/services/index.js	<installdir>/services/index.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/services/pccs_schemas.js	<installdir>/services/pccs_schemas.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/services/pckcertService.js	<installdir>/services/pckcertService.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/services/pckcrlService.js	<installdir>/services/pckcrlService.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/services/platformCollateralService.js	<installdir>/services/platformCollateralService.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/services/platformsRegService.js	<installdir>/services/platformsRegService.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/services/platformsService.js	<installdir>/services/platformsService.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/services/refreshService.js	<installdir>/services/refreshService.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/services/rootcacrlService.js	<installdir>/services/rootcacrlService.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/services/tcbinfoService.js	<installdir>/services/tcbinfoService.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/services/crlService.js	<installdir>/services/crlService.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/services/caching_modes/cachingMode.js	<installdir>/services/caching_modes/cachingMode.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/services/caching_modes/cachingModeManager.js	<installdir>/services/caching_modes/cachingModeManager.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/services/logic/commonCacheLogic.js	<installdir>/services/logic/commonCacheLogic.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/services/logic/qvCollateralLogic.js	<installdir>/services/logic/qvCollateralLogic.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/utils/Logger.js	<installdir>/utils/Logger.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/utils/PccsError.js	<installdir>/utils/PccsError.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/utils/apputil.js	<installdir>/utils/apputil.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/x509/x509.js	<installdir>/x509/x509.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/install.sh	<installdir>/install.sh	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/package.json	<installdir>/package.json	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/pccs_server.js	<installdir>/pccs_server.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/pccs.service	<installdir>/pccs.service	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/startup.sh	<installdir>/startup.sh	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/cleanup.sh	<installdir>/cleanup.sh	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/README.md	<installdir>/README.md	0	main	STP
-diff --git a/linux/installer/common/psw-dcap/Makefile b/linux/installer/common/psw-dcap/Makefile
-index 9236de6a..1ae7a292 100644
---- a/linux/installer/common/psw-dcap/Makefile
-+++ b/linux/installer/common/psw-dcap/Makefile
-@@ -59,9 +59,6 @@ AESMD_CONF=aesmd.service
- AESMD_CONF_DEL=aesmd.conf
- AESMD_CONF_PATH=$(if $(wildcard /lib/systemd/system/.),/lib/systemd/system,/usr/lib/systemd/system)
- 
--PCCS_CONF=pccs.service
--PCCS_CONF_PATH=$(if $(wildcard /lib/systemd/system/.),/lib/systemd/system,/usr/lib/systemd/system)
--
- RAD_CONF=mpa_registration_tool.service
- RAD_CONF_DEL=mpa_registration_tool.conf
- RAD_CONF_PATH=$(if $(wildcard /lib/systemd/system/.),/lib/systemd/system,/usr/lib/systemd/system)
-@@ -148,7 +145,7 @@ ALL_PKGS:= $(AESM_SERVICE_PKGS) $(AE_PKGS) $(DEV_LIB_PKGS)
- 
- $(foreach PKG,$(AESM_SERVICE_PKGS) $(AE_PKGS),$(eval $(call INSTALL_AESM_SERVICE_TEMPLATE,$(PKG))))
- $(foreach PKG,$(DEV_LIB_PKGS),$(eval $(call INSTALL_DEV_LIB_TEMPLATE,$(PKG))))
--$(foreach PKG,$(ALL_PKGS) $(DCAP_PCCS_PACKAGE) $(RA_SERVICE_PACKAGE) $(PCK_ID_RETRIEVAL_TOOL_PACKAGE),$(eval $(call PRE_INSTALL_TEMPLATE,$(PKG))))
-+$(foreach PKG,$(ALL_PKGS) $(RA_SERVICE_PACKAGE) $(PCK_ID_RETRIEVAL_TOOL_PACKAGE),$(eval $(call PRE_INSTALL_TEMPLATE,$(PKG))))
- 
- PHONY+=$(ALL_PKGS)
- PHONY+=$(foreach PKG,$(ALL_PKGS),pre_$(PKG))
-@@ -176,14 +173,6 @@ install_$(AESM_SERVICE_PACKAGE): $(foreach PKG,$(AESM_SERVICE_PKGS),post_$(PKG))
- 	ln -fs $(shell readlink -m $(USR_LIB_PATH)/libsgx_pce.signed.so)                                          && \
- 	ln -fs liburts_internal.so libsgx_urts.so.$(URTS_MAJOR_VER)
- 
--PHONY+=install_$(DCAP_PCCS_PACKAGE)
--install_$(DCAP_PCCS_PACKAGE): pre_$(DCAP_PCCS_PACKAGE) | $(PACKAGE_ROOT_PATH)
--	install -d $(shell readlink -m $(DESTDIR)/$(DCAP_PCCS_PACKAGE)/$(PCCS_CONF_PATH))                        && \
--	cp -f $|/$(DCAP_PCCS_PACKAGE)/$(PCCS_CONF) $(DESTDIR)/$(DCAP_PCCS_PACKAGE)/$(PCCS_CONF_PATH)             && \
--	rm -f $|/$(DCAP_PCCS_PACKAGE)/$(PCCS_CONF)
--	install -d $(shell readlink -m $(DESTDIR)/$(DCAP_PCCS_PACKAGE)/$(SGX_INSTALL_PATH)/$(DCAP_PCCS_PACKAGE)) && \
--	cp -fr $|/$(DCAP_PCCS_PACKAGE)/* $(DESTDIR)/$(DCAP_PCCS_PACKAGE)/$(SGX_INSTALL_PATH)/$(DCAP_PCCS_PACKAGE)
--
- PHONY+=$(RA_SERVICE_PACKAGE)
- $(RA_SERVICE_PACKAGE): pre_$(RA_SERVICE_PACKAGE) | $(PACKAGE_ROOT_PATH)
- 	install -d $(shell readlink -m $(DESTDIR)/$@/$(SGX_INSTALL_PATH)/$@) && \
-@@ -286,7 +275,6 @@ install_dev_lib: $(foreach PKG,$(DEV_LIB_PKGS),post_$(PKG))
- 
- PHONY+=install
- install: install_$(AESM_SERVICE_PACKAGE)         \
--	install_$(DCAP_PCCS_PACKAGE)             \
- 	install_$(RA_SERVICE_PACKAGE)            \
- 	install_$(PCK_ID_RETRIEVAL_TOOL_PACKAGE) \
- 	install_ae                               \
-diff --git a/linux/installer/common/psw-dcap/installConfig b/linux/installer/common/psw-dcap/installConfig
-index 5ef949cd..7145f148 100644
---- a/linux/installer/common/psw-dcap/installConfig
-+++ b/linux/installer/common/psw-dcap/installConfig
-@@ -22,7 +22,6 @@ DCAP_QL_PACKAGE=libsgx-dcap-ql
- DCAP_QL_DEV_PACKAGE=libsgx-dcap-ql-devel
- DCAP_QVL_PACKAGE=libsgx-dcap-quote-verify
- DCAP_QVL_DEV_PACKAGE=libsgx-dcap-quote-verify-devel
--DCAP_PCCS_PACKAGE=sgx-dcap-pccs
- 
- PCK_ID_RETRIEVAL_TOOL_PACKAGE=sgx-pck-id-retrieval-tool
- RA_NETWORK_PACKAGE=libsgx-ra-network
-diff --git a/linux/installer/common/psw-tdx/BOM_install/sgx-dcap-pccs.txt b/linux/installer/common/psw-tdx/BOM_install/sgx-dcap-pccs.txt
-deleted file mode 100644
-index 4d16e883..00000000
---- a/linux/installer/common/psw-tdx/BOM_install/sgx-dcap-pccs.txt
-+++ /dev/null
-@@ -1,74 +0,0 @@
--DeliveryName	InstallName	FileCheckSum	FileFeature	FileOwner
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/config/default.json	<installdir>/config/default.json	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/constants/index.js	<installdir>/constants/index.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/constants/pccs_status_code.js	<installdir>/constants/pccs_status_code.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/controllers/identityController.js	<installdir>/controllers/identityController.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/controllers/index.js	<installdir>/controllers/index.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/controllers/pckcertController.js	<installdir>/controllers/pckcertController.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/controllers/pckcrlController.js	<installdir>/controllers/pckcrlController.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/controllers/platformCollateralController.js	<installdir>/controllers/platformCollateralController.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/controllers/platformsController.js	<installdir>/controllers/platformsController.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/controllers/refreshController.js	<installdir>/controllers/refreshController.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/controllers/rootcacrlController.js	<installdir>/controllers/rootcacrlController.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/controllers/tcbinfoController.js	<installdir>/controllers/tcbinfoController.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/controllers/crlController.js	<installdir>/controllers/crlController.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/dao/models/fmspc_tcbs.js	<installdir>/dao/models/fmspc_tcbs.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/dao/models/index.js	<installdir>/dao/models/index.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/dao/models/pck_cert.js	<installdir>/dao/models/pck_cert.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/dao/models/pck_certchain.js	<installdir>/dao/models/pck_certchain.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/dao/models/pck_crl.js	<installdir>/dao/models/pck_crl.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/dao/models/pcs_certificates.js	<installdir>/dao/models/pcs_certificates.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/dao/models/pcs_version.js	<installdir>/dao/models/pcs_version.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/dao/models/platform_tcbs.js	<installdir>/dao/models/platform_tcbs.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/dao/models/platforms_registered.js	<installdir>/dao/models/platforms_registered.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/dao/models/platforms.js	<installdir>/dao/models/platforms.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/dao/models/enclave_identities.js	<installdir>/dao/models/enclave_identities.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/dao/models/crl_cache.js	<installdir>/dao/models/crl_cache.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/dao/fmspcTcbDao.js	<installdir>/dao/fmspcTcbDao.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/dao/pckCertchainDao.js	<installdir>/dao/pckCertchainDao.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/dao/pckcertDao.js	<installdir>/dao/pckcertDao.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/dao/pckcrlDao.js	<installdir>/dao/pckcrlDao.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/dao/pcsCertificatesDao.js	<installdir>/dao/pcsCertificatesDao.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/dao/pcsVersionDao.js	<installdir>/dao/pcsVersionDao.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/dao/platformsDao.js	<installdir>/dao/platformsDao.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/dao/platformsRegDao.js	<installdir>/dao/platformsRegDao.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/dao/platformTcbsDao.js	<installdir>/dao/platformTcbsDao.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/dao/enclaveIdentityDao.js	<installdir>/dao/enclaveIdentityDao.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/dao/crlCacheDao.js	<installdir>/dao/crlCacheDao.js	0	main	STP
--<deliverydir>/external/dcap_source/tools/PCKCertSelection/out/libPCKCertSelection.so	<installdir>/lib/libPCKCertSelection.so	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/lib_wrapper/pcklib_wrapper.js	<installdir>/lib_wrapper/pcklib_wrapper.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/middleware/auth.js	<installdir>/middleware/auth.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/middleware/error.js	<installdir>/middleware/error.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/middleware/addRequestId.js	<installdir>/middleware/addRequestId.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/migrations/00_db_initialize.up.sql	<installdir>/migrations/00_db_initialize.up.sql	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/migrations/01_db_version_1.js	<installdir>/migrations/01_db_version_1.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/migrations/02_db_version_2.js	<installdir>/migrations/02_db_version_2.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/pcs_client/pcs_client.js	<installdir>/pcs_client/pcs_client.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/routes/index.js	<installdir>/routes/index.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/services/identityService.js	<installdir>/services/identityService.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/services/index.js	<installdir>/services/index.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/services/pccs_schemas.js	<installdir>/services/pccs_schemas.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/services/pckcertService.js	<installdir>/services/pckcertService.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/services/pckcrlService.js	<installdir>/services/pckcrlService.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/services/platformCollateralService.js	<installdir>/services/platformCollateralService.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/services/platformsRegService.js	<installdir>/services/platformsRegService.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/services/platformsService.js	<installdir>/services/platformsService.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/services/refreshService.js	<installdir>/services/refreshService.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/services/rootcacrlService.js	<installdir>/services/rootcacrlService.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/services/tcbinfoService.js	<installdir>/services/tcbinfoService.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/services/crlService.js	<installdir>/services/crlService.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/services/caching_modes/cachingMode.js	<installdir>/services/caching_modes/cachingMode.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/services/caching_modes/cachingModeManager.js	<installdir>/services/caching_modes/cachingModeManager.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/services/logic/commonCacheLogic.js	<installdir>/services/logic/commonCacheLogic.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/services/logic/qvCollateralLogic.js	<installdir>/services/logic/qvCollateralLogic.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/utils/Logger.js	<installdir>/utils/Logger.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/utils/PccsError.js	<installdir>/utils/PccsError.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/utils/apputil.js	<installdir>/utils/apputil.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/x509/x509.js	<installdir>/x509/x509.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/install.sh	<installdir>/install.sh	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/package.json	<installdir>/package.json	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/pccs_server.js	<installdir>/pccs_server.js	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/pccs.service	<installdir>/pccs.service	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/startup.sh	<installdir>/startup.sh	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/cleanup.sh	<installdir>/cleanup.sh	0	main	STP
--<deliverydir>/external/dcap_source/QuoteGeneration/pccs/service/README.md	<installdir>/README.md	0	main	STP
-diff --git a/linux/installer/common/psw-tdx/Makefile b/linux/installer/common/psw-tdx/Makefile
-index 4f50ee49..0e8cb3e7 100644
---- a/linux/installer/common/psw-tdx/Makefile
-+++ b/linux/installer/common/psw-tdx/Makefile
-@@ -80,9 +80,6 @@ QGSD_CONF=qgsd.service
- QGSD_CONF_DEL=qgsd.conf
- QGSD_CONF_PATH=$(if $(wildcard /lib/systemd/system/.),/lib/systemd/system,/usr/lib/systemd/system)
- 
--PCCS_CONF=pccs.service
--PCCS_CONF_PATH=$(if $(wildcard /lib/systemd/system/.),/lib/systemd/system,/usr/lib/systemd/system)
--
- RAD_CONF=mpa_registration_tool.service
- RAD_CONF_DEL=mpa_registration_tool.conf
- RAD_CONF_PATH=$(if $(wildcard /lib/systemd/system/.),/lib/systemd/system,/usr/lib/systemd/system)
-@@ -160,7 +157,7 @@ ALL_PKGS:= $(TDX_QGS_PKGS) $(AE_PKGS) $(DEV_LIB_PKGS)
- 
- $(foreach PKG,$(TDX_QGS_PKGS) $(AE_PKGS),$(eval $(call INSTALL_AESM_SERVICE_TEMPLATE,$(PKG))))
- $(foreach PKG,$(DEV_LIB_PKGS),$(eval $(call INSTALL_DEV_LIB_TEMPLATE,$(PKG))))
--$(foreach PKG,$(ALL_PKGS) $(DCAP_PCCS_PACKAGE) $(RA_SERVICE_PACKAGE) $(PCK_ID_RETRIEVAL_TOOL_PACKAGE),$(eval $(call PRE_INSTALL_TEMPLATE,$(PKG))))
-+$(foreach PKG,$(ALL_PKGS) $(RA_SERVICE_PACKAGE) $(PCK_ID_RETRIEVAL_TOOL_PACKAGE),$(eval $(call PRE_INSTALL_TEMPLATE,$(PKG))))
- 
- PHONY+=$(ALL_PKGS)
- PHONY+=$(foreach PKG,$(ALL_PKGS),pre_$(PKG))
-@@ -184,14 +181,6 @@ install_$(TDX_QGS_PACKAGE): $(foreach PKG,$(TDX_QGS_PKGS),post_$(PKG))
- 				$(DESTDIR)/$(TDX_QGS_PACKAGE)/$(ETC_DIR) &&                                                         \
- 		rm -fr $(DESTDIR)/$(TDX_QGS_PACKAGE)/$(SGX_INSTALL_PATH)/$(TDX_QGS_PACKAGE)/conf))
- 
--PHONY+=install_$(DCAP_PCCS_PACKAGE)
--install_$(DCAP_PCCS_PACKAGE): pre_$(DCAP_PCCS_PACKAGE) | $(PACKAGE_ROOT_PATH)
--	install -d $(shell readlink -m $(DESTDIR)/$(DCAP_PCCS_PACKAGE)/$(PCCS_CONF_PATH))                        && \
--	cp -f $|/$(DCAP_PCCS_PACKAGE)/$(PCCS_CONF) $(DESTDIR)/$(DCAP_PCCS_PACKAGE)/$(PCCS_CONF_PATH)             && \
--	rm -f $|/$(DCAP_PCCS_PACKAGE)/$(PCCS_CONF)
--	install -d $(shell readlink -m $(DESTDIR)/$(DCAP_PCCS_PACKAGE)/$(SGX_INSTALL_PATH)/$(DCAP_PCCS_PACKAGE)) && \
--	cp -fr $|/$(DCAP_PCCS_PACKAGE)/* $(DESTDIR)/$(DCAP_PCCS_PACKAGE)/$(SGX_INSTALL_PATH)/$(DCAP_PCCS_PACKAGE)
--
- PHONY+=$(RA_SERVICE_PACKAGE)
- $(RA_SERVICE_PACKAGE): pre_$(RA_SERVICE_PACKAGE) | $(PACKAGE_ROOT_PATH)
- 	install -d $(shell readlink -m $(DESTDIR)/$@/$(SGX_INSTALL_PATH)/$@) && \
-@@ -291,7 +280,6 @@ install_dev_lib: $(foreach PKG,$(DEV_LIB_PKGS),post_$(PKG))
- 
- PHONY+=install
- install: install_$(TDX_QGS_PACKAGE)          \
--	install_$(DCAP_PCCS_PACKAGE)             \
- 	install_$(RA_SERVICE_PACKAGE)            \
- 	install_$(PCK_ID_RETRIEVAL_TOOL_PACKAGE) \
- 	install_ae                               \
-diff --git a/linux/installer/common/psw-tdx/installConfig b/linux/installer/common/psw-tdx/installConfig
-index 7129b71d..c55a8ada 100644
---- a/linux/installer/common/psw-tdx/installConfig
-+++ b/linux/installer/common/psw-tdx/installConfig
-@@ -16,7 +16,6 @@ TDX_ATTEST_PACKAGE=libtdx-attest
- TDX_ATTEST_DEV_PACKAGE=libtdx-attest-devel
- DCAP_QVL_PACKAGE=libsgx-dcap-quote-verify
- DCAP_QVL_DEV_PACKAGE=libsgx-dcap-quote-verify-devel
--DCAP_PCCS_PACKAGE=sgx-dcap-pccs
- PCK_ID_RETRIEVAL_TOOL_PACKAGE=sgx-pck-id-retrieval-tool
- RA_NETWORK_PACKAGE=libsgx-ra-network
- RA_NETWORK_DEV_PACKAGE=libsgx-ra-network-devel
--- 
-2.55.0
-

diff --git a/0013-sdk-avoid-failure-due-to-attribute-regparam-with-GCC.patch b/0013-sdk-avoid-failure-due-to-attribute-regparam-with-GCC.patch
deleted file mode 100644
index 64909c1..0000000
--- a/0013-sdk-avoid-failure-due-to-attribute-regparam-with-GCC.patch
+++ /dev/null
@@ -1,83 +0,0 @@
-From b9fcd6a0d680ee70bef09b074d70f3572263f1cc Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= <berrange@redhat.com>
-Date: Tue, 6 Jan 2026 18:31:32 +0000
-Subject: [PATCH 13/16] sdk: avoid failure due to attribute(regparam) with GCC
- 16
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-GCC >= 16 now warns about use of attribute(regparam) on x86_64 targets.
-The attribute was always ignored on x86_64, so only had effect on i686
-and thus the warning can be safely ignored.
-
-Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
----
- psw/urts/linux/Makefile               | 4 ++--
- sdk/simulation/trtssim/linux/Makefile | 4 ++--
- sdk/simulation/urtssim/linux/Makefile | 4 ++--
- sdk/trts/Makefile                     | 1 +
- 4 files changed, 7 insertions(+), 6 deletions(-)
-
-diff --git a/psw/urts/linux/Makefile b/psw/urts/linux/Makefile
-index 275a9d45..94a0aacb 100644
---- a/psw/urts/linux/Makefile
-+++ b/psw/urts/linux/Makefile
-@@ -36,10 +36,10 @@ CXXFLAGS += -DDISABLE_TRACE
- CFLAGS += -DDISABLE_TRACE
- endif
- 
--CXXFLAGS += -fPIC -Werror -g
-+CXXFLAGS += -fPIC -Werror -Wno-attributes -g
- CXXFLAGS += $(ADDED_INC)
- 
--CFLAGS += -fPIC -Werror -g
-+CFLAGS += -fPIC -Werror -Wno-attributes -g
- CFLAGS += $(ADDED_INC)
- 
- VTUNE_DIR = $(LINUX_EXTERNAL_DIR)/vtune/linux
-diff --git a/sdk/simulation/trtssim/linux/Makefile b/sdk/simulation/trtssim/linux/Makefile
-index 16e2a96d..7e545c1a 100644
---- a/sdk/simulation/trtssim/linux/Makefile
-+++ b/sdk/simulation/trtssim/linux/Makefile
-@@ -41,8 +41,8 @@ CPPFLAGS += -I$(COMMON_DIR)/inc/         \
- 
- CFLAGS   += $(ENCLAVE_CFLAGS)
- ASFLAGS  := -DSE_SIM -Werror $(CFLAGS)
--CFLAGS   += -DSE_SIM -Werror -fasynchronous-unwind-tables
--CXXFLAGS += -DSE_SIM -Werror $(ENCLAVE_CXXFLAGS)\
-+CFLAGS   += -DSE_SIM -Werror -Wno-attributes -fasynchronous-unwind-tables
-+CXXFLAGS += -DSE_SIM -Werror -Wno-attributes $(ENCLAVE_CXXFLAGS)\
-             -fno-exceptions -fno-rtti
- 
- SIM_DIR    := $(CUR_DIR)/../..
-diff --git a/sdk/simulation/urtssim/linux/Makefile b/sdk/simulation/urtssim/linux/Makefile
-index 78f53484..c99a50e5 100644
---- a/sdk/simulation/urtssim/linux/Makefile
-+++ b/sdk/simulation/urtssim/linux/Makefile
-@@ -39,8 +39,8 @@ CXXFLAGS += -DDISABLE_TRACE
- CFLAGS += -DDISABLE_TRACE
- endif
- 
--CXXFLAGS += -fPIC -DSE_SIM -Werror -g $(CET_FLAGS)
--CFLAGS   += -fPIC -DSE_SIM -Werror -g $(CET_FLAGS)
-+CXXFLAGS += -fPIC -DSE_SIM -Werror -Wno-attributes -g $(CET_FLAGS)
-+CFLAGS   += -fPIC -DSE_SIM -Werror -Wno-attributes -g $(CET_FLAGS)
- 
- CPPFLAGS += $(ADDED_INC) #for ubuntu 11 and later version
- CPPFLAGS += -I$(COMMON_DIR)/inc                \
-diff --git a/sdk/trts/Makefile b/sdk/trts/Makefile
-index 7cba3d43..02414d91 100644
---- a/sdk/trts/Makefile
-+++ b/sdk/trts/Makefile
-@@ -14,6 +14,7 @@ CPPFLAGS += -I$(COMMON_DIR)/inc          \
- 
- CXXFLAGS += $(ENCLAVE_CXXFLAGS) \
-             -Werror         \
-+            -Wno-attributes \
-             -fno-exceptions \
-             -fno-rtti
- 
--- 
-2.55.0
-

diff --git a/0014-fix-BOM-for-mpa_manage-mpa_registration-files.patch b/0014-fix-BOM-for-mpa_manage-mpa_registration-files.patch
deleted file mode 100644
index 90e230a..0000000
--- a/0014-fix-BOM-for-mpa_manage-mpa_registration-files.patch
+++ /dev/null
@@ -1,98 +0,0 @@
-From 151d7b7265e5b8b178cfef65fe4e99ba8529720d Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= <berrange@redhat.com>
-Date: Mon, 2 Feb 2026 19:01:24 +0000
-Subject: [PATCH 14/16] fix BOM for mpa_manage/mpa_registration files
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-The paths for mpa_manage/mpa_registration binaries and their associated
-files all moved, and the BOM was not updated.
-
-These changes are synced from the DCAP repo BOMs.
-
-Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
----
- .../psw-dcap/BOM_install/libsgx-ra-network.txt     |  2 +-
- .../common/psw-dcap/BOM_install/libsgx-ra-uefi.txt |  2 +-
- .../common/psw-dcap/BOM_install/sgx-ra-service.txt | 14 +++++++-------
- .../psw-tdx/BOM_install/libsgx-ra-network.txt      |  2 +-
- .../common/psw-tdx/BOM_install/libsgx-ra-uefi.txt  |  2 +-
- .../common/psw-tdx/BOM_install/sgx-ra-service.txt  | 14 +++++++-------
- 6 files changed, 18 insertions(+), 18 deletions(-)
-
-diff --git a/linux/installer/common/psw-dcap/BOM_install/libsgx-ra-network.txt b/linux/installer/common/psw-dcap/BOM_install/libsgx-ra-network.txt
-index 2f260bd5..2d4749a0 100644
---- a/linux/installer/common/psw-dcap/BOM_install/libsgx-ra-network.txt
-+++ b/linux/installer/common/psw-dcap/BOM_install/libsgx-ra-network.txt
-@@ -1,2 +1,2 @@
- DeliveryName	InstallName	FileCheckSum	FileFeature	FileOwner
--<deliverydir>/external/dcap_source/tools/SGXPlatformRegistration/build/lib64/libmpa_network.so	<installdir>/lib/libmpa_network.so	0	main	STP
-+<deliverydir>/external/dcap_source/tools/SGXPlatformRegistration/build/release/lib64/libmpa_network.so	<installdir>/lib/libmpa_network.so	0	main	STP
-diff --git a/linux/installer/common/psw-dcap/BOM_install/libsgx-ra-uefi.txt b/linux/installer/common/psw-dcap/BOM_install/libsgx-ra-uefi.txt
-index 63356491..31db9f6f 100644
---- a/linux/installer/common/psw-dcap/BOM_install/libsgx-ra-uefi.txt
-+++ b/linux/installer/common/psw-dcap/BOM_install/libsgx-ra-uefi.txt
-@@ -1,2 +1,2 @@
- DeliveryName	InstallName	FileCheckSum	FileFeature	FileOwner
--<deliverydir>/external/dcap_source/tools/SGXPlatformRegistration/build/lib64/libmpa_uefi.so	<installdir>/lib/libmpa_uefi.so	0	main	STP
-+<deliverydir>/external/dcap_source/tools/SGXPlatformRegistration/build/release/lib64/libmpa_uefi.so	<installdir>/lib/libmpa_uefi.so	0	main	STP
-diff --git a/linux/installer/common/psw-dcap/BOM_install/sgx-ra-service.txt b/linux/installer/common/psw-dcap/BOM_install/sgx-ra-service.txt
-index 3521a03f..6fea3137 100644
---- a/linux/installer/common/psw-dcap/BOM_install/sgx-ra-service.txt
-+++ b/linux/installer/common/psw-dcap/BOM_install/sgx-ra-service.txt
-@@ -1,8 +1,8 @@
- DeliveryName	InstallName	FileCheckSum	FileFeature	FileOwner
--<deliverydir>/external/dcap_source/tools/SGXPlatformRegistration/build/bin/mpa_manage	<installdir>/mpa_manage	0	main	STP
--<deliverydir>/external/dcap_source/tools/SGXPlatformRegistration/package/mpa_registration	<installdir>/mpa_registration	0	main	STP
--<deliverydir>/external/dcap_source/tools/SGXPlatformRegistration/package/mpa_registration_tool.service	<installdir>/mpa_registration_tool.service	0	main	STP
--<deliverydir>/external/dcap_source/tools/SGXPlatformRegistration/package/mpa_registration_tool.conf	<installdir>/mpa_registration_tool.conf	0	main	STP
--<deliverydir>/external/dcap_source/tools/SGXPlatformRegistration/config/mpa_registration.conf	<installdir>/conf/mpa_registration.conf	0	main	STP
--<deliverydir>/external/dcap_source/tools/SGXPlatformRegistration/package/startup.sh	<installdir>/startup.sh	0	main	STP
--<deliverydir>/external/dcap_source/tools/SGXPlatformRegistration/package/cleanup.sh	<installdir>/cleanup.sh	0	main	STP
-+<deliverydir>/external/dcap_source/tools/SGXPlatformRegistration/build/release/bin/mpa_manage	<installdir>/mpa_manage	0	main	STP
-+<deliverydir>/external/dcap_source/tools/SGXPlatformRegistration/build/release/bin/mpa_registration	<installdir>/mpa_registration	0	main	STP
-+<deliverydir>/external/dcap_source/tools/SGXPlatformRegistration/src/mpa_registration/mpa_registration_tool.service	<installdir>/mpa_registration_tool.service	0	main	STP
-+<deliverydir>/external/dcap_source/tools/SGXPlatformRegistration/src/mpa_registration/mpa_registration_tool.conf	<installdir>/mpa_registration_tool.conf	0	main	STP
-+<deliverydir>/external/dcap_source/tools/SGXPlatformRegistration/installer/common/sgx-ra-service/config/mpa_registration.conf	<installdir>/conf/mpa_registration.conf	0	main	STP
-+<deliverydir>/external/dcap_source/tools/SGXPlatformRegistration/src/mpa_registration/startup.sh	<installdir>/startup.sh	0	main	STP
-+<deliverydir>/external/dcap_source/tools/SGXPlatformRegistration/src/mpa_registration/cleanup.sh	<installdir>/cleanup.sh	0	main	STP
-diff --git a/linux/installer/common/psw-tdx/BOM_install/libsgx-ra-network.txt b/linux/installer/common/psw-tdx/BOM_install/libsgx-ra-network.txt
-index 2f260bd5..2d4749a0 100644
---- a/linux/installer/common/psw-tdx/BOM_install/libsgx-ra-network.txt
-+++ b/linux/installer/common/psw-tdx/BOM_install/libsgx-ra-network.txt
-@@ -1,2 +1,2 @@
- DeliveryName	InstallName	FileCheckSum	FileFeature	FileOwner
--<deliverydir>/external/dcap_source/tools/SGXPlatformRegistration/build/lib64/libmpa_network.so	<installdir>/lib/libmpa_network.so	0	main	STP
-+<deliverydir>/external/dcap_source/tools/SGXPlatformRegistration/build/release/lib64/libmpa_network.so	<installdir>/lib/libmpa_network.so	0	main	STP
-diff --git a/linux/installer/common/psw-tdx/BOM_install/libsgx-ra-uefi.txt b/linux/installer/common/psw-tdx/BOM_install/libsgx-ra-uefi.txt
-index 63356491..31db9f6f 100644
---- a/linux/installer/common/psw-tdx/BOM_install/libsgx-ra-uefi.txt
-+++ b/linux/installer/common/psw-tdx/BOM_install/libsgx-ra-uefi.txt
-@@ -1,2 +1,2 @@
- DeliveryName	InstallName	FileCheckSum	FileFeature	FileOwner
--<deliverydir>/external/dcap_source/tools/SGXPlatformRegistration/build/lib64/libmpa_uefi.so	<installdir>/lib/libmpa_uefi.so	0	main	STP
-+<deliverydir>/external/dcap_source/tools/SGXPlatformRegistration/build/release/lib64/libmpa_uefi.so	<installdir>/lib/libmpa_uefi.so	0	main	STP
-diff --git a/linux/installer/common/psw-tdx/BOM_install/sgx-ra-service.txt b/linux/installer/common/psw-tdx/BOM_install/sgx-ra-service.txt
-index 3521a03f..6fea3137 100644
---- a/linux/installer/common/psw-tdx/BOM_install/sgx-ra-service.txt
-+++ b/linux/installer/common/psw-tdx/BOM_install/sgx-ra-service.txt
-@@ -1,8 +1,8 @@
- DeliveryName	InstallName	FileCheckSum	FileFeature	FileOwner
--<deliverydir>/external/dcap_source/tools/SGXPlatformRegistration/build/bin/mpa_manage	<installdir>/mpa_manage	0	main	STP
--<deliverydir>/external/dcap_source/tools/SGXPlatformRegistration/package/mpa_registration	<installdir>/mpa_registration	0	main	STP
--<deliverydir>/external/dcap_source/tools/SGXPlatformRegistration/package/mpa_registration_tool.service	<installdir>/mpa_registration_tool.service	0	main	STP
--<deliverydir>/external/dcap_source/tools/SGXPlatformRegistration/package/mpa_registration_tool.conf	<installdir>/mpa_registration_tool.conf	0	main	STP
--<deliverydir>/external/dcap_source/tools/SGXPlatformRegistration/config/mpa_registration.conf	<installdir>/conf/mpa_registration.conf	0	main	STP
--<deliverydir>/external/dcap_source/tools/SGXPlatformRegistration/package/startup.sh	<installdir>/startup.sh	0	main	STP
--<deliverydir>/external/dcap_source/tools/SGXPlatformRegistration/package/cleanup.sh	<installdir>/cleanup.sh	0	main	STP
-+<deliverydir>/external/dcap_source/tools/SGXPlatformRegistration/build/release/bin/mpa_manage	<installdir>/mpa_manage	0	main	STP
-+<deliverydir>/external/dcap_source/tools/SGXPlatformRegistration/build/release/bin/mpa_registration	<installdir>/mpa_registration	0	main	STP
-+<deliverydir>/external/dcap_source/tools/SGXPlatformRegistration/src/mpa_registration/mpa_registration_tool.service	<installdir>/mpa_registration_tool.service	0	main	STP
-+<deliverydir>/external/dcap_source/tools/SGXPlatformRegistration/src/mpa_registration/mpa_registration_tool.conf	<installdir>/mpa_registration_tool.conf	0	main	STP
-+<deliverydir>/external/dcap_source/tools/SGXPlatformRegistration/installer/common/sgx-ra-service/config/mpa_registration.conf	<installdir>/conf/mpa_registration.conf	0	main	STP
-+<deliverydir>/external/dcap_source/tools/SGXPlatformRegistration/src/mpa_registration/startup.sh	<installdir>/startup.sh	0	main	STP
-+<deliverydir>/external/dcap_source/tools/SGXPlatformRegistration/src/mpa_registration/cleanup.sh	<installdir>/cleanup.sh	0	main	STP
--- 
-2.55.0
-

diff --git a/0015-fix-missing-def-of-uncaught_exception.patch b/0015-fix-missing-def-of-uncaught_exception.patch
deleted file mode 100644
index b3a8c74..0000000
--- a/0015-fix-missing-def-of-uncaught_exception.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-From bd8d61046de1201caebaeccc0ba0a09c8c0733de Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= <berrange@redhat.com>
-Date: Wed, 25 Mar 2026 12:15:12 +0000
-Subject: [PATCH 15/16] fix missing def of uncaught_exception
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-This needs to be unconditionally present, not restricted to
-old C++ standards. This fixes an error seen with GCC 16:
-
-linux-sgx-2.28-build/confidential-computing.sgx-sgx_2.28/sdk/tlibcxx/include/ostream:280:27: error: there are no arguments to ‘uncaught_exception’ that depend on a template parameter, so a declaration of ‘uncaught_exception’ must be available [-Wtemplate-body]
-  280 |                       && !uncaught_exception())
-      |                           ^~~~~~~~~~~~~~~~~~
-linux-sgx-2.28-build/confidential-computing.sgx-sgx_2.28/sdk/tlibcxx/include/ostream:280:27: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
-
-Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
----
- common/inc/stdc++/linux/exception | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/common/inc/stdc++/linux/exception b/common/inc/stdc++/linux/exception
-index a3c81106..b81f2d0c 100644
---- a/common/inc/stdc++/linux/exception
-+++ b/common/inc/stdc++/linux/exception
-@@ -63,7 +63,7 @@ namespace std
- 
- #  if  __cplusplus < 201103L
-     bool uncaught_exception() throw();
--#  elif __cplusplus <= 201703L
-+#  else
-     bool uncaught_exception() noexcept;
- #  endif
- 
--- 
-2.55.0
-

diff --git a/0016-sdk-adapt-to-openssl4-API-changes.patch b/0016-sdk-adapt-to-openssl4-API-changes.patch
deleted file mode 100644
index 64824a1..0000000
--- a/0016-sdk-adapt-to-openssl4-API-changes.patch
+++ /dev/null
@@ -1,53 +0,0 @@
-From 24804ec1781d3fe9fe105a7550c603d8d1cad7b5 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= <berrange@redhat.com>
-Date: Mon, 20 Jul 2026 10:51:55 +0100
-Subject: [PATCH 16/16] sdk: adapt to openssl4 API changes
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Returned  ASN1 structures must now be const, and the string
-type is now opaque.
-
-Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
----
- sdk/ttls/cert_verifier.cpp | 9 +++++----
- 1 file changed, 5 insertions(+), 4 deletions(-)
-
-diff --git a/sdk/ttls/cert_verifier.cpp b/sdk/ttls/cert_verifier.cpp
-index 2889bfaf..a852d153 100644
---- a/sdk/ttls/cert_verifier.cpp
-+++ b/sdk/ttls/cert_verifier.cpp
-@@ -733,7 +733,7 @@ sgx_status_t sgx_cert_find_extension(
-     for (int i = 0; i < num_extensions; i++)
-     {
-         X509_EXTENSION* ext;
--        ASN1_OBJECT* obj;
-+        const ASN1_OBJECT* obj;
-         sgx_oid_string_t ext_oid;
- 
-         /* Get the i-th extension from the stack */
-@@ -751,7 +751,7 @@ sgx_status_t sgx_cert_find_extension(
-         /* If found then get the data */
-         if (strcmp(ext_oid.buf, oid) == 0)
-         {
--            ASN1_OCTET_STRING* str;
-+            const ASN1_OCTET_STRING* str;
- 
-             /* Get the data from the extension */
-             if (!(str = X509_EXTENSION_get_data(ext)))
-@@ -759,8 +759,9 @@ sgx_status_t sgx_cert_find_extension(
- 
-             if (data)
-             {
--                memcpy(data, str->data, (size_t)str->length);
--                *size = (size_t)str->length;
-+                const unsigned char *strdata = ASN1_STRING_get0_data(str);
-+                *size = (size_t)ASN1_STRING_length(str);
-+                memcpy(data, strdata, (size_t)*size);
-                 result = SGX_SUCCESS;
-                 goto done;
-             }
--- 
-2.55.0
-

diff --git a/0050-Disable-inclusion-of-AESM-in-installer.patch b/0050-Disable-inclusion-of-AESM-in-installer.patch
deleted file mode 100644
index 5b43bc4..0000000
--- a/0050-Disable-inclusion-of-AESM-in-installer.patch
+++ /dev/null
@@ -1,80 +0,0 @@
-From 479ea6a461b3a40d57e6b6434c2dc6d05528ecc1 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= <berrange@redhat.com>
-Date: Tue, 11 Feb 2025 14:58:58 +0000
-Subject: [PATCH] Disable inclusion of AESM in installer
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Disabling AESM will allow optionally building without the
-CppMicroServices dependency
-
-Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
----
- linux/installer/common/psw-dcap/Makefile | 25 +-----------------------
- psw/ae/Makefile                          |  6 +++++-
- 2 files changed, 6 insertions(+), 25 deletions(-)
-
-diff --git a/linux/installer/common/psw-dcap/Makefile b/linux/installer/common/psw-dcap/Makefile
-index 1ae7a292..1174622d 100644
---- a/linux/installer/common/psw-dcap/Makefile
-+++ b/linux/installer/common/psw-dcap/Makefile
-@@ -111,11 +111,7 @@ post_$(1): $(1) | $(PACKAGE_ROOT_PATH)
- 	cp -fr $$|/$$</* $(DESTDIR)/$$< ) ||:
- endef
- 
--AESM_SERVICE_PKGS:= $(AESM_PCE_PACKAGE)      \
--                    $(AESM_ECDSA_PACKAGE)    \
--                    $(AESM_QUOTE_EX_PACKAGE) \
--                    $(AESM_SERVICE_PACKAGE)  \
--                    $(QE3_LOGIC_PACKAGE)     \
-+AESM_SERVICE_PKGS:= $(QE3_LOGIC_PACKAGE)     \
-                     $(PCE_LOGIC_PACKAGE)
- 
- AE_PKGS:= $(AE_IDE_PACKAGE)                  \
-@@ -153,25 +149,6 @@ PHONY+=$(foreach PKG,$(ALL_PKGS),post_$(PKG))
- 
- PHONY+=install_$(AESM_SERVICE_PACKAGE)
- install_$(AESM_SERVICE_PACKAGE): $(foreach PKG,$(AESM_SERVICE_PKGS),post_$(PKG))
--	install -d $(shell readlink -m $(DESTDIR)/$(AESM_SERVICE_PACKAGE)/$(VAR_OPT_PATH))
--	install -d $(shell readlink -m $(DESTDIR)/$(AESM_SERVICE_PACKAGE)/$(AESMD_CONF_PATH))
--	sed -e "s:@aesm_folder@:$(SGX_INSTALL_PATH)/$(AESM_SERVICE_PACKAGE)/aesm:"                                   \
--		$(DESTDIR)/$(AESM_SERVICE_PACKAGE)/$(SGX_INSTALL_PATH)/$(AESM_SERVICE_PACKAGE)/aesm/$(AESMD_CONF)    \
--		> $(DESTDIR)/$(AESM_SERVICE_PACKAGE)/$(AESMD_CONF_PATH)/$(AESMD_CONF)
--	rm -f $(DESTDIR)/$(AESM_SERVICE_PACKAGE)/$(SGX_INSTALL_PATH)/$(AESM_SERVICE_PACKAGE)/aesm/$(AESMD_CONF)
--	rm -f $(DESTDIR)/$(AESM_SERVICE_PACKAGE)/$(SGX_INSTALL_PATH)/$(AESM_SERVICE_PACKAGE)/aesm/$(AESMD_CONF_DEL)
--	$(if $(wildcard $(DESTDIR)/$(AESM_SERVICE_PACKAGE)/$(SGX_INSTALL_PATH)/$(AESM_SERVICE_PACKAGE)/aesm/conf/*), \
--		install -d $(shell readlink -m $(DESTDIR)/$(AESM_SERVICE_PACKAGE)/$(ETC_DIR))                     && \
--		cp -fr $(DESTDIR)/$(AESM_SERVICE_PACKAGE)/$(SGX_INSTALL_PATH)/$(AESM_SERVICE_PACKAGE)/aesm/conf/*    \
--			$(DESTDIR)/$(AESM_SERVICE_PACKAGE)/$(ETC_DIR)                                             && \
--		rm -fr $(DESTDIR)/$(AESM_SERVICE_PACKAGE)/$(SGX_INSTALL_PATH)/$(AESM_SERVICE_PACKAGE)/aesm/conf)
--	cd $(shell readlink -m $(DESTDIR)/$(AESM_ECDSA_PACKAGE)/$(SGX_INSTALL_PATH)/$(AESM_SERVICE_PACKAGE)/aesm) && \
--	ln -fs $(shell readlink -m $(USR_LIB_PATH)/libsgx_qe3.signed.so.$(QE3_MAJOR_VER))                         && \
--	ln -fs $(shell readlink -m $(USR_LIB_PATH)/libsgx_qe3.signed.so)
--	cd $(shell readlink -m $(DESTDIR)/$(AESM_PCE_PACKAGE)/$(SGX_INSTALL_PATH)/$(AESM_SERVICE_PACKAGE)/aesm)   && \
--	ln -fs $(shell readlink -m $(USR_LIB_PATH)/libsgx_pce.signed.so.$(PCE_MAJOR_VER))                         && \
--	ln -fs $(shell readlink -m $(USR_LIB_PATH)/libsgx_pce.signed.so)                                          && \
--	ln -fs liburts_internal.so libsgx_urts.so.$(URTS_MAJOR_VER)
- 
- PHONY+=$(RA_SERVICE_PACKAGE)
- $(RA_SERVICE_PACKAGE): pre_$(RA_SERVICE_PACKAGE) | $(PACKAGE_ROOT_PATH)
-diff --git a/psw/ae/Makefile b/psw/ae/Makefile
-index 8853694d..0486eb12 100644
---- a/psw/ae/Makefile
-+++ b/psw/ae/Makefile
-@@ -45,7 +45,11 @@ CHECK_PREBUILT := prebuilt_check_fail
- endif
- 
- .PHONY: all
--all: $(CMAKE_RESULT) AESM COPY_AES| $(BUILD_DIR)
-+ifeq ($(BUILD_REF_LE), 1)
-+all: $(CMAKE_RESULT) REF_LE COPY_AES| $(BUILD_DIR)
-+else
-+all: $(CMAKE_RESULT) COPY_AES| $(BUILD_DIR)
-+endif #($(BUILD_REF_LE), 1)
- 
- # COPY_AES: currently copy le, pce, qe3
- .PHONY: COPY_AES
--- 
-2.55.0
-

diff --git a/0100-Drop-use-of-bundled-pre-built-openssl.patch b/0100-Drop-use-of-bundled-pre-built-openssl.patch
deleted file mode 100644
index 7dbdf62..0000000
--- a/0100-Drop-use-of-bundled-pre-built-openssl.patch
+++ /dev/null
@@ -1,270 +0,0 @@
-From b7ab736f63e50e657264e4586a1b1303d13205cd Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= <berrange@redhat.com>
-Date: Mon, 26 Feb 2024 12:19:51 +0000
-Subject: [PATCH 100/122] Drop use of bundled pre-built openssl
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Use pkg-config to find the host distro libcrypto library.
-Tweaked rules to dynamically link to the distro library.
-
-Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
----
- QuoteGeneration/qcnl/linux/Makefile                      | 8 +++-----
- QuoteGeneration/qpl/linux/Makefile                       | 8 +++-----
- QuoteVerification/appraisal/qal/Makefile                 | 5 ++---
- QuoteVerification/appraisal/tee_appraisal_tool/Makefile  | 5 ++---
- QuoteVerification/buildenv.mk                            | 1 -
- QuoteVerification/dcap_quoteverify/linux/Makefile        | 8 ++++----
- ae/QvE/Test/Makefile                                     | 4 ++--
- tools/PCKCertSelection/PCKCertSelectionLib/Makefile      | 9 +++------
- .../PCKCertSelectionLib/Makefile.static_lib              | 5 +----
- 9 files changed, 20 insertions(+), 33 deletions(-)
-
-diff --git a/QuoteGeneration/qcnl/linux/Makefile b/QuoteGeneration/qcnl/linux/Makefile
-index 20aca936..b97e2019 100644
---- a/QuoteGeneration/qcnl/linux/Makefile
-+++ b/QuoteGeneration/qcnl/linux/Makefile
-@@ -7,7 +7,6 @@
- ######## SGX SDK Settings ########
- TOP_DIR = ../..
- include $(TOP_DIR)/buildenv.mk
--PREBUILD_OPENSSL_PATH = ../../../prebuilt/openssl
- 
- ######## SGX CNL Library Settings ########
- 
-@@ -19,10 +18,9 @@ CNL_Lib_Include_Paths := -I../../quote_wrapper/common/inc       \
-                          -I../inc -I$(SGX_SDK)/include          \
-                          -I../../common/inc/internal            \
-                          -I../../../QuoteVerification/QVL/Src/ThirdParty/rapidjson/include/rapidjson	\
--                         -I../../../tools/PCKCertSelection/include \
--                         -I$(PREBUILD_OPENSSL_PATH)/inc
-+                         -I../../../tools/PCKCertSelection/include
- 
--CNL_Lib_C_Flags := $(COMMON_FLAGS) -g -fPIC -Werror -Wno-attributes $(CNL_Lib_Include_Paths)
-+CNL_Lib_C_Flags := $(COMMON_FLAGS) -g -fPIC -Werror -Wno-attributes $(CNL_Lib_Include_Paths) $(shell pkg-config --cflags libcrypto)
- 
- LDUFLAGS:= -pthread $(COMMON_LDFLAGS)
- LDUFLAGS += -Wl,--version-script=sgx_default_qcnl.lds -Wl,--gc-sections
-@@ -34,7 +32,7 @@ CNL_Lib_Cpp_Flags+= -DSELF_SIGNED_CERT
- endif
- 
- CNL_Lib_Link_Flags := $(SGX_COMMON_FLAGS) -g -L$(TOP_DIR)/build/linux -L$(SGX_SDK)/lib64 \
--		-lpthread -ldl ../../../tools/PCKCertSelection/static_out/libPCKCertSelection.a
-+		-lpthread -ldl ../../../tools/PCKCertSelection/static_out/libPCKCertSelection.a $(shell pkg-config --libs libcrypto)
-  
- ifndef DEBUG
- CNL_Lib_Cpp_Flags += -DDISABLE_TRACE
-diff --git a/QuoteGeneration/qpl/linux/Makefile b/QuoteGeneration/qpl/linux/Makefile
-index 549f5ef0..52b91b0a 100644
---- a/QuoteGeneration/qpl/linux/Makefile
-+++ b/QuoteGeneration/qpl/linux/Makefile
-@@ -7,7 +7,6 @@
- ######## SGX SDK Settings ########
- TOP_DIR  = ../..
- include $(TOP_DIR)/buildenv.mk
--PREBUILD_OPENSSL_PATH  = ../../../prebuilt/openssl
- 
- ######## SGX QPL Library Settings ########
- 
-@@ -17,17 +16,16 @@ QPL_Lib_Cpp_Files := $(wildcard *.cpp ../*.cpp)
- QPL_Lib_Include_Paths := -I../../quote_wrapper/common/inc       \
-                          -I../inc -I$(SGX_SDK)/include          \
-                          -I../../common/inc/internal            \
--                         -I../../qcnl/inc                       \
--                         -I$(PREBUILD_OPENSSL_PATH)/inc
-+                         -I../../qcnl/inc
- 
--QPL_Lib_C_Flags := $(COMMON_FLAGS) -g -fPIC -Werror -Wno-attributes $(QPL_Lib_Include_Paths)
-+QPL_Lib_C_Flags := $(COMMON_FLAGS) -g -fPIC -Werror -Wno-attributes $(QPL_Lib_Include_Paths) $(shell pkg-config --cflags libcrypto)
- 
- LDUFLAGS:= -pthread $(COMMON_LDFLAGS)
- LDUFLAGS += -Wl,--version-script=sgx_default_quote_provider.lds -Wl,--gc-sections
- 
- QPL_Lib_Cpp_Flags := $(QPL_Lib_C_Flags)
- 
--QPL_Lib_Link_Flags := $(SGX_COMMON_FLAGS) -g -L$(TOP_DIR)/build/linux -L$(SGX_SDK)/lib64 -L$(PREBUILD_OPENSSL_PATH)/lib/linux64 \
-+QPL_Lib_Link_Flags := $(SGX_COMMON_FLAGS) -g -L$(TOP_DIR)/build/linux -L$(SGX_SDK)/lib64 \
-         -lcrypto -lsgx_default_qcnl_wrapper -lpthread -ldl
-  
- ifndef DEBUG
-diff --git a/QuoteVerification/appraisal/qal/Makefile b/QuoteVerification/appraisal/qal/Makefile
-index 2cd7f4fc..e7e11511 100644
---- a/QuoteVerification/appraisal/qal/Makefile
-+++ b/QuoteVerification/appraisal/qal/Makefile
-@@ -12,9 +12,8 @@ WARM_Lib_Path := $(WARM_Top_Path)/product-mini/platforms/linux/build/
- 
- JWT_CPP_Path := ../../../external/jwt-cpp/
- RAPIDJSON_DIR :=  ../../QVL/Src/ThirdParty/rapidjson/include
--PREBUILD_OPENSSL_PATH := ../../../prebuilt/openssl
- QAL_Include_Path := -I$(SGX_SDK)/include \
--                -I$(PREBUILD_OPENSSL_PATH)/inc \
-+                $(shell pkg-config --cflags libcrypto) \
-                 -I$(DCAP_QG_DIR)/common/inc/internal/linux \
-                 -I$(WARM_Top_Path)/core/iwasm/include \
-                 -I$(JWT_CPP_Path)/include   \
-@@ -27,7 +26,7 @@ QAL_Cpp_Flags := $(CXXFLAGS) -g -fPIC $(QAL_Include_Path)
- QAL_C_Flags := $(CFLAGS) -g -fPIC $(QAL_Include_Path)
- 
- QAL_Link_Flags := $(COMMON_LDFLAGS) -L$(WARM_Lib_Path) -lvmlib  -ldl -lm -lpthread \
--                -L$(PREBUILD_OPENSSL_PATH)/lib/linux64 -lcrypto \
-+                $(shell pkg-config --libs libcrypto) \
-                 -Wl,--gc-sections -Wl,--version-script=sgx_dcap_qal.lds
- 
- WASM_CONFIG ?= -DCMAKE_BUILD_TYPE=Release
-diff --git a/QuoteVerification/appraisal/tee_appraisal_tool/Makefile b/QuoteVerification/appraisal/tee_appraisal_tool/Makefile
-index 966b51f9..9e06fc79 100644
---- a/QuoteVerification/appraisal/tee_appraisal_tool/Makefile
-+++ b/QuoteVerification/appraisal/tee_appraisal_tool/Makefile
-@@ -7,14 +7,13 @@
- DCAP_TOPDIR = ../../..
- include $(DCAP_TOPDIR)/QuoteGeneration/buildenv.mk
- 
--PREBUILD_OPENSSL_PATH := $(DCAP_TOPDIR)/prebuilt/openssl
- FLAGS := -fpie -g -I./ \
- 		-I$(SGX_SDK)/include \
- 		-I$(DCAP_TOPDIR)/external/jwt-cpp/include \
- 		-I../../QVL/Src/ThirdParty/rapidjson/include \
- 		-I$(DCAP_TOPDIR)/QuoteGeneration/common/inc/internal/ \
- 		-I$(DCAP_TOPDIR)/QuoteGeneration/common/inc/internal/linux/ \
--		-I$(PREBUILD_OPENSSL_PATH)/inc \
-+		$(shell pkg-config --cflags libcrypto) \
- 		-I../common
- 
- ifdef DEBUG
-@@ -30,7 +29,7 @@ Cpp_Common_Obj_Files := file_util.o format_util.o
- C_Obj_Files := se_trace.o
- 
- Obj_Files := $(Cpp_Files:.cpp=.o) $(C_Obj_Files) $(Cpp_Common_Obj_Files)
--LDFLAGS += $(COMMON_LDFLAGS) -L$(PREBUILD_OPENSSL_PATH)/lib/linux64 -pie -lcrypto -lpthread -ldl
-+LDFLAGS += $(COMMON_LDFLAGS) $(shell pkg-config --libs libcrypto) -pie -lpthread -ldl
- 
- 
- TARGET_NAME := tee_appraisal_tool
-diff --git a/QuoteVerification/buildenv.mk b/QuoteVerification/buildenv.mk
-index 443212a0..527a5e9c 100644
---- a/QuoteVerification/buildenv.mk
-+++ b/QuoteVerification/buildenv.mk
-@@ -31,7 +31,6 @@ PREBUILD_PATH	        := $(abspath $(DCAP_QG_DIR)/../prebuilt)
- DCAP_QV_DIR				:= $(abspath $(DCAP_QG_DIR)/../QuoteVerification)
- QVL_SRC_PATH 			?= $(DCAP_QV_DIR)/QVL/Src
- SGXSSL_PACKAGE_PATH 	?= $(DCAP_QV_DIR)/sgxssl/Linux/package
--PREBUILD_OPENSSL_PATH	?= $(PREBUILD_PATH)/openssl
- 
- SGX_COMMON_CFLAGS := $(COMMON_FLAGS) -m64 -Wjump-misses-init -Wstrict-prototypes -Wunsuffixed-float-constants
- SGX_COMMON_CXXFLAGS := $(COMMON_FLAGS) -m64 -Wnon-virtual-dtor -std=c++17
-diff --git a/QuoteVerification/dcap_quoteverify/linux/Makefile b/QuoteVerification/dcap_quoteverify/linux/Makefile
-index 9d89308d..5db465de 100644
---- a/QuoteVerification/dcap_quoteverify/linux/Makefile
-+++ b/QuoteVerification/dcap_quoteverify/linux/Makefile
-@@ -16,15 +16,15 @@ INSTALL_PATH 		?= /usr/lib/x86_64-linux-gnu
- QVE_SRC_PATH		:= ../../../ae/QvE
- DCAP_QPL_DIR := $(DCAP_QG_DIR)/qpl
- 
--QVL_LIB_INC		+= -I$(PREBUILD_OPENSSL_PATH)/inc -I$(QVE_SRC_PATH)/Include
--QVL_PARSER_INC  += -I$(PREBUILD_OPENSSL_PATH)/inc
-+QVL_LIB_INC		+= $(shell pkg-config --cflags libcrypto) -I$(QVE_SRC_PATH)/Include
-+QVL_PARSER_INC  += $(shell pkg-config --cflags libcrypto)
- QVL_VERIFY_INC	:= -I$(QVE_SRC_PATH)/Include \
-                    -I../inc \
-                    -I$(DCAP_QG_DIR)/quote_wrapper/common/inc \
-                    -I$(SGX_SDK)/include \
-                    -I$(DCAP_QG_DIR)/common/inc/internal \
-                    -I$(DCAP_QG_DIR)/common/inc/internal/linux \
--                   -I$(PREBUILD_OPENSSL_PATH)/inc \
-+                   $(shell pkg-config --cflags libcrypto) \
-                    $(QVL_LIB_INC) \
-                    -I$(DCAP_QPL_DIR)/inc \
-                    -I$(DCAP_QV_DIR)/appraisal/common \
-@@ -48,7 +48,7 @@ QVL_PARSER := sgx_dcap_qvl_attestation
- QVL_LIB_NAME := lib$(QVL_LIB).a
- QVL_PARSER_NAME := lib$(QVL_PARSER).a
- 
--LDUFLAGS	:= -pthread -ldl -L. -l$(QVL_LIB) -l$(QVL_PARSER) $(COMMON_LDFLAGS) -L$(PREBUILD_OPENSSL_PATH)/lib/linux64 -lcrypto
-+LDUFLAGS	:= -pthread -ldl -L. -l$(QVL_LIB) -l$(QVL_PARSER) $(COMMON_LDFLAGS) -lcrypto
- LDUFLAGS	+= -Wl,--version-script=sgx_dcap_quoteverify.lds -Wl,--gc-sections
- 
- QVL_VERIFY_CPP_SRCS := $(wildcard ../*.cpp) $(wildcard *.cpp)
-diff --git a/ae/QvE/Test/Makefile b/ae/QvE/Test/Makefile
-index 1ed4bf6a..c6cc171d 100644
---- a/ae/QvE/Test/Makefile
-+++ b/ae/QvE/Test/Makefile
-@@ -20,7 +20,7 @@ SRC_PATH := $(MKFILE_PATH)/../qve
- TEST_PATH := $(MKFILE_PATH)/src
- MOCK_PATH := $(MKFILE_PATH)/src/mock
- 
--INCLUDE := -I$(INCLUDE_PATH) -I$(SRC_PATH) -I$(MOCK_PATH) -I$(PREBUILD_OPENSSL_PATH)/inc\
-+INCLUDE := -I$(INCLUDE_PATH) -I$(SRC_PATH) -I$(MOCK_PATH) $(shell pkg-config --cflags libcrypto) \
- 					-I$(MKFILE_PATH)/../../../QuoteVerification/QVL/Src/AttestationLibrary/src \
-                     -I$(MKFILE_PATH)/../../../QuoteVerification/QVL/Src/AttestationLibrary/include \
-                     -I$(MKFILE_PATH)/../../../QuoteVerification/QVL/Src/AttestationParsers/include \
-@@ -54,7 +54,7 @@ OBJ_SRC_PATH := $(OBJ_PATH)/qve
- OBJS_SRC := $(OBJ_SRC_PATH)/$(notdir $(SRC_QVE_LOGIC:.cpp=.o))
- 
- LD_GTEST := -L$(GTEST_PATH)/lib -lgtest -lgmock_main -lgmock
--LDFLAGS := -L$(PREBUILD_OPENSSL_PATH)/lib/linux64 -lcrypto -lpthread -ldl
-+LDFLAGS := $(shell pkg-config --libs libcrypto) -lpthread -ldl
- 
- CXX_WARNINGS := -Wall -Wextra -Winit-self -Wpointer-arith -Wreturn-type -Waddress -Wsequence-point -Wformat-security -Wmissing-include-dirs -Wfloat-equal -Wundef -Wshadow -Wcast-align -Wconversion -Wredundant-decls
- 
-diff --git a/tools/PCKCertSelection/PCKCertSelectionLib/Makefile b/tools/PCKCertSelection/PCKCertSelectionLib/Makefile
-index d53413b5..5c586d86 100644
---- a/tools/PCKCertSelection/PCKCertSelectionLib/Makefile
-+++ b/tools/PCKCertSelection/PCKCertSelectionLib/Makefile
-@@ -63,10 +63,7 @@ ifndef QG_DIR
- endif
- 
- # openssl include dir
--OPENSSL_INC 		:= $(PROJ_ROOT_DIR)/../../prebuilt/openssl/inc
--
--# openssl lib dir
--OPENSSL_LIB 		:= $(PROJ_ROOT_DIR)/../../prebuilt/openssl/lib/linux64
-+OPENSSL_INC 		:= $(shell pkg-config --cflags libcrypto)
- 
- # JSON parser include dir
- JSON_INC		:= $(QVL_DIR)/ThirdParty/rapidjson/include
-@@ -116,7 +113,7 @@ LIB_CPP_OBJECTS 	:= \
- 	$(UTILS_CPP_FILES:.cpp=.o)
- 
- # include paths, local, parser and openssl
--LIB_INCLUDE_PATHS	:= -I. -I$(PROJ_ROOT_DIR)/include -I$(OPENSSL_INC) -I$(JSON_INC) -I$(PARSERS_INC) -I$(PARSERS_COMM_INC) -I$(PARSERS_DIR) -I$(VER_DIR) -I$(PARSERS_UTIL_INC)
-+LIB_INCLUDE_PATHS	:= -I. -I$(PROJ_ROOT_DIR)/include $(OPENSSL_INC) -I$(JSON_INC) -I$(PARSERS_INC) -I$(PARSERS_COMM_INC) -I$(PARSERS_DIR) -I$(VER_DIR) -I$(PARSERS_UTIL_INC)
- 
- # the library shared object name
- LIB_NAME		:= libPCKCertSelection.so
-@@ -129,7 +126,7 @@ CXXFLAGS += -m64 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Werror -
- CXXFLAGS += -UPCK_CERT_SELECTION_WITH_COMPONENT
- 
- # Link flags
--LINK_FLAGS := -m64 -shared $(COMMON_LDFLAGS) -L$(OPENSSL_LIB) -lcrypto -lpthread -ldl
-+LINK_FLAGS := -m64 -shared $(COMMON_LDFLAGS) -lcrypto -lpthread -ldl
- LINK_FLAGS += -Wl,--version-script=pck_cert_selection.lds -Wl,--gc-sections
- 
- # Strip only in RELEASE builds
-diff --git a/tools/PCKCertSelection/PCKCertSelectionLib/Makefile.static_lib b/tools/PCKCertSelection/PCKCertSelectionLib/Makefile.static_lib
-index a20a3cd5..499ee94f 100644
---- a/tools/PCKCertSelection/PCKCertSelectionLib/Makefile.static_lib
-+++ b/tools/PCKCertSelection/PCKCertSelectionLib/Makefile.static_lib
-@@ -118,7 +118,7 @@ LIB_CPP_OBJECTS 	:= \
- LIB_CPP_OBJECTS := $(addprefix $(BIN_DIR)/, $(LIB_CPP_OBJECTS))
- 
- # include paths, local, parser and openssl
--LIB_INCLUDE_PATHS	:= -I. -I$(PROJ_ROOT_DIR)/include -I$(OPENSSL_INC) -I$(JSON_INC) -I$(PARSERS_INC) -I$(PARSERS_COMM_INC) -I$(PARSERS_DIR) -I$(VER_DIR) -I$(PARSERS_UTIL_INC)
-+LIB_INCLUDE_PATHS	:= -I. -I$(PROJ_ROOT_DIR)/include $(shell pkg-config --cflags libcrypto) -I$(JSON_INC) -I$(PARSERS_INC) -I$(PARSERS_COMM_INC) -I$(PARSERS_DIR) -I$(VER_DIR) -I$(PARSERS_UTIL_INC)
- 
- # the library shared object name
- LIB_NAME		:= libPCKCertSelection.a
-@@ -197,9 +197,6 @@ $(BIN_DIR)/%.o: $(UTILS_DIR)/%.cpp
- $(LIB_NAME): $(LIB_CPP_OBJECTS)
- 	$(PCKCERTSEL_VERBOSE)echo "Archiving..."
- 	$(PCKCERTSEL_VERBOSE)$(AR) -rcs $(BIN_DIR)/$@ $^
--	$(PCKCERTSEL_VERBOSE)@$(MKDIR) $(BIN_DIR)/.libcrypto
--	$(PCKCERTSEL_VERBOSE)@$(RM) -f $(BIN_DIR)/.libcrypto/* && cd $(BIN_DIR)/.libcrypto && $(AR) x $(OPENSSL_LIB)/libcrypto.a
--	$(PCKCERTSEL_VERBOSE)$(AR) qD $(BIN_DIR)/$@ $(BIN_DIR)/.libcrypto/*.o
- 
- debug:
- 	$(PCKCERTSEL_VERBOSE)$(MAKE) DEBUG=1 all
--- 
-2.55.0
-

diff --git a/0100-pcsclient-serialize-qeidentity-and-tdqeidentity-as-J.patch b/0100-pcsclient-serialize-qeidentity-and-tdqeidentity-as-J.patch
new file mode 100644
index 0000000..8b20703
--- /dev/null
+++ b/0100-pcsclient-serialize-qeidentity-and-tdqeidentity-as-J.patch
@@ -0,0 +1,40 @@
+From f9c2055015bac45cba3276f3fa8b17d7ed20ee45 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= <berrange@redhat.com>
+Date: Wed, 9 Sep 2026 17:44:20 +0300
+Subject: [PATCH 100/121] pcsclient: serialize qeidentity and tdqeidentity as
+ JSON (#498)
+
+From: Mikko Ylinen <mikko.ylinen@intel.com>
+
+_fetch_identity() sets the raw PCS response body (a JSON string)
+directly to the output dict which gets serialized as a string in
+the final JSON output file with json.dumps().
+
+The result is that the output file cannot be deserialized as
+Enclave Identity V2 JSON.
+
+Similar to how TCB Info is already handled, parse Enclave Identity
+response before storing the PCS response into the output_json
+dict. This makes (td)qeidentity to look proper JSON.
+
+Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
+---
+ tools/PcsClientTool/pcsclient.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/tools/PcsClientTool/pcsclient.py b/tools/PcsClientTool/pcsclient.py
+index 1ccaa6d4..60fe7452 100755
+--- a/tools/PcsClientTool/pcsclient.py
++++ b/tools/PcsClientTool/pcsclient.py
+@@ -370,7 +370,7 @@ class CollateralFetcher:
+                     return False
+             else:
+                 key_suffix = '_early' if update == 'early' else ''
+-                self.output_json["collaterals"][f"{identity_type}identity{key_suffix}"] = identity[0]
++                self.output_json["collaterals"][f"{identity_type}identity{key_suffix}"] = json.loads(identity[0])
+                 if identity_type == 'qe':
+                     self.output_json["collaterals"]["certificates"][PCS.HDR_Enclave_Identity_Issuer_Chain] = identity[1]
+         return True
+-- 
+2.56.0
+

diff --git a/0101-Improve-debuggability-of-build-system.patch b/0101-Improve-debuggability-of-build-system.patch
deleted file mode 100644
index ee29552..0000000
--- a/0101-Improve-debuggability-of-build-system.patch
+++ /dev/null
@@ -1,224 +0,0 @@
-From 1d5a1c42eacef0fa4140569dc3052c1d60a52908 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= <berrange@redhat.com>
-Date: Fri, 1 Mar 2024 12:05:01 +0000
-Subject: [PATCH 101/122] Improve debuggability of build system
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Preserve make args by using $(MAKE).
-Don't hide commands that are run, so compiler flags are visible.
-
-Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
----
- QuoteGeneration/qcnl/linux/Makefile           |  2 +-
- QuoteVerification/appraisal/qal/Makefile      |  2 +-
- .../dcap_quoteverify/linux/Makefile           | 28 +++++++++----------
- ae/QvE/Makefile                               | 26 ++++++++---------
- 4 files changed, 29 insertions(+), 29 deletions(-)
-
-diff --git a/QuoteGeneration/qcnl/linux/Makefile b/QuoteGeneration/qcnl/linux/Makefile
-index b97e2019..5d9a3987 100644
---- a/QuoteGeneration/qcnl/linux/Makefile
-+++ b/QuoteGeneration/qcnl/linux/Makefile
-@@ -86,7 +86,7 @@ $(CNL_Lib_Name_Static): $(CNL_Lib_Cpp_Objects) $(CNL_Lib_C_Objects) $(PCK_Select
- 	$(AR) rsD $(CNL_Lib_Name_Static) $(CNL_Lib_Cpp_Objects) $(CNL_Lib_C_Objects) $(PCK_Selection_Cpp_Objects)
- 
- $(PCK_Selection_Lib_Static):
--	+$(MAKE) -C ../../../tools/PCKCertSelection/PCKCertSelectionLib -f Makefile.static_lib
-+	$(MAKE) -C ../../../tools/PCKCertSelection/PCKCertSelectionLib -f Makefile.static_lib VERBOSE=1
- force_look:
- 	true
- 
-diff --git a/QuoteVerification/appraisal/qal/Makefile b/QuoteVerification/appraisal/qal/Makefile
-index e7e11511..2d61c217 100644
---- a/QuoteVerification/appraisal/qal/Makefile
-+++ b/QuoteVerification/appraisal/qal/Makefile
-@@ -103,7 +103,7 @@ $(QAL_CXX_Common_Objs): %.o: ../common/%.cpp
- 	$(CXX) $(QAL_Cpp_Flags) -c $< -o $@
- 
- wasm_lib:
--	test -f $(WARM_Lib_Path)/libvmlib.a || ($(MKDIR) $(WARM_Lib_Path) && cd $(WARM_Lib_Path) && cmake .. $(WASM_CONFIG) && $(MAKE) vmlib)
-+	test -f $(WARM_Lib_Path)/libvmlib.a || ($(MKDIR) $(WARM_Lib_Path) && cd $(WARM_Lib_Path) && cmake .. $(WASM_CONFIG) && $(MAKE) vmlib VERBOSE=1)
- 
- clean:
- 	$(RM) $(QAL_Obj_Files) $(Target_Lib_Name) $(Target_Lib_Name).$(SGX_MAJOR_VER) $(Target_Static_Lib_Name) $(BUILD_DIR)/$(Target_Lib_Name) $(QVL_Cpp_Obj_Files)
-diff --git a/QuoteVerification/dcap_quoteverify/linux/Makefile b/QuoteVerification/dcap_quoteverify/linux/Makefile
-index 5db465de..69efa28e 100644
---- a/QuoteVerification/dcap_quoteverify/linux/Makefile
-+++ b/QuoteVerification/dcap_quoteverify/linux/Makefile
-@@ -94,12 +94,12 @@ $(BUILD_DIR):
- 	@$(MKDIR) $@
- 
- install_lib: $(QVL_VERIFY_LIB_NAME_Dynamic) | $(BUILD_DIR)
--	@$(CP) $(QVL_VERIFY_LIB_NAME_Dynamic) $|/$(QVL_VERIFY_LIB_NAME_Dynamic_Full)
--	@$(LN) $(QVL_VERIFY_LIB_NAME_Dynamic_Full) $|/$(QVL_VERIFY_LIB_NAME_Dynamic_Major)
--	@$(LN) $(QVL_VERIFY_LIB_NAME_Dynamic_Major) $|/$(QVL_VERIFY_LIB_NAME_Dynamic)
-+	$(CP) $(QVL_VERIFY_LIB_NAME_Dynamic) $|/$(QVL_VERIFY_LIB_NAME_Dynamic_Full)
-+	$(LN) $(QVL_VERIFY_LIB_NAME_Dynamic_Full) $|/$(QVL_VERIFY_LIB_NAME_Dynamic_Major)
-+	$(LN) $(QVL_VERIFY_LIB_NAME_Dynamic_Major) $|/$(QVL_VERIFY_LIB_NAME_Dynamic)
- 
- ifeq ($(GEN_STATIC),1)
--	+@$(MAKE) $(QVL_VERIFY_LIB_NAME_Static)
-+	$(MAKE) $(QVL_VERIFY_LIB_NAME_Static)
- 	@$(CP) $(QVL_VERIFY_LIB_NAME_Static) $|
- endif
- 
-@@ -109,13 +109,13 @@ run: all
- ######## QVL Library Objects ########
- 
- qve_u.h: $(QVE_SRC_PATH)/qve/qve.edl $(SGX_EDGER8R)
--	@$(SGX_EDGER8R) --untrusted $< $(addprefix --search-path ,$(QVE_SRC_PATH)/qve $(SGX_SDK)/include $(addprefix $(SGXSSL_PACKAGE_PATH)/include/,. $(if $(FIPS),,no)filefunc))
-+	$(SGX_EDGER8R) --untrusted $< $(addprefix --search-path ,$(QVE_SRC_PATH)/qve $(SGX_SDK)/include $(addprefix $(SGXSSL_PACKAGE_PATH)/include/,. $(if $(FIPS),,no)filefunc))
- 	@echo "GEN  =>  $@"
- 
- qve_u.c : qve_u.h
- 
- $(QVL_VERIFY_C_OBJS): %.o: %.c qve_u.c
--	@$(CC) $(SGX_COMMON_CFLAGS) $(QVL_VERIFY_INC) -c $< -o $@
-+	$(CC) $(SGX_COMMON_CFLAGS) $(QVL_VERIFY_INC) -c $< -o $@
- 	@echo "CC  <=  $<"
- 
- -include $(QPL_BASE64_CPP_DEP)
-@@ -129,15 +129,15 @@ ec_key.o: $(DCAP_QV_DIR)/appraisal/common/ec_key.cpp
- 	@echo "CXX  <=  $<"
- 
- $(QVL_VERIFY_CPP_OBJS): %.o: %.cpp qve_u.h
--	@$(CXX) $(SGX_COMMON_CXXFLAGS) $(QVL_VERIFY_INC) -c $< -o $@
-+	$(CXX) $(SGX_COMMON_CXXFLAGS) $(QVL_VERIFY_INC) -c $< -o $@
- 	@echo "CXX  <=  $<"
- 
- $(QVL_VERIFY_CPP_OBJS_STATIC): %_s.o: %.cpp qve_u.h
--	@$(CXX) -DGEN_STATIC $(SGX_COMMON_CXXFLAGS) $(QVL_VERIFY_INC) -c $< -o $@
-+	$(CXX) -DGEN_STATIC $(SGX_COMMON_CXXFLAGS) $(QVL_VERIFY_INC) -c $< -o $@
- 	@echo "CXX  <=  $<"
- 
- $(QVE_CPP_OBJ): $(QVE_CPP_SRC)
--	@$(CXX) $(SGX_COMMON_CXXFLAGS) $(QVL_VERIFY_INC) -c $< -o $(QVE_CPP_OBJ)
-+	$(CXX) $(SGX_COMMON_CXXFLAGS) $(QVL_VERIFY_INC) -c $< -o $(QVE_CPP_OBJ)
- 	@echo "CXX  <=  $<"
- 
- $(QVE_LOGIC_CPP_OBJ): $(QVE_LOGIC_CPP_SRC)
-@@ -145,18 +145,18 @@ $(QVE_LOGIC_CPP_OBJ): $(QVE_LOGIC_CPP_SRC)
- 	@echo "CXX  <=  $<"
- 
- $(QVL_LIB_OBJS): %_untrusted.o: %.cpp
--	@$(CXX) $(SGX_COMMON_CXXFLAGS) $(QVL_LIB_INC) -c $< -o $@
-+	$(CXX) $(SGX_COMMON_CXXFLAGS) $(QVL_LIB_INC) -c $< -o $@
- 	@echo "CXX  <=  $<"
- 
- $(QVL_PARSER_OBJS): %_untrusted.o: %.cpp
--	@$(CXX) $(SGX_COMMON_CXXFLAGS) $(QVL_PARSER_INC) -c $< -o $@
-+	$(CXX) $(SGX_COMMON_CXXFLAGS) $(QVL_PARSER_INC) -c $< -o $@
- 	@echo "CXX  <=  $<"
- 
- $(QVL_LIB_NAME): $(QVL_LIB_OBJS)
--	@$(AR) rsD $(QVL_LIB_NAME) $(QVL_LIB_OBJS)
-+	$(AR) rsD $(QVL_LIB_NAME) $(QVL_LIB_OBJS)
- 
- $(QVL_PARSER_NAME): $(QVL_PARSER_OBJS)
--	@$(AR) rsD $(QVL_PARSER_NAME) $(QVL_PARSER_OBJS)
-+	$(AR) rsD $(QVL_PARSER_NAME) $(QVL_PARSER_OBJS)
- 
- 
- $(QVL_VERIFY_LIB_NAME_Dynamic): $(QVL_VERIFY_CPP_OBJS) $(QVL_VERIFY_C_OBJS) $(QVE_CPP_OBJ) $(QVE_LOGIC_CPP_OBJ) $(QVL_LIB_NAME) $(QVL_PARSER_NAME) $(QVL_LIB_COMMON_OBJS) qal
-@@ -164,7 +164,7 @@ $(QVL_VERIFY_LIB_NAME_Dynamic): $(QVL_VERIFY_CPP_OBJS) $(QVL_VERIFY_C_OBJS) $(QV
- 	@ln -sf $(QVL_VERIFY_LIB_NAME_Dynamic) $(QVL_VERIFY_LIB_NAME_Dynamic).1
- 
- $(QVL_VERIFY_LIB_NAME_Static): $(QVL_VERIFY_CPP_OBJS_STATIC) $(QVL_VERIFY_C_OBJS) $(QVE_CPP_OBJ) $(QVE_LOGIC_CPP_OBJ) $(QVL_LIB_NAME) $(QVL_PARSER_NAME) $(QVL_LIB_COMMON_OBJS)
--	@$(AR) rsD $(QVL_VERIFY_LIB_NAME_Static) $(QVL_VERIFY_CPP_OBJS_STATIC) $(QVL_VERIFY_C_OBJS) $(QVE_CPP_OBJ) $(QVE_LOGIC_CPP_OBJ) $(QVL_LIB_COMMON_OBJS)
-+	$(AR) rsD $(QVL_VERIFY_LIB_NAME_Static) $(QVL_VERIFY_CPP_OBJS_STATIC) $(QVL_VERIFY_C_OBJS) $(QVE_CPP_OBJ) $(QVE_LOGIC_CPP_OBJ) $(QVL_LIB_COMMON_OBJS)
- 
- .PHONY: qal
- qal:
-diff --git a/ae/QvE/Makefile b/ae/QvE/Makefile
-index 155c0e26..cab19963 100644
---- a/ae/QvE/Makefile
-+++ b/ae/QvE/Makefile
-@@ -138,37 +138,37 @@ PREPARE_SGXSSL := ../../QuoteVerification/prepare_sgxssl.sh
- SGXSSL_HEADER_CHECK := $(SGXSSL_PACKAGE_PATH)/include/openssl/opensslconf.h
- PREPARE_SGX_SSL:
- ifdef SERVTD_ATTEST
--	@test -f $(SGXSSL_PACKAGE_PATH)/lib64/lib$(SGXSSL_TCRYPTO).a && test -f $(SGXSSL_PACKAGE_PATH)/lib64/lib$(SGXSSL_TLIB).a && test -f $(SGXSSL_HEADER_CHECK) || export MAKE_PARALLEL_JOBS=$(MAKE_PARALLEL_JOBS); $(PREPARE_SGXSSL) SERVTD_ATTEST
-+	test -f $(SGXSSL_PACKAGE_PATH)/lib64/lib$(SGXSSL_TCRYPTO).a && test -f $(SGXSSL_PACKAGE_PATH)/lib64/lib$(SGXSSL_TLIB).a && test -f $(SGXSSL_HEADER_CHECK) || export MAKE_PARALLEL_JOBS=$(MAKE_PARALLEL_JOBS); $(PREPARE_SGXSSL) SERVTD_ATTEST
- else
--	@test -f $(SGXSSL_PACKAGE_PATH)/lib64/lib$(SGXSSL_TCRYPTO).a && test -f $(SGXSSL_PACKAGE_PATH)/lib64/lib$(SGXSSL_TLIB).a && test -f $(SGXSSL_HEADER_CHECK) || export MAKE_PARALLEL_JOBS=$(MAKE_PARALLEL_JOBS); $(PREPARE_SGXSSL) $(if $(FIPS),FIPS)
-+	test -f $(SGXSSL_PACKAGE_PATH)/lib64/lib$(SGXSSL_TCRYPTO).a && test -f $(SGXSSL_PACKAGE_PATH)/lib64/lib$(SGXSSL_TLIB).a && test -f $(SGXSSL_HEADER_CHECK) || export MAKE_PARALLEL_JOBS=$(MAKE_PARALLEL_JOBS); $(PREPARE_SGXSSL) $(if $(FIPS),FIPS)
- endif
- 
- $(SGXSSL_HEADER_CHECK): PREPARE_SGX_SSL
- 
- install_lib: $(SIGNED_QVE_NAME) | $(BUILD_DIR)
--	 @$(CP) $(SIGNED_QVE_NAME) $(BUILD_DIR)
-+	$(CP) $(SIGNED_QVE_NAME) $(BUILD_DIR)
- 
- ######## Enclave Objects ########
- 
- ifndef SERVTD_ATTEST
- $(QVE_DIR)/sgx_base64.o: $(DCAP_QPL_DIR)/sgx_base64.cpp
--	@$(CXX) $(ENCLAVE_CXXFLAGS) $(QVL_LIB_INC) -c $< -o $@
-+	$(CXX) $(ENCLAVE_CXXFLAGS) $(QVL_LIB_INC) -c $< -o $@
- 	@echo "CXX  <=  $<"
- $(QVE_DIR)/ec_key.o: $(DCAP_QV_DIR)/appraisal/common/ec_key.cpp
--	@$(CXX) $(ENCLAVE_CXXFLAGS) $(QVL_LIB_INC) -c $< -o $@
-+	$(CXX) $(ENCLAVE_CXXFLAGS) $(QVL_LIB_INC) -c $< -o $@
- 	@echo "CXX  <=  $<"
- endif
- 
- $(QVL_LIB_OBJS): %.o: %.cpp $(SGXSSL_HEADER_CHECK)
- ifdef SERVTD_ATTEST
--	@$(CXX) -DSERVTD_ATTEST $(ENCLAVE_CXXFLAGS) $(QVL_LIB_INC) -c $< -o $@
-+	$(CXX) -DSERVTD_ATTEST $(ENCLAVE_CXXFLAGS) $(QVL_LIB_INC) -c $< -o $@
- else
--	@$(CXX) $(ENCLAVE_CXXFLAGS) $(QVL_LIB_INC) -c $< -o $@
-+	$(CXX) $(ENCLAVE_CXXFLAGS) $(QVL_LIB_INC) -c $< -o $@
- endif
- 	@echo "CXX  <=  $<"
- 
- $(QVL_PARSER_OBJS): %.o: %.cpp $(SGXSSL_HEADER_CHECK)
--	@$(CXX) $(ENCLAVE_CXXFLAGS) $(QVL_PARSER_INC) -c $< -o $@
-+	$(CXX) $(ENCLAVE_CXXFLAGS) $(QVL_PARSER_INC) -c $< -o $@
- 	@echo "CXX  <=  $<"
- 
- ifndef SERVTD_ATTEST
-@@ -179,7 +179,7 @@ $(QVE_DIR)/qve_t.h: $(QVE_DIR)/qve.edl $(SGX_EDGER8R)
- $(QVE_DIR)/qve_t.c: $(QVE_DIR)/qve_t.h
- 
- $(QVE_DIR)/qve_t.o: $(QVE_DIR)/qve_t.c
--	@$(CC) $(SGX_COMMON_CFLAGS) $(ENCLAVE_CFLAGS) -c $< -o $@
-+	$(CC) $(SGX_COMMON_CFLAGS) $(ENCLAVE_CFLAGS) -c $< -o $@
- 	@echo "CC   <=  $<"
- endif
- 
-@@ -188,7 +188,7 @@ $(QVE_DIR)/%.o: $(QVE_DIR)/%.cpp $(SGXSSL_HEADER_CHECK)
- else
- $(QVE_DIR)/%.o: $(QVE_DIR)/%.cpp $(QVE_DIR)/qve_t.h $(SGXSSL_HEADER_CHECK)
- endif
--	@$(CXX) $(SGX_COMMON_CXXFLAGS) $(ENCLAVE_CXXFLAGS) $(if $(FIPS),-DSGXSSL_FIPS) $(QVL_LIB_INC) -I$(QVL_SRC_PATH) -c $< -o $@
-+	$(CXX) $(SGX_COMMON_CXXFLAGS) $(ENCLAVE_CXXFLAGS) $(if $(FIPS),-DSGXSSL_FIPS) $(QVL_LIB_INC) -I$(QVL_SRC_PATH) -c $< -o $@
- 	@echo "CXX  <=  $<"
- 
- ifdef SERVTD_ATTEST
-@@ -209,16 +209,16 @@ endif
- ifdef SERVTD_ATTEST
- $(QVE_NAME): $(QVE_OBJS) $(QVL_PARSER_OBJS) $(QVL_LIB_OBJS)
- 	if [ ! -d "$(SERVTD_ATTEST_BUILD_DIR)" ]; then mkdir -p '$(SERVTD_ATTEST_BUILD_DIR)';fi
--	@$(CXX) $^ -shared -o $(SERVTD_ATTEST_BUILD_DIR)/$@ $(ENCLAVE_LDFLAGS) $(ENCLAVE_CXXFLAGS)
-+	$(CXX) $^ -shared -o $(SERVTD_ATTEST_BUILD_DIR)/$@ $(ENCLAVE_LDFLAGS) $(ENCLAVE_CXXFLAGS)
- else
- $(QVE_NAME): $(QVE_OBJS) $(QVE_DIR)/qve_t.o $(QVL_PARSER_OBJS) $(QVL_LIB_OBJS) $(QVL_LIB_COMMON_OBJS)
--	@$(CXX) $^ -o $@ $(ENCLAVE_LDFLAGS) $(ENCLAVE_CXXFLAGS) -Wl,-soname=${SIGNED_QVE_NAME}.$(call get_major_version,QVE_VERSION)
-+	$(CXX) $^ -o $@ $(ENCLAVE_LDFLAGS) $(ENCLAVE_CXXFLAGS) -Wl,-soname=${SIGNED_QVE_NAME}.$(call get_major_version,QVE_VERSION)
- 	$(STRIP) --strip-unneeded --remove-section=.comment --remove-section=.note $@
- endif
- 	@echo "LINK =>  $@"
- 
- $(SIGNED_QVE_NAME): $(QVE_NAME) $(QVE_CONFIG_FILE)
--	@$(SGX_ENCLAVE_SIGNER) sign -key $(QVE_DIR)/../../dep/dcap_ae_test_key.pem -enclave $< -out $@ -config $(QVE_CONFIG_FILE)
-+	$(SGX_ENCLAVE_SIGNER) sign -key $(QVE_DIR)/../../dep/dcap_ae_test_key.pem -enclave $< -out $@ -config $(QVE_CONFIG_FILE)
- 	@echo "SIGN =>  $@"
- 
- print-% : ; @echo $* = $($*)
--- 
-2.55.0
-

diff --git a/0101-pcsclient-only-import-pypac-module-on-Windows-490.patch b/0101-pcsclient-only-import-pypac-module-on-Windows-490.patch
new file mode 100644
index 0000000..5ca6ead
--- /dev/null
+++ b/0101-pcsclient-only-import-pypac-module-on-Windows-490.patch
@@ -0,0 +1,38 @@
+From 7ed37274294c5dc47bda4cec601bb727be2875e0 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= <berrange@redhat.com>
+Date: Wed, 9 Sep 2026 15:59:27 +0100
+Subject: [PATCH 101/121] pcsclient: only import 'pypac' module on Windows
+ (#490)
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+From: Daniel Berrangé <berrange@redhat.com>
+
+The PACSession object is only used in a code path that runs on
+Windows, so don't try to import this on Linux, to avoid the
+redundant dependency.
+
+Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
+---
+ tools/PcsClientTool/lib/intelsgx/pcs.py | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/tools/PcsClientTool/lib/intelsgx/pcs.py b/tools/PcsClientTool/lib/intelsgx/pcs.py
+index 109a258d..66f89d27 100644
+--- a/tools/PcsClientTool/lib/intelsgx/pcs.py
++++ b/tools/PcsClientTool/lib/intelsgx/pcs.py
+@@ -31,8 +31,9 @@ if verification is None:
+         import tempfile
+         import subprocess
+ 
+-from pypac import PACSession
+ from platform import system
++if system() == 'Windows':
++    from pypac import PACSession
+ from lib.intelsgx.credential import Credentials
+ from requests.adapters import HTTPAdapter
+ from urllib3.util import Retry
+-- 
+2.56.0
+

diff --git a/0102-Drop-use-of-bundled-pre-built-openssl.patch b/0102-Drop-use-of-bundled-pre-built-openssl.patch
new file mode 100644
index 0000000..be412de
--- /dev/null
+++ b/0102-Drop-use-of-bundled-pre-built-openssl.patch
@@ -0,0 +1,270 @@
+From a3f2128ff5bd070e3e5fe640593e9eb5a4959312 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= <berrange@redhat.com>
+Date: Mon, 26 Feb 2024 12:19:51 +0000
+Subject: [PATCH 102/121] Drop use of bundled pre-built openssl
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Use pkg-config to find the host distro libcrypto library.
+Tweaked rules to dynamically link to the distro library.
+
+Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
+---
+ QuoteGeneration/qcnl/linux/Makefile                      | 8 +++-----
+ QuoteGeneration/qpl/linux/Makefile                       | 8 +++-----
+ QuoteVerification/appraisal/qal/Makefile                 | 5 ++---
+ QuoteVerification/appraisal/tee_appraisal_tool/Makefile  | 5 ++---
+ QuoteVerification/buildenv.mk                            | 1 -
+ QuoteVerification/dcap_quoteverify/linux/Makefile        | 8 ++++----
+ ae/QvE/Test/Makefile                                     | 4 ++--
+ tools/PCKCertSelection/PCKCertSelectionLib/Makefile      | 9 +++------
+ .../PCKCertSelectionLib/Makefile.static_lib              | 5 +----
+ 9 files changed, 20 insertions(+), 33 deletions(-)
+
+diff --git a/QuoteGeneration/qcnl/linux/Makefile b/QuoteGeneration/qcnl/linux/Makefile
+index 20aca936..b97e2019 100644
+--- a/QuoteGeneration/qcnl/linux/Makefile
++++ b/QuoteGeneration/qcnl/linux/Makefile
+@@ -7,7 +7,6 @@
+ ######## SGX SDK Settings ########
+ TOP_DIR = ../..
+ include $(TOP_DIR)/buildenv.mk
+-PREBUILD_OPENSSL_PATH = ../../../prebuilt/openssl
+ 
+ ######## SGX CNL Library Settings ########
+ 
+@@ -19,10 +18,9 @@ CNL_Lib_Include_Paths := -I../../quote_wrapper/common/inc       \
+                          -I../inc -I$(SGX_SDK)/include          \
+                          -I../../common/inc/internal            \
+                          -I../../../QuoteVerification/QVL/Src/ThirdParty/rapidjson/include/rapidjson	\
+-                         -I../../../tools/PCKCertSelection/include \
+-                         -I$(PREBUILD_OPENSSL_PATH)/inc
++                         -I../../../tools/PCKCertSelection/include
+ 
+-CNL_Lib_C_Flags := $(COMMON_FLAGS) -g -fPIC -Werror -Wno-attributes $(CNL_Lib_Include_Paths)
++CNL_Lib_C_Flags := $(COMMON_FLAGS) -g -fPIC -Werror -Wno-attributes $(CNL_Lib_Include_Paths) $(shell pkg-config --cflags libcrypto)
+ 
+ LDUFLAGS:= -pthread $(COMMON_LDFLAGS)
+ LDUFLAGS += -Wl,--version-script=sgx_default_qcnl.lds -Wl,--gc-sections
+@@ -34,7 +32,7 @@ CNL_Lib_Cpp_Flags+= -DSELF_SIGNED_CERT
+ endif
+ 
+ CNL_Lib_Link_Flags := $(SGX_COMMON_FLAGS) -g -L$(TOP_DIR)/build/linux -L$(SGX_SDK)/lib64 \
+-		-lpthread -ldl ../../../tools/PCKCertSelection/static_out/libPCKCertSelection.a
++		-lpthread -ldl ../../../tools/PCKCertSelection/static_out/libPCKCertSelection.a $(shell pkg-config --libs libcrypto)
+  
+ ifndef DEBUG
+ CNL_Lib_Cpp_Flags += -DDISABLE_TRACE
+diff --git a/QuoteGeneration/qpl/linux/Makefile b/QuoteGeneration/qpl/linux/Makefile
+index 549f5ef0..52b91b0a 100644
+--- a/QuoteGeneration/qpl/linux/Makefile
++++ b/QuoteGeneration/qpl/linux/Makefile
+@@ -7,7 +7,6 @@
+ ######## SGX SDK Settings ########
+ TOP_DIR  = ../..
+ include $(TOP_DIR)/buildenv.mk
+-PREBUILD_OPENSSL_PATH  = ../../../prebuilt/openssl
+ 
+ ######## SGX QPL Library Settings ########
+ 
+@@ -17,17 +16,16 @@ QPL_Lib_Cpp_Files := $(wildcard *.cpp ../*.cpp)
+ QPL_Lib_Include_Paths := -I../../quote_wrapper/common/inc       \
+                          -I../inc -I$(SGX_SDK)/include          \
+                          -I../../common/inc/internal            \
+-                         -I../../qcnl/inc                       \
+-                         -I$(PREBUILD_OPENSSL_PATH)/inc
++                         -I../../qcnl/inc
+ 
+-QPL_Lib_C_Flags := $(COMMON_FLAGS) -g -fPIC -Werror -Wno-attributes $(QPL_Lib_Include_Paths)
++QPL_Lib_C_Flags := $(COMMON_FLAGS) -g -fPIC -Werror -Wno-attributes $(QPL_Lib_Include_Paths) $(shell pkg-config --cflags libcrypto)
+ 
+ LDUFLAGS:= -pthread $(COMMON_LDFLAGS)
+ LDUFLAGS += -Wl,--version-script=sgx_default_quote_provider.lds -Wl,--gc-sections
+ 
+ QPL_Lib_Cpp_Flags := $(QPL_Lib_C_Flags)
+ 
+-QPL_Lib_Link_Flags := $(SGX_COMMON_FLAGS) -g -L$(TOP_DIR)/build/linux -L$(SGX_SDK)/lib64 -L$(PREBUILD_OPENSSL_PATH)/lib/linux64 \
++QPL_Lib_Link_Flags := $(SGX_COMMON_FLAGS) -g -L$(TOP_DIR)/build/linux -L$(SGX_SDK)/lib64 \
+         -lcrypto -lsgx_default_qcnl_wrapper -lpthread -ldl
+  
+ ifndef DEBUG
+diff --git a/QuoteVerification/appraisal/qal/Makefile b/QuoteVerification/appraisal/qal/Makefile
+index 829e5839..37068032 100644
+--- a/QuoteVerification/appraisal/qal/Makefile
++++ b/QuoteVerification/appraisal/qal/Makefile
+@@ -12,9 +12,8 @@ WARM_Lib_Path := $(WARM_Top_Path)/product-mini/platforms/linux/build/
+ 
+ JWT_CPP_Path := ../../../external/jwt-cpp/
+ RAPIDJSON_DIR :=  ../../QVL/Src/ThirdParty/rapidjson/include
+-PREBUILD_OPENSSL_PATH := ../../../prebuilt/openssl
+ QAL_Include_Path := -I$(SGX_SDK)/include \
+-                -I$(PREBUILD_OPENSSL_PATH)/inc \
++                $(shell pkg-config --cflags libcrypto) \
+                 -I$(DCAP_QG_DIR)/common/inc/internal/linux \
+                 -I$(WARM_Top_Path)/core/iwasm/include \
+                 -I$(JWT_CPP_Path)/include   \
+@@ -27,7 +26,7 @@ QAL_Cpp_Flags := $(CXXFLAGS) -g -fPIC $(QAL_Include_Path)
+ QAL_C_Flags := $(CFLAGS) -g -fPIC $(QAL_Include_Path)
+ 
+ QAL_Link_Flags := $(COMMON_LDFLAGS) -L$(WARM_Lib_Path) -liwasm  -ldl -lm -lpthread \
+-                -L$(PREBUILD_OPENSSL_PATH)/lib/linux64 -lcrypto \
++                $(shell pkg-config --libs libcrypto) \
+                 -Wl,--gc-sections -Wl,--version-script=sgx_dcap_qal.lds
+ 
+ WASM_CONFIG ?= -DCMAKE_BUILD_TYPE=Release -DWAMR_BUILD_SIMD=0
+diff --git a/QuoteVerification/appraisal/tee_appraisal_tool/Makefile b/QuoteVerification/appraisal/tee_appraisal_tool/Makefile
+index 966b51f9..9e06fc79 100644
+--- a/QuoteVerification/appraisal/tee_appraisal_tool/Makefile
++++ b/QuoteVerification/appraisal/tee_appraisal_tool/Makefile
+@@ -7,14 +7,13 @@
+ DCAP_TOPDIR = ../../..
+ include $(DCAP_TOPDIR)/QuoteGeneration/buildenv.mk
+ 
+-PREBUILD_OPENSSL_PATH := $(DCAP_TOPDIR)/prebuilt/openssl
+ FLAGS := -fpie -g -I./ \
+ 		-I$(SGX_SDK)/include \
+ 		-I$(DCAP_TOPDIR)/external/jwt-cpp/include \
+ 		-I../../QVL/Src/ThirdParty/rapidjson/include \
+ 		-I$(DCAP_TOPDIR)/QuoteGeneration/common/inc/internal/ \
+ 		-I$(DCAP_TOPDIR)/QuoteGeneration/common/inc/internal/linux/ \
+-		-I$(PREBUILD_OPENSSL_PATH)/inc \
++		$(shell pkg-config --cflags libcrypto) \
+ 		-I../common
+ 
+ ifdef DEBUG
+@@ -30,7 +29,7 @@ Cpp_Common_Obj_Files := file_util.o format_util.o
+ C_Obj_Files := se_trace.o
+ 
+ Obj_Files := $(Cpp_Files:.cpp=.o) $(C_Obj_Files) $(Cpp_Common_Obj_Files)
+-LDFLAGS += $(COMMON_LDFLAGS) -L$(PREBUILD_OPENSSL_PATH)/lib/linux64 -pie -lcrypto -lpthread -ldl
++LDFLAGS += $(COMMON_LDFLAGS) $(shell pkg-config --libs libcrypto) -pie -lpthread -ldl
+ 
+ 
+ TARGET_NAME := tee_appraisal_tool
+diff --git a/QuoteVerification/buildenv.mk b/QuoteVerification/buildenv.mk
+index 443212a0..527a5e9c 100644
+--- a/QuoteVerification/buildenv.mk
++++ b/QuoteVerification/buildenv.mk
+@@ -31,7 +31,6 @@ PREBUILD_PATH	        := $(abspath $(DCAP_QG_DIR)/../prebuilt)
+ DCAP_QV_DIR				:= $(abspath $(DCAP_QG_DIR)/../QuoteVerification)
+ QVL_SRC_PATH 			?= $(DCAP_QV_DIR)/QVL/Src
+ SGXSSL_PACKAGE_PATH 	?= $(DCAP_QV_DIR)/sgxssl/Linux/package
+-PREBUILD_OPENSSL_PATH	?= $(PREBUILD_PATH)/openssl
+ 
+ SGX_COMMON_CFLAGS := $(COMMON_FLAGS) -m64 -Wjump-misses-init -Wstrict-prototypes -Wunsuffixed-float-constants
+ SGX_COMMON_CXXFLAGS := $(COMMON_FLAGS) -m64 -Wnon-virtual-dtor -std=c++17
+diff --git a/QuoteVerification/dcap_quoteverify/linux/Makefile b/QuoteVerification/dcap_quoteverify/linux/Makefile
+index d8c203f4..a8022f00 100644
+--- a/QuoteVerification/dcap_quoteverify/linux/Makefile
++++ b/QuoteVerification/dcap_quoteverify/linux/Makefile
+@@ -16,15 +16,15 @@ INSTALL_PATH 		?= /usr/lib/x86_64-linux-gnu
+ QVE_SRC_PATH		:= ../../../ae/QvE
+ DCAP_QPL_DIR := $(DCAP_QG_DIR)/qpl
+ 
+-QVL_LIB_INC		+= -I$(PREBUILD_OPENSSL_PATH)/inc -I$(QVE_SRC_PATH)/Include
+-QVL_PARSER_INC  += -I$(PREBUILD_OPENSSL_PATH)/inc
++QVL_LIB_INC		+= $(shell pkg-config --cflags libcrypto) -I$(QVE_SRC_PATH)/Include
++QVL_PARSER_INC  += $(shell pkg-config --cflags libcrypto)
+ QVL_VERIFY_INC	:= -I$(QVE_SRC_PATH)/Include \
+                    -I../inc \
+                    -I$(DCAP_QG_DIR)/quote_wrapper/common/inc \
+                    -I$(SGX_SDK)/include \
+                    -I$(DCAP_QG_DIR)/common/inc/internal \
+                    -I$(DCAP_QG_DIR)/common/inc/internal/linux \
+-                   -I$(PREBUILD_OPENSSL_PATH)/inc \
++                   $(shell pkg-config --cflags libcrypto) \
+                    $(QVL_LIB_INC) \
+                    -I$(DCAP_QPL_DIR)/inc \
+                    -I$(DCAP_QV_DIR)/appraisal/common \
+@@ -48,7 +48,7 @@ QVL_PARSER := sgx_dcap_qvl_attestation
+ QVL_LIB_NAME := lib$(QVL_LIB).a
+ QVL_PARSER_NAME := lib$(QVL_PARSER).a
+ 
+-LDUFLAGS	:= -pthread -ldl -L. -l$(QVL_LIB) -l$(QVL_PARSER) $(COMMON_LDFLAGS) -L$(PREBUILD_OPENSSL_PATH)/lib/linux64 -lcrypto
++LDUFLAGS	:= -pthread -ldl -L. -l$(QVL_LIB) -l$(QVL_PARSER) $(COMMON_LDFLAGS) -lcrypto
+ LDUFLAGS	+= -Wl,--version-script=sgx_dcap_quoteverify.lds -Wl,--gc-sections
+ 
+ QVL_VERIFY_CPP_SRCS := $(wildcard ../*.cpp) $(wildcard *.cpp)
+diff --git a/ae/QvE/Test/Makefile b/ae/QvE/Test/Makefile
+index 1ed4bf6a..c6cc171d 100644
+--- a/ae/QvE/Test/Makefile
++++ b/ae/QvE/Test/Makefile
+@@ -20,7 +20,7 @@ SRC_PATH := $(MKFILE_PATH)/../qve
+ TEST_PATH := $(MKFILE_PATH)/src
+ MOCK_PATH := $(MKFILE_PATH)/src/mock
+ 
+-INCLUDE := -I$(INCLUDE_PATH) -I$(SRC_PATH) -I$(MOCK_PATH) -I$(PREBUILD_OPENSSL_PATH)/inc\
++INCLUDE := -I$(INCLUDE_PATH) -I$(SRC_PATH) -I$(MOCK_PATH) $(shell pkg-config --cflags libcrypto) \
+ 					-I$(MKFILE_PATH)/../../../QuoteVerification/QVL/Src/AttestationLibrary/src \
+                     -I$(MKFILE_PATH)/../../../QuoteVerification/QVL/Src/AttestationLibrary/include \
+                     -I$(MKFILE_PATH)/../../../QuoteVerification/QVL/Src/AttestationParsers/include \
+@@ -54,7 +54,7 @@ OBJ_SRC_PATH := $(OBJ_PATH)/qve
+ OBJS_SRC := $(OBJ_SRC_PATH)/$(notdir $(SRC_QVE_LOGIC:.cpp=.o))
+ 
+ LD_GTEST := -L$(GTEST_PATH)/lib -lgtest -lgmock_main -lgmock
+-LDFLAGS := -L$(PREBUILD_OPENSSL_PATH)/lib/linux64 -lcrypto -lpthread -ldl
++LDFLAGS := $(shell pkg-config --libs libcrypto) -lpthread -ldl
+ 
+ CXX_WARNINGS := -Wall -Wextra -Winit-self -Wpointer-arith -Wreturn-type -Waddress -Wsequence-point -Wformat-security -Wmissing-include-dirs -Wfloat-equal -Wundef -Wshadow -Wcast-align -Wconversion -Wredundant-decls
+ 
+diff --git a/tools/PCKCertSelection/PCKCertSelectionLib/Makefile b/tools/PCKCertSelection/PCKCertSelectionLib/Makefile
+index d53413b5..5c586d86 100644
+--- a/tools/PCKCertSelection/PCKCertSelectionLib/Makefile
++++ b/tools/PCKCertSelection/PCKCertSelectionLib/Makefile
+@@ -63,10 +63,7 @@ ifndef QG_DIR
+ endif
+ 
+ # openssl include dir
+-OPENSSL_INC 		:= $(PROJ_ROOT_DIR)/../../prebuilt/openssl/inc
+-
+-# openssl lib dir
+-OPENSSL_LIB 		:= $(PROJ_ROOT_DIR)/../../prebuilt/openssl/lib/linux64
++OPENSSL_INC 		:= $(shell pkg-config --cflags libcrypto)
+ 
+ # JSON parser include dir
+ JSON_INC		:= $(QVL_DIR)/ThirdParty/rapidjson/include
+@@ -116,7 +113,7 @@ LIB_CPP_OBJECTS 	:= \
+ 	$(UTILS_CPP_FILES:.cpp=.o)
+ 
+ # include paths, local, parser and openssl
+-LIB_INCLUDE_PATHS	:= -I. -I$(PROJ_ROOT_DIR)/include -I$(OPENSSL_INC) -I$(JSON_INC) -I$(PARSERS_INC) -I$(PARSERS_COMM_INC) -I$(PARSERS_DIR) -I$(VER_DIR) -I$(PARSERS_UTIL_INC)
++LIB_INCLUDE_PATHS	:= -I. -I$(PROJ_ROOT_DIR)/include $(OPENSSL_INC) -I$(JSON_INC) -I$(PARSERS_INC) -I$(PARSERS_COMM_INC) -I$(PARSERS_DIR) -I$(VER_DIR) -I$(PARSERS_UTIL_INC)
+ 
+ # the library shared object name
+ LIB_NAME		:= libPCKCertSelection.so
+@@ -129,7 +126,7 @@ CXXFLAGS += -m64 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Werror -
+ CXXFLAGS += -UPCK_CERT_SELECTION_WITH_COMPONENT
+ 
+ # Link flags
+-LINK_FLAGS := -m64 -shared $(COMMON_LDFLAGS) -L$(OPENSSL_LIB) -lcrypto -lpthread -ldl
++LINK_FLAGS := -m64 -shared $(COMMON_LDFLAGS) -lcrypto -lpthread -ldl
+ LINK_FLAGS += -Wl,--version-script=pck_cert_selection.lds -Wl,--gc-sections
+ 
+ # Strip only in RELEASE builds
+diff --git a/tools/PCKCertSelection/PCKCertSelectionLib/Makefile.static_lib b/tools/PCKCertSelection/PCKCertSelectionLib/Makefile.static_lib
+index a20a3cd5..499ee94f 100644
+--- a/tools/PCKCertSelection/PCKCertSelectionLib/Makefile.static_lib
++++ b/tools/PCKCertSelection/PCKCertSelectionLib/Makefile.static_lib
+@@ -118,7 +118,7 @@ LIB_CPP_OBJECTS 	:= \
+ LIB_CPP_OBJECTS := $(addprefix $(BIN_DIR)/, $(LIB_CPP_OBJECTS))
+ 
+ # include paths, local, parser and openssl
+-LIB_INCLUDE_PATHS	:= -I. -I$(PROJ_ROOT_DIR)/include -I$(OPENSSL_INC) -I$(JSON_INC) -I$(PARSERS_INC) -I$(PARSERS_COMM_INC) -I$(PARSERS_DIR) -I$(VER_DIR) -I$(PARSERS_UTIL_INC)
++LIB_INCLUDE_PATHS	:= -I. -I$(PROJ_ROOT_DIR)/include $(shell pkg-config --cflags libcrypto) -I$(JSON_INC) -I$(PARSERS_INC) -I$(PARSERS_COMM_INC) -I$(PARSERS_DIR) -I$(VER_DIR) -I$(PARSERS_UTIL_INC)
+ 
+ # the library shared object name
+ LIB_NAME		:= libPCKCertSelection.a
+@@ -197,9 +197,6 @@ $(BIN_DIR)/%.o: $(UTILS_DIR)/%.cpp
+ $(LIB_NAME): $(LIB_CPP_OBJECTS)
+ 	$(PCKCERTSEL_VERBOSE)echo "Archiving..."
+ 	$(PCKCERTSEL_VERBOSE)$(AR) -rcs $(BIN_DIR)/$@ $^
+-	$(PCKCERTSEL_VERBOSE)@$(MKDIR) $(BIN_DIR)/.libcrypto
+-	$(PCKCERTSEL_VERBOSE)@$(RM) -f $(BIN_DIR)/.libcrypto/* && cd $(BIN_DIR)/.libcrypto && $(AR) x $(OPENSSL_LIB)/libcrypto.a
+-	$(PCKCERTSEL_VERBOSE)$(AR) qD $(BIN_DIR)/$@ $(BIN_DIR)/.libcrypto/*.o
+ 
+ debug:
+ 	$(PCKCERTSEL_VERBOSE)$(MAKE) DEBUG=1 all
+-- 
+2.56.0
+

diff --git a/0102-Support-build-time-setting-of-enclave-load-directory.patch b/0102-Support-build-time-setting-of-enclave-load-directory.patch
deleted file mode 100644
index 110917b..0000000
--- a/0102-Support-build-time-setting-of-enclave-load-directory.patch
+++ /dev/null
@@ -1,263 +0,0 @@
-From e858aab3d5dc1bc44e3c23bda566a14b83ddafbe Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= <berrange@redhat.com>
-Date: Mon, 26 Feb 2024 12:19:51 +0000
-Subject: [PATCH 102/122] Support build time setting of enclave load directory
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-The current code for loading enclaves (pce, id_enclave, qe3, tdqe, qve)
-tries to find the enclave file in the directory of the currently
-loaded library (as reported by dladdr), or in the directory of the
-current executable (as reported by /proc/self/exe).
-
-Neither of these approaches is sufficiently flexible to work with
-all Linux distro filesystem layout policies. In particular distros
-may desire to have a specific directory location exclusively for
-the shipping of enclaves, separate from any native libraries or
-executables.
-
-This introduces support for an "SGX_ENCLAVE_PATH" variable in the
-makefiles, which is used to define an SGX_ENCLAVE_PATH symbol in
-code.
-
-By default SGX_ENCLAVE_PATH path will get defined to an empty
-string at the C level and so current code behaviour will not
-be changed.
-
-If this is set though, then it will be used to locate the enclaves,
-with no fallback to searching relative to the library or binary.
-
-Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
----
- QuoteGeneration/pce_wrapper/linux/Makefile           |  2 +-
- QuoteGeneration/pce_wrapper/pce_wrapper.cpp          |  9 +++++++++
- QuoteGeneration/quote_wrapper/quote/linux/Makefile   |  2 +-
- QuoteGeneration/quote_wrapper/quote/qe_logic.cpp     |  9 +++++++++
- .../quote_wrapper/tdx_quote/linux/Makefile           |  2 +-
- .../quote_wrapper/tdx_quote/td_ql_logic.cpp          |  8 ++++++++
- QuoteVerification/appraisal/qal/Makefile             |  2 +-
- QuoteVerification/appraisal/qal/qae_wrapper.cpp      | 10 +++++++++-
- QuoteVerification/dcap_quoteverify/linux/Makefile    |  2 +-
- .../dcap_quoteverify/linux/qve_parser.cpp            |  8 ++++++++
- tools/PCKRetrievalTool/App/utility.cpp               | 12 +++++++++++-
- tools/PCKRetrievalTool/Makefile                      |  2 +-
- 12 files changed, 60 insertions(+), 8 deletions(-)
-
-diff --git a/QuoteGeneration/pce_wrapper/linux/Makefile b/QuoteGeneration/pce_wrapper/linux/Makefile
-index 7c10e9b9..6d4cad7f 100644
---- a/QuoteGeneration/pce_wrapper/linux/Makefile
-+++ b/QuoteGeneration/pce_wrapper/linux/Makefile
-@@ -15,7 +15,7 @@ INCLUDE += -I$(ROOT_DIR)/../ae/dep/common \
-            -I$(ROOT_DIR)/../ae/dep/inc    \
-            -I$(ROOT_DIR)/../ae/dep/inc/internal
- 
--CXXFLAGS += -fPIC -Werror -g
-+CXXFLAGS += -fPIC -Werror -g -DSGX_ENCLAVE_PATH="\"$(SGX_ENCLAVE_PATH)\""
- CFLAGS += -fPIC -Werror -g
- Link_Flags := $(SGX_COMMON_CFLAGS) -L$(ROOT_DIR)/build/linux -L$(SGX_SDK)/lib64 -lsgx_urts -lpthread -ldl
- 
-diff --git a/QuoteGeneration/pce_wrapper/pce_wrapper.cpp b/QuoteGeneration/pce_wrapper/pce_wrapper.cpp
-index e989c8ad..328d35bf 100644
---- a/QuoteGeneration/pce_wrapper/pce_wrapper.cpp
-+++ b/QuoteGeneration/pce_wrapper/pce_wrapper.cpp
-@@ -88,6 +88,15 @@ bool get_pce_path(
-         p_file_path[buf_size - 1] = '\0';  //null terminate the string
-         return true;
-     }
-+    else if (*SGX_ENCLAVE_PATH)
-+    {
-+        if ((strlen(SGX_ENCLAVE_PATH) + 1 + strlen(PCE_ENCLAVE_NAME) + 1) > buf_size) {
-+            return false;
-+        }
-+        strcpy(p_file_path, SGX_ENCLAVE_PATH);
-+        strcat(p_file_path, "/");
-+        strcat(p_file_path, PCE_ENCLAVE_NAME);
-+    }
-     else if(0 != dladdr(__builtin_return_address(0), &dl_info) &&
-         NULL != dl_info.dli_fname)
-     {
-diff --git a/QuoteGeneration/quote_wrapper/quote/linux/Makefile b/QuoteGeneration/quote_wrapper/quote/linux/Makefile
-index 74b17213..049710e1 100644
---- a/QuoteGeneration/quote_wrapper/quote/linux/Makefile
-+++ b/QuoteGeneration/quote_wrapper/quote/linux/Makefile
-@@ -26,7 +26,7 @@ Quote_Include_Paths := -I$(SGX_SDK)/include -I../inc -I../../common/inc -I./ -I$
- 
- Quote_C_Flags := $(COMMON_FLAGS) -g -fPIC -Werror -Wno-attributes $(Quote_Include_Paths)
- 
--Quote_Cpp_Flags := $(Quote_C_Flags)
-+Quote_Cpp_Flags := $(Quote_C_Flags) -DSGX_ENCLAVE_PATH="\"$(SGX_ENCLAVE_PATH)\""
- Quote_Link_Flags := $(COMMON_LDFLAGS) -g -pthread -L$(ROOT_DIR)/build/linux -L$(SGX_SDK)/lib64 -lsgx_urts -lpthread -ldl
- 
- ifndef DEBUG
-diff --git a/QuoteGeneration/quote_wrapper/quote/qe_logic.cpp b/QuoteGeneration/quote_wrapper/quote/qe_logic.cpp
-index f8b41774..883dc53c 100644
---- a/QuoteGeneration/quote_wrapper/quote/qe_logic.cpp
-+++ b/QuoteGeneration/quote_wrapper/quote/qe_logic.cpp
-@@ -542,6 +542,15 @@ get_qe_path(const TCHAR *p_file_name,
-         p_file_path[buf_size - 1] = '\0';  //null terminate the string
-         return true;
-     }
-+    else if (*SGX_ENCLAVE_PATH)
-+    {
-+        if ((strlen(SGX_ENCLAVE_PATH) + 1 + strlen(p_file_name) + 1) > buf_size) {
-+            return false;
-+        }
-+        strcpy(p_file_path, SGX_ENCLAVE_PATH);
-+        strcat(p_file_path, "/");
-+        strcat(p_file_path, p_file_name);
-+    }
-     else if(0 != dladdr(__builtin_return_address(0), &dl_info) &&
-         NULL != dl_info.dli_fname)
-     {
-diff --git a/QuoteGeneration/quote_wrapper/tdx_quote/linux/Makefile b/QuoteGeneration/quote_wrapper/tdx_quote/linux/Makefile
-index 8d99f73c..0ba1306e 100644
---- a/QuoteGeneration/quote_wrapper/tdx_quote/linux/Makefile
-+++ b/QuoteGeneration/quote_wrapper/tdx_quote/linux/Makefile
-@@ -31,7 +31,7 @@ Quote_Include_Paths := -I$(SGX_SDK)/include -I../inc -I../../common/inc -I./ \
- 
- Quote_C_Flags := $(CFLAGS) -g -MMD -fPIC -Werror -Wno-attributes $(Quote_Include_Paths)
- 
--Quote_Cpp_Flags := $(CXXFLAGS) -g -MMD -fPIC -Werror -Wno-attributes $(Quote_Include_Paths)
-+Quote_Cpp_Flags := $(CXXFLAGS) -g -MMD -fPIC -Werror -Wno-attributes $(Quote_Include_Paths) -DSGX_ENCLAVE_PATH="\"$(SGX_ENCLAVE_PATH)\""
- Quote_Link_Flags := $(COMMON_LDFLAGS) -g -L$(ROOT_DIR)/build/linux \
-                     -L$(PCE_Library_Dir) -lsgx_pce_logic -L$(SGX_SDK)/lib64 \
- 					-lsgx_urts -lpthread -ldl
-diff --git a/QuoteGeneration/quote_wrapper/tdx_quote/td_ql_logic.cpp b/QuoteGeneration/quote_wrapper/tdx_quote/td_ql_logic.cpp
-index 391b27ef..222f194d 100644
---- a/QuoteGeneration/quote_wrapper/tdx_quote/td_ql_logic.cpp
-+++ b/QuoteGeneration/quote_wrapper/tdx_quote/td_ql_logic.cpp
-@@ -371,6 +371,14 @@ bool tee_att_config_t::get_qe_path(tee_att_ae_type_t type,
-         p_file_path[len] = '\0';  //null terminate the string
-         return true;
-     }
-+    else if (*SGX_ENCLAVE_PATH) {
-+        if ((strlen(SGX_ENCLAVE_PATH) + 1 + strlen(p_file_name) + 1) > buf_size) {
-+            return false;
-+        }
-+        strcpy(p_file_path, SGX_ENCLAVE_PATH);
-+        strcat(p_file_path, "/");
-+        strcat(p_file_path, p_file_name);
-+    }
-     else if(0 != dladdr(__builtin_return_address(0), &dl_info) &&
-         NULL != dl_info.dli_fname)
-     {
-diff --git a/QuoteVerification/appraisal/qal/Makefile b/QuoteVerification/appraisal/qal/Makefile
-index 2d61c217..76aec839 100644
---- a/QuoteVerification/appraisal/qal/Makefile
-+++ b/QuoteVerification/appraisal/qal/Makefile
-@@ -22,7 +22,7 @@ QAL_Include_Path := -I$(SGX_SDK)/include \
-                 -I../common/ \
-                 -I$(RAPIDJSON_DIR)/
- 
--QAL_Cpp_Flags := $(CXXFLAGS) -g -fPIC $(QAL_Include_Path)
-+QAL_Cpp_Flags := $(CXXFLAGS) -g -fPIC $(QAL_Include_Path) -DSGX_ENCLAVE_PATH="\"$(SGX_ENCLAVE_PATH)\""
- QAL_C_Flags := $(CFLAGS) -g -fPIC $(QAL_Include_Path)
- 
- QAL_Link_Flags := $(COMMON_LDFLAGS) -L$(WARM_Lib_Path) -lvmlib  -ldl -lm -lpthread \
-diff --git a/QuoteVerification/appraisal/qal/qae_wrapper.cpp b/QuoteVerification/appraisal/qal/qae_wrapper.cpp
-index f8035171..1d2cd07d 100644
---- a/QuoteVerification/appraisal/qal/qae_wrapper.cpp
-+++ b/QuoteVerification/appraisal/qal/qae_wrapper.cpp
-@@ -82,6 +82,14 @@ static bool get_qae_path(
-         p_file_path[buf_size - 1] = '\0'; // null terminate the string
-         return true;
-     }
-+    else if (*SGX_ENCLAVE_PATH)
-+    {
-+        if ((strlen(SGX_ENCLAVE_PATH) + 1 + 1) > buf_size) {
-+            return false;
-+        }
-+        (void)strcpy(p_file_path, SGX_ENCLAVE_PATH);
-+        (void)strcat(p_file_path, "/");
-+    }
-     else if (0 != dladdr(__builtin_return_address(0), &dl_info) &&
-              NULL != dl_info.dli_fname)
-     {
-@@ -337,4 +345,4 @@ quote3_error_t ecall_authenticate_policy_owner(sgx_enclave_id_t eid,
-             retval = SGX_QL_ERROR_UNEXPECTED;
-     }
-     return retval;
--}
-\ No newline at end of file
-+}
-diff --git a/QuoteVerification/dcap_quoteverify/linux/Makefile b/QuoteVerification/dcap_quoteverify/linux/Makefile
-index 69efa28e..3a5cd05c 100644
---- a/QuoteVerification/dcap_quoteverify/linux/Makefile
-+++ b/QuoteVerification/dcap_quoteverify/linux/Makefile
-@@ -33,7 +33,7 @@ QVL_VERIFY_INC	:= -I$(QVE_SRC_PATH)/Include \
- QPL_BASE64_CPP_DEP	:= $(DCAP_QPL_DIR)/sgx_base64.d
- 
- SGX_COMMON_CFLAGS	+= $(CFLAGS) -g -fPIC -Wno-attributes -USGX_TRUSTED
--SGX_COMMON_CXXFLAGS	+= $(CXXFLAGS) -g -fPIC -USGX_TRUSTED
-+SGX_COMMON_CXXFLAGS	+= $(CXXFLAGS) -g -fPIC -USGX_TRUSTED -DSGX_ENCLAVE_PATH="\"$(SGX_ENCLAVE_PATH)\""
- 
- ifeq ($(CC_NO_LESS_THAN_8), 1)
-     SGX_COMMON_CFLAGS += -fcf-protection=none
-diff --git a/QuoteVerification/dcap_quoteverify/linux/qve_parser.cpp b/QuoteVerification/dcap_quoteverify/linux/qve_parser.cpp
-index e50fab0b..856de23f 100644
---- a/QuoteVerification/dcap_quoteverify/linux/qve_parser.cpp
-+++ b/QuoteVerification/dcap_quoteverify/linux/qve_parser.cpp
-@@ -65,6 +65,14 @@ bool get_qve_path(
-         p_file_path[buf_size - 1] = '\0';  //null terminate the string
-         return true;
-     }
-+    else if (*SGX_ENCLAVE_PATH)
-+    {
-+        if ((strlen(SGX_ENCLAVE_PATH) + 1 + 1) > buf_size) {
-+            return false;
-+        }
-+        (void)strcpy(p_file_path, SGX_ENCLAVE_PATH);
-+        (void)strcat(p_file_path, "/");
-+    }
-     else if(0 != dladdr(__builtin_return_address(0), &dl_info) &&
-         NULL != dl_info.dli_fname)
-     {
-diff --git a/tools/PCKRetrievalTool/App/utility.cpp b/tools/PCKRetrievalTool/App/utility.cpp
-index ec19122d..634ad27b 100644
---- a/tools/PCKRetrievalTool/App/utility.cpp
-+++ b/tools/PCKRetrievalTool/App/utility.cpp
-@@ -214,9 +214,9 @@ bool load_enclave(const char* enclave_name, sgx_enclave_id_t* p_eid)
-     char enclave_path[ProgPathBufferSize] = "";
- #endif
- 
-+#if defined(_MSC_VER)    
-     if (!get_program_path(enclave_path, ProgPathBufferSize))
-         return false;
--#if defined(_MSC_VER)    
-     if (_tcsnlen(enclave_path, ProgPathBufferSize) + _tcsnlen(enclave_name, ProgPathBufferSize) + sizeof(char) > ProgPathBufferSize)
-         return false;
-     (void)_tcscat_s(enclave_path, ProgPathBufferSize, enclave_name);
-@@ -227,6 +227,16 @@ bool load_enclave(const char* enclave_name, sgx_enclave_id_t* p_eid)
-     sgx_create_enclave_func_t p_sgx_create_enclave = (sgx_create_enclave_func_t)FINDFUNCTIONSYM(sgx_urts_handle, "sgx_create_enclavea");
- #endif
- #else
-+    if (*SGX_ENCLAVE_PATH) {
-+        if ((strlen(SGX_ENCLAVE_PATH) + 1 + 1) > ProgPathBufferSize) {
-+            return false;
-+        }
-+        (void)strcpy(enclave_path, SGX_ENCLAVE_PATH);
-+        (void)strcat(enclave_path, "/");
-+    } else {
-+        if (!get_program_path(enclave_path, ProgPathBufferSize))
-+            return false;
-+    }
-     if (strnlen(enclave_path, ProgPathBufferSize) + strnlen(enclave_name, ProgPathBufferSize) + sizeof(char) > ProgPathBufferSize)
-         return false;
-     (void)strncat(enclave_path, enclave_name, strnlen(enclave_name, ProgPathBufferSize));
-diff --git a/tools/PCKRetrievalTool/Makefile b/tools/PCKRetrievalTool/Makefile
-index 8ff58b8a..22251bfa 100644
---- a/tools/PCKRetrievalTool/Makefile
-+++ b/tools/PCKRetrievalTool/Makefile
-@@ -74,7 +74,7 @@ App_Include_Paths += -I ../../QuoteGeneration/common/inc/internal
- App_Include_Paths += -I ../../ae/dep/inc/internal -I ../SGXPlatformRegistration/include
- 
- App_C_Flags := $(COMMON_FLAGS) $(CFLAGS) $(App_Include_Paths)
--App_Cpp_Flags := $(COMMON_FLAGS) $(CXXFLAGS) $(App_Include_Paths)
-+App_Cpp_Flags := $(COMMON_FLAGS) $(CXXFLAGS) $(App_Include_Paths) -DSGX_ENCLAVE_PATH="\"$(SGX_ENCLAVE_PATH)\""
- 
- App_Link_Flags := $(SGX_COMMON_CFLAGS) -Wl,-z,relro,-z,now,-z,noexecstack
- App_Link_Flags +=  -lcurl -ldl -lpthread
--- 
-2.55.0
-

diff --git a/0103-Improve-debuggability-of-build-system.patch b/0103-Improve-debuggability-of-build-system.patch
new file mode 100644
index 0000000..46ddcb2
--- /dev/null
+++ b/0103-Improve-debuggability-of-build-system.patch
@@ -0,0 +1,224 @@
+From c253ad7a502bdc007879612366970c7b5435a4c1 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= <berrange@redhat.com>
+Date: Fri, 1 Mar 2024 12:05:01 +0000
+Subject: [PATCH 103/121] Improve debuggability of build system
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Preserve make args by using $(MAKE).
+Don't hide commands that are run, so compiler flags are visible.
+
+Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
+---
+ QuoteGeneration/qcnl/linux/Makefile           |  2 +-
+ QuoteVerification/appraisal/qal/Makefile      |  2 +-
+ .../dcap_quoteverify/linux/Makefile           | 28 +++++++++----------
+ ae/QvE/Makefile                               | 26 ++++++++---------
+ 4 files changed, 29 insertions(+), 29 deletions(-)
+
+diff --git a/QuoteGeneration/qcnl/linux/Makefile b/QuoteGeneration/qcnl/linux/Makefile
+index b97e2019..5d9a3987 100644
+--- a/QuoteGeneration/qcnl/linux/Makefile
++++ b/QuoteGeneration/qcnl/linux/Makefile
+@@ -86,7 +86,7 @@ $(CNL_Lib_Name_Static): $(CNL_Lib_Cpp_Objects) $(CNL_Lib_C_Objects) $(PCK_Select
+ 	$(AR) rsD $(CNL_Lib_Name_Static) $(CNL_Lib_Cpp_Objects) $(CNL_Lib_C_Objects) $(PCK_Selection_Cpp_Objects)
+ 
+ $(PCK_Selection_Lib_Static):
+-	+$(MAKE) -C ../../../tools/PCKCertSelection/PCKCertSelectionLib -f Makefile.static_lib
++	$(MAKE) -C ../../../tools/PCKCertSelection/PCKCertSelectionLib -f Makefile.static_lib VERBOSE=1
+ force_look:
+ 	true
+ 
+diff --git a/QuoteVerification/appraisal/qal/Makefile b/QuoteVerification/appraisal/qal/Makefile
+index 37068032..20387c9d 100644
+--- a/QuoteVerification/appraisal/qal/Makefile
++++ b/QuoteVerification/appraisal/qal/Makefile
+@@ -103,7 +103,7 @@ $(QAL_CXX_Common_Objs): %.o: ../common/%.cpp
+ 	$(CXX) $(QAL_Cpp_Flags) -c $< -o $@
+ 
+ wasm_lib:
+-	test -f $(WARM_Lib_Path)/libiwasm.a || ($(MKDIR) $(WARM_Lib_Path) && cd $(WARM_Lib_Path) && cmake .. $(WASM_CONFIG) && $(MAKE) vmlib)
++	test -f $(WARM_Lib_Path)/libiwasm.a || ($(MKDIR) $(WARM_Lib_Path) && cd $(WARM_Lib_Path) && cmake .. $(WASM_CONFIG) && $(MAKE) vmlib VERBOSE=1)
+ 
+ clean:
+ 	$(RM) $(QAL_Obj_Files) $(Target_Lib_Name) $(Target_Lib_Name).$(SGX_MAJOR_VER) $(Target_Static_Lib_Name) $(BUILD_DIR)/$(Target_Lib_Name) $(QVL_Cpp_Obj_Files)
+diff --git a/QuoteVerification/dcap_quoteverify/linux/Makefile b/QuoteVerification/dcap_quoteverify/linux/Makefile
+index a8022f00..0afa7725 100644
+--- a/QuoteVerification/dcap_quoteverify/linux/Makefile
++++ b/QuoteVerification/dcap_quoteverify/linux/Makefile
+@@ -94,12 +94,12 @@ $(BUILD_DIR):
+ 	@$(MKDIR) $@
+ 
+ install_lib: $(QVL_VERIFY_LIB_NAME_Dynamic) | $(BUILD_DIR)
+-	@$(CP) $(QVL_VERIFY_LIB_NAME_Dynamic) $|/$(QVL_VERIFY_LIB_NAME_Dynamic_Full)
+-	@$(LN) $(QVL_VERIFY_LIB_NAME_Dynamic_Full) $|/$(QVL_VERIFY_LIB_NAME_Dynamic_Major)
+-	@$(LN) $(QVL_VERIFY_LIB_NAME_Dynamic_Major) $|/$(QVL_VERIFY_LIB_NAME_Dynamic)
++	$(CP) $(QVL_VERIFY_LIB_NAME_Dynamic) $|/$(QVL_VERIFY_LIB_NAME_Dynamic_Full)
++	$(LN) $(QVL_VERIFY_LIB_NAME_Dynamic_Full) $|/$(QVL_VERIFY_LIB_NAME_Dynamic_Major)
++	$(LN) $(QVL_VERIFY_LIB_NAME_Dynamic_Major) $|/$(QVL_VERIFY_LIB_NAME_Dynamic)
+ 
+ ifeq ($(GEN_STATIC),1)
+-	+@$(MAKE) $(QVL_VERIFY_LIB_NAME_Static)
++	$(MAKE) $(QVL_VERIFY_LIB_NAME_Static)
+ 	@$(CP) $(QVL_VERIFY_LIB_NAME_Static) $|
+ endif
+ 
+@@ -109,13 +109,13 @@ run: all
+ ######## QVL Library Objects ########
+ 
+ qve_u.h: $(QVE_SRC_PATH)/qve/qve.edl $(SGX_EDGER8R)
+-	@$(SGX_EDGER8R) --untrusted $< $(addprefix --search-path ,$(QVE_SRC_PATH)/qve $(SGX_SDK)/include $(addprefix $(SGXSSL_PACKAGE_PATH)/include/,. $(if $(FIPS),,no)filefunc))
++	$(SGX_EDGER8R) --untrusted $< $(addprefix --search-path ,$(QVE_SRC_PATH)/qve $(SGX_SDK)/include $(addprefix $(SGXSSL_PACKAGE_PATH)/include/,. $(if $(FIPS),,no)filefunc))
+ 	@echo "GEN  =>  $@"
+ 
+ qve_u.c : qve_u.h
+ 
+ $(QVL_VERIFY_C_OBJS): %.o: %.c qve_u.c
+-	@$(CC) $(SGX_COMMON_CFLAGS) $(QVL_VERIFY_INC) -c $< -o $@
++	$(CC) $(SGX_COMMON_CFLAGS) $(QVL_VERIFY_INC) -c $< -o $@
+ 	@echo "CC  <=  $<"
+ 
+ -include $(QPL_BASE64_CPP_DEP)
+@@ -129,15 +129,15 @@ ec_key.o: $(DCAP_QV_DIR)/appraisal/common/ec_key.cpp
+ 	@echo "CXX  <=  $<"
+ 
+ $(QVL_VERIFY_CPP_OBJS): %.o: %.cpp qve_u.h
+-	@$(CXX) $(SGX_COMMON_CXXFLAGS) $(QVL_VERIFY_INC) -c $< -o $@
++	$(CXX) $(SGX_COMMON_CXXFLAGS) $(QVL_VERIFY_INC) -c $< -o $@
+ 	@echo "CXX  <=  $<"
+ 
+ $(QVL_VERIFY_CPP_OBJS_STATIC): %_s.o: %.cpp qve_u.h
+-	@$(CXX) -DGEN_STATIC $(SGX_COMMON_CXXFLAGS) $(QVL_VERIFY_INC) -c $< -o $@
++	$(CXX) -DGEN_STATIC $(SGX_COMMON_CXXFLAGS) $(QVL_VERIFY_INC) -c $< -o $@
+ 	@echo "CXX  <=  $<"
+ 
+ $(QVE_CPP_OBJ): $(QVE_CPP_SRC)
+-	@$(CXX) $(SGX_COMMON_CXXFLAGS) $(QVL_VERIFY_INC) -c $< -o $(QVE_CPP_OBJ)
++	$(CXX) $(SGX_COMMON_CXXFLAGS) $(QVL_VERIFY_INC) -c $< -o $(QVE_CPP_OBJ)
+ 	@echo "CXX  <=  $<"
+ 
+ $(QVE_LOGIC_CPP_OBJ): $(QVE_LOGIC_CPP_SRC)
+@@ -145,18 +145,18 @@ $(QVE_LOGIC_CPP_OBJ): $(QVE_LOGIC_CPP_SRC)
+ 	@echo "CXX  <=  $<"
+ 
+ $(QVL_LIB_OBJS): %_untrusted.o: %.cpp
+-	@$(CXX) $(SGX_COMMON_CXXFLAGS) $(QVL_LIB_INC) -c $< -o $@
++	$(CXX) $(SGX_COMMON_CXXFLAGS) $(QVL_LIB_INC) -c $< -o $@
+ 	@echo "CXX  <=  $<"
+ 
+ $(QVL_PARSER_OBJS): %_untrusted.o: %.cpp
+-	@$(CXX) $(SGX_COMMON_CXXFLAGS) $(QVL_PARSER_INC) -c $< -o $@
++	$(CXX) $(SGX_COMMON_CXXFLAGS) $(QVL_PARSER_INC) -c $< -o $@
+ 	@echo "CXX  <=  $<"
+ 
+ $(QVL_LIB_NAME): $(QVL_LIB_OBJS)
+-	@$(AR) rsD $(QVL_LIB_NAME) $(QVL_LIB_OBJS)
++	$(AR) rsD $(QVL_LIB_NAME) $(QVL_LIB_OBJS)
+ 
+ $(QVL_PARSER_NAME): $(QVL_PARSER_OBJS)
+-	@$(AR) rsD $(QVL_PARSER_NAME) $(QVL_PARSER_OBJS)
++	$(AR) rsD $(QVL_PARSER_NAME) $(QVL_PARSER_OBJS)
+ 
+ 
+ $(QVL_VERIFY_LIB_NAME_Dynamic): $(QVL_VERIFY_CPP_OBJS) $(QVL_VERIFY_C_OBJS) $(QVE_CPP_OBJ) $(QVE_LOGIC_CPP_OBJ) $(QVL_LIB_NAME) $(QVL_PARSER_NAME) $(QVL_LIB_COMMON_OBJS) qal
+@@ -164,7 +164,7 @@ $(QVL_VERIFY_LIB_NAME_Dynamic): $(QVL_VERIFY_CPP_OBJS) $(QVL_VERIFY_C_OBJS) $(QV
+ 	@ln -sf $(QVL_VERIFY_LIB_NAME_Dynamic) $(QVL_VERIFY_LIB_NAME_Dynamic).1
+ 
+ $(QVL_VERIFY_LIB_NAME_Static): $(QVL_VERIFY_CPP_OBJS_STATIC) $(QVL_VERIFY_C_OBJS) $(QVE_CPP_OBJ) $(QVE_LOGIC_CPP_OBJ) $(QVL_LIB_NAME) $(QVL_PARSER_NAME) $(QVL_LIB_COMMON_OBJS)
+-	@$(AR) rsD $(QVL_VERIFY_LIB_NAME_Static) $(QVL_VERIFY_CPP_OBJS_STATIC) $(QVL_VERIFY_C_OBJS) $(QVE_CPP_OBJ) $(QVE_LOGIC_CPP_OBJ) $(QVL_LIB_COMMON_OBJS)
++	$(AR) rsD $(QVL_VERIFY_LIB_NAME_Static) $(QVL_VERIFY_CPP_OBJS_STATIC) $(QVL_VERIFY_C_OBJS) $(QVE_CPP_OBJ) $(QVE_LOGIC_CPP_OBJ) $(QVL_LIB_COMMON_OBJS)
+ 
+ .PHONY: qal
+ qal:
+diff --git a/ae/QvE/Makefile b/ae/QvE/Makefile
+index 155c0e26..cab19963 100644
+--- a/ae/QvE/Makefile
++++ b/ae/QvE/Makefile
+@@ -138,37 +138,37 @@ PREPARE_SGXSSL := ../../QuoteVerification/prepare_sgxssl.sh
+ SGXSSL_HEADER_CHECK := $(SGXSSL_PACKAGE_PATH)/include/openssl/opensslconf.h
+ PREPARE_SGX_SSL:
+ ifdef SERVTD_ATTEST
+-	@test -f $(SGXSSL_PACKAGE_PATH)/lib64/lib$(SGXSSL_TCRYPTO).a && test -f $(SGXSSL_PACKAGE_PATH)/lib64/lib$(SGXSSL_TLIB).a && test -f $(SGXSSL_HEADER_CHECK) || export MAKE_PARALLEL_JOBS=$(MAKE_PARALLEL_JOBS); $(PREPARE_SGXSSL) SERVTD_ATTEST
++	test -f $(SGXSSL_PACKAGE_PATH)/lib64/lib$(SGXSSL_TCRYPTO).a && test -f $(SGXSSL_PACKAGE_PATH)/lib64/lib$(SGXSSL_TLIB).a && test -f $(SGXSSL_HEADER_CHECK) || export MAKE_PARALLEL_JOBS=$(MAKE_PARALLEL_JOBS); $(PREPARE_SGXSSL) SERVTD_ATTEST
+ else
+-	@test -f $(SGXSSL_PACKAGE_PATH)/lib64/lib$(SGXSSL_TCRYPTO).a && test -f $(SGXSSL_PACKAGE_PATH)/lib64/lib$(SGXSSL_TLIB).a && test -f $(SGXSSL_HEADER_CHECK) || export MAKE_PARALLEL_JOBS=$(MAKE_PARALLEL_JOBS); $(PREPARE_SGXSSL) $(if $(FIPS),FIPS)
++	test -f $(SGXSSL_PACKAGE_PATH)/lib64/lib$(SGXSSL_TCRYPTO).a && test -f $(SGXSSL_PACKAGE_PATH)/lib64/lib$(SGXSSL_TLIB).a && test -f $(SGXSSL_HEADER_CHECK) || export MAKE_PARALLEL_JOBS=$(MAKE_PARALLEL_JOBS); $(PREPARE_SGXSSL) $(if $(FIPS),FIPS)
+ endif
+ 
+ $(SGXSSL_HEADER_CHECK): PREPARE_SGX_SSL
+ 
+ install_lib: $(SIGNED_QVE_NAME) | $(BUILD_DIR)
+-	 @$(CP) $(SIGNED_QVE_NAME) $(BUILD_DIR)
++	$(CP) $(SIGNED_QVE_NAME) $(BUILD_DIR)
+ 
+ ######## Enclave Objects ########
+ 
+ ifndef SERVTD_ATTEST
+ $(QVE_DIR)/sgx_base64.o: $(DCAP_QPL_DIR)/sgx_base64.cpp
+-	@$(CXX) $(ENCLAVE_CXXFLAGS) $(QVL_LIB_INC) -c $< -o $@
++	$(CXX) $(ENCLAVE_CXXFLAGS) $(QVL_LIB_INC) -c $< -o $@
+ 	@echo "CXX  <=  $<"
+ $(QVE_DIR)/ec_key.o: $(DCAP_QV_DIR)/appraisal/common/ec_key.cpp
+-	@$(CXX) $(ENCLAVE_CXXFLAGS) $(QVL_LIB_INC) -c $< -o $@
++	$(CXX) $(ENCLAVE_CXXFLAGS) $(QVL_LIB_INC) -c $< -o $@
+ 	@echo "CXX  <=  $<"
+ endif
+ 
+ $(QVL_LIB_OBJS): %.o: %.cpp $(SGXSSL_HEADER_CHECK)
+ ifdef SERVTD_ATTEST
+-	@$(CXX) -DSERVTD_ATTEST $(ENCLAVE_CXXFLAGS) $(QVL_LIB_INC) -c $< -o $@
++	$(CXX) -DSERVTD_ATTEST $(ENCLAVE_CXXFLAGS) $(QVL_LIB_INC) -c $< -o $@
+ else
+-	@$(CXX) $(ENCLAVE_CXXFLAGS) $(QVL_LIB_INC) -c $< -o $@
++	$(CXX) $(ENCLAVE_CXXFLAGS) $(QVL_LIB_INC) -c $< -o $@
+ endif
+ 	@echo "CXX  <=  $<"
+ 
+ $(QVL_PARSER_OBJS): %.o: %.cpp $(SGXSSL_HEADER_CHECK)
+-	@$(CXX) $(ENCLAVE_CXXFLAGS) $(QVL_PARSER_INC) -c $< -o $@
++	$(CXX) $(ENCLAVE_CXXFLAGS) $(QVL_PARSER_INC) -c $< -o $@
+ 	@echo "CXX  <=  $<"
+ 
+ ifndef SERVTD_ATTEST
+@@ -179,7 +179,7 @@ $(QVE_DIR)/qve_t.h: $(QVE_DIR)/qve.edl $(SGX_EDGER8R)
+ $(QVE_DIR)/qve_t.c: $(QVE_DIR)/qve_t.h
+ 
+ $(QVE_DIR)/qve_t.o: $(QVE_DIR)/qve_t.c
+-	@$(CC) $(SGX_COMMON_CFLAGS) $(ENCLAVE_CFLAGS) -c $< -o $@
++	$(CC) $(SGX_COMMON_CFLAGS) $(ENCLAVE_CFLAGS) -c $< -o $@
+ 	@echo "CC   <=  $<"
+ endif
+ 
+@@ -188,7 +188,7 @@ $(QVE_DIR)/%.o: $(QVE_DIR)/%.cpp $(SGXSSL_HEADER_CHECK)
+ else
+ $(QVE_DIR)/%.o: $(QVE_DIR)/%.cpp $(QVE_DIR)/qve_t.h $(SGXSSL_HEADER_CHECK)
+ endif
+-	@$(CXX) $(SGX_COMMON_CXXFLAGS) $(ENCLAVE_CXXFLAGS) $(if $(FIPS),-DSGXSSL_FIPS) $(QVL_LIB_INC) -I$(QVL_SRC_PATH) -c $< -o $@
++	$(CXX) $(SGX_COMMON_CXXFLAGS) $(ENCLAVE_CXXFLAGS) $(if $(FIPS),-DSGXSSL_FIPS) $(QVL_LIB_INC) -I$(QVL_SRC_PATH) -c $< -o $@
+ 	@echo "CXX  <=  $<"
+ 
+ ifdef SERVTD_ATTEST
+@@ -209,16 +209,16 @@ endif
+ ifdef SERVTD_ATTEST
+ $(QVE_NAME): $(QVE_OBJS) $(QVL_PARSER_OBJS) $(QVL_LIB_OBJS)
+ 	if [ ! -d "$(SERVTD_ATTEST_BUILD_DIR)" ]; then mkdir -p '$(SERVTD_ATTEST_BUILD_DIR)';fi
+-	@$(CXX) $^ -shared -o $(SERVTD_ATTEST_BUILD_DIR)/$@ $(ENCLAVE_LDFLAGS) $(ENCLAVE_CXXFLAGS)
++	$(CXX) $^ -shared -o $(SERVTD_ATTEST_BUILD_DIR)/$@ $(ENCLAVE_LDFLAGS) $(ENCLAVE_CXXFLAGS)
+ else
+ $(QVE_NAME): $(QVE_OBJS) $(QVE_DIR)/qve_t.o $(QVL_PARSER_OBJS) $(QVL_LIB_OBJS) $(QVL_LIB_COMMON_OBJS)
+-	@$(CXX) $^ -o $@ $(ENCLAVE_LDFLAGS) $(ENCLAVE_CXXFLAGS) -Wl,-soname=${SIGNED_QVE_NAME}.$(call get_major_version,QVE_VERSION)
++	$(CXX) $^ -o $@ $(ENCLAVE_LDFLAGS) $(ENCLAVE_CXXFLAGS) -Wl,-soname=${SIGNED_QVE_NAME}.$(call get_major_version,QVE_VERSION)
+ 	$(STRIP) --strip-unneeded --remove-section=.comment --remove-section=.note $@
+ endif
+ 	@echo "LINK =>  $@"
+ 
+ $(SIGNED_QVE_NAME): $(QVE_NAME) $(QVE_CONFIG_FILE)
+-	@$(SGX_ENCLAVE_SIGNER) sign -key $(QVE_DIR)/../../dep/dcap_ae_test_key.pem -enclave $< -out $@ -config $(QVE_CONFIG_FILE)
++	$(SGX_ENCLAVE_SIGNER) sign -key $(QVE_DIR)/../../dep/dcap_ae_test_key.pem -enclave $< -out $@ -config $(QVE_CONFIG_FILE)
+ 	@echo "SIGN =>  $@"
+ 
+ print-% : ; @echo $* = $($*)
+-- 
+2.56.0
+

diff --git a/0103-Look-for-versioned-sgx_urts-library-in-PCKRetrievalT.patch b/0103-Look-for-versioned-sgx_urts-library-in-PCKRetrievalT.patch
deleted file mode 100644
index 1cc990e..0000000
--- a/0103-Look-for-versioned-sgx_urts-library-in-PCKRetrievalT.patch
+++ /dev/null
@@ -1,44 +0,0 @@
-From f29ac8420ddeb252e01ce2c9e8b42cd61a703448 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= <berrange@redhat.com>
-Date: Tue, 27 Feb 2024 15:46:41 +0000
-Subject: [PATCH 103/122] Look for versioned sgx_urts library in
- PCKRetrievalTool
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Other code is already looking for the versioned library soname,
-so switch to that for PCKRetrievalTool too. The unversioned
-library is typically only installed by -devel packages, not the
-runtime package.
-
-Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
----
- tools/PCKRetrievalTool/App/utility.cpp | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/tools/PCKRetrievalTool/App/utility.cpp b/tools/PCKRetrievalTool/App/utility.cpp
-index 634ad27b..9fc1fe1d 100644
---- a/tools/PCKRetrievalTool/App/utility.cpp
-+++ b/tools/PCKRetrievalTool/App/utility.cpp
-@@ -59,7 +59,7 @@ typedef sgx_status_t (SGXAPI *sgx_create_enclave_func_t)(const LPCSTR file_name,
- #else
- #define PCE_ENCLAVE_NAME  "libsgx_pce.signed.so.1"
- #define ID_ENCLAVE_NAME   "libsgx_id_enclave.signed.so.1"
--#define SGX_URTS_LIBRARY "libsgx_urts.so"             
-+#define SGX_URTS_LIBRARY "libsgx_urts.so.2"
- #define SGX_MULTI_PACKAGE_AGENT_UEFI_LIBRARY "libmpa_uefi.so.1"
- #define FINDFUNCTIONSYM   dlsym
- #define CLOSELIBRARYHANDLE  dlclose
-@@ -181,7 +181,7 @@ bool get_urts_library_handle()
- #else
-     sgx_urts_handle = dlopen(SGX_URTS_LIBRARY, RTLD_LAZY);
-     if (sgx_urts_handle == NULL) {
--        printf("ERROR: didn't find the sgx_urts.so library, please make sure you have installed sgx_urts installer package. \n");
-+        printf("ERROR: didn't find the " SGX_URTS_LIBRARY " library, please make sure you have installed sgx_urts installer package. \n");
-         return false;
-     }
- #endif
--- 
-2.55.0
-

diff --git a/0104-Support-build-time-setting-of-enclave-load-directory.patch b/0104-Support-build-time-setting-of-enclave-load-directory.patch
new file mode 100644
index 0000000..f357d42
--- /dev/null
+++ b/0104-Support-build-time-setting-of-enclave-load-directory.patch
@@ -0,0 +1,263 @@
+From a65f6d757057d9f8f643b278e8ee54f301d4ff43 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= <berrange@redhat.com>
+Date: Mon, 26 Feb 2024 12:19:51 +0000
+Subject: [PATCH 104/121] Support build time setting of enclave load directory
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+The current code for loading enclaves (pce, id_enclave, qe3, tdqe, qve)
+tries to find the enclave file in the directory of the currently
+loaded library (as reported by dladdr), or in the directory of the
+current executable (as reported by /proc/self/exe).
+
+Neither of these approaches is sufficiently flexible to work with
+all Linux distro filesystem layout policies. In particular distros
+may desire to have a specific directory location exclusively for
+the shipping of enclaves, separate from any native libraries or
+executables.
+
+This introduces support for an "SGX_ENCLAVE_PATH" variable in the
+makefiles, which is used to define an SGX_ENCLAVE_PATH symbol in
+code.
+
+By default SGX_ENCLAVE_PATH path will get defined to an empty
+string at the C level and so current code behaviour will not
+be changed.
+
+If this is set though, then it will be used to locate the enclaves,
+with no fallback to searching relative to the library or binary.
+
+Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
+---
+ QuoteGeneration/pce_wrapper/linux/Makefile           |  2 +-
+ QuoteGeneration/pce_wrapper/pce_wrapper.cpp          |  9 +++++++++
+ QuoteGeneration/quote_wrapper/quote/linux/Makefile   |  2 +-
+ QuoteGeneration/quote_wrapper/quote/qe_logic.cpp     |  9 +++++++++
+ .../quote_wrapper/tdx_quote/linux/Makefile           |  2 +-
+ .../quote_wrapper/tdx_quote/td_ql_logic.cpp          |  8 ++++++++
+ QuoteVerification/appraisal/qal/Makefile             |  2 +-
+ QuoteVerification/appraisal/qal/qae_wrapper.cpp      | 10 +++++++++-
+ QuoteVerification/dcap_quoteverify/linux/Makefile    |  2 +-
+ .../dcap_quoteverify/linux/qve_parser.cpp            |  8 ++++++++
+ tools/PCKRetrievalTool/App/utility.cpp               | 12 +++++++++++-
+ tools/PCKRetrievalTool/Makefile                      |  2 +-
+ 12 files changed, 60 insertions(+), 8 deletions(-)
+
+diff --git a/QuoteGeneration/pce_wrapper/linux/Makefile b/QuoteGeneration/pce_wrapper/linux/Makefile
+index 7c10e9b9..6d4cad7f 100644
+--- a/QuoteGeneration/pce_wrapper/linux/Makefile
++++ b/QuoteGeneration/pce_wrapper/linux/Makefile
+@@ -15,7 +15,7 @@ INCLUDE += -I$(ROOT_DIR)/../ae/dep/common \
+            -I$(ROOT_DIR)/../ae/dep/inc    \
+            -I$(ROOT_DIR)/../ae/dep/inc/internal
+ 
+-CXXFLAGS += -fPIC -Werror -g
++CXXFLAGS += -fPIC -Werror -g -DSGX_ENCLAVE_PATH="\"$(SGX_ENCLAVE_PATH)\""
+ CFLAGS += -fPIC -Werror -g
+ Link_Flags := $(SGX_COMMON_CFLAGS) -L$(ROOT_DIR)/build/linux -L$(SGX_SDK)/lib64 -lsgx_urts -lpthread -ldl
+ 
+diff --git a/QuoteGeneration/pce_wrapper/pce_wrapper.cpp b/QuoteGeneration/pce_wrapper/pce_wrapper.cpp
+index e989c8ad..328d35bf 100644
+--- a/QuoteGeneration/pce_wrapper/pce_wrapper.cpp
++++ b/QuoteGeneration/pce_wrapper/pce_wrapper.cpp
+@@ -88,6 +88,15 @@ bool get_pce_path(
+         p_file_path[buf_size - 1] = '\0';  //null terminate the string
+         return true;
+     }
++    else if (*SGX_ENCLAVE_PATH)
++    {
++        if ((strlen(SGX_ENCLAVE_PATH) + 1 + strlen(PCE_ENCLAVE_NAME) + 1) > buf_size) {
++            return false;
++        }
++        strcpy(p_file_path, SGX_ENCLAVE_PATH);
++        strcat(p_file_path, "/");
++        strcat(p_file_path, PCE_ENCLAVE_NAME);
++    }
+     else if(0 != dladdr(__builtin_return_address(0), &dl_info) &&
+         NULL != dl_info.dli_fname)
+     {
+diff --git a/QuoteGeneration/quote_wrapper/quote/linux/Makefile b/QuoteGeneration/quote_wrapper/quote/linux/Makefile
+index 77a80426..af6d5e6a 100644
+--- a/QuoteGeneration/quote_wrapper/quote/linux/Makefile
++++ b/QuoteGeneration/quote_wrapper/quote/linux/Makefile
+@@ -26,7 +26,7 @@ Quote_Include_Paths := -I$(SGX_SDK)/include -I../inc -I../../common/inc -I./ -I$
+ 
+ Quote_C_Flags := $(COMMON_FLAGS) -g -fPIC -Werror -Wno-attributes $(Quote_Include_Paths)
+ 
+-Quote_Cpp_Flags := $(Quote_C_Flags)
++Quote_Cpp_Flags := $(Quote_C_Flags) -DSGX_ENCLAVE_PATH="\"$(SGX_ENCLAVE_PATH)\""
+ Quote_Link_Flags := $(COMMON_LDFLAGS) -g -pthread -L$(ROOT_DIR)/build/linux -L$(SGX_SDK)/lib64 -lsgx_urts -lpthread -ldl
+ 
+ ifndef DEBUG
+diff --git a/QuoteGeneration/quote_wrapper/quote/qe_logic.cpp b/QuoteGeneration/quote_wrapper/quote/qe_logic.cpp
+index f8b41774..883dc53c 100644
+--- a/QuoteGeneration/quote_wrapper/quote/qe_logic.cpp
++++ b/QuoteGeneration/quote_wrapper/quote/qe_logic.cpp
+@@ -542,6 +542,15 @@ get_qe_path(const TCHAR *p_file_name,
+         p_file_path[buf_size - 1] = '\0';  //null terminate the string
+         return true;
+     }
++    else if (*SGX_ENCLAVE_PATH)
++    {
++        if ((strlen(SGX_ENCLAVE_PATH) + 1 + strlen(p_file_name) + 1) > buf_size) {
++            return false;
++        }
++        strcpy(p_file_path, SGX_ENCLAVE_PATH);
++        strcat(p_file_path, "/");
++        strcat(p_file_path, p_file_name);
++    }
+     else if(0 != dladdr(__builtin_return_address(0), &dl_info) &&
+         NULL != dl_info.dli_fname)
+     {
+diff --git a/QuoteGeneration/quote_wrapper/tdx_quote/linux/Makefile b/QuoteGeneration/quote_wrapper/tdx_quote/linux/Makefile
+index 16bd02b3..4b18a006 100644
+--- a/QuoteGeneration/quote_wrapper/tdx_quote/linux/Makefile
++++ b/QuoteGeneration/quote_wrapper/tdx_quote/linux/Makefile
+@@ -31,7 +31,7 @@ Quote_Include_Paths := -I$(SGX_SDK)/include -I../inc -I../../common/inc -I./ \
+ 
+ Quote_C_Flags := $(CFLAGS) -g -MMD -fPIC -Werror -Wno-attributes $(Quote_Include_Paths)
+ 
+-Quote_Cpp_Flags := $(CXXFLAGS) -g -MMD -fPIC -Werror -Wno-attributes $(Quote_Include_Paths)
++Quote_Cpp_Flags := $(CXXFLAGS) -g -MMD -fPIC -Werror -Wno-attributes $(Quote_Include_Paths) -DSGX_ENCLAVE_PATH="\"$(SGX_ENCLAVE_PATH)\""
+ Quote_Link_Flags := $(COMMON_LDFLAGS) -g -L$(ROOT_DIR)/build/linux \
+                     -L$(PCE_Library_Dir) -lsgx_pce_logic -L$(SGX_SDK)/lib64 \
+ 					-lsgx_urts -lpthread -ldl
+diff --git a/QuoteGeneration/quote_wrapper/tdx_quote/td_ql_logic.cpp b/QuoteGeneration/quote_wrapper/tdx_quote/td_ql_logic.cpp
+index 2bb16d1d..6b3dcaff 100644
+--- a/QuoteGeneration/quote_wrapper/tdx_quote/td_ql_logic.cpp
++++ b/QuoteGeneration/quote_wrapper/tdx_quote/td_ql_logic.cpp
+@@ -371,6 +371,14 @@ bool tee_att_config_t::get_qe_path(tee_att_ae_type_t type,
+         p_file_path[len] = '\0';  //null terminate the string
+         return true;
+     }
++    else if (*SGX_ENCLAVE_PATH) {
++        if ((strlen(SGX_ENCLAVE_PATH) + 1 + strlen(p_file_name) + 1) > buf_size) {
++            return false;
++        }
++        strcpy(p_file_path, SGX_ENCLAVE_PATH);
++        strcat(p_file_path, "/");
++        strcat(p_file_path, p_file_name);
++    }
+     else if(0 != dladdr(__builtin_return_address(0), &dl_info) &&
+         NULL != dl_info.dli_fname)
+     {
+diff --git a/QuoteVerification/appraisal/qal/Makefile b/QuoteVerification/appraisal/qal/Makefile
+index 20387c9d..c8eb9c1f 100644
+--- a/QuoteVerification/appraisal/qal/Makefile
++++ b/QuoteVerification/appraisal/qal/Makefile
+@@ -22,7 +22,7 @@ QAL_Include_Path := -I$(SGX_SDK)/include \
+                 -I../common/ \
+                 -I$(RAPIDJSON_DIR)/
+ 
+-QAL_Cpp_Flags := $(CXXFLAGS) -g -fPIC $(QAL_Include_Path)
++QAL_Cpp_Flags := $(CXXFLAGS) -g -fPIC $(QAL_Include_Path) -DSGX_ENCLAVE_PATH="\"$(SGX_ENCLAVE_PATH)\""
+ QAL_C_Flags := $(CFLAGS) -g -fPIC $(QAL_Include_Path)
+ 
+ QAL_Link_Flags := $(COMMON_LDFLAGS) -L$(WARM_Lib_Path) -liwasm  -ldl -lm -lpthread \
+diff --git a/QuoteVerification/appraisal/qal/qae_wrapper.cpp b/QuoteVerification/appraisal/qal/qae_wrapper.cpp
+index f8035171..1d2cd07d 100644
+--- a/QuoteVerification/appraisal/qal/qae_wrapper.cpp
++++ b/QuoteVerification/appraisal/qal/qae_wrapper.cpp
+@@ -82,6 +82,14 @@ static bool get_qae_path(
+         p_file_path[buf_size - 1] = '\0'; // null terminate the string
+         return true;
+     }
++    else if (*SGX_ENCLAVE_PATH)
++    {
++        if ((strlen(SGX_ENCLAVE_PATH) + 1 + 1) > buf_size) {
++            return false;
++        }
++        (void)strcpy(p_file_path, SGX_ENCLAVE_PATH);
++        (void)strcat(p_file_path, "/");
++    }
+     else if (0 != dladdr(__builtin_return_address(0), &dl_info) &&
+              NULL != dl_info.dli_fname)
+     {
+@@ -337,4 +345,4 @@ quote3_error_t ecall_authenticate_policy_owner(sgx_enclave_id_t eid,
+             retval = SGX_QL_ERROR_UNEXPECTED;
+     }
+     return retval;
+-}
+\ No newline at end of file
++}
+diff --git a/QuoteVerification/dcap_quoteverify/linux/Makefile b/QuoteVerification/dcap_quoteverify/linux/Makefile
+index 0afa7725..c92ebef5 100644
+--- a/QuoteVerification/dcap_quoteverify/linux/Makefile
++++ b/QuoteVerification/dcap_quoteverify/linux/Makefile
+@@ -33,7 +33,7 @@ QVL_VERIFY_INC	:= -I$(QVE_SRC_PATH)/Include \
+ QPL_BASE64_CPP_DEP	:= $(DCAP_QPL_DIR)/sgx_base64.d
+ 
+ SGX_COMMON_CFLAGS	+= $(CFLAGS) -g -fPIC -Wno-attributes -USGX_TRUSTED
+-SGX_COMMON_CXXFLAGS	+= $(CXXFLAGS) -g -fPIC -USGX_TRUSTED
++SGX_COMMON_CXXFLAGS	+= $(CXXFLAGS) -g -fPIC -USGX_TRUSTED -DSGX_ENCLAVE_PATH="\"$(SGX_ENCLAVE_PATH)\""
+ 
+ ifeq ($(CC_NO_LESS_THAN_8), 1)
+     SGX_COMMON_CFLAGS += -fcf-protection=none
+diff --git a/QuoteVerification/dcap_quoteverify/linux/qve_parser.cpp b/QuoteVerification/dcap_quoteverify/linux/qve_parser.cpp
+index e50fab0b..856de23f 100644
+--- a/QuoteVerification/dcap_quoteverify/linux/qve_parser.cpp
++++ b/QuoteVerification/dcap_quoteverify/linux/qve_parser.cpp
+@@ -65,6 +65,14 @@ bool get_qve_path(
+         p_file_path[buf_size - 1] = '\0';  //null terminate the string
+         return true;
+     }
++    else if (*SGX_ENCLAVE_PATH)
++    {
++        if ((strlen(SGX_ENCLAVE_PATH) + 1 + 1) > buf_size) {
++            return false;
++        }
++        (void)strcpy(p_file_path, SGX_ENCLAVE_PATH);
++        (void)strcat(p_file_path, "/");
++    }
+     else if(0 != dladdr(__builtin_return_address(0), &dl_info) &&
+         NULL != dl_info.dli_fname)
+     {
+diff --git a/tools/PCKRetrievalTool/App/utility.cpp b/tools/PCKRetrievalTool/App/utility.cpp
+index 4dd14aac..9c8e30a7 100644
+--- a/tools/PCKRetrievalTool/App/utility.cpp
++++ b/tools/PCKRetrievalTool/App/utility.cpp
+@@ -214,9 +214,9 @@ bool load_enclave(const char* enclave_name, sgx_enclave_id_t* p_eid)
+     char enclave_path[ProgPathBufferSize] = "";
+ #endif
+ 
++#if defined(_MSC_VER)    
+     if (!get_program_path(enclave_path, ProgPathBufferSize))
+         return false;
+-#if defined(_MSC_VER)    
+     if (_tcsnlen(enclave_path, ProgPathBufferSize) + _tcsnlen(enclave_name, ProgPathBufferSize) + sizeof(char) > ProgPathBufferSize)
+         return false;
+     (void)_tcscat_s(enclave_path, ProgPathBufferSize, enclave_name);
+@@ -227,6 +227,16 @@ bool load_enclave(const char* enclave_name, sgx_enclave_id_t* p_eid)
+     sgx_create_enclave_func_t p_sgx_create_enclave = (sgx_create_enclave_func_t)FINDFUNCTIONSYM(sgx_urts_handle, "sgx_create_enclavea");
+ #endif
+ #else
++    if (*SGX_ENCLAVE_PATH) {
++        if ((strlen(SGX_ENCLAVE_PATH) + 1 + 1) > ProgPathBufferSize) {
++            return false;
++        }
++        (void)strcpy(enclave_path, SGX_ENCLAVE_PATH);
++        (void)strcat(enclave_path, "/");
++    } else {
++        if (!get_program_path(enclave_path, ProgPathBufferSize))
++            return false;
++    }
+     if (strnlen(enclave_path, ProgPathBufferSize) + strnlen(enclave_name, ProgPathBufferSize) + sizeof(char) > ProgPathBufferSize)
+         return false;
+     (void)strncat(enclave_path, enclave_name, strnlen(enclave_name, ProgPathBufferSize));
+diff --git a/tools/PCKRetrievalTool/Makefile b/tools/PCKRetrievalTool/Makefile
+index 8ff58b8a..22251bfa 100644
+--- a/tools/PCKRetrievalTool/Makefile
++++ b/tools/PCKRetrievalTool/Makefile
+@@ -74,7 +74,7 @@ App_Include_Paths += -I ../../QuoteGeneration/common/inc/internal
+ App_Include_Paths += -I ../../ae/dep/inc/internal -I ../SGXPlatformRegistration/include
+ 
+ App_C_Flags := $(COMMON_FLAGS) $(CFLAGS) $(App_Include_Paths)
+-App_Cpp_Flags := $(COMMON_FLAGS) $(CXXFLAGS) $(App_Include_Paths)
++App_Cpp_Flags := $(COMMON_FLAGS) $(CXXFLAGS) $(App_Include_Paths) -DSGX_ENCLAVE_PATH="\"$(SGX_ENCLAVE_PATH)\""
+ 
+ App_Link_Flags := $(SGX_COMMON_CFLAGS) -Wl,-z,relro,-z,now,-z,noexecstack
+ App_Link_Flags +=  -lcurl -ldl -lpthread
+-- 
+2.56.0
+

diff --git a/0104-pcsclient-only-import-pypac-module-on-Windows.patch b/0104-pcsclient-only-import-pypac-module-on-Windows.patch
deleted file mode 100644
index 549616d..0000000
--- a/0104-pcsclient-only-import-pypac-module-on-Windows.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-From c4440889a73ac3fc72e2c63f948174d353b071ac Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= <berrange@redhat.com>
-Date: Fri, 4 Oct 2024 17:41:37 +0100
-Subject: [PATCH 104/122] pcsclient: only import 'pypac' module on Windows
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-The PACSession object is only used in a code path that runs on
-Windows, so don't try to import this on Linux, to avoid the
-redundant dependency.
-
-Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
----
- tools/PcsClientTool/lib/intelsgx/pcs.py | 3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
-diff --git a/tools/PcsClientTool/lib/intelsgx/pcs.py b/tools/PcsClientTool/lib/intelsgx/pcs.py
-index 6a71f8d9..e056c950 100644
---- a/tools/PcsClientTool/lib/intelsgx/pcs.py
-+++ b/tools/PcsClientTool/lib/intelsgx/pcs.py
-@@ -31,8 +31,9 @@ if verification is None:
-         import tempfile
-         import subprocess
- 
--from pypac import PACSession
- from platform import system
-+if system() == 'Windows':
-+    from pypac import PACSession
- from lib.intelsgx.credential import Credentials
- from requests.adapters import HTTPAdapter
- from urllib3.util import Retry
--- 
-2.55.0
-

diff --git a/0105-Look-for-PCKRetrievalTool-config-file-in-etc.patch b/0105-Look-for-PCKRetrievalTool-config-file-in-etc.patch
deleted file mode 100644
index f0a4597..0000000
--- a/0105-Look-for-PCKRetrievalTool-config-file-in-etc.patch
+++ /dev/null
@@ -1,43 +0,0 @@
-From ab534c9dab3b772a158e9b471d52180e9520b23a Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= <berrange@redhat.com>
-Date: Thu, 29 Feb 2024 14:21:36 +0000
-Subject: [PATCH 105/122] Look for PCKRetrievalTool config file in /etc/
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Looking for config files in the same directory as the binary is
-inappropriate.
-
-Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
----
- tools/PCKRetrievalTool/App/linux/network_wrapper.cpp | 6 ++++--
- 1 file changed, 4 insertions(+), 2 deletions(-)
-
-diff --git a/tools/PCKRetrievalTool/App/linux/network_wrapper.cpp b/tools/PCKRetrievalTool/App/linux/network_wrapper.cpp
-index 849b3e61..946e7fb4 100644
---- a/tools/PCKRetrievalTool/App/linux/network_wrapper.cpp
-+++ b/tools/PCKRetrievalTool/App/linux/network_wrapper.cpp
-@@ -192,7 +192,8 @@ static void network_configuration(string &url, string &proxy_type, string &proxy
- {
-     //firstly read local configuration File
-     char local_configuration_file_path[MAX_PATH] = "";
--    bool ret = get_program_path(local_configuration_file_path, MAX_PATH -1);
-+    bool ret = true;
-+    strcpy(local_configuration_file_path, "/etc/PCKIDRetrievalTool/");
-     if (ret) {
-         if(strnlen(local_configuration_file_path ,MAX_PATH)+strnlen(LOCAL_NETWORK_SETTING,MAX_PATH)+sizeof(char) > MAX_PATH) {
-             ret = false;
-@@ -349,7 +350,8 @@ network_post_error_t network_https_post(const uint8_t* raw_data, const uint64_t
- 
- bool is_server_url_available() {
-     char local_configuration_file_path[MAX_PATH] = "";
--    bool ret = get_program_path(local_configuration_file_path, MAX_PATH -1);
-+    bool ret = true;
-+    strcpy(local_configuration_file_path, "/etc/PCKIDRetrievalTool/");
-     if (ret) {
-         if(strnlen(local_configuration_file_path ,MAX_PATH)+strnlen(LOCAL_NETWORK_SETTING,MAX_PATH)+sizeof(char) > MAX_PATH) {
-             return false;
--- 
-2.55.0
-

diff --git a/0105-Look-for-versioned-sgx_urts-library-in-PCKRetrievalT.patch b/0105-Look-for-versioned-sgx_urts-library-in-PCKRetrievalT.patch
new file mode 100644
index 0000000..3ede01a
--- /dev/null
+++ b/0105-Look-for-versioned-sgx_urts-library-in-PCKRetrievalT.patch
@@ -0,0 +1,44 @@
+From a5aad2477255e076baffa0791557dfde7fef5d9d Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= <berrange@redhat.com>
+Date: Tue, 27 Feb 2024 15:46:41 +0000
+Subject: [PATCH 105/121] Look for versioned sgx_urts library in
+ PCKRetrievalTool
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Other code is already looking for the versioned library soname,
+so switch to that for PCKRetrievalTool too. The unversioned
+library is typically only installed by -devel packages, not the
+runtime package.
+
+Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
+---
+ tools/PCKRetrievalTool/App/utility.cpp | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/tools/PCKRetrievalTool/App/utility.cpp b/tools/PCKRetrievalTool/App/utility.cpp
+index 9c8e30a7..8fb181e8 100644
+--- a/tools/PCKRetrievalTool/App/utility.cpp
++++ b/tools/PCKRetrievalTool/App/utility.cpp
+@@ -59,7 +59,7 @@ typedef sgx_status_t (SGXAPI *sgx_create_enclave_func_t)(const LPCSTR file_name,
+ #else
+ #define PCE_ENCLAVE_NAME  "libsgx_pce.signed.so.1"
+ #define ID_ENCLAVE_NAME   "libsgx_id_enclave.signed.so.1"
+-#define SGX_URTS_LIBRARY "libsgx_urts.so"             
++#define SGX_URTS_LIBRARY "libsgx_urts.so.2"
+ #define SGX_MULTI_PACKAGE_AGENT_UEFI_LIBRARY "libmpa_uefi.so.1"
+ #define FINDFUNCTIONSYM   dlsym
+ #define CLOSELIBRARYHANDLE  dlclose
+@@ -181,7 +181,7 @@ bool get_urts_library_handle()
+ #else
+     sgx_urts_handle = dlopen(SGX_URTS_LIBRARY, RTLD_LAZY);
+     if (sgx_urts_handle == NULL) {
+-        printf("ERROR: didn't find the sgx_urts.so library, please make sure you have installed sgx_urts installer package. \n");
++        printf("ERROR: didn't find the " SGX_URTS_LIBRARY " library, please make sure you have installed sgx_urts installer package. \n");
+         return false;
+     }
+ #endif
+-- 
+2.56.0
+

diff --git a/0106-Honour-CFLAGS-CXXFLAGS-LDFLAGS-for-various-tools-and.patch b/0106-Honour-CFLAGS-CXXFLAGS-LDFLAGS-for-various-tools-and.patch
deleted file mode 100644
index 9b0ab1d..0000000
--- a/0106-Honour-CFLAGS-CXXFLAGS-LDFLAGS-for-various-tools-and.patch
+++ /dev/null
@@ -1,174 +0,0 @@
-From 142ba2020bb4ab618f79de2874860cab217b7ff3 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= <berrange@redhat.com>
-Date: Fri, 28 Mar 2025 16:00:27 +0000
-Subject: [PATCH 106/122] Honour CFLAGS/CXXFLAGS/LDFLAGS for various tools and
- libraries
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
----
- QuoteGeneration/qcnl/linux/Makefile                 | 5 +++--
- QuoteGeneration/qpl/linux/Makefile                  | 4 ++--
- QuoteGeneration/quote_wrapper/qgs/Makefile          | 2 +-
- QuoteGeneration/quote_wrapper/ql/linux/Makefile     | 5 +++--
- QuoteGeneration/quote_wrapper/quote/linux/Makefile  | 2 +-
- QuoteVerification/dcap_quoteverify/linux/Makefile   | 2 +-
- tools/PCKCertSelection/PCKCertSelectionLib/Makefile | 2 +-
- tools/PCKRetrievalTool/Makefile                     | 6 +++---
- tools/SGXPlatformRegistration/Makefile              | 8 ++++----
- 9 files changed, 19 insertions(+), 17 deletions(-)
-
-diff --git a/QuoteGeneration/qcnl/linux/Makefile b/QuoteGeneration/qcnl/linux/Makefile
-index 5d9a3987..31c17d3c 100644
---- a/QuoteGeneration/qcnl/linux/Makefile
-+++ b/QuoteGeneration/qcnl/linux/Makefile
-@@ -22,10 +22,11 @@ CNL_Lib_Include_Paths := -I../../quote_wrapper/common/inc       \
- 
- CNL_Lib_C_Flags := $(COMMON_FLAGS) -g -fPIC -Werror -Wno-attributes $(CNL_Lib_Include_Paths) $(shell pkg-config --cflags libcrypto)
- 
--LDUFLAGS:= -pthread $(COMMON_LDFLAGS)
-+LDUFLAGS:= $(LDFLAGS) -pthread $(COMMON_LDFLAGS)
- LDUFLAGS += -Wl,--version-script=sgx_default_qcnl.lds -Wl,--gc-sections
- 
--CNL_Lib_Cpp_Flags := $(CNL_Lib_C_Flags)
-+CNL_Lib_Cpp_Flags := $(CXXFLAGS) $(CNL_Lib_C_Flags)
-+CNL_Lib_C_Flags += $(CFLAGS)
- 
- ifdef SELF_SIGNED_CERT
- CNL_Lib_Cpp_Flags+= -DSELF_SIGNED_CERT
-diff --git a/QuoteGeneration/qpl/linux/Makefile b/QuoteGeneration/qpl/linux/Makefile
-index 52b91b0a..c1ccfb9c 100644
---- a/QuoteGeneration/qpl/linux/Makefile
-+++ b/QuoteGeneration/qpl/linux/Makefile
-@@ -23,9 +23,9 @@ QPL_Lib_C_Flags := $(COMMON_FLAGS) -g -fPIC -Werror -Wno-attributes $(QPL_Lib_In
- LDUFLAGS:= -pthread $(COMMON_LDFLAGS)
- LDUFLAGS += -Wl,--version-script=sgx_default_quote_provider.lds -Wl,--gc-sections
- 
--QPL_Lib_Cpp_Flags := $(QPL_Lib_C_Flags)
-+QPL_Lib_Cpp_Flags := $(CXXFLAGS) $(QPL_Lib_C_Flags)
- 
--QPL_Lib_Link_Flags := $(SGX_COMMON_FLAGS) -g -L$(TOP_DIR)/build/linux -L$(SGX_SDK)/lib64 \
-+QPL_Lib_Link_Flags := $(LDFLAGS) $(SGX_COMMON_FLAGS) -g -L$(TOP_DIR)/build/linux -L$(SGX_SDK)/lib64 \
-         -lcrypto -lsgx_default_qcnl_wrapper -lpthread -ldl
-  
- ifndef DEBUG
-diff --git a/QuoteGeneration/quote_wrapper/qgs/Makefile b/QuoteGeneration/quote_wrapper/qgs/Makefile
-index e5200d00..ed75e2a7 100644
---- a/QuoteGeneration/quote_wrapper/qgs/Makefile
-+++ b/QuoteGeneration/quote_wrapper/qgs/Makefile
-@@ -26,7 +26,7 @@ endif
- DEPENDS = ${QGS_OBJS test_client.o:.o=.d}
- 
- # SGX related libraries
--QGS_LFLAGS = -L$(TOP_DIR)/build/linux -lsgx_tdx_logic -lsgx_pce_logic -ldl \
-+QGS_LFLAGS = $(LDFLAGS) -L$(TOP_DIR)/build/linux -lsgx_tdx_logic -lsgx_pce_logic -ldl \
-              -L$(SGX_SDK)/lib64 -lsgx_urts -g
- # add boost_system for link
- ifeq ($(CC_LESS_THAN_15), 1)
-diff --git a/QuoteGeneration/quote_wrapper/ql/linux/Makefile b/QuoteGeneration/quote_wrapper/ql/linux/Makefile
-index 5c788531..951a9c7b 100644
---- a/QuoteGeneration/quote_wrapper/ql/linux/Makefile
-+++ b/QuoteGeneration/quote_wrapper/ql/linux/Makefile
-@@ -28,8 +28,9 @@ QL_Lib_C_Flags := $(COMMON_FLAGS) -g -fPIC -Werror -Wno-attributes $(QL_Lib_Incl
- LDUFLAGS:= -pthread $(COMMON_LDFLAGS)
- LDUFLAGS += -Wl,--version-script=dcap_ql_wrapper.lds -Wl,--gc-sections
- 
--QL_Lib_Cpp_Flags := $(QL_Lib_C_Flags)
--QL_Lib_Link_Flags := $(SGX_COMMON_FLAGS) -g -L$(Quote_Library_Dir) -lsgx_qe3_logic -L$(PCE_Library_Dir) -lsgx_pce_logic -L$(TOP_DIR)/build/linux -L$(SGX_SDK)/lib64 -lpthread -ldl
-+QL_Lib_Cpp_Flags := $(CXXFLAGS) $(QL_Lib_C_Flags)
-+QL_Lib_C_Flags += $(CFLAGS)
-+QL_Lib_Link_Flags := $(LDFLAGS) $(SGX_COMMON_FLAGS) -g -L$(Quote_Library_Dir) -lsgx_qe3_logic -L$(PCE_Library_Dir) -lsgx_pce_logic -L$(TOP_DIR)/build/linux -L$(SGX_SDK)/lib64 -lpthread -ldl
- 
- QL_Lib_Cpp_Flags += -DDISABLE_TRACE
- QL_Lib_Link_Flags += -DDISABLE_TRACE
-diff --git a/QuoteGeneration/quote_wrapper/quote/linux/Makefile b/QuoteGeneration/quote_wrapper/quote/linux/Makefile
-index 049710e1..d0c053ec 100644
---- a/QuoteGeneration/quote_wrapper/quote/linux/Makefile
-+++ b/QuoteGeneration/quote_wrapper/quote/linux/Makefile
-@@ -27,7 +27,7 @@ Quote_Include_Paths := -I$(SGX_SDK)/include -I../inc -I../../common/inc -I./ -I$
- Quote_C_Flags := $(COMMON_FLAGS) -g -fPIC -Werror -Wno-attributes $(Quote_Include_Paths)
- 
- Quote_Cpp_Flags := $(Quote_C_Flags) -DSGX_ENCLAVE_PATH="\"$(SGX_ENCLAVE_PATH)\""
--Quote_Link_Flags := $(COMMON_LDFLAGS) -g -pthread -L$(ROOT_DIR)/build/linux -L$(SGX_SDK)/lib64 -lsgx_urts -lpthread -ldl
-+Quote_Link_Flags := $(COMMON_LDFLAGS) -g -pthread -L$(ROOT_DIR)/build/linux -L$(SGX_SDK)/lib64 -lsgx_urts -lpthread -ldl $(LDFLAGS)
- 
- ifndef DEBUG
- Quote_Cpp_Flags += -DDISABLE_TRACE
-diff --git a/QuoteVerification/dcap_quoteverify/linux/Makefile b/QuoteVerification/dcap_quoteverify/linux/Makefile
-index 3a5cd05c..dc4def06 100644
---- a/QuoteVerification/dcap_quoteverify/linux/Makefile
-+++ b/QuoteVerification/dcap_quoteverify/linux/Makefile
-@@ -48,7 +48,7 @@ QVL_PARSER := sgx_dcap_qvl_attestation
- QVL_LIB_NAME := lib$(QVL_LIB).a
- QVL_PARSER_NAME := lib$(QVL_PARSER).a
- 
--LDUFLAGS	:= -pthread -ldl -L. -l$(QVL_LIB) -l$(QVL_PARSER) $(COMMON_LDFLAGS) -lcrypto
-+LDUFLAGS	:= $(LDFLAGS) -pthread -ldl -L. -l$(QVL_LIB) -l$(QVL_PARSER) $(COMMON_LDFLAGS) -lcrypto
- LDUFLAGS	+= -Wl,--version-script=sgx_dcap_quoteverify.lds -Wl,--gc-sections
- 
- QVL_VERIFY_CPP_SRCS := $(wildcard ../*.cpp) $(wildcard *.cpp)
-diff --git a/tools/PCKCertSelection/PCKCertSelectionLib/Makefile b/tools/PCKCertSelection/PCKCertSelectionLib/Makefile
-index 5c586d86..1a565b70 100644
---- a/tools/PCKCertSelection/PCKCertSelectionLib/Makefile
-+++ b/tools/PCKCertSelection/PCKCertSelectionLib/Makefile
-@@ -126,7 +126,7 @@ CXXFLAGS += -m64 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Werror -
- CXXFLAGS += -UPCK_CERT_SELECTION_WITH_COMPONENT
- 
- # Link flags
--LINK_FLAGS := -m64 -shared $(COMMON_LDFLAGS) -lcrypto -lpthread -ldl
-+LINK_FLAGS := $(LDFLAGS) -m64 -shared $(COMMON_LDFLAGS) -lcrypto -lpthread -ldl
- LINK_FLAGS += -Wl,--version-script=pck_cert_selection.lds -Wl,--gc-sections
- 
- # Strip only in RELEASE builds
-diff --git a/tools/PCKRetrievalTool/Makefile b/tools/PCKRetrievalTool/Makefile
-index 22251bfa..0688c503 100644
---- a/tools/PCKRetrievalTool/Makefile
-+++ b/tools/PCKRetrievalTool/Makefile
-@@ -76,7 +76,7 @@ App_Include_Paths += -I ../../ae/dep/inc/internal -I ../SGXPlatformRegistration/
- App_C_Flags := $(COMMON_FLAGS) $(CFLAGS) $(App_Include_Paths)
- App_Cpp_Flags := $(COMMON_FLAGS) $(CXXFLAGS) $(App_Include_Paths) -DSGX_ENCLAVE_PATH="\"$(SGX_ENCLAVE_PATH)\""
- 
--App_Link_Flags := $(SGX_COMMON_CFLAGS) -Wl,-z,relro,-z,now,-z,noexecstack
-+App_Link_Flags := $(CXXFLAGS) $(LDFLAGS) $(SGX_COMMON_CFLAGS) -Wl,-z,relro,-z,now,-z,noexecstack
- App_Link_Flags +=  -lcurl -ldl -lpthread
- ifeq ($(STANDALONE), 1)
- 	App_Link_Flags += '-Wl,-rpath,$$ORIGIN'
-@@ -105,11 +105,11 @@ App/id_enclave_u.c:
- 	echo "GEN  =>  $@"
- 
- App/id_enclave_u.o: App/id_enclave_u.c
--	@$(CC) $(App_C_Flags) -c $< -o $@
-+	$(CC) $(App_C_Flags) -c $< -o $@
- 	@echo "CC   <=  $<"
- 
- App/pce_u.o: App/pce_u.c
--	@$(CC) $(App_C_Flags) -c $< -o $@
-+	$(CC) $(App_C_Flags) -c $< -o $@
- 	@echo "CC   <=  $<"
- 
- App/%.o: App/%.cpp
-diff --git a/tools/SGXPlatformRegistration/Makefile b/tools/SGXPlatformRegistration/Makefile
-index 11a89c6c..9bc8870e 100644
---- a/tools/SGXPlatformRegistration/Makefile
-+++ b/tools/SGXPlatformRegistration/Makefile
-@@ -112,11 +112,11 @@ OBJS_MPA_MANAGE_APP := $(patsubst $(MPA_MANAGE_PATH)/src/%.cpp,$(OBJ_MPA_MANAGE_
- OBJ_TEST_PATH := $(OBJ_PATH)/test
- OBJS_TEST := $(patsubst $(TEST_PATH)/%.cpp,$(OBJ_TEST_PATH)/%.o, $(SRC_TEST))
- 
--LDFLAGS_SO := -shared -Wl,-z,relro,-z,now,-z,noexecstack
--LD_REGI_APP := -L$(LIB_PATH) -Wl,-Bstatic -lmpa_registration -Wl,-Bdynamic -lmpa_network -lmpa_uefi
--LD_MANAGE_APP := -L$(LIB_PATH) -Wl,-Bstatic -lmpa_management -lmpa_registration -Wl,-Bdynamic -lmpa_uefi
-+LDFLAGS_SO := $(LDFLAGS) -shared -Wl,-z,relro,-z,now,-z,noexecstack
-+LD_REGI_APP := $(LDFLAGS) -L$(LIB_PATH) -Wl,-Bstatic -lmpa_registration -Wl,-Bdynamic -lmpa_network -lmpa_uefi
-+LD_MANAGE_APP := $(LDFLAGS) -L$(LIB_PATH) -Wl,-Bstatic -lmpa_management -lmpa_registration -Wl,-Bdynamic -lmpa_uefi
- 
--LD_GTEST := -L$(GTEST_PATH)/lib -lgtest -lgmock_main -lgmock -lpthread
-+LD_GTEST := $(LDFLAGS) -L$(GTEST_PATH)/lib -lgtest -lgmock_main -lgmock -lpthread
- 
- CXX_WARNINGS := -Wall -Wextra -Winit-self -Wpointer-arith -Wreturn-type -Waddress -Wsequence-point -Wformat-security \
- 				-Wmissing-include-dirs -Wfloat-equal -Wundef -Wshadow -Wcast-align -Wconversion -Wredundant-decls
--- 
-2.55.0
-

diff --git a/0106-Look-for-PCKRetrievalTool-config-file-in-etc.patch b/0106-Look-for-PCKRetrievalTool-config-file-in-etc.patch
new file mode 100644
index 0000000..f1991d2
--- /dev/null
+++ b/0106-Look-for-PCKRetrievalTool-config-file-in-etc.patch
@@ -0,0 +1,43 @@
+From ae1bcb96011cb0a24deb28a2563a4c010c72c868 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= <berrange@redhat.com>
+Date: Thu, 29 Feb 2024 14:21:36 +0000
+Subject: [PATCH 106/121] Look for PCKRetrievalTool config file in /etc/
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Looking for config files in the same directory as the binary is
+inappropriate.
+
+Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
+---
+ tools/PCKRetrievalTool/App/linux/network_wrapper.cpp | 6 ++++--
+ 1 file changed, 4 insertions(+), 2 deletions(-)
+
+diff --git a/tools/PCKRetrievalTool/App/linux/network_wrapper.cpp b/tools/PCKRetrievalTool/App/linux/network_wrapper.cpp
+index 2a9a9172..78417e78 100644
+--- a/tools/PCKRetrievalTool/App/linux/network_wrapper.cpp
++++ b/tools/PCKRetrievalTool/App/linux/network_wrapper.cpp
+@@ -221,7 +221,8 @@ static void network_configuration(string &url, string &proxy_type, string &proxy
+ {
+     //firstly read local configuration File
+     char local_configuration_file_path[MAX_PATH] = "";
+-    bool ret = get_program_path(local_configuration_file_path, MAX_PATH -1);
++    bool ret = true;
++    strcpy(local_configuration_file_path, "/etc/PCKIDRetrievalTool/");
+     if (ret) {
+         if(strnlen(local_configuration_file_path ,MAX_PATH)+strnlen(LOCAL_NETWORK_SETTING,MAX_PATH)+sizeof(char) > MAX_PATH) {
+             ret = false;
+@@ -378,7 +379,8 @@ network_post_error_t network_https_post(const uint8_t* raw_data, const uint64_t
+ 
+ bool is_server_url_available() {
+     char local_configuration_file_path[MAX_PATH] = "";
+-    bool ret = get_program_path(local_configuration_file_path, MAX_PATH -1);
++    bool ret = true;
++    strcpy(local_configuration_file_path, "/etc/PCKIDRetrievalTool/");
+     if (ret) {
+         if(strnlen(local_configuration_file_path ,MAX_PATH)+strnlen(LOCAL_NETWORK_SETTING,MAX_PATH)+sizeof(char) > MAX_PATH) {
+             return false;
+-- 
+2.56.0
+

diff --git a/0107-Honour-CFLAGS-CXXFLAGS-LDFLAGS-for-various-tools-and.patch b/0107-Honour-CFLAGS-CXXFLAGS-LDFLAGS-for-various-tools-and.patch
new file mode 100644
index 0000000..7c5035b
--- /dev/null
+++ b/0107-Honour-CFLAGS-CXXFLAGS-LDFLAGS-for-various-tools-and.patch
@@ -0,0 +1,176 @@
+From 04b44d0d0ab0aa7e13a5417a48affe21264864ff Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= <berrange@redhat.com>
+Date: Fri, 28 Mar 2025 16:00:27 +0000
+Subject: [PATCH 107/121] Honour CFLAGS/CXXFLAGS/LDFLAGS for various tools and
+ libraries
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
+---
+ QuoteGeneration/qcnl/linux/Makefile                 |  5 +++--
+ QuoteGeneration/qpl/linux/Makefile                  |  4 ++--
+ QuoteGeneration/quote_wrapper/qgs/Makefile          |  2 +-
+ QuoteGeneration/quote_wrapper/ql/linux/Makefile     |  5 +++--
+ QuoteGeneration/quote_wrapper/quote/linux/Makefile  |  2 +-
+ QuoteVerification/dcap_quoteverify/linux/Makefile   |  2 +-
+ tools/PCKCertSelection/PCKCertSelectionLib/Makefile |  2 +-
+ tools/PCKRetrievalTool/Makefile                     |  6 +++---
+ tools/SGXPlatformRegistration/Makefile              | 10 +++++-----
+ 9 files changed, 20 insertions(+), 18 deletions(-)
+
+diff --git a/QuoteGeneration/qcnl/linux/Makefile b/QuoteGeneration/qcnl/linux/Makefile
+index 5d9a3987..31c17d3c 100644
+--- a/QuoteGeneration/qcnl/linux/Makefile
++++ b/QuoteGeneration/qcnl/linux/Makefile
+@@ -22,10 +22,11 @@ CNL_Lib_Include_Paths := -I../../quote_wrapper/common/inc       \
+ 
+ CNL_Lib_C_Flags := $(COMMON_FLAGS) -g -fPIC -Werror -Wno-attributes $(CNL_Lib_Include_Paths) $(shell pkg-config --cflags libcrypto)
+ 
+-LDUFLAGS:= -pthread $(COMMON_LDFLAGS)
++LDUFLAGS:= $(LDFLAGS) -pthread $(COMMON_LDFLAGS)
+ LDUFLAGS += -Wl,--version-script=sgx_default_qcnl.lds -Wl,--gc-sections
+ 
+-CNL_Lib_Cpp_Flags := $(CNL_Lib_C_Flags)
++CNL_Lib_Cpp_Flags := $(CXXFLAGS) $(CNL_Lib_C_Flags)
++CNL_Lib_C_Flags += $(CFLAGS)
+ 
+ ifdef SELF_SIGNED_CERT
+ CNL_Lib_Cpp_Flags+= -DSELF_SIGNED_CERT
+diff --git a/QuoteGeneration/qpl/linux/Makefile b/QuoteGeneration/qpl/linux/Makefile
+index 52b91b0a..c1ccfb9c 100644
+--- a/QuoteGeneration/qpl/linux/Makefile
++++ b/QuoteGeneration/qpl/linux/Makefile
+@@ -23,9 +23,9 @@ QPL_Lib_C_Flags := $(COMMON_FLAGS) -g -fPIC -Werror -Wno-attributes $(QPL_Lib_In
+ LDUFLAGS:= -pthread $(COMMON_LDFLAGS)
+ LDUFLAGS += -Wl,--version-script=sgx_default_quote_provider.lds -Wl,--gc-sections
+ 
+-QPL_Lib_Cpp_Flags := $(QPL_Lib_C_Flags)
++QPL_Lib_Cpp_Flags := $(CXXFLAGS) $(QPL_Lib_C_Flags)
+ 
+-QPL_Lib_Link_Flags := $(SGX_COMMON_FLAGS) -g -L$(TOP_DIR)/build/linux -L$(SGX_SDK)/lib64 \
++QPL_Lib_Link_Flags := $(LDFLAGS) $(SGX_COMMON_FLAGS) -g -L$(TOP_DIR)/build/linux -L$(SGX_SDK)/lib64 \
+         -lcrypto -lsgx_default_qcnl_wrapper -lpthread -ldl
+  
+ ifndef DEBUG
+diff --git a/QuoteGeneration/quote_wrapper/qgs/Makefile b/QuoteGeneration/quote_wrapper/qgs/Makefile
+index e5200d00..ed75e2a7 100644
+--- a/QuoteGeneration/quote_wrapper/qgs/Makefile
++++ b/QuoteGeneration/quote_wrapper/qgs/Makefile
+@@ -26,7 +26,7 @@ endif
+ DEPENDS = ${QGS_OBJS test_client.o:.o=.d}
+ 
+ # SGX related libraries
+-QGS_LFLAGS = -L$(TOP_DIR)/build/linux -lsgx_tdx_logic -lsgx_pce_logic -ldl \
++QGS_LFLAGS = $(LDFLAGS) -L$(TOP_DIR)/build/linux -lsgx_tdx_logic -lsgx_pce_logic -ldl \
+              -L$(SGX_SDK)/lib64 -lsgx_urts -g
+ # add boost_system for link
+ ifeq ($(CC_LESS_THAN_15), 1)
+diff --git a/QuoteGeneration/quote_wrapper/ql/linux/Makefile b/QuoteGeneration/quote_wrapper/ql/linux/Makefile
+index 5c788531..951a9c7b 100644
+--- a/QuoteGeneration/quote_wrapper/ql/linux/Makefile
++++ b/QuoteGeneration/quote_wrapper/ql/linux/Makefile
+@@ -28,8 +28,9 @@ QL_Lib_C_Flags := $(COMMON_FLAGS) -g -fPIC -Werror -Wno-attributes $(QL_Lib_Incl
+ LDUFLAGS:= -pthread $(COMMON_LDFLAGS)
+ LDUFLAGS += -Wl,--version-script=dcap_ql_wrapper.lds -Wl,--gc-sections
+ 
+-QL_Lib_Cpp_Flags := $(QL_Lib_C_Flags)
+-QL_Lib_Link_Flags := $(SGX_COMMON_FLAGS) -g -L$(Quote_Library_Dir) -lsgx_qe3_logic -L$(PCE_Library_Dir) -lsgx_pce_logic -L$(TOP_DIR)/build/linux -L$(SGX_SDK)/lib64 -lpthread -ldl
++QL_Lib_Cpp_Flags := $(CXXFLAGS) $(QL_Lib_C_Flags)
++QL_Lib_C_Flags += $(CFLAGS)
++QL_Lib_Link_Flags := $(LDFLAGS) $(SGX_COMMON_FLAGS) -g -L$(Quote_Library_Dir) -lsgx_qe3_logic -L$(PCE_Library_Dir) -lsgx_pce_logic -L$(TOP_DIR)/build/linux -L$(SGX_SDK)/lib64 -lpthread -ldl
+ 
+ QL_Lib_Cpp_Flags += -DDISABLE_TRACE
+ QL_Lib_Link_Flags += -DDISABLE_TRACE
+diff --git a/QuoteGeneration/quote_wrapper/quote/linux/Makefile b/QuoteGeneration/quote_wrapper/quote/linux/Makefile
+index af6d5e6a..f96859a7 100644
+--- a/QuoteGeneration/quote_wrapper/quote/linux/Makefile
++++ b/QuoteGeneration/quote_wrapper/quote/linux/Makefile
+@@ -27,7 +27,7 @@ Quote_Include_Paths := -I$(SGX_SDK)/include -I../inc -I../../common/inc -I./ -I$
+ Quote_C_Flags := $(COMMON_FLAGS) -g -fPIC -Werror -Wno-attributes $(Quote_Include_Paths)
+ 
+ Quote_Cpp_Flags := $(Quote_C_Flags) -DSGX_ENCLAVE_PATH="\"$(SGX_ENCLAVE_PATH)\""
+-Quote_Link_Flags := $(COMMON_LDFLAGS) -g -pthread -L$(ROOT_DIR)/build/linux -L$(SGX_SDK)/lib64 -lsgx_urts -lpthread -ldl
++Quote_Link_Flags := $(COMMON_LDFLAGS) -g -pthread -L$(ROOT_DIR)/build/linux -L$(SGX_SDK)/lib64 -lsgx_urts -lpthread -ldl $(LDFLAGS)
+ 
+ ifndef DEBUG
+ Quote_Cpp_Flags += -DDISABLE_TRACE
+diff --git a/QuoteVerification/dcap_quoteverify/linux/Makefile b/QuoteVerification/dcap_quoteverify/linux/Makefile
+index c92ebef5..3e3a1f8b 100644
+--- a/QuoteVerification/dcap_quoteverify/linux/Makefile
++++ b/QuoteVerification/dcap_quoteverify/linux/Makefile
+@@ -48,7 +48,7 @@ QVL_PARSER := sgx_dcap_qvl_attestation
+ QVL_LIB_NAME := lib$(QVL_LIB).a
+ QVL_PARSER_NAME := lib$(QVL_PARSER).a
+ 
+-LDUFLAGS	:= -pthread -ldl -L. -l$(QVL_LIB) -l$(QVL_PARSER) $(COMMON_LDFLAGS) -lcrypto
++LDUFLAGS	:= $(LDFLAGS) -pthread -ldl -L. -l$(QVL_LIB) -l$(QVL_PARSER) $(COMMON_LDFLAGS) -lcrypto
+ LDUFLAGS	+= -Wl,--version-script=sgx_dcap_quoteverify.lds -Wl,--gc-sections
+ 
+ QVL_VERIFY_CPP_SRCS := $(wildcard ../*.cpp) $(wildcard *.cpp)
+diff --git a/tools/PCKCertSelection/PCKCertSelectionLib/Makefile b/tools/PCKCertSelection/PCKCertSelectionLib/Makefile
+index 5c586d86..1a565b70 100644
+--- a/tools/PCKCertSelection/PCKCertSelectionLib/Makefile
++++ b/tools/PCKCertSelection/PCKCertSelectionLib/Makefile
+@@ -126,7 +126,7 @@ CXXFLAGS += -m64 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Werror -
+ CXXFLAGS += -UPCK_CERT_SELECTION_WITH_COMPONENT
+ 
+ # Link flags
+-LINK_FLAGS := -m64 -shared $(COMMON_LDFLAGS) -lcrypto -lpthread -ldl
++LINK_FLAGS := $(LDFLAGS) -m64 -shared $(COMMON_LDFLAGS) -lcrypto -lpthread -ldl
+ LINK_FLAGS += -Wl,--version-script=pck_cert_selection.lds -Wl,--gc-sections
+ 
+ # Strip only in RELEASE builds
+diff --git a/tools/PCKRetrievalTool/Makefile b/tools/PCKRetrievalTool/Makefile
+index 22251bfa..0688c503 100644
+--- a/tools/PCKRetrievalTool/Makefile
++++ b/tools/PCKRetrievalTool/Makefile
+@@ -76,7 +76,7 @@ App_Include_Paths += -I ../../ae/dep/inc/internal -I ../SGXPlatformRegistration/
+ App_C_Flags := $(COMMON_FLAGS) $(CFLAGS) $(App_Include_Paths)
+ App_Cpp_Flags := $(COMMON_FLAGS) $(CXXFLAGS) $(App_Include_Paths) -DSGX_ENCLAVE_PATH="\"$(SGX_ENCLAVE_PATH)\""
+ 
+-App_Link_Flags := $(SGX_COMMON_CFLAGS) -Wl,-z,relro,-z,now,-z,noexecstack
++App_Link_Flags := $(CXXFLAGS) $(LDFLAGS) $(SGX_COMMON_CFLAGS) -Wl,-z,relro,-z,now,-z,noexecstack
+ App_Link_Flags +=  -lcurl -ldl -lpthread
+ ifeq ($(STANDALONE), 1)
+ 	App_Link_Flags += '-Wl,-rpath,$$ORIGIN'
+@@ -105,11 +105,11 @@ App/id_enclave_u.c:
+ 	echo "GEN  =>  $@"
+ 
+ App/id_enclave_u.o: App/id_enclave_u.c
+-	@$(CC) $(App_C_Flags) -c $< -o $@
++	$(CC) $(App_C_Flags) -c $< -o $@
+ 	@echo "CC   <=  $<"
+ 
+ App/pce_u.o: App/pce_u.c
+-	@$(CC) $(App_C_Flags) -c $< -o $@
++	$(CC) $(App_C_Flags) -c $< -o $@
+ 	@echo "CC   <=  $<"
+ 
+ App/%.o: App/%.cpp
+diff --git a/tools/SGXPlatformRegistration/Makefile b/tools/SGXPlatformRegistration/Makefile
+index f77c977c..8fb0e28f 100644
+--- a/tools/SGXPlatformRegistration/Makefile
++++ b/tools/SGXPlatformRegistration/Makefile
+@@ -112,12 +112,12 @@ OBJS_MPA_MANAGE_APP := $(patsubst $(MPA_MANAGE_PATH)/src/%.cpp,$(OBJ_MPA_MANAGE_
+ OBJ_TEST_PATH := $(OBJ_PATH)/test
+ OBJS_TEST := $(patsubst $(TEST_PATH)/%.cpp,$(OBJ_TEST_PATH)/%.o, $(SRC_TEST))
+ 
+-LDFLAGS_SO := -shared -Wl,-z,relro,-z,now,-z,noexecstack
+-LDFLAGS_EXE := -pie -Wl,-z,relro,-z,now,-z,noexecstack
+-LD_REGI_APP := -L$(LIB_PATH) -Wl,-Bstatic -lmpa_registration -Wl,-Bdynamic -lmpa_network -lmpa_uefi
+-LD_MANAGE_APP := -L$(LIB_PATH) -Wl,-Bstatic -lmpa_management -lmpa_registration -Wl,-Bdynamic -lmpa_uefi
++LDFLAGS_SO := $(LDFLAGS) -shared -Wl,-z,relro,-z,now,-z,noexecstack
++LDFLAGS_EXE := $(LDFLAGS) -pie -Wl,-z,relro,-z,now,-z,noexecstack
++LD_REGI_APP := $(LDFLAGS) -L$(LIB_PATH) -Wl,-Bstatic -lmpa_registration -Wl,-Bdynamic -lmpa_network -lmpa_uefi
++LD_MANAGE_APP := $(LDFLAGS) -L$(LIB_PATH) -Wl,-Bstatic -lmpa_management -lmpa_registration -Wl,-Bdynamic -lmpa_uefi
+ 
+-LD_GTEST := -L$(GTEST_PATH)/lib -lgtest -lgmock_main -lgmock -lpthread
++LD_GTEST := $(LDFLAGS) -L$(GTEST_PATH)/lib -lgtest -lgmock_main -lgmock -lpthread
+ 
+ CXX_WARNINGS := -Wall -Wextra -Winit-self -Wpointer-arith -Wreturn-type -Waddress -Wsequence-point -Wformat-security \
+ 				-Wmissing-include-dirs -Wfloat-equal -Wundef -Wshadow -Wcast-align -Wconversion -Wredundant-decls
+-- 
+2.56.0
+

diff --git a/0107-pcsclient-remove-leftover-debugging-print-args-state.patch b/0107-pcsclient-remove-leftover-debugging-print-args-state.patch
deleted file mode 100644
index 4db2902..0000000
--- a/0107-pcsclient-remove-leftover-debugging-print-args-state.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-From 411c44dae71a4992f7f758861a6e9a42fe3a2b0c Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= <berrange@redhat.com>
-Date: Tue, 8 Oct 2024 10:13:02 +0100
-Subject: [PATCH 107/122] pcsclient: remove leftover debugging 'print(args)'
- statement
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Dumping the python "Namespace" object to stdout after parsing argv
-serves no user purpose. Remove what is presumably a leftover
-debugging statement.
-
-Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
----
- tools/PcsClientTool/pcsclient.py | 2 --
- 1 file changed, 2 deletions(-)
-
-diff --git a/tools/PcsClientTool/pcsclient.py b/tools/PcsClientTool/pcsclient.py
-index f8ad362c..051829e2 100755
---- a/tools/PcsClientTool/pcsclient.py
-+++ b/tools/PcsClientTool/pcsclient.py
-@@ -63,8 +63,6 @@ def main():
-         parser.print_help()
-         parser.exit()
- 
--    print(args)
--
-     args.func(args)
- 
- class Utils:
--- 
-2.55.0
-

diff --git a/0108-Fix-soname-version-for-libsgx_qe3_logic.so-library.patch b/0108-Fix-soname-version-for-libsgx_qe3_logic.so-library.patch
index acbd9d4..28a73f8 100644
--- a/0108-Fix-soname-version-for-libsgx_qe3_logic.so-library.patch
+++ b/0108-Fix-soname-version-for-libsgx_qe3_logic.so-library.patch
@@ -1,7 +1,7 @@
-From 9772622029e1d5d2d823a194ed6e53463324d129 Mon Sep 17 00:00:00 2001
+From 2d8a019b6d2a14ffe8ca0984737d7681ef69a890 Mon Sep 17 00:00:00 2001
 From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= <berrange@redhat.com>
 Date: Fri, 17 Jan 2025 15:39:39 +0000
-Subject: [PATCH 108/122] Fix soname version for libsgx_qe3_logic.so library
+Subject: [PATCH 108/121] Fix soname version for libsgx_qe3_logic.so library
 MIME-Version: 1.0
 Content-Type: text/plain; charset=UTF-8
 Content-Transfer-Encoding: 8bit
@@ -13,7 +13,7 @@ Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
  2 files changed, 8 insertions(+), 1 deletion(-)
 
 diff --git a/QuoteGeneration/common/inc/internal/se_version.h b/QuoteGeneration/common/inc/internal/se_version.h
-index b8ae431d..486148e7 100644
+index 9ba36342..bd03b2de 100644
 --- a/QuoteGeneration/common/inc/internal/se_version.h
 +++ b/QuoteGeneration/common/inc/internal/se_version.h
 @@ -16,6 +16,11 @@
@@ -26,10 +26,10 @@ index b8ae431d..486148e7 100644
 + */
 +#define QE3_WRAPPER_VERSION          "1.0.0"
  
- #define QE3_VERSION                  "1.22.100.1"
- #define QVE_VERSION                  "1.25.100.1"
+ #define QE3_VERSION                  "1.27.100.1"
+ #define QVE_VERSION                  "1.27.100.1"
 diff --git a/QuoteGeneration/quote_wrapper/quote/linux/Makefile b/QuoteGeneration/quote_wrapper/quote/linux/Makefile
-index d0c053ec..1cb3d479 100644
+index f96859a7..a89b3389 100644
 --- a/QuoteGeneration/quote_wrapper/quote/linux/Makefile
 +++ b/QuoteGeneration/quote_wrapper/quote/linux/Makefile
 @@ -39,6 +39,8 @@ Quote_C_Objects := $(Quote_C_Files:.c=.o)
@@ -39,9 +39,9 @@ index d0c053ec..1cb3d479 100644
 +Quote_Full := $(Quote_Name).$(call get_full_version,QE3_WRAPPER_VERSION)
 +Quote_Major := $(Quote_Name).$(call get_major_version,QE3_WRAPPER_VERSION)
  
+ .NOTPARALLEL: qe_logic.o
  .PHONY: all
- all: install_lib
-@@ -68,7 +70,7 @@ $(Quote_Cpp_Objects): %.o: %.cpp
+@@ -69,7 +71,7 @@ $(Quote_Cpp_Objects): %.o: %.cpp
  	@echo "CXX  <=  $<"
  
  $(Quote_Name): $(Quote_C_Objects) $(Quote_Cpp_Objects)
@@ -51,5 +51,5 @@ index d0c053ec..1cb3d479 100644
  
  $(BUILD_DIR):
 -- 
-2.55.0
+2.56.0
 

diff --git a/0109-Workaround-broken-GCC-15.patch b/0109-Workaround-broken-GCC-15.patch
index 6ee8b6d..6aa3576 100644
--- a/0109-Workaround-broken-GCC-15.patch
+++ b/0109-Workaround-broken-GCC-15.patch
@@ -1,7 +1,7 @@
-From 4475bc63ee7a7ab972a503b6659169b3467b8847 Mon Sep 17 00:00:00 2001
+From a2eb44a137e7ed93bae1f0acf7fe9ab4f0365be1 Mon Sep 17 00:00:00 2001
 From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= <berrange@redhat.com>
 Date: Thu, 6 Feb 2025 20:08:59 +0000
-Subject: [PATCH 109/122] Workaround broken GCC 15
+Subject: [PATCH 109/121] Workaround broken GCC 15
 MIME-Version: 1.0
 Content-Type: text/plain; charset=UTF-8
 Content-Transfer-Encoding: 8bit
@@ -36,5 +36,5 @@ index 15fbdd42..4400544b 100644
  private:
      struct alignas(A)_T_instantiator_
 -- 
-2.55.0
+2.56.0
 

diff --git a/0110-Don-t-disable-cf-protection-for-qgs.patch b/0110-Don-t-disable-cf-protection-for-qgs.patch
index 076b6ef..d1024d6 100644
--- a/0110-Don-t-disable-cf-protection-for-qgs.patch
+++ b/0110-Don-t-disable-cf-protection-for-qgs.patch
@@ -1,7 +1,7 @@
-From 0b283d92721fa0b90e57c066ca03497e40f852c4 Mon Sep 17 00:00:00 2001
+From 35c305551ed8643679aa96631189bf056e5a1308 Mon Sep 17 00:00:00 2001
 From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= <berrange@redhat.com>
 Date: Wed, 2 Apr 2025 18:39:31 +0100
-Subject: [PATCH 110/122] Don't disable cf-protection for qgs
+Subject: [PATCH 110/121] Don't disable cf-protection for qgs
 MIME-Version: 1.0
 Content-Type: text/plain; charset=UTF-8
 Content-Transfer-Encoding: 8bit
@@ -27,5 +27,5 @@ index ed75e2a7..0016c0a4 100644
  DEPENDS = ${QGS_OBJS test_client.o:.o=.d}
  
 -- 
-2.55.0
+2.56.0
 

diff --git a/0111-Use-distro-provided-rapidjson-package.patch b/0111-Use-distro-provided-rapidjson-package.patch
index b328552..32c3291 100644
--- a/0111-Use-distro-provided-rapidjson-package.patch
+++ b/0111-Use-distro-provided-rapidjson-package.patch
@@ -1,7 +1,7 @@
-From da181fec344281757bdb92f5f189fe1c4a9b60f0 Mon Sep 17 00:00:00 2001
+From 2daa3573fef3d46e97ca084c97888cd62135729c Mon Sep 17 00:00:00 2001
 From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= <berrange@redhat.com>
 Date: Mon, 26 Feb 2024 12:19:51 +0000
-Subject: [PATCH 111/122] Use distro provided rapidjson package
+Subject: [PATCH 111/121] Use distro provided rapidjson package
 MIME-Version: 1.0
 Content-Type: text/plain; charset=UTF-8
 Content-Transfer-Encoding: 8bit
@@ -20,7 +20,7 @@ Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
  9 files changed, 14 insertions(+), 14 deletions(-)
 
 diff --git a/QuoteGeneration/qcnl/certification_provider.cpp b/QuoteGeneration/qcnl/certification_provider.cpp
-index a08ea7e7..41e5b9d0 100644
+index 8ec69c83..ee44e99b 100644
 --- a/QuoteGeneration/qcnl/certification_provider.cpp
 +++ b/QuoteGeneration/qcnl/certification_provider.cpp
 @@ -36,7 +36,7 @@
@@ -72,7 +72,7 @@ index 31c17d3c..29a4f29b 100644
  
  CNL_Lib_C_Flags := $(COMMON_FLAGS) -g -fPIC -Werror -Wno-attributes $(CNL_Lib_Include_Paths) $(shell pkg-config --cflags libcrypto)
 diff --git a/QuoteGeneration/qcnl/linux/qcnl_config_impl.cpp b/QuoteGeneration/qcnl/linux/qcnl_config_impl.cpp
-index 7b74eae0..5f20a1e3 100644
+index 2e1ae9c5..b49b531d 100644
 --- a/QuoteGeneration/qcnl/linux/qcnl_config_impl.cpp
 +++ b/QuoteGeneration/qcnl/linux/qcnl_config_impl.cpp
 @@ -35,7 +35,7 @@
@@ -163,5 +163,5 @@ index 499ee94f..434fa6b9 100644
  # the library shared object name
  LIB_NAME		:= libPCKCertSelection.a
 -- 
-2.55.0
+2.56.0
 

diff --git a/0112-Don-t-stomp-on-VERBOSE-variable.patch b/0112-Don-t-stomp-on-VERBOSE-variable.patch
index dbcf02f..0631113 100644
--- a/0112-Don-t-stomp-on-VERBOSE-variable.patch
+++ b/0112-Don-t-stomp-on-VERBOSE-variable.patch
@@ -1,7 +1,7 @@
-From eb93eda1a01be0f0014777fa73f618d4855de032 Mon Sep 17 00:00:00 2001
+From 6d811e82b99469332364bec56e6a97cd33c6865c Mon Sep 17 00:00:00 2001
 From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= <berrange@redhat.com>
 Date: Wed, 16 Apr 2025 11:48:52 +0100
-Subject: [PATCH 112/122] Don't stomp on "VERBOSE" variable
+Subject: [PATCH 112/121] Don't stomp on "VERBOSE" variable
 MIME-Version: 1.0
 Content-Type: text/plain; charset=UTF-8
 Content-Transfer-Encoding: 8bit
@@ -97,5 +97,5 @@ index 3d474bbc..0f593f5e 100644
 -	$(VERBOSE) rm -vrf $(TARGET) $(SIGNING_MATERIAL)
 +	$(CMD_VERBOSE) rm -vrf $(TARGET) $(SIGNING_MATERIAL)
 -- 
-2.55.0
+2.56.0
 

diff --git a/0113-qgs-add-m-MODE-parameter-for-UNIX-socket-mode.patch b/0113-qgs-add-m-MODE-parameter-for-UNIX-socket-mode.patch
index 8a4ba4b..5de5db6 100644
--- a/0113-qgs-add-m-MODE-parameter-for-UNIX-socket-mode.patch
+++ b/0113-qgs-add-m-MODE-parameter-for-UNIX-socket-mode.patch
@@ -1,7 +1,7 @@
-From c6f540ff823726961c974abd99a428bb5936a0c1 Mon Sep 17 00:00:00 2001
+From 0b2e3ff6361d8753a44d6c61634057dd5365ea84 Mon Sep 17 00:00:00 2001
 From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= <berrange@redhat.com>
 Date: Fri, 2 May 2025 14:48:24 +0100
-Subject: [PATCH 113/122] qgs: add -m=MODE parameter for UNIX socket mode
+Subject: [PATCH 113/121] qgs: add -m=MODE parameter for UNIX socket mode
 MIME-Version: 1.0
 Content-Type: text/plain; charset=UTF-8
 Content-Transfer-Encoding: 8bit
@@ -16,7 +16,7 @@ Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
  1 file changed, 28 insertions(+), 2 deletions(-)
 
 diff --git a/QuoteGeneration/quote_wrapper/qgs/server_main.cpp b/QuoteGeneration/quote_wrapper/qgs/server_main.cpp
-index cbd7a5dc..932acf8a 100644
+index 53a01453..af906c7f 100644
 --- a/QuoteGeneration/quote_wrapper/qgs/server_main.cpp
 +++ b/QuoteGeneration/quote_wrapper/qgs/server_main.cpp
 @@ -258,7 +258,7 @@ int main(int argc, const char* argv[])
@@ -78,5 +78,5 @@ index cbd7a5dc..932acf8a 100644
              exit(1);
          }
 -- 
-2.55.0
+2.56.0
 

diff --git a/0114-pcsclient-convert-from-asn1-to-pyasn1-python-module.patch b/0114-pcsclient-convert-from-asn1-to-pyasn1-python-module.patch
new file mode 100644
index 0000000..c0bb2b9
--- /dev/null
+++ b/0114-pcsclient-convert-from-asn1-to-pyasn1-python-module.patch
@@ -0,0 +1,341 @@
+From ad7b5eca548f152b88a8f69a2481bd1fef4c7080 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= <berrange@redhat.com>
+Date: Thu, 4 Dec 2025 13:54:19 +0000
+Subject: [PATCH 114/121] pcsclient: convert from asn1 to pyasn1 python module
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+The pyasn1 module decodes using a formal object model so is more robust,
+as well as being more widely available in distros.
+
+Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
+---
+ tools/PcsClientTool/lib/intelsgx/pckcert.py | 267 +++++++++++++-------
+ 1 file changed, 177 insertions(+), 90 deletions(-)
+
+diff --git a/tools/PcsClientTool/lib/intelsgx/pckcert.py b/tools/PcsClientTool/lib/intelsgx/pckcert.py
+index 97aa2783..eaed331b 100644
+--- a/tools/PcsClientTool/lib/intelsgx/pckcert.py
++++ b/tools/PcsClientTool/lib/intelsgx/pckcert.py
+@@ -1,76 +1,171 @@
+ from cryptography import x509
+ from cryptography.x509.oid import ObjectIdentifier
+ from cryptography.hazmat.backends import default_backend
+-import asn1
+-import struct
++import pyasn1
++from pyasn1.codec.der.decoder import decode as der_decoder
++from pyasn1.type import namedtype
++from pyasn1.type import namedval
++from pyasn1.type import opentype
++from pyasn1.type import univ
++
++
++id_cdp_extensionStr = '2.5.29.31'
++id_ce_sGXExtensionsStr = '1.2.840.113741.1.13.1'
++
++id_ce_sGXExtensions = univ.ObjectIdentifier(id_ce_sGXExtensionsStr)
++
++id_ce_sGXExtensions_pPID = univ.ObjectIdentifier(id_ce_sGXExtensionsStr + ".1")
++id_ce_sGXExtensions_tCB = univ.ObjectIdentifier(id_ce_sGXExtensionsStr + ".2")
++id_ce_sGXExtensions_pCE_ID = univ.ObjectIdentifier(id_ce_sGXExtensionsStr + ".3")
++id_ce_sGXExtensions_fMSPC = univ.ObjectIdentifier(id_ce_sGXExtensionsStr + ".4")
++id_ce_sGXExtensions_sGXType = univ.ObjectIdentifier(id_ce_sGXExtensionsStr + ".5")
++id_ce_sGXExtensions_platformInstanceID = univ.ObjectIdentifier(id_ce_sGXExtensionsStr + ".6")
++id_ce_sGXExtensions_configuration = univ.ObjectIdentifier(id_ce_sGXExtensionsStr + ".7")
++
++id_ce_tCB_sGXTCBComp01SVN = univ.ObjectIdentifier(id_ce_sGXExtensionsStr + ".2.1")
++id_ce_tCB_sGXTCBComp02SVN = univ.ObjectIdentifier(id_ce_sGXExtensionsStr + ".2.2")
++id_ce_tCB_sGXTCBComp03SVN = univ.ObjectIdentifier(id_ce_sGXExtensionsStr + ".2.3")
++id_ce_tCB_sGXTCBComp04SVN = univ.ObjectIdentifier(id_ce_sGXExtensionsStr + ".2.4")
++id_ce_tCB_sGXTCBComp05SVN = univ.ObjectIdentifier(id_ce_sGXExtensionsStr + ".2.5")
++id_ce_tCB_sGXTCBComp06SVN = univ.ObjectIdentifier(id_ce_sGXExtensionsStr + ".2.6")
++id_ce_tCB_sGXTCBComp07SVN = univ.ObjectIdentifier(id_ce_sGXExtensionsStr + ".2.7")
++id_ce_tCB_sGXTCBComp08SVN = univ.ObjectIdentifier(id_ce_sGXExtensionsStr + ".2.8")
++id_ce_tCB_sGXTCBComp09SVN = univ.ObjectIdentifier(id_ce_sGXExtensionsStr + ".2.9")
++id_ce_tCB_sGXTCBComp10SVN = univ.ObjectIdentifier(id_ce_sGXExtensionsStr + ".2.10")
++id_ce_tCB_sGXTCBComp11SVN = univ.ObjectIdentifier(id_ce_sGXExtensionsStr + ".2.11")
++id_ce_tCB_sGXTCBComp12SVN = univ.ObjectIdentifier(id_ce_sGXExtensionsStr + ".2.12")
++id_ce_tCB_sGXTCBComp13SVN = univ.ObjectIdentifier(id_ce_sGXExtensionsStr + ".2.13")
++id_ce_tCB_sGXTCBComp14SVN = univ.ObjectIdentifier(id_ce_sGXExtensionsStr + ".2.14")
++id_ce_tCB_sGXTCBComp15SVN = univ.ObjectIdentifier(id_ce_sGXExtensionsStr + ".2.15")
++id_ce_tCB_sGXTCBComp16SVN = univ.ObjectIdentifier(id_ce_sGXExtensionsStr + ".2.16")
++id_ce_tCB_pCESVN = univ.ObjectIdentifier(id_ce_sGXExtensionsStr + ".2.17")
++id_ce_tCB_cPUSVN = univ.ObjectIdentifier(id_ce_sGXExtensionsStr + ".2.18")
++
++id_ce_configuration_dynamicPlatform = univ.ObjectIdentifier(id_ce_sGXExtensionsStr + ".7.1")
++id_ce_configuration_cachedKeys = univ.ObjectIdentifier(id_ce_sGXExtensionsStr + ".7.2")
++id_ce_configuration_sMTEnabled = univ.ObjectIdentifier(id_ce_sGXExtensionsStr + ".7.3")
++
++
++class SgxExtensionPPID(univ.OctetString):
++	pass
++
++
++class SgxCPUSVN(univ.OctetString):
++	pass
++
++
++tcbAttributeMap = {
++	id_ce_tCB_sGXTCBComp01SVN: univ.Integer(),
++	id_ce_tCB_sGXTCBComp02SVN: univ.Integer(),
++	id_ce_tCB_sGXTCBComp03SVN: univ.Integer(),
++	id_ce_tCB_sGXTCBComp04SVN: univ.Integer(),
++	id_ce_tCB_sGXTCBComp05SVN: univ.Integer(),
++	id_ce_tCB_sGXTCBComp06SVN: univ.Integer(),
++	id_ce_tCB_sGXTCBComp07SVN: univ.Integer(),
++	id_ce_tCB_sGXTCBComp08SVN: univ.Integer(),
++	id_ce_tCB_sGXTCBComp09SVN: univ.Integer(),
++	id_ce_tCB_sGXTCBComp10SVN: univ.Integer(),
++	id_ce_tCB_sGXTCBComp11SVN: univ.Integer(),
++	id_ce_tCB_sGXTCBComp12SVN: univ.Integer(),
++	id_ce_tCB_sGXTCBComp13SVN: univ.Integer(),
++	id_ce_tCB_sGXTCBComp14SVN: univ.Integer(),
++	id_ce_tCB_sGXTCBComp15SVN: univ.Integer(),
++	id_ce_tCB_sGXTCBComp16SVN: univ.Integer(),
++	id_ce_tCB_pCESVN: univ.Integer(),
++	id_ce_tCB_cPUSVN: SgxCPUSVN(),
++}
++
++
++class SgxExtensionTCBEntry(univ.Sequence):
++	componentType = namedtype.NamedTypes(
++		namedtype.NamedType('tCBId', univ.ObjectIdentifier()),
++		namedtype.NamedType('tCBValue', univ.Any(),
++				    openType=opentype.OpenType('tCBId',
++							       tcbAttributeMap))
++	)
++
++
++class SgxExtensionTCB(univ.SequenceOf):
++	componentType = SgxExtensionTCBEntry()
++
++
++class SgxExtensionPCEID(univ.OctetString):
++	pass
++
++
++class SgxExtensionFMSPC(univ.OctetString):
++	pass
++
++
++class SgxExtensionSGXType(univ.Enumerated):
++	namedValues = namedval.NamedValues(
++		('standard', 0),
++		('scalable', 1),
++		('scalableWithIntegrity', 2)
++	)
++
++
++class SgxExtensionPlatformInstanceID(univ.OctetString):
++	pass
++
++
++configurationAttributeMap = {
++	id_ce_configuration_dynamicPlatform: univ.Boolean(),
++	id_ce_configuration_cachedKeys: univ.Boolean(),
++	id_ce_configuration_sMTEnabled: univ.Boolean(),
++}
++
++
++class SgxExtensionConfigurationEntry(univ.Sequence):
++	componentType = namedtype.NamedTypes(
++		namedtype.NamedType('configurationId', univ.ObjectIdentifier()),
++		namedtype.NamedType('configurationValue', univ.Any(),
++				    openType=opentype.OpenType('configurationId',
++							       configurationAttributeMap))
++	)
++
++
++class SgxExtensionConfiguration(univ.SequenceOf):
++	componentType = SgxExtensionConfigurationEntry()
++
++
++extensionAttributeMap = {
++	id_ce_sGXExtensions_pPID: SgxExtensionPPID(),
++	id_ce_sGXExtensions_tCB: SgxExtensionTCB(),
++	id_ce_sGXExtensions_pCE_ID: SgxExtensionPCEID(),
++	id_ce_sGXExtensions_fMSPC: SgxExtensionFMSPC(),
++	id_ce_sGXExtensions_sGXType: SgxExtensionSGXType(),
++	id_ce_sGXExtensions_platformInstanceID: SgxExtensionPlatformInstanceID(),
++	id_ce_sGXExtensions_configuration: SgxExtensionConfiguration(),
++}
++
++
++class SgxExtensionEntry(univ.Sequence):
++	componentType = namedtype.NamedTypes(
++		namedtype.NamedType('sGXExtensionId', univ.ObjectIdentifier()),
++		namedtype.NamedType('sGXExtensionValue', univ.Any(),
++				    openType=opentype.OpenType('sGXExtensionId',
++							       extensionAttributeMap))
++	)
++
++
++class SgxExtension(univ.SequenceOf):
++	componentType = SgxExtensionEntry()
+ 
+-# This is a very simplistic ASN1 parser. Production code should use
+-# something like ans1c to build a parser from the ASN1 spec file so
+-# that it can check and enforce data validity.
+ 
+ class SgxPckCertificateExtensions:
+-	id_ce_sGXExtensions = '1.2.840.113741.1.13.1'
+-	id_ce_sGXExtensions_tCB= id_ce_sGXExtensions+".2"
+-	id_ce_sGXExtensions_configuration= id_ce_sGXExtensions+".7"
+-	id_cdp_extension = '2.5.29.31'
+-	decoder= asn1.Decoder()
+-	_data= {}
+-	ca= ''
+-	oids= {
+-		id_ce_sGXExtensions: 'sGXExtensions',
+-		id_ce_sGXExtensions+".1": 'pPID',
+-		id_ce_sGXExtensions_tCB: 'tCB',
+-		id_ce_sGXExtensions_tCB+".1": 'tCB-sGXTCBComp01SVN',
+-		id_ce_sGXExtensions_tCB+".2": 'tCB-sGXTCBComp02SVN',
+-		id_ce_sGXExtensions_tCB+".3": 'tCB-sGXTCBComp03SVN',
+-		id_ce_sGXExtensions_tCB+".4": 'tCB-sGXTCBComp04SVN',
+-		id_ce_sGXExtensions_tCB+".5": 'tCB-sGXTCBComp05SVN',
+-		id_ce_sGXExtensions_tCB+".6": 'tCB-sGXTCBComp06SVN',
+-		id_ce_sGXExtensions_tCB+".7": 'tCB-sGXTCBComp07SVN',
+-		id_ce_sGXExtensions_tCB+".8": 'tCB-sGXTCBComp08SVN',
+-		id_ce_sGXExtensions_tCB+".9": 'tCB-sGXTCBComp09SVN',
+-		id_ce_sGXExtensions_tCB+".10": 'tCB-sGXTCBComp10SVN',
+-		id_ce_sGXExtensions_tCB+".11": 'tCB-sGXTCBComp11SVN',
+-		id_ce_sGXExtensions_tCB+".12": 'tCB-sGXTCBComp12SVN',
+-		id_ce_sGXExtensions_tCB+".13": 'tCB-sGXTCBComp13SVN',
+-		id_ce_sGXExtensions_tCB+".14": 'tCB-sGXTCBComp14SVN',
+-		id_ce_sGXExtensions_tCB+".15": 'tCB-sGXTCBComp15SVN',
+-		id_ce_sGXExtensions_tCB+".16": 'tCB-sGXTCBComp16SVN',
+-		id_ce_sGXExtensions_tCB+".17": 'tCB-pCESVN',
+-		id_ce_sGXExtensions_tCB+".18": 'tCB-cPUSVN',
+-		id_ce_sGXExtensions+".3": 'pCE-ID',
+-		id_ce_sGXExtensions+".4": 'fMSPC',
+-		id_ce_sGXExtensions+".5": 'sGXType',
+-		id_ce_sGXExtensions+".6": 'platformInstanceID',
+-		id_ce_sGXExtensions_configuration: 'configuration',
+-		id_ce_sGXExtensions_configuration+".1": 'dynamicPlatform',
+-		id_ce_sGXExtensions_configuration+".2": 'cachedKeys',
+-		id_ce_sGXExtensions_configuration+".3": 'sMTEnabled'
+-	}
+-
+-	def _parse_asn1(self, d, oid, lnr=asn1.Numbers.ObjectIdentifier):
+-		tag= self.decoder.peek()
+-		while tag:
+-			if tag.typ == asn1.Types.Constructed:
+-				self.decoder.enter()
+-				if ( lnr == asn1.Numbers.ObjectIdentifier ):
+-					d[self.oids[oid]]= {}
+-					self._parse_asn1(d[self.oids[oid]], oid, tag.nr)
+-				else:
+-					self._parse_asn1(d, oid, tag.nr)
+-				self.decoder.leave()
+-			elif tag.typ == asn1.Types.Primitive:
+-				tag, value= self.decoder.read()
+-				if ( tag.nr == asn1.Numbers.ObjectIdentifier ):
+-					oid= value
+-				else:
+-					d[self.oids[oid]]= value
+-			lnr= tag.nr
+-			tag= self.decoder.peek()
+-		return
++
++	def __init__(self):
++		self.ca= ''
++		self._data= None
++
++	def _parse_asn1(self, extensionData):
++		parsed, extra= der_decoder(extensionData,
++					   asn1Spec=SgxExtension(),
++					   decodeOpenTypes=True)
++		return parsed
+ 
+ 	def parse_pem_certificate(self, pem):
+-		self._data= {}
+ 		cert= x509.load_pem_x509_certificate(pem, default_backend())
+ 		issuerCN = cert.issuer.rfc4514_string()
+ 		if (issuerCN.find('Processor') != -1) :
+@@ -81,63 +176,55 @@ class SgxPckCertificateExtensions:
+ 			self.ca = None
+ 		
+ 		sgxext= cert.extensions.get_extension_for_oid(
+-			ObjectIdentifier(self.id_ce_sGXExtensions)
++			ObjectIdentifier(id_ce_sGXExtensionsStr)
+ 		)
+ 
+-		self.decoder.start(sgxext.value.value)
+-		self._parse_asn1(self._data, self.id_ce_sGXExtensions)
++		self._data= self._parse_asn1(sgxext.value.value)
+ 
+ 	def get_root_ca_crl(self, pem):
+-		self._data= {}
+ 		cert= x509.load_pem_x509_certificate(pem, default_backend())
+ 		cdpext= cert.extensions.get_extension_for_oid(
+-			ObjectIdentifier(self.id_cdp_extension)
++			ObjectIdentifier(id_cdp_extensionStr)
+ 		)
+ 
+ 		return getattr(getattr(cdpext.value[0], "_full_name")[0], "value")
+ 
+-	def data(self, field=None):
+-		if 'sGXExtensions' not in self._data:
+-			return None
+-
+-		d= self._data['sGXExtensions']
+-
+-		if field:
+-			if field in d:
+-				return d[field]
++	def data(self, field):
++		if self._data is None:
+ 			return None
+ 
+-		return d
++		ent = list(filter(lambda e: e['sGXExtensionId'] == field, self._data))[0]
++		return ent['sGXExtensionValue']
+ 
+ 	def _hex_data(self, field):
+ 		val= self.data(field)
+ 		if val is None:
+ 			return None
+-		return val.hex()
++		return bytes(val).hex()
+ 
+ 	# Commonly-needed data fields
+ 	#------------------------------
+ 
+ 	def get_fmspc(self):
+-		return self._hex_data('fMSPC')
++		return self._hex_data(id_ce_sGXExtensions_fMSPC)
+ 
+ 	def get_ca(self):
+ 		return self.ca
+ 
+ 	def get_tcbm(self):
+-		tcb= self.data('tCB')
++		tcb= self.data(id_ce_sGXExtensions_tCB)
+ 		if tcb is None:
+ 			return None
+-		return tcb['tCB-cPUSVN'].hex() + self.get_pcesvn()
++		ent= list(filter(lambda e: e['tCBId'] == id_ce_tCB_cPUSVN, tcb))[0]
++		return bytes(ent["tCBValue"]).hex() + self.get_pcesvn()
+ 
+ 	def get_pceid(self):
+-		return self._hex_data('pCE-ID')
++		return self._hex_data(id_ce_sGXExtensions_pCE_ID)
+ 
+ 	def get_ppid(self):
+-		return self._hex_data('pPID')
++		return self._hex_data(id_ce_sGXExtensions_pPID)
+ 
+ 	def get_pcesvn(self):
+-		tcb= self.data('tCB')
+-		# pCESVN should be packed little-endian
+-		pcesvn= struct.pack('<H', tcb['tCB-pCESVN'])
+-		return pcesvn.hex()
++		tcb= self.data(id_ce_sGXExtensions_tCB)
++		ent= list(filter(lambda e: e['tCBId'] == id_ce_tCB_pCESVN, tcb))[0]
++		return int(ent["tCBValue"]).to_bytes(2, byteorder='little').hex()
+-- 
+2.56.0
+

diff --git a/0114-pcsclient-make-keyring-module-optional.patch b/0114-pcsclient-make-keyring-module-optional.patch
deleted file mode 100644
index 25d8f08..0000000
--- a/0114-pcsclient-make-keyring-module-optional.patch
+++ /dev/null
@@ -1,69 +0,0 @@
-From 5477dde55143da73af4a6ba1aceb9ab60a56bbbd Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= <berrange@redhat.com>
-Date: Thu, 4 Dec 2025 13:31:54 +0000
-Subject: [PATCH 114/122] pcsclient: make 'keyring' module optional
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-This is not available in some distros, and since it is merely a
-convenience to avoid repeated password entry, it can be made
-optional.
-
-Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
----
- .../PcsClientTool/lib/intelsgx/credential.py  | 29 +++++++++++--------
- 1 file changed, 17 insertions(+), 12 deletions(-)
-
-diff --git a/tools/PcsClientTool/lib/intelsgx/credential.py b/tools/PcsClientTool/lib/intelsgx/credential.py
-index fa1e38d0..e0e32ddb 100644
---- a/tools/PcsClientTool/lib/intelsgx/credential.py
-+++ b/tools/PcsClientTool/lib/intelsgx/credential.py
-@@ -1,4 +1,7 @@
--import keyring
-+try:
-+    import keyring
-+except:
-+    keyring = None
- import getpass
- 
- class Credentials:
-@@ -7,11 +10,12 @@ class Credentials:
- 
-     def get_pcs_api_key(self):
-         pcs_api_key = ""
--        try:
--            print("Please note: A prompt may appear asking for your keyring password to access stored credentials.")
--            pcs_api_key = keyring.get_password(self.APPNAME, self.KEY_PCS_APIKEY)
--        except keyring.errors.KeyringError as ke:
--            pcs_api_key = ""
-+        if keyring is not None:
-+            try:
-+                print("Please note: A prompt may appear asking for your keyring password to access stored credentials.")
-+                pcs_api_key = keyring.get_password(self.APPNAME, self.KEY_PCS_APIKEY)
-+            except keyring.errors.KeyringError as ke:
-+                pcs_api_key = ""
-         
-         while pcs_api_key is None or pcs_api_key == '':
-             pcs_api_key = getpass.getpass(prompt="Please input ApiKey for Intel PCS:")
-@@ -24,10 +28,11 @@ class Credentials:
-         return pcs_api_key
- 
-     def set_pcs_api_key(self, apikey):
--        try:
--            print("Please note: A prompt may appear asking for your keyring password to access stored credentials.")
--            keyring.set_password(self.APPNAME, self.KEY_PCS_APIKEY, apikey)
--        except keyring.errors.PasswordSetError as ke:
--            print("Failed to store PCS API key.")
--            return False
-+        if keyring is not None:
-+            try:
-+                print("Please note: A prompt may appear asking for your keyring password to access stored credentials.")
-+                keyring.set_password(self.APPNAME, self.KEY_PCS_APIKEY, apikey)
-+            except keyring.errors.PasswordSetError as ke:
-+                print("Failed to store PCS API key.")
-+                return False
-         return True
--- 
-2.55.0
-

diff --git a/0115-pcsclient-convert-from-asn1-to-pyasn1-python-module.patch b/0115-pcsclient-convert-from-asn1-to-pyasn1-python-module.patch
deleted file mode 100644
index aa73b3b..0000000
--- a/0115-pcsclient-convert-from-asn1-to-pyasn1-python-module.patch
+++ /dev/null
@@ -1,341 +0,0 @@
-From 4db2234de25c905fb4289620c643e3b85eb2d731 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= <berrange@redhat.com>
-Date: Thu, 4 Dec 2025 13:54:19 +0000
-Subject: [PATCH 115/122] pcsclient: convert from asn1 to pyasn1 python module
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-The pyasn1 module decodes using a formal object model so is more robust,
-as well as being more widely available in distros.
-
-Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
----
- tools/PcsClientTool/lib/intelsgx/pckcert.py | 267 +++++++++++++-------
- 1 file changed, 177 insertions(+), 90 deletions(-)
-
-diff --git a/tools/PcsClientTool/lib/intelsgx/pckcert.py b/tools/PcsClientTool/lib/intelsgx/pckcert.py
-index 97aa2783..eaed331b 100644
---- a/tools/PcsClientTool/lib/intelsgx/pckcert.py
-+++ b/tools/PcsClientTool/lib/intelsgx/pckcert.py
-@@ -1,76 +1,171 @@
- from cryptography import x509
- from cryptography.x509.oid import ObjectIdentifier
- from cryptography.hazmat.backends import default_backend
--import asn1
--import struct
-+import pyasn1
-+from pyasn1.codec.der.decoder import decode as der_decoder
-+from pyasn1.type import namedtype
-+from pyasn1.type import namedval
-+from pyasn1.type import opentype
-+from pyasn1.type import univ
-+
-+
-+id_cdp_extensionStr = '2.5.29.31'
-+id_ce_sGXExtensionsStr = '1.2.840.113741.1.13.1'
-+
-+id_ce_sGXExtensions = univ.ObjectIdentifier(id_ce_sGXExtensionsStr)
-+
-+id_ce_sGXExtensions_pPID = univ.ObjectIdentifier(id_ce_sGXExtensionsStr + ".1")
-+id_ce_sGXExtensions_tCB = univ.ObjectIdentifier(id_ce_sGXExtensionsStr + ".2")
-+id_ce_sGXExtensions_pCE_ID = univ.ObjectIdentifier(id_ce_sGXExtensionsStr + ".3")
-+id_ce_sGXExtensions_fMSPC = univ.ObjectIdentifier(id_ce_sGXExtensionsStr + ".4")
-+id_ce_sGXExtensions_sGXType = univ.ObjectIdentifier(id_ce_sGXExtensionsStr + ".5")
-+id_ce_sGXExtensions_platformInstanceID = univ.ObjectIdentifier(id_ce_sGXExtensionsStr + ".6")
-+id_ce_sGXExtensions_configuration = univ.ObjectIdentifier(id_ce_sGXExtensionsStr + ".7")
-+
-+id_ce_tCB_sGXTCBComp01SVN = univ.ObjectIdentifier(id_ce_sGXExtensionsStr + ".2.1")
-+id_ce_tCB_sGXTCBComp02SVN = univ.ObjectIdentifier(id_ce_sGXExtensionsStr + ".2.2")
-+id_ce_tCB_sGXTCBComp03SVN = univ.ObjectIdentifier(id_ce_sGXExtensionsStr + ".2.3")
-+id_ce_tCB_sGXTCBComp04SVN = univ.ObjectIdentifier(id_ce_sGXExtensionsStr + ".2.4")
-+id_ce_tCB_sGXTCBComp05SVN = univ.ObjectIdentifier(id_ce_sGXExtensionsStr + ".2.5")
-+id_ce_tCB_sGXTCBComp06SVN = univ.ObjectIdentifier(id_ce_sGXExtensionsStr + ".2.6")
-+id_ce_tCB_sGXTCBComp07SVN = univ.ObjectIdentifier(id_ce_sGXExtensionsStr + ".2.7")
-+id_ce_tCB_sGXTCBComp08SVN = univ.ObjectIdentifier(id_ce_sGXExtensionsStr + ".2.8")
-+id_ce_tCB_sGXTCBComp09SVN = univ.ObjectIdentifier(id_ce_sGXExtensionsStr + ".2.9")
-+id_ce_tCB_sGXTCBComp10SVN = univ.ObjectIdentifier(id_ce_sGXExtensionsStr + ".2.10")
-+id_ce_tCB_sGXTCBComp11SVN = univ.ObjectIdentifier(id_ce_sGXExtensionsStr + ".2.11")
-+id_ce_tCB_sGXTCBComp12SVN = univ.ObjectIdentifier(id_ce_sGXExtensionsStr + ".2.12")
-+id_ce_tCB_sGXTCBComp13SVN = univ.ObjectIdentifier(id_ce_sGXExtensionsStr + ".2.13")
-+id_ce_tCB_sGXTCBComp14SVN = univ.ObjectIdentifier(id_ce_sGXExtensionsStr + ".2.14")
-+id_ce_tCB_sGXTCBComp15SVN = univ.ObjectIdentifier(id_ce_sGXExtensionsStr + ".2.15")
-+id_ce_tCB_sGXTCBComp16SVN = univ.ObjectIdentifier(id_ce_sGXExtensionsStr + ".2.16")
-+id_ce_tCB_pCESVN = univ.ObjectIdentifier(id_ce_sGXExtensionsStr + ".2.17")
-+id_ce_tCB_cPUSVN = univ.ObjectIdentifier(id_ce_sGXExtensionsStr + ".2.18")
-+
-+id_ce_configuration_dynamicPlatform = univ.ObjectIdentifier(id_ce_sGXExtensionsStr + ".7.1")
-+id_ce_configuration_cachedKeys = univ.ObjectIdentifier(id_ce_sGXExtensionsStr + ".7.2")
-+id_ce_configuration_sMTEnabled = univ.ObjectIdentifier(id_ce_sGXExtensionsStr + ".7.3")
-+
-+
-+class SgxExtensionPPID(univ.OctetString):
-+	pass
-+
-+
-+class SgxCPUSVN(univ.OctetString):
-+	pass
-+
-+
-+tcbAttributeMap = {
-+	id_ce_tCB_sGXTCBComp01SVN: univ.Integer(),
-+	id_ce_tCB_sGXTCBComp02SVN: univ.Integer(),
-+	id_ce_tCB_sGXTCBComp03SVN: univ.Integer(),
-+	id_ce_tCB_sGXTCBComp04SVN: univ.Integer(),
-+	id_ce_tCB_sGXTCBComp05SVN: univ.Integer(),
-+	id_ce_tCB_sGXTCBComp06SVN: univ.Integer(),
-+	id_ce_tCB_sGXTCBComp07SVN: univ.Integer(),
-+	id_ce_tCB_sGXTCBComp08SVN: univ.Integer(),
-+	id_ce_tCB_sGXTCBComp09SVN: univ.Integer(),
-+	id_ce_tCB_sGXTCBComp10SVN: univ.Integer(),
-+	id_ce_tCB_sGXTCBComp11SVN: univ.Integer(),
-+	id_ce_tCB_sGXTCBComp12SVN: univ.Integer(),
-+	id_ce_tCB_sGXTCBComp13SVN: univ.Integer(),
-+	id_ce_tCB_sGXTCBComp14SVN: univ.Integer(),
-+	id_ce_tCB_sGXTCBComp15SVN: univ.Integer(),
-+	id_ce_tCB_sGXTCBComp16SVN: univ.Integer(),
-+	id_ce_tCB_pCESVN: univ.Integer(),
-+	id_ce_tCB_cPUSVN: SgxCPUSVN(),
-+}
-+
-+
-+class SgxExtensionTCBEntry(univ.Sequence):
-+	componentType = namedtype.NamedTypes(
-+		namedtype.NamedType('tCBId', univ.ObjectIdentifier()),
-+		namedtype.NamedType('tCBValue', univ.Any(),
-+				    openType=opentype.OpenType('tCBId',
-+							       tcbAttributeMap))
-+	)
-+
-+
-+class SgxExtensionTCB(univ.SequenceOf):
-+	componentType = SgxExtensionTCBEntry()
-+
-+
-+class SgxExtensionPCEID(univ.OctetString):
-+	pass
-+
-+
-+class SgxExtensionFMSPC(univ.OctetString):
-+	pass
-+
-+
-+class SgxExtensionSGXType(univ.Enumerated):
-+	namedValues = namedval.NamedValues(
-+		('standard', 0),
-+		('scalable', 1),
-+		('scalableWithIntegrity', 2)
-+	)
-+
-+
-+class SgxExtensionPlatformInstanceID(univ.OctetString):
-+	pass
-+
-+
-+configurationAttributeMap = {
-+	id_ce_configuration_dynamicPlatform: univ.Boolean(),
-+	id_ce_configuration_cachedKeys: univ.Boolean(),
-+	id_ce_configuration_sMTEnabled: univ.Boolean(),
-+}
-+
-+
-+class SgxExtensionConfigurationEntry(univ.Sequence):
-+	componentType = namedtype.NamedTypes(
-+		namedtype.NamedType('configurationId', univ.ObjectIdentifier()),
-+		namedtype.NamedType('configurationValue', univ.Any(),
-+				    openType=opentype.OpenType('configurationId',
-+							       configurationAttributeMap))
-+	)
-+
-+
-+class SgxExtensionConfiguration(univ.SequenceOf):
-+	componentType = SgxExtensionConfigurationEntry()
-+
-+
-+extensionAttributeMap = {
-+	id_ce_sGXExtensions_pPID: SgxExtensionPPID(),
-+	id_ce_sGXExtensions_tCB: SgxExtensionTCB(),
-+	id_ce_sGXExtensions_pCE_ID: SgxExtensionPCEID(),
-+	id_ce_sGXExtensions_fMSPC: SgxExtensionFMSPC(),
-+	id_ce_sGXExtensions_sGXType: SgxExtensionSGXType(),
-+	id_ce_sGXExtensions_platformInstanceID: SgxExtensionPlatformInstanceID(),
-+	id_ce_sGXExtensions_configuration: SgxExtensionConfiguration(),
-+}
-+
-+
-+class SgxExtensionEntry(univ.Sequence):
-+	componentType = namedtype.NamedTypes(
-+		namedtype.NamedType('sGXExtensionId', univ.ObjectIdentifier()),
-+		namedtype.NamedType('sGXExtensionValue', univ.Any(),
-+				    openType=opentype.OpenType('sGXExtensionId',
-+							       extensionAttributeMap))
-+	)
-+
-+
-+class SgxExtension(univ.SequenceOf):
-+	componentType = SgxExtensionEntry()
- 
--# This is a very simplistic ASN1 parser. Production code should use
--# something like ans1c to build a parser from the ASN1 spec file so
--# that it can check and enforce data validity.
- 
- class SgxPckCertificateExtensions:
--	id_ce_sGXExtensions = '1.2.840.113741.1.13.1'
--	id_ce_sGXExtensions_tCB= id_ce_sGXExtensions+".2"
--	id_ce_sGXExtensions_configuration= id_ce_sGXExtensions+".7"
--	id_cdp_extension = '2.5.29.31'
--	decoder= asn1.Decoder()
--	_data= {}
--	ca= ''
--	oids= {
--		id_ce_sGXExtensions: 'sGXExtensions',
--		id_ce_sGXExtensions+".1": 'pPID',
--		id_ce_sGXExtensions_tCB: 'tCB',
--		id_ce_sGXExtensions_tCB+".1": 'tCB-sGXTCBComp01SVN',
--		id_ce_sGXExtensions_tCB+".2": 'tCB-sGXTCBComp02SVN',
--		id_ce_sGXExtensions_tCB+".3": 'tCB-sGXTCBComp03SVN',
--		id_ce_sGXExtensions_tCB+".4": 'tCB-sGXTCBComp04SVN',
--		id_ce_sGXExtensions_tCB+".5": 'tCB-sGXTCBComp05SVN',
--		id_ce_sGXExtensions_tCB+".6": 'tCB-sGXTCBComp06SVN',
--		id_ce_sGXExtensions_tCB+".7": 'tCB-sGXTCBComp07SVN',
--		id_ce_sGXExtensions_tCB+".8": 'tCB-sGXTCBComp08SVN',
--		id_ce_sGXExtensions_tCB+".9": 'tCB-sGXTCBComp09SVN',
--		id_ce_sGXExtensions_tCB+".10": 'tCB-sGXTCBComp10SVN',
--		id_ce_sGXExtensions_tCB+".11": 'tCB-sGXTCBComp11SVN',
--		id_ce_sGXExtensions_tCB+".12": 'tCB-sGXTCBComp12SVN',
--		id_ce_sGXExtensions_tCB+".13": 'tCB-sGXTCBComp13SVN',
--		id_ce_sGXExtensions_tCB+".14": 'tCB-sGXTCBComp14SVN',
--		id_ce_sGXExtensions_tCB+".15": 'tCB-sGXTCBComp15SVN',
--		id_ce_sGXExtensions_tCB+".16": 'tCB-sGXTCBComp16SVN',
--		id_ce_sGXExtensions_tCB+".17": 'tCB-pCESVN',
--		id_ce_sGXExtensions_tCB+".18": 'tCB-cPUSVN',
--		id_ce_sGXExtensions+".3": 'pCE-ID',
--		id_ce_sGXExtensions+".4": 'fMSPC',
--		id_ce_sGXExtensions+".5": 'sGXType',
--		id_ce_sGXExtensions+".6": 'platformInstanceID',
--		id_ce_sGXExtensions_configuration: 'configuration',
--		id_ce_sGXExtensions_configuration+".1": 'dynamicPlatform',
--		id_ce_sGXExtensions_configuration+".2": 'cachedKeys',
--		id_ce_sGXExtensions_configuration+".3": 'sMTEnabled'
--	}
--
--	def _parse_asn1(self, d, oid, lnr=asn1.Numbers.ObjectIdentifier):
--		tag= self.decoder.peek()
--		while tag:
--			if tag.typ == asn1.Types.Constructed:
--				self.decoder.enter()
--				if ( lnr == asn1.Numbers.ObjectIdentifier ):
--					d[self.oids[oid]]= {}
--					self._parse_asn1(d[self.oids[oid]], oid, tag.nr)
--				else:
--					self._parse_asn1(d, oid, tag.nr)
--				self.decoder.leave()
--			elif tag.typ == asn1.Types.Primitive:
--				tag, value= self.decoder.read()
--				if ( tag.nr == asn1.Numbers.ObjectIdentifier ):
--					oid= value
--				else:
--					d[self.oids[oid]]= value
--			lnr= tag.nr
--			tag= self.decoder.peek()
--		return
-+
-+	def __init__(self):
-+		self.ca= ''
-+		self._data= None
-+
-+	def _parse_asn1(self, extensionData):
-+		parsed, extra= der_decoder(extensionData,
-+					   asn1Spec=SgxExtension(),
-+					   decodeOpenTypes=True)
-+		return parsed
- 
- 	def parse_pem_certificate(self, pem):
--		self._data= {}
- 		cert= x509.load_pem_x509_certificate(pem, default_backend())
- 		issuerCN = cert.issuer.rfc4514_string()
- 		if (issuerCN.find('Processor') != -1) :
-@@ -81,63 +176,55 @@ class SgxPckCertificateExtensions:
- 			self.ca = None
- 		
- 		sgxext= cert.extensions.get_extension_for_oid(
--			ObjectIdentifier(self.id_ce_sGXExtensions)
-+			ObjectIdentifier(id_ce_sGXExtensionsStr)
- 		)
- 
--		self.decoder.start(sgxext.value.value)
--		self._parse_asn1(self._data, self.id_ce_sGXExtensions)
-+		self._data= self._parse_asn1(sgxext.value.value)
- 
- 	def get_root_ca_crl(self, pem):
--		self._data= {}
- 		cert= x509.load_pem_x509_certificate(pem, default_backend())
- 		cdpext= cert.extensions.get_extension_for_oid(
--			ObjectIdentifier(self.id_cdp_extension)
-+			ObjectIdentifier(id_cdp_extensionStr)
- 		)
- 
- 		return getattr(getattr(cdpext.value[0], "_full_name")[0], "value")
- 
--	def data(self, field=None):
--		if 'sGXExtensions' not in self._data:
--			return None
--
--		d= self._data['sGXExtensions']
--
--		if field:
--			if field in d:
--				return d[field]
-+	def data(self, field):
-+		if self._data is None:
- 			return None
- 
--		return d
-+		ent = list(filter(lambda e: e['sGXExtensionId'] == field, self._data))[0]
-+		return ent['sGXExtensionValue']
- 
- 	def _hex_data(self, field):
- 		val= self.data(field)
- 		if val is None:
- 			return None
--		return val.hex()
-+		return bytes(val).hex()
- 
- 	# Commonly-needed data fields
- 	#------------------------------
- 
- 	def get_fmspc(self):
--		return self._hex_data('fMSPC')
-+		return self._hex_data(id_ce_sGXExtensions_fMSPC)
- 
- 	def get_ca(self):
- 		return self.ca
- 
- 	def get_tcbm(self):
--		tcb= self.data('tCB')
-+		tcb= self.data(id_ce_sGXExtensions_tCB)
- 		if tcb is None:
- 			return None
--		return tcb['tCB-cPUSVN'].hex() + self.get_pcesvn()
-+		ent= list(filter(lambda e: e['tCBId'] == id_ce_tCB_cPUSVN, tcb))[0]
-+		return bytes(ent["tCBValue"]).hex() + self.get_pcesvn()
- 
- 	def get_pceid(self):
--		return self._hex_data('pCE-ID')
-+		return self._hex_data(id_ce_sGXExtensions_pCE_ID)
- 
- 	def get_ppid(self):
--		return self._hex_data('pPID')
-+		return self._hex_data(id_ce_sGXExtensions_pPID)
- 
- 	def get_pcesvn(self):
--		tcb= self.data('tCB')
--		# pCESVN should be packed little-endian
--		pcesvn= struct.pack('<H', tcb['tCB-pCESVN'])
--		return pcesvn.hex()
-+		tcb= self.data(id_ce_sGXExtensions_tCB)
-+		ent= list(filter(lambda e: e['tCBId'] == id_ce_tCB_pCESVN, tcb))[0]
-+		return int(ent["tCBValue"]).to_bytes(2, byteorder='little').hex()
--- 
-2.55.0
-

diff --git a/0115-use-system-gtest-gmock-libraries.patch b/0115-use-system-gtest-gmock-libraries.patch
new file mode 100644
index 0000000..0d2f9ca
--- /dev/null
+++ b/0115-use-system-gtest-gmock-libraries.patch
@@ -0,0 +1,127 @@
+From d2a408b3b77a46d1483903c404d2796580ee208a Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= <berrange@redhat.com>
+Date: Thu, 29 Jan 2026 15:26:38 +0000
+Subject: [PATCH 115/121] use system gtest / gmock libraries
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
+---
+ ae/QvE/Test/Makefile                   |  7 ++++---
+ external/Makefile                      | 26 +-------------------------
+ tools/SGXPlatformRegistration/Makefile | 10 +++++-----
+ 3 files changed, 10 insertions(+), 33 deletions(-)
+
+diff --git a/ae/QvE/Test/Makefile b/ae/QvE/Test/Makefile
+index c6cc171d..c8b8ce24 100644
+--- a/ae/QvE/Test/Makefile
++++ b/ae/QvE/Test/Makefile
+@@ -14,7 +14,8 @@ EXTERNAL_PATH := $(MKFILE_PATH)/../../../external
+ BUILD_PATH := $(MKFILE_PATH)/build
+ DEST_PATH := $(BUILD_PATH)/release
+ APPRAISAL_COMMON_PATH := $(MKFILE_PATH)/../../appraisal/common
+-GTEST_PATH := $(EXTERNAL_PATH)/gtest/build
++GTEST_CFLAGS := $(shell pkg-config --cflags gtest gmock gmock_main)
++GTEST_LDFLAGS := $(shell pkg-config --libs gtest gmock gmock_main)
+ 
+ SRC_PATH := $(MKFILE_PATH)/../qve
+ TEST_PATH := $(MKFILE_PATH)/src
+@@ -29,7 +30,7 @@ INCLUDE := -I$(INCLUDE_PATH) -I$(SRC_PATH) -I$(MOCK_PATH) $(shell pkg-config --c
+ 					-isystem$(EXTERNAL_PATH)/jwt-cpp/include
+ 
+ TESTS_INCLUDE := -I$(TEST_PATH) -I$(SRC_PATH) -I$(MOCK_PATH)\
+-					-isystem$(GTEST_PATH)/include
++					$(GTEST_CFLAGS)
+ 
+ QVE_BUILD_TYPE :=
+ ifeq ($(DEBUG), 1)
+@@ -53,7 +54,7 @@ OBJS_MOCK := $(patsubst $(MOCK_PATH)/%.cpp,$(OBJ_MOCK_PATH)/%.o, $(SRC_MOCK))
+ OBJ_SRC_PATH := $(OBJ_PATH)/qve
+ OBJS_SRC := $(OBJ_SRC_PATH)/$(notdir $(SRC_QVE_LOGIC:.cpp=.o))
+ 
+-LD_GTEST := -L$(GTEST_PATH)/lib -lgtest -lgmock_main -lgmock
++LD_GTEST := $(GTEST_LDFLAGS)
+ LDFLAGS := $(shell pkg-config --libs libcrypto) -lpthread -ldl
+ 
+ CXX_WARNINGS := -Wall -Wextra -Winit-self -Wpointer-arith -Wreturn-type -Waddress -Wsequence-point -Wformat-security -Wmissing-include-dirs -Wfloat-equal -Wundef -Wshadow -Wcast-align -Wconversion -Wredundant-decls
+diff --git a/external/Makefile b/external/Makefile
+index e7faf4f8..ca27cac9 100644
+--- a/external/Makefile
++++ b/external/Makefile
+@@ -29,31 +29,7 @@
+ #
+ #
+ 
+-GTEST_SRC_PATH := gtest/src
+-GTEST_BUILD_PATH := gtest/build
+-GTEST_CMAKE_BUILD_PATH := gtest/cmake-build
+-
+ .PHONY: all clean
+ 
+-all: post-build
+-
+-pre-build:
+-	mkdir -p $(GTEST_BUILD_PATH)
+-	mkdir -p $(GTEST_CMAKE_BUILD_PATH)
+-
+-
+-post-build: main-build
+-	cp -r $(GTEST_SRC_PATH)/googletest/include $(GTEST_BUILD_PATH)
+-	cp -r $(GTEST_SRC_PATH)/googlemock/include/gmock $(GTEST_BUILD_PATH)/include/
+-	cp -r $(GTEST_CMAKE_BUILD_PATH)/lib $(GTEST_BUILD_PATH)
+-
+-main-build: pre-build
+-	cmake -S ./gtest/src/ -B $(GTEST_CMAKE_BUILD_PATH)
+-	cmake --build $(GTEST_CMAKE_BUILD_PATH) --parallel
+-
++all:
+ clean:
+-	@if [ -f "$(GTEST_CMAKE_BUILD_PATH)"/Makefile ]; then \
+-	  $(MAKE) clean -C $(GTEST_CMAKE_BUILD_PATH); \
+-	fi
+-	rm -rf $(GTEST_CMAKE_BUILD_PATH)/
+-	rm -rf $(GTEST_BUILD_PATH)/
+diff --git a/tools/SGXPlatformRegistration/Makefile b/tools/SGXPlatformRegistration/Makefile
+index 8fb0e28f..f9c486a2 100644
+--- a/tools/SGXPlatformRegistration/Makefile
++++ b/tools/SGXPlatformRegistration/Makefile
+@@ -36,7 +36,8 @@ EXTERNAL_PATH := $(MKFILE_PATH)/../../external
+ DEST_PATH := $(BUILD_PATH)/release
+ INSTALL_PATH := $(DEST_PATH)/installer
+ 
+-GTEST_PATH := $(EXTERNAL_PATH)/gtest/build
++GTEST_CFLAGS := $(shell pkg-config --cflags gtest gmock gmock_main)
++GTEST_LDFLAGS := $(shell pkg-config --libs gtest gmock gmock_main)
+ TEST_PATH := $(MKFILE_PATH)/test
+ 
+ ifdef DEBUG
+@@ -67,8 +68,7 @@ INCLUDE += -I$(MANAGEMENT_PATH)/inc
+ INCLUDE += -I$(NETWORK_PATH)/inc
+ INCLUDE += -I$(UEFI_PATH)/inc
+ 
+-GTEST_INCLUDE := -isystem$(GTEST_PATH)/include
+-TESTS_INCLUDE := -I$(TEST_PATH) -I$(TEST_PATH)/mocks $(GTEST_INCLUDE)
++TESTS_INCLUDE := -I$(TEST_PATH) -I$(TEST_PATH)/mocks $(GTEST_CFLAGS)
+ 
+ SRC_AGENT := $(wildcard $(AGENT_PATH)/src/*cpp)
+ SRC_COMMON := $(wildcard $(COMMON_PATH)/src/*cpp)
+@@ -117,7 +117,7 @@ LDFLAGS_EXE := $(LDFLAGS) -pie -Wl,-z,relro,-z,now,-z,noexecstack
+ LD_REGI_APP := $(LDFLAGS) -L$(LIB_PATH) -Wl,-Bstatic -lmpa_registration -Wl,-Bdynamic -lmpa_network -lmpa_uefi
+ LD_MANAGE_APP := $(LDFLAGS) -L$(LIB_PATH) -Wl,-Bstatic -lmpa_management -lmpa_registration -Wl,-Bdynamic -lmpa_uefi
+ 
+-LD_GTEST := $(LDFLAGS) -L$(GTEST_PATH)/lib -lgtest -lgmock_main -lgmock -lpthread
++LD_GTEST := $(LDFLAGS) $(GTEST_LDFLAGS) -lpthread
+ 
+ CXX_WARNINGS := -Wall -Wextra -Winit-self -Wpointer-arith -Wreturn-type -Waddress -Wsequence-point -Wformat-security \
+ 				-Wmissing-include-dirs -Wfloat-equal -Wundef -Wshadow -Wcast-align -Wconversion -Wredundant-decls
+@@ -268,5 +268,5 @@ $(OBJ_MPA_MANAGE_APP_PATH)/%.o: $(MPA_MANAGE_PATH)/src/%.cpp
+ 	@echo "$<"
+ 
+ $(OBJ_TEST_PATH)/%.o: $(TEST_PATH)/%.cpp
+-	@$(CXX) -c $(CXXFLAGS) $(INCLUDE) $(GTEST_INCLUDE)  $< -o $@
++	@$(CXX) -c $(CXXFLAGS) $(INCLUDE) $(GTEST_CFLAGS)  $< -o $@
+ 	@echo "$<"
+-- 
+2.56.0
+

diff --git a/0116-Disable-PcsClientTool-package-build.patch b/0116-Disable-PcsClientTool-package-build.patch
new file mode 100644
index 0000000..1839011
--- /dev/null
+++ b/0116-Disable-PcsClientTool-package-build.patch
@@ -0,0 +1,30 @@
+From ef66bc4655b128def045f124f40f80d0ace1c901 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= <berrange@redhat.com>
+Date: Mon, 2 Feb 2026 16:12:50 +0000
+Subject: [PATCH 116/121] Disable PcsClientTool package build
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
+---
+ tools/PcsClientTool/Makefile | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/tools/PcsClientTool/Makefile b/tools/PcsClientTool/Makefile
+index 06092b38..48abed9a 100644
+--- a/tools/PcsClientTool/Makefile
++++ b/tools/PcsClientTool/Makefile
+@@ -7,7 +7,8 @@
+ .NOTPARALLEL:
+ default: all
+ 
+-all: deb_sgx_pcs_client_pkg rpm_sgx_pcs_client_pkg
++#all: deb_sgx_pcs_client_pkg rpm_sgx_pcs_client_pkg
++all:
+ 
+ .PHONY: deb_sgx_pcs_client_pkg
+ deb_sgx_pcs_client_pkg:
+-- 
+2.56.0
+

diff --git a/0116-pcsclient-ignore-errors-trying-to-clear-the-keyring.patch b/0116-pcsclient-ignore-errors-trying-to-clear-the-keyring.patch
deleted file mode 100644
index e72739a..0000000
--- a/0116-pcsclient-ignore-errors-trying-to-clear-the-keyring.patch
+++ /dev/null
@@ -1,55 +0,0 @@
-From b241078ce780d8fe06d492dd5573afb36f1d83d1 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= <berrange@redhat.com>
-Date: Thu, 4 Dec 2025 18:05:14 +0000
-Subject: [PATCH 116/122] pcsclient: ignore errors trying to clear the keyring
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-On authentication errors with PCS, an attempt is made to clear the
-keyring. This may fail if the user's login environment has no keyring
-configured. The user would have declined to store the key when first
-prompted, so there would be nothing to clear either in this case.
-
-Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
----
- tools/PcsClientTool/lib/intelsgx/pcs.py | 16 ++++++++++++++--
- 1 file changed, 14 insertions(+), 2 deletions(-)
-
-diff --git a/tools/PcsClientTool/lib/intelsgx/pcs.py b/tools/PcsClientTool/lib/intelsgx/pcs.py
-index e056c950..66f89d27 100644
---- a/tools/PcsClientTool/lib/intelsgx/pcs.py
-+++ b/tools/PcsClientTool/lib/intelsgx/pcs.py
-@@ -403,7 +403,13 @@ class PCS:
-         if response.status_code != 200:
-             print(str(response.content, 'utf-8'))
-             if response.status_code == 401:
--                Credentials().set_pcs_api_key('')   #reset ApiKey
-+                try:
-+                    Credentials().set_pcs_api_key('')   #reset ApiKey
-+                except:
-+                    # If keyring is unavailable, we don't want to trigger
-+                    # traceback, as the user may have declined to save
-+                    # the key in the keyring earlier
-+                    pass
-             return None
- 
-         # Verify expected headers
-@@ -478,7 +484,13 @@ class PCS:
-         if response.status_code != 200:
-             print(str(response.content, 'utf-8'))
-             if response.status_code == 401:
--                Credentials().set_pcs_api_key('')   #reset ApiKey
-+                try:
-+                    Credentials().set_pcs_api_key('')   #reset ApiKey
-+                except:
-+                    # If keyring is unavailable, we don't want to trigger
-+                    # traceback, as the user may have declined to save
-+                    # the key in the keyring earlier
-+                    pass
-             return None
- 
-         # Verify expected headers
--- 
-2.55.0
-

diff --git a/0117-disable-building-of-WASM-SIMDE-code.patch b/0117-disable-building-of-WASM-SIMDE-code.patch
new file mode 100644
index 0000000..a6e44d8
--- /dev/null
+++ b/0117-disable-building-of-WASM-SIMDE-code.patch
@@ -0,0 +1,33 @@
+From 79929f745f34295247c954e89c9e6dcd94438948 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= <berrange@redhat.com>
+Date: Tue, 3 Feb 2026 11:40:10 +0000
+Subject: [PATCH 117/121] disable building of WASM SIMDE code
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+The build system tries to git clone the simde project which is not
+possible in koji. Disable until its possible to use distro provided
+headers.
+
+Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
+---
+ QuoteVerification/appraisal/qal/Makefile | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/QuoteVerification/appraisal/qal/Makefile b/QuoteVerification/appraisal/qal/Makefile
+index c8eb9c1f..9e137049 100644
+--- a/QuoteVerification/appraisal/qal/Makefile
++++ b/QuoteVerification/appraisal/qal/Makefile
+@@ -29,7 +29,7 @@ QAL_Link_Flags := $(COMMON_LDFLAGS) -L$(WARM_Lib_Path) -liwasm  -ldl -lm -lpthre
+                 $(shell pkg-config --libs libcrypto) \
+                 -Wl,--gc-sections -Wl,--version-script=sgx_dcap_qal.lds
+ 
+-WASM_CONFIG ?= -DCMAKE_BUILD_TYPE=Release -DWAMR_BUILD_SIMD=0
++WASM_CONFIG ?= -DCMAKE_BUILD_TYPE=Release -DWAMR_BUILD_SIMD=0 -DWAMR_BUILD_LIB_SIMDE=0
+ ifeq ($(DEBUG), 1)
+     WASM_CONFIG := -DCMAKE_BUILD_TYPE=Debug -DWAMR_BUILD_SIMD=0
+ 	QAL_Cpp_Flags += -fsanitize=undefined
+-- 
+2.56.0
+

diff --git a/0117-use-system-gtest-gmock-libraries.patch b/0117-use-system-gtest-gmock-libraries.patch
deleted file mode 100644
index 6b664e4..0000000
--- a/0117-use-system-gtest-gmock-libraries.patch
+++ /dev/null
@@ -1,127 +0,0 @@
-From 9d6c729502d4258ba8dfad1aa061edebd64c6ac4 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= <berrange@redhat.com>
-Date: Thu, 29 Jan 2026 15:26:38 +0000
-Subject: [PATCH 117/122] use system gtest / gmock libraries
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
----
- ae/QvE/Test/Makefile                   |  7 ++++---
- external/Makefile                      | 26 +-------------------------
- tools/SGXPlatformRegistration/Makefile | 10 +++++-----
- 3 files changed, 10 insertions(+), 33 deletions(-)
-
-diff --git a/ae/QvE/Test/Makefile b/ae/QvE/Test/Makefile
-index c6cc171d..c8b8ce24 100644
---- a/ae/QvE/Test/Makefile
-+++ b/ae/QvE/Test/Makefile
-@@ -14,7 +14,8 @@ EXTERNAL_PATH := $(MKFILE_PATH)/../../../external
- BUILD_PATH := $(MKFILE_PATH)/build
- DEST_PATH := $(BUILD_PATH)/release
- APPRAISAL_COMMON_PATH := $(MKFILE_PATH)/../../appraisal/common
--GTEST_PATH := $(EXTERNAL_PATH)/gtest/build
-+GTEST_CFLAGS := $(shell pkg-config --cflags gtest gmock gmock_main)
-+GTEST_LDFLAGS := $(shell pkg-config --libs gtest gmock gmock_main)
- 
- SRC_PATH := $(MKFILE_PATH)/../qve
- TEST_PATH := $(MKFILE_PATH)/src
-@@ -29,7 +30,7 @@ INCLUDE := -I$(INCLUDE_PATH) -I$(SRC_PATH) -I$(MOCK_PATH) $(shell pkg-config --c
- 					-isystem$(EXTERNAL_PATH)/jwt-cpp/include
- 
- TESTS_INCLUDE := -I$(TEST_PATH) -I$(SRC_PATH) -I$(MOCK_PATH)\
--					-isystem$(GTEST_PATH)/include
-+					$(GTEST_CFLAGS)
- 
- QVE_BUILD_TYPE :=
- ifeq ($(DEBUG), 1)
-@@ -53,7 +54,7 @@ OBJS_MOCK := $(patsubst $(MOCK_PATH)/%.cpp,$(OBJ_MOCK_PATH)/%.o, $(SRC_MOCK))
- OBJ_SRC_PATH := $(OBJ_PATH)/qve
- OBJS_SRC := $(OBJ_SRC_PATH)/$(notdir $(SRC_QVE_LOGIC:.cpp=.o))
- 
--LD_GTEST := -L$(GTEST_PATH)/lib -lgtest -lgmock_main -lgmock
-+LD_GTEST := $(GTEST_LDFLAGS)
- LDFLAGS := $(shell pkg-config --libs libcrypto) -lpthread -ldl
- 
- CXX_WARNINGS := -Wall -Wextra -Winit-self -Wpointer-arith -Wreturn-type -Waddress -Wsequence-point -Wformat-security -Wmissing-include-dirs -Wfloat-equal -Wundef -Wshadow -Wcast-align -Wconversion -Wredundant-decls
-diff --git a/external/Makefile b/external/Makefile
-index e7faf4f8..ca27cac9 100644
---- a/external/Makefile
-+++ b/external/Makefile
-@@ -29,31 +29,7 @@
- #
- #
- 
--GTEST_SRC_PATH := gtest/src
--GTEST_BUILD_PATH := gtest/build
--GTEST_CMAKE_BUILD_PATH := gtest/cmake-build
--
- .PHONY: all clean
- 
--all: post-build
--
--pre-build:
--	mkdir -p $(GTEST_BUILD_PATH)
--	mkdir -p $(GTEST_CMAKE_BUILD_PATH)
--
--
--post-build: main-build
--	cp -r $(GTEST_SRC_PATH)/googletest/include $(GTEST_BUILD_PATH)
--	cp -r $(GTEST_SRC_PATH)/googlemock/include/gmock $(GTEST_BUILD_PATH)/include/
--	cp -r $(GTEST_CMAKE_BUILD_PATH)/lib $(GTEST_BUILD_PATH)
--
--main-build: pre-build
--	cmake -S ./gtest/src/ -B $(GTEST_CMAKE_BUILD_PATH)
--	cmake --build $(GTEST_CMAKE_BUILD_PATH) --parallel
--
-+all:
- clean:
--	@if [ -f "$(GTEST_CMAKE_BUILD_PATH)"/Makefile ]; then \
--	  $(MAKE) clean -C $(GTEST_CMAKE_BUILD_PATH); \
--	fi
--	rm -rf $(GTEST_CMAKE_BUILD_PATH)/
--	rm -rf $(GTEST_BUILD_PATH)/
-diff --git a/tools/SGXPlatformRegistration/Makefile b/tools/SGXPlatformRegistration/Makefile
-index 9bc8870e..b4536cc9 100644
---- a/tools/SGXPlatformRegistration/Makefile
-+++ b/tools/SGXPlatformRegistration/Makefile
-@@ -36,7 +36,8 @@ EXTERNAL_PATH := $(MKFILE_PATH)/../../external
- DEST_PATH := $(BUILD_PATH)/release
- INSTALL_PATH := $(DEST_PATH)/installer
- 
--GTEST_PATH := $(EXTERNAL_PATH)/gtest/build
-+GTEST_CFLAGS := $(shell pkg-config --cflags gtest gmock gmock_main)
-+GTEST_LDFLAGS := $(shell pkg-config --libs gtest gmock gmock_main)
- TEST_PATH := $(MKFILE_PATH)/test
- 
- ifdef DEBUG
-@@ -67,8 +68,7 @@ INCLUDE += -I$(MANAGEMENT_PATH)/inc
- INCLUDE += -I$(NETWORK_PATH)/inc
- INCLUDE += -I$(UEFI_PATH)/inc
- 
--GTEST_INCLUDE := -isystem$(GTEST_PATH)/include
--TESTS_INCLUDE := -I$(TEST_PATH) -I$(TEST_PATH)/mocks $(GTEST_INCLUDE)
-+TESTS_INCLUDE := -I$(TEST_PATH) -I$(TEST_PATH)/mocks $(GTEST_CFLAGS)
- 
- SRC_AGENT := $(wildcard $(AGENT_PATH)/src/*cpp)
- SRC_COMMON := $(wildcard $(COMMON_PATH)/src/*cpp)
-@@ -116,7 +116,7 @@ LDFLAGS_SO := $(LDFLAGS) -shared -Wl,-z,relro,-z,now,-z,noexecstack
- LD_REGI_APP := $(LDFLAGS) -L$(LIB_PATH) -Wl,-Bstatic -lmpa_registration -Wl,-Bdynamic -lmpa_network -lmpa_uefi
- LD_MANAGE_APP := $(LDFLAGS) -L$(LIB_PATH) -Wl,-Bstatic -lmpa_management -lmpa_registration -Wl,-Bdynamic -lmpa_uefi
- 
--LD_GTEST := $(LDFLAGS) -L$(GTEST_PATH)/lib -lgtest -lgmock_main -lgmock -lpthread
-+LD_GTEST := $(LDFLAGS) $(GTEST_LDFLAGS) -lpthread
- 
- CXX_WARNINGS := -Wall -Wextra -Winit-self -Wpointer-arith -Wreturn-type -Waddress -Wsequence-point -Wformat-security \
- 				-Wmissing-include-dirs -Wfloat-equal -Wundef -Wshadow -Wcast-align -Wconversion -Wredundant-decls
-@@ -267,5 +267,5 @@ $(OBJ_MPA_MANAGE_APP_PATH)/%.o: $(MPA_MANAGE_PATH)/src/%.cpp
- 	@echo "$<"
- 
- $(OBJ_TEST_PATH)/%.o: $(TEST_PATH)/%.cpp
--	@$(CXX) -c $(CXXFLAGS) $(INCLUDE) $(GTEST_INCLUDE)  $< -o $@
-+	@$(CXX) -c $(CXXFLAGS) $(INCLUDE) $(GTEST_CFLAGS)  $< -o $@
- 	@echo "$<"
--- 
-2.55.0
-

diff --git a/0118-Disable-PcsClientTool-package-build.patch b/0118-Disable-PcsClientTool-package-build.patch
deleted file mode 100644
index 080a569..0000000
--- a/0118-Disable-PcsClientTool-package-build.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-From dc27f4ffdb9d64dfed9a0566b238cc2990c5c181 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= <berrange@redhat.com>
-Date: Mon, 2 Feb 2026 16:12:50 +0000
-Subject: [PATCH 118/122] Disable PcsClientTool package build
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
----
- tools/PcsClientTool/Makefile | 3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
-diff --git a/tools/PcsClientTool/Makefile b/tools/PcsClientTool/Makefile
-index 06092b38..48abed9a 100644
---- a/tools/PcsClientTool/Makefile
-+++ b/tools/PcsClientTool/Makefile
-@@ -7,7 +7,8 @@
- .NOTPARALLEL:
- default: all
- 
--all: deb_sgx_pcs_client_pkg rpm_sgx_pcs_client_pkg
-+#all: deb_sgx_pcs_client_pkg rpm_sgx_pcs_client_pkg
-+all:
- 
- .PHONY: deb_sgx_pcs_client_pkg
- deb_sgx_pcs_client_pkg:
--- 
-2.55.0
-

diff --git a/0118-ensure-build-terminates-if-prepare_sgxssl.sh-fails.patch b/0118-ensure-build-terminates-if-prepare_sgxssl.sh-fails.patch
new file mode 100644
index 0000000..cfb21e2
--- /dev/null
+++ b/0118-ensure-build-terminates-if-prepare_sgxssl.sh-fails.patch
@@ -0,0 +1,33 @@
+From 81c3950d7e3e2ed4736c81e4f4e69aff5e695fd0 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= <berrange@redhat.com>
+Date: Wed, 25 Mar 2026 15:54:42 +0000
+Subject: [PATCH 118/121] ensure build terminates if prepare_sgxssl.sh fails
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+The prepare_sgxssl.sh script ignores exit status from all
+commands it runs, so if 'make' fails to build the sgxssl
+code the caller will still assume all is well.
+
+Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
+---
+ QuoteVerification/prepare_sgxssl.sh | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/QuoteVerification/prepare_sgxssl.sh b/QuoteVerification/prepare_sgxssl.sh
+index 73147c77..4ddce022 100755
+--- a/QuoteVerification/prepare_sgxssl.sh
++++ b/QuoteVerification/prepare_sgxssl.sh
+@@ -5,6 +5,8 @@
+ # SPDX-License-Identifier: BSD-3-Clause
+ #
+ 
++set -e
++
+ top_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
+ sgxssl_dir=$top_dir/sgxssl
+ openssl_out_dir=$sgxssl_dir/openssl_source
+-- 
+2.56.0
+

diff --git a/0119-disable-building-of-WASM-SIMDE-code.patch b/0119-disable-building-of-WASM-SIMDE-code.patch
deleted file mode 100644
index 984c3c6..0000000
--- a/0119-disable-building-of-WASM-SIMDE-code.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-From da6ecddad2909f2b98200e78fee279ce3cfa9c35 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= <berrange@redhat.com>
-Date: Tue, 3 Feb 2026 11:40:10 +0000
-Subject: [PATCH 119/122] disable building of WASM SIMDE code
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-The build system tries to git clone the simde project which is not
-possible in koji. Disable until its possible to use distro provided
-headers.
-
-Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
----
- QuoteVerification/appraisal/qal/Makefile | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/QuoteVerification/appraisal/qal/Makefile b/QuoteVerification/appraisal/qal/Makefile
-index 76aec839..a7f1f1f6 100644
---- a/QuoteVerification/appraisal/qal/Makefile
-+++ b/QuoteVerification/appraisal/qal/Makefile
-@@ -29,7 +29,7 @@ QAL_Link_Flags := $(COMMON_LDFLAGS) -L$(WARM_Lib_Path) -lvmlib  -ldl -lm -lpthre
-                 $(shell pkg-config --libs libcrypto) \
-                 -Wl,--gc-sections -Wl,--version-script=sgx_dcap_qal.lds
- 
--WASM_CONFIG ?= -DCMAKE_BUILD_TYPE=Release
-+WASM_CONFIG ?= -DCMAKE_BUILD_TYPE=Release -DWAMR_BUILD_SIMD=0 -DWAMR_BUILD_LIB_SIMDE=0
- ifeq ($(DEBUG), 1)
-     WASM_CONFIG := -DCMAKE_BUILD_TYPE=Debug
- 	QAL_Cpp_Flags += -fsanitize=undefined
--- 
-2.55.0
-

diff --git a/0119-qpl-fix-const-correctness-for-ASN1_STRING-X509_NAME_.patch b/0119-qpl-fix-const-correctness-for-ASN1_STRING-X509_NAME_.patch
new file mode 100644
index 0000000..6e9e5cb
--- /dev/null
+++ b/0119-qpl-fix-const-correctness-for-ASN1_STRING-X509_NAME_.patch
@@ -0,0 +1,36 @@
+From c178a2f643487b40d6cd4d5304247fc5fa798c64 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= <berrange@redhat.com>
+Date: Mon, 20 Jul 2026 12:36:19 +0100
+Subject: [PATCH 119/121] qpl: fix const correctness for
+ ASN1_STRING/X509_NAME_ENTRY
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+In OpenSSL 4 the functions now return a const struct where possible.
+
+Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
+---
+ QuoteGeneration/qpl/linux/x509.cpp | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/QuoteGeneration/qpl/linux/x509.cpp b/QuoteGeneration/qpl/linux/x509.cpp
+index 979888ca..a2530b1e 100644
+--- a/QuoteGeneration/qpl/linux/x509.cpp
++++ b/QuoteGeneration/qpl/linux/x509.cpp
+@@ -84,10 +84,10 @@ static vector<string> crl_urls(X509 *x509, bool include_relative = false) {
+         } else if (include_relative && distpoint->type == 1 && distpoint->name.relativename != NULL) {
+             STACK_OF(X509_NAME_ENTRY) *sk_relname = distpoint->name.relativename;
+             for (int k = 0; k < sk_X509_NAME_ENTRY_num(sk_relname); k++) {
+-                X509_NAME_ENTRY *e = sk_X509_NAME_ENTRY_value(sk_relname, k);
++                const X509_NAME_ENTRY *e = sk_X509_NAME_ENTRY_value(sk_relname, k);
+                 if (e == NULL)
+                     continue;
+-                ASN1_STRING *d = X509_NAME_ENTRY_get_data(e);
++                const ASN1_STRING *d = X509_NAME_ENTRY_get_data(e);
+                 if (d == NULL)
+                     continue;
+                 list.push_back(string(reinterpret_cast<const char *>(ASN1_STRING_get0_data(d)), ASN1_STRING_length(d)));
+-- 
+2.56.0
+

diff --git a/0120-ensure-build-terminates-if-prepare_sgxssl.sh-fails.patch b/0120-ensure-build-terminates-if-prepare_sgxssl.sh-fails.patch
deleted file mode 100644
index f8b7a44..0000000
--- a/0120-ensure-build-terminates-if-prepare_sgxssl.sh-fails.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-From 378c4a0e8580b3a5ac05dae218b07c54db084a21 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= <berrange@redhat.com>
-Date: Wed, 25 Mar 2026 15:54:42 +0000
-Subject: [PATCH 120/122] ensure build terminates if prepare_sgxssl.sh fails
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-The prepare_sgxssl.sh script ignores exit status from all
-commands it runs, so if 'make' fails to build the sgxssl
-code the caller will still assume all is well.
-
-Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
----
- QuoteVerification/prepare_sgxssl.sh | 2 ++
- 1 file changed, 2 insertions(+)
-
-diff --git a/QuoteVerification/prepare_sgxssl.sh b/QuoteVerification/prepare_sgxssl.sh
-index 5427ed4f..f65a6af4 100755
---- a/QuoteVerification/prepare_sgxssl.sh
-+++ b/QuoteVerification/prepare_sgxssl.sh
-@@ -5,6 +5,8 @@
- # SPDX-License-Identifier: BSD-3-Clause
- #
- 
-+set -e
-+
- ARG1=${1:-build}
- top_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
- sgxssl_dir=$top_dir/sgxssl
--- 
-2.55.0
-

diff --git a/0120-qal-force-compat-with-CMake-3.5.patch b/0120-qal-force-compat-with-CMake-3.5.patch
new file mode 100644
index 0000000..3fde92a
--- /dev/null
+++ b/0120-qal-force-compat-with-CMake-3.5.patch
@@ -0,0 +1,33 @@
+From 128e83645393e1cacaa3fa4b30ddfda45e7d9231 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= <berrange@redhat.com>
+Date: Wed, 22 Jul 2026 16:32:05 +0100
+Subject: [PATCH 120/121] qal: force compat with CMake 3.5
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+CMake 4 has dropped support for build files designed for
+CMake 3.x out of the box. To opt back in to historical
+compat requires CMAKE_POLICY_VERSION_MINIMUM=3.5 to be
+set.
+
+Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
+---
+ QuoteVerification/appraisal/qal/Makefile | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/QuoteVerification/appraisal/qal/Makefile b/QuoteVerification/appraisal/qal/Makefile
+index 9e137049..c3a655dc 100644
+--- a/QuoteVerification/appraisal/qal/Makefile
++++ b/QuoteVerification/appraisal/qal/Makefile
+@@ -38,6 +38,7 @@ ifeq ($(DEBUG), 1)
+ endif
+ # Disable HW bound check to allow potential usage with other languages, such as Golang, Java
+ WASM_CONFIG += -DWAMR_DISABLE_HW_BOUND_CHECK=1
++WASM_CONFIG += -DCMAKE_POLICY_VERSION_MINIMUM=3.5
+ 
+ ifeq ($(USE_LOCAL_WASM), 1)
+     QAL_Cpp_Flags += -DUSE_LOCAL_WASM
+-- 
+2.56.0
+

diff --git a/0121-disable-build-of-PoeTools.patch b/0121-disable-build-of-PoeTools.patch
new file mode 100644
index 0000000..5442ed8
--- /dev/null
+++ b/0121-disable-build-of-PoeTools.patch
@@ -0,0 +1,43 @@
+From 0ab9dfa96354e03e7d8e71ef74f8b747d0b66583 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= <berrange@redhat.com>
+Date: Tue, 10 Nov 2026 14:07:30 +0000
+Subject: [PATCH 121/121] disable build of PoeTools
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
+---
+ Makefile | 5 ++---
+ 1 file changed, 2 insertions(+), 3 deletions(-)
+
+diff --git a/Makefile b/Makefile
+index 458ce091..f2b81dbd 100644
+--- a/Makefile
++++ b/Makefile
+@@ -13,12 +13,12 @@ ifeq ($(BUILD_SAMPLECODE), 1)
+ # Avoid parallel build for SGXPlatformRegistration to avoid build conflicts when ThirdParty target (from other Makefile(s))
+ .NOTPARALLEL: SGXPlatformRegistration PckClientTool SampleCode
+ .PHONY: all clean rebuild QuoteGeneration QuoteVerification PCKCertSelection PCKRetrievalTool SGXPlatformRegistration PckClientTool WinPle WinPleIntel SampleCode PoeTools
+-all: QuoteGeneration QuoteVerification PCKCertSelection PCKRetrievalTool SGXPlatformRegistration PckClientTool WinPle WinPleIntel ThirdParty SampleCode PoeTools
++all: QuoteGeneration QuoteVerification PCKCertSelection PCKRetrievalTool SGXPlatformRegistration PckClientTool WinPle WinPleIntel ThirdParty SampleCode
+ else
+ # Avoid parallel build for SGXPlatformRegistration to avoid build conflicts when ThirdParty target (from other Makefile(s))
+ .NOTPARALLEL: SGXPlatformRegistration PckClientTool
+ .PHONY: all clean rebuild QuoteGeneration QuoteVerification PCKCertSelection PCKRetrievalTool SGXPlatformRegistration PckClientTool WinPle WinPleIntel PoeTools
+-all: QuoteGeneration QuoteVerification PCKCertSelection PCKRetrievalTool SGXPlatformRegistration PckClientTool WinPle WinPleIntel ThirdParty PoeTools
++all: QuoteGeneration QuoteVerification PCKCertSelection PCKRetrievalTool SGXPlatformRegistration PckClientTool WinPle WinPleIntel ThirdParty
+ endif
+ 
+ ThirdParty:
+@@ -70,7 +70,6 @@ clean:
+ 	+$(MAKE) -C tools/PCKRetrievalTool clean
+ 	+$(MAKE) -C tools/SGXPlatformRegistration clean
+ 	+$(MAKE) -C tools/PcsClientTool clean
+-	+$(MAKE) -C tools/PoeTools clean
+ 	+$(MAKE) -C driver/win/PLE clean
+ 	+$(MAKE) -C driver/win/PLE INTEL_SIGNED=1 clean
+ 
+-- 
+2.56.0
+

diff --git a/0121-qpl-fix-const-correctness-for-ASN1_STRING-X509_NAME_.patch b/0121-qpl-fix-const-correctness-for-ASN1_STRING-X509_NAME_.patch
deleted file mode 100644
index f817d1b..0000000
--- a/0121-qpl-fix-const-correctness-for-ASN1_STRING-X509_NAME_.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-From 39939ab34f4e4d20a044206e37fa032d90837f09 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= <berrange@redhat.com>
-Date: Mon, 20 Jul 2026 12:36:19 +0100
-Subject: [PATCH 121/122] qpl: fix const correctness for
- ASN1_STRING/X509_NAME_ENTRY
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-In OpenSSL 4 the functions now return a const struct where possible.
-
-Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
----
- QuoteGeneration/qpl/linux/x509.cpp | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/QuoteGeneration/qpl/linux/x509.cpp b/QuoteGeneration/qpl/linux/x509.cpp
-index 044db8ce..6170ce5e 100644
---- a/QuoteGeneration/qpl/linux/x509.cpp
-+++ b/QuoteGeneration/qpl/linux/x509.cpp
-@@ -69,8 +69,8 @@ static vector<string> crl_urls(X509 *x509) {
-         } else if (distpoint->type == 1) {
-             STACK_OF(X509_NAME_ENTRY) *sk_relname = distpoint->name.relativename;
-             for (int k = 0; k < sk_X509_NAME_ENTRY_num(sk_relname); k++) {
--                X509_NAME_ENTRY *e = sk_X509_NAME_ENTRY_value(sk_relname, k);
--                ASN1_STRING *d = X509_NAME_ENTRY_get_data(e);
-+                const X509_NAME_ENTRY *e = sk_X509_NAME_ENTRY_value(sk_relname, k);
-+                const ASN1_STRING *d = X509_NAME_ENTRY_get_data(e);
-                 list.push_back(string((char *)ASN1_STRING_get0_data(d), ASN1_STRING_length(d)));
-             }
-         }
--- 
-2.55.0
-

diff --git a/0122-qal-force-compat-with-CMake-3.5.patch b/0122-qal-force-compat-with-CMake-3.5.patch
deleted file mode 100644
index 6bca36d..0000000
--- a/0122-qal-force-compat-with-CMake-3.5.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-From 39a7ec5512949ba65246a9b281f2bb5830a0f6c4 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= <berrange@redhat.com>
-Date: Wed, 22 Jul 2026 16:32:05 +0100
-Subject: [PATCH 122/122] qal: force compat with CMake 3.5
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-CMake 4 has dropped support for build files designed for
-CMake 3.x out of the box. To opt back in to historical
-compat requires CMAKE_POLICY_VERSION_MINIMUM=3.5 to be
-set.
-
-Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
----
- QuoteVerification/appraisal/qal/Makefile | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/QuoteVerification/appraisal/qal/Makefile b/QuoteVerification/appraisal/qal/Makefile
-index a7f1f1f6..c592c893 100644
---- a/QuoteVerification/appraisal/qal/Makefile
-+++ b/QuoteVerification/appraisal/qal/Makefile
-@@ -38,6 +38,7 @@ ifeq ($(DEBUG), 1)
- endif
- # Disable HW bound check to allow potential usage with other languages, such as Golang, Java
- WASM_CONFIG += -DWAMR_DISABLE_HW_BOUND_CHECK=1
-+WASM_CONFIG += -DCMAKE_POLICY_VERSION_MINIMUM=3.5
- 
- ifeq ($(USE_LOCAL_WASM), 1)
-     QAL_Cpp_Flags += -DUSE_LOCAL_WASM
--- 
-2.55.0
-

diff --git a/0200-Enable-pointing-sgxssl-build-to-alternative-glibc-he.patch b/0200-Enable-pointing-sgxssl-build-to-alternative-glibc-he.patch
index ea225bc..6a5b687 100644
--- a/0200-Enable-pointing-sgxssl-build-to-alternative-glibc-he.patch
+++ b/0200-Enable-pointing-sgxssl-build-to-alternative-glibc-he.patch
@@ -1,4 +1,4 @@
-From 862befc397afca6c221d3abe50cfd99e55aa828d Mon Sep 17 00:00:00 2001
+From 007d3ef6cf5fee0991e7531d705feab94fd5614b Mon Sep 17 00:00:00 2001
 From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= <berrange@redhat.com>
 Date: Thu, 29 Aug 2024 12:23:30 +0100
 Subject: [PATCH 200/204] Enable pointing sgxssl build to alternative glibc
@@ -73,5 +73,5 @@ index ed8456d..bea3463 100644
  clean:	
  	$(MAKE) -C $(TRUSTED_LIB_DIR) clean
 -- 
-2.55.0
+2.56.0
 

diff --git a/0201-Workaround-missing-output-directory.patch b/0201-Workaround-missing-output-directory.patch
index 64169fe..0a0fdf8 100644
--- a/0201-Workaround-missing-output-directory.patch
+++ b/0201-Workaround-missing-output-directory.patch
@@ -1,4 +1,4 @@
-From d15993ad959c4f599b5c20753b419ee495ac1b11 Mon Sep 17 00:00:00 2001
+From ee793b2d477b9a24fbad29ec4e4f82878ca5c88a Mon Sep 17 00:00:00 2001
 From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= <berrange@redhat.com>
 Date: Thu, 29 Aug 2024 12:50:32 +0100
 Subject: [PATCH 201/204] Workaround missing output directory
@@ -28,5 +28,5 @@ index 1a8ea2c..44bfa7b 100755
  grep OPENSSL_VERSION_STR include/openssl/opensslv.h > $SGXSSL_ROOT/sgx/osslverstr.h || exit 1
  cp -r include/crypto $SGXSSL_ROOT/sgx/test_app/enclave/ || exit 1
 -- 
-2.55.0
+2.56.0
 

diff --git a/0202-Disable-various-EC-crypto-features.patch b/0202-Disable-various-EC-crypto-features.patch
index 495c719..b262bc1 100644
--- a/0202-Disable-various-EC-crypto-features.patch
+++ b/0202-Disable-various-EC-crypto-features.patch
@@ -1,4 +1,4 @@
-From f7230e5a5b0833d809f0ee41e472f24ee3b3faf0 Mon Sep 17 00:00:00 2001
+From 3f549e1919157a2bd94ce404426100547fd8ab72 Mon Sep 17 00:00:00 2001
 From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= <berrange@redhat.com>
 Date: Fri, 1 Mar 2024 13:24:26 +0000
 Subject: [PATCH 202/204] Disable various EC crypto features
@@ -1631,5 +1631,5 @@ index 0000000..0cae2fa
 + 
 +  err:
 -- 
-2.55.0
+2.56.0
 

diff --git a/0203-Disable-sm2-and-sm4-crypto-algorithms.patch b/0203-Disable-sm2-and-sm4-crypto-algorithms.patch
index 852ecfd..bcafc8e 100644
--- a/0203-Disable-sm2-and-sm4-crypto-algorithms.patch
+++ b/0203-Disable-sm2-and-sm4-crypto-algorithms.patch
@@ -1,4 +1,4 @@
-From 5984c3b8f7ba3310d880a3b65e1143cbc1c12416 Mon Sep 17 00:00:00 2001
+From 173331b5d85f1930016826fb10e18e36587f800b Mon Sep 17 00:00:00 2001
 From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= <berrange@redhat.com>
 Date: Fri, 1 Mar 2024 13:25:14 +0000
 Subject: [PATCH 203/204] Disable sm2 and sm4 crypto algorithms
@@ -119,5 +119,5 @@ index a395ce8..f49e5b7 100644
  }
 +#endif
 -- 
-2.55.0
+2.56.0
 

diff --git a/0204-Update-patches-for-openssl-3.0.19.patch b/0204-Update-patches-for-openssl-3.0.19.patch
index d74092d..7a7d698 100644
--- a/0204-Update-patches-for-openssl-3.0.19.patch
+++ b/0204-Update-patches-for-openssl-3.0.19.patch
@@ -1,4 +1,4 @@
-From 57391d0ca631398b2b6317a9ad3bfeb44751effe Mon Sep 17 00:00:00 2001
+From 1f0c2efddb8d991ef4b7387c409a5305e38461e5 Mon Sep 17 00:00:00 2001
 From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= <berrange@redhat.com>
 Date: Mon, 20 Jul 2026 17:29:27 +0100
 Subject: [PATCH 204/204] Update patches for openssl 3.0.19
@@ -1639,5 +1639,5 @@ index 0cae2fa..5e9f311 100644
 - 
 -  err:
 -- 
-2.55.0
+2.56.0
 

diff --git a/0300-Drop-Werror-stringop-overflow-from-build-flags.patch b/0300-Drop-Werror-stringop-overflow-from-build-flags.patch
new file mode 100644
index 0000000..59be3ab
--- /dev/null
+++ b/0300-Drop-Werror-stringop-overflow-from-build-flags.patch
@@ -0,0 +1,88 @@
+From 0f2a1893b3ab2bed38e685520d24be633d1d5f96 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= <berrange@redhat.com>
+Date: Tue, 3 Sep 2024 10:14:31 +0100
+Subject: [PATCH] Drop -Werror=stringop-overflow from build flags
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+This generates false positives on newer GCC:
+
+In function ‘CopyBlock’,
+    inlined from ‘d1_ippsAES_CCMDecrypt’ at /home/berrange/src/fedora/linux-sgx/linux-sgx-2.30.1-build/confidential-computing.sgx-sgx_2.30.1/sdk/external/ippcp_internal/ipp-crypto/build/c_sources/d1/c_inte
+l64/d1_pcpaes_ccmdecrypt.c:170:13:
+/home/berrange/src/fedora/linux-sgx/linux-sgx-2.30.1-build/confidential-computing.sgx-sgx_2.30.1/sdk/external/ippcp_internal/ipp-crypto/sources/ippcp/pcptool.h:38:14: error: writing 16 bytes into a region of size 0 [-Werror=stringop-overflow=]
+   38 |         d[k] = s[k];
+      |         ~~~~~^~~~~~
+/home/berrange/src/fedora/linux-sgx/linux-sgx-2.30.1-build/confidential-computing.sgx-sgx_2.30.1/sdk/external/ippcp_internal/ipp-crypto/build/c_sources/d1/c_intel64/d1_pcpaes_ccmdecrypt.c: In function ‘d1_ippsAES_CCMDecrypt’:
+/home/berrange/src/fedora/linux-sgx/linux-sgx-2.30.1-build/confidential-computing.sgx-sgx_2.30.1/sdk/external/ippcp_internal/ipp-crypto/build/c_sources/d1/c_intel64/d1_pcpaes_ccmdecrypt.c:88:16: note: at offset [40, 4294967279] into destination object ‘CTR’ of size 16
+   88 |         Ipp32u CTR[NB(128)];
+      |                ^~~
+
+Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
+---
+ sources/cmake/linux/Clang9.0.0.cmake        | 2 +-
+ sources/cmake/linux/GNU8.2.0.cmake          | 2 +-
+ sources/cmake/linux/Intel19.0.0.cmake       | 3 ++-
+ sources/cmake/linux/IntelLLVM2023.1.0.cmake | 2 +-
+ 4 files changed, 5 insertions(+), 4 deletions(-)
+
+diff --git a/sources/cmake/linux/Clang9.0.0.cmake b/sources/cmake/linux/Clang9.0.0.cmake
+index 9215917e0..c430933a1 100644
+--- a/sources/cmake/linux/Clang9.0.0.cmake
++++ b/sources/cmake/linux/Clang9.0.0.cmake
+@@ -106,7 +106,7 @@ if(SANITIZERS)
+ endif(SANITIZERS)
+ 
+ # Optimization level = 3, no-debug definition (turns off asserts), warnings=errors
+-set(CMAKE_C_FLAGS_RELEASE " -O3 -DNDEBUG -Werror")
++set(CMAKE_C_FLAGS_RELEASE " -O3 -DNDEBUG -Werror -Wno-error=stringop-overflow")
+ # Security flag that adds compile-time and run-time checks
+ set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -D_FORTIFY_SOURCE=2")
+ 
+diff --git a/sources/cmake/linux/GNU8.2.0.cmake b/sources/cmake/linux/GNU8.2.0.cmake
+index c00dedfcb..d218bc006 100644
+--- a/sources/cmake/linux/GNU8.2.0.cmake
++++ b/sources/cmake/linux/GNU8.2.0.cmake
+@@ -96,7 +96,7 @@ if(${ARCH} MATCHES "ia32")
+ endif(${ARCH} MATCHES "ia32")
+ 
+ # Optimization level = 3, no-debug definition (turns off asserts), warnings=errors
+-set(CMAKE_C_FLAGS_RELEASE " -O3 -DNDEBUG -Werror")
++set(CMAKE_C_FLAGS_RELEASE " -O3 -DNDEBUG -Werror -Wno-error=stringop-overflow")
+ # Security flag that adds compile-time and run-time checks
+ set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -D_FORTIFY_SOURCE=2")
+ 
+diff --git a/sources/cmake/linux/Intel19.0.0.cmake b/sources/cmake/linux/Intel19.0.0.cmake
+index b8ee326a6..c205e88f1 100644
+--- a/sources/cmake/linux/Intel19.0.0.cmake
++++ b/sources/cmake/linux/Intel19.0.0.cmake
+@@ -96,10 +96,11 @@ if(CODE_COVERAGE)
+ endif()
+ 
+ # Optimization level = 3, no-debug definition (turns off asserts), warning level = 3, treat warnings as errors
+-set(CMAKE_C_FLAGS_RELEASE " -O3 -DNDEBUG -w3 -Werror")
++set(CMAKE_C_FLAGS_RELEASE " -O3 -DNDEBUG -w3 -Werror -Wno-error=stringop-overflow")
+ # Security flag that adds compile-time and run-time checks
+ set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -D_FORTIFY_SOURCE=2")
+ 
++>>>>>>> b073f869a (Drop -Werror from build flags)
+ # DEBUG flags Optimization level = 0, generation maximum GDB information (-g3)
+ set (CMAKE_C_FLAGS_DEBUG " -O0 -g3")
+ 
+diff --git a/sources/cmake/linux/IntelLLVM2023.1.0.cmake b/sources/cmake/linux/IntelLLVM2023.1.0.cmake
+index 056d1736f..919843c8d 100644
+--- a/sources/cmake/linux/IntelLLVM2023.1.0.cmake
++++ b/sources/cmake/linux/IntelLLVM2023.1.0.cmake
+@@ -93,7 +93,7 @@ if(CODE_COVERAGE)
+ endif()
+ 
+ # Optimization level = 3, no-debug definition (turns off asserts), warning level = 3, treat warnings as errors
+-set(CMAKE_C_FLAGS_RELEASE " -O3 -ffast-math -DNDEBUG -Wall -Wno-unused-function -Werror")
++set(CMAKE_C_FLAGS_RELEASE " -O3 -ffast-math -DNDEBUG -Wall -Wno-unused-function -Werror -Wno-error=stringop-overflow")
+ # Enabling additional warnings
+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wconversion -Wimplicit-fallthrough -Wextra -Wunknown-pragmas")
+ 
+-- 
+2.56.0
+

diff --git a/0300-Drop-min-openssl-from-3.0.8-to-3.0.7.patch b/0300-Drop-min-openssl-from-3.0.8-to-3.0.7.patch
deleted file mode 100644
index a0c8fce..0000000
--- a/0300-Drop-min-openssl-from-3.0.8-to-3.0.7.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-From 22a2f289d7e613e070e23897596ff8451402d680 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= <berrange@redhat.com>
-Date: Tue, 3 Sep 2024 10:11:45 +0100
-Subject: [PATCH 300/301] Drop min openssl from 3.0.8 to 3.0.7
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
----
- sources/ippcp/crypto_mb/CMakeLists.txt | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/sources/ippcp/crypto_mb/CMakeLists.txt b/sources/ippcp/crypto_mb/CMakeLists.txt
-index 6e810567..d92f6c68 100644
---- a/sources/ippcp/crypto_mb/CMakeLists.txt
-+++ b/sources/ippcp/crypto_mb/CMakeLists.txt
-@@ -76,7 +76,7 @@ if(BORINGSSL OR BABASSL) # off by default
-     # by find_package(OpenSSL)
-     find_package(OpenSSL REQUIRED)
- else()
--    find_package(OpenSSL 3.0.8 REQUIRED) # set -DOPENSSL_INCLUDE_DIR= -DOPENSSL_LIBRARIES= -DOPENSSL_ROOT_DIR= to use patched
-+    find_package(OpenSSL 3.0.7 REQUIRED) # set -DOPENSSL_INCLUDE_DIR= -DOPENSSL_LIBRARIES= -DOPENSSL_ROOT_DIR= to use patched
- endif()
- 
- if(BN_OPENSSL_PATCH)
--- 
-2.55.0
-

diff --git a/0301-Drop-Werror-from-build-flags.patch b/0301-Drop-Werror-from-build-flags.patch
deleted file mode 100644
index 24c0e1f..0000000
--- a/0301-Drop-Werror-from-build-flags.patch
+++ /dev/null
@@ -1,71 +0,0 @@
-From b073f869a15483ef1d843c9dfaa5d8dcdc0d7836 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= <berrange@redhat.com>
-Date: Tue, 3 Sep 2024 10:14:31 +0100
-Subject: [PATCH 301/301] Drop -Werror from build flags
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
----
- sources/cmake/linux/Clang9.0.0.cmake        | 2 +-
- sources/cmake/linux/GNU8.2.0.cmake          | 2 +-
- sources/cmake/linux/Intel19.0.0.cmake       | 2 +-
- sources/cmake/linux/IntelLLVM2023.1.0.cmake | 2 +-
- 4 files changed, 4 insertions(+), 4 deletions(-)
-
-diff --git a/sources/cmake/linux/Clang9.0.0.cmake b/sources/cmake/linux/Clang9.0.0.cmake
-index 18e5182a..fa9ee20a 100644
---- a/sources/cmake/linux/Clang9.0.0.cmake
-+++ b/sources/cmake/linux/Clang9.0.0.cmake
-@@ -106,7 +106,7 @@ if(SANITIZERS)
- endif(SANITIZERS)
- 
- # Optimization level = 3, no-debug definition (turns off asserts), warnings=errors
--set (CMAKE_C_FLAGS_RELEASE " -O3 -DNDEBUG -Werror")
-+set (CMAKE_C_FLAGS_RELEASE " -O3 -DNDEBUG")
- 
- # DEBUG flags - optimization level = 0, generation GDB information (-g)
- set (CMAKE_C_FLAGS_DEBUG " -O0 -g")
-diff --git a/sources/cmake/linux/GNU8.2.0.cmake b/sources/cmake/linux/GNU8.2.0.cmake
-index 96658a8d..93cd079a 100644
---- a/sources/cmake/linux/GNU8.2.0.cmake
-+++ b/sources/cmake/linux/GNU8.2.0.cmake
-@@ -96,7 +96,7 @@ if(${ARCH} MATCHES "ia32")
- endif(${ARCH} MATCHES "ia32")
- 
- # Optimization level = 3, no-debug definition (turns off asserts), warnings=errors
--set (CMAKE_C_FLAGS_RELEASE " -O3 -DNDEBUG -Werror")
-+set (CMAKE_C_FLAGS_RELEASE " -O3 -DNDEBUG")
- 
- set(w7_opt "${w7_opt} -march=pentium4 -msse2")
- set(s8_opt "${s8_opt} -march=core2 -mssse3")
-diff --git a/sources/cmake/linux/Intel19.0.0.cmake b/sources/cmake/linux/Intel19.0.0.cmake
-index c1d48508..133a7e18 100644
---- a/sources/cmake/linux/Intel19.0.0.cmake
-+++ b/sources/cmake/linux/Intel19.0.0.cmake
-@@ -99,7 +99,7 @@ if(CODE_COVERAGE)
- endif()
- 
- # Optimization level = 3, no-debug definition (turns off asserts), warning level = 3, treat warnings as errors
--set (CMAKE_C_FLAGS_RELEASE " -O3 -DNDEBUG -w3 -Werror")
-+set (CMAKE_C_FLAGS_RELEASE " -O3 -DNDEBUG -w3")
- # DEBUG flags Optimization level = 0, generation maximum GDB information (-g3)
- set (CMAKE_C_FLAGS_DEBUG " -O0 -g3")
- 
-diff --git a/sources/cmake/linux/IntelLLVM2023.1.0.cmake b/sources/cmake/linux/IntelLLVM2023.1.0.cmake
-index babc289a..59a74d10 100644
---- a/sources/cmake/linux/IntelLLVM2023.1.0.cmake
-+++ b/sources/cmake/linux/IntelLLVM2023.1.0.cmake
-@@ -95,7 +95,7 @@ if(CODE_COVERAGE)
- endif()
- 
- # Optimization level = 3, no-debug definition (turns off asserts), warning level = 3, treat warnings as errors
--set (CMAKE_C_FLAGS_RELEASE " -Ofast -DNDEBUG -Wall -Wno-unused-function -Wno-missing-braces -Werror")
-+set (CMAKE_C_FLAGS_RELEASE " -Ofast -DNDEBUG -Wall -Wno-unused-function -Wno-missing-braces")
- 
- # Alignment for structures on byte boundaries (= 16)
- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Zp16")
--- 
-2.55.0
-

diff --git a/0400-Fix-constness-for-OpenSSL4-X509-ASN1-APIs.patch b/0400-Fix-constness-for-OpenSSL4-X509-ASN1-APIs.patch
index 5510f6a..9d9d4d8 100644
--- a/0400-Fix-constness-for-OpenSSL4-X509-ASN1-APIs.patch
+++ b/0400-Fix-constness-for-OpenSSL4-X509-ASN1-APIs.patch
@@ -1,4 +1,4 @@
-From 9dbe8147a9ae1327018e29f5d76d8ea5c8d71af9 Mon Sep 17 00:00:00 2001
+From 2131464ced53e776e2191bfeb94e4c9512de82bf Mon Sep 17 00:00:00 2001
 From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= <berrange@redhat.com>
 Date: Mon, 20 Jul 2026 13:23:50 +0100
 Subject: [PATCH] Fix constness for OpenSSL4 X509/ASN1 APIs
@@ -157,10 +157,10 @@ index 2ec8c2b..3392d6c 100644
          return {};
      }
 diff --git a/Src/AttestationParsers/include/SgxEcdsaAttestation/AttestationParsers.h b/Src/AttestationParsers/include/SgxEcdsaAttestation/AttestationParsers.h
-index b393d23..db2e4ca 100644
+index d8e6f56..e1628b8 100644
 --- a/Src/AttestationParsers/include/SgxEcdsaAttestation/AttestationParsers.h
 +++ b/Src/AttestationParsers/include/SgxEcdsaAttestation/AttestationParsers.h
-@@ -812,7 +812,7 @@ namespace intel { namespace sgx { namespace dcap { namespace parser
+@@ -815,7 +815,7 @@ namespace intel { namespace sgx { namespace dcap { namespace parser
              std::string _locationName;
              std::string _stateName;
  
@@ -169,7 +169,7 @@ index b393d23..db2e4ca 100644
  
              friend class Certificate;
          };
-@@ -945,7 +945,7 @@ namespace intel { namespace sgx { namespace dcap { namespace parser
+@@ -948,7 +948,7 @@ namespace intel { namespace sgx { namespace dcap { namespace parser
              std::string _name;
              std::vector<uint8_t> _value;
  
@@ -178,7 +178,7 @@ index b393d23..db2e4ca 100644
  
              friend class Certificate;
              friend class UnitTests;
-@@ -1461,4 +1461,4 @@ namespace intel { namespace sgx { namespace dcap { namespace parser
+@@ -1464,4 +1464,4 @@ namespace intel { namespace sgx { namespace dcap { namespace parser
  
  }}}}
  
@@ -418,5 +418,5 @@ index 0df63a7..4478060 100644
      const uint8_t *derSeqIt = _rawDer.data();
      const auto sig = crypto::make_unique(d2i_ECDSA_SIG(nullptr, &derSeqIt , static_cast<long>(_rawDer.size())));
 -- 
-2.55.0
+2.56.0
 

diff --git a/0500-Add-support-for-building-against-host-openssl-crypto.patch b/0500-Add-support-for-building-against-host-openssl-crypto.patch
new file mode 100644
index 0000000..cab1202
--- /dev/null
+++ b/0500-Add-support-for-building-against-host-openssl-crypto.patch
@@ -0,0 +1,179 @@
+From b5571ecafd6bff050cb7ee37298ec4fe66f4422a Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= <berrange@redhat.com>
+Date: Tue, 10 Nov 2026 09:20:49 +0000
+Subject: [PATCH 500/512] Add support for building against host openssl crypto
+ lib
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+For the host tools/libraries it is desirable to be build
+against the host provided openssl crypto library, such
+that security updates automatically propagate from the
+distro vendor.
+
+This is enabled as an opt-in by setting the make variable
+
+  USE_HOST_OPENSSL_CRYPTO=1
+
+Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
+---
+ buildenv.mk                                   | 13 +++++++++++++
+ enclave_runtime/urts/linux/Makefile           |  8 +++-----
+ sdk/sign_tool/SignTool/Makefile               |  7 ++-----
+ sdk/simulation/uae_service_sim/linux/Makefile |  7 ++-----
+ sdk/simulation/urtssim/linux/Makefile         |  7 ++-----
+ 5 files changed, 22 insertions(+), 20 deletions(-)
+
+diff --git a/buildenv.mk b/buildenv.mk
+index a718623e..d0655281 100644
+--- a/buildenv.mk
++++ b/buildenv.mk
+@@ -378,3 +378,16 @@ LD_IPP          := -lippcp
+ 
+ ######## SGX SDK Settings (source layout) ########
+ SGX_HEADER_DIR := $(ROOT_DIR)/sdk/include
++
++USE_HOST_OPENSSL_CRYPTO ?= 0
++
++ifeq ($(USE_HOST_OPENSSL_CRYPTO), 1)
++OPENSSL_CRYPTO_CFLAGS = $(shell pkg-config --cflags libcrypto)
++OPENSSL_CRYPTO_LDFLAGS = $(shell pkg-config --libs libcrypto)
++OPENSSL_CRYPTO_LIBS = $(shell pkg-config --libs libcrypto)
++else
++OPENSSL_CRYPTO_PREBUILT_DIR := $(ROOT_DIR)/prebuilt/dcap/openssl
++OPENSSL_CRYPTO_CFLAGS = -I$(OPENSSL_CRYPTO_PREBUILT_DIR)/inc
++OPENSSL_CRYPTO_LDFLAGS = -L$(OPENSSL_CRYPTO_PREBUILT_DIR)/lib/linux64 -lcrypto
++OPENSSL_CRYPTO_LIBS = $(OPENSSL_CRYPTO_PREBUILT_DIR)/lib/linux64/libcrypto.a
++endif
+diff --git a/enclave_runtime/urts/linux/Makefile b/enclave_runtime/urts/linux/Makefile
+index 5cc40b4f..7a6b6b09 100644
+--- a/enclave_runtime/urts/linux/Makefile
++++ b/enclave_runtime/urts/linux/Makefile
+@@ -18,8 +18,6 @@ CFLAGS += -fPIC -Werror -g
+ CFLAGS += $(ADDED_INC)
+ 
+ VTUNE_DIR = $(LINUX_EXTERNAL_DIR)/vtune/linux
+-PREBUILT_OPENSSL_DIR := $(ROOT_DIR)/prebuilt/dcap/openssl
+-CRYPTO_LIB := -L$(PREBUILT_OPENSSL_DIR)/lib/linux64 -lcrypto
+ 
+ INC += -I$(SGX_HEADER_DIR)                \
+        -I$(COMMON_DIR)/inc/               \
+@@ -31,15 +29,15 @@ INC += -I$(SGX_HEADER_DIR)                \
+        -I$(LINUX_ENCLAVE_RUNTIME_DIR)/urts/parser     \
+        -I$(VTUNE_DIR)/include \
+        -I$(VTUNE_DIR)/sdk/src/ittnotify   \
+-       -I$(PREBUILT_OPENSSL_DIR)/inc \
++       $(OPENSSL_CRYPTO_CFLAGS) \
+        -I$(LINUX_EXTERNAL_DIR)/sgx-emm/emm_src/include
+ 
+ LDFLAGS := -lwrapper
+ INTERNAL_LDFLAGS := -lwrapper
+ LDFLAGS += $(COMMON_LDFLAGS) -Wl,-Bdynamic -L$(BUILD_DIR) -lsgx_enclave_common -lpthread
+ INTERNAL_LDFLAGS += $(COMMON_LDFLAGS) -lpthread
+-LDFLAGS += -L$(VTUNE_DIR)/sdk/src/ittnotify -littnotify -ldl $(CRYPTO_LIB)
+-INTERNAL_LDFLAGS += -L$(VTUNE_DIR)/sdk/src/ittnotify -littnotify -ldl $(CRYPTO_LIB)
++LDFLAGS += -L$(VTUNE_DIR)/sdk/src/ittnotify -littnotify -ldl $(OPENSSL_CRYPTO_LDFLAGS)
++INTERNAL_LDFLAGS += -L$(VTUNE_DIR)/sdk/src/ittnotify -littnotify -ldl $(OPENSSL_CRYPTO_LDFLAGS)
+ LDFLAGS += -Wl,--version-script=urts.lds -Wl,--gc-sections
+ INTERNAL_LDFLAGS += -Wl,--version-script=urts_internal.lds -Wl,--gc-sections
+ 
+diff --git a/sdk/sign_tool/SignTool/Makefile b/sdk/sign_tool/SignTool/Makefile
+index 73d2c775..454ac517 100644
+--- a/sdk/sign_tool/SignTool/Makefile
++++ b/sdk/sign_tool/SignTool/Makefile
+@@ -17,9 +17,6 @@ CFLAGS += $(FLAGS)
+ CXXFLAGS += $(FLAGS)
+ LDFLAGS := -pie $(COMMON_LDFLAGS) -Wno-odr
+ 
+-PREBUILT_OPENSSL_DIR := $(ROOT_DIR)/prebuilt/dcap/openssl
+-CRYPTO_LIB := -L$(PREBUILT_OPENSSL_DIR)/lib/linux64 -lcrypto
+-
+ INC += $(ADDED_INC)
+ INC +=  -I$(COMMON_DIR)/inc                         \
+         -I$(COMMON_DIR)/inc/internal                \
+@@ -29,7 +26,7 @@ INC +=  -I$(COMMON_DIR)/inc                         \
+         -I$(LINUX_ENCLAVE_RUNTIME_DIR)/urts/linux               \
+         -I$(LINUX_EXTERNAL_DIR)/tinyxml2            \
+         -I$(LINUX_ENCLAVE_RUNTIME_DIR)/urts/parser              \
+-        -I$(PREBUILT_OPENSSL_DIR)/inc
++        $(OPENSSL_CRYPTO_CFLAGS)
+ 
+ DIR1 := $(LINUX_EXTERNAL_DIR)/tinyxml2/
+ DIR2 := $(COMMON_DIR)/src/
+@@ -65,7 +62,7 @@ all: sgx_sign | $(BUILD_DIR)
+ $(BUILD_DIR):
+ 	@$(MKDIR) $@
+ 
+-sgx_sign: PRIVATE_LDLIBS  := -lpthread -lenclaveparser $(CRYPTO_LIB) -ldl
++sgx_sign: PRIVATE_LDLIBS  := -lpthread -lenclaveparser $(OPENSSL_CRYPTO_LDFLAGS) -ldl
+ sgx_sign: PRIVATE_LDFLAGS := -L$(LINUX_ENCLAVE_RUNTIME_DIR)/urts/parser $(LDFLAGS)
+ 
+ sgx_sign: $(OBJS) enclaveparser
+diff --git a/sdk/simulation/uae_service_sim/linux/Makefile b/sdk/simulation/uae_service_sim/linux/Makefile
+index 4d572a00..dab94053 100644
+--- a/sdk/simulation/uae_service_sim/linux/Makefile
++++ b/sdk/simulation/uae_service_sim/linux/Makefile
+@@ -9,9 +9,6 @@ include $(TOP_DIR)/buildenv.mk
+ 
+ get_version_name = $(addsuffix _VERSION,$(shell echo $(subst _deploy,,$(subst libsgx_,,$(basename $1))) | tr a-z A-Z))
+ 
+-PREBUILT_OPENSSL_DIR := $(ROOT_DIR)/prebuilt/dcap/openssl
+-CRYPTO_LIB := -L$(PREBUILT_OPENSSL_DIR)/lib/linux64 -lcrypto
+-
+ INCLUDES := -I..                                                   \
+             -I$(COMMON_DIR)/inc                                    \
+             -I$(COMMON_DIR)/inc/internal                           \
+@@ -19,7 +16,7 @@ INCLUDES := -I..                                                   \
+             -I$(LINUX_SDK_DIR)/simulation/tinst                    \
+             -I$(LINUX_SDK_DIR)/simulation/urtssim                  \
+             -I$(LINUX_EXTERNAL_DIR)/rdrand/                        \
+-            -I$(PREBUILT_OPENSSL_DIR)/inc
++            $(OPENSSL_CRYPTO_CFLAGS)
+ 
+ 
+ CXXFLAGS += -Wall -fPIC $(INCLUDES) -Werror -g $(CET_FLAGS)
+@@ -31,7 +28,7 @@ RDRAND_MAKEFILE := $(RDRAND_LIBDIR)/Makefile
+ 
+ EXTERNAL_LIB += -L$(RDRAND_LIBDIR) -lrdrand
+ EXTERNAL_LIB += -L$(RDRAND_LIBDIR) -lrt
+-EXTERNAL_LIB += -ldl $(CRYPTO_LIB)
++EXTERNAL_LIB += -ldl $(OPENSSL_CRYPTO_LDFLAGS)
+ 
+ vpath %.cpp $(LINUX_SDK_DIR)/simulation/urtssim \
+             $(COMMON_DIR)/src
+diff --git a/sdk/simulation/urtssim/linux/Makefile b/sdk/simulation/urtssim/linux/Makefile
+index 2d495a0b..f7169893 100644
+--- a/sdk/simulation/urtssim/linux/Makefile
++++ b/sdk/simulation/urtssim/linux/Makefile
+@@ -17,9 +17,6 @@ endif
+ CXXFLAGS += -fPIC -DSE_SIM -Werror -g $(CET_FLAGS)
+ CFLAGS   += -fPIC -DSE_SIM -Werror -g $(CET_FLAGS)
+ 
+-PREBUILT_OPENSSL_DIR := $(ROOT_DIR)/prebuilt/dcap/openssl
+-CRYPTO_LIB := -L$(PREBUILT_OPENSSL_DIR)/lib/linux64 -lcrypto
+-
+ CPPFLAGS += $(ADDED_INC) #for ubuntu 11 and later version
+ CPPFLAGS += -I$(COMMON_DIR)/inc                            \
+             -I$(COMMON_DIR)/inc/internal/linux             \
+@@ -28,7 +25,7 @@ CPPFLAGS += -I$(COMMON_DIR)/inc                            \
+             -I$(LINUX_ENCLAVE_RUNTIME_DIR)/urts/parser     \
+             -I$(VTUNE_DIR)/include                         \
+             -I$(VTUNE_DIR)/sdk/src/ittnotify               \
+-            -I$(PREBUILT_OPENSSL_DIR)/inc
++            $(OPENSSL_CRYPTO_CFLAGS)
+ 
+ CPPFLAGS += -I$(COMMON_DIR)/inc/internal                  \
+             -I$(LINUX_ENCLAVE_RUNTIME_DIR)/urts/linux     \
+@@ -102,7 +99,7 @@ LDFLAGS += $(COMMON_LDFLAGS) -Wl,--version-script=$(LINUX_ENCLAVE_RUNTIME_DIR)/u
+ LIBURTSSIM_SHARED := libsgx_urts_sim.so
+ LIBURTS_DEPLOY := libsgx_urts_deploy.so
+ 
+-LDLIBS += -lwrapper $(CRYPTO_LIB) -Wl,-Bdynamic -Wl,-Bsymbolic -lsgx_uae_service_sim
++LDLIBS += -lwrapper $(OPENSSL_CRYPTO_LDFLAGS) -Wl,-Bdynamic -Wl,-Bsymbolic -lsgx_uae_service_sim
+ SONAME = $(LIBURTSSIM_SHARED)
+ 
+ .PHONY: all
+-- 
+2.56.0
+

diff --git a/0501-Add-support-for-building-against-host-tinyxml2-lib.patch b/0501-Add-support-for-building-against-host-tinyxml2-lib.patch
new file mode 100644
index 0000000..07fe640
--- /dev/null
+++ b/0501-Add-support-for-building-against-host-tinyxml2-lib.patch
@@ -0,0 +1,84 @@
+From 31e6af73917df6e4a9093395981e1c88242fafea Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= <berrange@redhat.com>
+Date: Tue, 10 Nov 2026 09:23:26 +0000
+Subject: [PATCH 501/512] Add support for building against host tinyxml2 lib
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+For the host tools/libraries it is desirable to be build
+against the host provided tinyxml2 library, such that
+security updates automatically propagate from the distro
+vendor.
+
+This is enabled as an opt-in by setting the make variable
+
+  USE_HOST_TINYXML2=1
+
+Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
+---
+ buildenv.mk                     | 14 ++++++++++++++
+ sdk/sign_tool/SignTool/Makefile |  8 ++++----
+ 2 files changed, 18 insertions(+), 4 deletions(-)
+
+diff --git a/buildenv.mk b/buildenv.mk
+index d0655281..c065980f 100644
+--- a/buildenv.mk
++++ b/buildenv.mk
+@@ -391,3 +391,17 @@ OPENSSL_CRYPTO_CFLAGS = -I$(OPENSSL_CRYPTO_PREBUILT_DIR)/inc
+ OPENSSL_CRYPTO_LDFLAGS = -L$(OPENSSL_CRYPTO_PREBUILT_DIR)/lib/linux64 -lcrypto
+ OPENSSL_CRYPTO_LIBS = $(OPENSSL_CRYPTO_PREBUILT_DIR)/lib/linux64/libcrypto.a
+ endif
++
++USE_HOST_TINYXML2 ?= 0
++
++ifeq ($(USE_HOST_TINYXML2), 1)
++TINYXML2_CFLAGS = $(shell pkg-config --cflags tinyxml2)
++TINYXML2_LDFLAGS = $(shell pkg-config --libs tinyxml2)
++TINYXML2_OBJ =
++TINYXML2_DIR =
++else
++TINYXML2_CFLAGS = -I$(LINUX_EXTERNAL_DIR)/tinyxml2
++TINYXML2_LDFLAGS =
++TINYXML2_OBJ = tinyxml2.o
++TINYXML2_DIR = $(LINUX_EXTERNAL_DIR)/tinyxml2/
++endif
+diff --git a/sdk/sign_tool/SignTool/Makefile b/sdk/sign_tool/SignTool/Makefile
+index 454ac517..ce22cc77 100644
+--- a/sdk/sign_tool/SignTool/Makefile
++++ b/sdk/sign_tool/SignTool/Makefile
+@@ -24,11 +24,11 @@ INC +=  -I$(COMMON_DIR)/inc                         \
+         -I$(LINUX_ENCLAVE_RUNTIME_DIR)/enclave_common           \
+         -I$(LINUX_ENCLAVE_RUNTIME_DIR)/urts                     \
+         -I$(LINUX_ENCLAVE_RUNTIME_DIR)/urts/linux               \
+-        -I$(LINUX_EXTERNAL_DIR)/tinyxml2            \
++        $(TINYXML2_CFLAGS)                                      \
+         -I$(LINUX_ENCLAVE_RUNTIME_DIR)/urts/parser              \
+         $(OPENSSL_CRYPTO_CFLAGS)
+ 
+-DIR1 := $(LINUX_EXTERNAL_DIR)/tinyxml2/
++DIR1 := $(TINYXML2_DIR)
+ DIR2 := $(COMMON_DIR)/src/
+ DIR3 := $(LINUX_ENCLAVE_RUNTIME_DIR)/urts/
+ DIR4 := $(LINUX_ENCLAVE_RUNTIME_DIR)/urts/linux
+@@ -43,7 +43,7 @@ OBJ1 := manage_metadata.o      \
+ 
+ OBJ2 := sgx_memset_s.o crypto_evp_digest.o crypto_rsa_key.o crypto_rsa3072.o
+ 
+-OBJ3 := tinyxml2.o
++OBJ3 := $(TINYXML2_OBJ)
+ 
+ OBJ4 := loader.o     \
+         se_detect.o  \
+@@ -62,7 +62,7 @@ all: sgx_sign | $(BUILD_DIR)
+ $(BUILD_DIR):
+ 	@$(MKDIR) $@
+ 
+-sgx_sign: PRIVATE_LDLIBS  := -lpthread -lenclaveparser $(OPENSSL_CRYPTO_LDFLAGS) -ldl
++sgx_sign: PRIVATE_LDLIBS  := -lpthread -lenclaveparser $(OPENSSL_CRYPTO_LDFLAGS) -ldl $(TINYXML2_LDFLAGS)
+ sgx_sign: PRIVATE_LDFLAGS := -L$(LINUX_ENCLAVE_RUNTIME_DIR)/urts/parser $(LDFLAGS)
+ 
+ sgx_sign: $(OBJS) enclaveparser
+-- 
+2.56.0
+

diff --git a/0502-Improve-make-debuggability.patch b/0502-Improve-make-debuggability.patch
new file mode 100644
index 0000000..4be662d
--- /dev/null
+++ b/0502-Improve-make-debuggability.patch
@@ -0,0 +1,74 @@
+From c81f4a4bf26797997f3030f4e39842362ae13075 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= <berrange@redhat.com>
+Date: Tue, 10 Nov 2026 09:25:58 +0000
+Subject: [PATCH 502/512] Improve make debuggability
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Stop discarding stderr output
+Stop hardcoding parallelism to 'nproc' value and allow user
+specified setting to propagate to sub-make invocations.
+
+Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
+---
+ sdk/Makefile.source | 8 ++++----
+ sdk/cpprt/Makefile  | 2 +-
+ 2 files changed, 5 insertions(+), 5 deletions(-)
+
+diff --git a/sdk/Makefile.source b/sdk/Makefile.source
+index 1a5fe541..f1f56c64 100644
+--- a/sdk/Makefile.source
++++ b/sdk/Makefile.source
+@@ -75,7 +75,7 @@ tstdc: $(LIBTLIBC)
+ 
+ ifndef SERVTD_ATTEST
+ $(LIBTLIBC): tlibthread compiler-rt tsafecrt tsetjmp tmm_rsrv
+-	$(MAKE) -C tlibc/ -j$(shell nproc) 2> /dev/null
++	$(MAKE) -C tlibc/
+ 	@$(MKDIR) $(BUILD_DIR)/.compiler-rt $(BUILD_DIR)/.tlibthread $(BUILD_DIR)/.tsafecrt $(BUILD_DIR)/.tsetjmp $(BUILD_DIR)/.tmm_rsrv
+ 	@$(RM) -f $(BUILD_DIR)/.compiler-rt/*   && cd $(BUILD_DIR)/.compiler-rt && $(AR) x $(LINUX_SDK_DIR)/compiler-rt/libcompiler-rt.a
+ 	@$(RM) -f $(BUILD_DIR)/.tlibthread/*    && cd $(BUILD_DIR)/.tlibthread && $(AR) x $(LINUX_SDK_DIR)/tlibthread/libtlibthread.a
+@@ -93,7 +93,7 @@ $(LIBTLIBC): tlibthread compiler-rt tsafecrt tsetjmp tmm_rsrv
+ 	@$(RM) -rf $(BUILD_DIR)/.tsetjmp $(BUILD_DIR)/.tmm_rsrv
+ else
+ $(LIBTLIBC): tlibthread tsafecrt tsetjmp tmm_rsrv
+-	$(MAKE) -C tlibc/ SERVTD_ATTEST=1 -j$(shell nproc) 2> /dev/null
++	$(MAKE) -C tlibc/ SERVTD_ATTEST=1
+ 	@$(MKDIR) $(BUILD_DIR)/.tlibthread $(BUILD_DIR)/.tsafecrt $(BUILD_DIR)/.tsetjmp  $(BUILD_DIR)/.tmm_rsrv
+ 	@$(RM) -f $(BUILD_DIR)/.tlibthread/*    && cd $(BUILD_DIR)/.tlibthread && $(AR) x $(LINUX_SDK_DIR)/tlibthread/libtlibthread.a
+ 	@$(RM) -f $(BUILD_DIR)/.tsafecrt/*      && cd $(BUILD_DIR)/.tsafecrt   && $(AR) x $(LINUX_SDK_DIR)/tsafecrt/libsgx_tsafecrt.a
+@@ -116,7 +116,7 @@ tsafecrt:
+ 
+ .PHONY: compiler-rt
+ compiler-rt:
+-	$(MAKE) -C compiler-rt/ 2> /dev/null
++	$(MAKE) -C compiler-rt/
+ 
+ .PHONY: tsetjmp
+ tsetjmp:
+@@ -160,7 +160,7 @@ cpprt: libcxxrt
+ 
+ .PHONY: tlibcxx
+ tlibcxx: $(BUILD_DIR)
+-	$(MAKE) -C tlibcxx/ 2> /dev/null
++	$(MAKE) -C tlibcxx/
+ 	$(CP) tlibcxx/README.sgx $(BUILD_DIR)/libc++_Changes_SGX.txt
+ 
+ # ---------------------------------------------------
+diff --git a/sdk/cpprt/Makefile b/sdk/cpprt/Makefile
+index ccc2acc3..18c3c402 100644
+--- a/sdk/cpprt/Makefile
++++ b/sdk/cpprt/Makefile
+@@ -78,7 +78,7 @@ $(CPPRT): $(OBJS) $(LIBCXXRT_STAMP) prepare-libunwind libunwind
+ libunwind:
+ 	cd $(LIBUNWIND_DIR)/ && \
+ 		( test -f Makefile || CFLAGS="$(CFLAGS)" ./autogen.sh ) && \
+-		$(MAKE) -j$(shell nproc)
++		$(MAKE)
+ 
+ .PHONY: clean
+ clean:
+-- 
+2.56.0
+

diff --git a/0503-Support-disabling-use-of-git-for-ippcp-code.patch b/0503-Support-disabling-use-of-git-for-ippcp-code.patch
new file mode 100644
index 0000000..c4200dc
--- /dev/null
+++ b/0503-Support-disabling-use-of-git-for-ippcp-code.patch
@@ -0,0 +1,48 @@
+From beda12a0037b0678ab234c92d99d68aebd796869 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= <berrange@redhat.com>
+Date: Tue, 10 Nov 2026 09:27:50 +0000
+Subject: [PATCH 503/512] Support disabling use of git for ippcp code
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Allow the user to provide the ippcp source ahead of time,
+to avoid use of git in environments where there is no
+network access available.
+
+Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
+---
+ external/ippcp_internal/Makefile | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/external/ippcp_internal/Makefile b/external/ippcp_internal/Makefile
+index cac31adc..ec979f5d 100644
+--- a/external/ippcp_internal/Makefile
++++ b/external/ippcp_internal/Makefile
+@@ -5,6 +5,7 @@
+ 
+ include ../../buildenv.mk
+ 
++IPP_USE_GIT := 1
+ IPP_SOURCE = ipp-crypto
+ INSTALL_DIR=install
+ IPP_CONFIG = -Bbuild -DCMAKE_VERBOSE_MAKEFILE=on -DCMAKE_INSTALL_PREFIX=./$(INSTALL_DIR)
+@@ -59,6 +60,7 @@ build_ipp: $(CHECK_SOURCE)
+ 	cd $(IPP_SOURCE) && $(PRE_CONFIG) cmake CMakeLists.txt $(IPP_CONFIG) && cd build && make ippcp_s && make install
+ 
+ $(IPP_SOURCE)/build:
++ifeq ($(IPP_USE_GIT), 1)
+ ifeq ($(shell git rev-parse --is-inside-work-tree), true)
+ 	git submodule update -f --init --recursive --remote -- $(IPP_SOURCE)
+ else
+@@ -66,6 +68,7 @@ else
+ 	git clone -b cryptography-primitives_2_2_0 https://github.com/intel/cryptography-primitives --depth 1 $(IPP_SOURCE)
+ endif
+ 	cd $(IPP_SOURCE) && git apply ../0001-Cryptography-Primitives-for-SGX.patch
++endif
+ 	mkdir -p $(IPP_SOURCE)/build $(IPP_SOURCE)/$(INSTALL_DIR)
+ 
+ disp: all
+-- 
+2.56.0
+

diff --git a/0504-disable-openmp-protobuf-sample_crypto-builds.patch b/0504-disable-openmp-protobuf-sample_crypto-builds.patch
new file mode 100644
index 0000000..3b29a15
--- /dev/null
+++ b/0504-disable-openmp-protobuf-sample_crypto-builds.patch
@@ -0,0 +1,638 @@
+From b0ab3f42f8faac2f11e3149f87c55274ea0bdf44 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= <berrange@redhat.com>
+Date: Tue, 10 Nov 2026 09:31:34 +0000
+Subject: [PATCH 504/512] disable openmp, protobuf & sample_crypto builds
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+These libraries are demoware, not known to be used for anything
+important, so skip them to reduce amount of bundled package code.
+
+Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
+---
+ .../installer/common/sdk/BOMs/sdk_base.txt    | 482 ------------------
+ .../common/sdk/BOMs/sdk_cve_2020_0551_cf.txt  |   2 -
+ .../sdk/BOMs/sdk_cve_2020_0551_load.txt       |   2 -
+ .../installer/common/sdk/BOMs/sdk_x64.txt     |   3 -
+ sdk/Makefile.source                           |  24 +-
+ 5 files changed, 1 insertion(+), 512 deletions(-)
+
+diff --git a/build_infrastructure/linux/installer/common/sdk/BOMs/sdk_base.txt b/build_infrastructure/linux/installer/common/sdk/BOMs/sdk_base.txt
+index 548610f9..858b280f 100644
+--- a/build_infrastructure/linux/installer/common/sdk/BOMs/sdk_base.txt
++++ b/build_infrastructure/linux/installer/common/sdk/BOMs/sdk_base.txt
+@@ -357,16 +357,6 @@ DeliveryName	InstallName	FileCheckSum	FileFeature	FileOwner
+ <deliverydir>/SampleCode/SealUnseal/Enclave_Unseal/Enclave_Unseal.cpp	<installdir>/package/SampleCode/SealUnseal/Enclave_Unseal/Enclave_Unseal.cpp	0	N/A	N/A
+ <deliverydir>/SampleCode/SealUnseal/Enclave_Unseal/Enclave_Unseal.edl	<installdir>/package/SampleCode/SealUnseal/Enclave_Unseal/Enclave_Unseal.edl	0	N/A	N/A
+ <deliverydir>/SampleCode/SealUnseal/Enclave_Unseal/Enclave_Unseal.lds	<installdir>/package/SampleCode/SealUnseal/Enclave_Unseal/Enclave_Unseal.lds	0	N/A	N/A
+-<deliverydir>/SampleCode/ProtobufSGXDemo/App/App.h	<installdir>/package/SampleCode/ProtobufSGXDemo/App/App.h	0	N/A	N/A
+-<deliverydir>/SampleCode/ProtobufSGXDemo/App/App.cpp	<installdir>/package/SampleCode/ProtobufSGXDemo/App/App.cpp	0	N/A	N/A
+-<deliverydir>/SampleCode/ProtobufSGXDemo/Enclave/Enclave.config.xml	<installdir>/package/SampleCode/ProtobufSGXDemo/Enclave/Enclave.config.xml	0	N/A	N/A
+-<deliverydir>/SampleCode/ProtobufSGXDemo/Enclave/Enclave.cpp	<installdir>/package/SampleCode/ProtobufSGXDemo/Enclave/Enclave.cpp	0	N/A	N/A
+-<deliverydir>/SampleCode/ProtobufSGXDemo/Enclave/Enclave_debug.lds	<installdir>/package/SampleCode/ProtobufSGXDemo/Enclave/Enclave_debug.lds	0	N/A	N/A
+-<deliverydir>/SampleCode/ProtobufSGXDemo/Enclave/Enclave.edl	<installdir>/package/SampleCode/ProtobufSGXDemo/Enclave/Enclave.edl	0	N/A	N/A
+-<deliverydir>/SampleCode/ProtobufSGXDemo/Enclave/Enclave.h	<installdir>/package/SampleCode/ProtobufSGXDemo/Enclave/Enclave.h	0	N/A	N/A
+-<deliverydir>/SampleCode/ProtobufSGXDemo/Enclave/Enclave.lds	<installdir>/package/SampleCode/ProtobufSGXDemo/Enclave/Enclave.lds	0	N/A	N/A
+-<deliverydir>/SampleCode/ProtobufSGXDemo/Enclave/person.proto	<installdir>/package/SampleCode/ProtobufSGXDemo/Enclave/person.proto	0	N/A	N/A
+-<deliverydir>/SampleCode/ProtobufSGXDemo/Makefile	<installdir>/package/SampleCode/ProtobufSGXDemo/Makefile	0	N/A	N/A
+ <deliverydir>/SampleCode/SampleAEXNotify/Enclave/Enclave.config.xml	<installdir>/package/SampleCode/SampleAEXNotify/Enclave/Enclave.config.xml	0	N/A	N/A
+ <deliverydir>/SampleCode/SampleAEXNotify/Enclave/Enclave.cpp	<installdir>/package/SampleCode/SampleAEXNotify/Enclave/Enclave.cpp	0	N/A	N/A
+ <deliverydir>/SampleCode/SampleAEXNotify/Enclave/Enclave.edl	<installdir>/package/SampleCode/SampleAEXNotify/Enclave/Enclave.edl	0	N/A	N/A
+@@ -562,476 +552,4 @@ DeliveryName	InstallName	FileCheckSum	FileFeature	FileOwner
+ <deliverydir>/sdk/tlibcxx/include/variant	<installdir>/package/include/libcxx/variant	0	main	STP
+ <deliverydir>/sdk/tlibcxx/include/vector	<installdir>/package/include/libcxx/vector	0	main	STP
+ <deliverydir>/sdk/tlibcxx/include/version	<installdir>/package/include/libcxx/version	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/any.h	<installdir>/package/include/tprotobuf/google/protobuf/any.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/any.pb.h	<installdir>/package/include/tprotobuf/google/protobuf/any.pb.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/any.proto	<installdir>/package/include/tprotobuf/google/protobuf/any.proto	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/api.pb.h	<installdir>/package/include/tprotobuf/google/protobuf/api.pb.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/api.proto	<installdir>/package/include/tprotobuf/google/protobuf/api.proto	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/arena_align.h	<installdir>/package/include/tprotobuf/google/protobuf/arena_align.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/arena_allocation_policy.h	<installdir>/package/include/tprotobuf/google/protobuf/arena_allocation_policy.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/arena_cleanup.h	<installdir>/package/include/tprotobuf/google/protobuf/arena_cleanup.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/arena.h	<installdir>/package/include/tprotobuf/google/protobuf/arena.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/arenastring.h	<installdir>/package/include/tprotobuf/google/protobuf/arenastring.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/arenaz_sampler.h	<installdir>/package/include/tprotobuf/google/protobuf/arenaz_sampler.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/bridge/message_set.proto	<installdir>/package/include/tprotobuf/google/protobuf/bridge/message_set.proto	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/cpp_edition_defaults.h	<installdir>/package/include/tprotobuf/google/protobuf/cpp_edition_defaults.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/cpp_features.pb.h	<installdir>/package/include/tprotobuf/google/protobuf/cpp_features.pb.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/cpp_features.proto	<installdir>/package/include/tprotobuf/google/protobuf/cpp_features.proto	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/descriptor_database.h	<installdir>/package/include/tprotobuf/google/protobuf/descriptor_database.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/descriptor.h	<installdir>/package/include/tprotobuf/google/protobuf/descriptor.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/descriptor_legacy.h	<installdir>/package/include/tprotobuf/google/protobuf/descriptor_legacy.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/descriptor_lite.h	<installdir>/package/include/tprotobuf/google/protobuf/descriptor_lite.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/descriptor.pb.h	<installdir>/package/include/tprotobuf/google/protobuf/descriptor.pb.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/descriptor.proto	<installdir>/package/include/tprotobuf/google/protobuf/descriptor.proto	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/descriptor_visitor.h	<installdir>/package/include/tprotobuf/google/protobuf/descriptor_visitor.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/duration.pb.h	<installdir>/package/include/tprotobuf/google/protobuf/duration.pb.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/duration.proto	<installdir>/package/include/tprotobuf/google/protobuf/duration.proto	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/dynamic_message.h	<installdir>/package/include/tprotobuf/google/protobuf/dynamic_message.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/empty.pb.h	<installdir>/package/include/tprotobuf/google/protobuf/empty.pb.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/empty.proto	<installdir>/package/include/tprotobuf/google/protobuf/empty.proto	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/endian.h	<installdir>/package/include/tprotobuf/google/protobuf/endian.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/explicitly_constructed.h	<installdir>/package/include/tprotobuf/google/protobuf/explicitly_constructed.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/extension_set.h	<installdir>/package/include/tprotobuf/google/protobuf/extension_set.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/extension_set_inl.h	<installdir>/package/include/tprotobuf/google/protobuf/extension_set_inl.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/feature_resolver.h	<installdir>/package/include/tprotobuf/google/protobuf/feature_resolver.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/field_access_listener.h	<installdir>/package/include/tprotobuf/google/protobuf/field_access_listener.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/field_mask.pb.h	<installdir>/package/include/tprotobuf/google/protobuf/field_mask.pb.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/field_mask.proto	<installdir>/package/include/tprotobuf/google/protobuf/field_mask.proto	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/generated_enum_reflection.h	<installdir>/package/include/tprotobuf/google/protobuf/generated_enum_reflection.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/generated_enum_util.h	<installdir>/package/include/tprotobuf/google/protobuf/generated_enum_util.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/generated_message_bases.h	<installdir>/package/include/tprotobuf/google/protobuf/generated_message_bases.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/generated_message_reflection.h	<installdir>/package/include/tprotobuf/google/protobuf/generated_message_reflection.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/generated_message_tctable_decl.h	<installdir>/package/include/tprotobuf/google/protobuf/generated_message_tctable_decl.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/generated_message_tctable_gen.h	<installdir>/package/include/tprotobuf/google/protobuf/generated_message_tctable_gen.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/generated_message_tctable_impl.h	<installdir>/package/include/tprotobuf/google/protobuf/generated_message_tctable_impl.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/generated_message_util.h	<installdir>/package/include/tprotobuf/google/protobuf/generated_message_util.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/has_bits.h	<installdir>/package/include/tprotobuf/google/protobuf/has_bits.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/implicit_weak_message.h	<installdir>/package/include/tprotobuf/google/protobuf/implicit_weak_message.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/inlined_string_field.h	<installdir>/package/include/tprotobuf/google/protobuf/inlined_string_field.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/internal_feature_helper.h	<installdir>/package/include/tprotobuf/google/protobuf/internal_feature_helper.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/internal_options.proto	<installdir>/package/include/tprotobuf/google/protobuf/internal_options.proto	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/internal_visibility.h	<installdir>/package/include/tprotobuf/google/protobuf/internal_visibility.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/io/coded_stream.h	<installdir>/package/include/tprotobuf/google/protobuf/io/coded_stream.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/io/gzip_stream.h	<installdir>/package/include/tprotobuf/google/protobuf/io/gzip_stream.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/io/io_win32.h	<installdir>/package/include/tprotobuf/google/protobuf/io/io_win32.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/io/package_info.h	<installdir>/package/include/tprotobuf/google/protobuf/io/package_info.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/io/printer.h	<installdir>/package/include/tprotobuf/google/protobuf/io/printer.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/io/strtod.h	<installdir>/package/include/tprotobuf/google/protobuf/io/strtod.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/io/tokenizer.h	<installdir>/package/include/tprotobuf/google/protobuf/io/tokenizer.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/io/zero_copy_sink.h	<installdir>/package/include/tprotobuf/google/protobuf/io/zero_copy_sink.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/io/zero_copy_stream.h	<installdir>/package/include/tprotobuf/google/protobuf/io/zero_copy_stream.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/io/zero_copy_stream_impl.h	<installdir>/package/include/tprotobuf/google/protobuf/io/zero_copy_stream_impl.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/io/zero_copy_stream_impl_lite.h	<installdir>/package/include/tprotobuf/google/protobuf/io/zero_copy_stream_impl_lite.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/json/internal/descriptor_traits.h	<installdir>/package/include/tprotobuf/google/protobuf/json/internal/descriptor_traits.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/json/internal/lexer.h	<installdir>/package/include/tprotobuf/google/protobuf/json/internal/lexer.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/json/internal/message_path.h	<installdir>/package/include/tprotobuf/google/protobuf/json/internal/message_path.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/json/internal/parser.h	<installdir>/package/include/tprotobuf/google/protobuf/json/internal/parser.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/json/internal/parser_traits.h	<installdir>/package/include/tprotobuf/google/protobuf/json/internal/parser_traits.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/json/internal/unparser.h	<installdir>/package/include/tprotobuf/google/protobuf/json/internal/unparser.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/json/internal/unparser_traits.h	<installdir>/package/include/tprotobuf/google/protobuf/json/internal/unparser_traits.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/json/internal/untyped_message.h	<installdir>/package/include/tprotobuf/google/protobuf/json/internal/untyped_message.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/json/internal/writer.h	<installdir>/package/include/tprotobuf/google/protobuf/json/internal/writer.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/json/internal/zero_copy_buffered_stream.h	<installdir>/package/include/tprotobuf/google/protobuf/json/internal/zero_copy_buffered_stream.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/json/json.h	<installdir>/package/include/tprotobuf/google/protobuf/json/json.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/late_loaded_option.proto	<installdir>/package/include/tprotobuf/google/protobuf/late_loaded_option.proto	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/late_loaded_option_user.proto	<installdir>/package/include/tprotobuf/google/protobuf/late_loaded_option_user.proto	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/map_entry.h	<installdir>/package/include/tprotobuf/google/protobuf/map_entry.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/map_field.h	<installdir>/package/include/tprotobuf/google/protobuf/map_field.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/map_field_lite.h	<installdir>/package/include/tprotobuf/google/protobuf/map_field_lite.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/map.h	<installdir>/package/include/tprotobuf/google/protobuf/map.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/map_type_handler.h	<installdir>/package/include/tprotobuf/google/protobuf/map_type_handler.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/message.h	<installdir>/package/include/tprotobuf/google/protobuf/message.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/message_lite.h	<installdir>/package/include/tprotobuf/google/protobuf/message_lite.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/metadata.h	<installdir>/package/include/tprotobuf/google/protobuf/metadata.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/metadata_lite.h	<installdir>/package/include/tprotobuf/google/protobuf/metadata_lite.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/micro_string.h	<installdir>/package/include/tprotobuf/google/protobuf/micro_string.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/package_info.h	<installdir>/package/include/tprotobuf/google/protobuf/package_info.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/parse_context.h	<installdir>/package/include/tprotobuf/google/protobuf/parse_context.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/port.h	<installdir>/package/include/tprotobuf/google/protobuf/port.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/port_def.inc	<installdir>/package/include/tprotobuf/google/protobuf/port_def.inc	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/port_undef.inc	<installdir>/package/include/tprotobuf/google/protobuf/port_undef.inc	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/raw_ptr.h	<installdir>/package/include/tprotobuf/google/protobuf/raw_ptr.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/reflection.h	<installdir>/package/include/tprotobuf/google/protobuf/reflection.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/reflection_internal.h	<installdir>/package/include/tprotobuf/google/protobuf/reflection_internal.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/reflection_mode.h	<installdir>/package/include/tprotobuf/google/protobuf/reflection_mode.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/reflection_ops.h	<installdir>/package/include/tprotobuf/google/protobuf/reflection_ops.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/reflection_visit_field_info.h	<installdir>/package/include/tprotobuf/google/protobuf/reflection_visit_field_info.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/reflection_visit_fields.h	<installdir>/package/include/tprotobuf/google/protobuf/reflection_visit_fields.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/repeated_field.h	<installdir>/package/include/tprotobuf/google/protobuf/repeated_field.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/repeated_ptr_field.h	<installdir>/package/include/tprotobuf/google/protobuf/repeated_ptr_field.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/runtime_version.h	<installdir>/package/include/tprotobuf/google/protobuf/runtime_version.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/sample_messages_edition.proto	<installdir>/package/include/tprotobuf/google/protobuf/sample_messages_edition.proto	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/serial_arena.h	<installdir>/package/include/tprotobuf/google/protobuf/serial_arena.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/service.h	<installdir>/package/include/tprotobuf/google/protobuf/service.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/source_context.pb.h	<installdir>/package/include/tprotobuf/google/protobuf/source_context.pb.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/source_context.proto	<installdir>/package/include/tprotobuf/google/protobuf/source_context.proto	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/string_block.h	<installdir>/package/include/tprotobuf/google/protobuf/string_block.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/string_member_robber.h	<installdir>/package/include/tprotobuf/google/protobuf/string_member_robber.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/struct.pb.h	<installdir>/package/include/tprotobuf/google/protobuf/struct.pb.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/struct.proto	<installdir>/package/include/tprotobuf/google/protobuf/struct.proto	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/stubs/callback.h	<installdir>/package/include/tprotobuf/google/protobuf/stubs/callback.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/stubs/common.h	<installdir>/package/include/tprotobuf/google/protobuf/stubs/common.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/stubs/platform_macros.h	<installdir>/package/include/tprotobuf/google/protobuf/stubs/platform_macros.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/stubs/port.h	<installdir>/package/include/tprotobuf/google/protobuf/stubs/port.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/stubs/status_macros.h	<installdir>/package/include/tprotobuf/google/protobuf/stubs/status_macros.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/text_format.h	<installdir>/package/include/tprotobuf/google/protobuf/text_format.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/thread_safe_arena.h	<installdir>/package/include/tprotobuf/google/protobuf/thread_safe_arena.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/timestamp.pb.h	<installdir>/package/include/tprotobuf/google/protobuf/timestamp.pb.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/timestamp.proto	<installdir>/package/include/tprotobuf/google/protobuf/timestamp.proto	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/type.pb.h	<installdir>/package/include/tprotobuf/google/protobuf/type.pb.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/type.proto	<installdir>/package/include/tprotobuf/google/protobuf/type.proto	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/os_macros_undef.inc	<installdir>/package/include/tprotobuf/google/protobuf/os_macros_undef.inc	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/os_macros_restore.inc	<installdir>/package/include/tprotobuf/google/protobuf/os_macros_restore.inc	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/message_unittest_legacy_apis.inc	<installdir>/package/include/tprotobuf/google/protobuf/message_unittest_legacy_apis.inc	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/unknown_field_set.h	<installdir>/package/include/tprotobuf/google/protobuf/unknown_field_set.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/util/delimited_message_util.h	<installdir>/package/include/tprotobuf/google/protobuf/util/delimited_message_util.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/util/field_comparator.h	<installdir>/package/include/tprotobuf/google/protobuf/util/field_comparator.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/util/field_mask_util.h	<installdir>/package/include/tprotobuf/google/protobuf/util/field_mask_util.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/util/internal_timeval.h	<installdir>/package/include/tprotobuf/google/protobuf/util/internal_timeval.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/util/json_format.proto	<installdir>/package/include/tprotobuf/google/protobuf/util/json_format.proto	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/util/json_format_proto3.proto	<installdir>/package/include/tprotobuf/google/protobuf/util/json_format_proto3.proto	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/util/json_util.h	<installdir>/package/include/tprotobuf/google/protobuf/util/json_util.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/util/message_differencer.h	<installdir>/package/include/tprotobuf/google/protobuf/util/message_differencer.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/util/package_info.h	<installdir>/package/include/tprotobuf/google/protobuf/util/package_info.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/util/python/field_mask_util_clif_aux.h	<installdir>/package/include/tprotobuf/google/protobuf/util/python/field_mask_util_clif_aux.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/util/time_util.h	<installdir>/package/include/tprotobuf/google/protobuf/util/time_util.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/util/type_resolver.h	<installdir>/package/include/tprotobuf/google/protobuf/util/type_resolver.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/util/type_resolver_util.h	<installdir>/package/include/tprotobuf/google/protobuf/util/type_resolver_util.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/varint_shuffle.h	<installdir>/package/include/tprotobuf/google/protobuf/varint_shuffle.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/wire_format.h	<installdir>/package/include/tprotobuf/google/protobuf/wire_format.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/wire_format_lite.h	<installdir>/package/include/tprotobuf/google/protobuf/wire_format_lite.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/wrappers.pb.h	<installdir>/package/include/tprotobuf/google/protobuf/wrappers.pb.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/src/google/protobuf/wrappers.proto	<installdir>/package/include/tprotobuf/google/protobuf/wrappers.proto	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/third_party/utf8_range/utf8_range.h	<installdir>/package/include/tprotobuf/utf8_range.h	0	main	STP
+-<deliverydir>/external/protobuf/protobuf_code/third_party/utf8_range/utf8_validity.h	<installdir>/package/include/tprotobuf/utf8_validity.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/algorithm/algorithm.h	<installdir>/package/include/tprotobuf/absl/algorithm/algorithm.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/algorithm/container.h	<installdir>/package/include/tprotobuf/absl/algorithm/container.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/base/attributes.h	<installdir>/package/include/tprotobuf/absl/base/attributes.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/base/call_once.h	<installdir>/package/include/tprotobuf/absl/base/call_once.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/base/casts.h	<installdir>/package/include/tprotobuf/absl/base/casts.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/base/config.h	<installdir>/package/include/tprotobuf/absl/base/config.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/base/const_init.h	<installdir>/package/include/tprotobuf/absl/base/const_init.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/base/dynamic_annotations.h	<installdir>/package/include/tprotobuf/absl/base/dynamic_annotations.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/base/fast_type_id.h	<installdir>/package/include/tprotobuf/absl/base/fast_type_id.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/base/internal/atomic_hook.h	<installdir>/package/include/tprotobuf/absl/base/internal/atomic_hook.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/base/internal/cycleclock_config.h	<installdir>/package/include/tprotobuf/absl/base/internal/cycleclock_config.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/base/internal/cycleclock.h	<installdir>/package/include/tprotobuf/absl/base/internal/cycleclock.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/base/internal/direct_mmap.h	<installdir>/package/include/tprotobuf/absl/base/internal/direct_mmap.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/base/internal/dynamic_annotations.h	<installdir>/package/include/tprotobuf/absl/base/internal/dynamic_annotations.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/base/internal/endian.h	<installdir>/package/include/tprotobuf/absl/base/internal/endian.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/base/internal/errno_saver.h	<installdir>/package/include/tprotobuf/absl/base/internal/errno_saver.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/base/internal/hide_ptr.h	<installdir>/package/include/tprotobuf/absl/base/internal/hide_ptr.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/base/internal/identity.h	<installdir>/package/include/tprotobuf/absl/base/internal/identity.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/base/internal/iterator_traits.h	<installdir>/package/include/tprotobuf/absl/base/internal/iterator_traits.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/base/internal/low_level_alloc.h	<installdir>/package/include/tprotobuf/absl/base/internal/low_level_alloc.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/base/internal/low_level_scheduling.h	<installdir>/package/include/tprotobuf/absl/base/internal/low_level_scheduling.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/base/internal/nullability_deprecated.h	<installdir>/package/include/tprotobuf/absl/base/internal/nullability_deprecated.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/base/internal/per_thread_tls.h	<installdir>/package/include/tprotobuf/absl/base/internal/per_thread_tls.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/base/internal/poison.h	<installdir>/package/include/tprotobuf/absl/base/internal/poison.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/base/internal/pretty_function.h	<installdir>/package/include/tprotobuf/absl/base/internal/pretty_function.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/base/internal/raw_logging.h	<installdir>/package/include/tprotobuf/absl/base/internal/raw_logging.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/base/internal/scheduling_mode.h	<installdir>/package/include/tprotobuf/absl/base/internal/scheduling_mode.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/base/internal/scoped_set_env.h	<installdir>/package/include/tprotobuf/absl/base/internal/scoped_set_env.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/base/internal/spinlock.h	<installdir>/package/include/tprotobuf/absl/base/internal/spinlock.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/base/internal/spinlock_wait.h	<installdir>/package/include/tprotobuf/absl/base/internal/spinlock_wait.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/base/internal/strerror.h	<installdir>/package/include/tprotobuf/absl/base/internal/strerror.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/base/internal/sysinfo.h	<installdir>/package/include/tprotobuf/absl/base/internal/sysinfo.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/base/internal/thread_identity.h	<installdir>/package/include/tprotobuf/absl/base/internal/thread_identity.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/base/internal/throw_delegate.h	<installdir>/package/include/tprotobuf/absl/base/internal/throw_delegate.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/base/internal/tracing.h	<installdir>/package/include/tprotobuf/absl/base/internal/tracing.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/base/internal/tsan_mutex_interface.h	<installdir>/package/include/tprotobuf/absl/base/internal/tsan_mutex_interface.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/base/internal/unaligned_access.h	<installdir>/package/include/tprotobuf/absl/base/internal/unaligned_access.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/base/internal/unscaledcycleclock_config.h	<installdir>/package/include/tprotobuf/absl/base/internal/unscaledcycleclock_config.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/base/internal/unscaledcycleclock.h	<installdir>/package/include/tprotobuf/absl/base/internal/unscaledcycleclock.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/base/log_severity.h	<installdir>/package/include/tprotobuf/absl/base/log_severity.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/base/macros.h	<installdir>/package/include/tprotobuf/absl/base/macros.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/base/no_destructor.h	<installdir>/package/include/tprotobuf/absl/base/no_destructor.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/base/nullability.h	<installdir>/package/include/tprotobuf/absl/base/nullability.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/base/optimization.h	<installdir>/package/include/tprotobuf/absl/base/optimization.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/base/options.h	<installdir>/package/include/tprotobuf/absl/base/options.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/base/policy_checks.h	<installdir>/package/include/tprotobuf/absl/base/policy_checks.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/base/port.h	<installdir>/package/include/tprotobuf/absl/base/port.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/base/prefetch.h	<installdir>/package/include/tprotobuf/absl/base/prefetch.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/base/thread_annotations.h	<installdir>/package/include/tprotobuf/absl/base/thread_annotations.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/cleanup/cleanup.h	<installdir>/package/include/tprotobuf/absl/cleanup/cleanup.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/cleanup/internal/cleanup.h	<installdir>/package/include/tprotobuf/absl/cleanup/internal/cleanup.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/container/btree_map.h	<installdir>/package/include/tprotobuf/absl/container/btree_map.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/container/btree_set.h	<installdir>/package/include/tprotobuf/absl/container/btree_set.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/container/fixed_array.h	<installdir>/package/include/tprotobuf/absl/container/fixed_array.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/container/flat_hash_map.h	<installdir>/package/include/tprotobuf/absl/container/flat_hash_map.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/container/flat_hash_set.h	<installdir>/package/include/tprotobuf/absl/container/flat_hash_set.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/container/hash_container_defaults.h	<installdir>/package/include/tprotobuf/absl/container/hash_container_defaults.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/container/inlined_vector.h	<installdir>/package/include/tprotobuf/absl/container/inlined_vector.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/container/internal/btree_container.h	<installdir>/package/include/tprotobuf/absl/container/internal/btree_container.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/container/internal/btree.h	<installdir>/package/include/tprotobuf/absl/container/internal/btree.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/container/internal/common.h	<installdir>/package/include/tprotobuf/absl/container/internal/common.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/container/internal/common_policy_traits.h	<installdir>/package/include/tprotobuf/absl/container/internal/common_policy_traits.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/container/internal/compressed_tuple.h	<installdir>/package/include/tprotobuf/absl/container/internal/compressed_tuple.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/container/internal/container_memory.h	<installdir>/package/include/tprotobuf/absl/container/internal/container_memory.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/container/internal/hash_function_defaults.h	<installdir>/package/include/tprotobuf/absl/container/internal/hash_function_defaults.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/container/internal/hash_policy_traits.h	<installdir>/package/include/tprotobuf/absl/container/internal/hash_policy_traits.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/container/internal/hashtable_control_bytes.h	<installdir>/package/include/tprotobuf/absl/container/internal/hashtable_control_bytes.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/container/internal/hashtable_debug.h	<installdir>/package/include/tprotobuf/absl/container/internal/hashtable_debug.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/container/internal/hashtable_debug_hooks.h	<installdir>/package/include/tprotobuf/absl/container/internal/hashtable_debug_hooks.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/container/internal/hashtablez_sampler.h	<installdir>/package/include/tprotobuf/absl/container/internal/hashtablez_sampler.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/container/internal/inlined_vector.h	<installdir>/package/include/tprotobuf/absl/container/internal/inlined_vector.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/container/internal/layout.h	<installdir>/package/include/tprotobuf/absl/container/internal/layout.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/container/internal/node_slot_policy.h	<installdir>/package/include/tprotobuf/absl/container/internal/node_slot_policy.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/container/internal/raw_hash_map.h	<installdir>/package/include/tprotobuf/absl/container/internal/raw_hash_map.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/container/internal/raw_hash_set.h	<installdir>/package/include/tprotobuf/absl/container/internal/raw_hash_set.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/container/internal/raw_hash_set_resize_impl.h	<installdir>/package/include/tprotobuf/absl/container/internal/raw_hash_set_resize_impl.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/container/internal/tracked.h	<installdir>/package/include/tprotobuf/absl/container/internal/tracked.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/container/node_hash_map.h	<installdir>/package/include/tprotobuf/absl/container/node_hash_map.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/container/node_hash_set.h	<installdir>/package/include/tprotobuf/absl/container/node_hash_set.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/crc/crc32c.h	<installdir>/package/include/tprotobuf/absl/crc/crc32c.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/crc/internal/cpu_detect.h	<installdir>/package/include/tprotobuf/absl/crc/internal/cpu_detect.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/crc/internal/crc32c.h	<installdir>/package/include/tprotobuf/absl/crc/internal/crc32c.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/crc/internal/crc32c_inline.h	<installdir>/package/include/tprotobuf/absl/crc/internal/crc32c_inline.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/crc/internal/crc32_x86_arm_combined_simd.h	<installdir>/package/include/tprotobuf/absl/crc/internal/crc32_x86_arm_combined_simd.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/crc/internal/crc_cord_state.h	<installdir>/package/include/tprotobuf/absl/crc/internal/crc_cord_state.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/crc/internal/crc.h	<installdir>/package/include/tprotobuf/absl/crc/internal/crc.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/crc/internal/crc_internal.h	<installdir>/package/include/tprotobuf/absl/crc/internal/crc_internal.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/crc/internal/crc_memcpy.h	<installdir>/package/include/tprotobuf/absl/crc/internal/crc_memcpy.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/crc/internal/non_temporal_arm_intrinsics.h	<installdir>/package/include/tprotobuf/absl/crc/internal/non_temporal_arm_intrinsics.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/crc/internal/non_temporal_memcpy.h	<installdir>/package/include/tprotobuf/absl/crc/internal/non_temporal_memcpy.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/debugging/failure_signal_handler.h	<installdir>/package/include/tprotobuf/absl/debugging/failure_signal_handler.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/debugging/internal/addresses.h	<installdir>/package/include/tprotobuf/absl/debugging/internal/addresses.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/debugging/internal/address_is_readable.h	<installdir>/package/include/tprotobuf/absl/debugging/internal/address_is_readable.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/debugging/internal/bounded_utf8_length_sequence.h	<installdir>/package/include/tprotobuf/absl/debugging/internal/bounded_utf8_length_sequence.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/debugging/internal/decode_rust_punycode.h	<installdir>/package/include/tprotobuf/absl/debugging/internal/decode_rust_punycode.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/debugging/internal/demangle.h	<installdir>/package/include/tprotobuf/absl/debugging/internal/demangle.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/debugging/internal/demangle_rust.h	<installdir>/package/include/tprotobuf/absl/debugging/internal/demangle_rust.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/debugging/internal/elf_mem_image.h	<installdir>/package/include/tprotobuf/absl/debugging/internal/elf_mem_image.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/debugging/internal/examine_stack.h	<installdir>/package/include/tprotobuf/absl/debugging/internal/examine_stack.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/debugging/internal/stack_consumption.h	<installdir>/package/include/tprotobuf/absl/debugging/internal/stack_consumption.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/debugging/internal/stacktrace_config.h	<installdir>/package/include/tprotobuf/absl/debugging/internal/stacktrace_config.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/debugging/internal/symbolize.h	<installdir>/package/include/tprotobuf/absl/debugging/internal/symbolize.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/debugging/internal/utf8_for_code_point.h	<installdir>/package/include/tprotobuf/absl/debugging/internal/utf8_for_code_point.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/debugging/internal/vdso_support.h	<installdir>/package/include/tprotobuf/absl/debugging/internal/vdso_support.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/debugging/leak_check.h	<installdir>/package/include/tprotobuf/absl/debugging/leak_check.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/debugging/stacktrace.h	<installdir>/package/include/tprotobuf/absl/debugging/stacktrace.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/debugging/symbolize.h	<installdir>/package/include/tprotobuf/absl/debugging/symbolize.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/flags/commandlineflag.h	<installdir>/package/include/tprotobuf/absl/flags/commandlineflag.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/flags/config.h	<installdir>/package/include/tprotobuf/absl/flags/config.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/flags/declare.h	<installdir>/package/include/tprotobuf/absl/flags/declare.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/flags/flag.h	<installdir>/package/include/tprotobuf/absl/flags/flag.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/flags/internal/commandlineflag.h	<installdir>/package/include/tprotobuf/absl/flags/internal/commandlineflag.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/flags/internal/flag.h	<installdir>/package/include/tprotobuf/absl/flags/internal/flag.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/flags/internal/parse.h	<installdir>/package/include/tprotobuf/absl/flags/internal/parse.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/flags/internal/path_util.h	<installdir>/package/include/tprotobuf/absl/flags/internal/path_util.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/flags/internal/private_handle_accessor.h	<installdir>/package/include/tprotobuf/absl/flags/internal/private_handle_accessor.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/flags/internal/program_name.h	<installdir>/package/include/tprotobuf/absl/flags/internal/program_name.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/flags/internal/registry.h	<installdir>/package/include/tprotobuf/absl/flags/internal/registry.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/flags/internal/sequence_lock.h	<installdir>/package/include/tprotobuf/absl/flags/internal/sequence_lock.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/flags/internal/usage.h	<installdir>/package/include/tprotobuf/absl/flags/internal/usage.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/flags/marshalling.h	<installdir>/package/include/tprotobuf/absl/flags/marshalling.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/flags/parse.h	<installdir>/package/include/tprotobuf/absl/flags/parse.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/flags/reflection.h	<installdir>/package/include/tprotobuf/absl/flags/reflection.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/flags/usage_config.h	<installdir>/package/include/tprotobuf/absl/flags/usage_config.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/flags/usage.h	<installdir>/package/include/tprotobuf/absl/flags/usage.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/functional/any_invocable.h	<installdir>/package/include/tprotobuf/absl/functional/any_invocable.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/functional/bind_front.h	<installdir>/package/include/tprotobuf/absl/functional/bind_front.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/functional/function_ref.h	<installdir>/package/include/tprotobuf/absl/functional/function_ref.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/functional/internal/any_invocable.h	<installdir>/package/include/tprotobuf/absl/functional/internal/any_invocable.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/functional/internal/front_binder.h	<installdir>/package/include/tprotobuf/absl/functional/internal/front_binder.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/functional/internal/function_ref.h	<installdir>/package/include/tprotobuf/absl/functional/internal/function_ref.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/functional/overload.h	<installdir>/package/include/tprotobuf/absl/functional/overload.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/hash/hash.h	<installdir>/package/include/tprotobuf/absl/hash/hash.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/hash/internal/city.h	<installdir>/package/include/tprotobuf/absl/hash/internal/city.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/hash/internal/hash.h	<installdir>/package/include/tprotobuf/absl/hash/internal/hash.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/hash/internal/low_level_hash.h	<installdir>/package/include/tprotobuf/absl/hash/internal/low_level_hash.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/hash/internal/spy_hash_state.h	<installdir>/package/include/tprotobuf/absl/hash/internal/spy_hash_state.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/hash/internal/weakly_mixed_integer.h	<installdir>/package/include/tprotobuf/absl/hash/internal/weakly_mixed_integer.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/log/absl_check.h	<installdir>/package/include/tprotobuf/absl/log/absl_check.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/log/absl_log.h	<installdir>/package/include/tprotobuf/absl/log/absl_log.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/log/absl_vlog_is_on.h	<installdir>/package/include/tprotobuf/absl/log/absl_vlog_is_on.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/log/check.h	<installdir>/package/include/tprotobuf/absl/log/check.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/log/die_if_null.h	<installdir>/package/include/tprotobuf/absl/log/die_if_null.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/log/flags.h	<installdir>/package/include/tprotobuf/absl/log/flags.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/log/globals.h	<installdir>/package/include/tprotobuf/absl/log/globals.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/log/initialize.h	<installdir>/package/include/tprotobuf/absl/log/initialize.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/log/internal/append_truncated.h	<installdir>/package/include/tprotobuf/absl/log/internal/append_truncated.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/log/internal/check_impl.h	<installdir>/package/include/tprotobuf/absl/log/internal/check_impl.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/log/internal/check_op.h	<installdir>/package/include/tprotobuf/absl/log/internal/check_op.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/log/internal/conditions.h	<installdir>/package/include/tprotobuf/absl/log/internal/conditions.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/log/internal/config.h	<installdir>/package/include/tprotobuf/absl/log/internal/config.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/log/internal/flags.h	<installdir>/package/include/tprotobuf/absl/log/internal/flags.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/log/internal/fnmatch.h	<installdir>/package/include/tprotobuf/absl/log/internal/fnmatch.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/log/internal/globals.h	<installdir>/package/include/tprotobuf/absl/log/internal/globals.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/log/internal/log_format.h	<installdir>/package/include/tprotobuf/absl/log/internal/log_format.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/log/internal/log_impl.h	<installdir>/package/include/tprotobuf/absl/log/internal/log_impl.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/log/internal/log_message.h	<installdir>/package/include/tprotobuf/absl/log/internal/log_message.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/log/internal/log_sink_set.h	<installdir>/package/include/tprotobuf/absl/log/internal/log_sink_set.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/log/internal/nullguard.h	<installdir>/package/include/tprotobuf/absl/log/internal/nullguard.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/log/internal/nullstream.h	<installdir>/package/include/tprotobuf/absl/log/internal/nullstream.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/log/internal/proto.h	<installdir>/package/include/tprotobuf/absl/log/internal/proto.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/log/internal/strip.h	<installdir>/package/include/tprotobuf/absl/log/internal/strip.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/log/internal/structured.h	<installdir>/package/include/tprotobuf/absl/log/internal/structured.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/log/internal/structured_proto.h	<installdir>/package/include/tprotobuf/absl/log/internal/structured_proto.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/log/internal/vlog_config.h	<installdir>/package/include/tprotobuf/absl/log/internal/vlog_config.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/log/internal/voidify.h	<installdir>/package/include/tprotobuf/absl/log/internal/voidify.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/log/log_entry.h	<installdir>/package/include/tprotobuf/absl/log/log_entry.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/log/log.h	<installdir>/package/include/tprotobuf/absl/log/log.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/log/log_sink.h	<installdir>/package/include/tprotobuf/absl/log/log_sink.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/log/log_sink_registry.h	<installdir>/package/include/tprotobuf/absl/log/log_sink_registry.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/log/log_streamer.h	<installdir>/package/include/tprotobuf/absl/log/log_streamer.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/log/scoped_mock_log.h	<installdir>/package/include/tprotobuf/absl/log/scoped_mock_log.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/log/structured.h	<installdir>/package/include/tprotobuf/absl/log/structured.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/log/vlog_is_on.h	<installdir>/package/include/tprotobuf/absl/log/vlog_is_on.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/memory/memory.h	<installdir>/package/include/tprotobuf/absl/memory/memory.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/meta/type_traits.h	<installdir>/package/include/tprotobuf/absl/meta/type_traits.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/numeric/bits.h	<installdir>/package/include/tprotobuf/absl/numeric/bits.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/numeric/int128.h	<installdir>/package/include/tprotobuf/absl/numeric/int128.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/numeric/int128_have_intrinsic.inc	<installdir>/package/include/tprotobuf/absl/numeric/int128_have_intrinsic.inc	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/numeric/int128_no_intrinsic.inc	<installdir>/package/include/tprotobuf/absl/numeric/int128_no_intrinsic.inc	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/numeric/internal/bits.h	<installdir>/package/include/tprotobuf/absl/numeric/internal/bits.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/numeric/internal/representation.h	<installdir>/package/include/tprotobuf/absl/numeric/internal/representation.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/profiling/internal/exponential_biased.h	<installdir>/package/include/tprotobuf/absl/profiling/internal/exponential_biased.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/profiling/internal/periodic_sampler.h	<installdir>/package/include/tprotobuf/absl/profiling/internal/periodic_sampler.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/profiling/internal/sample_recorder.h	<installdir>/package/include/tprotobuf/absl/profiling/internal/sample_recorder.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/random/bernoulli_distribution.h	<installdir>/package/include/tprotobuf/absl/random/bernoulli_distribution.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/random/beta_distribution.h	<installdir>/package/include/tprotobuf/absl/random/beta_distribution.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/random/bit_gen_ref.h	<installdir>/package/include/tprotobuf/absl/random/bit_gen_ref.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/random/discrete_distribution.h	<installdir>/package/include/tprotobuf/absl/random/discrete_distribution.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/random/distributions.h	<installdir>/package/include/tprotobuf/absl/random/distributions.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/random/exponential_distribution.h	<installdir>/package/include/tprotobuf/absl/random/exponential_distribution.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/random/gaussian_distribution.h	<installdir>/package/include/tprotobuf/absl/random/gaussian_distribution.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/random/internal/chi_square.h	<installdir>/package/include/tprotobuf/absl/random/internal/chi_square.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/random/internal/distribution_caller.h	<installdir>/package/include/tprotobuf/absl/random/internal/distribution_caller.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/random/internal/entropy_pool.h	<installdir>/package/include/tprotobuf/absl/random/internal/entropy_pool.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/random/internal/explicit_seed_seq.h	<installdir>/package/include/tprotobuf/absl/random/internal/explicit_seed_seq.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/random/internal/fastmath.h	<installdir>/package/include/tprotobuf/absl/random/internal/fastmath.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/random/internal/fast_uniform_bits.h	<installdir>/package/include/tprotobuf/absl/random/internal/fast_uniform_bits.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/random/internal/generate_real.h	<installdir>/package/include/tprotobuf/absl/random/internal/generate_real.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/random/internal/iostream_state_saver.h	<installdir>/package/include/tprotobuf/absl/random/internal/iostream_state_saver.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/random/internal/mock_helpers.h	<installdir>/package/include/tprotobuf/absl/random/internal/mock_helpers.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/random/internal/mock_overload_set.h	<installdir>/package/include/tprotobuf/absl/random/internal/mock_overload_set.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/random/internal/mock_validators.h	<installdir>/package/include/tprotobuf/absl/random/internal/mock_validators.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/random/internal/nanobenchmark.h	<installdir>/package/include/tprotobuf/absl/random/internal/nanobenchmark.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/random/internal/nonsecure_base.h	<installdir>/package/include/tprotobuf/absl/random/internal/nonsecure_base.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/random/internal/pcg_engine.h	<installdir>/package/include/tprotobuf/absl/random/internal/pcg_engine.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/random/internal/platform.h	<installdir>/package/include/tprotobuf/absl/random/internal/platform.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/random/internal/randen_detect.h	<installdir>/package/include/tprotobuf/absl/random/internal/randen_detect.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/random/internal/randen_engine.h	<installdir>/package/include/tprotobuf/absl/random/internal/randen_engine.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/random/internal/randen.h	<installdir>/package/include/tprotobuf/absl/random/internal/randen.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/random/internal/randen_hwaes.h	<installdir>/package/include/tprotobuf/absl/random/internal/randen_hwaes.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/random/internal/randen_slow.h	<installdir>/package/include/tprotobuf/absl/random/internal/randen_slow.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/random/internal/randen_traits.h	<installdir>/package/include/tprotobuf/absl/random/internal/randen_traits.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/random/internal/salted_seed_seq.h	<installdir>/package/include/tprotobuf/absl/random/internal/salted_seed_seq.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/random/internal/seed_material.h	<installdir>/package/include/tprotobuf/absl/random/internal/seed_material.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/random/internal/sequence_urbg.h	<installdir>/package/include/tprotobuf/absl/random/internal/sequence_urbg.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/random/internal/traits.h	<installdir>/package/include/tprotobuf/absl/random/internal/traits.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/random/internal/uniform_helper.h	<installdir>/package/include/tprotobuf/absl/random/internal/uniform_helper.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/random/internal/wide_multiply.h	<installdir>/package/include/tprotobuf/absl/random/internal/wide_multiply.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/random/log_uniform_int_distribution.h	<installdir>/package/include/tprotobuf/absl/random/log_uniform_int_distribution.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/random/mock_distributions.h	<installdir>/package/include/tprotobuf/absl/random/mock_distributions.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/random/mocking_bit_gen.h	<installdir>/package/include/tprotobuf/absl/random/mocking_bit_gen.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/random/poisson_distribution.h	<installdir>/package/include/tprotobuf/absl/random/poisson_distribution.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/random/random.h	<installdir>/package/include/tprotobuf/absl/random/random.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/random/seed_gen_exception.h	<installdir>/package/include/tprotobuf/absl/random/seed_gen_exception.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/random/seed_sequences.h	<installdir>/package/include/tprotobuf/absl/random/seed_sequences.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/random/uniform_int_distribution.h	<installdir>/package/include/tprotobuf/absl/random/uniform_int_distribution.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/random/uniform_real_distribution.h	<installdir>/package/include/tprotobuf/absl/random/uniform_real_distribution.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/random/zipf_distribution.h	<installdir>/package/include/tprotobuf/absl/random/zipf_distribution.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/status/internal/status_internal.h	<installdir>/package/include/tprotobuf/absl/status/internal/status_internal.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/status/internal/status_matchers.h	<installdir>/package/include/tprotobuf/absl/status/internal/status_matchers.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/status/internal/statusor_internal.h	<installdir>/package/include/tprotobuf/absl/status/internal/statusor_internal.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/status/status.h	<installdir>/package/include/tprotobuf/absl/status/status.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/status/status_matchers.h	<installdir>/package/include/tprotobuf/absl/status/status_matchers.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/status/statusor.h	<installdir>/package/include/tprotobuf/absl/status/statusor.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/status/status_payload_printer.h	<installdir>/package/include/tprotobuf/absl/status/status_payload_printer.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/strings/ascii.h	<installdir>/package/include/tprotobuf/absl/strings/ascii.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/strings/charconv.h	<installdir>/package/include/tprotobuf/absl/strings/charconv.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/strings/charset.h	<installdir>/package/include/tprotobuf/absl/strings/charset.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/strings/cord_analysis.h	<installdir>/package/include/tprotobuf/absl/strings/cord_analysis.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/strings/cord_buffer.h	<installdir>/package/include/tprotobuf/absl/strings/cord_buffer.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/strings/cord.h	<installdir>/package/include/tprotobuf/absl/strings/cord.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/strings/escaping.h	<installdir>/package/include/tprotobuf/absl/strings/escaping.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/strings/has_absl_stringify.h	<installdir>/package/include/tprotobuf/absl/strings/has_absl_stringify.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/strings/has_ostream_operator.h	<installdir>/package/include/tprotobuf/absl/strings/has_ostream_operator.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/strings/internal/charconv_bigint.h	<installdir>/package/include/tprotobuf/absl/strings/internal/charconv_bigint.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/strings/internal/charconv_parse.h	<installdir>/package/include/tprotobuf/absl/strings/internal/charconv_parse.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/strings/internal/cord_data_edge.h	<installdir>/package/include/tprotobuf/absl/strings/internal/cord_data_edge.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/strings/internal/cord_internal.h	<installdir>/package/include/tprotobuf/absl/strings/internal/cord_internal.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/strings/internal/cord_rep_btree.h	<installdir>/package/include/tprotobuf/absl/strings/internal/cord_rep_btree.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/strings/internal/cord_rep_btree_navigator.h	<installdir>/package/include/tprotobuf/absl/strings/internal/cord_rep_btree_navigator.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/strings/internal/cord_rep_btree_reader.h	<installdir>/package/include/tprotobuf/absl/strings/internal/cord_rep_btree_reader.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/strings/internal/cord_rep_consume.h	<installdir>/package/include/tprotobuf/absl/strings/internal/cord_rep_consume.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/strings/internal/cord_rep_crc.h	<installdir>/package/include/tprotobuf/absl/strings/internal/cord_rep_crc.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/strings/internal/cord_rep_flat.h	<installdir>/package/include/tprotobuf/absl/strings/internal/cord_rep_flat.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/strings/internal/cordz_functions.h	<installdir>/package/include/tprotobuf/absl/strings/internal/cordz_functions.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/strings/internal/cordz_handle.h	<installdir>/package/include/tprotobuf/absl/strings/internal/cordz_handle.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/strings/internal/cordz_info.h	<installdir>/package/include/tprotobuf/absl/strings/internal/cordz_info.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/strings/internal/cordz_sample_token.h	<installdir>/package/include/tprotobuf/absl/strings/internal/cordz_sample_token.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/strings/internal/cordz_statistics.h	<installdir>/package/include/tprotobuf/absl/strings/internal/cordz_statistics.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/strings/internal/cordz_update_scope.h	<installdir>/package/include/tprotobuf/absl/strings/internal/cordz_update_scope.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/strings/internal/cordz_update_tracker.h	<installdir>/package/include/tprotobuf/absl/strings/internal/cordz_update_tracker.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/strings/internal/damerau_levenshtein_distance.h	<installdir>/package/include/tprotobuf/absl/strings/internal/damerau_levenshtein_distance.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/strings/internal/escaping.h	<installdir>/package/include/tprotobuf/absl/strings/internal/escaping.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/strings/internal/memutil.h	<installdir>/package/include/tprotobuf/absl/strings/internal/memutil.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/strings/internal/ostringstream.h	<installdir>/package/include/tprotobuf/absl/strings/internal/ostringstream.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/strings/internal/pow10_helper.h	<installdir>/package/include/tprotobuf/absl/strings/internal/pow10_helper.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/strings/internal/resize_uninitialized.h	<installdir>/package/include/tprotobuf/absl/strings/internal/resize_uninitialized.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/strings/internal/stl_type_traits.h	<installdir>/package/include/tprotobuf/absl/strings/internal/stl_type_traits.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/strings/internal/str_format/arg.h	<installdir>/package/include/tprotobuf/absl/strings/internal/str_format/arg.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/strings/internal/str_format/bind.h	<installdir>/package/include/tprotobuf/absl/strings/internal/str_format/bind.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/strings/internal/str_format/checker.h	<installdir>/package/include/tprotobuf/absl/strings/internal/str_format/checker.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/strings/internal/str_format/constexpr_parser.h	<installdir>/package/include/tprotobuf/absl/strings/internal/str_format/constexpr_parser.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/strings/internal/str_format/extension.h	<installdir>/package/include/tprotobuf/absl/strings/internal/str_format/extension.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/strings/internal/str_format/float_conversion.h	<installdir>/package/include/tprotobuf/absl/strings/internal/str_format/float_conversion.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/strings/internal/str_format/output.h	<installdir>/package/include/tprotobuf/absl/strings/internal/str_format/output.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/strings/internal/str_format/parser.h	<installdir>/package/include/tprotobuf/absl/strings/internal/str_format/parser.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/strings/internal/string_constant.h	<installdir>/package/include/tprotobuf/absl/strings/internal/string_constant.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/strings/internal/stringify_sink.h	<installdir>/package/include/tprotobuf/absl/strings/internal/stringify_sink.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/strings/internal/str_join_internal.h	<installdir>/package/include/tprotobuf/absl/strings/internal/str_join_internal.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/strings/internal/str_split_internal.h	<installdir>/package/include/tprotobuf/absl/strings/internal/str_split_internal.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/strings/internal/utf8.h	<installdir>/package/include/tprotobuf/absl/strings/internal/utf8.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/strings/match.h	<installdir>/package/include/tprotobuf/absl/strings/match.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/strings/numbers.h	<installdir>/package/include/tprotobuf/absl/strings/numbers.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/strings/str_cat.h	<installdir>/package/include/tprotobuf/absl/strings/str_cat.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/strings/str_format.h	<installdir>/package/include/tprotobuf/absl/strings/str_format.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/strings/string_view.h	<installdir>/package/include/tprotobuf/absl/strings/string_view.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/strings/strip.h	<installdir>/package/include/tprotobuf/absl/strings/strip.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/strings/str_join.h	<installdir>/package/include/tprotobuf/absl/strings/str_join.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/strings/str_replace.h	<installdir>/package/include/tprotobuf/absl/strings/str_replace.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/strings/str_split.h	<installdir>/package/include/tprotobuf/absl/strings/str_split.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/strings/substitute.h	<installdir>/package/include/tprotobuf/absl/strings/substitute.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/synchronization/barrier.h	<installdir>/package/include/tprotobuf/absl/synchronization/barrier.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/synchronization/blocking_counter.h	<installdir>/package/include/tprotobuf/absl/synchronization/blocking_counter.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/synchronization/internal/create_thread_identity.h	<installdir>/package/include/tprotobuf/absl/synchronization/internal/create_thread_identity.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/synchronization/internal/futex.h	<installdir>/package/include/tprotobuf/absl/synchronization/internal/futex.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/synchronization/internal/futex_waiter.h	<installdir>/package/include/tprotobuf/absl/synchronization/internal/futex_waiter.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/synchronization/internal/graphcycles.h	<installdir>/package/include/tprotobuf/absl/synchronization/internal/graphcycles.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/synchronization/internal/kernel_timeout.h	<installdir>/package/include/tprotobuf/absl/synchronization/internal/kernel_timeout.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/synchronization/internal/per_thread_sem.h	<installdir>/package/include/tprotobuf/absl/synchronization/internal/per_thread_sem.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/synchronization/internal/pthread_waiter.h	<installdir>/package/include/tprotobuf/absl/synchronization/internal/pthread_waiter.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/synchronization/internal/sem_waiter.h	<installdir>/package/include/tprotobuf/absl/synchronization/internal/sem_waiter.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/synchronization/internal/stdcpp_waiter.h	<installdir>/package/include/tprotobuf/absl/synchronization/internal/stdcpp_waiter.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/synchronization/internal/thread_pool.h	<installdir>/package/include/tprotobuf/absl/synchronization/internal/thread_pool.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/synchronization/internal/waiter_base.h	<installdir>/package/include/tprotobuf/absl/synchronization/internal/waiter_base.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/synchronization/internal/waiter.h	<installdir>/package/include/tprotobuf/absl/synchronization/internal/waiter.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/synchronization/internal/win32_waiter.h	<installdir>/package/include/tprotobuf/absl/synchronization/internal/win32_waiter.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/synchronization/mutex.h	<installdir>/package/include/tprotobuf/absl/synchronization/mutex.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/synchronization/notification.h	<installdir>/package/include/tprotobuf/absl/synchronization/notification.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/time/civil_time.h	<installdir>/package/include/tprotobuf/absl/time/civil_time.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/time/clock.h	<installdir>/package/include/tprotobuf/absl/time/clock.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/time/internal/cctz/include/cctz/civil_time_detail.h	<installdir>/package/include/tprotobuf/absl/time/internal/cctz/include/cctz/civil_time_detail.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/time/internal/cctz/include/cctz/civil_time.h	<installdir>/package/include/tprotobuf/absl/time/internal/cctz/include/cctz/civil_time.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/time/internal/cctz/include/cctz/time_zone.h	<installdir>/package/include/tprotobuf/absl/time/internal/cctz/include/cctz/time_zone.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/time/internal/cctz/include/cctz/zone_info_source.h	<installdir>/package/include/tprotobuf/absl/time/internal/cctz/include/cctz/zone_info_source.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/time/internal/cctz/src/time_zone_fixed.h	<installdir>/package/include/tprotobuf/absl/time/internal/cctz/src/time_zone_fixed.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/time/internal/cctz/src/time_zone_if.h	<installdir>/package/include/tprotobuf/absl/time/internal/cctz/src/time_zone_if.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/time/internal/cctz/src/time_zone_impl.h	<installdir>/package/include/tprotobuf/absl/time/internal/cctz/src/time_zone_impl.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/time/internal/cctz/src/time_zone_info.h	<installdir>/package/include/tprotobuf/absl/time/internal/cctz/src/time_zone_info.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/time/internal/cctz/src/time_zone_libc.h	<installdir>/package/include/tprotobuf/absl/time/internal/cctz/src/time_zone_libc.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/time/internal/cctz/src/time_zone_posix.h	<installdir>/package/include/tprotobuf/absl/time/internal/cctz/src/time_zone_posix.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/time/internal/cctz/src/tzfile.h	<installdir>/package/include/tprotobuf/absl/time/internal/cctz/src/tzfile.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/time/time.h	<installdir>/package/include/tprotobuf/absl/time/time.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/types/any.h	<installdir>/package/include/tprotobuf/absl/types/any.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/types/compare.h	<installdir>/package/include/tprotobuf/absl/types/compare.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/types/internal/span.h	<installdir>/package/include/tprotobuf/absl/types/internal/span.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/types/optional.h	<installdir>/package/include/tprotobuf/absl/types/optional.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/types/span.h	<installdir>/package/include/tprotobuf/absl/types/span.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/types/variant.h	<installdir>/package/include/tprotobuf/absl/types/variant.h	0	main	STP
+-<deliverydir>/external/protobuf/abseil-cpp/absl/utility/utility.h	<installdir>/package/include/tprotobuf/absl/utility/utility.h	0	main	STP
+ <deliverydir>/common/buildenv.mk	<installdir>/package/buildenv.mk	0	main	STP
+diff --git a/build_infrastructure/linux/installer/common/sdk/BOMs/sdk_cve_2020_0551_cf.txt b/build_infrastructure/linux/installer/common/sdk/BOMs/sdk_cve_2020_0551_cf.txt
+index 6e2ee490..8341af36 100644
+--- a/build_infrastructure/linux/installer/common/sdk/BOMs/sdk_cve_2020_0551_cf.txt
++++ b/build_infrastructure/linux/installer/common/sdk/BOMs/sdk_cve_2020_0551_cf.txt
+@@ -9,9 +9,7 @@ DeliveryName	InstallName	FileCheckSum	FileFeature	FileOwner
+ <deliverydir>/build/linuxCF/libsgx_tswitchless.a	<installdir>/package/lib64/cve_2020_0551_cf/libsgx_tswitchless.a	0	main	STP
+ <deliverydir>/build/linuxCF/libsgx_tprotected_fs.a	<installdir>/package/lib64/cve_2020_0551_cf/libsgx_tprotected_fs.a	0	main	STP
+ <deliverydir>/build/linuxCF/libsgx_pcl.a	<installdir>/package/lib64/cve_2020_0551_cf/libsgx_pcl.a	0	main	STP
+-<deliverydir>/build/linuxCF/libsgx_omp.a	<installdir>/package/lib64/cve_2020_0551_cf/libsgx_omp.a	0	main	STP
+ <deliverydir>/build/linuxCF/libsgx_pthread.a	<installdir>/package/lib64/cve_2020_0551_cf/libsgx_pthread.a	0	main	STP
+-<deliverydir>/build/linuxCF/libsgx_protobuf.a	<installdir>/package/lib64/cve_2020_0551_cf/libsgx_protobuf.a	0	main	STP
+ <deliverydir>/build/linuxCF/libsgx_ttls.a	<installdir>/package/lib64/cve_2020_0551_cf/libsgx_ttls.a	0	main	STP
+ <deliverydir>/build/linuxCF/libtdx_tls.a	<installdir>/package/lib64/cve_2020_0551_cf/libtdx_tls.a	0	main	STP
+ <deliverydir>/build/linuxCF/libsgx_utls.a	<installdir>/package/lib64/cve_2020_0551_cf/libsgx_utls.a	0	main	STP
+diff --git a/build_infrastructure/linux/installer/common/sdk/BOMs/sdk_cve_2020_0551_load.txt b/build_infrastructure/linux/installer/common/sdk/BOMs/sdk_cve_2020_0551_load.txt
+index daf0bcca..e028fa75 100644
+--- a/build_infrastructure/linux/installer/common/sdk/BOMs/sdk_cve_2020_0551_load.txt
++++ b/build_infrastructure/linux/installer/common/sdk/BOMs/sdk_cve_2020_0551_load.txt
+@@ -9,9 +9,7 @@ DeliveryName	InstallName	FileCheckSum	FileFeature	FileOwner
+ <deliverydir>/build/linuxLOAD/libsgx_tswitchless.a	<installdir>/package/lib64/cve_2020_0551_load/libsgx_tswitchless.a	0	main	STP
+ <deliverydir>/build/linuxLOAD/libsgx_tprotected_fs.a	<installdir>/package/lib64/cve_2020_0551_load/libsgx_tprotected_fs.a	0	main	STP
+ <deliverydir>/build/linuxLOAD/libsgx_pcl.a	<installdir>/package/lib64/cve_2020_0551_load/libsgx_pcl.a	0	main	STP
+-<deliverydir>/build/linuxLOAD/libsgx_omp.a	<installdir>/package/lib64/cve_2020_0551_load/libsgx_omp.a	0	main	STP
+ <deliverydir>/build/linuxLOAD/libsgx_pthread.a	<installdir>/package/lib64/cve_2020_0551_load/libsgx_pthread.a	0	main	STP
+-<deliverydir>/build/linuxLOAD/libsgx_protobuf.a	<installdir>/package/lib64/cve_2020_0551_load/libsgx_protobuf.a	0	main	STP
+ <deliverydir>/build/linuxLOAD/libsgx_ttls.a	<installdir>/package/lib64/cve_2020_0551_load/libsgx_ttls.a	0	main	STP
+ <deliverydir>/build/linuxLOAD/libtdx_tls.a	<installdir>/package/lib64/cve_2020_0551_load/libtdx_tls.a	0	main	STP
+ <deliverydir>/build/linuxLOAD/libsgx_utls.a	<installdir>/package/lib64/cve_2020_0551_load/libsgx_utls.a	0	main	STP
+diff --git a/build_infrastructure/linux/installer/common/sdk/BOMs/sdk_x64.txt b/build_infrastructure/linux/installer/common/sdk/BOMs/sdk_x64.txt
+index ff4e2e9c..5d9e1ef6 100644
+--- a/build_infrastructure/linux/installer/common/sdk/BOMs/sdk_x64.txt
++++ b/build_infrastructure/linux/installer/common/sdk/BOMs/sdk_x64.txt
+@@ -34,10 +34,7 @@ DeliveryName	InstallName	FileCheckSum	FileFeature	FileOwner
+ <deliverydir>/build/linux/sgx_edger8r	<installdir>/package/bin/x64/sgx_edger8r	0	main	STP
+ <deliverydir>/build/linux/sgx_sign	<installdir>/package/bin/x64/sgx_sign	0	main	STP
+ <deliverydir>/build/linux/sgx_encrypt	<installdir>/package/bin/x64/sgx_encrypt	0	main	STP
+-<deliverydir>/build/linux/sgx_protoc	<installdir>/package/bin/x64/sgx_protoc	0	main	STP
+ <deliverydir>/build/linux/libsgx_pthread.a	<installdir>/package/lib64/libsgx_pthread.a	0	main	STP
+-<deliverydir>/build/linux/libsgx_omp.a	<installdir>/package/lib64/libsgx_omp.a	0	main	STP
+-<deliverydir>/build/linux/libsgx_protobuf.a	<installdir>/package/lib64/libsgx_protobuf.a	0	main	STP
+ <deliverydir>/build/linux/libsgx_ttls.a	<installdir>/package/lib64/libsgx_ttls.a	0	main	STP
+ <deliverydir>/build/linux/libtdx_tls.a	<installdir>/package/lib64/libtdx_tls.a	0	main	STP
+ <deliverydir>/build/linux/libsgx_utls.a	<installdir>/package/lib64/libsgx_utls.a	0	main	STP
+diff --git a/sdk/Makefile.source b/sdk/Makefile.source
+index f1f56c64..71d6934d 100644
+--- a/sdk/Makefile.source
++++ b/sdk/Makefile.source
+@@ -40,13 +40,10 @@
+ #        - tprotected_fs: libsgx_tprotected_fs.a
+ #        - tcmalloc:      libsgx_tcmalloc.a
+ #        - sgx_pcl:       libsgx_pcl.a
+-#        - openmp:        libsgx_omp.a
+-#        - protobuf:      libsgx_protobuf.a
+ #        - ttls:          libsgx_ttls.a
+ #  - Untrtusted libraries
+ #        - uprotected_fs: libsgx_uprotected_fs.a
+ #        - ptrace:        libsgx_ptrace.so, gdb-sgx-plugin
+-#        - sample_crypto: libsample_crypto.so (for sample code use)
+ #        - utls:          libsgx_utls.a
+ #  - Standalone, untrusted libraries
+ #        - libcapable:    libsgx_capable.a libsgx_capable.so
+@@ -64,7 +61,7 @@ LIBTCXX    := $(BUILD_DIR)/libsgx_tcxx.a
+ LIBTSE     := $(BUILD_DIR)/libsgx_tservice.a
+ 
+ .PHONY: components
+-components: tstdc tcxx tservice trts tcrypto tprotected_fs uprotected_fs ptrace sample_crypto libcapable simulation signtool edger8r tcmalloc sgx_pcl sgx_encrypt sgx_tswitchless sgx_uswitchless pthread openmp protobuf ttls utls tvl
++components: tstdc tcxx tservice trts tcrypto tprotected_fs uprotected_fs ptrace libcapable simulation signtool edger8r tcmalloc sgx_pcl sgx_encrypt sgx_tswitchless sgx_uswitchless pthread ttls utls tvl
+ 
+ # ---------------------------------------------------
+ #  tstdc
+@@ -221,18 +218,6 @@ tprotected_fs: edger8r
+ sgx_pcl:
+ 	$(MAKE) -C protected_code_loader
+ 
+-.PHONY: openmp
+-openmp:
+-	$(MAKE) -C $(LINUX_EXTERNAL_DIR)/openmp
+-
+-.PHONY: protobuf
+-protobuf:
+-ifeq ($(MITIGATION-CVE-2020-0551),)
+-	$(MAKE) -C $(LINUX_EXTERNAL_DIR)/protobuf BUILD_PROTOC=1
+-else
+-	$(MAKE) -C $(LINUX_EXTERNAL_DIR)/protobuf
+-endif
+-
+ .PHONY: cbor_untrusted
+ cbor_untrusted:
+ 	$(MAKE) -C $(LINUX_EXTERNAL_DIR)/cbor cbor_untrusted
+@@ -257,10 +242,6 @@ uprotected_fs: edger8r
+ ptrace:
+ 	$(MAKE) -C debugger_interface/linux/
+ 
+-.PHONY: sample_crypto
+-sample_crypto:
+-	$(MAKE) -C sample_libcrypto
+-
+ .PHONY: utls
+ utls: cbor_untrusted
+ 	$(MAKE) -C utls
+@@ -335,7 +316,6 @@ clean:
+ 	$(MAKE) -C protected_fs/sgx_tprotected_fs/     clean
+ 	$(MAKE) -C protected_fs/sgx_uprotected_fs/     clean
+ 	$(MAKE) -C debugger_interface/linux/           clean
+-	$(MAKE) -C sample_libcrypto/                   clean
+ 	$(MAKE) -C libcapable/linux/                   clean
+ 	$(MAKE) -C simulation/                         clean
+ 	$(MAKE) -C sign_tool/SignTool                  clean
+@@ -346,8 +326,6 @@ clean:
+ 	$(MAKE) -C switchless/sgx_uswitchless          clean
+ 	$(MAKE) -C tmm_rsrv/                           clean
+ 	$(MAKE) -C pthread                             clean
+-	$(MAKE) -C $(LINUX_EXTERNAL_DIR)/openmp        clean
+-	$(MAKE) -C $(LINUX_EXTERNAL_DIR)/protobuf      clean
+ 	$(MAKE) -C $(LINUX_EXTERNAL_DIR)/cbor          clean
+ 	$(MAKE) -C $(LINUX_EXTERNAL_DIR)/libcxxrt      clean
+ 	$(MAKE) -C ttls						           clean
+-- 
+2.56.0
+

diff --git a/0505-enclave_runtime-prefer-dev-sgx_provision-dev-sgx_enc.patch b/0505-enclave_runtime-prefer-dev-sgx_provision-dev-sgx_enc.patch
new file mode 100644
index 0000000..0c80c6d
--- /dev/null
+++ b/0505-enclave_runtime-prefer-dev-sgx_provision-dev-sgx_enc.patch
@@ -0,0 +1,79 @@
+From 6a04ba925694e3ba97f6ca2223a0a663d9c6db22 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= <berrange@redhat.com>
+Date: Tue, 10 Nov 2026 10:05:32 +0000
+Subject: [PATCH 505/512] enclave_runtime: prefer /dev/sgx_provision &
+ /dev/sgx_enclave
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+The default behaviour for SGX deployments in upstream Linux is to
+have /dev/sgx_provision & /dev/sgx_enclave device paths, instead of
+the old /dev/sgx/provision & /dev/sgx/enclave paths
+
+The code should prefer opening the current default device paths first,
+with the old paths as the fallback, so the common case will be an
+immediate success.
+
+Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
+---
+ .../enclave_common/sgx_enclave_common.cpp            |  6 +++---
+ enclave_runtime/urts/linux/edmm_utility.cpp          | 12 ++++++------
+ 2 files changed, 9 insertions(+), 9 deletions(-)
+
+diff --git a/enclave_runtime/enclave_common/sgx_enclave_common.cpp b/enclave_runtime/enclave_common/sgx_enclave_common.cpp
+index 19cc998b..1ea3d04c 100644
+--- a/enclave_runtime/enclave_common/sgx_enclave_common.cpp
++++ b/enclave_runtime/enclave_common/sgx_enclave_common.cpp
+@@ -409,11 +409,11 @@ static void enclave_set_provision_access(int hdevice, void* enclave_base)
+     
+     if (s_driver_type == SGX_DRIVER_IN_KERNEL)
+     {
+-        hdev_prov = open("/dev/sgx/provision", O_RDWR);
++        hdev_prov = open("/dev/sgx_provision", O_RDWR);
+         if (-1 == hdev_prov)
+         {
+-            //if /dev/sgx/provision is not present, try to open /dev/sgx_provision
+-            hdev_prov = open("/dev/sgx_provision", O_RDWR);
++            //if /dev/sgx_provision is not present, try to open /dev/sgx/provision
++            hdev_prov = open("/dev/sgx/provision", O_RDWR);
+         }
+         if (-1 == hdev_prov)
+         {
+diff --git a/enclave_runtime/urts/linux/edmm_utility.cpp b/enclave_runtime/urts/linux/edmm_utility.cpp
+index 9406ee64..5eea4ecd 100644
+--- a/enclave_runtime/urts/linux/edmm_utility.cpp
++++ b/enclave_runtime/urts/linux/edmm_utility.cpp
+@@ -99,11 +99,11 @@ bool get_driver_type(int *driver_type)
+         *driver_type = sgx_driver_type;
+     }
+     
+-    int hdev = open("/dev/sgx/enclave", O_RDWR);    //attempt to open the in-kernel driver
++    int hdev = open("/dev/sgx_enclave", O_RDWR);    //attempt to open the in-kernel driver
+     if (-1 == hdev)
+     {
+-        //if /dev/sgx/enclave is not present, try to open /dev/sgx_enclave
+-        hdev = open("/dev/sgx_enclave", O_RDWR);
++        //if /dev/sgx_enclave is not present, try to open /dev/sgx/enclave
++        hdev = open("/dev/sgx/enclave", O_RDWR);
+     }
+     if (-1 == hdev)
+     {
+@@ -155,11 +155,11 @@ extern "C" bool open_se_device(int driver_type, int *hdevice)
+     *hdevice = -1;
+     if (driver_type == SGX_DRIVER_IN_KERNEL)
+     {
+-        *hdevice = open("/dev/sgx/enclave", O_RDWR);    //attempt to open the in-kernel driver
+-        //if /dev/sgx/enclave is not present, try to open /dev/sgx_enclave
++        *hdevice = open("/dev/sgx_enclave", O_RDWR);    //attempt to open the in-kernel driver
++        //if /dev/sgx_enclave is not present, try to open /dev/sgx/enclave
+         if(-1 == *hdevice)
+         {
+-            *hdevice = open("/dev/sgx_enclave", O_RDWR);
++            *hdevice = open("/dev/sgx/enclave", O_RDWR);
+         }
+     }
+     else if (driver_type == SGX_DRIVER_DCAP)
+-- 
+2.56.0
+

diff --git a/0506-sdk-honour-CFLAGS-LDFLAGS-set-from-environment.patch b/0506-sdk-honour-CFLAGS-LDFLAGS-set-from-environment.patch
new file mode 100644
index 0000000..add1bd5
--- /dev/null
+++ b/0506-sdk-honour-CFLAGS-LDFLAGS-set-from-environment.patch
@@ -0,0 +1,106 @@
+From 51b2153e71b44aa251d982917084cdc1dab374b7 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= <berrange@redhat.com>
+Date: Tue, 10 Nov 2026 09:38:55 +0000
+Subject: [PATCH 506/512] sdk: honour CFLAGS/LDFLAGS set from environment
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
+---
+ sdk/encrypt_enclave/Makefile                    | 2 +-
+ sdk/sign_tool/SignTool/Makefile                 | 2 +-
+ sdk/simulation/SEConfigureCPUSVN/linux/Makefile | 2 +-
+ sdk/simulation/uae_service_sim/linux/Makefile   | 2 +-
+ sdk/simulation/urtssim/linux/Makefile           | 8 ++++----
+ 5 files changed, 8 insertions(+), 8 deletions(-)
+
+diff --git a/sdk/encrypt_enclave/Makefile b/sdk/encrypt_enclave/Makefile
+index 2a023b68..1f331d9a 100644
+--- a/sdk/encrypt_enclave/Makefile
++++ b/sdk/encrypt_enclave/Makefile
+@@ -13,7 +13,7 @@ endif
+ 
+ INC_DIR	:= -I$(COMMON_DIR)/inc -I$(COMMON_DIR)/inc/internal -I.
+ CXXFLAGS += $(INC_DIR) -Wno-attributes -g -mrdrnd -fpie -Werror=format-security
+-LDFLAGS := -pie $(COMMON_LDFLAGS)
++LDFLAGS += -pie $(COMMON_LDFLAGS)
+ 
+ LINK_FLAGS := -lcrypto -L$(BUILD_DIR) -lsgx_tservice
+ CPP_FILES := encryptip.cpp
+diff --git a/sdk/sign_tool/SignTool/Makefile b/sdk/sign_tool/SignTool/Makefile
+index ce22cc77..9c02d107 100644
+--- a/sdk/sign_tool/SignTool/Makefile
++++ b/sdk/sign_tool/SignTool/Makefile
+@@ -15,7 +15,7 @@ FLAGS += -DSE_DEBUG_LEVEL=SE_TRACE_ERROR
+ endif
+ CFLAGS += $(FLAGS)
+ CXXFLAGS += $(FLAGS)
+-LDFLAGS := -pie $(COMMON_LDFLAGS) -Wno-odr
++LDFLAGS += -pie $(COMMON_LDFLAGS) -Wno-odr
+ 
+ INC += $(ADDED_INC)
+ INC +=  -I$(COMMON_DIR)/inc                         \
+diff --git a/sdk/simulation/SEConfigureCPUSVN/linux/Makefile b/sdk/simulation/SEConfigureCPUSVN/linux/Makefile
+index fce3a59e..5fd8548e 100644
+--- a/sdk/simulation/SEConfigureCPUSVN/linux/Makefile
++++ b/sdk/simulation/SEConfigureCPUSVN/linux/Makefile
+@@ -45,7 +45,7 @@ SRCS += $(SIM_DIR)/urtssim/cpusvn_util.cpp
+ OBJS := $(sort $(SRCS:.cpp=.o))
+ 
+ WRAPPER_LIB_DIR := $(COMMON_DIR)/se_wrapper
+-LDFLAGS := -L$(WRAPPER_LIB_DIR)
++LDFLAGS += -L$(WRAPPER_LIB_DIR)
+ CXXFLAGS += -fpie $(CET_FLAGS)
+ LDFLAGS += -pie $(COMMON_LDFLAGS)
+ LDLIBS  := -lwrapper
+diff --git a/sdk/simulation/uae_service_sim/linux/Makefile b/sdk/simulation/uae_service_sim/linux/Makefile
+index dab94053..a36c2660 100644
+--- a/sdk/simulation/uae_service_sim/linux/Makefile
++++ b/sdk/simulation/uae_service_sim/linux/Makefile
+@@ -21,7 +21,7 @@ INCLUDES := -I..                                                   \
+ 
+ CXXFLAGS += -Wall -fPIC $(INCLUDES) -Werror -g $(CET_FLAGS)
+ CFLAGS := $(filter-out -fPIC -Werror, $(CFLAGS)) -Wall $(INCLUDES) $(CET_FLAGS)
+-
++LDUFLAGS += $(LDFLAGS)
+ 
+ RDRAND_LIBDIR := $(LINUX_EXTERNAL_DIR)/rdrand/src
+ RDRAND_MAKEFILE := $(RDRAND_LIBDIR)/Makefile
+diff --git a/sdk/simulation/urtssim/linux/Makefile b/sdk/simulation/urtssim/linux/Makefile
+index f7169893..1db139fa 100644
+--- a/sdk/simulation/urtssim/linux/Makefile
++++ b/sdk/simulation/urtssim/linux/Makefile
+@@ -40,9 +40,9 @@ DIR5 := $(LINUX_ENCLAVE_RUNTIME_DIR)/../common/src/linux
+ DIR6 := $(LINUX_ENCLAVE_RUNTIME_DIR)/../common/src
+ 
+ 
+-LDFLAGS += -L$(COMMON_DIR)/se_wrapper \
++LDUFLAGS += -L$(COMMON_DIR)/se_wrapper \
+            -L$(SIM_DIR)/uae_service_sim/linux
+-LDFLAGS += -L$(VTUNE_DIR)/sdk/src/ittnotify/ -littnotify -ldl -lpthread
++LDUFLAGS += -L$(VTUNE_DIR)/sdk/src/ittnotify/ -littnotify -ldl -lpthread
+ 
+ OBJ1 := enclave.o         \
+         tcs.o             \
+@@ -94,7 +94,7 @@ vpath %.cpp .:$(DIR1):$(DIR2):$(DIR3):$(DIR4):$(DIR6)
+ vpath %.S   .:$(DIR2):$(DIR5)
+ vpath %.c .:$(DIR6)
+ 
+-LDFLAGS += $(COMMON_LDFLAGS) -Wl,--version-script=$(LINUX_ENCLAVE_RUNTIME_DIR)/urts/linux/urts.lds
++LDUFLAGS += $(COMMON_LDFLAGS) -Wl,--version-script=$(LINUX_ENCLAVE_RUNTIME_DIR)/urts/linux/urts.lds
+ 
+ LIBURTSSIM_SHARED := libsgx_urts_sim.so
+ LIBURTS_DEPLOY := libsgx_urts_deploy.so
+@@ -108,7 +108,7 @@ all: $(LIBURTSSIM_SHARED) $(LIBURTS_DEPLOY)| $(BUILD_DIR)
+ 	$(CP) $(LIBURTS_DEPLOY) $|
+ 
+ $(LIBURTSSIM_SHARED): simasm uinst driver_api wrapper uae_service_sim $(OBJ) $(OBJ6) ittnotify
+-	$(CXX) $(CXXFLAGS) -shared -Wl,-soname=$(SONAME) $(OBJ) $(OBJ6) $(LDFLAGS) $(LDLIBS) -o $@
++	$(CXX) $(CXXFLAGS) -shared -Wl,-soname=$(SONAME) $(OBJ) $(OBJ6) $(LDUFLAGS) $(LDLIBS) -o $@
+ 
+ $(BUILD_DIR):
+ 	@$(MKDIR) $@
+-- 
+2.56.0
+

diff --git a/0507-Fix-modern-C-function-prototype-compliance.patch b/0507-Fix-modern-C-function-prototype-compliance.patch
new file mode 100644
index 0000000..4c3f657
--- /dev/null
+++ b/0507-Fix-modern-C-function-prototype-compliance.patch
@@ -0,0 +1,43 @@
+From 01415decba954f67abc5ec9011a6b30cb20a7799 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= <berrange@redhat.com>
+Date: Tue, 10 Nov 2026 09:41:14 +0000
+Subject: [PATCH 507/512] Fix modern C function prototype compliance
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
+---
+ common/inc/internal/se_cdefs.h           | 2 +-
+ sdk/debugger_interface/linux/se_ptrace.c | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/common/inc/internal/se_cdefs.h b/common/inc/internal/se_cdefs.h
+index b220dad1..5397552c 100644
+--- a/common/inc/internal/se_cdefs.h
++++ b/common/inc/internal/se_cdefs.h
+@@ -94,7 +94,7 @@
+ 
+ #define SGX_ACCESS_VERSION(libname, num)                    \
+     MY_EXTERN char sgx_##libname##_version[];          \
+-    MY_EXTERN char * __attribute__((destructor)) libname##_access_version_dummy##num()      \
++    MY_EXTERN char * __attribute__((destructor)) libname##_access_version_dummy##num(void)      \
+     {                                                                                       \
+         sgx_##libname##_version[0] = 's';                                                   \
+         return sgx_##libname##_version;                                                     \
+diff --git a/sdk/debugger_interface/linux/se_ptrace.c b/sdk/debugger_interface/linux/se_ptrace.c
+index 8e4e7600..8c38bb68 100644
+--- a/sdk/debugger_interface/linux/se_ptrace.c
++++ b/sdk/debugger_interface/linux/se_ptrace.c
+@@ -76,7 +76,7 @@ typedef pid_t (*waitpid_t)(pid_t pid, int *status, int options);
+ 
+ static ptrace_t g_sys_ptrace = NULL;
+ static waitpid_t g_sys_waitpid = NULL;
+-__attribute__((constructor)) void init()
++__attribute__((constructor)) void init(void)
+ {
+     g_sys_ptrace = (ptrace_t)dlsym(RTLD_NEXT, "ptrace");
+     g_sys_waitpid = (waitpid_t)dlsym(RTLD_NEXT, "waitpid");
+-- 
+2.56.0
+

diff --git a/0508-Add-wrapper-for-nasm-to-fix-cmake-compat.patch b/0508-Add-wrapper-for-nasm-to-fix-cmake-compat.patch
new file mode 100644
index 0000000..544050c
--- /dev/null
+++ b/0508-Add-wrapper-for-nasm-to-fix-cmake-compat.patch
@@ -0,0 +1,69 @@
+From fded83ac922b1c334384c0ad6efc0356847874b5 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= <berrange@redhat.com>
+Date: Tue, 10 Nov 2026 09:46:53 +0000
+Subject: [PATCH 508/512] Add wrapper for nasm to fix cmake compat
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+cmake needs to detect nasm by running with the '-v' arg, but it
+cannot cope with the nasm command being anything other than a
+single binary name - it won't accept & pass on args during the
+detection phase. Thus a further wrapper is needed.
+
+Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
+---
+ build_infrastructure/build-scripts/sgx-nasm.sh | 12 ++++++++++++
+ external/ippcp_internal/Makefile               |  8 +++++---
+ 2 files changed, 17 insertions(+), 3 deletions(-)
+ create mode 100755 build_infrastructure/build-scripts/sgx-nasm.sh
+
+diff --git a/build_infrastructure/build-scripts/sgx-nasm.sh b/build_infrastructure/build-scripts/sgx-nasm.sh
+new file mode 100755
+index 00000000..a2c3fd74
+--- /dev/null
++++ b/build_infrastructure/build-scripts/sgx-nasm.sh
+@@ -0,0 +1,12 @@
++#!/bin/sh
++
++set -e
++
++if test "$1" == "-v"
++then
++    exec nasm -v
++else
++    here=$(dirname $0)
++    echo python3 ${here}/sgx-asm-pp.py --assembler=nasm --MITIGATION-CVE-2020-0551=${MITIGATION} "$@"
++    exec python3 ${here}/sgx-asm-pp.py --assembler=nasm --MITIGATION-CVE-2020-0551=${MITIGATION} "$@"
++fi
+diff --git a/external/ippcp_internal/Makefile b/external/ippcp_internal/Makefile
+index ec979f5d..c860b2db 100644
+--- a/external/ippcp_internal/Makefile
++++ b/external/ippcp_internal/Makefile
+@@ -31,10 +31,12 @@ IPP_CONFIG += -DIPPCP_FIPS_MODE=on  -DFIPS_CUSTOM_IPPCP_API_HEADER=$(CURDIR)/inc
+ SUB_DIR = no_mitigation
+ ifeq ($(MITIGATION-CVE-2020-0551), LOAD)
+ 	SUB_DIR = cve_2020_0551_load
+-	PRE_CONFIG= ASM_NASM="$(CURDIR)/../../build_infrastructure/build-scripts/sgx-asm-pp.py --assembler=nasm --MITIGATION-CVE-2020-0551=LOAD"
++	PRE_CONFIG = ASM_NASM="$(CURDIR)/../../build_infrastructure/build-scripts/sgx-nasm.sh"
++	POST_CONFIG = MITIGATION=LOAD
+ else ifeq ($(MITIGATION-CVE-2020-0551), CF)
+ 	SUB_DIR = cve_2020_0551_cf
+-	PRE_CONFIG= ASM_NASM="$(CURDIR)/../../build_infrastructure/build-scripts/sgx-asm-pp.py --assembler=nasm --MITIGATION-CVE-2020-0551=CF"
++	PRE_CONFIG = ASM_NASM="$(CURDIR)/../../build_infrastructure/build-scripts/sgx-nasm.sh"
++	POST_CONFIG = MITIGATION=CF
+ endif
+ OUT_DIR = lib/linux/$(ARCH)/$(SUB_DIR)/
+ 
+@@ -57,7 +59,7 @@ all: build_ipp
+ 	$(CP) $(IPP_SOURCE)/LICENSE ./license/
+ 
+ build_ipp: $(CHECK_SOURCE)
+-	cd $(IPP_SOURCE) && $(PRE_CONFIG) cmake CMakeLists.txt $(IPP_CONFIG) && cd build && make ippcp_s && make install
++	cd $(IPP_SOURCE) && $(PRE_CONFIG) cmake CMakeLists.txt $(IPP_CONFIG) && cd build && $(POST_CONFIG) make ippcp_s && make install
+ 
+ $(IPP_SOURCE)/build:
+ ifeq ($(IPP_USE_GIT), 1)
+-- 
+2.56.0
+

diff --git a/0509-sdk-avoid-failure-due-to-attribute-regparam-with-GCC.patch b/0509-sdk-avoid-failure-due-to-attribute-regparam-with-GCC.patch
new file mode 100644
index 0000000..1dc1754
--- /dev/null
+++ b/0509-sdk-avoid-failure-due-to-attribute-regparam-with-GCC.patch
@@ -0,0 +1,65 @@
+From 0693931c9ddf62e01e1642c8c832184531d7067e Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= <berrange@redhat.com>
+Date: Tue, 10 Nov 2026 09:48:07 +0000
+Subject: [PATCH 509/512] sdk: avoid failure due to attribute(regparam) with
+ GCC
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+GCC >= 16 now warns about use of attribute(regparam) on x86_64 targets.
+The attribute was always ignored on x86_64, so only had effect on i686
+and thus the warning can be safely ignored.
+
+Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
+---
+ sdk/simulation/trtssim/linux/Makefile | 4 ++--
+ sdk/simulation/urtssim/linux/Makefile | 4 ++--
+ sdk/trts/Makefile                     | 1 +
+ 3 files changed, 5 insertions(+), 4 deletions(-)
+
+diff --git a/sdk/simulation/trtssim/linux/Makefile b/sdk/simulation/trtssim/linux/Makefile
+index 16e2a96d..7e545c1a 100644
+--- a/sdk/simulation/trtssim/linux/Makefile
++++ b/sdk/simulation/trtssim/linux/Makefile
+@@ -41,8 +41,8 @@ CPPFLAGS += -I$(COMMON_DIR)/inc/         \
+ 
+ CFLAGS   += $(ENCLAVE_CFLAGS)
+ ASFLAGS  := -DSE_SIM -Werror $(CFLAGS)
+-CFLAGS   += -DSE_SIM -Werror -fasynchronous-unwind-tables
+-CXXFLAGS += -DSE_SIM -Werror $(ENCLAVE_CXXFLAGS)\
++CFLAGS   += -DSE_SIM -Werror -Wno-attributes -fasynchronous-unwind-tables
++CXXFLAGS += -DSE_SIM -Werror -Wno-attributes $(ENCLAVE_CXXFLAGS)\
+             -fno-exceptions -fno-rtti
+ 
+ SIM_DIR    := $(CUR_DIR)/../..
+diff --git a/sdk/simulation/urtssim/linux/Makefile b/sdk/simulation/urtssim/linux/Makefile
+index 1db139fa..20d3d652 100644
+--- a/sdk/simulation/urtssim/linux/Makefile
++++ b/sdk/simulation/urtssim/linux/Makefile
+@@ -14,8 +14,8 @@ CXXFLAGS += -DDISABLE_TRACE
+ CFLAGS += -DDISABLE_TRACE
+ endif
+ 
+-CXXFLAGS += -fPIC -DSE_SIM -Werror -g $(CET_FLAGS)
+-CFLAGS   += -fPIC -DSE_SIM -Werror -g $(CET_FLAGS)
++CXXFLAGS += -fPIC -DSE_SIM -Werror -Wno-attributes -g $(CET_FLAGS)
++CFLAGS   += -fPIC -DSE_SIM -Werror -Wno-attributes -g $(CET_FLAGS)
+ 
+ CPPFLAGS += $(ADDED_INC) #for ubuntu 11 and later version
+ CPPFLAGS += -I$(COMMON_DIR)/inc                            \
+diff --git a/sdk/trts/Makefile b/sdk/trts/Makefile
+index 7cba3d43..02414d91 100644
+--- a/sdk/trts/Makefile
++++ b/sdk/trts/Makefile
+@@ -14,6 +14,7 @@ CPPFLAGS += -I$(COMMON_DIR)/inc          \
+ 
+ CXXFLAGS += $(ENCLAVE_CXXFLAGS) \
+             -Werror         \
++            -Wno-attributes \
+             -fno-exceptions \
+             -fno-rtti
+ 
+-- 
+2.56.0
+

diff --git a/0510-fix-missing-def-of-uncaught_exception.patch b/0510-fix-missing-def-of-uncaught_exception.patch
new file mode 100644
index 0000000..ed33628
--- /dev/null
+++ b/0510-fix-missing-def-of-uncaught_exception.patch
@@ -0,0 +1,37 @@
+From 566408fc6f7d0e0d0b0e5b6fdba5e1cc3943cfbe Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= <berrange@redhat.com>
+Date: Tue, 10 Nov 2026 09:49:30 +0000
+Subject: [PATCH 510/512] fix missing def of uncaught_exception
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+This needs to be unconditionally present, not restricted to
+old C++ standards. This fixes an error seen with GCC 16:
+
+linux-sgx-2.28-build/confidential-computing.sgx-sgx_2.28/sdk/tlibcxx/include/ostream:280:27: error: there are no arguments to ‘uncaught_exception’ that depend on a template parameter, so a declaration of ‘uncaught_exception’ must be available [-Wtemplate-body]
+  280 |                       && !uncaught_exception())
+      |                           ^~~~~~~~~~~~~~~~~~
+linux-sgx-2.28-build/confidential-computing.sgx-sgx_2.28/sdk/tlibcxx/include/ostream:280:27: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
+
+Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
+---
+ common/inc/stdc++/linux/exception | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/common/inc/stdc++/linux/exception b/common/inc/stdc++/linux/exception
+index a3c81106..b81f2d0c 100644
+--- a/common/inc/stdc++/linux/exception
++++ b/common/inc/stdc++/linux/exception
+@@ -63,7 +63,7 @@ namespace std
+ 
+ #  if  __cplusplus < 201103L
+     bool uncaught_exception() throw();
+-#  elif __cplusplus <= 201703L
++#  else
+     bool uncaught_exception() noexcept;
+ #  endif
+ 
+-- 
+2.56.0
+

diff --git a/0511-sdk-adapt-to-openssl4-API-changes.patch b/0511-sdk-adapt-to-openssl4-API-changes.patch
new file mode 100644
index 0000000..0eccdc7
--- /dev/null
+++ b/0511-sdk-adapt-to-openssl4-API-changes.patch
@@ -0,0 +1,62 @@
+From 3ee3b4990de540b0ae84164d001ab53f3bcedfbc Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= <berrange@redhat.com>
+Date: Tue, 10 Nov 2026 09:51:45 +0000
+Subject: [PATCH 511/512] sdk: adapt to openssl4 API changes
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Returned  ASN1 structures must now be const, and the string
+type is now opaque.
+
+Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
+---
+ sdk/ttls/cert_verifier.cpp | 11 ++++++-----
+ 1 file changed, 6 insertions(+), 5 deletions(-)
+
+diff --git a/sdk/ttls/cert_verifier.cpp b/sdk/ttls/cert_verifier.cpp
+index 8cb45a49..2e7f8b75 100644
+--- a/sdk/ttls/cert_verifier.cpp
++++ b/sdk/ttls/cert_verifier.cpp
+@@ -765,7 +765,7 @@ sgx_status_t sgx_cert_find_extension(
+     for (int i = 0; i < num_extensions; i++)
+     {
+         X509_EXTENSION* ext;
+-        ASN1_OBJECT* obj;
++        const ASN1_OBJECT* obj;
+         sgx_oid_string_t ext_oid;
+ 
+         /* Get the i-th extension from the stack */
+@@ -783,7 +783,7 @@ sgx_status_t sgx_cert_find_extension(
+         /* If found then get the data */
+         if (strcmp(ext_oid.buf, oid) == 0)
+         {
+-            ASN1_OCTET_STRING* str;
++            const ASN1_OCTET_STRING* str;
+ 
+             /* Get the data from the extension */
+             if (!(str = X509_EXTENSION_get_data(ext)))
+@@ -791,16 +791,17 @@ sgx_status_t sgx_cert_find_extension(
+ 
+             if (data)
+             {
+-                if ((uint32_t)str->length > *size)
++                const unsigned char *strdata = ASN1_STRING_get0_data(str);
++                if ((uint32_t)ASN1_STRING_length(str) > *size)
+                 {
+                     result = SGX_ERROR_INVALID_PARAMETER;
+                     goto done;
+                 }
+-                if (memcpy_s(data, *size, str->data, (uint32_t)str->length) != 0) {
++                if (memcpy_s(data, *size, strdata, (uint32_t)ASN1_STRING_length(str)) != 0) {
+                     result = SGX_ERROR_UNEXPECTED;
+                     goto done;
+                 }
+-                *size = (uint32_t)str->length;
++                *size = (uint32_t)ASN1_STRING_length(str);
+                 result = SGX_SUCCESS;
+                 goto done;
+             }
+-- 
+2.56.0
+

diff --git a/0512-sdk-fix-path-to-dcap-openssl-headers.patch b/0512-sdk-fix-path-to-dcap-openssl-headers.patch
new file mode 100644
index 0000000..3249a8a
--- /dev/null
+++ b/0512-sdk-fix-path-to-dcap-openssl-headers.patch
@@ -0,0 +1,48 @@
+From d8b7acf07487b415b9373b2a73e109a1ade22138 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= <berrange@redhat.com>
+Date: Tue, 10 Nov 2026 13:08:45 +0000
+Subject: [PATCH 512/512] sdk: fix path to dcap openssl headers
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+sdk/ttls and sdk/utls are pre-standing code, so don't link to
+the host openssl. Rather than downloading a pre-built dcap
+archive, point them to the dcap source checkout for accessing
+openssl headers.
+
+Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
+---
+ sdk/ttls/Makefile | 2 +-
+ sdk/utls/Makefile | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/sdk/ttls/Makefile b/sdk/ttls/Makefile
+index e43c7c45..3ad40188 100644
+--- a/sdk/ttls/Makefile
++++ b/sdk/ttls/Makefile
+@@ -18,7 +18,7 @@ else
+         SGXSSL_TCRYPTO = sgx_tsgxssl_crypto
+ endif
+ 
+-PREBUILT_OPENSSL_PATH ?= $(ROOT_DIR)/prebuilt/dcap/openssl
++PREBUILT_OPENSSL_PATH ?= $(ROOT_DIR)/../external/dcap_source/prebuilt/openssl
+ CBOR_PATH ?= $(LINUX_EXTERNAL_DIR)/cbor
+ CBOR_RELATIVE_PATH ?= ../../external/cbor
+ 
+diff --git a/sdk/utls/Makefile b/sdk/utls/Makefile
+index 6afa855d..48fac6d0 100644
+--- a/sdk/utls/Makefile
++++ b/sdk/utls/Makefile
+@@ -8,7 +8,7 @@ TOP_DIR  = ../..
+ include $(TOP_DIR)/buildenv.mk
+ 
+ CERT_UTIL_DIR   := ../ttls
+-PREBUILD_OPENSSL_PATH ?= $(ROOT_DIR)/prebuilt/dcap/openssl
++PREBUILD_OPENSSL_PATH ?= $(ROOT_DIR)/../external/dcap_source/prebuilt/openssl
+ CBOR_PATH ?= $(LINUX_EXTERNAL_DIR)/cbor
+ LIBCBOR_PATH := $(CBOR_PATH)/untrusted/lib
+ CBOR_INCLUDE := $(CBOR_PATH)/untrusted/include
+-- 
+2.56.0
+

diff --git a/download.sh b/download.sh
index d4c05f5..372f132 100755
--- a/download.sh
+++ b/download.sh
@@ -2,13 +2,13 @@
 
 spec=linux-sgx.spec
 
-dver=$(grep 'global dcap_version' ${spec} | awk '{print $3}')
+dver=$(grep 'global dcap_base_version' ${spec} | awk '{print $3}')
 
 function urls
 {
     rpmspec -P ${spec} 2>/dev/null | grep Source | grep http | awk '{print $2}'
 
-    grep "https.*prebuilt_dcap" ${spec} | awk '{print $2}' | sed -e "s/%{dcap_version}/$dver/g"
+    grep "https.*prebuilt_dcap" ${spec} | awk '{print $2}' | sed -e "s/%{dcap_base_version}/$dver/g"
 }
 
 for url in $(urls)

diff --git a/linux-sgx.spec b/linux-sgx.spec
index c759bff..f233c16 100644
--- a/linux-sgx.spec
+++ b/linux-sgx.spec
@@ -69,34 +69,34 @@
 # of new tarballs after updating the versions, as well as stripping
 # non-permitted content from some tarballs.
 #
-%global linux_sgx_version 2.29
+%global linux_sgx_version 2.30.1
+# From submodule: sdk
+%global sgx_sdk_version 2.30
 # From submodule: external/dcap_source
-%global dcap_version 1.26
+%global dcap_base_version 1.27
+%global dcap_version 1.27.1
 # From submodule: external/dcap_source/QuoteVerification/QVL
 # NB: follows DCAP versioning, but may skip releases
-%global dcap_qvl_version 1.26
-# From script: external/sgxssl/prepare_sgxssl.sh
+%global dcap_qvl_version 1.27
+# From script: sdk/external/sgxssl/prepare_sgxssl.sh
 # Should match: external/dcap_source/QuoteVerification/prepare_sgxssl.sh
-%global sgx_ssl_version 3.0_Rev5.2
-# From submodule: external/ippcp_internal/ipp-crypto
-%global ipp_crypto_version 2021.12.1
-# From submodule: external/sgx-emm/emm_src
+%global sgx_ssl_version 3.0_Rev5.4
+# From submodule: sdk/external/ippcp_internal/ipp-crypto
+%global ipp_crypto_version 2.2.0
+# From submodule: sdk/external/sgx-emm/emm_src
 %global sgx_emm_version 1.0.3
-# From external/libcxxrt/libcxxrt_code
+# From sdk/external/libcxxrt/libcxxrt_code
 %global libcxxrt_commit a6f71cbc3a1e1b8b9df241e081fa0ffdcde96249
 %global libcxxrt_version 4.0.10^20250225gita6f71cb
-# From script: external/sgxssl/prepare_sgxssl.sh
+# From script: sdk/external/sgxssl/prepare_sgxssl.sh
 # Should match: external/dcap_source/QuoteVerification/prepare_sgxssl.sh
-%global openssl_version 3.0.19
+%global openssl_version 3.0.21
 # From submodule: external/cbor/libcbor
 %global libcbor_version 0.10.2
-# Obsolete: From submodule: external/protobuf/protobuf_code/third_party/abseil-cpp]
-# Override: From submodule: external/protobuf/protobuf_code/abseil-cpp
-%global abseil_cpp_version 20250512.1
 # From submodule: external/dcap_source/external/jwt-cpp
 %global jwt_cpp_version 0.6.0
 # From submodule: external/dcap_source/external/wasm-micro-runtime
-%global wamr_version 1.0.0
+%global wamr_version 2.4.4
 # From code: external/tinyxml2/
 %global tinyxml2_version 10.0.0
 
@@ -107,11 +107,11 @@
 # enclaves from prebuilt_dcap_NNN.tar.gz - DCAP version numbers,
 # except for pce, which is actually an SGX enclave just bundled
 # with the DCAP enclaves.
-%global enclave_pce_version 2.25
-%global enclave_ide_version 1.22
-%global enclave_qe3_version 1.22
-%global enclave_tdqe_version 1.22
-%global enclave_qve_version 1.24
+%global enclave_pce_version 2.30
+%global enclave_ide_version 1.27
+%global enclave_qe3_version 1.27
+%global enclave_tdqe_version 1.27
+%global enclave_qve_version 1.27
 
 # Whether to build & ship unsigned enclaves with latest distro
 # tool-chain, as opposed to a reproducible build done in other
@@ -207,13 +207,13 @@ License: %{shrink:
   LicenseRef-Fedora-Public-Domain
 }
 
-URL:            https://github.com/intel/linux-sgx
+URL:            https://github.com/intel/confidential-computing.sgx
 
 
 ############################################################
 # SGX related projects SourceN for N in (0..9)
 
-Source0: https://github.com/intel/linux-sgx/archive/refs/tags/sgx_%{linux_sgx_version}.tar.gz#/linux-sgx-%{linux_sgx_version}.tar.gz
+Source0: https://github.com/intel/confidential-computing.sgx/archive/refs/tags/sgx_%{linux_sgx_version}.tar.gz#/linux-sgx-%{linux_sgx_version}.tar.gz
 
 # repack.sh purges all the prebuilt AE's that we ship in a different RPM
 # as well as 'prebuilt/' content (openssl / OPA binaries) that we must
@@ -225,15 +225,15 @@ Provides: bundled(dcap) = %{dcap_version}
 
 # Upload tarball is:
 #
-#   https://download.01.org/intel-sgx/sgx-dcap/%{dcap_version}/linux/prebuilt_dcap_%{dcap_version}.tar.gz
+#   https://download.01.org/intel-sgx/sgx-dcap/%{dcap_base_version}/linux/prebuilt_dcap_%{dcap_base_version}.tar.gz
 #
 # but is then post-processed using repack.sh to create this
-Source3: prebuilt_dcap_%{dcap_version}-repacked.tar.gz
+Source3: prebuilt_dcap_%{dcap_base_version}-repacked.tar.gz
 
 Source4: https://github.com/intel/intel-sgx-ssl/archive/refs/tags/%{sgx_ssl_version}.tar.gz#/intel-sgx-ssl-%{sgx_ssl_version}.tar.gz
 Provides: bundled(sgxssl) = %{sgx_ssl_version}
 
-Source5: https://github.com/intel/ipp-crypto/archive/refs/tags/ippcp_%{ipp_crypto_version}.tar.gz
+Source5: https://github.com/intel/cryptography-primitives/archive/refs/tags/v%{ipp_crypto_version}.tar.gz#/ippcp_%{ipp_crypto_version}.tar.gz
 Provides: bundled(ipp-crypto) = %{ipp_crypto_version}
 
 Source6: https://github.com/intel/sgx-emm/archive/refs/tags/sgx-emm-%{sgx_emm_version}.tar.gz
@@ -242,6 +242,8 @@ Provides: bundled(sgx-emm) = %{sgx_emm_version}
 Source7: https://github.com/intel/confidential-computing.tee.dcap.qvl/archive/refs/tags/v%{dcap_qvl_version}.tar.gz#/dcap-qvl-%{dcap_qvl_version}.tar.gz
 Provides: bundled(dcap-qvl) = %{dcap_qvl_version}
 
+Source8: https://github.com/intel/confidential-computing.sgx.sdk/archive/refs/tags/sgx_%{sgx_sdk_version}.tar.gz#/sgx-sdk-%{sgx_sdk_version}.tar.gz
+Provides: bundled(sgx-sdk) = %{sgx_sdk_version}
 
 ############################################################
 # 3rd party projects SourceN for N in (10..19)
@@ -293,68 +295,57 @@ Provides: bundled(vtune) = %{vtune_version}
 ############################################################
 # Distro integration patches
 
-# 0000-0099 -> against confidential-computing.sgx-sgx.git
+# 0000-0099 -> against confidential-computing.sgx.git
 #
-# Maintained in: https://github.com/berrange/linux-sgx/tree/dist-git-%{linux_sgx_version}-hostsw
+# Maintained in: https://github.com/berrange/confidential-computing.sgx/tree/dist-git-%{linux_sgx_version}-hostsw
 #
 Patch0000: 0000-Add-support-for-building-against-host-openssl-crypto.patch
-Patch0001: 0001-Add-support-for-building-against-host-tinyxml2-lib.patch
-Patch0002: 0002-Add-support-for-building-against-host-CppMicroServic.patch
-# https://github.com/intel/linux-sgx/pull/1055
-Patch0003: 0003-Improve-make-debuggability.patch
-Patch0004: 0004-Support-disabling-use-of-git-for-ippcp-code.patch
-Patch0005: 0005-disable-openmp-protobuf-sample_crypto-builds.patch
-# https://github.com/intel/linux-sgx/pull/1064
-Patch0006: 0006-psw-prefer-dev-sgx_provision-dev-sgx_enclave.patch
-Patch0007: 0007-psw-fix-soname-for-libuae_service.so-library.patch
-Patch0008: 0008-sdk-honour-CFLAGS-LDFLAGS-set-from-environment.patch
-Patch0009: 0009-psw-make-aesm_service-build-verbose.patch
-Patch0010: 0010-Fix-modern-C-function-prototype-compliance.patch
-Patch0011: 0011-Add-wrapper-for-nasm-to-fix-cmake-compat.patch
-Patch0012: 0012-linux-installer-drop-PCCS-package-from-BOM.patch
-Patch0013: 0013-sdk-avoid-failure-due-to-attribute-regparam-with-GCC.patch
-Patch0014: 0014-fix-BOM-for-mpa_manage-mpa_registration-files.patch
-Patch0015: 0015-fix-missing-def-of-uncaught_exception.patch
-Patch0016: 0016-sdk-adapt-to-openssl4-API-changes.patch
-# Optional patches
-Patch0050: 0050-Disable-inclusion-of-AESM-in-installer.patch
+Patch0001: 0001-Add-support-for-building-against-host-CppMicroServic.patch
+Patch0002: 0002-psw-fix-soname-for-libuae_service.so-library.patch
+Patch0003: 0003-psw-make-aesm_service-build-verbose.patch
+Patch0004: 0004-linux-installer-drop-PCCS-package-from-BOM.patch
+Patch0005: 0005-disable-packaging-of-poe-gen-tool.patch
+Patch0006: 0006-Disable-packaging-of-prebuilt-enclaves.patch
+Patch0007: 0007-drop-tee_appraisal_tool-from-package.patch
+# If this number changes, alter the autopatch macro later
+Patch0008: 0008-Disable-inclusion-of-AESM-in-installer.patch
+
 
 # 0100-0199 -> against confidential-computing.tee.dcap.git
 #
-# Maintained in https://github.com/berrange/SGXDataCenterAttestationPrimitives/tree/dist-git-%{dcap_version}-hostsw
+# Maintained in: https://github.com/berrange/confidential-computing.tee.dcap/tree/dist-git-%{dcap_version}-hostsw
 #
-Patch0100: 0100-Drop-use-of-bundled-pre-built-openssl.patch
-Patch0101: 0101-Improve-debuggability-of-build-system.patch
+Patch0100: 0100-pcsclient-serialize-qeidentity-and-tdqeidentity-as-J.patch
+Patch0101: 0101-pcsclient-only-import-pypac-module-on-Windows-490.patch
+Patch0102: 0102-Drop-use-of-bundled-pre-built-openssl.patch
+Patch0103: 0103-Improve-debuggability-of-build-system.patch
 # https://github.com/intel/SGXDataCenterAttestationPrimitives/pull/437
-Patch0102: 0102-Support-build-time-setting-of-enclave-load-directory.patch 
+Patch0104: 0104-Support-build-time-setting-of-enclave-load-directory.patch 
 # https://github.com/intel/SGXDataCenterAttestationPrimitives/pull/434
-Patch0103: 0103-Look-for-versioned-sgx_urts-library-in-PCKRetrievalT.patch
+Patch0105: 0105-Look-for-versioned-sgx_urts-library-in-PCKRetrievalT.patch
 # https://github.com/intel/SGXDataCenterAttestationPrimitives/pull/429
-Patch0104: 0104-pcsclient-only-import-pypac-module-on-Windows.patch
-Patch0105: 0105-Look-for-PCKRetrievalTool-config-file-in-etc.patch
-Patch0106: 0106-Honour-CFLAGS-CXXFLAGS-LDFLAGS-for-various-tools-and.patch
+Patch0106: 0106-Look-for-PCKRetrievalTool-config-file-in-etc.patch
+Patch0107: 0107-Honour-CFLAGS-CXXFLAGS-LDFLAGS-for-various-tools-and.patch
 # https://github.com/intel/SGXDataCenterAttestationPrimitives/pull/428
-Patch0107: 0107-pcsclient-remove-leftover-debugging-print-args-state.patch
 Patch0108: 0108-Fix-soname-version-for-libsgx_qe3_logic.so-library.patch
 Patch0109: 0109-Workaround-broken-GCC-15.patch
 Patch0110: 0110-Don-t-disable-cf-protection-for-qgs.patch
 #Patch0111: 0111-Use-distro-provided-rapidjson-package.patch
 Patch0112: 0112-Don-t-stomp-on-VERBOSE-variable.patch
 Patch0113: 0113-qgs-add-m-MODE-parameter-for-UNIX-socket-mode.patch
-Patch0114: 0114-pcsclient-make-keyring-module-optional.patch
-Patch0115: 0115-pcsclient-convert-from-asn1-to-pyasn1-python-module.patch
-Patch0116: 0116-pcsclient-ignore-errors-trying-to-clear-the-keyring.patch
-Patch0117: 0117-use-system-gtest-gmock-libraries.patch
-Patch0118: 0118-Disable-PcsClientTool-package-build.patch
-Patch0119: 0119-disable-building-of-WASM-SIMDE-code.patch
-Patch0120: 0120-ensure-build-terminates-if-prepare_sgxssl.sh-fails.patch
-Patch0121: 0121-qpl-fix-const-correctness-for-ASN1_STRING-X509_NAME_.patch
-Patch0122: 0122-qal-force-compat-with-CMake-3.5.patch
+Patch0114: 0114-pcsclient-convert-from-asn1-to-pyasn1-python-module.patch
+Patch0115: 0115-use-system-gtest-gmock-libraries.patch
+Patch0116: 0116-Disable-PcsClientTool-package-build.patch
+Patch0117: 0117-disable-building-of-WASM-SIMDE-code.patch
+Patch0118: 0118-ensure-build-terminates-if-prepare_sgxssl.sh-fails.patch
+Patch0119: 0119-qpl-fix-const-correctness-for-ASN1_STRING-X509_NAME_.patch
+Patch0120: 0120-qal-force-compat-with-CMake-3.5.patch
+Patch0121: 0121-disable-build-of-PoeTools.patch
 
 
 # 0200-0299 -> against intel-sgx-ssl.git
 #
-# Maintained in https://github.com/berrange/intel-sgx-ssl/tree/dist-git-%{sgx_ssl_version}
+# Maintained in: https://github.com/berrange/intel-sgx-ssl/tree/dist-git-%{sgx_ssl_version}-hostsw
 #
 Patch0200: 0200-Enable-pointing-sgxssl-build-to-alternative-glibc-he.patch
 Patch0201: 0201-Workaround-missing-output-directory.patch
@@ -365,18 +356,37 @@ Patch0204: 0204-Update-patches-for-openssl-3.0.19.patch
 
 # 0300-0399 -> against ipp-crypto.git
 #
-# Maintained in https://github.com/berrange/ipp-crypto/tree/dist-git-%{ipp_crypto_version}
+# Maintained in: https://github.com/berrange/cryptography-primitives/tree/dist-git-%{ipp_crypto_version}-hostsw
 #
-Patch0300: 0300-Drop-min-openssl-from-3.0.8-to-3.0.7.patch
-Patch0301: 0301-Drop-Werror-from-build-flags.patch
+Patch0300: 0300-Drop-Werror-stringop-overflow-from-build-flags.patch
 
 
 # 0400-0499 -> against confidential-computing.tee.dcap.qvl.git
 #
-# Maintained in https://github.com/berrange/confidential-computing.tee.dcap.qvl
+# Maintained in: https://github.com/berrange/confidential-computing.tee.dcap.qvl/tree/dist-git-%{dcap_qvl_version}-hostsw
 #
 Patch0400: 0400-Fix-constness-for-OpenSSL4-X509-ASN1-APIs.patch
 
+
+# 0500-0599 -> against confidential-computing.sgx.sdk.git
+#
+# Maintained in: https://github.com/berrange/confidential-computing.sgx.sdk/tree/dist-git-%{sgx_sdk_version}-hostsw
+#
+Patch0500: 0500-Add-support-for-building-against-host-openssl-crypto.patch
+Patch0501: 0501-Add-support-for-building-against-host-tinyxml2-lib.patch
+Patch0502: 0502-Improve-make-debuggability.patch
+Patch0503: 0503-Support-disabling-use-of-git-for-ippcp-code.patch
+Patch0504: 0504-disable-openmp-protobuf-sample_crypto-builds.patch
+Patch0505: 0505-enclave_runtime-prefer-dev-sgx_provision-dev-sgx_enc.patch
+Patch0506: 0506-sdk-honour-CFLAGS-LDFLAGS-set-from-environment.patch
+Patch0507: 0507-Fix-modern-C-function-prototype-compliance.patch
+Patch0508: 0508-Add-wrapper-for-nasm-to-fix-cmake-compat.patch
+Patch0509: 0509-sdk-avoid-failure-due-to-attribute-regparam-with-GCC.patch
+Patch0510: 0510-fix-missing-def-of-uncaught_exception.patch
+Patch0511: 0511-sdk-adapt-to-openssl4-API-changes.patch
+Patch0512: 0512-sdk-fix-path-to-dcap-openssl-headers.patch
+
+
 BuildRequires: sgx-rpm-macros
 BuildRequires: autoconf
 BuildRequires: automake
@@ -593,9 +603,9 @@ in applications
 %prep
 %setup -q -n confidential-computing.sgx-sgx_%{linux_sgx_version}
 
-%autopatch -m 0 -M 49 -p1
+%autopatch -m 0 -M 7 -p1
 %if !%{with_aesm}
-%autopatch -m 50 -M 99 -p1
+%autopatch -m 8 -M 8 -p1
 %endif
 
 ############################################################
@@ -610,16 +620,26 @@ in applications
 #
 ############################################################
 
-# Will use system package instead
-rm -rf external/CppMicroServices
-%if %{with_host_tinyxml2}
-rm -rf external/tinyxml2
-%endif
+############################################################
+# SGX SDK
+(
+  cd sdk
+
+  tar zxf %{SOURCE8} --strip 1
+
+  # Will use system package instead
+  rm -rf external/CppMicroServices
+  %if %{with_host_tinyxml2}
+  rm -rf external/tinyxml2
+  %endif
 
-# Don't intend to package these optional bits since none of
-# the required enclaves need this, and thus we can cut down
-# on bundling some 3rd party code
-rm -rf external/{dnnl,openmp,protobuf} sdk/sample_libcrypto
+  # Don't intend to package these optional bits since none of
+  # the required enclaves need this, and thus we can cut down
+  # on bundling some 3rd party code
+  rm -rf external/{dnnl,openmp,protobuf} sdk/sample_libcrypto
+
+  %autopatch -m 500 -M 599 -p1
+)
 
 ############################################################
 # dcap
@@ -664,7 +684,7 @@ rm -rf external/{dnnl,openmp,protobuf} sdk/sample_libcrypto
 ############################################################
 # sgxssl
 (
-  cd external/sgxssl
+  cd sdk/external/sgxssl
   tar zxf %{SOURCE4} --strip 1
   %autopatch -m 200 -M 299 -p1
 
@@ -675,7 +695,7 @@ rm -rf external/{dnnl,openmp,protobuf} sdk/sample_libcrypto
 # ippcrypto
 (
   # XXX sanity check that all ipp-crypto is permitted by Fedora
-  cd external/ippcp_internal/ipp-crypto
+  cd sdk/external/ippcp_internal/ipp-crypto
   tar zxf %{SOURCE5} --strip 1
   %autopatch -m 300 -M 399 -p1
 )
@@ -683,15 +703,19 @@ rm -rf external/{dnnl,openmp,protobuf} sdk/sample_libcrypto
 ############################################################
 # sgx-emm
 (
+  cd sdk
+  pushd $PWD
   cd external/sgx-emm/emm_src
   tar zxf %{SOURCE6} --strip 1
+  popd
+
+  ./external/sgx-emm/create_symlink.sh
 )
-./external/sgx-emm/create_symlink.sh
 
 ############################################################
 # libcbor
 (
-  cd external/cbor/libcbor
+  cd sdk/external/cbor/libcbor
   tar zxf %{SOURCE11} --strip 1
   cd ..
   cp -a libcbor sgx_libcbor
@@ -707,7 +731,7 @@ rm -rf external/{dnnl,openmp,protobuf} sdk/sample_libcrypto
 # tinyxml2
 %if ! %{with_host_tinyxml2}
 (
-  cd external/tinyxml2
+  cd sdk/external/tinyxml2
   tar zxf %{SOURCE14} --strip 1
 )
 %endif
@@ -716,7 +740,7 @@ rm -rf external/{dnnl,openmp,protobuf} sdk/sample_libcrypto
 ############################################################
 # libcxxrt
 (
-  cd external/libcxxrt/libcxxrt_code
+  cd sdk/external/libcxxrt/libcxxrt_code
 
   tar zxf %{SOURCE15} --strip 1
   patch -p1 < ../sgx_libcxxrt.patch
@@ -788,12 +812,12 @@ export CMAKE_POLICY_VERSION_MINIMUM=3.5
 for mitigation in '' LOAD CF
 do
   %__make %{?_smp_mflags} \
-    -C external/ippcp_internal \
+    -C sdk/external/ippcp_internal \
     IPP_USE_GIT=0 \
     clean
 
   %__make %{?_smp_mflags} \
-    -C external/ippcp_internal \
+    -C sdk/external/ippcp_internal \
     MITIGATION-CVE-2020-0551=$mitigation \
     IPP_USE_GIT=0
 done
@@ -811,7 +835,8 @@ do
     -C sdk/ V=1 \
     MITIGATION-CVE-2020-0551=$mitigation \
     USE_HOST_OPENSSL_CRYPTO=1 \
-    USE_HOST_TINYXML2=%{with_host_tinyxml2}
+    USE_HOST_TINYXML2=%{with_host_tinyxml2} \
+    sdk
 done
 
 NATIVE="sign_tool/SignTool"
@@ -826,27 +851,35 @@ NATIVE="$NATIVE simulation"
 for dir in $NATIVE
 do
   %__make %{?_smp_mflags} \
-    -C sdk/$dir clean
+    -C sdk/sdk/$dir clean
 
   # XXX temp override -j1 due to race conditions that have not yet been diagnosed
   CFLAGS="%{build_cflags}" \
   CXXFLAGS="%{build_cxxflags}" \
   LDFLAGS="%{build_ldflags}" \
   %__make %{?_smp_mflags} -j1 \
-    -C sdk/$dir V=1 \
+    -C sdk/sdk/$dir V=1 \
     MITIGATION-CVE-2020-0551= \
     USE_HOST_OPENSSL_CRYPTO=1 \
     USE_HOST_TINYXML2=%{with_host_tinyxml2}
 done
 
+CFLAGS="%{build_cflags}" \
+CXXFLAGS="%{build_cxxflags}" \
+LDFLAGS="%{build_ldflags}" \
+%__make %{?_smp_mflags} -j1 \
+  -C sdk V=1 VERBOSE=1 \
+  USE_HOST_OPENSSL_CRYPTO=1 \
+  enclave_runtime
+
 ############################################################
 # Second, install the SDK into a temporary tree, since this
 # dir tree is needed by the next build phase.
 
 %global vroot build/vroot
 
-./linux/installer/bin/build-installpkg.sh sdk cve-2020-0551
-./linux/installer/bin/sgx_linux_x64_sdk_*.bin --prefix=%{vroot}
+./sdk/build_infrastructure/linux/installer/bin/build-installpkg.sh sdk cve-2020-0551
+./sdk/build_infrastructure/linux/installer/bin/sgx_linux_x64_sdk_*.bin --prefix=%{vroot}
 
 
 ############################################################
@@ -1067,8 +1100,11 @@ rm -f %{buildroot}/root/lib/systemd/system/aesmd.service
 # Host PCS client tool
 
 %__install -d %{buildroot}%{_datadir}/pcsclient
-cp external/dcap_source/tools/PcsClientTool/pcsclient.py %{buildroot}%{_datadir}/pcsclient/pcsclient.py
-cp -a external/dcap_source/tools/PcsClientTool/lib %{buildroot}%{_datadir}/pcsclient/lib
+mv %{buildroot}/root/opt/intel/pcs-client-tool/pcsclient.py %{buildroot}%{_datadir}/pcsclient/pcsclient.py
+mv %{buildroot}/root/opt/intel/pcs-client-tool/lib %{buildroot}%{_datadir}/pcsclient/lib
+
+rm -f %{buildroot}/root/opt/intel/pcs-client-tool/{README.txt,requirements.txt,License.txt}
+rmdir %{buildroot}/root/opt/intel/pcs-client-tool
 
 cat > %{buildroot}%{_bindir}/pcsclient <<EOF
 #!/bin/sh
@@ -1193,6 +1229,7 @@ rm -f %{buildroot}/root/etc/udev/rules.d/93-sgx-provision.rules
 rm -f %{buildroot}/root/etc/udev/rules.d/91-sgx-enclave.rules
 rm -f %{buildroot}/root/License.txt
 
+
 # Intentionally not recursive delete, as we want build to fail
 # to alert us if a future release adds more files that need handling
 rmdir %{buildroot}/root/etc/udev/rules.d/
@@ -1429,11 +1466,13 @@ sed -i -e 's/--debug/-l=debug/' \
 %{_includedir}/MPNetwork.h
 %{_includedir}/MPNetworkDefs.h
 %{_includedir}/MPUefi.h
+%{_includedir}/IUefi.h
 %{_includedir}/MultiPackageDefs.h
 %{_includedir}/mp_network.h
 %{_includedir}/mp_uefi.h
 %{_includedir}/pck_cert_selection.h
 %{_includedir}/sgx_attributes.h
+%{_includedir}/sgx_dcap_qal.h
 %{_includedir}/sgx_dcap_qal_types.h
 %{_includedir}/sgx_dcap_ql_wrapper.h
 %{_includedir}/sgx_dcap_quoteverify.h
@@ -1453,6 +1492,7 @@ sed -i -e 's/--debug/-l=debug/' \
 %{_includedir}/sgx_quote_5.h
 %{_includedir}/sgx_qve_header.h
 %{_includedir}/sgx_report.h
+%{_includedir}/sgx_report2.h
 %{_includedir}/sgx_uae_quote_ex.h
 %{_includedir}/sgx_urts.h
 %{_includedir}/td_ql_wrapper.h
@@ -1522,6 +1562,7 @@ sed -i -e 's/--debug/-l=debug/' \
 
 
 %files -n sgx-pcs-client
+%doc external/dcap_source/tools/PcsClientTool/README.txt
 %{_bindir}/pcsclient
 %{_datadir}/pcsclient
 

diff --git a/repack.sh b/repack.sh
index 857ea40..cb7e09a 100755
--- a/repack.sh
+++ b/repack.sh
@@ -31,7 +31,7 @@ function repack {
     echo "Wrote $newarchive"
 }
 
-dcap_version=$(grep dcap_version linux-sgx*spec | head -1 | awk '{print $3}')
+dcap_version=$(grep dcap_base_version linux-sgx*spec | head -1 | awk '{print $3}')
 
 repack prebuilt_dcap_${dcap_version} \
        libcrypto.a \

diff --git a/sources b/sources
index 21b2f15..51df750 100644
--- a/sources
+++ b/sources
@@ -1,13 +1,14 @@
-SHA512 (DCAP_1.26.tar.gz) = 6a5ba7dc4f988be0c01fb652e42f88555dc3755441ed152821fb400b62d0307aa6dfdc01832ffcc13ed079bc6eb9446837bb803db60ea718d80d5083a0541902
-SHA512 (dcap-qvl-1.26.tar.gz) = 54535587ea2d28ba20a429b3e362f7a0cdc99d3cc7534009873d0825a9a22fd55d6ca51e96856791c017241769efa368205837bef6e539a82feaafcf1148749b
-SHA512 (intel-sgx-ssl-3.0_Rev5.2.tar.gz) = 9f15b88a24cc73a1be5698b6609083125a2e3d7bd38496099c7d8f9eb196a5ffdd5500eaa6e055550cf70e3678977f59b39745becdd14d91db44e7dd5290ac69
-SHA512 (ippcp_2021.12.1.tar.gz) = cdde7eed0f27b80663bf6a131abd8e6afcf16f0b9897ae12e251dc6bd3a9cc15c7666e4276eb4ba4b3b66fa93b5115c29537e176a6a2fb0de1b17cfcc1b7c426
+SHA512 (DCAP_1.27.1.tar.gz) = 4d4ad11a684461990080018308778f1ca81fbbbe28d9f09f9d6d4320128f4bf5cf3a5e7a700f310686504eb9c5e0e97346da78be262009e74f72a36e513529d5
+SHA512 (dcap-qvl-1.27.tar.gz) = 61ffa62a5f361392e8b02f27a745b05038821e39f20b0c816e673cc7745a2b5a4e27aef470c9848e6813fc69e14fb6e4ddb7912f2d75c1257b5b93f400d5508f
+SHA512 (intel-sgx-ssl-3.0_Rev5.4.tar.gz) = cefc205544fd9a9f97730c1be40ee3059c43442547782eec1138320481dbadb4e9a32ebeb1811e3b29b1863992e28e2f23f200c0eb6f47c6847718dfd3fc2c47
+SHA512 (ippcp_2.2.0.tar.gz) = b3c7fca81352361a23bde0e6931988e843648e9c4e141b5b1c047362c23e3fcd070cc8ff82e8633167b5f645d36d168b0950ae4f8ec7b642e2abd98fc5624642
 SHA512 (jwt-cpp-0.6.0.tar.gz) = b6d5ebb3a7eeb6fef9a1d41c707251d1ab05bf47920c280d5203f1b9ee5bf6f8e914cd2ffaed66550cfa6d78c34465d4cf86517a759d5f8739b429faf1c2c0ef
 SHA512 (libcbor-0.10.2.tar.gz) = 23c6177443778d4b4833ec7ed0d0e639a0d4863372e3a38d772fdce2673eae6d5cb2a31a2a021d1a699082ea53494977c907fd0e94149b97cb23a4b6d039228a
-SHA512 (linux-sgx-2.29.tar.gz) = 29c690218e92af379498b5ef8939553f6612e2e725598457a3df1daaba11dd5829429379824b8a9c1093dce6e37beea47e4ed33ce3a915317e99ad2dcba427c0
-SHA512 (openssl-3.0.19.tar.gz) = 6e602ac7217e1b4423793ee5c4c10745f70fcde3f9820d6c894ebeedb4f29566e2d0c3c590ae210484dcea4eb53db5bb8dbbfee14bbaca3e147406b1343c3cd7
-SHA512 (prebuilt_dcap_1.26-repacked.tar.gz) = 8bef3573919234e3de5848abd658ee12c343032b010a922547d7d2e3591ad2cc35e89380407ebd5e8ab58f50e4c47cde3e33c9c3a882312d63a044688e9b8968
+SHA512 (linux-sgx-2.30.1.tar.gz) = 588b4ee279c4b7d9dc9821a6cd06bdca8c720318471033521c610cd21e491bf31f71ea4d470b5f794424a2e91ad57e5482f34694ad3e6ef1334a5d6d4fe6a72b
+SHA512 (openssl-3.0.21.tar.gz) = 9be1c8c11a2d55417bb177804d1b5369aa54a9dcd2e136929509457d549697407ae9611079e94c61b58a95be598ce35b94edb336e050d1019e7269f4d2f52cda
+SHA512 (prebuilt_dcap_1.27-repacked.tar.gz) = de01c70de6d58a4fbe8b4cdbe7ade348d2a492c0f3068da611b2d20bb279557e1340de1d5b092a6737d1649efb6c55500cd2d0133091f1a121e2325243d8448f
 SHA512 (sgx-emm-1.0.3.tar.gz) = d5a11e430ddf8d6cae7665ef645d1280b5e61bc9b90c308c3ed32b622dd5ea383d17fd501a81850374c76062f1602b957d4585e5de885f0c9d05ab7bce013dfd
 SHA512 (tinyxml2-10.0.0.tar.gz) = a359d33bc12fad455b53d81011dbe12727cae0aabfaa5704f1a25807ca216dd854a571291029886c0beedeca5c3b6393dd49c4718773e18a0e008abbdb3de36a
-SHA512 (wasm-micro-runtime-1.0.0.tar.gz) = fb16a992b54f5c006be386b72ff65c680ededaafe7f2010db163b6e4365d198cc96f06ae60ac42986aaf45609803ffc1722308277474c341673e391f9bc4846e
+SHA512 (wasm-micro-runtime-2.4.4.tar.gz) = 2e4977060bda14ef3348e33dba73ed35df71d74773e252363f85f2d06ecbd7f6c19ba30685b89269d97c964f7a8987e2103fbdd42a96ad8ddd46d4f7efa8e4f1
 SHA512 (libcxxrt-4.0.10^20250225gita6f71cb.tar.gz) = bd725c27db2e3eafcef4f3dbb82a27abec23bed3171bc2667f4f339945c792ba16bd04a4dbe7232c6aba6e7dea91982337e8ff153a38dcec6ad093bb85f9eaa3
+SHA512 (sgx-sdk-2.30.tar.gz) = 99a92ac2c62eb1a89201b6054f91d5ef70ab3661c41b3b0e526fbbd443c38c00e4bc1e034908619c2d06ed4e3894561ec7b3920650554b9833560307b605d707

diff --git a/sync.sh b/sync.sh
new file mode 100755
index 0000000..6b0c1bc
--- /dev/null
+++ b/sync.sh
@@ -0,0 +1,44 @@
+#!/bin/sh
+
+set -e
+set -v
+
+mkdir -p src-git
+
+function syncgit {
+    reponame=$1
+    vertag=$2
+    tagbase=$3
+    startnum=$4
+
+    origin=https://github.com/intel/$reponame
+    srcgit=https://github.com/berrange/$reponame
+    ver=$(grep "%global $vertag" linux-sgx.spec | awk '{print $3}')
+
+    pushd .
+    cd src-git
+    if ! test -d $reponame
+    then
+	git clone $origin
+	cd $reponame
+	git remote add srcgit $srcgit
+    else
+	cd $reponame
+    fi
+    git fetch srcgit
+
+
+    tagname=$tagbase$ver
+    git format-patch --start-number=$startnum $tagname..srcgit/dist-git-$ver-hostsw
+    popd
+    mv src-git/$reponame/*.patch .
+}
+
+git rm -f *.patch
+syncgit confidential-computing.sgx linux_sgx_version "sgx_" 0
+syncgit confidential-computing.tee.dcap dcap_version "DCAP_" 100
+syncgit intel-sgx-ssl sgx_ssl_version "" 200
+syncgit cryptography-primitives ipp_crypto_version "v" 300
+syncgit confidential-computing.tee.dcap.qvl dcap_qvl_version "v" 400
+syncgit confidential-computing.sgx.sdk sgx_sdk_version "sgx_" 500
+git add *.patch

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-12 17:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-12 17:17 [rpms/linux-sgx] main: Rebase to 1.27 release 

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox