Commit Graph

70 Commits

Author SHA1 Message Date
Yaksh Bariya
6ec87d7b0a openssl: Add SONAME to shared libraries
Possible fix for #9174
2022-03-01 12:36:05 +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
Yaksh Bariya
710175df0a
Revert "openssl: Also install manpages (#8720)"
This reverts commit 6b95718c60.
2022-02-13 19:57:07 +05:30
YAKSH BARIYA
6b95718c60
openssl: Also install manpages (#8720)
Might be helpful for anyone working with openssl
2022-01-23 03:27:31 +00:00
flutcher22
1ae3a97a8e openssl: update to 1.1.1m 2022-01-17 10:54:47 +02:00
Lucinda May Phipps
5540e1894c
openssl:update to 1.1.1l 2021-09-04 06:49:34 +01:00
Lucy Phipps
17c9b24197
fix openssl patch, bump libcurl and ca-certificates 2021-04-13 18:29:16 +01:00
Lucy Phipps
5a18ff54a1
openssl: bump revision 2021-04-13 18:25:16 +01:00
Lucy Phipps
95fcd7125c
openssl: update to 1.1.1k 2021-04-13 17:58:50 +01:00
Leonid Pliushch
37375312b9
explicitly set maintainer for each package
In issue https://github.com/termux/termux-packages/issues/6160 I have found
that community repo "its-pointless.github.io" specifies us as maintainer
for its packages. This is NOT TRUE and potentially misleads people using
these packages.

Now TERMUX_PKG_MAINTAINER will contain a default value which is neutral
and not specify maintainer. So all packages now have to override it to
the correct value.

[skip ci]
%ci:no-build
2020-12-20 15:16:34 +02:00
Leonid Pliushch
ece0543505
openssl: update to 1.1.1i 2020-12-11 17:58:24 +02:00
Leonid Pliushch
ae0acaab33 openssl: update to 1.1.1h 2020-09-24 00:01:00 +03:00
Henrik Grimler
dcb926abd4 Copy LICENSE file for some licenses instead of using generic one (#5478)
* termux-licenses: remove licenses that contain copyright information

These licenses cannot be taken from the common termux-licenses package as the copyright information needs to be distributed with the package as well.

271 packages in the main repository needs to be rebuilt after this change.

* termux_step_install_license: remove duplicated comment

* Bump packages that has a license with copyright information

We need to include this copyright information in the package so need
to rebuild them now that termux_step_install_license has been
modified.

The affected licenses are: MIT, ISC, PythonPL, Openfont-1.1, ZLIB,
Libpng, BSD, BSD 2-Clause, BSD 3-Clause.

* zlib: extract license file from zlib.h

* xorgproto: include all individual license files in package

* libgcrypt: include LICENSE file in package

It contains some copyright information so needs to be included in package

* libcrypt: add a dummy BSD 2-Clause license

According to homepage it is suppose to be BSD 2-Clause, but original
project did not include a license file

* libandroid-spawn: add LICENSE file to package

* libandroid-glob: add license file to package

* licenses: allow for comma separated TERMUX_PKG_LICENSE_FILE

%ci:no-build

* libicu: fix so that termux_step_install_license finds license file

%ci:no-build

* termux_step_install_license: check for license file as "License"

%ci:no-build

* libtiff: specify TERMUX_PKG_LICENSE_FILE

%ci:no-build

* asciidoctor: install license to standard location

* krb5: specify license file

* libdb: specify path to license file

%ci:no-build

* libprotobuf: specify path to license file

* darkhttpd: extract license file from darkhttpd.c

* w3m: ensure host libraries are not picked up

* w3m: extract LICENSE file from dock/README

* liblua{,52}: extract license files from doc/readme.html

* termux_step_install_license: look for License.txt as well

* dart: specify path to LICENSE file

* nim: specify license file

* runit: specify license file

* termux_step_install_license: look for LICENSE.TXT as well

* ossp-uuid: extract LICENSE from README

* pigz: extract LICENSE from pigz.c

* ttyrec: extract LICENSE from ttyrec.c

%ci:no-build

* bmon: specify license files

Most of the source files are licensed under MIT, it is not clear (to me) which
parts that are licensed under BSD 2-Clause.

%ci:no-build

* wordgrinder: specify license files

* fdupes: add LICENSE

* autossh: add LICENSE patch

* cmake: specify LICENSE file

* dos2unix: specify LICENSE file

* gnuplot: specify LICENSE file

* termux_step_install_license: look for variants of "copyright" also

* picolisp: specify LICENSE file

* lua-lpeg: extract license file

* tidy: specify license file

* gflags: specify LICENSE file

* timewarrior: fix src url

It seems to have been changed.

* postgresql: specify license file

* ttyrec: fix license patch header

* fossil: specify license file

* fmt: specify license file

* i2pd: specify license file

* leptonica: specify license file

* imgflo: add license file patch

* ired: add license file from ired github repo

* libzen: specify license file

* libmediainfo: specify license file

* mediainfo: specify license file

* tty-clock: add license patch

* samefile: add license patch

* quickjs: add license patch

* docbook-xml: add LICENSE patch

* docbook-xsl: specify LICENSE files

* gnuplot: configure with --without-latex

* timewarrior: add libshared to SRCURL as well

The non-release archives does not contain gitsubmodules so we need to
download it manually.

* restic: switch back to using 0.9.6 archive

* dart: revert revision bump

dart's SDK does not fully support python3 yet, and trying to solve
that is not entirely trivial. We save the dart bump (and upgrade to
2.8.4) for another day.

%ci:no-build
2020-07-07 18:45:45 +02:00
Leonid Pliushch
9b0d1c597c openssl: build with zlib support 2020-06-14 18:58:01 +03:00
Fredrik Fornwall
6a7206f2dd openssl: Bump revision to trigger rebuild 2020-04-29 14:22:49 +02:00
Fredrik Fornwall
0526265483 openssl: Bump revision to trigger rebuild 2020-04-29 12:00:08 +02:00
Fredrik Fornwall
d4181872bd openssl: Update from 1.1.1f to 1.1.1g 2020-04-29 00:47:45 +02:00
Henrik Grimler
19407e6104 openssl: update to 1.1.1f (#5107) 2020-04-01 12:16:33 +02:00
Henrik Grimler
5ff68e884b openssl: add patch reverting behaviour change introduced in 1.1.1e (#5075)
* openssl: add patch reverting behaviour change introduced in 1.1.1e

Upstream issue: https://github.com/openssl/openssl/issues/11378

Quite a lot of programs needs to be fixed before they work with 1.1.1e.

Plan seem to be to release 1.1.1f shortly with this patch, and save the changes
for the next major release instead.

* openssl: update patch header
2020-03-26 15:33:27 +01:00
Leonid Pliushch
8c517c3e42 openssl: update to 1.1.1e 2020-03-19 21:25:13 +02:00
Leonid Pliushch
5123b0cffa fix formatting of some build.sh 2020-01-13 03:00:07 +02:00
Fredrik Fornwall
400f24d1ad openssl: Add a add-trusted-certificate script 2019-09-30 22:49:37 +02:00
Fredrik Fornwall
e0b81e9419 openssl: Update from 1.1.1c to 1.1.1d 2019-09-16 11:55:42 +02:00
Leonid Pliushch
c352216c63 packages: standardize values of several control variables for build.sh
Variables

 TERMUX_PKG_PLATFORM_INDEPENDENT
 TERMUX_DEBUG
 TERMUX_PKG_HAS_DEBUG
 TERMUX_PKG_ESSENTIAL
 TERMUX_SUBPKG_ESSENTIAL
 TERMUX_PKG_NO_STATICSPLIT
 TERMUX_PKG_BUILD_IN_SRC
 TERMUX_PKG_FORCE_CMAKE
 TERMUX_PKG_HOSTBUILD

should not accept arbitrary values for marking them "enabled". Instead
they should accept boolean values which makes them easier to handle and
also makes their meaning clear.

build-package.sh should make decision based on variable's value but not on
whether it is set or empty.

%ci:no-build
2019-08-12 18:49:13 +03:00
Leonid Pliushch
c81d4c8698 add stubs to prevent on-device building packages with dangerous operations in build.sh
%ci:no-build
2019-08-08 16:58:34 +03:00
Leonid Pliushch
6e70277fb3 no more develsplit + provide static libraries as separate package
%ci:no-build
2019-07-28 21:17:12 +03:00
Fredrik Fornwall
49e4083bd2 openssl: Use getauxval(3) for cpu capabilities 2019-06-24 20:55:18 +02:00
Fredrik Fornwall
cea6363b53 openssl: Update from 1.1.1b to 1.1.1c 2019-05-29 23:05:23 +02:00
Leonid Pliushch
ce9a4847c5 openssl: bump revision after 0d1170cc 2019-05-06 17:27:12 +03:00
Fredrik Fornwall
ec1d67595d openssl: Ensure folder exists 2019-04-27 22:54:15 +02:00
Henrik Grimler
803f92acf9 openssl: declare that it breaks openssl-tool << 1.1.1b-1
To not get errors on apt update && apt upgrade
2019-03-09 07:49:15 +01:00
Fredrik Fornwall
6e6e469f3a openssl: Bump revision after openssl.cnf move
See https://github.com/termux/termux-packages/pull/3432
2019-03-04 19:26:26 +01:00
Leonid Pliushch
58a53ecedf openssl: put openssl.cnf to main package 2019-03-03 18:29:25 +02:00
Fredrik Fornwall
0ca5137581 openssl: Update from 1.1.1a to 1.1.1b 2019-03-01 21:36:11 +01:00
Wetitpig
5f07ac4eb9 Change permissions 2019-02-09 21:06:31 +02:00
Wetitpig
5f8864c10d Improve formatting of parantheses for functions 2019-02-09 21:06:31 +02:00
Leonid Pliushch
46d333adba add licenses for more packages 2019-01-21 17:17:53 +02:00
Fredrik Fornwall
bc28ce6c6e openssl: Update from 1.1.1 to 1.1.1a 2018-11-21 23:36:34 +01:00
Leonid Pliushch
15c576546d openssl: build with 'engine support'
Closes https://github.com/termux/termux-packages/issues/2847.
2018-11-14 00:48:28 +01:00
Fredrik Fornwall
dfbfbb0eed openssl-tool: Bundle openssl.cnf (fixes #2865) 2018-09-21 01:01:06 +02:00
Fredrik Fornwall
de09dafea4 openssl: Build with -fno-integrated-as for arm 2018-09-19 23:46:16 +02:00
Fredrik Fornwall
a38fac51ce openssl: Fix broken Configuration patch 2018-09-14 22:16:09 +02:00
Fredrik Fornwall
23774ece51 libcurl&openssl: Make sure curl is not broken
The updated openssl package now conflicts with "libcurl (<< 7.61.0-1)",
so no one will get openssl 1.1.1 without also getting an updated libcurl
7.61.1-1 linking against it.

From the other direction the new libcurl depends on
"openssl (>= 1.1.1)", so no one will get libcurl 7.61.1-1 without also
getting the updated openssl 1.1.1 which it uses.
2018-09-12 00:01:19 +02:00
Fredrik Fornwall
fd72a74c42 openssl: Update from 1.0.2 to 1.1.1 (#2775) 2018-09-11 22:43:19 +02:00
Fredrik Fornwall
b9d4e1b84f openssl: Update from 1.0.2o to 1.0.2p 2018-08-15 17:35:53 +02:00
Fredrik Fornwall
b59eb21d99 Quote $TERMUX_ARCH when used in toplevel script 2018-08-13 22:25:02 +02:00
Leonid Pliushch
b7ecf01d51 openssl: fix paths for '/etc/egd-pool' and '/etc/entropy' 2018-06-20 23:36:41 +02:00
Vishal Biswas
160d3aeb06 update ndk to 17 and switch some packages to clang build (#2415)
* update ndk to 17

* bump NDK version in setup-android script

* libnl: fix for ndk r17

* libpixman: use clang's __builtin_shufflevector instead of __builtin_shuffle (#1)

Required to make package build with ndk17.

* fix as for arm

* ndk17 still uses ld.bfd on aarch64

* use -fno-integrated-as for clang only

* glib: remove patch unnecessary after ndk17

* torsocks: remove unneeded patch after ndk17

* subversion: fix build as clang++ now errors out for mismatched flags

* libpulseaudio: fix build with ndk17

https://github.com/termux/termux-packages/pull/2415#issuecomment-388296684

* gst-plugins-good: disable video4linux2

ioctl is defined as __overloadable in ndk17 headers which
  conflicts with v4l2object's member ioctl

* libzmq: disable Werror to build with ndk17

* ltrace: hardcode symbol not available in ndk17

* busybox: build with clang for all arches except arm

* dropbear: build with clang instead of gcc

* gnupg: build with clang instead of gcc

* openssl: use clang for all arches except arm

* picolisp: build with clang instead of gcc

* valgrind: use clang on all arches except aarch64

* Revert "gst-plugins-good: disable video4linux2"

This reverts commit 43850b81ccf60033c25cb13dfd326c1b0528773a.
Already applied on base branch.

* libllvm: use default arm triple
2018-05-27 14:55:20 +02:00
Fredrik Fornwall
0c88d75c6f openssl: Update from 1.0.2n to 1.0.2o 2018-03-30 22:44:10 +02:00
Fredrik Fornwall
9e6bae5250 openssl: Update from 1.0.2m to 1.0.2n 2017-12-08 09:49:15 +01:00