/[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.1 by slords, Fri Jan 25 17:18:00 2013 UTC Revision 1.4 by wellsi, Tue May 7 15:01:16 2013 UTC
# Line 1  Line 1 
1  # $Id: e-smith.spec,v 1.3 2008/10/07 16:46:37 slords Exp $  # $Id: e-smith.spec,v 1.3 2013/03/09 22:31:35 slords 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 1  %define release 4
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    * Sun May 05 2013 Ian Wells <esmith@wellsi.com> 5.4.0-4.sme
19    - Fix uid and gid to be the same for the users added in %pre [SME: 7547]
20    - Changed Prereq to Requires(pre) as Prereq is deprecated
21    
22    * Sat Mar 9 2013 Shad L. Lords <slords@mail.com> 5.4.0-3.sme
23    - Ensure group www exists before user [SME: 7319]
24    
25    * Wed Mar 6 2013 Shad L. Lords <slords@mail.com> 5.4.0-2.sme
26    - Fix pre script to make www and apache the same [SME: 7319]
27    
28  * Fri Jan 25 2013 Shad L. Lords <slords@mail.com> 5.4.0-1.sme  * Fri Jan 25 2013 Shad L. Lords <slords@mail.com> 5.4.0-1.sme
29  - Roll new stream for sme9  - Roll new stream for sme9
30    
# Line 85  can work. Contents are now included in e Line 95  can work. Contents are now included in e
95  #--------------------------------------------------  #--------------------------------------------------
96  /usr/sbin/groupadd \  /usr/sbin/groupadd \
97    -g 500 shared 2>/dev/null || :    -g 500 shared 2>/dev/null || :
98    /usr/sbin/groupadd \
99      -g 102 -o www 2>/dev/null || :
100  /usr/sbin/useradd \  /usr/sbin/useradd \
101    -u 102 -c 'e-smith web server' -d /home/e-smith \    -u 102 -g 102 -o -c 'e-smith web server' -d /home/e-smith \
102    -G shared -M -s /bin/false www 2>/dev/null || :    -G shared -M -s /bin/false www  || :
103    /usr/sbin/groupadd \
104      -g 101 -o admin 2>/dev/null || :
105  /usr/sbin/useradd \  /usr/sbin/useradd \
106    -u 101 -c 'e-smith administrator' -d /home/e-smith \    -u 101 -g 101 -c 'e-smith administrator' -d /home/e-smith \
107    -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  || :
108    /usr/sbin/groupadd \
109      -g 103 -o public 2>/dev/null || :
110  /usr/sbin/useradd \  /usr/sbin/useradd \
111    -u 103 -c 'e-smith guest' -d /home/e-smith \    -u 103 -g 103 -c 'e-smith guest' -d /home/e-smith \
112    -G shared -M -s /bin/false public 2>/dev/null || :    -G shared -M -s /bin/false public  || :
113    /usr/sbin/groupadd \
114      -g 1002 -o smelog 2>/dev/null || :
115  /usr/sbin/useradd \  /usr/sbin/useradd \
116    -u 1002 -c 'sme log user' -d /var/log/smelog \    -u 1002 -g 1002 -c 'sme log user' -d /var/log/smelog \
117    -M -s /bin/false smelog 2>/dev/null || :    -M -s /bin/false smelog  || :
118    
119  %clean  %clean
120  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