Commit | Line | Data |
---|---|---|
49f47dcc FF |
1 | # Status: Termux currently uses openssl. Transitioning to libressl |
2 | # is tempting, but on hold for now to see how widespread | |
3 | # the adoption of libressl in Linux distributions is. | |
51b31100 FF |
4 | TERMUX_PKG_HOMEPAGE=http://www.libressl.org/ |
5 | TERMUX_PKG_DESCRIPTION="Library implementing the TLS protocol as well as general purpose cryptography functions" | |
6 | TERMUX_PKG_DEPENDS="ca-certificates" | |
6a22be57 FF |
7 | TERMUX_PKG_VERSION=2.5.5 |
8 | TERMUX_PKG_SHA256=e57f5e3d5842a81fe9351b6e817fcaf0a749ca4ef35a91465edba9e071dce7c4 | |
51b31100 FF |
9 | TERMUX_PKG_SRCURL=http://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-${TERMUX_PKG_VERSION}.tar.gz |
10 | TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--with-openssldir=$TERMUX_PREFIX/etc/tls" | |
11 | TERMUX_PKG_CONFLICTS="openssl" | |
12 | # etc/tls/cert.pem is provided by ca-certificates: | |
13 | TERMUX_PKG_RM_AFTER_INSTALL="etc/tls/cert.pem" | |
14 | ||
067ae38b FF |
15 | termux_step_pre_configure() { |
16 | CPPFLAGS+=" -DNO_SYSLOG" | |
17 | } |