From af28b78b8e659f995b39a5dde2ce2cef0da9fbe0 Mon Sep 17 00:00:00 2001 From: William Harrington Date: Tue, 6 Apr 2021 14:09:59 -0500 Subject: Add chapter8 script commands. --- chapter8/openssl.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'chapter8/openssl.sh') diff --git a/chapter8/openssl.sh b/chapter8/openssl.sh index 7a693aa..d7b5e9b 100644 --- a/chapter8/openssl.sh +++ b/chapter8/openssl.sh @@ -1,3 +1,16 @@ #!/bin/bash +./config --prefix=/usr \ + --openssldir=/etc/ssl \ + --libdir=lib \ + shared \ + zlib-dynamic +make + +sed -i '/INSTALL_LIBS/s/libcrypto.a libssl.a//' Makefile +make MANSUFFIX=ssl install + +mv -v /usr/share/doc/openssl /usr/share/doc/openssl-"${VERSION}" + +cp -vfr doc/* /usr/share/doc/openssl-"${VERSION}" -- cgit v1.2.3-54-g00ecf