aboutsummaryrefslogtreecommitdiffstats
path: root/chapter8/openssl.sh
blob: a0341f9b40bd636da486d4f62edd9b8829dc87de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash
set -e

./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}"