/[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.2 by slords, Wed Mar 6 20:19:43 2013 UTC Revision 1.5 by wellsi, Sun May 19 15:55:33 2013 UTC
# Line 1  Line 1 
1  # $Id: e-smith.spec,v 1.1 2013/01/25 17:18:00 slords Exp $  # $Id: e-smith.spec,v 1.4 2013/05/07 15:01:16 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 2  %define release 5
7  Version: %{version}  Version: %{version}
8  Release: %{release}%{?dist}  Release: %{release}%{?dist}
9  License: GPL  License: GPL
# Line 11  Group: Networking/Daemons Line 11  Group: Networking/Daemons
11  Source: %{name}-%{version}.tar.xz  Source: %{name}-%{version}.tar.xz
12  BuildArch: noarch  BuildArch: noarch
13  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
14  Prereq: /usr/sbin/useradd  Requires(pre): /usr/sbin/useradd
15  AutoReqProv: no  AutoReqProv: no
16    
17  %changelog  %changelog
18    * Wed 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
22    - 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
24    
25    * Sat Mar 9 2013 Shad L. Lords <slords@mail.com> 5.4.0-3.sme
26    - Ensure group www exists before user [SME: 7319]
27    
28  * Wed Mar 6 2013 Shad L. Lords <slords@mail.com> 5.4.0-2.sme  * Wed Mar 6 2013 Shad L. Lords <slords@mail.com> 5.4.0-2.sme
29  - Fix pre script to make www and apache the same [SME: 7319]  - Fix pre script to make www and apache the same [SME: 7319]
30    
# Line 88  can work. Contents are now included in e Line 98  can work. Contents are now included in e
98  #--------------------------------------------------  #--------------------------------------------------
99  /usr/sbin/groupadd \  /usr/sbin/groupadd \
100    -g 500 shared 2>/dev/null || :    -g 500 shared 2>/dev/null || :
101    /usr/sbin/groupadd \
102      -g 102 -o www 2>/dev/null || :
103    /usr/sbin/useradd \
104      -u 102 -g 102 -o -c 'SME Server web server' -d /home/e-smith \
105      -G shared -M -s /bin/false www  || :
106    /usr/sbin/groupadd \
107      -g 102 -o apache 2>/dev/null || :
108  /usr/sbin/useradd \  /usr/sbin/useradd \
109    -u 102 -g 102 -c 'e-smith web server' -d /home/e-smith \    -u 102 -g 102 -o -c 'Apache' -d /var/www \
110    -G shared -M -s /bin/false www 2>/dev/null || :    -M -s /sbin/nologin apache  || :
111    /usr/sbin/groupadd \
112      -g 101 -o admin 2>/dev/null || :
113  /usr/sbin/useradd \  /usr/sbin/useradd \
114    -u 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 2>/dev/null || :    -G shared,root,www -M -s /sbin/e-smith/console admin  || :
116    /usr/sbin/groupadd \
117      -g 103 -o public 2>/dev/null || :
118  /usr/sbin/useradd \  /usr/sbin/useradd \
119    -u 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 2>/dev/null || :    -G shared -M -s /bin/false public  || :
121    /usr/sbin/groupadd \
122      -g 1002 -o smelog 2>/dev/null || :
123  /usr/sbin/useradd \  /usr/sbin/useradd \
124    -u 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 2>/dev/null || :    -M -s /bin/false smelog  || :
126    
127    
128  %clean  %clean
129  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT


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