From f501652fccf4e8e2eef0555d2fd413206150de06 Mon Sep 17 00:00:00 2001 From: Erick Hitter <git-contrib@ethitter.com> Date: Sat, 23 Feb 2019 12:53:05 -0800 Subject: [PATCH] Introduce first dependency, OpenSSL --- scripts/build.sh | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/scripts/build.sh b/scripts/build.sh index 358e13b..98ed2b6 100644 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -1,12 +1,25 @@ #!/usr/bin/env bash +# Log when the build occurred. date +# Capture our starting point for easier navigation. OG_DIR=$(pwd) export OG_DIR - echo "$OG_DIR" -ls -la "$OG_DIR" -ls -la "$OG_DIR/../." -ls -la ~/ +# Organization +mkdir "$OG_DIR/src" + +# Common directories. +OPENSSL_DIR="$OG_DIR/src/openssl" +export OPENSSL_DIR + +# Dependency: OpenSSL +echo "Checking out OpenSSL" +git clone https://github.com/openssl/openssl.git -b "$OPENSSL_TAG" "$OPENSSL_DIR" +cd "$OPENSSL_DIR" || exit +./Configure + +# Dependency: ngx_brotli +# Dependency: nginx-ct -- GitLab