Commit Graph

4 Commits

Author SHA1 Message Date
Tee KOBAYASHI c1e7d87fd3 openssl-1.1: Update to 1.1.1o 2022-05-04 11:59:46 +09:00
Tee KOBAYASHI 9af42e07fb openssl-1.1: Update to 1.1.1n 2022-03-16 15:02:45 +09:00
Yaksh Bariya 2106f178a7
openssl-1.1: include LDFLAGS hack so that openssl1.1 binary can find openssl libraries 2022-02-26 11:05:09 +00:00
Yaksh Bariya 0608868e17 openssl: update to 3.0.1
Changes made:-
- OpenSSL has been updates to 3.0.1
- `openssl-1.1` package has been added for packages still needing the
  legacy version.

Any package that still needs legacy openssl-1.1 needs some extra CFLAGS,
CXXFLAGS, LDFLAGS and CPPFLAGS

CFLAGS="-I$TERMUX_PREFIX/include/openssl-1.1 $CFLAGS"
CXXFLAGS="-I$TERMUX_PREFIX/include/openssl-1.1 $CXXFLAGS"
CPPFLAGS="-I$TERMUX_PREFIX/include/openssl-1.1 $CPPFLAGS"
LDFLAGS="-L$TERMUX_PREFIX/lib/openssl-1.1 $LDFLAGS"

Additionally if the package by itself adds `-I$prefix/include` or
similar, it needs to be patched not to do so in order to prevent it from
using OpenSSL 3 headers

Similarly for LDFLAGS, make sure that package doesn't add
`-L$prefix/lib` and `-Wl,-rpath=$prefix/lib` before OpenSSL 1.1 LDFLAGS
nentioned above or else it will cause compilation errors
2022-02-26 04:25:43 +00:00