libressl: Update the disabled package and add note
[termux-packages] / disabled-packages / libressl / build.sh
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.
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"
7 TERMUX_PKG_VERSION=2.5.1
8 TERMUX_PKG_SRCURL=http://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-${TERMUX_PKG_VERSION}.tar.gz
9 TERMUX_PKG_SHA256=f71ae0a824b78fb1a47ffa23c9c26e9d96c5c9b29234eacedce6b4c7740287cd
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
15 termux_step_pre_configure() {
16 CPPFLAGS+=" -DNO_SYSLOG"
17 }