From 63c354198582dc80c75ddff9fd2cc336b0890d5c Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Wed, 20 Sep 2023 05:44:06 +0200 Subject: gnutls: update to 3.8.1 --- package/gnutls/Makefile | 9 ++++----- package/gnutls/patches/0001-uclibc.patch | 32 -------------------------------- 2 files changed, 4 insertions(+), 37 deletions(-) delete mode 100644 package/gnutls/patches/0001-uclibc.patch (limited to 'package/gnutls') diff --git a/package/gnutls/Makefile b/package/gnutls/Makefile index 0465f6c59..9d3af650c 100644 --- a/package/gnutls/Makefile +++ b/package/gnutls/Makefile @@ -4,16 +4,16 @@ include $(ADK_TOPDIR)/rules.mk PKG_NAME:= gnutls -PKG_VERSION:= 3.6.16 +PKG_VERSION:= 3.8.1 PKG_RELEASE:= 1 -PKG_HASH:= 1b79b381ac283d8b054368b335c408fedcb9b7144e0c07f531e3537d4328f3b3 +PKG_HASH:= ba8b9e15ae20aba88f44661978f5b5863494316fe7e722ede9d069fe6294829c PKG_DESCR:= transport layer security library PKG_SECTION:= libs/crypto PKG_DEPENDS:= libgcrypt libtasn1 zlib libnettle libgmp libunistring PKG_BUILDDEP:= libgcrypt liblzo libtasn1 PKG_BUILDDEP+= zlib ncurses libnettle libunistring PKG_URL:= http://www.gnutls.org/ -PKG_SITES:= https://www.gnupg.org/ftp/gcrypt/gnutls/v3.6/ +PKG_SITES:= https://www.gnupg.org/ftp/gcrypt/gnutls/v3.8/ PKG_LIBNAME:= libgnutls PKG_OPTS:= dev @@ -41,7 +41,6 @@ CONFIGURE_ARGS+= --disable-rpath \ --disable-doc \ --disable-tests \ --disable-seccomp-tests \ - --with-libunistring-prefix='$(STAGING_TARGET_DIR)/usr' \ --without-libz-prefix \ --without-p11-kit CONFIGURE_ENV+= ac_cv_prog_AR='$(TARGET_CROSS)ar' @@ -52,7 +51,7 @@ libgnutls-install: gnutls-utils-install: $(INSTALL_DIR) $(IDIR_GNUTLS_UTILS)/usr/bin - $(CP) $(WRKINST)/usr/bin/{{cert,srp,psk}tool,gnutls-{cli,serv}} \ + $(CP) $(WRKINST)/usr/bin/{{cert,psk}tool,gnutls-{cli,serv}} \ $(IDIR_GNUTLS_UTILS)/usr/bin include $(ADK_TOPDIR)/mk/pkg-bottom.mk diff --git a/package/gnutls/patches/0001-uclibc.patch b/package/gnutls/patches/0001-uclibc.patch deleted file mode 100644 index b1b90016a..000000000 --- a/package/gnutls/patches/0001-uclibc.patch +++ /dev/null @@ -1,32 +0,0 @@ -diff -ur gnutls-3.6.16.orig/gl/fopen.c gnutls-3.6.16/gl/fopen.c ---- gnutls-3.6.16.orig/gl/fopen.c 2021-05-24 10:04:41.000000000 +0200 -+++ gnutls-3.6.16/gl/fopen.c 2021-10-29 14:28:33.850290352 +0200 -@@ -19,12 +19,10 @@ - /* If the user's config.h happens to include , let it include only - the system's here, so that orig_fopen doesn't recurse to - rpl_fopen. */ --#define __need_FILE - #include - - /* Get the original definition of fopen. It might be defined as a macro. */ - #include --#undef __need_FILE - - static FILE * - orig_fopen (const char *filename, const char *mode) -diff -ur gnutls-3.6.16.orig/src/gl/fopen.c gnutls-3.6.16/src/gl/fopen.c ---- gnutls-3.6.16.orig/src/gl/fopen.c 2021-05-24 10:05:13.000000000 +0200 -+++ gnutls-3.6.16/src/gl/fopen.c 2021-10-29 14:28:41.435290892 +0200 -@@ -19,12 +19,10 @@ - /* If the user's config.h happens to include , let it include only - the system's here, so that orig_fopen doesn't recurse to - rpl_fopen. */ --#define __need_FILE - #include - - /* Get the original definition of fopen. It might be defined as a macro. */ - #include --#undef __need_FILE - - static FILE * - orig_fopen (const char *filename, const char *mode) -- cgit v1.2.3