]> git.pld-linux.org Git - packages/awstats.git/commitdiff
- mark /etc/crond./awstats as config
authortwittner <twittner@pld-linux.org>
Fri, 19 Jan 2007 19:19:33 +0000 (19:19 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- make /etc/webapps/awstats/awstast*.conf worldreadable

Changed files:
    awstats.spec -> 1.53

awstats.spec

index ab7bff9b3f2d5d29f667bef412142b9e6b5c02bd..16799f8cbe4dd91cbdc96210504731bf106b5dab 100644 (file)
@@ -4,22 +4,13 @@
 #   unfortunately they have already landed in Ac)
 # - apache1 config
 # - security CVE-2006-1945, CVE-2006-2237: http://security.gentoo.org/glsa/glsa-200606-06.xml
-# 
-# NOTES:
-# - /etc/cron.d/awstats contents is overwritten during upgrade - maybe this
-#   should be market as %config(noreplace)
-# - Cron <stats@asus> umask 002; /usr/bin/awstats_updateall.pl now -configdir=/etc/webapps/awstats -awstatsprog=/usr/bin/awstats.pl
-#   Error: Can't scan directory /etc/webapps/awstats.
-#   called from /etc/cron.d/awstats uses `stats' user which has no rights for
-#   reading awstats configuration from /etc/webapps/awstats directory - what
-#   does prevent from making this directory and config files worldreadable?
-#
+
 %include       /usr/lib/rpm/macros.perl
 Summary:       Advanced Web Statistics is a free powerful server log file analyzer
 Summary(pl):   Zaawansowany program do analizowania logów serwera
 Name:          awstats
 Version:       6.6
-Release:       0.3
+Release:       0.4
 License:       GPL v2
 Group:         Applications/Networking
 Source0:       http://awstats.sourceforge.net/files/%{name}-%{version}.tar.gz
@@ -154,9 +145,9 @@ rm -f /etc/httpd/httpd.conf/99_%{name}.conf
 %dir %attr(750,root,http) %{_sysconfdir}
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/lighttpd.conf
-%attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/awstats*.conf
+%attr(644,root,http) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/awstats*.conf
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/cron.d/awstats
 
-%attr(640,root,root) /etc/cron.d/awstats
 %attr(755,root,root) %{_bindir}/*.pl
 %dir %{_datadir}/%{name}
 %{_datadir}/%{name}/lang
This page took 0.06563 seconds and 4 git commands to generate.