packages: cacti/cacti.spec - add /var/cache/cacti for scripts like ss_get_m...
glen
glen at pld-linux.org
Tue Dec 14 00:24:15 CET 2010
Author: glen Date: Mon Dec 13 23:24:15 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- add /var/cache/cacti for scripts like ss_get_mysql_stats.php, so they don't trash /tmp; rel 6
---- Files affected:
packages/cacti:
cacti.spec (1.134 -> 1.135)
---- Diffs:
================================================================
Index: packages/cacti/cacti.spec
diff -u packages/cacti/cacti.spec:1.134 packages/cacti/cacti.spec:1.135
--- packages/cacti/cacti.spec:1.134 Mon Dec 13 11:19:48 2010
+++ packages/cacti/cacti.spec Tue Dec 14 00:24:09 2010
@@ -8,7 +8,7 @@
Summary(pl.UTF-8): Cacti - frontend w PHP do rrdtoola
Name: cacti
Version: 0.8.7g
-Release: 5
+Release: 6
License: GPL
Group: Applications/WWW
Source0: http://www.cacti.net/downloads/%{name}-%{version}.tar.gz
@@ -178,7 +178,7 @@
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{%{_sysconfdir}/%{name},%{_appdir}/{docs,plugins},/etc/{cron.d,logrotate.d},%{_sbindir}}
-install -d $RPM_BUILD_ROOT/var/{log,lib/%{name}}
+install -d $RPM_BUILD_ROOT/var/{log,{lib,cache}/%{name}}
cp -a *.php $RPM_BUILD_ROOT%{_appdir}
cp -a cli images include install lib resource scripts sql $RPM_BUILD_ROOT%{_appdir}
@@ -268,6 +268,7 @@
%attr(770,root,http) %dir /var/lib/%{name}/rra
%attr(730,root,http) %dir /var/log/%{name}
%attr(660,root,http) %ghost /var/log/%{name}/cacti.log
+%attr(730,root,http) %dir /var/cache/%{name}
%files setup
%defattr(644,root,root,755)
@@ -283,6 +284,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.135 2010/12/13 23:24:09 glen
+- add /var/cache/cacti for scripts like ss_get_mysql_stats.php, so they don't trash /tmp; rel 6
+
Revision 1.134 2010/12/13 10:19:48 glen
- fix config syntax error, actually use just one config file from webapps dir; rel 5
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/cacti/cacti.spec?r1=1.134&r2=1.135&f=u
More information about the pld-cvs-commit
mailing list