/[smeserver]/rpms/e-smith/sme9/e-smith.spec
ViewVC logotype

Diff of /rpms/e-smith/sme9/e-smith.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.4 by wellsi, Tue May 7 15:01:16 2013 UTC Revision 1.6 by wellsi, Sun May 19 16:03:05 2013 UTC
# Line 1  Line 1 
1  # $Id: e-smith.spec,v 1.3 2013/03/09 22:31:35 slords Exp $  # $Id: e-smith.spec,v 1.5 2013/05/19 15:55:33 wellsi Exp $
2    
3  Summary: e-smith server and gateway  Summary: e-smith server and gateway
4  Name: e-smith  Name: e-smith
5  %define version 5.4.0  %define version 5.4.0
6  %define release 4  %define release 5
7  Version: %{version}  Version: %{version}
8  Release: %{release}%{?dist}  Release: %{release}%{?dist}
9  License: GPL  License: GPL
# Line 15  Requires(pre): /usr/sbin/useradd Line 15  Requires(pre): /usr/sbin/useradd
15  AutoReqProv: no  AutoReqProv: no
16    
17  %changelog  %changelog
18    * Sun May 19 2013 Ian Wells <esmith@wellsi.com> 5.4.0-5.sme
19    - Update the full names of users added in %pre [SME: 3550]
20    
21  * Sun May 05 2013 Ian Wells <esmith@wellsi.com> 5.4.0-4.sme  * Sun May 05 2013 Ian Wells <esmith@wellsi.com> 5.4.0-4.sme
22  - Fix uid and gid to be the same for the users added in %pre [SME: 7547]  - Fix uid and gid to be the same for the users added in %pre [SME: 7547]
23  - Changed Prereq to Requires(pre) as Prereq is deprecated  - Changed Prereq to Requires(pre) as Prereq is deprecated
# Line 98  can work. Contents are now included in e Line 101  can work. Contents are now included in e
101  /usr/sbin/groupadd \  /usr/sbin/groupadd \
102    -g 102 -o www 2>/dev/null || :    -g 102 -o www 2>/dev/null || :
103  /usr/sbin/useradd \  /usr/sbin/useradd \
104    -u 102 -g 102 -o -c 'e-smith web server' -d /home/e-smith \    -u 102 -g 102 -o -c 'SME Server web server' -d /home/e-smith \
105    -G shared -M -s /bin/false www  || :    -G shared -M -s /bin/false www  || :
106  /usr/sbin/groupadd \  /usr/sbin/groupadd \
107      -g 102 -o apache 2>/dev/null || :
108    /usr/sbin/useradd \
109      -u 102 -g 102 -o -c 'Apache' -d /var/www \
110      -M -s /sbin/nologin apache  || :
111    /usr/sbin/groupadd \
112    -g 101 -o admin 2>/dev/null || :    -g 101 -o admin 2>/dev/null || :
113  /usr/sbin/useradd \  /usr/sbin/useradd \
114    -u 101 -g 101 -c 'e-smith administrator' -d /home/e-smith \    -u 101 -g 101 -c 'SME Server administrator' -d /home/e-smith \
115    -G shared,root,www -M -s /sbin/e-smith/console admin  || :    -G shared,root,www -M -s /sbin/e-smith/console admin  || :
116  /usr/sbin/groupadd \  /usr/sbin/groupadd \
117    -g 103 -o public 2>/dev/null || :    -g 103 -o public 2>/dev/null || :
118  /usr/sbin/useradd \  /usr/sbin/useradd \
119    -u 103 -g 103 -c 'e-smith guest' -d /home/e-smith \    -u 103 -g 103 -c 'SME Server guest' -d /home/e-smith \
120    -G shared -M -s /bin/false public  || :    -G shared -M -s /bin/false public  || :
121  /usr/sbin/groupadd \  /usr/sbin/groupadd \
122    -g 1002 -o smelog 2>/dev/null || :    -g 1002 -o smelog 2>/dev/null || :
123  /usr/sbin/useradd \  /usr/sbin/useradd \
124    -u 1002 -g 1002 -c 'sme log user' -d /var/log/smelog \    -u 1002 -g 1002 -c 'SME Server log user' -d /var/log/smelog \
125    -M -s /bin/false smelog  || :    -M -s /bin/false smelog  || :
126    
127    
128  %clean  %clean
129  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
130    


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed