Initial commit
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
# https://gnutls.org/manual/html_node/Enabling_002fDisabling-system_002facceleration-protocols.html#Enabling-KTLS
|
||||
#
|
||||
# GnuTLS is built with -–enable-ktls configuration, KTLS is disabled by default.
|
||||
# This can be enabled by setting ktls = true in [global] section.
|
||||
#
|
||||
|
||||
[global]
|
||||
ktls = false
|
||||
#ktls = true
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,58 @@
|
||||
[build]
|
||||
type = "autotools"
|
||||
|
||||
[build.flags]
|
||||
configure = [
|
||||
"--with-idn",
|
||||
"--with-brotli",
|
||||
"--with-zstd",
|
||||
"--without-tpm2",
|
||||
"--enable-openssl-compatibility",
|
||||
"--with-default-trust-store-pkcs11=pkcs11:",
|
||||
"--enable-ktls",
|
||||
"--with-leancrypto",
|
||||
"--disable-tests"
|
||||
]
|
||||
post_configure = ['''sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool''']
|
||||
post_install = [
|
||||
"install -dm755 $DESTDIR/etc/gnutls",
|
||||
"install -Dm644 $DEPOT_SPECDIR/config $DESTDIR/etc/gnutls/config",
|
||||
]
|
||||
keep = [ "etc/gnutls/config" ]
|
||||
no-compress-man = true
|
||||
skip_tests = true
|
||||
|
||||
[dependencies]
|
||||
optional = ["tpm2-tss"]
|
||||
runtime = [
|
||||
"glibc",
|
||||
"gmp",
|
||||
"libtasn1",
|
||||
"zlib-ng",
|
||||
"nettle",
|
||||
"leancrypto",
|
||||
"libcxx",
|
||||
"libunwind",
|
||||
"p11-kit",
|
||||
"libidn2",
|
||||
"zstd",
|
||||
"libunistring",
|
||||
"brotli",
|
||||
]
|
||||
|
||||
[[manual_sources]]
|
||||
files = [ "config", "gnutls-3.8.12-nettle-4.0-compat.patch" ]
|
||||
|
||||
[package]
|
||||
description = "A library which provides a secure layer over a reliable transport layer"
|
||||
homepage = "https://www.gnutls.org/"
|
||||
license = "GPL-3.0-or-later AND LGPL-2.1-or-later"
|
||||
name = "gnutls"
|
||||
version = "3.8.12"
|
||||
|
||||
[[source]]
|
||||
extract_dir = "$name-$version"
|
||||
sha256 = "a7b341421bfd459acf7a374ca4af3b9e06608dcd7bd792b2bf470bea012b8e51"
|
||||
url = "https://www.gnupg.org/ftp/gcrypt/gnutls/v3.8/gnutls-$version.tar.xz"
|
||||
patches = [ "gnutls-3.8.12-nettle-4.0-compat.patch" ]
|
||||
|
||||
Reference in New Issue
Block a user