SPECS: smokeping.spec - added /var/run/smokeping directory for PID file (sm...

gotar gotar at pld-linux.org
Sun Feb 15 15:35:08 CET 2009


Author: gotar                        Date: Sun Feb 15 14:35:08 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added /var/run/smokeping directory for PID file (smokeping user cannot
  create directly in /var/run), R: rc-scripts supporting daemon --pidfile,
- rel. 4

---- Files affected:
SPECS:
   smokeping.spec (1.59 -> 1.60) 

---- Diffs:

================================================================
Index: SPECS/smokeping.spec
diff -u SPECS/smokeping.spec:1.59 SPECS/smokeping.spec:1.60
--- SPECS/smokeping.spec:1.59	Sun Feb 15 15:08:04 2009
+++ SPECS/smokeping.spec	Sun Feb 15 15:35:03 2009
@@ -7,7 +7,7 @@
 Summary(pl.UTF-8):	Smokeping - narzędzie do tworzenia wykresów opóźnień sieci
 Name:		smokeping
 Version:	2.4.2
-Release:	3
+Release:	4
 License:	GPL v2+
 Group:		Networking/Utilities
 Source0:	http://oss.oetiker.ch/smokeping/pub/%{name}-%{version}.tar.gz
@@ -24,7 +24,7 @@
 Requires(post):	sed >= 4.0
 Requires(post,preun):	/sbin/chkconfig
 Requires(post):	findutils
-Requires:	rc-scripts
+Requires:	rc-scripts >= 0.4.1.23
 Requires:	rrdtool >= 1.2
 Suggests:	fping
 Suggests:	perl(Authen::Radius)
@@ -113,7 +113,7 @@
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{/etc/rc.d/init.d,%{_sysconfdir},%{_wwwconfdir},%{_sbindir}} \
 	$RPM_BUILD_ROOT{%{_datadir}/%{name},%{_sharedstatedir}/%{name}/{img,rrd},%{_cgi_bindir}} \
-	$RPM_BUILD_ROOT%{_mandir}/man{1,3,5,7}
+	$RPM_BUILD_ROOT{%{_mandir}/man{1,3,5,7},/var/run/%{name}}
 
 install etc/basepage.html.dist $RPM_BUILD_ROOT%{_sysconfdir}/basepage.html
 install etc/config.dist $RPM_BUILD_ROOT%{_sysconfdir}
@@ -228,6 +228,7 @@
 %dir %{_sharedstatedir}/%{name}
 %dir %attr(775,root,smokeping) %{_sharedstatedir}/%{name}/rrd
 %dir %attr(775,root,http) %{_sharedstatedir}/%{name}/img
+%dir %attr(770,root,smokeping) /var/run/%{name}
 
 %files cgi
 %defattr(644,root,root,755)
@@ -248,6 +249,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.60  2009/02/15 14:35:03  gotar
+- added /var/run/smokeping directory for PID file (smokeping user cannot
+  create directly in /var/run), R: rc-scripts supporting daemon --pidfile,
+- rel. 4
+
 Revision 1.59  2009/02/15 14:08:04  gotar
 - added trigger for upgrading from smokeping < 2.4.2-3 - rrd files and dirs
   owned by root would not be accessible by daemon working as smokeping user
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/smokeping.spec?r1=1.59&r2=1.60&f=u



More information about the pld-cvs-commit mailing list