- Update source URL to point to downloads.sf.net rather than dl.sf.net
- Upstream released new tarball without changing version number, though the only change was in arch/win32/fcgid_pm_win.c, which is not used to build the RPM package - Clarify license as GPL (unspecified/any version) - Unexpand tabs in spec - Add buildreq of gawk - Add buildreq of pkgconfig, a missing dependency of both apr-devel and apr-util-devel on FC5
This commit is contained in:
parent
1c54c519a0
commit
760e07ba25
@ -11,12 +11,12 @@
|
||||
|
||||
Name: mod_fcgid
|
||||
Version: 2.1
|
||||
Release: 3%{?dist}
|
||||
Release: 5%{?dist}
|
||||
Summary: Apache2 module for high-performance server-side scripting
|
||||
Group: System Environment/Daemons
|
||||
License: GPL
|
||||
License: GPL+
|
||||
URL: http://fastcgi.coremail.cn/
|
||||
Source0: http://dl.sf.net/mod-fcgid/mod_fcgid.%{version}.tar.gz
|
||||
Source0: http://downloads.sf.net/mod-fcgid/mod_fcgid.%{version}.tar.gz
|
||||
Source1: fcgid.conf
|
||||
Source2: fastcgi.te
|
||||
Source3: fastcgi.fc
|
||||
@ -27,7 +27,7 @@ Source7: mod_fcgid-2.1-README.SELinux
|
||||
Source8: fastcgi-2.5.te
|
||||
Patch0: mod_fcgid.2.1-docurls.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildRequires: httpd-devel >= 2.0
|
||||
BuildRequires: gawk, httpd-devel >= 2.0, pkgconfig
|
||||
Requires: httpd-mmn = %([ -a %{_includedir}/httpd/.mmn ] && %{__cat} %{_includedir}/httpd/.mmn || echo missing)
|
||||
|
||||
%description
|
||||
@ -129,14 +129,14 @@ done
|
||||
# Clean up after package removal
|
||||
if [ $1 -eq 0 ]; then
|
||||
# Remove SELinux policy modules
|
||||
for selinuxvariant in %{selinux_variants}
|
||||
do
|
||||
for selinuxvariant in %{selinux_variants}; do
|
||||
/usr/sbin/semodule -s ${selinuxvariant} -r fastcgi &> /dev/null || :
|
||||
done
|
||||
# Clean up any remaining file contexts (shouldn't be any really)
|
||||
[ -d %{_localstatedir}/run/mod_fcgid ] && \
|
||||
/sbin/restorecon -R %{_localstatedir}/run/mod_fcgid &> /dev/null || :
|
||||
fi
|
||||
exit 0
|
||||
%endif
|
||||
|
||||
%files
|
||||
@ -155,6 +155,19 @@ fi
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Thu Aug 23 2007 Paul Howarth <paul@city-fan.org> 2.1-5
|
||||
- Update source URL to point to downloads.sf.net rather than dl.sf.net
|
||||
- Upstream released new tarball without changing version number, though the
|
||||
only change was in arch/win32/fcgid_pm_win.c, which is not used to build the
|
||||
RPM package
|
||||
- Clarify license as GPL (unspecified/any version)
|
||||
- Unexpand tabs in spec
|
||||
- Add buildreq of gawk
|
||||
|
||||
* Fri Aug 3 2007 Paul Howarth <paul@city-fan.org> 2.1-4
|
||||
- Add buildreq of pkgconfig, a missing dependency of both apr-devel and
|
||||
apr-util-devel on FC5
|
||||
|
||||
* Fri Jun 15 2007 Paul Howarth <paul@city-fan.org> 2.1-3
|
||||
- Major update of SELinux policy, supporting accessing data on NFS/CIFS shares
|
||||
and a new boolean, httpd_fastcgi_can_sendmail, to allow connections to SMTP
|
||||
@ -208,9 +221,9 @@ fi
|
||||
* Tue Jul 4 2006 Paul Howarth <paul@city-fan.org> 1.09-10
|
||||
- SELinux policy update:
|
||||
* allow httpd to read httpd_fastcgi_content_t without having the
|
||||
httpd_builtin_scripting boolean set
|
||||
| httpd_builtin_scripting boolean set
|
||||
* allow httpd_fastcgi_script_t to read /etc/resolv.conf without
|
||||
having the httpd_can_network_connect boolean set
|
||||
| having the httpd_can_network_connect boolean set
|
||||
|
||||
* Sun Jun 18 2006 Paul Howarth <paul@city-fan.org> 1.09-9
|
||||
- Discard output of semodule in %%postun
|
||||
|
Loading…
Reference in New Issue
Block a user