include $(TOPDIR)/rules.mk
PKG_NAME:=nettle
-PKG_VERSION:=3.9.1
+PKG_VERSION:=3.10.1
PKG_RELEASE:=1
PKG_BUILD_FLAGS:=no-mips16
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@GNU/nettle
-PKG_HASH:=ccfeff981b0ca71bbd6fbcb054f407c60ffb644389a5be80d6716d5b550c6ce3
+PKG_HASH:=b0fcdd7fc0cdea6e80dcf1dd85ba794af0d5b4a57e26397eee3bc193272d9132
PKG_LICENSE:=GPL-2.0-or-later
PKG_LICENSE_FILES:=COPYING
SECTION:=libs
CATEGORY:=Libraries
TITLE:=GNU crypto library
- URL:=http://www.lysator.liu.se/~nisse/nettle/
+ URL:=https://www.lysator.liu.se/~nisse/nettle/
DEPENDS+= +!LIBNETTLE_MINI:libgmp
ABI_VERSION:=8
endef
--- a/configure
+++ b/configure
-@@ -4719,6 +4719,7 @@ $as_echo_n "checking build system compil
+@@ -5689,6 +5689,7 @@ printf %s "checking build system compile
# remove anything that might look like compiler output to our "||" expression
rm -f conftest* a.out b.out a.exe a_out.exe
cat >conftest.c <<EOF
int
main ()
{
-@@ -4751,6 +4752,7 @@ $as_echo_n "checking build system compil
+@@ -5721,6 +5722,7 @@ printf %s "checking build system compile
# remove anything that might look like compiler output to our "||" expression
rm -f conftest* a.out b.out a.exe a_out.exe
cat >conftest.c <<EOF
int
main ()
{
-@@ -4787,6 +4789,7 @@ $as_echo_n "checking build system compil
+@@ -5757,6 +5759,7 @@ printf %s "checking build system compile
# remove anything that might look like compiler output to our "||" expression
rm -f conftest* a.out b.out a.exe a_out.exe
cat >conftest.c <<EOF
int
main ()
{
-@@ -4837,6 +4840,7 @@ else
+@@ -5808,6 +5811,7 @@ else $as_nop
gmp_cv_prog_exeext_for_build="$EXEEXT"
else
cat >conftest.c <<EOF