summaryrefslogtreecommitdiff
path: root/libssl/README-DEV
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2019-02-26 17:04:25 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2019-02-28 16:07:10 +0300
commit0ca0851a01251b960ba19d958978004168f58593 (patch)
treed50cc7f7d17e1f1a79dd2c1026606ed23540222d /libssl/README-DEV
parent05e886fee177833f75d01ebf72f120021f71f130 (diff)
Add implementation
Diffstat (limited to 'libssl/README-DEV')
-rw-r--r--libssl/README-DEV15
1 files changed, 15 insertions, 0 deletions
diff --git a/libssl/README-DEV b/libssl/README-DEV
new file mode 100644
index 0000000..92f97bc
--- /dev/null
+++ b/libssl/README-DEV
@@ -0,0 +1,15 @@
+This document describes how libssl was packaged for build2. In particular,
+this understanding will be useful when upgrading to a new upstream version.
+See ../README-DEV for general notes on OpenSSL packaging.
+
+Symlink the required upstream files and directories into libssl/:
+
+$ mkdir libssl/openssl
+$ ln -s ../../../upstream/include/openssl/{dtls1,srtp,ssl2,ssl3,sslerr,ssl}.h \
+ libssl/openssl
+$ ln -s ../../upstream/{ssl,include/internal,e_os.h} libssl
+
+Note that we take the libssl headers list from ../libcrypto/README-DEV.
+
+Copy upstream's auto-generated libssl.map and libssl.def into libssl/. Comment
+out the "LIBRARY libssl-1_1-x64" line in libssl.def.