aboutsummaryrefslogtreecommitdiffstats
path: root/chapter8/openssl.sh
blob: b5b85ddd5f58b88344f51b1f8c4e0cc181d1c61c (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}"