mirror of
https://github.com/termux/termux-packages.git
synced 2024-11-11 13:09:18 +00:00
20 lines
916 B
Bash
20 lines
916 B
Bash
# Status: Termux currently uses openssl. Transitioning to libressl
|
|
# is tempting, but on hold for now to see how widespread
|
|
# the adoption of libressl in Linux distributions is.
|
|
TERMUX_PKG_HOMEPAGE=https://www.libressl.org/
|
|
TERMUX_PKG_DESCRIPTION="Library implementing the TLS protocol as well as general purpose cryptography functions"
|
|
TERMUX_PKG_LICENSE="OpenSSL, ISC"
|
|
TERMUX_PKG_MAINTEINER="@termux"
|
|
TERMUX_PKG_VERSION=2.5.5
|
|
TERMUX_PKG_SRCURL=https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-${TERMUX_PKG_VERSION}.tar.gz
|
|
TERMUX_PKG_SHA256=e57f5e3d5842a81fe9351b6e817fcaf0a749ca4ef35a91465edba9e071dce7c4
|
|
TERMUX_PKG_DEPENDS="ca-certificates"
|
|
TERMUX_PKG_CONFLICTS="openssl"
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--with-openssldir=$TERMUX_PREFIX/etc/tls"
|
|
# etc/tls/cert.pem is provided by ca-certificates:
|
|
TERMUX_PKG_RM_AFTER_INSTALL="etc/tls/cert.pem"
|
|
|
|
termux_step_pre_configure() {
|
|
CPPFLAGS+=" -DNO_SYSLOG"
|
|
}
|