update to 0.9.75
(cherry picked from commit df66f349c0953d032c8391e07a7347e4fc7c02d1)
This commit is contained in:
parent
ebbdc62eef
commit
0d8af68be2
25
0001-gnutls-utilize-system-crypto-policy.patch
Normal file
25
0001-gnutls-utilize-system-crypto-policy.patch
Normal file
@ -0,0 +1,25 @@
|
||||
From 0f8920325cc523883df9e5073bd20ddc9c3d1b71 Mon Sep 17 00:00:00 2001
|
||||
From: xigaoxinyan <xigaoxinyan@huawei.com>
|
||||
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
|
||||
|
||||
@ -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 */
|
||||
Binary file not shown.
BIN
libmicrohttpd-0.9.75.tar.gz
Normal file
BIN
libmicrohttpd-0.9.75.tar.gz
Normal file
Binary file not shown.
@ -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<xigaoxinyan@huawei.com> - 0.9.75-1
|
||||
- update to 0.9.75
|
||||
* Thu Aug 05 2021 caodongxia<caodongxia@huawei.com> - 0.9.59-5
|
||||
- Fix libmicrohttpd-tutorial info
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user