Blame SPECS/mod_fcgid.spec

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