-
Notifications
You must be signed in to change notification settings - Fork 607
Expand file tree
/
Copy pathnghttp2.spec
More file actions
103 lines (81 loc) · 2.9 KB
/
nghttp2.spec
File metadata and controls
103 lines (81 loc) · 2.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
Summary: nghttp2 is an implementation of HTTP/2 and its header compression algorithm, HPACK.
Name: nghttp2
Version: 1.57.0
Release: 3%{?dist}
License: MIT
Vendor: Microsoft Corporation
Distribution: Mariner
Group: Applications/System
URL: https://nghttp2.org
Source0: https://github.com/nghttp2/nghttp2/releases/download/v%{version}/%{name}-%{version}.tar.xz
Patch0: CVE-2024-28182.patch
Patch1: CVE-2026-27135.patch
BuildRequires: gcc
BuildRequires: make
%if %{with_check}
BuildRequires: cunit
%endif
Provides: libnghttp2 = %{version}-%{release}
%description
Implementation of the Hypertext Transfer Protocol version 2 in C.
%package devel
Summary: Header files for nghttp2
Requires: %{name} = %{version}-%{release}
Provides: libnghttp2-devel = %{version}-%{release}
%description devel
These are the header files of nghttp2.
%prep
%autosetup -p1
%build
%configure \
--disable-static \
--enable-lib-only \
--disable-python-bindings
%make_build
%install
%make_install
find %{buildroot} -type f -name "*.la" -delete -print
%check
%make_build -k check
%files
%defattr(-,root,root)
%license COPYING
%{_libdir}/*.so.*
%{_datadir}/nghttp2
%{_docdir}/%{name}/*
%{_mandir}/man1/*
%files devel
%defattr(-,root,root)
%{_includedir}/*
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%changelog
* Fri Mar 20 2026 Azure Linux Security Servicing Account <azurelinux-security@microsoft.com> - 1.57.0-3
- Patch for CVE-2026-27135
* Tue Oct 08 2024 Muhammad Falak <mwani@microsoft.com> - 1.57.0-2
- Address CVE-2024-28182
* Wed Oct 11 2023 Dan Streetman <ddstreet@ieee.org> - 1.57.0-1
- Update version to 1.57.0 to include patches for CVE-2023-44487
* Tue Jul 18 2023 Olivia Crain <oliviacrain@microsoft.com> - 1.46.0-3
- Add upstream patch for CVE-2023-35945
* Tue Jan 10 2023 Olivia Crain <oliviacrain@microsoft.com> - 1.46.0-2
- Remove dependencies not needed to build library
- Add %%check sections with unit tests
- License verified, no SPDX expression conversion necessary
- Lint spec
* Mon Jan 31 2022 Max Brodeur-Urbas <maxbr@microsoft.com> - 1.46.0-1
- Upgrading to v1.46.0
* Wed Jun 23 2021 Pawel Winogrodzki <pawelwi@microsoft.com> - 1.41.0-2
- Adding 'Provides' for 'libhttpng2*' subpackages to align with other naming for the package.
* Tue Nov 03 2020 Pawel Winogrodzki <pawelwi@microsoft.com> - 1.41.0-1
- Upgrading to 1.41.0 to fix CVE-2020-11080.
- License verified.
- Removed %%sha1 macro.
* Sat May 09 2020 Nick Samson <nisamson@microsoft.com> - 1.33.0-3
- Added %%license line automatically
* Tue Sep 03 2019 Mateusz Malisz <mamalisz@microsoft.com> - 1.33.0-2
- Initial CBL-Mariner import from Photon (license: Apache2).
* Fri Sep 7 2018 Him Kalyan Bordoloi <bordoloih@vmware.com> - 1.33.0-1
- Upgrade to version 1.33.0
* Tue Jun 13 2017 Dheeraj Shetty <dheerajs@vmware.com> - 1.23.1-1
- First version