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