Hello community, here is the log from the commit of package libmicrohttpd for openSUSE:Factory checked in at 2019-08-07 13:59:46 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libmicrohttpd (Old) and /work/SRC/openSUSE:Factory/.libmicrohttpd.new.9556 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libmicrohttpd" Wed Aug 7 13:59:46 2019 rev:35 rq:720699 version:0.9.66 Changes: -------- --- /work/SRC/openSUSE:Factory/libmicrohttpd/libmicrohttpd.changes 2019-07-22 12:14:42.759755481 +0200 +++ /work/SRC/openSUSE:Factory/.libmicrohttpd.new.9556/libmicrohttpd.changes 2019-08-07 13:59:51.156853890 +0200 @@ -1,0 +2,17 @@ +Fri Aug 2 13:53:59 UTC 2019 - Andreas Stieger <[email protected]> + +- fix build with SLE 12 with older GnuTLS: + * libmicrohttpd-0.9.66-fix-gnutls-dependency.patch + +------------------------------------------------------------------- +Fri Aug 2 10:53:30 UTC 2019 - Andreas Stieger <[email protected]> + +- update to 0.9.66: + * Fix issue with discarding unhandled upload data discovered + * Fix hanging situation with large transmission over upgraded + (i.e. Web socket) connection with epoll() and HTTPS enabled + * Add MHD_OPTION_HTTPS_CERT_CALLBACK2 to allow OCSP stapling + and MHD_FEATURE_HTTPS_CERT_CALLBACK2 to check for +- clean up build dependency list + +------------------------------------------------------------------- Old: ---- libmicrohttpd-0.9.65.tar.gz libmicrohttpd-0.9.65.tar.gz.sig New: ---- libmicrohttpd-0.9.66-fix-gnutls-dependency.patch libmicrohttpd-0.9.66.tar.gz libmicrohttpd-0.9.66.tar.gz.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libmicrohttpd.spec ++++++ --- /var/tmp/diff_new_pack.7MpwvZ/_old 2019-08-07 13:59:51.720853884 +0200 +++ /var/tmp/diff_new_pack.7MpwvZ/_new 2019-08-07 13:59:51.724853883 +0200 @@ -20,28 +20,24 @@ %global sover 12 %global libname %{name}%{sover} Name: libmicrohttpd -Version: 0.9.65 +Version: 0.9.66 Release: 0 Summary: Small Embeddable HTTP Server Library # Some internal tests are licenced as GPL-3.0+ - they are only used in # check phase and not shipped further License: LGPL-2.1-or-later AND GPL-3.0-or-later Group: Productivity/Networking/Web/Servers -Url: https://www.gnu.org/software/libmicrohttpd/ +URL: https://www.gnu.org/software/libmicrohttpd/ Source0: https://ftp.gnu.org/gnu/libmicrohttpd/%{name}-%{version}.tar.gz Source1: https://ftp.gnu.org/gnu/libmicrohttpd/%{name}-%{version}.tar.gz.sig Source2: https://savannah.gnu.org/project/memberlist-gpgkeys.php?group=%{name}&download=1#/%{name}.keyring -BuildRequires: curl -BuildRequires: file-devel -BuildRequires: libgcrypt-devel >= 1.2.4 +Patch0: libmicrohttpd-0.9.66-fix-gnutls-dependency.patch BuildRequires: libtool BuildRequires: makeinfo -BuildRequires: openssl-devel -BuildRequires: pkgconfig +BuildRequires: pkgconfig >= 0.9.0 BuildRequires: socat -BuildRequires: pkgconfig(gnutls) -BuildRequires: pkgconfig(libcurl) -BuildRequires: pkgconfig(libtasn1) +BuildRequires: pkgconfig(gnutls) >= 2.8.6 +BuildRequires: pkgconfig(libcurl) >= 7.16.4 %description GNU libmicrohttpd is a small C library that is supposed to make it easy to run @@ -82,10 +78,10 @@ License: LGPL-2.1-or-later Group: Development/Libraries/C and C++ Requires: %{libname} = %{version} -Requires: pkgconfig -Requires: pkgconfig(gnutls) -Requires(post): info -Requires(preun): info +Requires: pkgconfig >= 0.9.0 +Requires: pkgconfig(gnutls) >= 2.8.6 +Requires(post): %{install_info_prereq} +Requires(preun): %{install_info_prereq} %description devel Headers, pkg-config files, so link and other development files for %{name} @@ -93,6 +89,7 @@ %prep %setup -q +%patch0 -p1 %build %configure \ @@ -102,18 +99,19 @@ --enable-messages \ --enable-postprocessor \ --enable-https \ + --enable-curl \ --disable-static \ - --disable-examples \ - --enable-curl + --disable-examples + make %{?_smp_mflags} %install %make_install find %{buildroot} -type f -name "*.la" -delete -print -rm -f %{buildroot}%{_infodir}/%{name}_performance_data.png +rm -v %{buildroot}%{_infodir}/%{name}_performance_data.png %check -# Paralel execution of tests fail +# Parallel execution of tests fail # Tests randomly fail so keep them in log for inspection rather than for valid # verification of anything. make -j1 check || : @@ -129,15 +127,16 @@ %install_info_delete --info-dir=%{_infodir} %{_infodir}/libmicrohttpd-tutorial.info%{ext_info} %files -n %{libname} -%doc COPYING +%license COPYING %{_libdir}/%{name}.so.%{sover}* %files devel +%license COPYING %doc ChangeLog %{_includedir}/microhttpd.h %{_libdir}/%{name}.so %{_libdir}/pkgconfig/%{name}.pc -%{_infodir}/%{name}*.info%{ext_info} -%{_mandir}/man3/%{name}.3%{ext_man} +%{_infodir}/%{name}*.info%{?ext_info} +%{_mandir}/man3/%{name}.3%{?ext_man} %changelog ++++++ libmicrohttpd-0.9.66-fix-gnutls-dependency.patch ++++++ >From b84ee1fa41c53c43aa7ed1583c36af5cb7c77a0f Mon Sep 17 00:00:00 2001 From: Christian Grothoff <[email protected]> Date: Fri, 2 Aug 2019 15:43:44 +0200 Subject: [PATCH] trying to fix #5806 References: https://bugs.gnunet.org/view.php?id=5806 --- src/microhttpd/daemon.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c index bf01ba9b..a8fc98c6 100644 --- a/src/microhttpd/daemon.c +++ b/src/microhttpd/daemon.c @@ -2536,7 +2536,12 @@ internal_add_connection (struct MHD_Daemon *daemon, else { #ifdef HTTPS_SUPPORT - gnutls_init_flags_t flags; +#if (GNUTLS_VERSION_NUMBER+0 >= 0x030500) + gnutls_init_flags_t +#else + unsigned int +#endif + flags; flags = GNUTLS_SERVER; #if (GNUTLS_VERSION_NUMBER+0 >= 0x030402) -- 2.16.4 ++++++ libmicrohttpd-0.9.65.tar.gz -> libmicrohttpd-0.9.66.tar.gz ++++++ ++++ 35101 lines of diff (skipped)
