fdb13c
# Fedora 5, 6, and 7 versions includes SELinux policy module package
fdb13c
# Fedora 8 and 9 versions include policy in errata selinux-policy releases
fdb13c
# Fedora 10 onwards include policy in standard selinux-policy releases
fdb13c
# RHEL 5.5 onwards include policy in standard selinux-policy releases
fdb13c
%if 0%{?fedora} < 5 || 0%{?fedora} > 7 || 0%{?rhel}
fdb13c
%global selinux_module 0
fdb13c
%global selinux_types %{nil}
fdb13c
%global selinux_variants %{nil}
fdb13c
%global selinux_buildreqs %{nil}
fdb13c
%else
fdb13c
%global selinux_module 1
fdb13c
%global selinux_types %(awk '/^#[[:space:]]*SELINUXTYPE=/,/^[^#]/ { if ($3 == "-") printf "%s ", $2 }' /etc/selinux/config 2>/dev/null)
fdb13c
%global selinux_variants %([ -z "%{selinux_types}" ] && echo mls strict targeted || echo %{selinux_types})
fdb13c
%global selinux_buildreqs checkpolicy, selinux-policy-devel, hardlink
fdb13c
%endif
fdb13c
fdb13c
# apxs script location
fdb13c
%{!?_httpd_apxs: %global _httpd_apxs %{_sbindir}/apxs}
fdb13c
fdb13c
# Module Magic Number
fdb13c
%{!?_httpd_mmn: %global _httpd_mmn %(cat %{_includedir}/httpd/.mmn 2>/dev/null || echo 0-0)}
fdb13c
fdb13c
# Configuration directory
fdb13c
%{!?_httpd_confdir: %global _httpd_confdir %{_sysconfdir}/httpd/conf.d}
fdb13c
fdb13c
# For httpd ≥ 2.4 we have a different filesystem layout
fdb13c
%if 0%{?fedora} > 17 || 0%{?rhel} > 6
fdb13c
%global httpd24 1
fdb13c
%global rundir /run
fdb13c
%else
fdb13c
%global httpd24 0
fdb13c
%global rundir %{_localstatedir}/run
fdb13c
%endif
fdb13c
fdb13c
Name:		mod_fcgid
fdb13c
Version:	2.3.9
441c58
Release:	17%{?dist}
fdb13c
Summary:	FastCGI interface module for Apache 2
fdb13c
Group:		System Environment/Daemons
fdb13c
License:	ASL 2.0
fdb13c
URL:		http://httpd.apache.org/mod_fcgid/
fdb13c
Source0:	http://www.apache.org/dist/httpd/mod_fcgid/mod_fcgid-%{version}.tar.bz2
fdb13c
Source1:	fcgid.conf
fdb13c
Source2:	mod_fcgid-2.1-README.RPM
fdb13c
Source3:	mod_fcgid-2.1-README.SELinux
fdb13c
Source4:	mod_fcgid-tmpfs.conf
fdb13c
Source5:	fcgid24.conf
fdb13c
Source10:	fastcgi.te
fdb13c
Source11:	fastcgi-2.5.te
fdb13c
Source12:	fastcgi.fc
fdb13c
Patch0:		mod_fcgid-2.3.4-fixconf-shellbang.patch
fdb13c
Patch1:         mod_fcgid-2.3.9-r1847623.patch
fdb13c
Patch2:		mod_fcgid-2.3.9-r1848298.patch
fdb13c
Patch3:		mod_fcgid-2.3.9-r1847624.patch
fdb13c
Patch4:		mod_fcgid-2.3.9-r1848311.patch
441c58
Patch5:		mod_fcgid-2.3.9-1024-env-vars.patch
fdb13c
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
fdb13c
BuildRequires:	httpd-devel >= 2.0, pkgconfig
fdb13c
Requires:	httpd-mmn = %{_httpd_mmn}
fdb13c
# systemd-units needed for ownership of /usr/lib/tmpfiles.d directory
fdb13c
%if 0%{?fedora} > 14 || 0%{?rhel} > 6
fdb13c
Requires:	systemd-units
fdb13c
%endif
fdb13c
# Make sure that selinux-policy is sufficiently up-to-date if it's installed
fdb13c
# FastCGI policy properly incorporated into EL 5.5
fdb13c
%if "%{?rhel}" == "5"
fdb13c
Conflicts:	selinux-policy < 2.4.6-279.el5
fdb13c
# No provide here because selinux-policy >= 2.4.6-279.el5 does the providing
fdb13c
Obsoletes:	mod_fcgid-selinux <= %{version}-%{release}
fdb13c
%endif
fdb13c
%if "%{?fedora}" == "8"
fdb13c
Conflicts:	selinux-policy < 3.0.8-123.fc8
fdb13c
%endif
fdb13c
%if "%{?fedora}" == "9"
fdb13c
Conflicts:	selinux-policy < 3.3.1-107.fc9
fdb13c
%endif
fdb13c
%if "%{?fedora}" == "10"
fdb13c
Conflicts:	selinux-policy < 3.5.13-8.fc10
fdb13c
%endif
fdb13c
fdb13c
%description
fdb13c
mod_fcgid is a binary-compatible alternative to the Apache module mod_fastcgi.
fdb13c
mod_fcgid has a new process management strategy, which concentrates on reducing
fdb13c
the number of fastcgi servers, and kicking out corrupt fastcgi servers as soon
fdb13c
as possible.
fdb13c
fdb13c
%if %{selinux_module}
fdb13c
%package selinux
fdb13c
Summary:	  SELinux policy module supporting FastCGI applications with mod_fcgid
fdb13c
Group:		  System Environment/Base
fdb13c
BuildRequires:	  %{selinux_buildreqs}
fdb13c
# selinux-policy is required for directory ownership of %%{_datadir}/selinux/*
fdb13c
#
fdb13c
# version requirement is a hack to avoid problems mixing new modules with older policy,
fdb13c
# e.g. http://www.redhat.com/archives/fedora-selinux-list/2006-May/msg00102.html
fdb13c
# _selinux_policy_version introduced in F-20 (#999584), but can be emulated by
fdb13c
# pulling the policy version number from the policyhelp file on older distributions
fdb13c
%{!?_selinux_policy_version: %global _selinux_policy_version %(sed -e 's,.*selinux-policy-\\([^/]*\\)/.*,\\1,' /usr/share/selinux/devel/policyhelp 2>/dev/null || echo 0.0.0)}
fdb13c
%global selinux_policynum %(echo %{_selinux_policy_version} | awk -F. '{ printf "%d%02d%02d", $1, $2, $3 }')
fdb13c
Requires:	  selinux-policy >= %{_selinux_policy_version}
fdb13c
Requires:	  %{name} = %{version}-%{release}
fdb13c
Requires(post):	  /usr/sbin/semodule, /sbin/restorecon
fdb13c
Requires(postun): /usr/sbin/semodule, /sbin/restorecon
fdb13c
fdb13c
%description selinux
fdb13c
SELinux policy module supporting FastCGI applications with mod_fcgid.
fdb13c
%endif
fdb13c
fdb13c
%prep
fdb13c
%setup -q
fdb13c
cp -p %{SOURCE1} fcgid.conf
fdb13c
cp -p %{SOURCE2} README.RPM
fdb13c
cp -p %{SOURCE3} README.SELinux
fdb13c
cp -p %{SOURCE5} fcgid24.conf
fdb13c
%if 0%{?selinux_policynum} < 20501
fdb13c
cp -p %{SOURCE10} fastcgi.te
fdb13c
%else
fdb13c
cp -p %{SOURCE11} fastcgi.te
fdb13c
%endif
fdb13c
cp -p %{SOURCE12} fastcgi.fc
fdb13c
fdb13c
# Fix shellbang in fixconf script for our location of sed
fdb13c
%if 0%{?fedora} < 24 && 0%{?rhel} < 8
fdb13c
%patch0 -p1
fdb13c
%endif
fdb13c
%patch1 -p1 -b .r1847623
fdb13c
%patch2 -p1 -b .r1848298
fdb13c
%patch3 -p1 -b .r1847624
fdb13c
%patch4 -p1 -b .r1848311
441c58
%patch5 -p1 -b .1024_env_vars
fdb13c
fdb13c
%build
fdb13c
APXS=%{_httpd_apxs} ./configure.apxs
fdb13c
make
fdb13c
%if %{selinux_module}
fdb13c
for selinuxvariant in %{selinux_variants}
fdb13c
do
fdb13c
	make NAME=${selinuxvariant} -f /usr/share/selinux/devel/Makefile
fdb13c
	mv fastcgi.pp fastcgi.pp.${selinuxvariant}
fdb13c
	make NAME=${selinuxvariant} -f /usr/share/selinux/devel/Makefile clean
fdb13c
done
fdb13c
%endif
fdb13c
fdb13c
%install
fdb13c
rm -rf %{buildroot}
fdb13c
make DESTDIR=%{buildroot} MKINSTALLDIRS="mkdir -p" install
fdb13c
%if %{httpd24}
fdb13c
mkdir -p %{buildroot}{%{_httpd_confdir},%{_httpd_modconfdir}}
fdb13c
echo "LoadModule fcgid_module modules/mod_fcgid.so" > %{buildroot}%{_httpd_modconfdir}/10-fcgid.conf
fdb13c
install -D -m 644 fcgid24.conf %{buildroot}%{_httpd_confdir}/fcgid.conf
fdb13c
%else
fdb13c
install -D -m 644 fcgid.conf %{buildroot}%{_httpd_confdir}/fcgid.conf
fdb13c
%endif
fdb13c
install -d -m 755 %{buildroot}%{rundir}/mod_fcgid
fdb13c
fdb13c
# Include the manual as %%doc, don't need it elsewhere
fdb13c
%if %{httpd24}
fdb13c
rm -rf %{buildroot}%{_httpd_contentdir}/manual
fdb13c
%else
fdb13c
rm -rf %{buildroot}%{_var}/www/manual
fdb13c
%endif
fdb13c
fdb13c
# Make sure %%{rundir}/mod_fcgid exists at boot time for systems
fdb13c
# with %%{rundir} on tmpfs (#656625)
fdb13c
%if 0%{?fedora} > 14 || 0%{?rhel} > 6
fdb13c
install -d -m 755 %{buildroot}%{_prefix}/lib/tmpfiles.d
fdb13c
install -p -m 644 %{SOURCE4} %{buildroot}%{_prefix}/lib/tmpfiles.d/mod_fcgid.conf
fdb13c
%endif
fdb13c
fdb13c
# Install SELinux policy modules
fdb13c
%if %{selinux_module}
fdb13c
for selinuxvariant in %{selinux_variants}
fdb13c
do
fdb13c
	install -d %{buildroot}%{_datadir}/selinux/${selinuxvariant}
fdb13c
	install -p -m 644 fastcgi.pp.${selinuxvariant} \
fdb13c
		%{buildroot}%{_datadir}/selinux/${selinuxvariant}/fastcgi.pp
fdb13c
done
fdb13c
# Hardlink identical policy module packages together
fdb13c
hardlink -cv %{buildroot}%{_datadir}/selinux
fdb13c
%endif
fdb13c
fdb13c
%clean
fdb13c
rm -rf %{buildroot}
fdb13c
fdb13c
%if %{selinux_module}
fdb13c
%post selinux
fdb13c
# Install SELinux policy modules
fdb13c
for selinuxvariant in %{selinux_variants}
fdb13c
do
fdb13c
	/usr/sbin/semodule -s ${selinuxvariant} -i \
fdb13c
		%{_datadir}/selinux/${selinuxvariant}/fastcgi.pp &> /dev/null || :
fdb13c
done
fdb13c
# Fix up non-standard directory context from earlier packages
fdb13c
/sbin/restorecon -R %{rundir}/mod_fcgid || :
fdb13c
fdb13c
%postun selinux
fdb13c
# Clean up after package removal
fdb13c
if [ $1 -eq 0 ]; then
fdb13c
	# Remove SELinux policy modules
fdb13c
	for selinuxvariant in %{selinux_variants}; do
fdb13c
		/usr/sbin/semodule -s ${selinuxvariant} -r fastcgi &> /dev/null || :
fdb13c
	done
fdb13c
	# Clean up any remaining file contexts (shouldn't be any really)
fdb13c
	[ -d %{rundir}/mod_fcgid ] && \
fdb13c
		/sbin/restorecon -R %{rundir}/mod_fcgid &> /dev/null || :
fdb13c
fi
fdb13c
exit 0
fdb13c
%endif
fdb13c
fdb13c
%files
fdb13c
%if 0%{?_licensedir:1}
fdb13c
%license LICENSE-FCGID
fdb13c
%else
fdb13c
%doc LICENSE-FCGID
fdb13c
%endif
fdb13c
# mod_fcgid.html.en is explicitly encoded as ISO-8859-1
fdb13c
%doc CHANGES-FCGID NOTICE-FCGID README-FCGID STATUS-FCGID
fdb13c
%doc docs/manual/mod/mod_fcgid.html.en modules/fcgid/ChangeLog
fdb13c
%doc build/fixconf.sed
fdb13c
%{_libdir}/httpd/modules/mod_fcgid.so
fdb13c
%if %{httpd24}
fdb13c
%config(noreplace) %{_httpd_modconfdir}/10-fcgid.conf
fdb13c
%endif
fdb13c
%config(noreplace) %{_httpd_confdir}/fcgid.conf
fdb13c
%if 0%{?fedora} > 14 || 0%{?rhel} > 6
fdb13c
%{_prefix}/lib/tmpfiles.d/mod_fcgid.conf
fdb13c
%endif
fdb13c
%dir %attr(0775,root,apache) %{rundir}/mod_fcgid/
fdb13c
fdb13c
%if %{selinux_module}
fdb13c
%files selinux
fdb13c
%doc fastcgi.fc fastcgi.te README.SELinux
fdb13c
%{_datadir}/selinux/*/fastcgi.pp
fdb13c
%endif
fdb13c
fdb13c
%changelog
441c58
* Mon Dec 07 2020 Lubos Uhliarik <luhliari@redhat.com> - 2.3.9-17
441c58
- Resolves: #1876525 - mod_fcgid does not pass more than 64 variables to an FCGI
441c58
  server process environment
441c58
fdb13c
* Thu Dec 13 2018 Joe Orton <jorton@redhat.com> - 2.3.9-16
fdb13c
- restrict symbol exports in mod_fcgid.so (#1655035)
fdb13c
fdb13c
* Mon Dec 10 2018 Joe Orton <jorton@redhat.com> - 2.3.9-15
fdb13c
- fix memory consumption for large request bodies (#1654200)
fdb13c
fdb13c
* Fri Dec  7 2018 Joe Orton <jorton@redhat.com> - 2.3.9-14
fdb13c
- fix handling of chunked request bodies (#1656851)
fdb13c
fdb13c
* Fri Nov 30 2018 Joe Orton <jorton@redhat.com> - 2.3.9-13
fdb13c
- increase maximum FcgidInitialEnv to 256 chars (#1651310)
fdb13c
fdb13c
* Thu May 03 2018 Luboš Uhliarik <luhliari@redhat.com> - 2.3.9-12
fdb13c
- Related: #1564219 - SELinux prevents httpd from starting when mod_fcgid
fdb13c
  is installed
fdb13c
fdb13c
* Tue Apr 24 2018 Luboš Uhliarik <luhliari@redhat.com> - 2.3.9-11
fdb13c
- Resolves: #1564219 - SELinux prevents httpd from starting when mod_fcgid
fdb13c
  is installed
fdb13c
fdb13c
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.9-10
fdb13c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
fdb13c
fdb13c
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.9-9
fdb13c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
fdb13c
fdb13c
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.9-8
fdb13c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
fdb13c
fdb13c
* Fri Mar  4 2016 Paul Howarth <paul@city-fan.org> - 2.3.9-7
fdb13c
- Use /usr/bin/sed rather than /bin/sed for fixconf script on modern releases
fdb13c
- Drop %%defattr, redundant since rpm 4.4
fdb13c
- Use %%license where possible
fdb13c
fdb13c
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.9-6
fdb13c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
fdb13c
fdb13c
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.9-5
fdb13c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
fdb13c
fdb13c
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.9-4
fdb13c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
fdb13c
fdb13c
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.9-3
fdb13c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
fdb13c
fdb13c
* Thu Jan 23 2014 Joe Orton <jorton@redhat.com> 2.3.9-2
fdb13c
- Fix _httpd_mmn expansion in absence of httpd-devel
fdb13c
fdb13c
* Tue Oct  8 2013 Paul Howarth <paul@city-fan.org> 2.3.9-1
fdb13c
- Update to 2.3.9
fdb13c
  - SECURITY: Fix possible heap buffer overwrite (CVE-2013-4365)
fdb13c
  - Add experimental cmake-based build system for Windows
fdb13c
  - Correctly parse quotation and escaped spaces in FcgidWrapper and the AAA
fdb13c
    Authenticator/Authorizor/Access directives' command line argument, as
fdb13c
    currently documented (PR#51194)
fdb13c
  - Honor quoted FcgidCmdOptions arguments (notably for InitialEnv
fdb13c
    assignments) (PR#51657)
fdb13c
  - Conform script response parsing with mod_cgid and ensure no response body
fdb13c
    is sent when ap_meets_conditions() determines that request conditions are
fdb13c
    met
fdb13c
  - Improve logging in access control hook functions
fdb13c
  - Avoid making internal sub-requests and processing Location headers when in
fdb13c
    FCGI_AUTHORIZER mode, as the auth hook functions already treat Location
fdb13c
    headers returned by scripts as an error since redirections are not
fdb13c
    meaningful in this mode
fdb13c
  - Revert fix for PR#53693, added in 2.3.8 but undocumented
fdb13c
  - Fix issues with a minor optimization added in 2.3.8
fdb13c
fdb13c
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> 2.3.7-7
fdb13c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
fdb13c
fdb13c
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> 2.3.7-6
fdb13c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
fdb13c
fdb13c
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> 2.3.7-5
fdb13c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
fdb13c
fdb13c
* Wed Jul  4 2012 Paul Howarth <paul@city-fan.org> 2.3.7-4
fdb13c
- Move tmpfiles.d config from %%{_sysconfdir} to %%{_prefix}/lib
fdb13c
fdb13c
* Wed May  2 2012 Paul Howarth <paul@city-fan.org> 2.3.7-3
fdb13c
- Make %%files list more explicit
fdb13c
fdb13c
* Wed May  2 2012 Joe Orton <jorton@redhat.com> 2.3.7-2
fdb13c
- Use 10- prefix for conf file in conf.modules.d with httpd ≥ 2.4
fdb13c
- Use _httpd_confdir throughout
fdb13c
fdb13c
* Mon Apr 23 2012 Paul Howarth <paul@city-fan.org> 2.3.7-1
fdb13c
- Update to 2.3.7
fdb13c
  - Introduce FcgidWin32PreventOrphans directive on Windows to use OS Job
fdb13c
    Control Objects to terminate all running fcgi's when the worker process
fdb13c
    has been abruptly terminated (PR: 51078)
fdb13c
  - Periodically clean out the brigades that are pulling in the request body
fdb13c
    for handoff to the fcgid child (PR: 51749)
fdb13c
  - Resolve crash during graceful restarts (PR: 50309)
fdb13c
  - Solve latency/congestion of resolving effective user file access rights
fdb13c
    when no such info is desired, for config-related filename stats (PR: 51020)
fdb13c
  - Fix regression in 2.3.6 that broke process controls when using
fdb13c
    vhost-specific configuration
fdb13c
  - Account for first process in class in the spawn score
fdb13c
- Drop patch for CVE-2012-1181, now included in upstream release
fdb13c
fdb13c
* Tue Mar 27 2012 Paul Howarth <paul@city-fan.org> 2.3.6-6
fdb13c
- Fix compatibility with httpd 2.4 in F-18/RHEL-7 onwards
fdb13c
- Use /run rather than /var/run from F-15/RHEL-7 onwards
fdb13c
fdb13c
* Sun Jan 22 2012 Paul Howarth <paul@city-fan.org> 2.3.6-5
fdb13c
- Fix regression in 2.3.6 that broke process controls when using vhost-specific
fdb13c
  configuration (upstream issue 49902, #783742, CVE-2012-1181)
fdb13c
fdb13c
* Fri Jan  6 2012 Paul Howarth <paul@city-fan.org> 2.3.6-4
fdb13c
- Nobody else likes macros for commands
fdb13c
fdb13c
* Tue Feb  8 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> 2.3.6-3
fdb13c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
fdb13c
fdb13c
* Wed Dec  1 2010 Paul Howarth <paul@city-fan.org> 2.3.6-2
fdb13c
- Add /etc/tmpfiles.d/mod_fcgid.conf for builds on Fedora 15 onwards to
fdb13c
  support running with /var/run on tmpfs (#656625)
fdb13c
fdb13c
* Thu Nov  4 2010 Paul Howarth <paul@city-fan.org> 2.3.6-1
fdb13c
- Update to 2.3.6 (see CHANGES-FCGID for full details)
fdb13c
  - Fix possible stack buffer overwrite (CVE-2010-3872)
fdb13c
  - Change the default for FcgidMaxRequestLen from 1GB to 128K; administrators
fdb13c
    should change this to an appropriate value based on site requirements
fdb13c
  - Correct a problem that resulted in FcgidMaxProcesses being ignored in some
fdb13c
    situations
fdb13c
  - Return 500 instead of segfaulting when the application returns no output
fdb13c
- Don't include SELinux policy for RHEL-5 builds since RHEL >= 5.5 includes it
fdb13c
- Explicitly require /bin/sed for fixconf script
fdb13c
fdb13c
* Tue Jun  8 2010 Paul Howarth <paul@city-fan.org> 2.3.5-2
fdb13c
- SELinux policy module not needed for RHEL-6 onwards
fdb13c
fdb13c
* Wed Jan 27 2010 Paul Howarth <paul@city-fan.org> 2.3.5-1
fdb13c
- Update to 2.3.5 (see CHANGES-FCGID for details)
fdb13c
- Drop upstream svn patch
fdb13c
fdb13c
* Wed Oct 21 2009 Paul Howarth <paul@city-fan.org> 2.3.4-2
fdb13c
- Add fixes from upstream svn for a number of issues, most notably that the
fdb13c
  fixconf script had an error in the regexp, which resulted in a prefix of
fdb13c
  "FcgidFcgid" on the updated directives
fdb13c
fdb13c
* Mon Oct 12 2009 Paul Howarth <paul@city-fan.org> 2.3.4-1
fdb13c
- Update to 2.3.4 (configuration directives changed again)
fdb13c
- Add fixconf.sed script for config file directives update
fdb13c
fdb13c
* Fri Sep 25 2009 Paul Howarth <paul@city-fan.org> 2.3.1-2.20090925svn818270
fdb13c
- Update to svn revision 818270
fdb13c
- DESTDIR and header detection patches upstreamed
fdb13c
- Build SELinux policy module for EL-5; support in EL-5.3 is incomplete and
fdb13c
  will be fixed in EL-5.5 (#519369)
fdb13c
- Drop aliases httpd_sys_content_r{a,o,w}_t -> httpd_fastcgi_content_r{a,o,w}_t
fdb13c
  from pre-2.5 SElinux policy module as these types aren't defined there
fdb13c
fdb13c
* Wed Sep 23 2009 Paul Howarth <paul@city-fan.org> 2.3.1-1.20090923svn817978
fdb13c
- Update to post-2.3.1 svn snapshot
fdb13c
- Upstream moved to apache.org
fdb13c
- License changed to ASL 2.0
fdb13c
- Use FCGID-prefixed config file options (old ones deprecated)
fdb13c
- Lots of documentation changes
fdb13c
- Renumber sources
fdb13c
- Don't defer to mod_fastcgi if both are present
fdb13c
- Drop gawk buildreq
fdb13c
- Add patches fixing RPM build issues (DESTDIR support, header detection)
fdb13c
fdb13c
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2-13
fdb13c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
fdb13c
fdb13c
* Tue May 26 2009 Paul Howarth <paul@city-fan.org> 2.2-12
fdb13c
- Don't use /etc/httpd/run as basis of "run" directory as its DAC permissions
fdb13c
  are not permissive enough in F-11 onwards; instead, revert to
fdb13c
  /var/run/mod_fcgid and tweak default config accordingly (#502273)
fdb13c
fdb13c
* Sun May 17 2009 Paul Howarth <paul@city-fan.org> 2.2-11
fdb13c
- Follow link /etc/httpd/run and make our "run" directory a subdir of wherever
fdb13c
  that leads (#501123)
fdb13c
fdb13c
* Mon Apr  6 2009 Paul Howarth <paul@city-fan.org> 2.2-10
fdb13c
- EL 5.3 now has SELinux support in the main selinux-policy package so handle
fdb13c
  that release as per Fedora >= 8, except that the RHEL selinux-policy package
fdb13c
  doesn't Obsolete/Provide mod_fcgid-selinux like the Fedora version, so do
fdb13c
  the obsoletion here instead
fdb13c
fdb13c
* Thu Feb 26 2009 Paul Howarth <paul@city-fan.org> 2.2-9
fdb13c
- Update documentation for MoinMoin, Rails (#476658), and SELinux
fdb13c
fdb13c
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2-8
fdb13c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
fdb13c
fdb13c
* Wed Nov 12 2008 Paul Howarth <paul@city-fan.org> 2.2-7
fdb13c
- SELinux policy module no longer built for Fedora 8 onwards as it is
fdb13c
  obsoleted by the main selinux-policy package
fdb13c
- Conflicts for selinux-policy packages older than the releases where mod_fcgid
fdb13c
  policy was incorporated have been added for Fedora 8, 9, and 10 versions, to
fdb13c
  ensure that SELinux support will work if installed
fdb13c
fdb13c
* Tue Oct 21 2008 Paul Howarth <paul@city-fan.org> 2.2-6
fdb13c
- SELinux policy module rewritten to merge fastcgi and system script domains
fdb13c
  in preparation for merge into main selinux-policy package (#462318)
fdb13c
- Try to determine supported SELinux policy types by reading /etc/selinux/config
fdb13c
fdb13c
* Thu Jul 24 2008 Paul Howarth <paul@city-fan.org> 2.2-5
fdb13c
- Tweak selinux-policy version detection macro to work with current Rawhide
fdb13c
fdb13c
* Thu Feb 14 2008 Paul Howarth <paul@city-fan.org> 2.2-4
fdb13c
- Rebuild with gcc 4.3.0 for Fedora 9
fdb13c
fdb13c
* Mon Jan 14 2008 Paul Howarth <paul@city-fan.org> 2.2-3
fdb13c
- Update SELinux policy to fix occasional failures on restarts
fdb13c
  (move shared memory file into /var/run/mod_fcgid directory)
fdb13c
fdb13c
* Thu Jan  3 2008 Paul Howarth <paul@city-fan.org> 2.2-2
fdb13c
- Update SELinux policy to support file transition to httpd_tmp_t for
fdb13c
  temporary files
fdb13c
fdb13c
* Fri Sep 14 2007 Paul Howarth <paul@city-fan.org> 2.2-1
fdb13c
- Update to version 2.2
fdb13c
- Make sure docs are encoded as UTF-8
fdb13c
fdb13c
* Mon Sep  3 2007 Joe Orton <jorton@redhat.com> 2.1-6
fdb13c
- rebuild for fixed 32-bit APR (#254241)
fdb13c
fdb13c
* Thu Aug 23 2007 Paul Howarth <paul@city-fan.org> 2.1-5
fdb13c
- Update source URL to point to downloads.sf.net rather than dl.sf.net
fdb13c
- Upstream released new tarball without changing version number, though the
fdb13c
  only change was in arch/win32/fcgid_pm_win.c, which is not used to build the
fdb13c
  RPM package
fdb13c
- Clarify license as GPL (unspecified/any version)
fdb13c
- Unexpand tabs in spec
fdb13c
- Add buildreq of gawk
fdb13c
fdb13c
* Fri Aug  3 2007 Paul Howarth <paul@city-fan.org> 2.1-4
fdb13c
- Add buildreq of pkgconfig, a missing dependency of both apr-devel and
fdb13c
  apr-util-devel on FC5
fdb13c
fdb13c
* Fri Jun 15 2007 Paul Howarth <paul@city-fan.org> 2.1-3
fdb13c
- Major update of SELinux policy, supporting accessing data on NFS/CIFS shares
fdb13c
  and a new boolean, httpd_fastcgi_can_sendmail, to allow connections to SMTP
fdb13c
  servers
fdb13c
- Fix for SELinux policy on Fedora 7, which didn't work due to changes in the
fdb13c
  permissions macros in the underlying selinux-policy package
fdb13c
fdb13c
* Wed Mar 21 2007 Paul Howarth <paul@city-fan.org> 2.1-2
fdb13c
- Add RHEL5 with SELinux support
fdb13c
- Rename README.Fedora to README.RPM
fdb13c
fdb13c
* Fri Feb 16 2007 Paul Howarth <paul@city-fan.org> 2.1-1
fdb13c
- Update to 2.1
fdb13c
- Update documentation and patches
fdb13c
- Rename some source files to reduce chances of conflicting names
fdb13c
- Include SharememPath directive in conf file to avoid unfortunate upstream
fdb13c
  default location
fdb13c
fdb13c
* Mon Oct 30 2006 Paul Howarth <paul@city-fan.org> 2.0-1
fdb13c
- Update to 2.0
fdb13c
- Source is now hosted at sourceforge.net
fdb13c
- Update docs
fdb13c
fdb13c
* Wed Sep  6 2006 Paul Howarth <paul@city-fan.org> 1.10-7
fdb13c
- Include the right README* files
fdb13c
fdb13c
* Tue Aug 29 2006 Paul Howarth <paul@city-fan.org> 1.10-6
fdb13c
- Buildreqs for FC5 now identical to buildreqs for FC6 onwards
fdb13c
fdb13c
* Fri Jul 28 2006 Paul Howarth <paul@city-fan.org> 1.10-5
fdb13c
- Split off SELinux module into separate subpackage to avoid dependency on
fdb13c
  the selinux-policy package for the main package
fdb13c
fdb13c
* Fri Jul 28 2006 Paul Howarth <paul@city-fan.org> 1.10-4
fdb13c
- SELinux policy packages moved from %%{_datadir}/selinux/packages/POLICYNAME
fdb13c
  to %%{_datadir}/selinux/POLICYNAME
fdb13c
- hardlink identical policy module packages together to avoid duplicate files
fdb13c
fdb13c
* Thu Jul 20 2006 Paul Howarth <paul@city-fan.org> 1.10-3
fdb13c
- Adjust buildreqs for FC6 onwards
fdb13c
- Figure out where top_dir is dynamically since the /etc/httpd/build
fdb13c
  symlink is gone in FC6
fdb13c
fdb13c
* Wed Jul  5 2006 Paul Howarth <paul@city-fan.org> 1.10-2
fdb13c
- SELinux policy update: allow FastCGI apps to do DNS lookups
fdb13c
fdb13c
* Tue Jul  4 2006 Paul Howarth <paul@city-fan.org> 1.10-1
fdb13c
- Update to 1.10
fdb13c
- Expand tabs to shut rpmlint up
fdb13c
fdb13c
* Tue Jul  4 2006 Paul Howarth <paul@city-fan.org> 1.09-10
fdb13c
- SELinux policy update:
fdb13c
  * allow httpd to read httpd_fastcgi_content_t without having the
fdb13c
  | httpd_builtin_scripting boolean set
fdb13c
  * allow httpd_fastcgi_script_t to read /etc/resolv.conf without
fdb13c
  | having the httpd_can_network_connect boolean set
fdb13c
fdb13c
* Sun Jun 18 2006 Paul Howarth <paul@city-fan.org> 1.09-9
fdb13c
- Discard output of semodule in %%postun
fdb13c
- Include some documentation from upstream
fdb13c
fdb13c
* Fri Jun  9 2006 Paul Howarth <paul@city-fan.org> 1.09-8
fdb13c
- Change default context type for socket directory from var_run_t to
fdb13c
  httpd_fastcgi_sock_t for better separation
fdb13c
fdb13c
* Thu Jun  8 2006 Paul Howarth <paul@city-fan.org> 1.09-7
fdb13c
- Add SELinux policy module and README.Fedora
fdb13c
- Conflict with selinux-policy versions older than what we're built on
fdb13c
fdb13c
* Mon May 15 2006 Paul Howarth <paul@city-fan.org> 1.09-6
fdb13c
- Instead of conflicting with mod_fastcgi, don't add the handler for .fcg etc.
fdb13c
  if mod_fastcgi is present
fdb13c
fdb13c
* Fri May 12 2006 Paul Howarth <paul@city-fan.org> 1.09-5
fdb13c
- Use correct handler name in fcgid.conf
fdb13c
- Conflict with mod_fastcgi
fdb13c
- Create directory %%{_localstatedir}/run/mod_fcgid for sockets
fdb13c
fdb13c
* Thu May 11 2006 Paul Howarth <paul@city-fan.org> 1.09-4
fdb13c
- Cosmetic tweaks (personal preferences)
fdb13c
- Don't include INSTALL.TXT, nothing of use to end users
fdb13c
fdb13c
* Wed May 10 2006 Thomas Antony <thomas@antony.eu> 1.09-3
fdb13c
- Initial release