From 00b8bf74af21c233faff9d2b5df49c9a8d236e0d Mon Sep 17 00:00:00 2001 From: Sascha Tommasone Date: Sun, 7 Jul 2024 16:37:36 +0200 Subject: [PATCH] [Assignment-7] setup script --- 7-SGX_Hands-on/src/setup | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 7-SGX_Hands-on/src/setup diff --git a/7-SGX_Hands-on/src/setup b/7-SGX_Hands-on/src/setup new file mode 100755 index 0000000..32f35ef --- /dev/null +++ b/7-SGX_Hands-on/src/setup @@ -0,0 +1,16 @@ +#!/bin/bash + +# download latest release +wget -O /tmp/openssl-3.3.1.tar.gz https://github.com/openssl/openssl/releases/download/openssl-3.3.1/openssl-3.3.1.tar.gz + +# unpack source +tar -xzvf /tmp/openssl-3.3.1.tar.gz -C /home/syssec/ +cd /home/syssec/openssl-3.3.1 + +# build from source with static linking options +./config --prefix=/usr/local/openssl-3.3.1 --static -static -fPIC +make -j6 + +# install openssl +sudo make install +