]> git.pld-linux.org Git - packages/lighttpd.git/commitdiff
- add /var/run/lighttpd for fcgi sockets storage
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 11 Jan 2006 00:32:05 +0000 (00:32 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- webapps.d needs not to be accessible after server has been started
- don't own logs dir, but have it writable for lighttpd user

Changed files:
    lighttpd.spec -> 1.152

lighttpd.spec

index d12e1e1106a0bee8b4304250c5c9ac7c39dab701..f3466b725e1d5cce0f9bd7ef4060c432488afd1f 100644 (file)
@@ -36,7 +36,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
@@ -273,7 +273,7 @@ install %{SOURCE6} mime.types.sh
 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
@@ -337,15 +337,15 @@ fi
 %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}/*
This page took 0.07901 seconds and 4 git commands to generate.