SPECS: lighttpd.spec - add /var/run/lighttpd for fcgi sockets stor...

glen glen at pld-linux.org
Wed Jan 11 01:32:11 CET 2006


Author: glen                         Date: Wed Jan 11 00:32:11 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- add /var/run/lighttpd for fcgi sockets storage
- webapps.d needs not to be accessible after server has been started
- don't own logs dir, but have it writable for lighttpd user

---- Files affected:
SPECS:
   lighttpd.spec (1.151 -> 1.152) 

---- Diffs:

================================================================
Index: SPECS/lighttpd.spec
diff -u SPECS/lighttpd.spec:1.151 SPECS/lighttpd.spec:1.152
--- SPECS/lighttpd.spec:1.151	Tue Jan 10 22:25:49 2006
+++ SPECS/lighttpd.spec	Wed Jan 11 01:32:05 2006
@@ -37,7 +37,7 @@
 %define _source http://www.lighttpd.net/download/%{name}-%{version}.tar.gz
 %endif
 
-%define		_rel 0.12
+%define		_rel 0.13
 
 Summary:	Fast and light HTTP server
 Summary(pl):	Szybki i lekki serwer HTTP
@@ -274,7 +274,7 @@
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_lighttpddir}/{cgi-bin,html},/etc/{logrotate.d,rc.d/init.d,sysconfig}} \
 	$RPM_BUILD_ROOT%{_sysconfdir}/webapps.d \
-	$RPM_BUILD_ROOT/var/log/{%{name},archiv/%{name}}
+	$RPM_BUILD_ROOT{/var/log/{%{name},archiv/%{name}},/var/run/%{name}}
 
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
@@ -338,15 +338,15 @@
 %defattr(644,root,root,755)
 %doc NEWS README ChangeLog doc/lighttpd.conf doc/*.txt doc/rrdtool-graph.sh
 %dir %attr(750,root,lighttpd) %{_sysconfdir}
-# FIXME: accessible by webapps?
-%dir %attr(750,root,lighttpd) %{_sysconfdir}/webapps.d
+%dir %attr(750,root,root) %{_sysconfdir}/webapps.d
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.conf
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/mime.types.conf
 %attr(640,root,lighttpd) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*.user
 
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/%{name}
 %attr(750,root,root) %dir /var/log/archiv/%{name}
-%dir %attr(750,lighttpd,root) /var/log/%{name}
+%dir %attr(770,root,lighttpd) /var/log/%{name}
+%dir %attr(770,root,lighttpd) /var/run/%{name}
 %attr(754,root,root) /etc/rc.d/init.d/%{name}
 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/*
 %attr(755,root,root) %{_sbindir}/*
@@ -415,6 +415,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.152  2006/01/11 00:32:05  glen
+- add /var/run/lighttpd for fcgi sockets storage
+- webapps.d needs not to be accessible after server has been started
+- don't own logs dir, but have it writable for lighttpd user
+
 Revision 1.151  2006/01/10 21:25:49  glen
 - service restart failure should not stop package upgrade (maybe add this to %service macro?)
 
================================================================

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



More information about the pld-cvs-commit mailing list