SPECS: mailgraph.spec - missing R: webapps - add http user to stat...

glen glen at pld-linux.org
Sun Mar 5 14:56:16 CET 2006


Author: glen                         Date: Sun Mar  5 13:56:16 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- missing R: webapps
- add http user to stats group and make /var/lib/mailgraph not world accessible
- rel 4

---- Files affected:
SPECS:
   mailgraph.spec (1.38 -> 1.39) 

---- Diffs:

================================================================
Index: SPECS/mailgraph.spec
diff -u SPECS/mailgraph.spec:1.38 SPECS/mailgraph.spec:1.39
--- SPECS/mailgraph.spec:1.38	Sun Mar  5 14:27:41 2006
+++ SPECS/mailgraph.spec	Sun Mar  5 14:56:11 2006
@@ -4,7 +4,7 @@
 Summary(pl):	Proste statystyki dla Postfiksa
 Name:		mailgraph
 Version:	1.12
-Release:	3
+Release:	4
 License:	GPL v2
 Group:		Applications/Networking
 Source0:	http://people.ee.ethz.ch/~dws/software/mailgraph/pub/%{name}-%{version}.tar.gz
@@ -23,6 +23,7 @@
 Requires:	apache(mod_expires)
 Requires:	postfix
 Requires:	rc-scripts
+Requires:	webapps
 Requires:	webserver = apache
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -86,12 +87,14 @@
 fi
 
 %triggerin -- apache1
+%addusertogroup http stats
 %webapp_register apache %{_webapp}
 
 %triggerun -- apache1
 %webapp_unregister apache %{_webapp}
 
 %triggerin -- apache < 2.2.0, apache-base
+%addusertogroup http stats
 %webapp_register httpd %{_webapp}
 
 %triggerun -- apache < 2.2.0, apache-base
@@ -125,7 +128,7 @@
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/mailgraph
 %dir %{_appdir}
 %attr(755,root,root) %{_appdir}/index.cgi
-%attr(771,root,stats) %dir %{_pkglibdir}
+%attr(770,root,stats) %dir %{_pkglibdir}
 %attr(775,root,http) %dir %{_pkglibdir}/img
 %ghost /var/log/mailgraph.log
 
@@ -135,6 +138,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.39  2006/03/05 13:56:11  glen
+- missing R: webapps
+- add http user to stats group and make /var/lib/mailgraph not world accessible
+- rel 4
+
 Revision 1.38  2006/03/05 13:27:41  glen
 - migrate to webapps framework
 - add stats user to syslog group if sysklogd is used
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/mailgraph.spec?r1=1.38&r2=1.39&f=u



More information about the pld-cvs-commit mailing list