SPECS: amavis-stats.spec - we must run as root in order to read mail logs -...

hawk hawk at pld-linux.org
Tue May 13 00:31:50 CEST 2008


Author: hawk                         Date: Mon May 12 22:31:50 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- we must run as root in order to read mail logs
- amavis-stats.php.conf must be readable by web server

---- Files affected:
SPECS:
   amavis-stats.spec (1.39 -> 1.40) 

---- Diffs:

================================================================
Index: SPECS/amavis-stats.spec
diff -u SPECS/amavis-stats.spec:1.39 SPECS/amavis-stats.spec:1.40
--- SPECS/amavis-stats.spec:1.39	Mon May 12 23:44:11 2008
+++ SPECS/amavis-stats.spec	Tue May 13 00:31:44 2008
@@ -9,7 +9,7 @@
 Summary(pl.UTF-8):	Prosty generator statystyk dla amavisd-new
 Name:		amavis-stats
 Version:	0.1.22
-Release:	0.2
+Release:	0.3
 License:	GPL
 Group:		Applications/System
 Source0:	http://downloads.topicdesk.com/amavis_stats/%{name}-%{version}.tar.gz
@@ -71,7 +71,7 @@
 %{__automake}
 sed -i -e '/basic_machine=powerpc-apple/s/$/\n\t\t;;\n\tnoarch-*)\n\t\tbasic_machine=noarch/;' config.sub
 %configure \
-	--with-user=http \
+	--with-user=root \
 	--with-group=http \
 	--with-log-file=/var/log/maillog
 %{__make}
@@ -132,7 +132,7 @@
 %dir %attr(750,root,http) %{_webapps}/%{_webapp}
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webapps}/%{_webapp}/apache.conf
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webapps}/%{_webapp}/httpd.conf
-%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webapps}/%{_webapp}/amavis-stats.php.conf
+%attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_webapps}/%{_webapp}/amavis-stats.php.conf
 %dir %{_appdir}
 %{_appdir}/amavis-stats.php.conf
 %{_appdir}/img
@@ -151,6 +151,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.40  2008-05-12 22:31:44  hawk
+- we must run as root in order to read mail logs
+- amavis-stats.php.conf must be readable by web server
+
 Revision 1.39  2008-05-12 21:44:11  hawk
 - added init script
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/amavis-stats.spec?r1=1.39&r2=1.40&f=u



More information about the pld-cvs-commit mailing list