|
|
fc7fce8 |
%global _hardened_build 1
|
|
|
fc7fce8 |
|
|
|
8cfa6de |
Name: fcgi
|
|
|
8cfa6de |
Version: 2.4.0
|
|
|
f659ee9 |
Release: 26%{?dist}
|
|
|
8cfa6de |
Summary: FastCGI development kit
|
|
|
8cfa6de |
|
|
|
8cfa6de |
Group: Development/Languages
|
|
|
013a006 |
License: OML
|
|
|
8cfa6de |
URL: http://www.fastcgi.com/#TheDevKit
|
|
|
8cfa6de |
Source0: http://fastcgi.com/dist/fcgi-%{version}.tar.gz
|
|
|
8cfa6de |
Source1: fcgi-autogen.sh
|
|
|
8cfa6de |
Patch0: fcgi-2.4.0-autotools.patch
|
|
|
8cfa6de |
# Patch0 created with Source1 after patching Patch1 and Patch2
|
|
|
8cfa6de |
Patch1: fcgi-2.4.0-configure.in.patch
|
|
|
8cfa6de |
Patch2: fcgi-2.4.0-Makefile.am-CPPFLAGS.patch
|
|
|
fb563e0 |
Patch3: fcgi-2.4.0-gcc44_fixes.patch
|
|
|
d701d25 |
# CVE-2012-6687
|
|
|
c0a4658 |
Patch4: fcgi-2.4.0-poll.patch
|
|
|
c0a4658 |
BuildRequires: gcc
|
|
|
c0a4658 |
BuildRequires: gcc-c++
|
|
|
8cfa6de |
|
|
|
8cfa6de |
%description
|
|
|
8cfa6de |
FastCGI is a language independent, scalable, open extension to CGI that
|
|
|
8cfa6de |
provides high performance without the limitations of server specific APIs.
|
|
|
8cfa6de |
|
|
|
8cfa6de |
|
|
|
8cfa6de |
%package devel
|
|
|
8cfa6de |
Summary: Development files for %{name}
|
|
|
8cfa6de |
Group: Development/Libraries
|
|
|
8cfa6de |
Requires: %{name} = %{version}-%{release}
|
|
|
8cfa6de |
|
|
|
8cfa6de |
|
|
|
8cfa6de |
%description devel
|
|
|
8cfa6de |
The %{name}-devel package contains libraries and header files for
|
|
|
8cfa6de |
developing applications that use %{name}.
|
|
|
8cfa6de |
|
|
|
8cfa6de |
|
|
|
8cfa6de |
%prep
|
|
|
8cfa6de |
%setup -q
|
|
|
8cfa6de |
%patch0 -p1
|
|
|
fb563e0 |
%patch3 -p1 -b .gcc44_fixes
|
|
|
c0a4658 |
%patch4 -p1 -b .poll
|
|
|
fb563e0 |
|
|
|
8cfa6de |
# remove DOS End Of Line Encoding
|
|
|
8cfa6de |
sed -i 's/\r//' doc/fastcgi-prog-guide/ch2c.htm
|
|
|
8cfa6de |
# fix file permissions
|
|
|
8cfa6de |
chmod a-x include/fcgios.h libfcgi/os_unix.c
|
|
|
8cfa6de |
|
|
|
8cfa6de |
|
|
|
8cfa6de |
%build
|
|
|
8cfa6de |
%configure
|
|
|
218121d |
# does not build with parallel make flags
|
|
|
218121d |
make
|
|
|
8cfa6de |
|
|
|
8cfa6de |
|
|
|
8cfa6de |
%install
|
|
|
8cfa6de |
rm -rf $RPM_BUILD_ROOT
|
|
|
8cfa6de |
mkdir $RPM_BUILD_ROOT
|
|
|
8cfa6de |
|
|
|
8cfa6de |
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
8cfa6de |
rm $RPM_BUILD_ROOT/%{_libdir}/libfcgi{++,}.{l,}a
|
|
|
8cfa6de |
install -p -m 0644 -D doc/cgi-fcgi.1 $RPM_BUILD_ROOT%{_mandir}/man1/cgi-fcgi.1
|
|
|
8cfa6de |
for manpage in doc/*.3
|
|
|
8cfa6de |
do
|
|
|
8cfa6de |
install -p -m 0644 -D $manpage $RPM_BUILD_ROOT%{_mandir}/man3/$(basename $manpage)
|
|
|
8cfa6de |
done
|
|
|
8cfa6de |
rm -f -- doc/*.1
|
|
|
8cfa6de |
rm -f -- doc/*.3
|
|
|
8cfa6de |
|
|
Chris Weyl |
2b48ff4 |
|
|
|
8cfa6de |
%post -p /sbin/ldconfig
|
|
|
8cfa6de |
%postun -p /sbin/ldconfig
|
|
|
8cfa6de |
|
|
|
8cfa6de |
|
|
|
8cfa6de |
%files
|
|
|
8cfa6de |
%{_bindir}/cgi-fcgi
|
|
|
8cfa6de |
%{_libdir}/libfcgi.so.*
|
|
|
8cfa6de |
%{_libdir}/libfcgi++.so.*
|
|
|
8cfa6de |
%{_mandir}/man1/*
|
|
|
8cfa6de |
%defattr(0644,root,root,0755)
|
|
|
f659ee9 |
%license LICENSE.TERMS
|
|
|
f659ee9 |
%doc LICENSE.TERMS
|
|
|
8cfa6de |
|
|
|
8cfa6de |
|
|
|
8cfa6de |
%files devel
|
|
|
8cfa6de |
%{_includedir}/*
|
|
|
8cfa6de |
%{_libdir}/libfcgi.so
|
|
|
8cfa6de |
%{_libdir}/libfcgi++.so
|
|
|
8cfa6de |
%{_mandir}/man3/*
|
|
|
8cfa6de |
%defattr(0644,root,root,0755)
|
|
|
8cfa6de |
%doc doc/
|
|
|
8cfa6de |
|
|
|
8cfa6de |
|
|
|
8cfa6de |
%changelog
|
|
|
f659ee9 |
* Fri Feb 06 2015 Till Maas <opensource@till.name> - 2.4.0-26
|
|
|
f659ee9 |
- Use %%license
|
|
|
f659ee9 |
|
|
|
c0a4658 |
* Fri Feb 06 2015 Till Maas <opensource@till.name> - 2.4.0-25
|
|
|
d701d25 |
- Fix crash when too many connections are used (CVE-2012-6687)
|
|
|
c0a4658 |
- Make gcc build dependencies obvious for local builds
|
|
|
c0a4658 |
|
|
|
d89b47f |
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.0-24
|
|
|
d89b47f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
d89b47f |
|
|
|
fc91334 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.0-23
|
|
|
fc91334 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
fc91334 |
|
|
|
fc7fce8 |
* Mon Feb 03 2014 Till Maas <opensource@till.name> - 2.4.0-22
|
|
|
fc7fce8 |
- Harden build
|
|
|
fc7fce8 |
|
|
|
f031f38 |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.0-21
|
|
|
f031f38 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
f031f38 |
|
|
|
ac84356 |
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.0-20
|
|
|
ac84356 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
ac84356 |
|
|
|
e1342b7 |
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.0-19
|
|
|
e1342b7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
e1342b7 |
|
|
|
28bc423 |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.0-18
|
|
|
28bc423 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
28bc423 |
|
|
|
8686860 |
* Fri Sep 09 2011 Iain Arnell <iarnell@gmail.com> 2.4.0-17
|
|
|
8686860 |
- drop perl sub-package; it's been replaced by perl-FCGI (rhbz#736612)
|
|
|
8686860 |
|
|
|
12661b1 |
* Thu Jun 16 2011 Marcela Mašláňová <mmaslano@redhat.com> - 2.4.0-16
|
|
|
df8426c |
- Perl mass rebuild & clean spec & clean Makefile.PL
|
|
|
12661b1 |
|
|
|
121f55c |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.0-15
|
|
|
121f55c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
121f55c |
|
|
|
f7fb18d |
* Tue Jun 01 2010 Marcela Maslanova <mmaslano@redhat.com> - 2.4.0-14
|
|
|
f7fb18d |
- Mass rebuild with perl-5.12.0
|
|
|
f7fb18d |
|
|
|
013a006 |
* Sun May 16 2010 Till Maas <opensource@till.name> - 2.4.0-13
|
|
|
013a006 |
- Fix license tag. It's OML instead of BSD
|
|
|
013a006 |
|
|
Chris Weyl |
5b51a3a |
* Mon Jan 18 2010 Chris Weyl <cweyl@alumni.drew.edu> - 2.4.0-12
|
|
Chris Weyl |
5b51a3a |
- drop perl .so provides filtering, as it may have multiarch rpm implications
|
|
Chris Weyl |
5b51a3a |
|
|
|
a6a9e01 |
* Fri Dec 4 2009 Stepan Kasal <skasal@redhat.com> - 2.4.0-11
|
|
|
a6a9e01 |
- rebuild against perl 5.10.1
|
|
|
a6a9e01 |
|
|
|
ff2852d |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.0-10
|
|
|
ff2852d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
ff2852d |
|
|
Chris Weyl |
0231241 |
* Sun Mar 01 2009 Chris Weyl <cweyl@alumni.drew.edu> - 2.4.0-9
|
|
Chris Weyl |
0231241 |
- Stripping bad provides of private Perl extension libs
|
|
Chris Weyl |
0231241 |
|
|
|
8a1997f |
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.0-8
|
|
|
8a1997f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
8a1997f |
|
|
|
fb563e0 |
* Sun Feb 15 2009 Till Maas <opensource@till.name> - 2.4.0-7
|
|
|
fb563e0 |
- Add missing #include <cstdio> to make it compile with gcc 4.4
|
|
|
fb563e0 |
|
|
Chris Weyl |
2b48ff4 |
* Tue Oct 14 2008 Chris Weyl <cweyl@alumni.drew.edu> - 2.4.0-6
|
|
Chris Weyl |
2b48ff4 |
- package up the perl bindings in their own subpackage
|
|
Chris Weyl |
2b48ff4 |
|
|
|
6157342 |
* Wed Feb 20 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.4.0-5
|
|
|
6157342 |
- Autorebuild for GCC 4.3
|
|
|
6157342 |
|
|
|
2d69787 |
* Thu Aug 23 2007 Till Maas <opensource till name> - 2.4.0-4
|
|
|
2d69787 |
- bump release for rebuild
|
|
|
2d69787 |
|
|
|
435aba7 |
* Wed Jul 11 2007 Till Maas <opensource till name> - 2.4.0-3
|
|
|
218121d |
- remove parallel make flags
|
|
|
218121d |
|
|
|
8cfa6de |
* Tue Apr 17 2007 Till Maas <opensource till name> - 2.4.0-2
|
|
|
8cfa6de |
- add some documentation
|
|
|
8cfa6de |
- add mkdir ${RPM_BUILD_ROOT} to %%install
|
|
|
8cfa6de |
- install man-pages
|
|
|
8cfa6de |
|
|
|
8cfa6de |
* Mon Mar 5 2007 Till Maas <opensource till name> - 2.4.0-1
|
|
|
8cfa6de |
- Initial spec for fedora
|