diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2019-02-26 17:04:25 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2019-02-28 16:07:10 +0300 |
commit | 0ca0851a01251b960ba19d958978004168f58593 (patch) | |
tree | d50cc7f7d17e1f1a79dd2c1026606ed23540222d /libcrypto/build | |
parent | 05e886fee177833f75d01ebf72f120021f71f130 (diff) |
Add implementation
Diffstat (limited to 'libcrypto/build')
-rw-r--r-- | libcrypto/build/.gitignore | 3 | ||||
-rw-r--r-- | libcrypto/build/bootstrap.build | 37 | ||||
-rw-r--r-- | libcrypto/build/export.build | 10 | ||||
-rw-r--r-- | libcrypto/build/root.build | 14 |
4 files changed, 64 insertions, 0 deletions
diff --git a/libcrypto/build/.gitignore b/libcrypto/build/.gitignore new file mode 100644 index 0000000..4a730a3 --- /dev/null +++ b/libcrypto/build/.gitignore @@ -0,0 +1,3 @@ +config.build +root/ +bootstrap/ diff --git a/libcrypto/build/bootstrap.build b/libcrypto/build/bootstrap.build new file mode 100644 index 0000000..12b55b2 --- /dev/null +++ b/libcrypto/build/bootstrap.build @@ -0,0 +1,37 @@ +# file : build/root.build +# copyright : Copyright (c) 2018-2019 Code Synthesis Ltd +# license : OpenSSL and SSLeay Licenses; see accompanying LICENSE file + +project = libcrypto + +using version +using config +using test +using install +using dist + +# As of 1.0.0 the OpenSSL version has the <major>.<minor>.<fix>[<patch>] form, +# where optional <patch> is a letter. The patch releases contain only bug and +# security fixes. Fix releases are likely to contain new features, but don't +# break ABI compatibility. This versioning scheme will change with the next +# major release 3.0.0 (2.0.0 will be skipped) to just <major>.<minor>.<patch>, +# with the ABI compatibility guaranteed across the minor releases. See also: +# +# https://www.openssl.org/policies/releasestrat.html +# https://www.openssl.org/blog/blog/2018/11/28/version/ +# +# The upstream version 1.1.1a, that we packaged initially, is not a semantic +# version. Not to mess with such a version, it seems reasonable for us to +# start with 1.1.1-a.0.z, release as 1.1.1 and, if required, followup with +# revisions, even for further letter-based upstream patches (that contain +# nothing more than just fixes). We also mention the "lettered" release in +# the package summary for information. +# +# There is no way to deduce the ABI version from the release version, so we +# obtain it from the SHLIB_VERSION_NUMBER macro definition in +# ../libcrypto/openssl/opensslv.h. +# +if ($version.major == 1 && $version.minor == 1 && $version.patch == 1) + abi_version = '1.1' +else + fail 'increment the ABI version?' diff --git a/libcrypto/build/export.build b/libcrypto/build/export.build new file mode 100644 index 0000000..2f9226f --- /dev/null +++ b/libcrypto/build/export.build @@ -0,0 +1,10 @@ +# file : build/root.build +# copyright : Copyright (c) 2018-2019 Code Synthesis Ltd +# license : OpenSSL and SSLeay Licenses; see accompanying LICENSE file + +$out_root/ +{ + include libcrypto/ +} + +export $out_root/libcrypto/$import.target diff --git a/libcrypto/build/root.build b/libcrypto/build/root.build new file mode 100644 index 0000000..f93eb56 --- /dev/null +++ b/libcrypto/build/root.build @@ -0,0 +1,14 @@ +# file : build/root.build +# copyright : Copyright (c) 2018-2019 Code Synthesis Ltd +# license : OpenSSL and SSLeay Licenses; see accompanying LICENSE file + +using in + +using c + +h{*}: extension = h +c{*}: extension = c + +# The test target for cross-testing (running tests under Wine, etc). +# +test.target = $c.target |