aboutsummaryrefslogtreecommitdiffstats
path: root/chapter8/openssl.sh
blob: d7b5e9b5a4acc713f3fec0a63b6481ca4c1abd1a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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}"