termux-packages/packages/openssl
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
..
add-trusted-certificate openssl: Add a add-trusted-certificate script 2019-09-30 22:49:37 +02:00
build.sh openssl: update to 3.0.1 2022-02-26 04:25:43 +00:00
Configurations-15-android.conf.patch openssl: update to 3.0.1 2022-02-26 04:25:43 +00:00
include-crypto-rand.h.patch openssl: update to 3.0.1 2022-02-26 04:25:43 +00:00
openssl-tool.subpackage.sh openssl: bump revision after 0d1170cc 2019-05-06 17:27:12 +03:00