diff --git a/awstats.README.Fedora b/awstats.README.Fedora new file mode 100644 index 0000000..333b2a8 --- /dev/null +++ b/awstats.README.Fedora @@ -0,0 +1,5 @@ +SELinux support +--------------- +If you have SELinux enabled, please install the package "awstats-selinux" as +this provides the necessary policy and labelling for AWStats to work +correctly under SELinux. diff --git a/awstats.spec b/awstats.spec index 1b29883..16fa62a 100644 --- a/awstats.spec +++ b/awstats.spec @@ -1,12 +1,13 @@ Name: awstats Version: 6.7 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Advanced Web Statistics License: GPLv2 Group: Applications/Internet URL: http://awstats.sourceforge.net Source0: http://dl.sf.net/awstats/awstats-%{version}.tar.gz Source1: awstats.README.SELinux +Source2: awstats.README.Fedora # Fix pb in xml output for history files # http://awstats.cvs.sourceforge.net/awstats/awstats/wwwroot/cgi-bin/awstats.pl?r1=1.892&r2=1.894&view=patch @@ -62,6 +63,7 @@ find tools/xslt -type f | xargs chmod -x perl -pi -e 's/\r//g' tools/httpd_conf tools/logresolvemerge.pl # SELinux README cp -a %{SOURCE1} README.SELinux +cp -a %{SOURCE2} README.Fedora mkdir selinux @@ -202,7 +204,7 @@ fi %{_datadir}/%{name}/wwwroot/cgi-bin # Different defattr to fix lots of files which should not be +x. %defattr(644,root,root,755) -%doc README.TXT docs/* +%doc README.TXT README.Fedora docs/* %{_datadir}/%{name}/lang %{_datadir}/%{name}/lib %{_datadir}/%{name}/plugins @@ -218,6 +220,9 @@ fi %changelog +* Wed Sep 24 2008 Tim Jackson 6.7-4 +- Add README.Fedora file pointing people towards the -selinux subpackage + * Sat Aug 23 2008 Tim Jackson 6.7-3 - Fix CVE-2008-3714: cross-site scripting security issue (#459605)