[libgnutls] Update to 3.8.10 (#47078)

This commit is contained in:
Kai Pastor 2025-08-27 05:53:42 +02:00 committed by GitHub
parent 80e9c9d21b
commit 51a6039589
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 30 additions and 33 deletions

View File

@ -1,21 +0,0 @@
diff --git a/configure.ac b/configure.ac
index 95ec4c1..67fa771 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1157,6 +1157,8 @@ if test x$ac_brotli != xno; then
fi
else
AC_MSG_RESULT(no)
+ with_libbrotlienc=no
+ with_libbrotlidec=no
fi
AM_CONDITIONAL(HAVE_LIBBROTLI, test "$with_libbrotlienc" != "no" && test "$with_libbrotlidec" != "no")
@@ -1202,6 +1204,7 @@ if test x$ac_zstd != xno; then
fi
else
AC_MSG_RESULT(no)
+ with_libzstd=no
fi
AM_CONDITIONAL(HAVE_LIBZSTD, test "$with_libzstd" != "no")

View File

@ -5,7 +5,7 @@ vcpkg_download_distfile(tarball
"https://mirrors.dotsrc.org/gcrypt/gnutls/v${GNUTLS_BRANCH}/gnutls-${VERSION}.tar.xz"
"https://www.mirrorservice.org/sites/ftp.gnupg.org/gcrypt/gnutls/v${GNUTLS_BRANCH}/gnutls-${VERSION}.tar.xz"
FILENAME "gnutls-${VERSION}.tar.xz"
SHA512 429cea78e227d838105791b28a18270c3d2418bfb951c322771e6323d5f712204d63d66a6606ce9604a92d236a8dd07d651232c717264472d27eb6de26ddc733
SHA512 d453bd4527af95cb3905ce8753ceafd969e3f442ad1d148544a233ebf13285b999930553a805a0511293cc25390bb6a040260df5544a7c55019640f920ad3d92
)
vcpkg_extract_source_archive(SOURCE_PATH
ARCHIVE "${tarball}"
@ -13,7 +13,6 @@ vcpkg_extract_source_archive(SOURCE_PATH
PATCHES
ccasflags.patch
use-gmp-pkgconfig.patch
compression-libs.diff
)
vcpkg_list(SET options)
@ -37,9 +36,11 @@ if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
endif()
set(ENV{GTKDOCIZE} true) # true, the program
vcpkg_configure_make(
set(ENV{YACC} false) # false, the program - not used here
vcpkg_make_configure(
SOURCE_PATH "${SOURCE_PATH}"
AUTOCONFIG
AUTORECONF
OPTIONS
--disable-dependency-tracking
--disable-doc
@ -49,25 +50,33 @@ vcpkg_configure_make(
--disable-rpath
--disable-tests
--with-brotli=no
--with-liboqs=no
--with-p11-kit=no
--with-tpm=no
--with-tpm2=no
--with-zlib=link
--with-zstd=no
--with-zlib=yes
${options}
YACC=false # false, the program - not used here
OPTIONS_DEBUG
--disable-tools
)
vcpkg_install_make()
vcpkg_make_install()
vcpkg_fixup_pkgconfig()
vcpkg_copy_tool_dependencies("${CURRENT_PACKAGES_DIR}/tools/${PORT}/bin")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
vcpkg_install_copyright(
COMMENT [[
The main libraries (libgnutls and libdane) are released under the
GNU Lesser General Public License version 2.1 or later
(LGPLv2+, see COPYING.LESSERv2 for the license terms), and
the gnutls-openssl extra library and the application are under the
GNU General Public License version 3 or later
(GPLv3+, see COPYING for the license terms),
unless otherwise specified in the indivual source files.
]]
FILE_LIST
"${SOURCE_PATH}/LICENSE"
"${SOURCE_PATH}/doc/COPYING"
"${SOURCE_PATH}/doc/COPYING.LESSER"
"${SOURCE_PATH}/COPYING.LESSERv2"
"${SOURCE_PATH}/COPYING"
)

View File

@ -1,6 +1,6 @@
{
"name": "libgnutls",
"version": "3.8.7.1",
"version": "3.8.10",
"description": "A secure communications library implementing the SSL, TLS and DTLS protocols.",
"homepage": "https://www.gnutls.org/",
"license": null,
@ -11,6 +11,10 @@
"libtasn1",
"libunistring",
"nettle",
{
"name": "vcpkg-make",
"host": true
},
"zlib"
],
"features": {

View File

@ -4853,7 +4853,7 @@
"port-version": 0
},
"libgnutls": {
"baseline": "3.8.7.1",
"baseline": "3.8.10",
"port-version": 0
},
"libgo": {

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "09964db14750ce0b11e2c267dd102ff9d2130e46",
"version": "3.8.10",
"port-version": 0
},
{
"git-tree": "ba7c9b755cc48b6ed880a9fc16a7c8d559a4894e",
"version": "3.8.7.1",