diff options
Diffstat (limited to 'build.sh')
-rw-r--r-- | build.sh | 18 |
1 files changed, 16 insertions, 2 deletions
@@ -32,12 +32,21 @@ sudo apt-get -y install \ default-jdk \ libgcrypt20-dev -export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/ +wget https://www.openssl.org/source/openssl-1.1.0.tar.gz +gzip -d openssl-1.1.0.tar.gz +tar -xvf openssl-1.1.0.tar +cd openssl-1.1.0 && \ + ./config --prefix=/usr/local/ssl --openssldir=/usr/local/ssl && \ + make && \ +sudo make install +cd .. + +export LD_LIBRARY_PATH=/usr/local/ssl/lib echo "Build SoftHSMv2..." cd SoftHSMv2 sh autogen.sh -./configure --disable-gost --with-openssl=/usr/local/ +./configure --disable-gost --with-openssl=/usr/local/ssl make make check sudo make install @@ -88,3 +97,8 @@ cd TPM2-Plugin sudo make install cd .. sudo ldconfig + +echo "Build Duplicate Utility tool" +cd tpm-util/duplicate +make -f sampleMakefile + |