Applying upstream patches
This commit is contained in:
parent
f013a0e0bf
commit
58f490ff91
16
cacti.spec
16
cacti.spec
@ -1,6 +1,6 @@
|
|||||||
Name: cacti
|
Name: cacti
|
||||||
Version: 0.8.7e
|
Version: 0.8.7e
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: An rrd based graphing tool
|
Summary: An rrd based graphing tool
|
||||||
|
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
@ -11,6 +11,11 @@ Source0: http://www.cacti.net/downloads/%{name}-%{version}.tar.gz
|
|||||||
Source1: cacti-httpd.conf
|
Source1: cacti-httpd.conf
|
||||||
Source2: cacti.logrotate
|
Source2: cacti.logrotate
|
||||||
Source3: cacti.README.Fedora
|
Source3: cacti.README.Fedora
|
||||||
|
Patch0: cli_add_graph.patch
|
||||||
|
Patch1: snmp_invalid_response.patch
|
||||||
|
Patch2: template_duplication.patch
|
||||||
|
Patch3: cross_site_fix.patchcross_site_fix.patch
|
||||||
|
|
||||||
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
@ -30,6 +35,10 @@ used to creating traffic graphs with MRTG.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch0 -p1
|
||||||
|
%patch1 -p1
|
||||||
|
%patch2 -p1
|
||||||
|
%patch3 -p1
|
||||||
|
|
||||||
echo "#*/5 * * * * cacti %{_bindir}/php %{_datadir}/%{name}/poller.php > /dev/null 2>&1" >cacti.cron
|
echo "#*/5 * * * * cacti %{_bindir}/php %{_datadir}/%{name}/poller.php > /dev/null 2>&1" >cacti.cron
|
||||||
|
|
||||||
@ -105,6 +114,11 @@ fi
|
|||||||
%attr(0644,root,root) %{_localstatedir}/lib/%{name}/lib
|
%attr(0644,root,root) %{_localstatedir}/lib/%{name}/lib
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Dec 1 2009 Mike McGrath <mmcgrath@redhat.com> - 0.8.7e-2
|
||||||
|
- Pulling in some official patches
|
||||||
|
- #541279
|
||||||
|
- #541962
|
||||||
|
|
||||||
* Sun Aug 16 2009 Mike McGrath <mmcgrath@redhat.com> - 0.8.7e-1
|
* Sun Aug 16 2009 Mike McGrath <mmcgrath@redhat.com> - 0.8.7e-1
|
||||||
- Upstream released new version
|
- Upstream released new version
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user