diff --git a/0001-gnutls-utilize-system-crypto-policy.patch b/0001-gnutls-utilize-system-crypto-policy.patch new file mode 100644 index 0000000000000000000000000000000000000000..10e9ec9c3d8466f8f97d818259bbd1dbe0750152 --- /dev/null +++ b/0001-gnutls-utilize-system-crypto-policy.patch @@ -0,0 +1,25 @@ +From 0f8920325cc523883df9e5073bd20ddc9c3d1b71 Mon Sep 17 00:00:00 2001 +From: xigaoxinyan +Date: Thu, 13 Jan 2022 17:33:26 +0800 +Subject: [PATCH] gnutls-utilize-system-crypto-policy.patch + +--- + src/microhttpd/daemon.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c +index 5ca612e..6c0947a 100644 +--- a/src/microhttpd/daemon.c ++++ b/src/microhttpd/daemon.c +@@ -6498,7 +6498,7 @@ MHD_start_daemon_va (unsigned int flags, + if (0 != (*pflags & MHD_USE_TLS)) + { + gnutls_priority_init (&daemon->priority_cache, +- "NORMAL", ++ "@SYSTEM", + NULL); + } + #endif /* HTTPS_SUPPORT */ +-- +2.27.0 + diff --git a/gnutls-utilize-system-crypto-policy.patch b/gnutls-utilize-system-crypto-policy.patch deleted file mode 100644 index 3e4641720c644dad0675d63e8f7e12497070ce9b..0000000000000000000000000000000000000000 --- a/gnutls-utilize-system-crypto-policy.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- libmicrohttpd-0.9.53/src/microhttpd/daemon.c.orig 2017-04-12 08:31:18.243540128 +0200 -+++ libmicrohttpd-0.9.53/src/microhttpd/daemon.c 2017-04-12 08:34:19.851158371 +0200 -@@ -5415,7 +5415,7 @@ - if (0 != (*pflags & MHD_USE_TLS)) - { - gnutls_priority_init (&daemon->priority_cache, -- "NORMAL", -+ "@SYSTEM", - NULL); - } - #endif /* HTTPS_SUPPORT */ diff --git a/libmicrohttpd-0.9.59.tar.gz b/libmicrohttpd-0.9.59.tar.gz deleted file mode 100644 index 35586f8010a54d74691a0e1c269b48f8b43cb649..0000000000000000000000000000000000000000 Binary files a/libmicrohttpd-0.9.59.tar.gz and /dev/null differ diff --git a/libmicrohttpd-0.9.75.tar.gz b/libmicrohttpd-0.9.75.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..0e827c25841d25d3c2e5e3d994cec89eaa3be5ec Binary files /dev/null and b/libmicrohttpd-0.9.75.tar.gz differ diff --git a/libmicrohttpd.spec b/libmicrohttpd.spec index aa7d23e131c2907f7597da55ab711eebb72aaf72..e34cd09ccf92d737ffba46bf625e281ce54bb354 100644 --- a/libmicrohttpd.spec +++ b/libmicrohttpd.spec @@ -1,12 +1,12 @@ Name: libmicrohttpd -Version: 0.9.59 -Release: 5 +Version: 0.9.75 +Release: 1 Epoch: 1 Summary: Lightweight library for embedding a webserver in applications License: LGPLv2+ URL: http://www.gnu.org/software/libmicrohttpd/ Source0: https://ftp.gnu.org/gnu/libmicrohttpd/%{name}-%{version}.tar.gz -Patch0001: gnutls-utilize-system-crypto-policy.patch +Patch0001: 0001-gnutls-utilize-system-crypto-policy.patch Patch0002: fix-libmicrohttpd-tutorial-info.patch BuildRequires: autoconf automake libtool gettext-devel texinfo gnutls-devel doxygen graphviz @@ -38,7 +38,6 @@ The help package contains manual pages and doc files for libmicrohttpd %autosetup -p1 %build -autoreconf --install --force %configure --disable-static --with-gnutls --enable-https=yes %make_build make -C doc/doxygen full @@ -89,6 +88,8 @@ fi %{_infodir}/libmicrohttpd_performance_data.png.gz %changelog +* Fri Jan 14 2022 xigaoxinyan - 0.9.75-1 +- update to 0.9.75 * Thu Aug 05 2021 caodongxia - 0.9.59-5 - Fix libmicrohttpd-tutorial info