SPECS: tomcat.spec - groupadd/groupremove/Provide group: servlet

pawelz pawelz at pld-linux.org
Sun Apr 12 16:57:55 CEST 2009


Author: pawelz                       Date: Sun Apr 12 14:57:55 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- groupadd/groupremove/Provide group: servlet

---- Files affected:
SPECS:
   tomcat.spec (1.110 -> 1.111) 

---- Diffs:

================================================================
Index: SPECS/tomcat.spec
diff -u SPECS/tomcat.spec:1.110 SPECS/tomcat.spec:1.111
--- SPECS/tomcat.spec:1.110	Sun Apr 12 16:53:20 2009
+++ SPECS/tomcat.spec	Sun Apr 12 16:57:49 2009
@@ -109,6 +109,7 @@
 Requires:	jsse >= 1.0.2
 %{?with_jta:Requires:	jta >= 1.0.1}
 Requires:	rc-scripts
+Provides:	group(servlet)
 Provides:	group(tomcat)
 Provides:	java-servlet-container
 Provides:	user(tomcat)
@@ -356,7 +357,8 @@
 
 %pre
 %groupadd -g 234 -r -f tomcat
-%useradd -u 234 -r -d /var/lib/tomcat -s /bin/false -c "Tomcat User" -g tomcat tomcat
+%groupadd -g 237 -r -f servlet
+%useradd -u 234 -r -d /var/lib/tomcat -s /bin/false -c "Tomcat User" -g tomcat -G servlet tomcat
 
 %post
 /sbin/chkconfig --add tomcat
@@ -372,6 +374,7 @@
 if [ "$1" = "0" ]; then
 	%userremove tomcat
 	%groupremove tomcat
+	%groupremove servlet
 fi
 
 %files
@@ -460,6 +463,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.111  2009/04/12 14:57:49  pawelz
+- groupadd/groupremove/Provide group: servlet
+
 Revision 1.110  2009/04/12 14:53:20  glen
 - apply -admin-struts.patch
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/tomcat.spec?r1=1.110&r2=1.111&f=u



More information about the pld-cvs-commit mailing list