- 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:
Paul Howarth 2007-08-23 09:32:38 +00:00
parent 1c54c519a0
commit 760e07ba25
2 changed files with 62 additions and 49 deletions

View File

@ -11,12 +11,12 @@
Name: mod_fcgid Name: mod_fcgid
Version: 2.1 Version: 2.1
Release: 3%{?dist} Release: 5%{?dist}
Summary: Apache2 module for high-performance server-side scripting Summary: Apache2 module for high-performance server-side scripting
Group: System Environment/Daemons Group: System Environment/Daemons
License: GPL License: GPL+
URL: http://fastcgi.coremail.cn/ 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 Source1: fcgid.conf
Source2: fastcgi.te Source2: fastcgi.te
Source3: fastcgi.fc Source3: fastcgi.fc
@ -27,7 +27,7 @@ Source7: mod_fcgid-2.1-README.SELinux
Source8: fastcgi-2.5.te Source8: fastcgi-2.5.te
Patch0: mod_fcgid.2.1-docurls.patch Patch0: mod_fcgid.2.1-docurls.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 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) Requires: httpd-mmn = %([ -a %{_includedir}/httpd/.mmn ] && %{__cat} %{_includedir}/httpd/.mmn || echo missing)
%description %description
@ -129,14 +129,14 @@ done
# Clean up after package removal # Clean up after package removal
if [ $1 -eq 0 ]; then if [ $1 -eq 0 ]; then
# Remove SELinux policy modules # Remove SELinux policy modules
for selinuxvariant in %{selinux_variants} for selinuxvariant in %{selinux_variants}; do
do
/usr/sbin/semodule -s ${selinuxvariant} -r fastcgi &> /dev/null || : /usr/sbin/semodule -s ${selinuxvariant} -r fastcgi &> /dev/null || :
done done
# Clean up any remaining file contexts (shouldn't be any really) # Clean up any remaining file contexts (shouldn't be any really)
[ -d %{_localstatedir}/run/mod_fcgid ] && \ [ -d %{_localstatedir}/run/mod_fcgid ] && \
/sbin/restorecon -R %{_localstatedir}/run/mod_fcgid &> /dev/null || : /sbin/restorecon -R %{_localstatedir}/run/mod_fcgid &> /dev/null || :
fi fi
exit 0
%endif %endif
%files %files
@ -155,6 +155,19 @@ fi
%endif %endif
%changelog %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 * 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 - 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 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 * Tue Jul 4 2006 Paul Howarth <paul@city-fan.org> 1.09-10
- SELinux policy update: - SELinux policy update:
* allow httpd to read httpd_fastcgi_content_t without having the * 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 * 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 * Sun Jun 18 2006 Paul Howarth <paul@city-fan.org> 1.09-9
- Discard output of semodule in %%postun - Discard output of semodule in %%postun

View File

@ -1 +1 @@
68a6479e398a20577334f16a8b06c418 mod_fcgid.2.1.tar.gz 0bc036276e378463c80617ff57e853dc mod_fcgid.2.1.tar.gz