[openssl-commits] [tools] master update
Richard Levitte
levitte at openssl.org
Mon Jul 16 08:17:14 UTC 2018
The branch master has been updated
via 45ea2185ce1a2f39c6fb72abd076dbb191b0d016 (commit)
from 5f62625fdbc9dba7d402ea9d5ee91f5b8280df50 (commit)
- Log -----------------------------------------------------------------
commit 45ea2185ce1a2f39c6fb72abd076dbb191b0d016
Author: Richard Levitte <levitte at openssl.org>
Date: Sat Jul 14 11:47:17 2018 +0200
run-checker: Add script to build gost.so
It gets built against a 1.1.0 build, on purpose to check that it links
and runs correctly against any libcrypto.so.1.1.
Fixes #21
Reviewed-by: Rich Salz <rsalz at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22)
-----------------------------------------------------------------------
Summary of changes:
run-checker/build-gost.sh | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
create mode 100755 run-checker/build-gost.sh
diff --git a/run-checker/build-gost.sh b/run-checker/build-gost.sh
new file mode 100755
index 0000000..f3d205f
--- /dev/null
+++ b/run-checker/build-gost.sh
@@ -0,0 +1,39 @@
+#! /bin/bash
+#
+# Run in a directory for a gost engine build.
+# Two subdirectories will be created:
+#
+# gost-engine a checkout of https://github.com/gost-engine/engine.git
+# openssl a checkout of https://github.com/openssl/openssl.git
+#
+# Required ubuntu packages to run this script:
+#
+# build-essential
+# cmake
+# perl
+# git
+
+if [ -d openssl ]; then
+ (cd openssl; git pull --rebase)
+else
+ git clone -b OpenSSL_1_1_0-stable --depth 1 --single-branch \
+ https://github.com/openssl/openssl.git openssl
+fi
+
+if [ -d gost-engine ]; then
+ (cd gost-engine; git pull --rebase)
+else
+ git clone https://github.com/gost-engine/engine.git gost-engine
+fi
+
+OPENSSL_PREFIX=$(pwd)/openssl/_install
+(
+ cd openssl
+ ./config --prefix=$OPENSSL_PREFIX \
+ && make -j8 build_libs \
+ && make install_dev
+) && (
+ cd gost-engine
+ cmake -DOPENSSL_ROOT_DIR=$OPENSSL_PREFIX .
+ make
+)
More information about the openssl-commits
mailing list