Upgrade libmicrohttpd 0.9.71 -> 0.9.76 to address CVE-2023-27371 (#6161)
Signed-off-by: Muhammad Falak R Wani <falakreyaz@gmail.com>
This commit is contained in:
Родитель
380a01c3b5
Коммит
6d27a1cd56
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"Signatures": {
|
"Signatures": {
|
||||||
"libmicrohttpd-0.9.71.tar.gz": "e8f445e85faf727b89e9f9590daea4473ae00ead38b237cf1eda55172b89b182"
|
"libmicrohttpd-0.9.76.tar.gz": "f0b1547b5a42a6c0f724e8e1c1cb5ce9c4c35fb495e7d780b9930d35011ceb4c"
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -1,18 +1,21 @@
|
||||||
Name: libmicrohttpd
|
|
||||||
Version: 0.9.71
|
|
||||||
Release: 3%{?dist}
|
|
||||||
Summary: Lightweight library for embedding a webserver in applications
|
Summary: Lightweight library for embedding a webserver in applications
|
||||||
|
Name: libmicrohttpd
|
||||||
|
Version: 0.9.76
|
||||||
|
Release: 1%{?dist}
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
Vendor: Microsoft Corporation
|
Vendor: Microsoft Corporation
|
||||||
Distribution: Mariner
|
Distribution: Mariner
|
||||||
URL: http://www.gnu.org/software/libmicrohttpd/
|
URL: https://www.gnu.org/software/libmicrohttpd/
|
||||||
Source0: https://ftp.gnu.org/gnu/libmicrohttpd/%{name}-%{version}.tar.gz
|
Source0: https://ftp.gnu.org/gnu/libmicrohttpd/%{name}-%{version}.tar.gz
|
||||||
Patch0: gnutls-utilize-system-crypto-policy.patch
|
Patch0: gnutls-utilize-system-crypto-policy.patch
|
||||||
|
BuildRequires: autoconf
|
||||||
BuildRequires: autoconf, automake, libtool, gettext-devel
|
BuildRequires: automake
|
||||||
BuildRequires: texinfo
|
BuildRequires: doxygen
|
||||||
|
BuildRequires: gettext-devel
|
||||||
BuildRequires: gnutls-devel
|
BuildRequires: gnutls-devel
|
||||||
BuildRequires: doxygen graphviz
|
BuildRequires: graphviz
|
||||||
|
BuildRequires: libtool
|
||||||
|
BuildRequires: texinfo
|
||||||
Requires(post): info
|
Requires(post): info
|
||||||
Requires(preun): info
|
Requires(preun): info
|
||||||
|
|
||||||
|
@ -66,7 +69,7 @@ make -C doc/doxygen full
|
||||||
%install
|
%install
|
||||||
%make_install
|
%make_install
|
||||||
|
|
||||||
rm -f %{buildroot}%{_libdir}/*.la
|
find %{buildroot} -type f -name "*.la" -delete -print
|
||||||
rm -f %{buildroot}%{_infodir}/dir
|
rm -f %{buildroot}%{_infodir}/dir
|
||||||
rm -f %{buildroot}%{_bindir}/demo
|
rm -f %{buildroot}%{_bindir}/demo
|
||||||
|
|
||||||
|
@ -78,13 +81,13 @@ install -m 644 doc/examples/*.c examples
|
||||||
cp -R doc/doxygen/html html
|
cp -R doc/doxygen/html html
|
||||||
|
|
||||||
%post doc
|
%post doc
|
||||||
/usr/bin/install-info %{_infodir}/libmicrohttpd.info.gz %{_infodir}/dir || :
|
%{_bindir}/install-info %{_infodir}/libmicrohttpd.info.gz %{_infodir}/dir || :
|
||||||
/usr/bin/install-info %{_infodir}/libmicrohttpd-tutorial.info.gz %{_infodir}/dir || :
|
%{_bindir}/install-info %{_infodir}/libmicrohttpd-tutorial.info.gz %{_infodir}/dir || :
|
||||||
|
|
||||||
%preun doc
|
%preun doc
|
||||||
if [ $1 = 0 ] ; then
|
if [ $1 = 0 ] ; then
|
||||||
/usr/bin/install-info --delete %{_infodir}/libmicrohttpd.info.gz %{_infodir}/dir || :
|
%{_bindir}/install-info --delete %{_infodir}/libmicrohttpd.info.gz %{_infodir}/dir || :
|
||||||
/usr/bin/install-info --delete %{_infodir}/libmicrohttpd-tutorial.info.gz %{_infodir}/dir || :
|
%{_bindir}/install-info --delete %{_infodir}/libmicrohttpd-tutorial.info.gz %{_infodir}/dir || :
|
||||||
fi
|
fi
|
||||||
|
|
||||||
%files
|
%files
|
||||||
|
@ -107,6 +110,11 @@ fi
|
||||||
%doc html
|
%doc html
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Sep 05 2023 Muhammad Falak R Wani <mwani@microsoft.com> - 0.9.76-1
|
||||||
|
- Upgrade to 0.9.76 to address CVE-2023-27371
|
||||||
|
- Lint spec
|
||||||
|
- License verified
|
||||||
|
|
||||||
* Mon Nov 01 2021 Muhammad Falak <mwani@microsft.com> - 0.9.71-3
|
* Mon Nov 01 2021 Muhammad Falak <mwani@microsft.com> - 0.9.71-3
|
||||||
- Remove epoch
|
- Remove epoch
|
||||||
|
|
||||||
|
@ -359,4 +367,3 @@ fi
|
||||||
|
|
||||||
* Tue Aug 5 2008 Erik van Pienbroek <info@nntpgrab.nl> - 0.3.1-1
|
* Tue Aug 5 2008 Erik van Pienbroek <info@nntpgrab.nl> - 0.3.1-1
|
||||||
- Initial release
|
- Initial release
|
||||||
|
|
||||||
|
|
|
@ -10031,8 +10031,8 @@
|
||||||
"type": "other",
|
"type": "other",
|
||||||
"other": {
|
"other": {
|
||||||
"name": "libmicrohttpd",
|
"name": "libmicrohttpd",
|
||||||
"version": "0.9.71",
|
"version": "0.9.76",
|
||||||
"downloadUrl": "https://ftp.gnu.org/gnu/libmicrohttpd/libmicrohttpd-0.9.71.tar.gz"
|
"downloadUrl": "https://ftp.gnu.org/gnu/libmicrohttpd/libmicrohttpd-0.9.76.tar.gz"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Загрузка…
Ссылка в новой задаче