2016-12-09 21:35:24 +00:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://www.gnutls.org/
|
2015-06-12 23:03:31 +00:00
|
|
|
TERMUX_PKG_DESCRIPTION="Secure communications library implementing the SSL, TLS and DTLS protocols and technologies around them"
|
2019-01-21 12:53:58 +00:00
|
|
|
TERMUX_PKG_LICENSE="LGPL-2.1"
|
2020-12-20 13:16:34 +00:00
|
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
2021-07-07 21:32:15 +00:00
|
|
|
TERMUX_PKG_VERSION=3.6.16
|
2022-01-16 12:14:50 +00:00
|
|
|
TERMUX_PKG_REVISION=2
|
2017-11-15 00:33:54 +00:00
|
|
|
TERMUX_PKG_SRCURL=https://www.gnupg.org/ftp/gcrypt/gnutls/v${TERMUX_PKG_VERSION:0:3}/gnutls-${TERMUX_PKG_VERSION}.tar.xz
|
2021-07-07 21:32:15 +00:00
|
|
|
TERMUX_PKG_SHA256=1b79b381ac283d8b054368b335c408fedcb9b7144e0c07f531e3537d4328f3b3
|
2022-01-16 12:14:50 +00:00
|
|
|
TERMUX_PKG_DEPENDS="libgmp, libnettle, ca-certificates, libidn2, libunistring, unbound, p11-kit"
|
2019-07-20 08:42:33 +00:00
|
|
|
TERMUX_PKG_BREAKS="libgnutls-dev"
|
|
|
|
TERMUX_PKG_REPLACES="libgnutls-dev"
|
2019-08-12 15:28:41 +00:00
|
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
2019-07-20 08:42:33 +00:00
|
|
|
|
2017-07-07 10:23:00 +00:00
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
2018-04-09 22:31:58 +00:00
|
|
|
--enable-cxx
|
2017-07-07 10:23:00 +00:00
|
|
|
--disable-hardware-acceleration
|
|
|
|
--disable-openssl-compatibility
|
|
|
|
--with-default-trust-store-file=$TERMUX_PREFIX/etc/tls/cert.pem
|
2018-06-19 13:31:54 +00:00
|
|
|
--with-system-priority-file=${TERMUX_PREFIX}/etc/gnutls/default-priorities
|
2021-11-26 04:08:59 +00:00
|
|
|
--with-unbound-root-key-file=$TERMUX_PREFIX/etc/unbound/root.key
|
2017-07-07 10:23:00 +00:00
|
|
|
--with-included-libtasn1
|
2021-05-29 11:41:04 +00:00
|
|
|
--enable-local-libopts
|
2020-04-03 15:30:41 +00:00
|
|
|
--disable-guile
|
2021-05-29 11:41:04 +00:00
|
|
|
--disable-doc
|
2017-07-07 10:23:00 +00:00
|
|
|
"
|
2019-01-27 08:39:07 +00:00
|
|
|
|
|
|
|
termux_step_pre_configure() {
|
|
|
|
CFLAGS+=" -DNO_INLINE_GETPASS=1"
|
|
|
|
}
|