fix _httpd_mmn expansion in absence of httpd-devel

This commit is contained in:
Joe Orton 2014-01-23 10:53:28 +00:00
parent 4323f1aa08
commit 39ad1ae2cf

View File

@ -18,7 +18,7 @@
%{!?_httpd_apxs: %global _httpd_apxs %{_sbindir}/apxs}
# Module Magic Number
%{!?_httpd_mmn: %global _httpd_mmn %(cat %{_includedir}/httpd/.mmn 2>/dev/null || echo missing-httpd-devel)}
%{!?_httpd_mmn: %global _httpd_mmn %(cat %{_includedir}/httpd/.mmn 2>/dev/null || echo 0-0)}
# Configuration directory
%{!?_httpd_confdir: %global _httpd_confdir %{_sysconfdir}/httpd/conf.d}
@ -34,7 +34,7 @@
Name: mod_fcgid
Version: 2.3.9
Release: 1%{?dist}
Release: 2%{?dist}
Summary: FastCGI interface module for Apache 2
Group: System Environment/Daemons
License: ASL 2.0
@ -221,6 +221,9 @@ exit 0
%endif
%changelog
* Thu Jan 23 2014 Joe Orton <jorton@redhat.com> - 2.3.9-2
- fix _httpd_mmn expansion in absence of httpd-devel
* Tue Oct 8 2013 Paul Howarth <paul@city-fan.org> 2.3.9-1
- Update to 2.3.9
- SECURITY: Fix possible heap buffer overwrite (CVE-2013-4365)