Blame SPECS/mod_fcgid.spec

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