Commit Graph

11 Commits

Author SHA1 Message Date
Henrik Grimler 4de7428557
updpkg(main/openssl-1.1): 1.1.1s 2022-11-01 17:01:31 +01:00
Tee KOBAYASHI e664a7756a openssl{,-1.1}: Add comment about upstream withdrawal
%ci:no-build
2022-10-13 18:52:38 +09:00
Tee KOBAYASHI 531532a7b5 openssl-1.1: Bump epoch 2022-10-13 17:43:09 +09:00
Tee KOBAYASHI 0924c81f9f Revert "openssl-1.1: Bump to 1.1.1r"
This reverts commit 781d18b47e.
2022-10-13 17:40:48 +09:00
Tee KOBAYASHI 781d18b47e openssl-1.1: Bump to 1.1.1r 2022-10-13 00:28:04 +09:00
Yaksh Bariya f8761dd7ce
upgpkg(main/openssl{,-1.1}): update to latest security fix
Should not have any breaking changes, as they are just security fixes.
In case anything wrong is found out, will try to revert as soon as
possible
2022-08-28 07:59:23 +05:30
Jia Yuan Lo 035c918418
scripts: add termux_setup_gnu_as_23c for NDK r25 (#11615)
NDK r25 has removed GNU Assembler (GAS). Removal of GAS introduced a number of build issues.
The most prominent is:
/usr/bin/as: unrecognized option '-EL'

Some options to solve this:
1. Disable building custom assembly and suffer performance penalty
2. Hand rewrite the custom assembly to be LLVM compatible
3. Wait for upstream to write LLVM compatible assembly (openssl, openssl-1.1)
4. Bring back GAS from NDK r23c

In this commit, GAS is brought back as a separate toolchain instead of following NDK r23c file hierarchy.
We pass "--gcc-toolchain=GAS_TOOLCHAIN_DIR" to NDK r25 clang to detect.
Packages only have to add "termux_step_gnu_as_23c" to build.sh to enable GAS.
In the future, we expect packages should follow option 3 more than option 4 as that is a last resort.

This commit also bumps revision for packages that rely (or previously rely) on "-fno-integrated-as":
hors, libffi, libgcrypt, libpixman, openssl, openssl-1.1

Co-authored-by: Henrik Grimler <grimler@termux.dev>
Co-authored-by: Chongyun Lee <45286352+licy183@users.noreply.github.com>
2022-08-24 23:17:08 +08:00
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