SPECS: mrtg.spec - start daemon as stats user.
blues
blues at pld-linux.org
Thu Jul 26 14:22:49 CEST 2007
Author: blues Date: Thu Jul 26 12:22:49 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- start daemon as stats user.
---- Files affected:
SPECS:
mrtg.spec (1.142 -> 1.143)
---- Diffs:
================================================================
Index: SPECS/mrtg.spec
diff -u SPECS/mrtg.spec:1.142 SPECS/mrtg.spec:1.143
--- SPECS/mrtg.spec:1.142 Sun May 6 09:07:15 2007
+++ SPECS/mrtg.spec Thu Jul 26 14:22:44 2007
@@ -3,8 +3,8 @@
# - update _htmldir (/usr/share for static data, /var/lib for generated)
# - accept multiple config definition in /etc/sysconfig/mrtg by cron-started
# mrtg. Thats why sysconfig file is in main package.
-# - start mrtg daemon as non-root user (configurable, because root is required
-# for some sort of stats
+# - start mrtg cronjob as non-root user (configurable in sysconfig file, because
+# root is required for some sort of stats)
%include /usr/lib/rpm/macros.perl
Summary: Multi Router Traffic Grapher
@@ -14,7 +14,7 @@
Summary(ru.UTF-8): MRTG - программа изображения граффиков, изображающих траффик на множестве роутеров
Name: mrtg
Version: 2.15.2
-Release: 1
+Release: 1.1
License: GPL
Group: Applications/Networking
Source0: http://oss.oetiker.ch/mrtg/pub/%{name}-%{version}.tar.gz
@@ -151,19 +151,19 @@
%files
%defattr(644,root,root,755)
%doc contrib.tar doc/*.txt
-%dir %{_htmldir}
-%dir %{_libdir}/mrtg
-%attr(751,root,root) %dir %{_sysconfdir}/mrtg
-%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/mrtg/mrtg.cfg
-%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/mrtg
+%attr(751,root,stats) %dir %{_sysconfdir}/mrtg
+%attr(640,root,stats) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/mrtg/mrtg.cfg
+%attr(640,root,stats) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/mrtg
%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/mrtg
+%attr(755,stats,logs) %dir %{_htmldir}
%{_htmldir}/*
%{perl_vendorlib}/*.pm
%attr(755,root,root) %{_bindir}/*
+%dir %{_libdir}/mrtg
%attr(755,root,root) %{_libdir}/mrtg/*
-%attr(751,root,root) %dir /var/log/mrtg
-%attr(751,root,root) %dir /var/log/archive/mrtg
-%dir /var/run/mrtg
+%attr(1751,stats,logs) %dir /var/log/mrtg
+%attr(751,root,logs) %dir /var/log/archive/mrtg
+%attr(755,stats,stats) %dir /var/run/mrtg
%{_mandir}/man1/*
%files cron
@@ -180,6 +180,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.143 2007/07/26 12:22:44 blues
+- start daemon as stats user.
+
Revision 1.142 2007/05/06 07:07:15 adamg
- updated to 2.15.2
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/mrtg.spec?r1=1.142&r2=1.143&f=u
More information about the pld-cvs-commit
mailing list