11Summary: FastCGI development kit
22Name: fcgi
3- Version: 2.4.0
4- Release: 7 %{?dist }
3+ Version: 2.4.5
4+ Release: 1 %{?dist }
55License: OML
66# NOTE: below is an archive of FastCGI. The original project web page (http://www.fastcgi.com) is no longer online.
77URL: https://fastcgi-archives.github.io
8- Source0: https://src.fedoraproject.org/lookaside/extras/%{name }/%{name }-%{version }.tar.gz/d15060a813b91383a9f3c66faf84867e/%{name }-%{version }.tar.gz
9- Patch0: fcgi-EOF.patch
10- Patch1: CVE-2012-6687.patch
8+ Source0: https://github.com/FastCGI-Archives/fcgi2/archive/refs/tags/%{version }.tar.gz#/%{name}-%{version}.tar.gz
119Group: Development/Libraries/C and C++
1210Vendor: Microsoft Corporation
1311Distribution: Mariner
@@ -25,11 +23,10 @@ FastCGI is a language independent, scalable, open extension to CGI that
2523provides high performance without the limitations of server specific APIs.
2624
2725%prep
28- %setup -q
29- %patch0 -p1
30- %patch1 -p1
26+ %autosetup -n %{name }2-%{version } -p1
3127
3228%build
29+ ./autogen.sh
3330%configure \
3431 --disable-static
3532make
@@ -48,28 +45,44 @@ make check
4845
4946%files
5047%defattr(-,root,root)
51- %license LICENSE.TERMS
48+ %license LICENSE
5249%{_bindir }/*
5350%{_libdir }/libfcgi* .so*
51+ %doc %{_mandir }/man1/cgi-fcgi.1*
52+ %doc %{_mandir }/man3/FCGI_Accept.3*
53+ %doc %{_mandir }/man3/FCGI_Finish.3*
54+ %doc %{_mandir }/man3/FCGI_SetExitStatus.3*
55+ %doc %{_mandir }/man3/FCGI_StartFilterData.3*
5456
5557%files devel
5658%defattr(-,root,root)
5759%{_includedir }/*
60+ %{_libdir }/pkgconfig/fcgi* .pc
5861
5962%changelog
63+ * Tue Apr 22 2025 Kanishk Bansal <kanbansal@microsoft.com> - 2.4.5-1
64+ - Upgrade to 2.4.5 to fix CVE-2025-23016
65+ - Remove patch of CVE-2012-6687, fcgi-EOF
66+ - Added missing man pages and pkgconfig files to package
67+
6068* Sat May 09 2020 Nick Samson <nisamson@microsoft.com> - 2.4.0-7
6169- Added %%license line automatically
6270
63- * Mon Apr 27 2020 Pawel Winogrodzki <pawelwi@microsoft.com> 2.4.0-6
64- - Fixed 'Source0' and 'URL' tags.
65- - License verified.
66- * Thu Feb 27 2020 Henry Beberman <hebeberm@microsoft.com> 2.4.0-5
67- - Glob to include libfcgi++ as well as libfcgi in RPM
68- * Tue Sep 03 2019 Mateusz Malisz <mamalisz@microsoft.com> 2.4.0-4
69- - Initial CBL-Mariner import from Photon (license: Apache2).
70- * Fri Oct 13 2017 Alexey Makhalov <amakhalov@vmware.com> 2.4.0-3
71- - Use standard configure macros
72- * Wed May 24 2017 Dheeraj Shetty <dheerajs@vmware.com> 2.4.0-2
73- - Patch for CVE-2012-6687
74- * Fri Dec 16 2016 Dheeraj Shetty <dheerajs@vmware.com> 2.4.0-1
75- - Initial build. First version
71+ * Mon Apr 27 2020 Pawel Winogrodzki <pawelwi@microsoft.com> 2.4.0-6
72+ - Fixed 'Source0' and 'URL' tags.
73+ - License verified.
74+
75+ * Thu Feb 27 2020 Henry Beberman <hebeberm@microsoft.com> 2.4.0-5
76+ - Glob to include libfcgi++ as well as libfcgi in RPM
77+
78+ * Tue Sep 03 2019 Mateusz Malisz <mamalisz@microsoft.com> 2.4.0-4
79+ - Initial CBL-Mariner import from Photon (license: Apache2).
80+
81+ * Fri Oct 13 2017 Alexey Makhalov <amakhalov@vmware.com> 2.4.0-3
82+ - Use standard configure macros
83+
84+ * Wed May 24 2017 Dheeraj Shetty <dheerajs@vmware.com> 2.4.0-2
85+ - Patch for CVE-2012-6687
86+
87+ * Fri Dec 16 2016 Dheeraj Shetty <dheerajs@vmware.com> 2.4.0-1
88+ - Initial build. First version
0 commit comments