- SELinux policy module no longer built for Fedora 8 onwards as it is
obsoleted by the main selinux-policy package - Conflicts for selinux-policy packages older than the releases where mod_fcgid policy was incorporated have been added for Fedora 8, 9, and 10 versions, to ensure that SELinux support will work if installed
This commit is contained in:
parent
a7e12480a9
commit
29bfc1ab15
@ -1,11 +1,12 @@
|
||||
# Fedora 5,6,7 and EPEL5 versions includes SELinux policy module package
|
||||
# Fedora 8,9,10 versions will include policy in errata selinux-policy releases
|
||||
%if 0%{?fedora}%{?rhel} < 5
|
||||
# Fedora 8 and 9 versions include policy in errata selinux-policy releases
|
||||
# Fedora 10 onwards include policy in standard selinux-policy releases
|
||||
%if 0%{?fedora}%{?rhel} < 5 || 0%{?fedora} > 7 || 0%{?rhel} > 5
|
||||
%global selinux_module 0
|
||||
%global selinux_types %{nil}
|
||||
%global selinux_variants %{nil}
|
||||
%global selinux_buildreqs %{nil}
|
||||
%else
|
||||
# Temporarily build merged policy to make sure it works
|
||||
%global selinux_module 1
|
||||
%global selinux_types %(%{__awk} '/^#[[:space:]]*SELINUXTYPE=/,/^[^#]/ { if ($3 == "-") printf "%s ", $2 }' /etc/selinux/config 2>/dev/null)
|
||||
%global selinux_variants %([ -z "%{selinux_types}" ] && echo mls strict targeted || echo %{selinux_types})
|
||||
@ -14,7 +15,7 @@
|
||||
|
||||
Name: mod_fcgid
|
||||
Version: 2.2
|
||||
Release: 6%{?dist}
|
||||
Release: 7%{?dist}
|
||||
Summary: Apache2 module for high-performance server-side scripting
|
||||
Group: System Environment/Daemons
|
||||
License: GPL+
|
||||
@ -32,6 +33,16 @@ Patch0: mod_fcgid.2.1-docurls.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildRequires: gawk, httpd-devel >= 2.0, pkgconfig
|
||||
Requires: httpd-mmn = %([ -a %{_includedir}/httpd/.mmn ] && %{__cat} %{_includedir}/httpd/.mmn || echo missing)
|
||||
# Make sure that selinux-policy is sufficiently up-to-date if it's installed
|
||||
%if "%{?fedora}" == "8"
|
||||
Conflicts: selinux-policy < 3.0.8-123.fc8
|
||||
%endif
|
||||
%if "%{?fedora}" == "9"
|
||||
Conflicts: selinux-policy < 3.3.1-107.fc9
|
||||
%endif
|
||||
%if "%{?fedora}" == "10"
|
||||
Conflicts: selinux-policy < 3.5.13-8.fc10
|
||||
%endif
|
||||
|
||||
%description
|
||||
mod_fcgid is a binary-compatible alternative to the Apache module mod_fastcgi.
|
||||
@ -158,6 +169,13 @@ exit 0
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Wed Nov 12 2008 Paul Howarth <paul@city-fan.org> 2.2-7
|
||||
- SELinux policy module no longer built for Fedora 8 onwards as it is
|
||||
obsoleted by the main selinux-policy package
|
||||
- Conflicts for selinux-policy packages older than the releases where mod_fcgid
|
||||
policy was incorporated have been added for Fedora 8, 9, and 10 versions, to
|
||||
ensure that SELinux support will work if installed
|
||||
|
||||
* Tue Oct 21 2008 Paul Howarth <paul@city-fan.org> 2.2-6
|
||||
- SELinux policy module rewritten to merge fastcgi and system script domains
|
||||
in preparation for merge into main selinux-policy package (#462318)
|
||||
|
Loading…
Reference in New Issue
Block a user