1 |
# $Id: e-smith.spec,v 1.3 2008/10/07 16:46:37 slords Exp $ |
# $Id: e-smith.spec,v 1.2 2013/03/06 20:19:43 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 3 |
7 |
Version: %{version} |
Version: %{version} |
8 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
9 |
License: GPL |
License: GPL |
15 |
AutoReqProv: no |
AutoReqProv: no |
16 |
|
|
17 |
%changelog |
%changelog |
18 |
|
* Sat Mar 9 2013 Shad L. Lords <slords@mail.com> 5.4.0-3.sme |
19 |
|
- Ensure group www exists before user [SME: 7319] |
20 |
|
|
21 |
|
* Wed Mar 6 2013 Shad L. Lords <slords@mail.com> 5.4.0-2.sme |
22 |
|
- Fix pre script to make www and apache the same [SME: 7319] |
23 |
|
|
24 |
* 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 |
25 |
- Roll new stream for sme9 |
- Roll new stream for sme9 |
26 |
|
|
91 |
#-------------------------------------------------- |
#-------------------------------------------------- |
92 |
/usr/sbin/groupadd \ |
/usr/sbin/groupadd \ |
93 |
-g 500 shared 2>/dev/null || : |
-g 500 shared 2>/dev/null || : |
94 |
|
/usr/sbin/groupadd \ |
95 |
|
-g 102 -o www 2>/dev/null || : |
96 |
/usr/sbin/useradd \ |
/usr/sbin/useradd \ |
97 |
-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 \ |
98 |
-G shared -M -s /bin/false www 2>/dev/null || : |
-G shared -M -s /bin/false www 2>/dev/null || : |
99 |
/usr/sbin/useradd \ |
/usr/sbin/useradd \ |
100 |
-u 101 -c 'e-smith administrator' -d /home/e-smith \ |
-u 101 -c 'e-smith administrator' -d /home/e-smith \ |