742d86b568
Not necessary after __USE_FORTIFY_LEVEL is set. No need to rebuild any packages for this though: %ci:no-build
27 lines
1022 B
Bash
27 lines
1022 B
Bash
TERMUX_PKG_HOMEPAGE=https://www.gnutls.org/
|
|
TERMUX_PKG_DESCRIPTION="Secure communications library implementing the SSL, TLS and DTLS protocols and technologies around them"
|
|
TERMUX_PKG_LICENSE="LGPL-2.1"
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
|
TERMUX_PKG_VERSION=3.6.15
|
|
TERMUX_PKG_SRCURL=https://www.gnupg.org/ftp/gcrypt/gnutls/v${TERMUX_PKG_VERSION:0:3}/gnutls-${TERMUX_PKG_VERSION}.tar.xz
|
|
TERMUX_PKG_SHA256=0ea8c3283de8d8335d7ae338ef27c53a916f15f382753b174c18b45ffd481558
|
|
TERMUX_PKG_DEPENDS="libgmp, libnettle, ca-certificates, libidn2, libunistring"
|
|
TERMUX_PKG_BREAKS="libgnutls-dev"
|
|
TERMUX_PKG_REPLACES="libgnutls-dev"
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
|
--enable-cxx
|
|
--disable-hardware-acceleration
|
|
--disable-openssl-compatibility
|
|
--with-default-trust-store-file=$TERMUX_PREFIX/etc/tls/cert.pem
|
|
--with-system-priority-file=${TERMUX_PREFIX}/etc/gnutls/default-priorities
|
|
--with-included-libtasn1
|
|
--without-p11-kit
|
|
--disable-guile
|
|
"
|
|
|
|
termux_step_pre_configure() {
|
|
CFLAGS+=" -DNO_INLINE_GETPASS=1"
|
|
}
|