diff options
author | Brent Cook <busterb@gmail.com> | 2020-06-12 10:34:01 -0500 |
---|---|---|
committer | Brent Cook <busterb@gmail.com> | 2020-06-12 10:42:59 -0500 |
commit | aa6440a9b086faa9ee555046c2c006534e01eaf7 (patch) | |
tree | 6c5c5c811322eabdb02db2e06cb316e24ba14e8c | |
parent | f371858839fff62571a6344a8b659f12fee25163 (diff) | |
download | portable-3.1.3.tar.gz portable-3.1.3.tar.bz2 portable-3.1.3.zip |
move override to patches so we still start with a clean slate with dist.shv3.1.3
-rw-r--r-- | patches/opensslv.h | 18 | ||||
-rwxr-xr-x | update.sh | 4 |
2 files changed, 21 insertions, 1 deletions
diff --git a/patches/opensslv.h b/patches/opensslv.h new file mode 100644 index 0000000..6303d4a --- /dev/null +++ b/patches/opensslv.h | |||
@@ -0,0 +1,18 @@ | |||
1 | /* $OpenBSD: opensslv.h,v 1.57.4.1 2020/05/21 02:27:34 bcook Exp $ */ | ||
2 | #ifndef HEADER_OPENSSLV_H | ||
3 | #define HEADER_OPENSSLV_H | ||
4 | |||
5 | /* These will change with each release of LibreSSL-portable */ | ||
6 | #define LIBRESSL_VERSION_NUMBER 0x3010300fL | ||
7 | /* ^ Patch starts here */ | ||
8 | #define LIBRESSL_VERSION_TEXT "LibreSSL 3.1.3" | ||
9 | |||
10 | /* These will never change */ | ||
11 | #define OPENSSL_VERSION_NUMBER 0x20000000L | ||
12 | #define OPENSSL_VERSION_TEXT LIBRESSL_VERSION_TEXT | ||
13 | #define OPENSSL_VERSION_PTEXT " part of " OPENSSL_VERSION_TEXT | ||
14 | |||
15 | #define SHLIB_VERSION_HISTORY "" | ||
16 | #define SHLIB_VERSION_NUMBER "1.0.0" | ||
17 | |||
18 | #endif /* HEADER_OPENSSLV_H */ | ||
@@ -138,7 +138,9 @@ copy_hdrs $libcrypto_src "stack/stack.h lhash/lhash.h stack/safestack.h | |||
138 | copy_hdrs $libssl_src "srtp.h ssl.h ssl2.h ssl3.h ssl23.h tls1.h dtls1.h" | 138 | copy_hdrs $libssl_src "srtp.h ssl.h ssl2.h ssl3.h ssl23.h tls1.h dtls1.h" |
139 | 139 | ||
140 | # override upstream opensslv.h if a local version exists | 140 | # override upstream opensslv.h if a local version exists |
141 | if [ ! -f include/openssl/opensslv.h ]; then | 141 | if [ -f patches/opensslv.h ]; then |
142 | $CP patches/opensslv.h include/openssl | ||
143 | else | ||
142 | $CP $libcrypto_src/opensslv.h include/openssl | 144 | $CP $libcrypto_src/opensslv.h include/openssl |
143 | fi | 145 | fi |
144 | 146 | ||