2016-09-22 20:40:58 +02:00
|
|
|
#!/bin/bash
|
|
|
|
#
|
|
|
|
#
|
|
|
|
|
2016-09-24 11:07:58 +02:00
|
|
|
VERSION="1.1.0a"
|
2016-09-22 20:40:58 +02:00
|
|
|
URL="https://www.openssl.org/source/openssl-${VERSION}.tar.gz"
|
|
|
|
LOCAL_TARGZ="openssl-${VERSION}.tar.gz"
|
|
|
|
LOCAL_DIR="openssl-${VERSION}"
|
|
|
|
|
|
|
|
if [ ! -f "$LOCAL_TARGZ" ]; then
|
|
|
|
wget "$URL"
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [ ! -d "$LOCAL_DIR" ]; then
|
|
|
|
tar xfz "$LOCAL_TARGZ"
|
|
|
|
cd "$LOCAL_DIR"
|
|
|
|
./config
|
|
|
|
make -j 16
|
|
|
|
fi
|