SPECS: lighttpd.spec - install dir for rrdtool data

glen glen at pld-linux.org
Fri Dec 15 21:14:32 CET 2006


Author: glen                         Date: Fri Dec 15 20:14:32 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- install dir for rrdtool data

---- Files affected:
SPECS:
   lighttpd.spec (1.199 -> 1.200) 

---- Diffs:

================================================================
Index: SPECS/lighttpd.spec
diff -u SPECS/lighttpd.spec:1.199 SPECS/lighttpd.spec:1.200
--- SPECS/lighttpd.spec:1.199	Fri Dec 15 09:10:59 2006
+++ SPECS/lighttpd.spec	Fri Dec 15 21:14:26 2006
@@ -39,7 +39,7 @@
 %define		webdav_progs	1
 %endif
 
-%define		_rel 5
+%define		_rel 5.1
 Summary:	Fast and light HTTP server
 Summary(pl):	Szybki i lekki serwer HTTP
 Name:		lighttpd
@@ -784,7 +784,8 @@
 install -d $RPM_BUILD_ROOT{%{_lighttpddir}/{cgi-bin,html},/etc/{logrotate.d,rc.d/init.d,sysconfig,monit}} \
 	$RPM_BUILD_ROOT%{_sysconfdir}/{conf,webapps}.d \
 	$RPM_BUILD_ROOT{/var/log/{%{name},archiv/%{name}},/var/run/%{name}} \
-	$RPM_BUILD_ROOT%{_datadir}/lighttpd/errordocs
+	$RPM_BUILD_ROOT%{_datadir}/lighttpd/errordocs \
+	$RPM_BUILD_ROOT/var/lib/lighttpd
 
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
@@ -986,6 +987,9 @@
 %dir %{_datadir}/lighttpd
 %dir %{_datadir}/lighttpd/errordocs
 
+# rrdtool database is stored there
+%dir %attr(771,root,lighttpd) /var/lib/lighttpd
+
 %files mod_access
 %defattr(644,root,root,755)
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_access.conf
@@ -1178,6 +1182,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.200  2006/12/15 20:14:26  glen
+- install dir for rrdtool data
+
 Revision 1.199  2006/12/15 08:10:59  glen
 - rel 5: let webserver depend on webapps so packages can trigger
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/lighttpd.spec?r1=1.199&r2=1.200&f=u



More information about the pld-cvs-commit mailing list