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